@pramen/cms-editor 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist/index.html +12 -0
- package/dist/main.c43qkeax.js +339 -0
- package/package.json +28 -0
- package/src/api.ts +106 -0
- package/src/app.tsx +688 -0
- package/src/fields.tsx +212 -0
- package/src/main.tsx +11 -0
- package/src/styles.ts +108 -0
- package/src/types.ts +118 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
var Mw=Object.create;var{getPrototypeOf:Ow,defineProperty:KU,getOwnPropertyNames:_w}=Object;var Lw=Object.prototype.hasOwnProperty;function Aw(O){return this[O]}var Fw,Nw,E0=(O,F,x)=>{var g=O!=null&&typeof O==="object";if(g){var E=F?Fw??=new WeakMap:Nw??=new WeakMap,V=E.get(O);if(V)return V}x=O!=null?Mw(Ow(O)):{};let p=F||!O||!O.__esModule?KU(x,"default",{value:O,enumerable:!0}):x;for(let T of _w(O))if(!Lw.call(p,T))KU(p,T,{get:Aw.bind(O,T),enumerable:!0});if(g)E.set(O,p);return p};var b6=(O,F)=>()=>(F||O((F={exports:{}}).exports,F),F.exports);var y6=b6((Iw,c9)=>{(function(){function O(R,A){Object.defineProperty(g.prototype,R,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",A[0],A[1])}})}function F(R){if(R===null||typeof R!=="object")return null;return R=C5&&R[C5]||R["@@iterator"],typeof R==="function"?R:null}function x(R,A){R=(R=R.constructor)&&(R.displayName||R.name)||"ReactClass";var k=R+"."+A;c[k]||(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.",A,R),c[k]=!0)}function g(R,A,k){this.props=R,this.context=A,this.refs=X3,this.updater=k||u6}function E(){}function V(R,A,k){this.props=R,this.context=A,this.refs=X3,this.updater=k||u6}function p(){}function T(R){return""+R}function o(R){try{T(R);var A=!1}catch(a){A=!0}if(A){A=console;var k=A.error,m=typeof Symbol==="function"&&Symbol.toStringTag&&R[Symbol.toStringTag]||R.constructor.name||"Object";return k.call(A,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",m),T(R)}}function s(R){if(R==null)return null;if(typeof R==="function")return R.$$typeof===o4?null:R.displayName||R.name||null;if(typeof R==="string")return R;switch(R){case E1:return"Fragment";case J1:return"Profiler";case j:return"StrictMode";case r2:return"Suspense";case G0:return"SuspenseList";case C8:return"Activity"}if(typeof R==="object")switch(typeof R.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),R.$$typeof){case g1:return"Portal";case y1:return R.displayName||"Context";case b1:return(R._context.displayName||"Context")+".Consumer";case h1:var A=R.render;return R=R.displayName,R||(R=A.displayName||A.name||"",R=R!==""?"ForwardRef("+R+")":"ForwardRef"),R;case Y2:return A=R.displayName||null,A!==null?A:s(R.type)||"Memo";case I2:A=R._payload,R=R._init;try{return s(R(A))}catch(k){}}return null}function C(R){if(R===E1)return"<>";if(typeof R==="object"&&R!==null&&R.$$typeof===I2)return"<...>";try{var A=s(R);return A?"<"+A+">":"<...>"}catch(k){return"<...>"}}function L(){var R=K1.A;return R===null?null:R.getOwner()}function S(){return Error("react-stack-top-frame")}function d(R){if(d6.call(R,"key")){var A=Object.getOwnPropertyDescriptor(R,"key").get;if(A&&A.isReactWarning)return!1}return R.key!==void 0}function r(R,A){function k(){x5||(x5=!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))}k.isReactWarning=!0,Object.defineProperty(R,"key",{get:k,configurable:!0})}function W1(){var R=s(this.type);return s3[R]||(s3[R]=!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.")),R=this.props.ref,R!==void 0?R:null}function v1(R,A,k,m,a,Q1){var R1=k.ref;return R={$$typeof:X1,type:R,key:A,props:k,_owner:m},(R1!==void 0?R1:null)!==null?Object.defineProperty(R,"ref",{enumerable:!1,get:W1}):Object.defineProperty(R,"ref",{enumerable:!1,value:null}),R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(R,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(R,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(R,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Q1}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R}function b0(R,A){return A=v1(R.type,A,R.props,R._owner,R._debugStack,R._debugTask),R._store&&(A._store.validated=R._store.validated),A}function U0(R){J0(R)?R._store&&(R._store.validated=1):typeof R==="object"&&R!==null&&R.$$typeof===I2&&(R._payload.status==="fulfilled"?J0(R._payload.value)&&R._payload.value._store&&(R._payload.value._store.validated=1):R._store&&(R._store.validated=1))}function J0(R){return typeof R==="object"&&R!==null&&R.$$typeof===X1}function F2(R){var A={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(k){return A[k]})}function N2(R,A){return typeof R==="object"&&R!==null&&R.key!=null?(o(R.key),F2(""+R.key)):A.toString(36)}function f2(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status==="string"?R.then(p,p):(R.status="pending",R.then(function(A){R.status==="pending"&&(R.status="fulfilled",R.value=A)},function(A){R.status==="pending"&&(R.status="rejected",R.reason=A)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function $0(R,A,k,m,a){var Q1=typeof R;if(Q1==="undefined"||Q1==="boolean")R=null;var R1=!1;if(R===null)R1=!0;else switch(Q1){case"bigint":case"string":case"number":R1=!0;break;case"object":switch(R.$$typeof){case X1:case g1:R1=!0;break;case I2:return R1=R._init,$0(R1(R._payload),A,k,m,a)}}if(R1){R1=R,a=a(R1);var j1=m===""?"."+N2(R1,0):m;return u1(a)?(k="",j1!=null&&(k=j1.replace(c6,"$&/")+"/"),$0(a,A,k,"",function(y0){return y0})):a!=null&&(J0(a)&&(a.key!=null&&(R1&&R1.key===a.key||o(a.key)),k=b0(a,k+(a.key==null||R1&&R1.key===a.key?"":(""+a.key).replace(c6,"$&/")+"/")+j1),m!==""&&R1!=null&&J0(R1)&&R1.key==null&&R1._store&&!R1._store.validated&&(k._store.validated=2),a=k),A.push(a)),1}if(R1=0,j1=m===""?".":m+":",u1(R))for(var t=0;t<R.length;t++)m=R[t],Q1=j1+N2(m,t),R1+=$0(m,A,k,Q1,a);else if(t=F(R),typeof t==="function")for(t===R.entries&&(l6||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),l6=!0),R=t.call(R),t=0;!(m=R.next()).done;)m=m.value,Q1=j1+N2(m,t++),R1+=$0(m,A,k,Q1,a);else if(Q1==="object"){if(typeof R.then==="function")return $0(f2(R),A,k,m,a);throw A=String(R),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.")}return R1}function h(R,A,k){if(R==null)return R;var m=[],a=0;return $0(R,m,"","",function(Q1){return A.call(k,Q1,a++)}),m}function e1(R){if(R._status===-1){var A=R._ioInfo;A!=null&&(A.start=A.end=performance.now()),A=R._result;var k=A();if(k.then(function(a){if(R._status===0||R._status===-1){R._status=1,R._result=a;var Q1=R._ioInfo;Q1!=null&&(Q1.end=performance.now()),k.status===void 0&&(k.status="fulfilled",k.value=a)}},function(a){if(R._status===0||R._status===-1){R._status=2,R._result=a;var Q1=R._ioInfo;Q1!=null&&(Q1.end=performance.now()),k.status===void 0&&(k.status="rejected",k.reason=a)}}),A=R._ioInfo,A!=null){A.value=k;var m=k.displayName;typeof m==="string"&&(A.name=m)}R._status===-1&&(R._status=0,R._result=k)}if(R._status===1)return A=R._result,A===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?`,A),"default"in A||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'))`,A),A.default;throw R._result}function y(){var R=K1.H;return R===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.`),R}function x1(){K1.asyncTransitions--}function C1(R){if(o3===null)try{var A=("require"+Math.random()).slice(0,7);o3=(c9&&c9[A]).call(c9,"timers").setImmediate}catch(k){o3=function(m){S5===!1&&(S5=!0,typeof MessageChannel>"u"&&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 a=new MessageChannel;a.port1.onmessage=m,a.port2.postMessage(void 0)}}return o3(R)}function U1(R){return 1<R.length&&typeof AggregateError==="function"?AggregateError(R):R[0]}function S0(R,A){A!==n3-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. "),n3=A}function u(R,A,k){var m=K1.actQueue;if(m!==null)if(m.length!==0)try{Y1(m),C1(function(){return u(R,A,k)});return}catch(a){K1.thrownErrors.push(a)}else K1.actQueue=null;0<K1.thrownErrors.length?(m=U1(K1.thrownErrors),K1.thrownErrors.length=0,k(m)):A(R)}function Y1(R){if(!r3){r3=!0;var A=0;try{for(;A<R.length;A++){var k=R[A];do{K1.didUsePromise=!1;var m=k(!1);if(m!==null){if(K1.didUsePromise){R[A]=k,R.splice(0,A);return}k=m}else break}while(1)}R.length=0}catch(a){R.splice(0,A+1),K1.thrownErrors.push(a)}finally{r3=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var X1=Symbol.for("react.transitional.element"),g1=Symbol.for("react.portal"),E1=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),J1=Symbol.for("react.profiler"),b1=Symbol.for("react.consumer"),y1=Symbol.for("react.context"),h1=Symbol.for("react.forward_ref"),r2=Symbol.for("react.suspense"),G0=Symbol.for("react.suspense_list"),Y2=Symbol.for("react.memo"),I2=Symbol.for("react.lazy"),C8=Symbol.for("react.activity"),C5=Symbol.iterator,c={},u6={isMounted:function(){return!1},enqueueForceUpdate:function(R){x(R,"forceUpdate")},enqueueReplaceState:function(R){x(R,"replaceState")},enqueueSetState:function(R){x(R,"setState")}},p3=Object.assign,X3={};Object.freeze(X3),g.prototype.isReactComponent={},g.prototype.setState=function(R,A){if(typeof R!=="object"&&typeof R!=="function"&&R!=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,R,A,"setState")},g.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};var I0={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)."]};for(Y3 in I0)I0.hasOwnProperty(Y3)&&O(Y3,I0[Y3]);E.prototype=g.prototype,I0=V.prototype=new E,I0.constructor=V,p3(I0,g.prototype),I0.isPureReactComponent=!0;var u1=Array.isArray,o4=Symbol.for("react.client.reference"),K1={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},d6=Object.prototype.hasOwnProperty,p1=console.createTask?console.createTask:function(){return null};I0={react_stack_bottom_frame:function(R){return R()}};var x5,t2,s3={},a3=I0.react_stack_bottom_frame.bind(I0,S)(),s9=p1(C(S)),l6=!1,c6=/\/+/g,G3=typeof reportError==="function"?reportError:function(R){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R==="object"&&R!==null&&typeof R.message==="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(A))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",R);return}console.error(R)},S5=!1,o3=null,n3=0,i3=!1,r3=!1,n4=typeof queueMicrotask==="function"?function(R){queueMicrotask(function(){return queueMicrotask(R)})}:C1;I0=Object.freeze({__proto__:null,c:function(R){return y().useMemoCache(R)}});var Y3={map:h,forEach:function(R,A,k){h(R,function(){A.apply(this,arguments)},k)},count:function(R){var A=0;return h(R,function(){A++}),A},toArray:function(R){return h(R,function(A){return A})||[]},only:function(R){if(!J0(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};Iw.Activity=C8,Iw.Children=Y3,Iw.Component=g,Iw.Fragment=E1,Iw.Profiler=J1,Iw.PureComponent=V,Iw.StrictMode=j,Iw.Suspense=r2,Iw.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K1,Iw.__COMPILER_RUNTIME=I0,Iw.act=function(R){var A=K1.actQueue,k=n3;n3++;var m=K1.actQueue=A!==null?A:[],a=!1;try{var Q1=R()}catch(t){K1.thrownErrors.push(t)}if(0<K1.thrownErrors.length)throw S0(A,k),R=U1(K1.thrownErrors),K1.thrownErrors.length=0,R;if(Q1!==null&&typeof Q1==="object"&&typeof Q1.then==="function"){var R1=Q1;return n4(function(){a||i3||(i3=!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(t,y0){a=!0,R1.then(function(Z2){if(S0(A,k),k===0){try{Y1(m),C1(function(){return u(Z2,t,y0)})}catch(i4){K1.thrownErrors.push(i4)}if(0<K1.thrownErrors.length){var Z3=U1(K1.thrownErrors);K1.thrownErrors.length=0,y0(Z3)}}else t(Z2)},function(Z2){S0(A,k),0<K1.thrownErrors.length?(Z2=U1(K1.thrownErrors),K1.thrownErrors.length=0,y0(Z2)):y0(Z2)})}}}var j1=Q1;if(S0(A,k),k===0&&(Y1(m),m.length!==0&&n4(function(){a||i3||(i3=!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(() => ...)"))}),K1.actQueue=null),0<K1.thrownErrors.length)throw R=U1(K1.thrownErrors),K1.thrownErrors.length=0,R;return{then:function(t,y0){a=!0,k===0?(K1.actQueue=m,C1(function(){return u(j1,t,y0)})):t(j1)}}},Iw.cache=function(R){return function(){return R.apply(null,arguments)}},Iw.cacheSignal=function(){return null},Iw.captureOwnerStack=function(){var R=K1.getCurrentStack;return R===null?null:R()},Iw.cloneElement=function(R,A,k){if(R===null||R===void 0)throw Error("The argument must be a React element, but you passed "+R+".");var m=p3({},R.props),a=R.key,Q1=R._owner;if(A!=null){var R1;z:{if(d6.call(A,"ref")&&(R1=Object.getOwnPropertyDescriptor(A,"ref").get)&&R1.isReactWarning){R1=!1;break z}R1=A.ref!==void 0}R1&&(Q1=L()),d(A)&&(o(A.key),a=""+A.key);for(j1 in A)!d6.call(A,j1)||j1==="key"||j1==="__self"||j1==="__source"||j1==="ref"&&A.ref===void 0||(m[j1]=A[j1])}var j1=arguments.length-2;if(j1===1)m.children=k;else if(1<j1){R1=Array(j1);for(var t=0;t<j1;t++)R1[t]=arguments[t+2];m.children=R1}m=v1(R.type,a,m,Q1,R._debugStack,R._debugTask);for(a=2;a<arguments.length;a++)U0(arguments[a]);return m},Iw.createContext=function(R){return R={$$typeof:y1,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:b1,_context:R},R._currentRenderer=null,R._currentRenderer2=null,R},Iw.createElement=function(R,A,k){for(var m=2;m<arguments.length;m++)U0(arguments[m]);m={};var a=null;if(A!=null)for(t in t2||!("__self"in A)||"key"in A||(t2=!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")),d(A)&&(o(A.key),a=""+A.key),A)d6.call(A,t)&&t!=="key"&&t!=="__self"&&t!=="__source"&&(m[t]=A[t]);var Q1=arguments.length-2;if(Q1===1)m.children=k;else if(1<Q1){for(var R1=Array(Q1),j1=0;j1<Q1;j1++)R1[j1]=arguments[j1+2];Object.freeze&&Object.freeze(R1),m.children=R1}if(R&&R.defaultProps)for(t in Q1=R.defaultProps,Q1)m[t]===void 0&&(m[t]=Q1[t]);a&&r(m,typeof R==="function"?R.displayName||R.name||"Unknown":R);var t=1e4>K1.recentlyCreatedOwnerStacks++;return v1(R,a,m,L(),t?Error("react-stack-top-frame"):a3,t?p1(C(R)):s9)},Iw.createRef=function(){var R={current:null};return Object.seal(R),R},Iw.forwardRef=function(R){R!=null&&R.$$typeof===Y2?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof R!=="function"?console.error("forwardRef requires a render function but was given %s.",R===null?"null":typeof R):R.length!==0&&R.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",R.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),R!=null&&R.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var A={$$typeof:h1,render:R},k;return Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(m){k=m,R.name||R.displayName||(Object.defineProperty(R,"name",{value:m}),R.displayName=m)}}),A},Iw.isValidElement=J0,Iw.lazy=function(R){R={_status:-1,_result:R};var A={$$typeof:I2,_payload:R,_init:e1},k={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return R._ioInfo=k,A._debugInfo=[{awaited:k}],A},Iw.memo=function(R,A){R==null&&console.error("memo: The first argument must be a component. Instead received: %s",R===null?"null":typeof R),A={$$typeof:Y2,type:R,compare:A===void 0?null:A};var k;return Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(m){k=m,R.name||R.displayName||(Object.defineProperty(R,"name",{value:m}),R.displayName=m)}}),A},Iw.startTransition=function(R){var A=K1.T,k={};k._updatedFibers=new Set,K1.T=k;try{var m=R(),a=K1.S;a!==null&&a(k,m),typeof m==="object"&&m!==null&&typeof m.then==="function"&&(K1.asyncTransitions++,m.then(x1,x1),m.then(p,G3))}catch(Q1){G3(Q1)}finally{A===null&&k._updatedFibers&&(R=k._updatedFibers.size,k._updatedFibers.clear(),10<R&&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.")),A!==null&&k.types!==null&&(A.types!==null&&A.types!==k.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),A.types=k.types),K1.T=A}},Iw.unstable_useCacheRefresh=function(){return y().useCacheRefresh()},Iw.use=function(R){return y().use(R)},Iw.useActionState=function(R,A,k){return y().useActionState(R,A,k)},Iw.useCallback=function(R,A){return y().useCallback(R,A)},Iw.useContext=function(R){var A=y();return R.$$typeof===b1&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),A.useContext(R)},Iw.useDebugValue=function(R,A){return y().useDebugValue(R,A)},Iw.useDeferredValue=function(R,A){return y().useDeferredValue(R,A)},Iw.useEffect=function(R,A){return R==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),y().useEffect(R,A)},Iw.useEffectEvent=function(R){return y().useEffectEvent(R)},Iw.useId=function(){return y().useId()},Iw.useImperativeHandle=function(R,A,k){return y().useImperativeHandle(R,A,k)},Iw.useInsertionEffect=function(R,A){return R==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),y().useInsertionEffect(R,A)},Iw.useLayoutEffect=function(R,A){return R==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),y().useLayoutEffect(R,A)},Iw.useMemo=function(R,A){return y().useMemo(R,A)},Iw.useOptimistic=function(R,A){return y().useOptimistic(R,A)},Iw.useReducer=function(R,A,k){return y().useReducer(R,A,k)},Iw.useRef=function(R){return y().useRef(R)},Iw.useState=function(R){return y().useState(R)},Iw.useSyncExternalStore=function(R,A,k){return y().useSyncExternalStore(R,A,k)},Iw.useTransition=function(){return y().useTransition()},Iw.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var wU=b6((Pw)=>{(function(){function O(){if(F2=!1,h){var u=Pw.unstable_now();x1=u;var Y1=!0;try{z:{U0=!1,J0&&(J0=!1,f2(e1),e1=-1),b0=!0;var X1=v1;try{X:{V(u);for(W1=x(S);W1!==null&&!(W1.expirationTime>u&&T());){var g1=W1.callback;if(typeof g1==="function"){W1.callback=null,v1=W1.priorityLevel;var E1=g1(W1.expirationTime<=u);if(u=Pw.unstable_now(),typeof E1==="function"){W1.callback=E1,V(u),Y1=!0;break X}W1===x(S)&&g(S),V(u)}else g(S);W1=x(S)}if(W1!==null)Y1=!0;else{var j=x(d);j!==null&&o(p,j.startTime-u),Y1=!1}}break z}finally{W1=null,v1=X1,b0=!1}Y1=void 0}}finally{Y1?C1():h=!1}}}function F(u,Y1){var X1=u.length;u.push(Y1);z:for(;0<X1;){var g1=X1-1>>>1,E1=u[g1];if(0<E(E1,Y1))u[g1]=Y1,u[X1]=E1,X1=g1;else break z}}function x(u){return u.length===0?null:u[0]}function g(u){if(u.length===0)return null;var Y1=u[0],X1=u.pop();if(X1!==Y1){u[0]=X1;z:for(var g1=0,E1=u.length,j=E1>>>1;g1<j;){var J1=2*(g1+1)-1,b1=u[J1],y1=J1+1,h1=u[y1];if(0>E(b1,X1))y1<E1&&0>E(h1,b1)?(u[g1]=h1,u[y1]=X1,g1=y1):(u[g1]=b1,u[J1]=X1,g1=J1);else if(y1<E1&&0>E(h1,X1))u[g1]=h1,u[y1]=X1,g1=y1;else break z}}return Y1}function E(u,Y1){var X1=u.sortIndex-Y1.sortIndex;return X1!==0?X1:u.id-Y1.id}function V(u){for(var Y1=x(d);Y1!==null;){if(Y1.callback===null)g(d);else if(Y1.startTime<=u)g(d),Y1.sortIndex=Y1.expirationTime,F(S,Y1);else break;Y1=x(d)}}function p(u){if(J0=!1,V(u),!U0)if(x(S)!==null)U0=!0,h||(h=!0,C1());else{var Y1=x(d);Y1!==null&&o(p,Y1.startTime-u)}}function T(){return F2?!0:Pw.unstable_now()-x1<y?!1:!0}function o(u,Y1){e1=N2(function(){u(Pw.unstable_now())},Y1)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Pw.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var s=performance;Pw.unstable_now=function(){return s.now()}}else{var C=Date,L=C.now();Pw.unstable_now=function(){return C.now()-L}}var S=[],d=[],r=1,W1=null,v1=3,b0=!1,U0=!1,J0=!1,F2=!1,N2=typeof setTimeout==="function"?setTimeout:null,f2=typeof clearTimeout==="function"?clearTimeout:null,$0=typeof setImmediate<"u"?setImmediate:null,h=!1,e1=-1,y=5,x1=-1;if(typeof $0==="function")var C1=function(){$0(O)};else if(typeof MessageChannel<"u"){var U1=new MessageChannel,S0=U1.port2;U1.port1.onmessage=O,C1=function(){S0.postMessage(null)}}else C1=function(){N2(O,0)};Pw.unstable_IdlePriority=5,Pw.unstable_ImmediatePriority=1,Pw.unstable_LowPriority=4,Pw.unstable_NormalPriority=3,Pw.unstable_Profiling=null,Pw.unstable_UserBlockingPriority=2,Pw.unstable_cancelCallback=function(u){u.callback=null},Pw.unstable_forceFrameRate=function(u){0>u||125<u?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<u?Math.floor(1000/u):5},Pw.unstable_getCurrentPriorityLevel=function(){return v1},Pw.unstable_next=function(u){switch(v1){case 1:case 2:case 3:var Y1=3;break;default:Y1=v1}var X1=v1;v1=Y1;try{return u()}finally{v1=X1}},Pw.unstable_requestPaint=function(){F2=!0},Pw.unstable_runWithPriority=function(u,Y1){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var X1=v1;v1=u;try{return Y1()}finally{v1=X1}},Pw.unstable_scheduleCallback=function(u,Y1,X1){var g1=Pw.unstable_now();switch(typeof X1==="object"&&X1!==null?(X1=X1.delay,X1=typeof X1==="number"&&0<X1?g1+X1:g1):X1=g1,u){case 1:var E1=-1;break;case 2:E1=250;break;case 5:E1=1073741823;break;case 4:E1=1e4;break;default:E1=5000}return E1=X1+E1,u={id:r++,callback:Y1,priorityLevel:u,startTime:X1,expirationTime:E1,sortIndex:-1},X1>g1?(u.sortIndex=X1,F(d,u),x(S)===null&&u===x(d)&&(J0?(f2(e1),e1=-1):J0=!0,o(p,X1-g1))):(u.sortIndex=E1,F(S,u),U0||b0||(U0=!0,h||(h=!0,C1()))),u},Pw.unstable_shouldYield=T,Pw.unstable_wrapCallback=function(u){var Y1=v1;return function(){var X1=v1;v1=Y1;try{return u.apply(this,arguments)}finally{v1=X1}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var MU=b6((Tw)=>{var vZ=E0(y6());(function(){function O(){}function F(C){return""+C}function x(C,L,S){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{F(d);var r=!1}catch(W1){r=!0}return r&&(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&&d[Symbol.toStringTag]||d.constructor.name||"Object"),F(d)),{$$typeof:o,key:d==null?null:""+d,children:C,containerInfo:L,implementation:S}}function g(C,L){if(C==="font")return"";if(typeof L==="string")return L==="use-credentials"?L:""}function E(C){return C===null?"`null`":C===void 0?"`undefined`":C===""?"an empty string":'something with type "'+typeof C+'"'}function V(C){return C===null?"`null`":C===void 0?"`undefined`":C===""?"an empty string":typeof C==="string"?JSON.stringify(C):typeof C==="number"?"`"+C+"`":'something with type "'+typeof C+'"'}function p(){var C=s.H;return C===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.`),C}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var T={d:{f:O,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:O,C:O,L:O,m:O,X:O,S:O,M:O},p:0,findDOMNode:null},o=Symbol.for("react.portal"),s=vZ.__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"),Tw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,Tw.createPortal=function(C,L){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!L||L.nodeType!==1&&L.nodeType!==9&&L.nodeType!==11)throw Error("Target container is not a DOM element.");return x(C,L,null,S)},Tw.flushSync=function(C){var L=s.T,S=T.p;try{if(s.T=null,T.p=2,C)return C()}finally{s.T=L,T.p=S,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.")}},Tw.preconnect=function(C,L){typeof C==="string"&&C?L!=null&&typeof L!=="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.",V(L)):L!=null&&typeof L.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(L.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",E(C)),typeof C==="string"&&(L?(L=L.crossOrigin,L=typeof L==="string"?L==="use-credentials"?L:"":void 0):L=null,T.d.C(C,L))},Tw.prefetchDNS=function(C){if(typeof C!=="string"||!C)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",E(C));else if(1<arguments.length){var L=arguments[1];typeof L==="object"&&L.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`.",V(L)):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`.",V(L))}typeof C==="string"&&T.d.D(C)},Tw.preinit=function(C,L){if(typeof C==="string"&&C?L==null||typeof L!=="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.",V(L)):L.as!=="style"&&L.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".',V(L.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",E(C)),typeof C==="string"&&L&&typeof L.as==="string"){var S=L.as,d=g(S,L.crossOrigin),r=typeof L.integrity==="string"?L.integrity:void 0,W1=typeof L.fetchPriority==="string"?L.fetchPriority:void 0;S==="style"?T.d.S(C,typeof L.precedence==="string"?L.precedence:void 0,{crossOrigin:d,integrity:r,fetchPriority:W1}):S==="script"&&T.d.X(C,{crossOrigin:d,integrity:r,fetchPriority:W1,nonce:typeof L.nonce==="string"?L.nonce:void 0})}},Tw.preinitModule=function(C,L){var S="";if(typeof C==="string"&&C||(S+=" The `href` argument encountered was "+E(C)+"."),L!==void 0&&typeof L!=="object"?S+=" The `options` argument encountered was "+E(L)+".":L&&("as"in L)&&L.as!=="script"&&(S+=" The `as` option encountered was "+V(L.as)+"."),S)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",S);else switch(S=L&&typeof L.as==="string"?L.as:"script",S){case"script":break;default:S=V(S),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)',S,C)}if(typeof C==="string")if(typeof L==="object"&&L!==null){if(L.as==null||L.as==="script")S=g(L.as,L.crossOrigin),T.d.M(C,{crossOrigin:S,integrity:typeof L.integrity==="string"?L.integrity:void 0,nonce:typeof L.nonce==="string"?L.nonce:void 0})}else L==null&&T.d.M(C)},Tw.preload=function(C,L){var S="";if(typeof C==="string"&&C||(S+=" The `href` argument encountered was "+E(C)+"."),L==null||typeof L!=="object"?S+=" The `options` argument encountered was "+E(L)+".":typeof L.as==="string"&&L.as||(S+=" The `as` option encountered was "+E(L.as)+"."),S&&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',S),typeof C==="string"&&typeof L==="object"&&L!==null&&typeof L.as==="string"){S=L.as;var d=g(S,L.crossOrigin);T.d.L(C,S,{crossOrigin:d,integrity:typeof L.integrity==="string"?L.integrity:void 0,nonce:typeof L.nonce==="string"?L.nonce:void 0,type:typeof L.type==="string"?L.type:void 0,fetchPriority:typeof L.fetchPriority==="string"?L.fetchPriority:void 0,referrerPolicy:typeof L.referrerPolicy==="string"?L.referrerPolicy:void 0,imageSrcSet:typeof L.imageSrcSet==="string"?L.imageSrcSet:void 0,imageSizes:typeof L.imageSizes==="string"?L.imageSizes:void 0,media:typeof L.media==="string"?L.media:void 0})}},Tw.preloadModule=function(C,L){var S="";typeof C==="string"&&C||(S+=" The `href` argument encountered was "+E(C)+"."),L!==void 0&&typeof L!=="object"?S+=" The `options` argument encountered was "+E(L)+".":L&&("as"in L)&&typeof L.as!=="string"&&(S+=" The `as` option encountered was "+E(L.as)+"."),S&&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',S),typeof C==="string"&&(L?(S=g(L.as,L.crossOrigin),T.d.m(C,{as:typeof L.as==="string"&&L.as!=="script"?L.as:void 0,crossOrigin:S,integrity:typeof L.integrity==="string"?L.integrity:void 0})):T.d.m(C))},Tw.requestFormReset=function(C){T.d.r(C)},Tw.unstable_batchedUpdates=function(C,L){return C(L)},Tw.useFormState=function(C,L,S){return p().useFormState(C,L,S)},Tw.useFormStatus=function(){return p().useHostTransitionStatus()},Tw.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var _U=b6((_O,OU)=>{var vw=E0(MU());OU.exports=vw});var LU=b6((Cw)=>{var V1=E0(wU()),s4=E0(y6()),CZ=E0(_U());(function(){function O(z,X){for(z=z.memoizedState;z!==null&&0<X;)z=z.next,X--;return z}function F(z,X,G,Y){if(G>=X.length)return Y;var Z=X[G],$=L0(z)?z.slice():A1({},z);return $[Z]=F(z[Z],X,G+1,Y),$}function x(z,X,G){if(X.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var Y=0;Y<G.length-1;Y++)if(X[Y]!==G[Y]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return g(z,X,G,0)}}function g(z,X,G,Y){var Z=X[Y],$=L0(z)?z.slice():A1({},z);return Y+1===X.length?($[G[Y]]=$[Z],L0($)?$.splice(Z,1):delete $[Z]):$[Z]=g(z[Z],X,G,Y+1),$}function E(z,X,G){var Y=X[G],Z=L0(z)?z.slice():A1({},z);if(G+1===X.length)return L0(Z)?Z.splice(Y,1):delete Z[Y],Z;return Z[Y]=E(z[Y],X,G+1),Z}function V(){return!1}function p(){return null}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 o(){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 s(){}function C(){}function L(z){var X=[];return z.forEach(function(G){X.push(G)}),X.sort().join(", ")}function S(z,X,G,Y){return new $q(z,X,G,Y)}function d(z,X){z.context===P3&&(sG(z.current,2,X,z,null,null),Y4())}function r(z,X){if(S2!==null){var G=X.staleFamilies;X=X.updatedFamilies,N7(),A$(z.current,X,G),Y4()}}function W1(z){S2=z}function v1(z){return!(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)}function b0(z){var X=z,G=z;if(z.alternate)for(;X.return;)X=X.return;else{z=X;do X=z,(X.flags&4098)!==0&&(G=X.return),z=X.return;while(z)}return X.tag===3?G:null}function U0(z){if(z.tag===13){var X=z.memoizedState;if(X===null&&(z=z.alternate,z!==null&&(X=z.memoizedState)),X!==null)return X.dehydrated}return null}function J0(z){if(z.tag===31){var X=z.memoizedState;if(X===null&&(z=z.alternate,z!==null&&(X=z.memoizedState)),X!==null)return X.dehydrated}return null}function F2(z){if(b0(z)!==z)throw Error("Unable to find node on an unmounted component.")}function N2(z){var X=z.alternate;if(!X){if(X=b0(z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==z?null:z}for(var G=z,Y=X;;){var Z=G.return;if(Z===null)break;var $=Z.alternate;if($===null){if(Y=Z.return,Y!==null){G=Y;continue}break}if(Z.child===$.child){for($=Z.child;$;){if($===G)return F2(Z),z;if($===Y)return F2(Z),X;$=$.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==Y.return)G=Z,Y=$;else{for(var B=!1,H=Z.child;H;){if(H===G){B=!0,G=Z,Y=$;break}if(H===Y){B=!0,Y=Z,G=$;break}H=H.sibling}if(!B){for(H=$.child;H;){if(H===G){B=!0,G=$,Y=Z;break}if(H===Y){B=!0,Y=$,G=Z;break}H=H.sibling}if(!B)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(G.alternate!==Y)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?z:X}function f2(z){var X=z.tag;if(X===5||X===26||X===27||X===6)return z;for(z=z.child;z!==null;){if(X=f2(z),X!==null)return X;z=z.sibling}return null}function $0(z){if(z===null||typeof z!=="object")return null;return z=CJ&&z[CJ]||z["@@iterator"],typeof z==="function"?z:null}function h(z){if(z==null)return null;if(typeof z==="function")return z.$$typeof===vW?null:z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case R4:return"Fragment";case tG:return"Profiler";case mz:return"StrictMode";case zY:return"Suspense";case XY:return"SuspenseList";case GY:return"Activity"}if(typeof z==="object")switch(typeof z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case Q4:return"Portal";case M8:return z.displayName||"Context";case eG:return(z._context.displayName||"Context")+".Consumer";case D7:var X=z.render;return z=z.displayName,z||(z=X.displayName||X.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case fz:return X=z.displayName||null,X!==null?X:h(z.type)||"Memo";case W2:X=z._payload,z=z._init;try{return h(z(X))}catch(G){}}return null}function e1(z){return typeof z.tag==="number"?y(z):typeof z.name==="string"?z.name:null}function y(z){var X=z.type;switch(z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(X._context.displayName||"Context")+".Consumer";case 10:return X.displayName||"Context";case 18:return"DehydratedFragment";case 11:return z=X.render,z=z.displayName||z.name||"",X.displayName||(z!==""?"ForwardRef("+z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return X;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return h(X);case 8:return X===mz?"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 X==="function")return X.displayName||X.name||null;if(typeof X==="string")return X;break;case 29:if(X=z._debugInfo,X!=null){for(var G=X.length-1;0<=G;G--)if(typeof X[G].name==="string")return X[G].name}if(z.return!==null)return y(z.return)}return null}function x1(z){return{current:z}}function C1(z,X){0>y8?console.error("Unexpected pop."):(X!==ZY[y8]&&console.error("Unexpected Fiber popped."),z.current=YY[y8],YY[y8]=null,ZY[y8]=null,y8--)}function U1(z,X,G){y8++,YY[y8]=z.current,ZY[y8]=G,z.current=X}function S0(z){return z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),z}function u(z,X){U1(_3,X,z),U1(k7,z,z),U1(O3,null,z);var G=X.nodeType;switch(G){case 9:case 11:G=G===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?rH(X):r8:r8;break;default:if(G=X.tagName,X=X.namespaceURI)X=rH(X),X=tH(X,G);else switch(G){case"svg":X=c4;break;case"math":X=y9;break;default:X=r8}}G=G.toLowerCase(),G=pZ(null,G),G={context:X,ancestorInfo:G},C1(O3,z),U1(O3,G,z)}function Y1(z){C1(O3,z),C1(k7,z),C1(_3,z)}function X1(){return S0(O3.current)}function g1(z){z.memoizedState!==null&&U1(hz,z,z);var X=S0(O3.current),G=z.type,Y=tH(X.context,G);G=pZ(X.ancestorInfo,G),Y={context:Y,ancestorInfo:G},X!==Y&&(U1(k7,z,z),U1(O3,Y,z))}function E1(z){k7.current===z&&(C1(O3,z),C1(k7,z)),hz.current===z&&(C1(hz,z),P5._currentValue=E6)}function j(){}function J1(){if(g7===0){xJ=console.log,SJ=console.info,jJ=console.warn,VJ=console.error,DJ=console.group,kJ=console.groupCollapsed,gJ=console.groupEnd;var z={configurable:!0,enumerable:!0,value:j,writable:!0};Object.defineProperties(console,{info:z,log:z,warn:z,error:z,group:z,groupCollapsed:z,groupEnd:z})}g7++}function b1(){if(g7--,g7===0){var z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A1({},z,{value:xJ}),info:A1({},z,{value:SJ}),warn:A1({},z,{value:jJ}),error:A1({},z,{value:VJ}),group:A1({},z,{value:DJ}),groupCollapsed:A1({},z,{value:kJ}),groupEnd:A1({},z,{value:gJ})})}0>g7&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function y1(z){var X=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,z=z.stack,Error.prepareStackTrace=X,z.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(z=z.slice(29)),X=z.indexOf(`
|
|
19
|
+
`),X!==-1&&(z=z.slice(X+1)),X=z.indexOf("react_stack_bottom_frame"),X!==-1&&(X=z.lastIndexOf(`
|
|
20
|
+
`,X)),X!==-1)z=z.slice(0,X);else return"";return z}function h1(z){if($Y===void 0)try{throw Error()}catch(G){var X=G.stack.trim().match(/\n( *(at )?)/);$Y=X&&X[1]||"",EJ=-1<G.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+$Y+z+EJ}function r2(z,X){if(!z||BY)return"";var G=HY.get(z);if(G!==void 0)return G;BY=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var Y=null;Y=P.H,P.H=null,J1();try{var Z={DetermineComponentFrameRoot:function(){try{if(X){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(b){var N=b}Reflect.construct(z,[],q)}else{try{q.call()}catch(b){N=b}z.call(q.prototype)}}else{try{throw Error()}catch(b){N=b}(q=z())&&typeof q.catch==="function"&&q.catch(function(){})}}catch(b){if(b&&N&&typeof b.stack==="string")return[b.stack,N.stack]}return[null,null]}};Z.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var $=Object.getOwnPropertyDescriptor(Z.DetermineComponentFrameRoot,"name");$&&$.configurable&&Object.defineProperty(Z.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var B=Z.DetermineComponentFrameRoot(),H=B[0],J=B[1];if(H&&J){var Q=H.split(`
|
|
23
|
+
`),w=J.split(`
|
|
24
|
+
`);for(B=$=0;$<Q.length&&!Q[$].includes("DetermineComponentFrameRoot");)$++;for(;B<w.length&&!w[B].includes("DetermineComponentFrameRoot");)B++;if($===Q.length||B===w.length)for($=Q.length-1,B=w.length-1;1<=$&&0<=B&&Q[$]!==w[B];)B--;for(;1<=$&&0<=B;$--,B--)if(Q[$]!==w[B]){if($!==1||B!==1)do if($--,B--,0>B||Q[$]!==w[B]){var M=`
|
|
25
|
+
`+Q[$].replace(" at new "," at ");return z.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",z.displayName)),typeof z==="function"&&HY.set(z,M),M}while(1<=$&&0<=B);break}}}finally{BY=!1,P.H=Y,b1(),Error.prepareStackTrace=G}return Q=(Q=z?z.displayName||z.name:"")?h1(Q):"",typeof z==="function"&&HY.set(z,Q),Q}function G0(z,X){switch(z.tag){case 26:case 27:case 5:return h1(z.type);case 16:return h1("Lazy");case 13:return z.child!==X&&X!==null?h1("Suspense Fallback"):h1("Suspense");case 19:return h1("SuspenseList");case 0:case 15:return r2(z.type,!1);case 11:return r2(z.type.render,!1);case 1:return r2(z.type,!0);case 31:return h1("Activity");default:return""}}function Y2(z){try{var X="",G=null;do{X+=G0(z,G);var Y=z._debugInfo;if(Y)for(var Z=Y.length-1;0<=Z;Z--){var $=Y[Z];if(typeof $.name==="string"){var B=X;z:{var{name:H,env:J,debugLocation:Q}=$;if(Q!=null){var w=y1(Q),M=w.lastIndexOf(`
|
|
26
|
+
`),q=M===-1?w:w.slice(M+1);if(q.indexOf(H)!==-1){var N=`
|
|
27
|
+
`+q;break z}}N=h1(H+(J?" ["+J+"]":""))}X=B+N}}G=z,z=z.return}while(z);return X}catch(b){return`
|
|
28
|
+
Error generating stack: `+b.message+`
|
|
29
|
+
`+b.stack}}function I2(z){return(z=z?z.displayName||z.name:"")?h1(z):""}function C8(){if(K2===null)return null;var z=K2._debugOwner;return z!=null?e1(z):null}function C5(){if(K2===null)return"";var z=K2;try{var X="";switch(z.tag===6&&(z=z.return),z.tag){case 26:case 27:case 5:X+=h1(z.type);break;case 13:X+=h1("Suspense");break;case 19:X+=h1("SuspenseList");break;case 31:X+=h1("Activity");break;case 30:case 0:case 15:case 1:z._debugOwner||X!==""||(X+=I2(z.type));break;case 11:z._debugOwner||X!==""||(X+=I2(z.type.render))}for(;z;)if(typeof z.tag==="number"){var G=z;z=G._debugOwner;var Y=G._debugStack;if(z&&Y){var Z=y1(Y);Z!==""&&(X+=`
|
|
30
|
+
`+Z)}}else if(z.debugStack!=null){var $=z.debugStack;(z=z.owner)&&$&&(X+=`
|
|
31
|
+
`+y1($))}else break;var B=X}catch(H){B=`
|
|
32
|
+
Error generating stack: `+H.message+`
|
|
33
|
+
`+H.stack}return B}function c(z,X,G,Y,Z,$,B){var H=K2;u6(z);try{return z!==null&&z._debugTask?z._debugTask.run(X.bind(null,G,Y,Z,$,B)):X(G,Y,Z,$,B)}finally{u6(H)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function u6(z){P.getCurrentStack=z===null?null:C5,O8=!1,K2=z}function p3(z){return typeof Symbol==="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object"}function X3(z){try{return I0(z),!1}catch(X){return!0}}function I0(z){return""+z}function u1(z,X){if(X3(z))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",X,p3(z)),I0(z)}function o4(z,X){if(X3(z))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.",X,p3(z)),I0(z)}function K1(z){if(X3(z))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.",p3(z)),I0(z)}function d6(z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.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{q4=X.inject(z),f0=X}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return X.checkDCE?!0:!1}function p1(z){if(typeof kW==="function"&&gW(z),f0&&typeof f0.setStrictMode==="function")try{f0.setStrictMode(q4,z)}catch(X){_8||(_8=!0,console.error("React instrumentation encountered an error: %o",X))}}function x5(z){return z>>>=0,z===0?32:31-(EW(z)/bW|0)|0}function t2(z){var X=z&42;if(X!==0)return X;switch(z&-z){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:return z&261888;case 262144:case 524288:case 1048576:case 2097152:return z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return z&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."),z}}function s3(z,X,G){var Y=z.pendingLanes;if(Y===0)return 0;var Z=0,$=z.suspendedLanes,B=z.pingedLanes;z=z.warmLanes;var H=Y&134217727;return H!==0?(Y=H&~$,Y!==0?Z=t2(Y):(B&=H,B!==0?Z=t2(B):G||(G=H&~z,G!==0&&(Z=t2(G))))):(H=Y&~$,H!==0?Z=t2(H):B!==0?Z=t2(B):G||(G=Y&~z,G!==0&&(Z=t2(G)))),Z===0?0:X!==0&&X!==Z&&(X&$)===0&&($=Z&-Z,G=X&-X,$>=G||$===32&&(G&4194048)!==0)?X:Z}function a3(z,X){return(z.pendingLanes&~(z.suspendedLanes&~z.pingedLanes)&X)===0}function s9(z,X){switch(z){case 1:case 2:case 4:case 8:case 64:return X+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 X+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 l6(){var z=lz;return lz<<=1,(lz&62914560)===0&&(lz=4194304),z}function c6(z){for(var X=[],G=0;31>G;G++)X.push(z);return X}function G3(z,X){z.pendingLanes|=X,X!==268435456&&(z.suspendedLanes=0,z.pingedLanes=0,z.warmLanes=0)}function S5(z,X,G,Y,Z,$){var B=z.pendingLanes;z.pendingLanes=G,z.suspendedLanes=0,z.pingedLanes=0,z.warmLanes=0,z.expiredLanes&=G,z.entangledLanes&=G,z.errorRecoveryDisabledLanes&=G,z.shellSuspendCounter=0;var{entanglements:H,expirationTimes:J,hiddenUpdates:Q}=z;for(G=B&~G;0<G;){var w=31-d0(G),M=1<<w;H[w]=0,J[w]=-1;var q=Q[w];if(q!==null)for(Q[w]=null,w=0;w<q.length;w++){var N=q[w];N!==null&&(N.lane&=-536870913)}G&=~M}Y!==0&&o3(z,Y,0),$!==0&&Z===0&&z.tag!==0&&(z.suspendedLanes|=$&~(B&~X))}function o3(z,X,G){z.pendingLanes|=X,z.suspendedLanes&=~X;var Y=31-d0(X);z.entangledLanes|=X,z.entanglements[Y]=z.entanglements[Y]|1073741824|G&261930}function n3(z,X){var G=z.entangledLanes|=X;for(z=z.entanglements;G;){var Y=31-d0(G),Z=1<<Y;Z&X|z[Y]&X&&(z[Y]|=X),G&=~Z}}function i3(z,X){var G=X&-X;return G=(G&42)!==0?1:r3(G),(G&(z.suspendedLanes|X))!==0?0:G}function r3(z){switch(z){case 2:z=1;break;case 8:z=4;break;case 32:z=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:z=128;break;case 268435456:z=134217728;break;default:z=0}return z}function n4(z,X,G){if(L8)for(z=z.pendingUpdatersLaneMap;0<G;){var Y=31-d0(G),Z=1<<Y;z[Y].add(X),G&=~Z}}function Y3(z,X){if(L8)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:Y}=z;0<X;){var Z=31-d0(X);z=1<<Z,Z=G[Z],0<Z.size&&(Z.forEach(function($){var B=$.alternate;B!==null&&Y.has(B)||Y.add($)}),Z.clear()),X&=~z}}function R(z){return z&=-z,w2!==0&&w2<z?c2!==0&&c2<z?(z&134217727)!==0?A8:cz:c2:w2}function A(){var z=k1.p;if(z!==0)return z;return z=window.event,z===void 0?A8:AJ(z.type)}function k(z,X){var G=k1.p;try{return k1.p=z,X()}finally{k1.p=G}}function m(z){delete z[k0],delete z[l0],delete z[qY],delete z[yW],delete z[mW]}function a(z){var X=z[k0];if(X)return X;for(var G=z.parentNode;G;){if(X=G[A3]||G[k0]){if(G=X.alternate,X.child!==null||G!==null&&G.child!==null)for(z=BJ(z);z!==null;){if(G=z[k0])return G;z=BJ(z)}return X}z=G,G=z.parentNode}return null}function Q1(z){if(z=z[k0]||z[A3]){var X=z.tag;if(X===5||X===6||X===13||X===31||X===26||X===27||X===3)return z}return null}function R1(z){var X=z.tag;if(X===5||X===26||X===27||X===6)return z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function j1(z){var X=z[bJ];return X||(X=z[bJ]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function t(z){z[E7]=!0}function y0(z,X){Z2(z,X),Z2(z+"Capture",X)}function Z2(z,X){W6[z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",z),W6[z]=X;var G=z.toLowerCase();WY[G]=z,z==="onDoubleClick"&&(WY.ondblclick=z);for(z=0;z<X.length;z++)yJ.add(X[z])}function Z3(z,X){fW[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null||(z==="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`.")),X.onChange||X.readOnly||X.disabled||X.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 i4(z){if(l2.call(fJ,z))return!0;if(l2.call(mJ,z))return!1;if(hW.test(z))return fJ[z]=!0;return mJ[z]=!0,console.error("Invalid attribute name: `%s`",z),!1}function jZ(z,X,G){if(i4(X)){if(!z.hasAttribute(X)){switch(typeof G){case"symbol":case"object":return G;case"function":return G;case"boolean":if(G===!1)return G}return G===void 0?void 0:null}if(z=z.getAttribute(X),z===""&&G===!0)return!0;return u1(G,X),z===""+G?G:z}}function j5(z,X,G){if(i4(X))if(G===null)z.removeAttribute(X);else{switch(typeof G){case"undefined":case"function":case"symbol":z.removeAttribute(X);return;case"boolean":var Y=X.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-"){z.removeAttribute(X);return}}u1(G,X),z.setAttribute(X,""+G)}}function V5(z,X,G){if(G===null)z.removeAttribute(X);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":z.removeAttribute(X);return}u1(G,X),z.setAttribute(X,""+G)}}function x8(z,X,G,Y){if(Y===null)z.removeAttribute(G);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":z.removeAttribute(G);return}u1(Y,G),z.setAttributeNS(X,G,""+Y)}}function P2(z){switch(typeof z){case"bigint":case"boolean":case"number":case"string":case"undefined":return z;case"object":return K1(z),z;default:return""}}function VZ(z){var X=z.type;return(z=z.nodeName)&&z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function bU(z,X,G){var Y=Object.getOwnPropertyDescriptor(z.constructor.prototype,X);if(!z.hasOwnProperty(X)&&typeof Y<"u"&&typeof Y.get==="function"&&typeof Y.set==="function"){var{get:Z,set:$}=Y;return Object.defineProperty(z,X,{configurable:!0,get:function(){return Z.call(this)},set:function(B){K1(B),G=""+B,$.call(this,B)}}),Object.defineProperty(z,X,{enumerable:Y.enumerable}),{getValue:function(){return G},setValue:function(B){K1(B),G=""+B},stopTracking:function(){z._valueTracker=null,delete z[X]}}}}function a9(z){if(!z._valueTracker){var X=VZ(z)?"checked":"value";z._valueTracker=bU(z,X,""+z[X])}}function DZ(z){if(!z)return!1;var X=z._valueTracker;if(!X)return!0;var G=X.getValue(),Y="";return z&&(Y=VZ(z)?z.checked?"true":"false":z.value),z=Y,z!==G?(X.setValue(z),!0):!1}function D5(z){if(z=z||(typeof document<"u"?document:void 0),typeof z>"u")return null;try{return z.activeElement||z.body}catch(X){return z.body}}function T2(z){return z.replace(uW,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function kZ(z,X){X.checked===void 0||X.defaultChecked===void 0||uJ||(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",C8()||"A component",X.type),uJ=!0),X.value===void 0||X.defaultValue===void 0||hJ||(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",C8()||"A component",X.type),hJ=!0)}function o9(z,X,G,Y,Z,$,B,H){if(z.name="",B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(u1(B,"type"),z.type=B):z.removeAttribute("type"),X!=null)if(B==="number"){if(X===0&&z.value===""||z.value!=X)z.value=""+P2(X)}else z.value!==""+P2(X)&&(z.value=""+P2(X));else B!=="submit"&&B!=="reset"||z.removeAttribute("value");X!=null?n9(z,B,P2(X)):G!=null?n9(z,B,P2(G)):Y!=null&&z.removeAttribute("value"),Z==null&&$!=null&&(z.defaultChecked=!!$),Z!=null&&(z.checked=Z&&typeof Z!=="function"&&typeof Z!=="symbol"),H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"?(u1(H,"name"),z.name=""+P2(H)):z.removeAttribute("name")}function gZ(z,X,G,Y,Z,$,B,H){if($!=null&&typeof $!=="function"&&typeof $!=="symbol"&&typeof $!=="boolean"&&(u1($,"type"),z.type=$),X!=null||G!=null){if(!($!=="submit"&&$!=="reset"||X!==void 0&&X!==null)){a9(z);return}G=G!=null?""+P2(G):"",X=X!=null?""+P2(X):G,H||X===z.value||(z.value=X),z.defaultValue=X}Y=Y!=null?Y:Z,Y=typeof Y!=="function"&&typeof Y!=="symbol"&&!!Y,z.checked=H?z.checked:!!Y,z.defaultChecked=!!Y,B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"&&(u1(B,"name"),z.name=B),a9(z)}function n9(z,X,G){X==="number"&&D5(z.ownerDocument)===z||z.defaultValue===""+G||(z.defaultValue=""+G)}function EZ(z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?s4.Children.forEach(X.children,function(G){G==null||typeof G==="string"||typeof G==="number"||typeof G==="bigint"||lJ||(lJ=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):X.dangerouslySetInnerHTML==null||cJ||(cJ=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||dJ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dJ=!0)}function bZ(){var z=C8();return z?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+z+"`.":""}function p6(z,X,G,Y){if(z=z.options,X){X={};for(var Z=0;Z<G.length;Z++)X["$"+G[Z]]=!0;for(G=0;G<z.length;G++)Z=X.hasOwnProperty("$"+z[G].value),z[G].selected!==Z&&(z[G].selected=Z),Z&&Y&&(z[G].defaultSelected=!0)}else{G=""+P2(G),X=null;for(Z=0;Z<z.length;Z++){if(z[Z].value===G){z[Z].selected=!0,Y&&(z[Z].defaultSelected=!0);return}X!==null||z[Z].disabled||(X=z[Z])}X!==null&&(X.selected=!0)}}function yZ(z,X){for(z=0;z<sJ.length;z++){var G=sJ[z];if(X[G]!=null){var Y=L0(X[G]);X.multiple&&!Y?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,bZ()):!X.multiple&&Y&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,bZ())}}X.value===void 0||X.defaultValue===void 0||pJ||(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"),pJ=!0)}function mZ(z,X){X.value===void 0||X.defaultValue===void 0||aJ||(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",C8()||"A component"),aJ=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function fZ(z,X,G){if(X!=null&&(X=""+P2(X),X!==z.value&&(z.value=X),G==null)){z.defaultValue!==X&&(z.defaultValue=X);return}z.defaultValue=G!=null?""+P2(G):""}function hZ(z,X,G,Y){if(X==null){if(Y!=null){if(G!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(L0(Y)){if(1<Y.length)throw Error("<textarea> can only have at most one child.");Y=Y[0]}G=Y}G==null&&(G=""),X=G}G=P2(X),z.defaultValue=G,Y=z.textContent,Y===G&&Y!==""&&Y!==null&&(z.value=Y),a9(z)}function uZ(z,X){return z.serverProps===void 0&&z.serverTail.length===0&&z.children.length===1&&3<z.distanceFromLeaf&&z.distanceFromLeaf>15-X?uZ(z.children[0],X):z}function $2(z){return" "+" ".repeat(z)}function s6(z){return"+ "+" ".repeat(z)}function t3(z){return"- "+" ".repeat(z)}function dZ(z){switch(z.tag){case 26:case 27:case 5:return z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return z=z.type,z.displayName||z.name||null;case 11:return z=z.type.render,z.displayName||z.name||null;case 1:return z=z.type,z.displayName||z.name||null;default:return null}}function r4(z,X){return oJ.test(z)?(z=JSON.stringify(z),z.length>X-2?8>X?'{"..."}':"{"+z.slice(0,X-7)+'..."}':"{"+z+"}"):z.length>X?5>X?'{"..."}':z.slice(0,X-3)+"...":z}function k5(z,X,G){var Y=120-2*G;if(X===null)return s6(G)+r4(z,Y)+`
|
|
36
|
+
`;if(typeof X==="string"){for(var Z=0;Z<X.length&&Z<z.length&&X.charCodeAt(Z)===z.charCodeAt(Z);Z++);return Z>Y-8&&10<Z&&(z="..."+z.slice(Z-8),X="..."+X.slice(Z-8)),s6(G)+r4(z,Y)+`
|
|
37
|
+
`+t3(G)+r4(X,Y)+`
|
|
38
|
+
`}return $2(G)+r4(z,Y)+`
|
|
39
|
+
`}function i9(z){return Object.prototype.toString.call(z).replace(/^\[object (.*)\]$/,function(X,G){return G})}function t4(z,X){switch(typeof z){case"string":return z=JSON.stringify(z),z.length>X?5>X?'"..."':z.slice(0,X-4)+'..."':z;case"object":if(z===null)return"null";if(L0(z))return"[...]";if(z.$$typeof===w8)return(X=h(z.type))?"<"+X+">":"<...>";var G=i9(z);if(G==="Object"){G="",X-=2;for(var Y in z)if(z.hasOwnProperty(Y)){var Z=JSON.stringify(Y);if(Z!=='"'+Y+'"'&&(Y=Z),X-=Y.length-2,Z=t4(z[Y],15>X?X:15),X-=Z.length,0>X){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+Y+":"+Z}return"{"+G+"}"}return G;case"function":return(X=z.displayName||z.name)?"function "+X:"function";default:return String(z)}}function a6(z,X){return typeof z!=="string"||oJ.test(z)?"{"+t4(z,X-2)+"}":z.length>X-2?5>X?'"..."':'"'+z.slice(0,X-5)+'..."':'"'+z+'"'}function r9(z,X,G){var Y=120-G.length-z.length,Z=[],$;for($ in X)if(X.hasOwnProperty($)&&$!=="children"){var B=a6(X[$],120-G.length-$.length-1);Y-=$.length+B.length+2,Z.push($+"="+B)}return Z.length===0?G+"<"+z+`>
|
|
40
|
+
`:0<Y?G+"<"+z+" "+Z.join(" ")+`>
|
|
41
|
+
`:G+"<"+z+`
|
|
42
|
+
`+G+" "+Z.join(`
|
|
43
|
+
`+G+" ")+`
|
|
44
|
+
`+G+`>
|
|
45
|
+
`}function yU(z,X,G){var Y="",Z=A1({},X),$;for($ in z)if(z.hasOwnProperty($)){delete Z[$];var B=120-2*G-$.length-2,H=t4(z[$],B);X.hasOwnProperty($)?(B=t4(X[$],B),Y+=s6(G)+$+": "+H+`
|
|
46
|
+
`,Y+=t3(G)+$+": "+B+`
|
|
47
|
+
`):Y+=s6(G)+$+": "+H+`
|
|
48
|
+
`}for(var J in Z)Z.hasOwnProperty(J)&&(z=t4(Z[J],120-2*G-J.length-2),Y+=t3(G)+J+": "+z+`
|
|
49
|
+
`);return Y}function mU(z,X,G,Y){var Z="",$=new Map;for(Q in G)G.hasOwnProperty(Q)&&$.set(Q.toLowerCase(),Q);if($.size===1&&$.has("children"))Z+=r9(z,X,$2(Y));else{for(var B in X)if(X.hasOwnProperty(B)&&B!=="children"){var H=120-2*(Y+1)-B.length-1,J=$.get(B.toLowerCase());if(J!==void 0){$.delete(B.toLowerCase());var Q=X[B];J=G[J];var w=a6(Q,H);H=a6(J,H),typeof Q==="object"&&Q!==null&&typeof J==="object"&&J!==null&&i9(Q)==="Object"&&i9(J)==="Object"&&(2<Object.keys(Q).length||2<Object.keys(J).length||-1<w.indexOf("...")||-1<H.indexOf("..."))?Z+=$2(Y+1)+B+`={{
|
|
50
|
+
`+yU(Q,J,Y+2)+$2(Y+1)+`}}
|
|
51
|
+
`:(Z+=s6(Y+1)+B+"="+w+`
|
|
52
|
+
`,Z+=t3(Y+1)+B+"="+H+`
|
|
53
|
+
`)}else Z+=$2(Y+1)+B+"="+a6(X[B],H)+`
|
|
54
|
+
`}$.forEach(function(M){if(M!=="children"){var q=120-2*(Y+1)-M.length-1;Z+=t3(Y+1)+M+"="+a6(G[M],q)+`
|
|
55
|
+
`}}),Z=Z===""?$2(Y)+"<"+z+`>
|
|
56
|
+
`:$2(Y)+"<"+z+`
|
|
57
|
+
`+Z+$2(Y)+`>
|
|
58
|
+
`}if(z=G.children,X=X.children,typeof z==="string"||typeof z==="number"||typeof z==="bigint"){if($="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")$=""+X;Z+=k5($,""+z,Y+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")Z=z==null?Z+k5(""+X,null,Y+1):Z+k5(""+X,void 0,Y+1);return Z}function lZ(z,X){var G=dZ(z);if(G===null){G="";for(z=z.child;z;)G+=lZ(z,X),z=z.sibling;return G}return $2(X)+"<"+G+`>
|
|
59
|
+
`}function t9(z,X){var G=uZ(z,X);if(G!==z&&(z.children.length!==1||z.children[0]!==G))return $2(X)+`...
|
|
60
|
+
`+t9(G,X+1);G="";var Y=z.fiber._debugInfo;if(Y)for(var Z=0;Z<Y.length;Z++){var $=Y[Z].name;typeof $==="string"&&(G+=$2(X)+"<"+$+`>
|
|
61
|
+
`,X++)}if(Y="",Z=z.fiber.pendingProps,z.fiber.tag===6)Y=k5(Z,z.serverProps,X),X++;else if($=dZ(z.fiber),$!==null)if(z.serverProps===void 0){Y=X;var B=120-2*Y-$.length-2,H="";for(Q in Z)if(Z.hasOwnProperty(Q)&&Q!=="children"){var J=a6(Z[Q],15);if(B-=Q.length+J.length+2,0>B){H+=" ...";break}H+=" "+Q+"="+J}Y=$2(Y)+"<"+$+H+`>
|
|
62
|
+
`,X++}else z.serverProps===null?(Y=r9($,Z,s6(X)),X++):typeof z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(Y=mU($,Z,z.serverProps,X),X++);var Q="";Z=z.fiber.child;for($=0;Z&&$<z.children.length;)B=z.children[$],B.fiber===Z?(Q+=t9(B,X),$++):Q+=lZ(Z,X),Z=Z.sibling;Z&&0<z.children.length&&(Q+=$2(X)+`...
|
|
63
|
+
`),Z=z.serverTail,z.serverProps===null&&X--;for(z=0;z<Z.length;z++)$=Z[z],Q=typeof $==="string"?Q+(t3(X)+r4($,120-2*X)+`
|
|
64
|
+
`):Q+r9($.type,$.props,t3(X));return G+Y+Q}function e9(z){try{return`
|
|
65
|
+
|
|
66
|
+
`+t9(z,0)}catch(X){return""}}function cZ(z,X,G){for(var Y=X,Z=null,$=0;Y;)Y===z&&($=0),Z={fiber:Y,children:Z!==null?[Z]:[],serverProps:Y===X?G:Y===z?null:void 0,serverTail:[],distanceFromLeaf:$},$++,Y=Y.return;return Z!==null?e9(Z).replaceAll(/^[+-]/gm,">"):""}function pZ(z,X){var G=A1({},z||iJ),Y={tag:X};if(nJ.indexOf(X)!==-1&&(G.aTagInScope=null,G.buttonTagInScope=null,G.nobrTagInScope=null),lW.indexOf(X)!==-1&&(G.pTagInButtonScope=null),dW.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(G.listItemTagAutoclosing=null,G.dlItemTagAutoclosing=null),G.current=Y,X==="form"&&(G.formTag=Y),X==="a"&&(G.aTagInScope=Y),X==="button"&&(G.buttonTagInScope=Y),X==="nobr"&&(G.nobrTagInScope=Y),X==="p"&&(G.pTagInButtonScope=Y),X==="li"&&(G.listItemTagAutoclosing=Y),X==="dd"||X==="dt")G.dlItemTagAutoclosing=Y;return X==="#document"||X==="html"?G.containerTagInScope=null:G.containerTagInScope||(G.containerTagInScope=Y),z!==null||X!=="#document"&&X!=="html"&&X!=="body"?G.implicitRootScope===!0&&(G.implicitRootScope=!1):G.implicitRootScope=!0,G}function sZ(z,X,G){switch(X){case"select":return z==="hr"||z==="option"||z==="optgroup"||z==="script"||z==="template"||z==="#text";case"optgroup":return z==="option"||z==="#text";case"option":return z==="#text";case"tr":return z==="th"||z==="td"||z==="style"||z==="script"||z==="template";case"tbody":case"thead":case"tfoot":return z==="tr"||z==="style"||z==="script"||z==="template";case"colgroup":return z==="col"||z==="template";case"table":return z==="caption"||z==="colgroup"||z==="tbody"||z==="tfoot"||z==="thead"||z==="style"||z==="script"||z==="template";case"head":return z==="base"||z==="basefont"||z==="bgsound"||z==="link"||z==="meta"||z==="title"||z==="noscript"||z==="noframes"||z==="style"||z==="script"||z==="template";case"html":if(G)break;return z==="head"||z==="body"||z==="frameset";case"frameset":return z==="frame";case"#document":if(!G)return z==="html"}switch(z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return cW.indexOf(X)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return X==null;case"head":return G||X===null;case"html":return G&&X==="#document"||X===null;case"body":return G&&(X==="#document"||X==="html")||X===null}return!0}function fU(z,X){switch(z){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null}function aZ(z,X){for(;z;){switch(z.tag){case 5:case 26:case 27:if(z.type===X)return z}z=z.return}return null}function zX(z,X){X=X||iJ;var G=X.current;if(X=(G=sZ(z,G&&G.tag,X.implicitRootScope)?null:G)?null:fU(z,X),X=G||X,!X)return!0;var Y=X.tag;if(X=String(!!G)+"|"+z+"|"+Y,pz[X])return!1;pz[X]=!0;var Z=(X=K2)?aZ(X.return,Y):null,$=X!==null&&Z!==null?cZ(Z,X,null):"",B="<"+z+">";return G?(G="",Y==="table"&&z==="tr"&&(G+=" 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
|
|
67
|
+
This will cause a hydration error.%s`,B,Y,G,$)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,B,Y,$),X&&(z=X.return,Z===null||z===null||Z===z&&z._debugOwner===X._debugOwner||c(Z,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,Y,B)})),!1}function g5(z,X,G){if(G||sZ("#text",X,!1))return!0;if(G="#text|"+X,pz[G])return!1;pz[G]=!0;var Y=(G=K2)?aZ(G,X):null;return G=G!==null&&Y!==null?cZ(Y,G,G.tag!==6?{children:null}:null):"",/\S/.test(z)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,X,G):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.
|
|
71
|
+
This will cause a hydration error.%s`,X,G),!1}function e4(z,X){if(X){var G=z.firstChild;if(G&&G===z.lastChild&&G.nodeType===3){G.nodeValue=X;return}}z.textContent=X}function hU(z){return z.replace(aW,function(X,G){return G.toUpperCase()})}function oZ(z,X,G){var Y=X.indexOf("--")===0;Y||(-1<X.indexOf("-")?W4.hasOwnProperty(X)&&W4[X]||(W4[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,hU(X.replace(sW,"ms-")))):pW.test(X)?W4.hasOwnProperty(X)&&W4[X]||(W4[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!eJ.test(G)||wY.hasOwnProperty(G)&&wY[G]||(wY[G]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,G.replace(eJ,""))),typeof G==="number"&&(isNaN(G)?zQ||(zQ=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(G)||XQ||(XQ=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),G==null||typeof G==="boolean"||G===""?Y?z.setProperty(X,""):X==="float"?z.cssFloat="":z[X]="":Y?z.setProperty(X,G):typeof G!=="number"||G===0||GQ.has(X)?X==="float"?z.cssFloat=G:(o4(G,X),z[X]=(""+G).trim()):z[X]=G+"px"}function nZ(z,X,G){if(X!=null&&typeof X!=="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(X&&Object.freeze(X),z=z.style,G!=null){if(X){var Y={};if(G){for(var Z in G)if(G.hasOwnProperty(Z)&&!X.hasOwnProperty(Z))for(var $=KY[Z]||[Z],B=0;B<$.length;B++)Y[$[B]]=Z}for(var H in X)if(X.hasOwnProperty(H)&&(!G||G[H]!==X[H]))for(Z=KY[H]||[H],$=0;$<Z.length;$++)Y[Z[$]]=H;H={};for(var J in X)for(Z=KY[J]||[J],$=0;$<Z.length;$++)H[Z[$]]=J;J={};for(var Q in Y)if(Z=Y[Q],($=H[Q])&&Z!==$&&(B=Z+","+$,!J[B])){J[B]=!0,B=console;var w=X[Z];B.error.call(B,"%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.",w==null||typeof w==="boolean"||w===""?"Removing":"Updating",Z,$)}}for(var M in G)!G.hasOwnProperty(M)||X!=null&&X.hasOwnProperty(M)||(M.indexOf("--")===0?z.setProperty(M,""):M==="float"?z.cssFloat="":z[M]="");for(var q in X)Q=X[q],X.hasOwnProperty(q)&&G[q]!==Q&&oZ(z,q,Q)}else for(Y in X)X.hasOwnProperty(Y)&&oZ(z,Y,X[Y])}function z7(z){if(z.indexOf("-")===-1)return!1;switch(z){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function iZ(z){return oW.get(z)||z}function uU(z,X){if(l2.call(w4,X)&&w4[X])return!0;if(iW.test(X)){if(z="aria-"+X.slice(4).toLowerCase(),z=YQ.hasOwnProperty(z)?z:null,z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),w4[X]=!0;if(X!==z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,z),w4[X]=!0}if(nW.test(X)){if(z=X.toLowerCase(),z=YQ.hasOwnProperty(z)?z:null,z==null)return w4[X]=!0,!1;X!==z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,z),w4[X]=!0)}return!0}function dU(z,X){var G=[],Y;for(Y in X)uU(z,Y)||G.push(Y);X=G.map(function(Z){return"`"+Z+"`"}).join(", "),G.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,z):1<G.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,z)}function lU(z,X,G,Y){if(l2.call(c0,X)&&c0[X])return!0;var Z=X.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."),c0[X]=!0;if(typeof G==="function"&&(z==="form"&&X==="action"||z==="input"&&X==="formAction"||z==="button"&&X==="formAction"))return!0;if(Y!=null){if(z=Y.possibleRegistrationNames,Y.registrationNameDependencies.hasOwnProperty(X))return!0;if(Y=z.hasOwnProperty(Z)?z[Z]:null,Y!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,Y),c0[X]=!0;if($Q.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),c0[X]=!0}else if($Q.test(X))return rW.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),c0[X]=!0;if(tW.test(X)||eW.test(X))return!0;if(Z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),c0[X]=!0;if(Z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),c0[X]=!0;if(Z==="is"&&G!==null&&G!==void 0&&typeof G!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof G),c0[X]=!0;if(typeof G==="number"&&isNaN(G))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),c0[X]=!0;if(az.hasOwnProperty(Z)){if(Z=az[Z],Z!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,Z),c0[X]=!0}else if(X!==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.",X,Z),c0[X]=!0;switch(X){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 G){case"boolean":switch(X){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=X.toLowerCase().slice(0,5),Z==="data-"||Z==="aria-")return!0;return 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()}.',G,X,X,G,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()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',G,X,X,G,X,X,X),c0[X]=!0}case"function":case"symbol":return c0[X]=!0,!1;case"string":if(G==="false"||G==="true"){switch(X){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}?",G,X,G==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',X,G),c0[X]=!0}}return!0}function cU(z,X,G){var Y=[],Z;for(Z in X)lU(z,Z,X[Z],G)||Y.push(Z);X=Y.map(function($){return"`"+$+"`"}).join(", "),Y.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 ",X,z):1<Y.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 ",X,z)}function X7(z){return zK.test(""+z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":z}function S8(){}function XX(z){return z=z.target||z.srcElement||window,z.correspondingUseElement&&(z=z.correspondingUseElement),z.nodeType===3?z.parentNode:z}function rZ(z){var X=Q1(z);if(X&&(z=X.stateNode)){var G=z[l0]||null;z:switch(z=X.stateNode,X.type){case"input":if(o9(z,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name),X=G.name,G.type==="radio"&&X!=null){for(G=z;G.parentNode;)G=G.parentNode;u1(X,"name"),G=G.querySelectorAll('input[name="'+T2(""+X)+'"][type="radio"]');for(X=0;X<G.length;X++){var Y=G[X];if(Y!==z&&Y.form===z.form){var Z=Y[l0]||null;if(!Z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");o9(Y,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for(X=0;X<G.length;X++)Y=G[X],Y.form===z.form&&DZ(Y)}break z;case"textarea":fZ(z,G.value,G.defaultValue);break z;case"select":X=G.value,X!=null&&p6(z,!!G.multiple,X,!1)}}}function tZ(z,X,G){if(MY)return z(X,G);MY=!0;try{var Y=z(X);return Y}finally{if(MY=!1,M4!==null||O4!==null){if(Y4(),M4&&(X=M4,z=O4,O4=M4=null,rZ(X),z))for(X=0;X<z.length;X++)rZ(z[X])}}}function G7(z,X){var G=z.stateNode;if(G===null)return null;var Y=G[l0]||null;if(Y===null)return null;G=Y[X];z:switch(X){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Y=!Y.disabled)||(z=z.type,Y=!(z==="button"||z==="input"||z==="select"||z==="textarea")),z=!Y;break z;default:z=!1}if(z)return null;if(G&&typeof G!=="function")throw Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof G+"` type.");return G}function eZ(){if(oz)return oz;var z,X=_Y,G=X.length,Y,Z="value"in F3?F3.value:F3.textContent,$=Z.length;for(z=0;z<G&&X[z]===Z[z];z++);var B=G-z;for(Y=1;Y<=B&&X[G-Y]===Z[$-Y];Y++);return oz=Z.slice(z,1<Y?1-Y:void 0)}function E5(z){var X=z.keyCode;return"charCode"in z?(z=z.charCode,z===0&&X===13&&(z=13)):z=X,z===10&&(z=13),32<=z||z===13?z:0}function b5(){return!0}function z$(){return!1}function i0(z){function X(G,Y,Z,$,B){this._reactName=G,this._targetInst=Z,this.type=Y,this.nativeEvent=$,this.target=B,this.currentTarget=null;for(var H in z)z.hasOwnProperty(H)&&(G=z[H],this[H]=G?G($):$[H]);return this.isDefaultPrevented=($.defaultPrevented!=null?$.defaultPrevented:$.returnValue===!1)?b5:z$,this.isPropagationStopped=z$,this}return A1(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var G=this.nativeEvent;G&&(G.preventDefault?G.preventDefault():typeof G.returnValue!=="unknown"&&(G.returnValue=!1),this.isDefaultPrevented=b5)},stopPropagation:function(){var G=this.nativeEvent;G&&(G.stopPropagation?G.stopPropagation():typeof G.cancelBubble!=="unknown"&&(G.cancelBubble=!0),this.isPropagationStopped=b5)},persist:function(){},isPersistent:b5}),X}function pU(z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(z):(z=WK[z])?!!X[z]:!1}function GX(){return pU}function X$(z,X){switch(z){case"keyup":return TK.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==QQ;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function G$(z){return z=z.detail,typeof z==="object"&&"data"in z?z.data:null}function sU(z,X){switch(z){case"compositionend":return G$(X);case"keypress":if(X.which!==UQ)return null;return WQ=!0,qQ;case"textInput":return z=X.data,z===qQ&&WQ?null:z;default:return null}}function aU(z,X){if(_4)return z==="compositionend"||!NY&&X$(z,X)?(z=eZ(),oz=_Y=F3=null,_4=!1,z):null;switch(z){case"paste":return null;case"keypress":if(!(X.ctrlKey||X.altKey||X.metaKey)||X.ctrlKey&&X.altKey){if(X.char&&1<X.char.length)return X.char;if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return RQ&&X.locale!=="ko"?null:X.data;default:return null}}function Y$(z){var X=z&&z.nodeName&&z.nodeName.toLowerCase();return X==="input"?!!CK[z.type]:X==="textarea"?!0:!1}function oU(z){if(!F8)return!1;z="on"+z;var X=z in document;return X||(X=document.createElement("div"),X.setAttribute(z,"return;"),X=typeof X[z]==="function"),X}function Z$(z,X,G,Y){M4?O4?O4.push(Y):O4=[Y]:M4=Y,X=xz(X,"onChange"),0<X.length&&(G=new nz("onChange","change",null,G,Y),z.push({event:G,listeners:X}))}function nU(z){hH(z,0)}function y5(z){var X=R1(z);if(DZ(X))return z}function $$(z,X){if(z==="change")return X}function B$(){u7&&(u7.detachEvent("onpropertychange",H$),d7=u7=null)}function H$(z){if(z.propertyName==="value"&&y5(d7)){var X=[];Z$(X,d7,z,XX(z)),tZ(nU,X)}}function iU(z,X,G){z==="focusin"?(B$(),u7=X,d7=G,u7.attachEvent("onpropertychange",H$)):z==="focusout"&&B$()}function rU(z){if(z==="selectionchange"||z==="keyup"||z==="keydown")return y5(d7)}function tU(z,X){if(z==="click")return y5(X)}function eU(z,X){if(z==="input"||z==="change")return y5(X)}function zq(z,X){return z===X&&(z!==0||1/z===1/X)||z!==z&&X!==X}function Y7(z,X){if(p0(z,X))return!0;if(typeof z!=="object"||z===null||typeof X!=="object"||X===null)return!1;var G=Object.keys(z),Y=Object.keys(X);if(G.length!==Y.length)return!1;for(Y=0;Y<G.length;Y++){var Z=G[Y];if(!l2.call(X,Z)||!p0(z[Z],X[Z]))return!1}return!0}function J$(z){for(;z&&z.firstChild;)z=z.firstChild;return z}function Q$(z,X){var G=J$(z);z=0;for(var Y;G;){if(G.nodeType===3){if(Y=z+G.textContent.length,z<=X&&Y>=X)return{node:G,offset:X-z};z=Y}z:{for(;G;){if(G.nextSibling){G=G.nextSibling;break z}G=G.parentNode}G=void 0}G=J$(G)}}function R$(z,X){return z&&X?z===X?!0:z&&z.nodeType===3?!1:X&&X.nodeType===3?R$(z,X.parentNode):("contains"in z)?z.contains(X):z.compareDocumentPosition?!!(z.compareDocumentPosition(X)&16):!1:!1}function U$(z){z=z!=null&&z.ownerDocument!=null&&z.ownerDocument.defaultView!=null?z.ownerDocument.defaultView:window;for(var X=D5(z.document);X instanceof z.HTMLIFrameElement;){try{var G=typeof X.contentWindow.location.href==="string"}catch(Y){G=!1}if(G)z=X.contentWindow;else break;X=D5(z.document)}return X}function YX(z){var X=z&&z.nodeName&&z.nodeName.toLowerCase();return X&&(X==="input"&&(z.type==="text"||z.type==="search"||z.type==="tel"||z.type==="url"||z.type==="password")||X==="textarea"||z.contentEditable==="true")}function q$(z,X,G){var Y=G.window===G?G.document:G.nodeType===9?G:G.ownerDocument;PY||L4==null||L4!==D5(Y)||(Y=L4,("selectionStart"in Y)&&YX(Y)?Y={start:Y.selectionStart,end:Y.selectionEnd}:(Y=(Y.ownerDocument&&Y.ownerDocument.defaultView||window).getSelection(),Y={anchorNode:Y.anchorNode,anchorOffset:Y.anchorOffset,focusNode:Y.focusNode,focusOffset:Y.focusOffset}),l7&&Y7(l7,Y)||(l7=Y,Y=xz(IY,"onSelect"),0<Y.length&&(X=new nz("onSelect","select",null,X,G),z.push({event:X,listeners:Y}),X.target=L4)))}function e3(z,X){var G={};return G[z.toLowerCase()]=X.toLowerCase(),G["Webkit"+z]="webkit"+X,G["Moz"+z]="moz"+X,G}function z6(z){if(TY[z])return TY[z];if(!A4[z])return z;var X=A4[z],G;for(G in X)if(X.hasOwnProperty(G)&&G in wQ)return TY[z]=X[G];return z}function h2(z,X){AQ.set(z,X),y0(X,[z])}function Xq(z){for(var X=rz,G=0;G<z.length;G++){var Y=z[G];if(typeof Y==="object"&&Y!==null)if(L0(Y)&&Y.length===2&&typeof Y[0]==="string"){if(X!==rz&&X!==jY)return xY;X=jY}else return xY;else{if(typeof Y==="function"||typeof Y==="string"&&50<Y.length||X!==rz&&X!==SY)return xY;X=SY}}return X}function ZX(z,X,G,Y){for(var Z in z)l2.call(z,Z)&&Z[0]!=="_"&&e2(Z,z[Z],X,G,Y)}function e2(z,X,G,Y,Z){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===w8){var $=h(X.type)||"…",B=X.key;X=X.props;var H=Object.keys(X),J=H.length;if(B==null&&J===0){X="<"+$+" />";break}if(3>Y||J===1&&H[0]==="children"&&B==null){X="<"+$+" … />";break}G.push([Z+" ".repeat(Y)+z,"<"+$]),B!==null&&e2("key",B,G,Y+1,Z),z=!1;for(var Q in X)Q==="children"?X.children!=null&&(!L0(X.children)||0<X.children.length)&&(z=!0):l2.call(X,Q)&&Q[0]!=="_"&&e2(Q,X[Q],G,Y+1,Z);G.push(["",z?">…</"+$+">":"/>"]);return}if($=Object.prototype.toString.call(X),$=$.slice(8,$.length-1),$==="Array"){if(Q=Xq(X),Q===SY||Q===rz){X=JSON.stringify(X);break}else if(Q===jY){G.push([Z+" ".repeat(Y)+z,""]);for(z=0;z<X.length;z++)$=X[z],e2($[0],$[1],G,Y+1,Z);return}}if($==="Promise"){if(X.status==="fulfilled"){if($=G.length,e2(z,X.value,G,Y,Z),G.length>$){G=G[$],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(X.status==="rejected"&&($=G.length,e2(z,X.reason,G,Y,Z),G.length>$)){G=G[$],G[1]="Rejected Promise<"+G[1]+">";return}G.push([" ".repeat(Y)+z,"Promise"]);return}$==="Object"&&(Q=Object.getPrototypeOf(X))&&typeof Q.constructor==="function"&&($=Q.constructor.name),G.push([Z+" ".repeat(Y)+z,$==="Object"?3>Y?"":"…":$]),3>Y&&ZX(X,G,Y+1,Z);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===gK?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}G.push([Z+" ".repeat(Y)+z,X])}function W$(z,X,G,Y){var Z=!0;for(B in z)B in X||(G.push([tz+" ".repeat(Y)+B,"…"]),Z=!1);for(var $ in X)if($ in z){var B=z[$],H=X[$];if(B!==H){if(Y===0&&$==="children")Z=" ".repeat(Y)+$,G.push([tz+Z,"…"],[ez+Z,"…"]);else{if(!(3<=Y)){if(typeof B==="object"&&typeof H==="object"&&B!==null&&H!==null&&B.$$typeof===H.$$typeof)if(H.$$typeof===w8){if(B.type===H.type&&B.key===H.key){B=h(H.type)||"…",Z=" ".repeat(Y)+$,B="<"+B+" … />",G.push([tz+Z,B],[ez+Z,B]),Z=!1;continue}}else{var J=Object.prototype.toString.call(B),Q=Object.prototype.toString.call(H);if(J===Q&&(Q==="[object Object]"||Q==="[object Array]")){J=[IQ+" ".repeat(Y)+$,Q==="[object Array]"?"Array":""],G.push(J),Q=G.length,W$(B,H,G,Y+1)?Q===G.length&&(J[1]="Referentially unequal but deeply equal objects. Consider memoization."):Z=!1;continue}}else if(typeof B==="function"&&typeof H==="function"&&B.name===H.name&&B.length===H.length&&(J=Function.prototype.toString.call(B),Q=Function.prototype.toString.call(H),J===Q)){B=H.name===""?"() => {}":H.name+"() {}",G.push([IQ+" ".repeat(Y)+$,B+" Referentially unequal function closure. Consider memoization."]);continue}}e2($,B,G,Y,tz),e2($,H,G,Y,ez)}Z=!1}}else G.push([ez+" ".repeat(Y)+$,"…"]),Z=!1;return Z}function B2(z){N1=z&63?"Blocking":z&64?"Gesture":z&4194176?"Transition":z&62914560?"Suspense":z&2080374784?"Idle":"Other"}function z8(z,X,G,Y){o1&&(I3.start=X,I3.end=G,m8.color="warning",m8.tooltipText=Y,m8.properties=null,(z=z._debugTask)?z.run(performance.measure.bind(performance,Y,I3)):performance.measure(Y,I3))}function m5(z,X,G){z8(z,X,G,"Reconnect")}function f5(z,X,G,Y,Z){var $=y(z);if($!==null&&o1){var{alternate:B,actualDuration:H}=z;if(B===null||B.child!==z.child)for(var J=z.child;J!==null;J=J.sibling)H-=J.actualDuration;Y=0.5>H?Y?"tertiary-light":"primary-light":10>H?Y?"tertiary":"primary":100>H?Y?"tertiary-dark":"primary-dark":"error";var Q=z.memoizedProps;H=z._debugTask,Q!==null&&B!==null&&B.memoizedProps!==Q?(J=[EK],Q=W$(B.memoizedProps,Q,J,0),1<J.length&&(Q&&!N3&&(B.lanes&Z)===0&&100<z.actualDuration?(N3=!0,J[0]=bK,m8.color="warning",m8.tooltipText=PQ):(m8.color=Y,m8.tooltipText=$),m8.properties=J,I3.start=X,I3.end=G,H!=null?H.run(performance.measure.bind(performance,""+$,I3)):performance.measure(""+$,I3))):H!=null?H.run(console.timeStamp.bind(console,$,X,G,C2,void 0,Y)):console.timeStamp($,X,G,C2,void 0,Y)}}function $X(z,X,G,Y){if(o1){var Z=y(z);if(Z!==null){for(var $=null,B=[],H=0;H<Y.length;H++){var J=Y[H];$==null&&J.source!==null&&($=J.source._debugTask),J=J.value,B.push(["Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z.key!==null&&e2("key",z.key,B,0,""),z.memoizedProps!==null&&ZX(z.memoizedProps,B,0,""),$==null&&($=z._debugTask),z={start:X,end:G,detail:{devtools:{color:"error",track:C2,tooltipText:z.tag===13?"Hydration failed":"Error boundary caught an error",properties:B}}},$?$.run(performance.measure.bind(performance,""+Z,z)):performance.measure(""+Z,z)}}}function X8(z,X,G,Y,Z){if(Z!==null){if(o1){var $=y(z);if($!==null){Y=[];for(var B=0;B<Z.length;B++){var H=Z[B].value;Y.push(["Error",typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H)])}z.key!==null&&e2("key",z.key,Y,0,""),z.memoizedProps!==null&&ZX(z.memoizedProps,Y,0,""),X={start:X,end:G,detail:{devtools:{color:"error",track:C2,tooltipText:"A lifecycle or effect errored",properties:Y}}},(z=z._debugTask)?z.run(performance.measure.bind(performance,""+$,X)):performance.measure(""+$,X)}}}else $=y(z),$!==null&&o1&&(Z=1>Y?"secondary-light":100>Y?"secondary":500>Y?"secondary-dark":"error",(z=z._debugTask)?z.run(console.timeStamp.bind(console,$,X,G,C2,void 0,Z)):console.timeStamp($,X,G,C2,void 0,Z))}function Gq(z,X,G,Y){if(o1&&!(X<=z)){var Z=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",Y?Y.run(console.timeStamp.bind(console,G,z,X,N1,F1,Z)):console.timeStamp(G,z,X,N1,F1,Z)}}function K$(z,X,G,Y){!o1||X<=z||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Prewarm",z,X,N1,F1,G)):console.timeStamp("Prewarm",z,X,N1,F1,G))}function w$(z,X,G,Y){!o1||X<=z||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Suspended",z,X,N1,F1,G)):console.timeStamp("Suspended",z,X,N1,F1,G))}function Yq(z,X,G,Y,Z,$){if(o1&&!(X<=z)){G=[];for(var B=0;B<Y.length;B++){var H=Y[B].value;G.push(["Recoverable Error",typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H)])}z={start:z,end:X,detail:{devtools:{color:"primary-dark",track:N1,trackGroup:F1,tooltipText:Z?"Hydration Failed":"Recovered after Error",properties:G}}},$?$.run(performance.measure.bind(performance,"Recovered",z)):performance.measure("Recovered",z)}}function BX(z,X,G,Y){!o1||X<=z||(Y?Y.run(console.timeStamp.bind(console,"Errored",z,X,N1,F1,"error")):console.timeStamp("Errored",z,X,N1,F1,"error"))}function Zq(z,X,G,Y){!o1||X<=z||(Y?Y.run(console.timeStamp.bind(console,G,z,X,N1,F1,"secondary-light")):console.timeStamp(G,z,X,N1,F1,"secondary-light"))}function M$(z,X,G,Y,Z){if(o1&&!(X<=z)){for(var $=[],B=0;B<G.length;B++){var H=G[B].value;$.push(["Error",typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H)])}z={start:z,end:X,detail:{devtools:{color:"error",track:N1,trackGroup:F1,tooltipText:Y?"Remaining Effects Errored":"Commit Errored",properties:$}}},Z?Z.run(performance.measure.bind(performance,"Errored",z)):performance.measure("Errored",z)}}function Z7(z,X,G){!o1||X<=z||(G?G.run(console.timeStamp.bind(console,"Animating",z,X,N1,F1,"secondary-dark")):console.timeStamp("Animating",z,X,N1,F1,"secondary-dark"))}function h5(){for(var z=F4,X=VY=F4=0;X<z;){var G=x2[X];x2[X++]=null;var Y=x2[X];x2[X++]=null;var Z=x2[X];x2[X++]=null;var $=x2[X];if(x2[X++]=null,Y!==null&&Z!==null){var B=Y.pending;B===null?Z.next=Z:(Z.next=B.next,B.next=Z),Y.pending=Z}$!==0&&O$(G,Z,$)}}function u5(z,X,G,Y){x2[F4++]=z,x2[F4++]=X,x2[F4++]=G,x2[F4++]=Y,VY|=Y,z.lanes|=Y,z=z.alternate,z!==null&&(z.lanes|=Y)}function HX(z,X,G,Y){return u5(z,X,G,Y),d5(z)}function m0(z,X){return u5(z,null,null,X),d5(z)}function O$(z,X,G){z.lanes|=G;var Y=z.alternate;Y!==null&&(Y.lanes|=G);for(var Z=!1,$=z.return;$!==null;)$.childLanes|=G,Y=$.alternate,Y!==null&&(Y.childLanes|=G),$.tag===22&&(z=$.stateNode,z===null||z._visibility&c7||(Z=!0)),z=$,$=$.return;return z.tag===3?($=z.stateNode,Z&&X!==null&&(Z=31-d0(G),z=$.hiddenUpdates,Y=z[Z],Y===null?z[Z]=[X]:Y.push(X),X.lane=G|536870912),$):null}function d5(z){if(O5>rK)throw S6=O5=0,_5=RZ=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.");S6>tK&&(S6=0,_5=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.")),z.alternate===null&&(z.flags&4098)!==0&&kH(z);for(var X=z,G=X.return;G!==null;)X.alternate===null&&(X.flags&4098)!==0&&kH(z),X=G,G=X.return;return X.tag===3?X.stateNode:null}function X6(z){if(S2===null)return z;var X=S2(z);return X===void 0?z:X.current}function JX(z){if(S2===null)return z;var X=S2(z);return X===void 0?z!==null&&z!==void 0&&typeof z.render==="function"&&(X=X6(z.render),z.render!==X)?(X={$$typeof:D7,render:X},z.displayName!==void 0&&(X.displayName=z.displayName),X):z:X.current}function _$(z,X){if(S2===null)return!1;var G=z.elementType;X=X.type;var Y=!1,Z=typeof X==="object"&&X!==null?X.$$typeof:null;switch(z.tag){case 1:typeof X==="function"&&(Y=!0);break;case 0:typeof X==="function"?Y=!0:Z===W2&&(Y=!0);break;case 11:Z===D7?Y=!0:Z===W2&&(Y=!0);break;case 14:case 15:Z===fz?Y=!0:Z===W2&&(Y=!0);break;default:return!1}return Y&&(z=S2(G),z!==void 0&&z===S2(X))?!0:!1}function L$(z){S2!==null&&typeof WeakSet==="function"&&(N4===null&&(N4=new WeakSet),N4.add(z))}function A$(z,X,G){do{var Y=z,Z=Y.alternate,$=Y.child,B=Y.sibling,H=Y.tag;Y=Y.type;var J=null;switch(H){case 0:case 15:case 1:J=Y;break;case 11:J=Y.render}if(S2===null)throw Error("Expected resolveFamily to be set during hot reload.");var Q=!1;if(Y=!1,J!==null&&(J=S2(J),J!==void 0&&(G.has(J)?Y=!0:X.has(J)&&(H===1?Y=!0:Q=!0))),N4!==null&&(N4.has(z)||Z!==null&&N4.has(Z))&&(Y=!0),Y&&(z._debugNeedsRemount=!0),Y||Q)Z=m0(z,2),Z!==null&&Y0(Z,z,2);if($===null||Y||A$($,X,G),B===null)break;z=B}while(1)}function $q(z,X,G,Y){this.tag=z,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=X,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Y,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,TQ||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function QX(z){return z=z.prototype,!(!z||!z.isReactComponent)}function j8(z,X){var G=z.alternate;switch(G===null?(G=S(z.tag,X,z.key,z.mode),G.elementType=z.elementType,G.type=z.type,G.stateNode=z.stateNode,G._debugOwner=z._debugOwner,G._debugStack=z._debugStack,G._debugTask=z._debugTask,G._debugHookTypes=z._debugHookTypes,G.alternate=z,z.alternate=G):(G.pendingProps=X,G.type=z.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=z.flags&65011712,G.childLanes=z.childLanes,G.lanes=z.lanes,G.child=z.child,G.memoizedProps=z.memoizedProps,G.memoizedState=z.memoizedState,G.updateQueue=z.updateQueue,X=z.dependencies,G.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},G.sibling=z.sibling,G.index=z.index,G.ref=z.ref,G.refCleanup=z.refCleanup,G.selfBaseDuration=z.selfBaseDuration,G.treeBaseDuration=z.treeBaseDuration,G._debugInfo=z._debugInfo,G._debugNeedsRemount=z._debugNeedsRemount,G.tag){case 0:case 15:G.type=X6(z.type);break;case 1:G.type=X6(z.type);break;case 11:G.type=JX(z.type)}return G}function F$(z,X){z.flags&=65011714;var G=z.alternate;return G===null?(z.childLanes=0,z.lanes=X,z.child=null,z.subtreeFlags=0,z.memoizedProps=null,z.memoizedState=null,z.updateQueue=null,z.dependencies=null,z.stateNode=null,z.selfBaseDuration=0,z.treeBaseDuration=0):(z.childLanes=G.childLanes,z.lanes=G.lanes,z.child=G.child,z.subtreeFlags=0,z.deletions=null,z.memoizedProps=G.memoizedProps,z.memoizedState=G.memoizedState,z.updateQueue=G.updateQueue,z.type=G.type,X=G.dependencies,z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},z.selfBaseDuration=G.selfBaseDuration,z.treeBaseDuration=G.treeBaseDuration),z}function RX(z,X,G,Y,Z,$){var B=0,H=z;if(typeof z==="function")QX(z)&&(B=1),H=X6(H);else if(typeof z==="string")B=X1(),B=KW(z,G,B)?26:z==="html"||z==="head"||z==="body"?27:5;else z:switch(z){case GY:return X=S(31,G,X,Z),X.elementType=GY,X.lanes=$,X;case R4:return G6(G.children,Z,$,X);case mz:B=8,Z|=h0,Z|=p2;break;case tG:return z=G,Y=Z,typeof z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof z.id),X=S(12,z,X,Y|w1),X.elementType=tG,X.lanes=$,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case zY:return X=S(13,G,X,Z),X.elementType=zY,X.lanes=$,X;case XY:return X=S(19,G,X,Z),X.elementType=XY,X.lanes=$,X;default:if(typeof z==="object"&&z!==null)switch(z.$$typeof){case M8:B=10;break z;case eG:B=9;break z;case D7:B=11,H=JX(H);break z;case fz:B=14;break z;case W2:B=16,H=null;break z}if(H="",z===void 0||typeof z==="object"&&z!==null&&Object.keys(z).length===0)H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";z===null?G="null":L0(z)?G="array":z!==void 0&&z.$$typeof===w8?(G="<"+(h(z.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):G=typeof z,(B=Y?e1(Y):null)&&(H+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+B+"`."),B=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+H)),H=null}return X=S(B,G,X,Z),X.elementType=z,X.type=H,X.lanes=$,X._debugOwner=Y,X}function l5(z,X,G){return X=RX(z.type,z.key,z.props,z._owner,X,G),X._debugOwner=z._owner,X._debugStack=z._debugStack,X._debugTask=z._debugTask,X}function G6(z,X,G,Y){return z=S(7,z,Y,X),z.lanes=G,z}function UX(z,X,G){return z=S(6,z,null,X),z.lanes=G,z}function N$(z){var X=S(18,null,null,Z1);return X.stateNode=z,X}function qX(z,X,G){return X=S(4,z.children!==null?z.children:[],z.key,X),X.lanes=G,X.stateNode={containerInfo:z.containerInfo,pendingChildren:null,implementation:z.implementation},X}function H2(z,X){if(typeof z==="object"&&z!==null){var G=DY.get(z);if(G!==void 0)return G;return X={value:z,source:X,stack:Y2(X)},DY.set(z,X),X}return{value:z,source:X,stack:Y2(X)}}function V8(z,X){$3(),I4[P4++]=p7,I4[P4++]=z9,z9=z,p7=X}function I$(z,X,G){$3(),j2[V2++]=h8,j2[V2++]=u8,j2[V2++]=w6,w6=z;var Y=h8;z=u8;var Z=32-d0(Y)-1;Y&=~(1<<Z),G+=1;var $=32-d0(X)+Z;if(30<$){var B=Z-Z%5;$=(Y&(1<<B)-1).toString(32),Y>>=B,Z-=B,h8=1<<32-d0(X)+Z|G<<Z|Y,u8=$+z}else h8=1<<$|G<<Z|Y,u8=z}function WX(z){$3(),z.return!==null&&(V8(z,1),I$(z,1,0))}function KX(z){for(;z===z9;)z9=I4[--P4],I4[P4]=null,p7=I4[--P4],I4[P4]=null;for(;z===w6;)w6=j2[--V2],j2[V2]=null,u8=j2[--V2],j2[V2]=null,h8=j2[--V2],j2[V2]=null}function P$(){return $3(),w6!==null?{id:h8,overflow:u8}:null}function T$(z,X){$3(),j2[V2++]=h8,j2[V2++]=u8,j2[V2++]=w6,h8=X.id,u8=X.overflow,w6=z}function $3(){I1||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Y6(z,X){if(z.return===null){if(M2===null)M2={fiber:z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(M2.fiber!==z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");M2.distanceFromLeaf>X&&(M2.distanceFromLeaf=X)}return M2}var G=Y6(z.return,X+1).children;if(0<G.length&&G[G.length-1].fiber===z)return G=G[G.length-1],G.distanceFromLeaf>X&&(G.distanceFromLeaf=X),G;return X={fiber:z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X},G.push(X),X}function v$(){I1&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function c5(z,X){N8||(z=Y6(z,0),z.serverProps=null,X!==null&&(X=ZJ(X),z.serverTail.push(X)))}function B3(z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",Y=M2;throw Y!==null&&(M2=null,G=e9(Y)),$7(H2(Error("Hydration failed because the server rendered "+(X?"text":"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:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+G),z)),kY}function C$(z){var{stateNode:X,type:G,memoizedProps:Y}=z;switch(X[k0]=z,X[l0]=Y,gG(G,Y),G){case"dialog":P1("cancel",X),P1("close",X);break;case"iframe":case"object":case"embed":P1("load",X);break;case"video":case"audio":for(G=0;G<L5.length;G++)P1(L5[G],X);break;case"source":P1("error",X);break;case"img":case"image":case"link":P1("error",X),P1("load",X);break;case"details":P1("toggle",X);break;case"input":Z3("input",Y),P1("invalid",X),kZ(X,Y),gZ(X,Y.value,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name,!0);break;case"option":EZ(X,Y);break;case"select":Z3("select",Y),P1("invalid",X),yZ(X,Y);break;case"textarea":Z3("textarea",Y),P1("invalid",X),mZ(X,Y),hZ(X,Y.value,Y.defaultValue,Y.children)}G=Y.children,typeof G!=="string"&&typeof G!=="number"&&typeof G!=="bigint"||X.textContent===""+G||Y.suppressHydrationWarning===!0||cH(X.textContent,G)?(Y.popover!=null&&(P1("beforetoggle",X),P1("toggle",X)),Y.onScroll!=null&&P1("scroll",X),Y.onScrollEnd!=null&&P1("scrollend",X),Y.onClick!=null&&(X.onclick=S8),X=!0):X=!1,X||B3(z,!0)}function x$(z){for(g0=z.return;g0;)switch(g0.tag){case 5:case 31:case 13:D2=!1;return;case 27:case 3:D2=!0;return;default:g0=g0.return}}function o6(z){if(z!==g0)return!1;if(!I1)return x$(z),I1=!0,!1;var X=z.tag,G;if(G=X!==3&&X!==27){if(G=X===5)G=z.type,G=!(G!=="form"&&G!=="button")||fG(z.type,z.memoizedProps);G=!G}if(G&&n1){for(G=n1;G;){var Y=Y6(z,0),Z=ZJ(G);Y.serverTail.push(Z),G=Z.type==="Suspense"?lG(G):q2(G.nextSibling)}B3(z)}if(x$(z),X===13){if(z=z.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.");n1=lG(z)}else if(X===31){if(z=z.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.");n1=lG(z)}else X===27?(X=n1,M3(z.type)?(z=NZ,NZ=null,n1=z):n1=X):n1=g0?q2(z.stateNode.nextSibling):null;return!0}function Z6(){n1=g0=null,N8=I1=!1}function wX(){var z=T3;return z!==null&&(n0===null?n0=z:n0.push.apply(n0,z),T3=null),z}function $7(z){T3===null?T3=[z]:T3.push(z)}function MX(){var z=M2;if(z!==null){M2=null;for(var X=e9(z);0<z.children.length;)z=z.children[0];c(z.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:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",X)})}}function p5(){T4=X9=null,v4=!1}function H3(z,X,G){U1(gY,X._currentValue,z),X._currentValue=G,U1(EY,X._currentRenderer,z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==CQ&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=CQ}function D8(z,X){z._currentValue=gY.current;var G=EY.current;C1(EY,X),z._currentRenderer=G,C1(gY,X)}function OX(z,X,G){for(;z!==null;){var Y=z.alternate;if((z.childLanes&X)!==X?(z.childLanes|=X,Y!==null&&(Y.childLanes|=X)):Y!==null&&(Y.childLanes&X)!==X&&(Y.childLanes|=X),z===G)break;z=z.return}z!==G&&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 _X(z,X,G,Y){var Z=z.child;Z!==null&&(Z.return=z);for(;Z!==null;){var $=Z.dependencies;if($!==null){var B=Z.child;$=$.firstContext;z:for(;$!==null;){var H=$;$=Z;for(var J=0;J<X.length;J++)if(H.context===X[J]){$.lanes|=G,H=$.alternate,H!==null&&(H.lanes|=G),OX($.return,G,z),Y||(B=null);break z}$=H.next}}else if(Z.tag===18){if(B=Z.return,B===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");B.lanes|=G,$=B.alternate,$!==null&&($.lanes|=G),OX(B,G,z),B=null}else B=Z.child;if(B!==null)B.return=Z;else for(B=Z;B!==null;){if(B===z){B=null;break}if(Z=B.sibling,Z!==null){Z.return=B.return,B=Z;break}B=B.return}Z=B}}function n6(z,X,G,Y){z=null;for(var Z=X,$=!1;Z!==null;){if(!$){if((Z.flags&524288)!==0)$=!0;else if((Z.flags&262144)!==0)break}if(Z.tag===10){var B=Z.alternate;if(B===null)throw Error("Should have a current fiber. This is a bug in React.");if(B=B.memoizedProps,B!==null){var H=Z.type;p0(Z.pendingProps.value,B.value)||(z!==null?z.push(H):z=[H])}}else if(Z===hz.current){if(B=Z.alternate,B===null)throw Error("Should have a current fiber. This is a bug in React.");B.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&(z!==null?z.push(P5):z=[P5])}Z=Z.return}z!==null&&_X(X,z,G,Y),X.flags|=262144}function s5(z){for(z=z.firstContext;z!==null;){if(!p0(z.context._currentValue,z.memoizedValue))return!0;z=z.next}return!1}function $6(z){X9=z,T4=null,z=z.dependencies,z!==null&&(z.firstContext=null)}function r1(z){return v4&&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()."),S$(X9,z)}function a5(z,X){return X9===null&&$6(z),S$(z,X)}function S$(z,X){var G=X._currentValue;if(X={context:X,memoizedValue:G,next:null},T4===null){if(z===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().");T4=X,z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},z.flags|=524288}else T4=T4.next=X;return G}function LX(){return{controller:new fK,data:new Map,refCount:0}}function B6(z){z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),z.refCount++}function B7(z){z.refCount--,0>z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),z.refCount===0&&hK(uK,function(){z.controller.abort()})}function G8(z,X,G){if((z&127)!==0)0>I8&&(I8=W0(),a7=G9(X),bY=X,G!=null&&(yY=y(G)),(S1&(F0|L2))!==x0&&(Z0=!0,x3=s7),z=C7(),X=v7(),z!==C4||X!==o7?C4=-1.1:X!==null&&(x3=s7),O6=z,o7=X);else if((z&4194048)!==0&&0>k2&&(k2=W0(),n7=G9(X),xQ=X,G!=null&&(SQ=y(G)),0>c8)){if(z=C7(),X=v7(),z!==j3||X!==_6)j3=-1.1;S3=z,_6=X}}function Bq(z){if(0>I8){I8=W0(),a7=z._debugTask!=null?z._debugTask:null,(S1&(F0|L2))!==x0&&(x3=s7);var X=C7(),G=v7();X!==C4||G!==o7?C4=-1.1:G!==null&&(x3=s7),O6=X,o7=G}if(0>k2&&(k2=W0(),n7=z._debugTask!=null?z._debugTask:null,0>c8)){if(z=C7(),X=v7(),z!==j3||X!==_6)j3=-1.1;S3=z,_6=X}}function k8(){var z=M6;return M6=0,z}function o5(z){var X=M6;return M6=z,X}function H7(z){var X=M6;return M6+=z,X}function n5(){G1=e=-1.1}function J2(){var z=e;return e=-1.1,z}function Q2(z){0<=z&&(e=z)}function Y8(){var z=z0;return z0=-0,z}function Z8(z){0<=z&&(z0=z)}function $8(){var z=t1;return t1=null,z}function B8(){var z=Z0;return Z0=!1,z}function AX(z){s0=W0(),0>z.actualStartTime&&(z.actualStartTime=s0)}function FX(z){if(0<=s0){var X=W0()-s0;z.actualDuration+=X,z.selfBaseDuration=X,s0=-1}}function j$(z){if(0<=s0){var X=W0()-s0;z.actualDuration+=X,s0=-1}}function H8(){if(0<=s0){var z=W0(),X=z-s0;s0=-1,M6+=X,z0+=X,G1=z}}function V$(z){t1===null&&(t1=[]),t1.push(z),l8===null&&(l8=[]),l8.push(z)}function J8(){s0=W0(),0>e&&(e=s0)}function J7(z){for(var X=z.child;X;)z.actualDuration+=X.actualDuration,X=X.sibling}function Hq(z,X){if(r7===null){var G=r7=[];fY=0,L6=jG(),x4={status:"pending",value:void 0,then:function(Y){G.push(Y)}}}return fY++,X.then(D$,D$),X}function D$(){if(--fY===0&&(-1<k2||(c8=-1.1),r7!==null)){x4!==null&&(x4.status="fulfilled");var z=r7;r7=null,L6=0,x4=null;for(var X=0;X<z.length;X++)(0,z[X])()}}function Jq(z,X){var G=[],Y={status:"pending",value:null,reason:null,then:function(Z){G.push(Z)}};return z.then(function(){Y.status="fulfilled",Y.value=X;for(var Z=0;Z<G.length;Z++)(0,G[Z])(X)},function(Z){Y.status="rejected",Y.reason=Z;for(Z=0;Z<G.length;Z++)(0,G[Z])(void 0)}),Y}function NX(){var z=A6.current;return z!==null?z:c1.pooledCache}function i5(z,X){X===null?U1(A6,A6.current,z):U1(A6,X.pool,z)}function k$(){var z=NX();return z===null?null:{parent:q0._currentValue,pool:z}}function g$(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function E$(z){return z=z.status,z==="fulfilled"||z==="rejected"}function b$(z,X,G){P.actQueue!==null&&(P.didUsePromise=!0);var Y=z.thenables;if(G=Y[G],G===void 0?Y.push(X):G!==X&&(z.didWarnAboutUncachedPromise||(z.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.")),X.then(S8,S8),X=G),X._debugInfo===void 0){z=performance.now(),Y=X.displayName;var Z={name:typeof Y==="string"?Y:"Promise",start:z,end:z,value:X};X._debugInfo=[{awaited:Z}],X.status!=="fulfilled"&&X.status!=="rejected"&&(z=function(){Z.end=performance.now()},X.then(z,z))}switch(X.status){case"fulfilled":return X.value;case"rejected":throw z=X.reason,m$(z),z;default:if(typeof X.status==="string")X.then(S8,S8);else{if(z=c1,z!==null&&100<z.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.");z=X,z.status="pending",z.then(function($){if(X.status==="pending"){var B=X;B.status="fulfilled",B.value=$}},function($){if(X.status==="pending"){var B=X;B.status="rejected",B.reason=$}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw z=X.reason,m$(z),z}throw N6=X,Z5=!0,S4}}function J3(z){try{return pK(z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw N6=X,Z5=!0,S4;throw X}}function y$(){if(N6===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var z=N6;return N6=null,Z5=!1,z}function m$(z){if(z===S4||z===R9)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 j0(z){var X=M1;return z!=null&&(M1=X===null?z:X.concat(z)),X}function IX(){var z=M1;if(z!=null){for(var X=z.length-1;0<=X;X--)if(z[X].name!=null){var G=z[X].debugTask;if(G!=null)return G}}return null}function r5(z,X,G){for(var Y=Object.keys(z.props),Z=0;Z<Y.length;Z++){var $=Y[Z];if($!=="children"&&$!=="key"){X===null&&(X=l5(z,G.mode,0),X._debugInfo=M1,X.return=G),c(X,function(B){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B)},$);break}}}function t5(z){var X=$5;return $5+=1,j4===null&&(j4=g$()),b$(j4,z,X)}function Q7(z,X){X=X.props.ref,z.ref=X!==void 0?X:null}function f$(z,X){if(X.$$typeof===PW)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw z=Object.prototype.toString.call(X),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}function e5(z,X){var G=IX();G!==null?G.run(f$.bind(null,z,X)):f$(z,X)}function h$(z,X){var G=y(z)||"Component";nQ[G]||(nQ[G]=!0,X=X.displayName||X.name||"Component",z.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.
|
|
97
|
+
root.render(%s)`,X,X,X):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.
|
|
98
|
+
<%s>{%s}</%s>`,X,X,G,X,G))}function zz(z,X){var G=IX();G!==null?G.run(h$.bind(null,z,X)):h$(z,X)}function u$(z,X){var G=y(z)||"Component";iQ[G]||(iQ[G]=!0,X=String(X),z.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,X):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,G,X,G))}function Xz(z,X){var G=IX();G!==null?G.run(u$.bind(null,z,X)):u$(z,X)}function d$(z){function X(U,W){if(z){var K=U.deletions;K===null?(U.deletions=[W],U.flags|=16):K.push(W)}}function G(U,W){if(!z)return null;for(;W!==null;)X(U,W),W=W.sibling;return null}function Y(U){for(var W=new Map;U!==null;)U.key!==null?W.set(U.key,U):W.set(U.index,U),U=U.sibling;return W}function Z(U,W){return U=j8(U,W),U.index=0,U.sibling=null,U}function $(U,W,K){if(U.index=K,!z)return U.flags|=1048576,W;if(K=U.alternate,K!==null)return K=K.index,K<W?(U.flags|=67108866,W):K;return U.flags|=67108866,W}function B(U){return z&&U.alternate===null&&(U.flags|=67108866),U}function H(U,W,K,v){if(W===null||W.tag!==6)return W=UX(K,U.mode,v),W.return=U,W._debugOwner=U,W._debugTask=U._debugTask,W._debugInfo=M1,W;return W=Z(W,K),W.return=U,W._debugInfo=M1,W}function J(U,W,K,v){var f=K.type;if(f===R4)return W=w(U,W,K.props.children,v,K.key),r5(K,W,U),W;if(W!==null&&(W.elementType===f||_$(W,K)||typeof f==="object"&&f!==null&&f.$$typeof===W2&&J3(f)===W.type))return W=Z(W,K.props),Q7(W,K),W.return=U,W._debugOwner=K._owner,W._debugInfo=M1,W;return W=l5(K,U.mode,v),Q7(W,K),W.return=U,W._debugInfo=M1,W}function Q(U,W,K,v){if(W===null||W.tag!==4||W.stateNode.containerInfo!==K.containerInfo||W.stateNode.implementation!==K.implementation)return W=qX(K,U.mode,v),W.return=U,W._debugInfo=M1,W;return W=Z(W,K.children||[]),W.return=U,W._debugInfo=M1,W}function w(U,W,K,v,f){if(W===null||W.tag!==7)return W=G6(K,U.mode,v,f),W.return=U,W._debugOwner=U,W._debugTask=U._debugTask,W._debugInfo=M1,W;return W=Z(W,K),W.return=U,W._debugInfo=M1,W}function M(U,W,K){if(typeof W==="string"&&W!==""||typeof W==="number"||typeof W==="bigint")return W=UX(""+W,U.mode,K),W.return=U,W._debugOwner=U,W._debugTask=U._debugTask,W._debugInfo=M1,W;if(typeof W==="object"&&W!==null){switch(W.$$typeof){case w8:return K=l5(W,U.mode,K),Q7(K,W),K.return=U,U=j0(W._debugInfo),K._debugInfo=M1,M1=U,K;case Q4:return W=qX(W,U.mode,K),W.return=U,W._debugInfo=M1,W;case W2:var v=j0(W._debugInfo);return W=J3(W),U=M(U,W,K),M1=v,U}if(L0(W)||$0(W))return K=G6(W,U.mode,K,null),K.return=U,K._debugOwner=U,K._debugTask=U._debugTask,U=j0(W._debugInfo),K._debugInfo=M1,M1=U,K;if(typeof W.then==="function")return v=j0(W._debugInfo),U=M(U,t5(W),K),M1=v,U;if(W.$$typeof===M8)return M(U,a5(U,W),K);e5(U,W)}return typeof W==="function"&&zz(U,W),typeof W==="symbol"&&Xz(U,W),null}function q(U,W,K,v){var f=W!==null?W.key:null;if(typeof K==="string"&&K!==""||typeof K==="number"||typeof K==="bigint")return f!==null?null:H(U,W,""+K,v);if(typeof K==="object"&&K!==null){switch(K.$$typeof){case w8:return K.key===f?(f=j0(K._debugInfo),U=J(U,W,K,v),M1=f,U):null;case Q4:return K.key===f?Q(U,W,K,v):null;case W2:return f=j0(K._debugInfo),K=J3(K),U=q(U,W,K,v),M1=f,U}if(L0(K)||$0(K)){if(f!==null)return null;return f=j0(K._debugInfo),U=w(U,W,K,v,null),M1=f,U}if(typeof K.then==="function")return f=j0(K._debugInfo),U=q(U,W,t5(K),v),M1=f,U;if(K.$$typeof===M8)return q(U,W,a5(U,K),v);e5(U,K)}return typeof K==="function"&&zz(U,K),typeof K==="symbol"&&Xz(U,K),null}function N(U,W,K,v,f){if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return U=U.get(K)||null,H(W,U,""+v,f);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case w8:return K=U.get(v.key===null?K:v.key)||null,U=j0(v._debugInfo),W=J(W,K,v,f),M1=U,W;case Q4:return U=U.get(v.key===null?K:v.key)||null,Q(W,U,v,f);case W2:var H1=j0(v._debugInfo);return v=J3(v),W=N(U,W,K,v,f),M1=H1,W}if(L0(v)||$0(v))return K=U.get(K)||null,U=j0(v._debugInfo),W=w(W,K,v,f,null),M1=U,W;if(typeof v.then==="function")return H1=j0(v._debugInfo),W=N(U,W,K,t5(v),f),M1=H1,W;if(v.$$typeof===M8)return N(U,W,K,a5(W,v),f);e5(W,v)}return typeof v==="function"&&zz(W,v),typeof v==="symbol"&&Xz(W,v),null}function b(U,W,K,v){if(typeof K!=="object"||K===null)return v;switch(K.$$typeof){case w8:case Q4:C(U,W,K);var f=K.key;if(typeof f!=="string")break;if(v===null){v=new Set,v.add(f);break}if(!v.has(f)){v.add(f);break}c(W,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.",f)});break;case W2:K=J3(K),b(U,W,K,v)}return v}function l(U,W,K,v){for(var f=null,H1=null,i=null,n=W,q1=W=0,i1=null;n!==null&&q1<K.length;q1++){n.index>q1?(i1=n,n=null):i1=n.sibling;var R0=q(U,n,K[q1],v);if(R0===null){n===null&&(n=i1);break}f=b(U,R0,K[q1],f),z&&n&&R0.alternate===null&&X(U,n),W=$(R0,W,q1),i===null?H1=R0:i.sibling=R0,i=R0,n=i1}if(q1===K.length)return G(U,n),I1&&V8(U,q1),H1;if(n===null){for(;q1<K.length;q1++)n=M(U,K[q1],v),n!==null&&(f=b(U,n,K[q1],f),W=$(n,W,q1),i===null?H1=n:i.sibling=n,i=n);return I1&&V8(U,q1),H1}for(n=Y(n);q1<K.length;q1++)i1=N(n,U,q1,K[q1],v),i1!==null&&(f=b(U,i1,K[q1],f),z&&i1.alternate!==null&&n.delete(i1.key===null?q1:i1.key),W=$(i1,W,q1),i===null?H1=i1:i.sibling=i1,i=i1);return z&&n.forEach(function(e8){return X(U,e8)}),I1&&V8(U,q1),H1}function a1(U,W,K,v){if(K==null)throw Error("An iterable object provided no iterator.");for(var f=null,H1=null,i=W,n=W=0,q1=null,i1=null,R0=K.next();i!==null&&!R0.done;n++,R0=K.next()){i.index>n?(q1=i,i=null):q1=i.sibling;var e8=q(U,i,R0.value,v);if(e8===null){i===null&&(i=q1);break}i1=b(U,e8,R0.value,i1),z&&i&&e8.alternate===null&&X(U,i),W=$(e8,W,n),H1===null?f=e8:H1.sibling=e8,H1=e8,i=q1}if(R0.done)return G(U,i),I1&&V8(U,n),f;if(i===null){for(;!R0.done;n++,R0=K.next())i=M(U,R0.value,v),i!==null&&(i1=b(U,i,R0.value,i1),W=$(i,W,n),H1===null?f=i:H1.sibling=i,H1=i);return I1&&V8(U,n),f}for(i=Y(i);!R0.done;n++,R0=K.next())q1=N(i,U,n,R0.value,v),q1!==null&&(i1=b(U,q1,R0.value,i1),z&&q1.alternate!==null&&i.delete(q1.key===null?n:q1.key),W=$(q1,W,n),H1===null?f=q1:H1.sibling=q1,H1=q1);return z&&i.forEach(function(ww){return X(U,ww)}),I1&&V8(U,n),f}function T1(U,W,K,v){if(typeof K==="object"&&K!==null&&K.type===R4&&K.key===null&&(r5(K,null,U),K=K.props.children),typeof K==="object"&&K!==null){switch(K.$$typeof){case w8:var f=j0(K._debugInfo);z:{for(var H1=K.key;W!==null;){if(W.key===H1){if(H1=K.type,H1===R4){if(W.tag===7){G(U,W.sibling),v=Z(W,K.props.children),v.return=U,v._debugOwner=K._owner,v._debugInfo=M1,r5(K,v,U),U=v;break z}}else if(W.elementType===H1||_$(W,K)||typeof H1==="object"&&H1!==null&&H1.$$typeof===W2&&J3(H1)===W.type){G(U,W.sibling),v=Z(W,K.props),Q7(v,K),v.return=U,v._debugOwner=K._owner,v._debugInfo=M1,U=v;break z}G(U,W);break}else X(U,W);W=W.sibling}K.type===R4?(v=G6(K.props.children,U.mode,v,K.key),v.return=U,v._debugOwner=U,v._debugTask=U._debugTask,v._debugInfo=M1,r5(K,v,U),U=v):(v=l5(K,U.mode,v),Q7(v,K),v.return=U,v._debugInfo=M1,U=v)}return U=B(U),M1=f,U;case Q4:z:{f=K;for(K=f.key;W!==null;){if(W.key===K)if(W.tag===4&&W.stateNode.containerInfo===f.containerInfo&&W.stateNode.implementation===f.implementation){G(U,W.sibling),v=Z(W,f.children||[]),v.return=U,U=v;break z}else{G(U,W);break}else X(U,W);W=W.sibling}v=qX(f,U.mode,v),v.return=U,U=v}return B(U);case W2:return f=j0(K._debugInfo),K=J3(K),U=T1(U,W,K,v),M1=f,U}if(L0(K))return f=j0(K._debugInfo),U=l(U,W,K,v),M1=f,U;if($0(K)){if(f=j0(K._debugInfo),H1=$0(K),typeof H1!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var i=H1.call(K);if(i===K){if(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(i)!=="[object Generator]")aQ||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."),aQ=!0}else K.entries!==H1||lY||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),lY=!0);return U=a1(U,W,i,v),M1=f,U}if(typeof K.then==="function")return f=j0(K._debugInfo),U=T1(U,W,t5(K),v),M1=f,U;if(K.$$typeof===M8)return T1(U,W,a5(U,K),v);e5(U,K)}if(typeof K==="string"&&K!==""||typeof K==="number"||typeof K==="bigint")return f=""+K,W!==null&&W.tag===6?(G(U,W.sibling),v=Z(W,f),v.return=U,U=v):(G(U,W),v=UX(f,U.mode,v),v.return=U,v._debugOwner=U,v._debugTask=U._debugTask,v._debugInfo=M1,U=v),B(U);return typeof K==="function"&&zz(U,K),typeof K==="symbol"&&Xz(U,K),G(U,W)}return function(U,W,K,v){var f=M1;M1=null;try{$5=0;var H1=T1(U,W,K,v);return j4=null,H1}catch(i1){if(i1===S4||i1===R9)throw i1;var i=S(29,i1,null,U.mode);i.lanes=v,i.return=U;var n=i._debugInfo=M1;if(i._debugOwner=U._debugOwner,i._debugTask=U._debugTask,n!=null){for(var q1=n.length-1;0<=q1;q1--)if(typeof n[q1].stack==="string"){i._debugOwner=n[q1],i._debugTask=n[q1].debugTask;break}}return i}finally{M1=f}}}function l$(z,X){var G=L0(z);return z=!G&&typeof $0(z)==="function",G||z?(G=G?"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>",G,X,G),!1):!0}function PX(z){z.updateQueue={baseState:z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function TX(z,X){z=z.updateQueue,X.updateQueue===z&&(X.updateQueue={baseState:z.baseState,firstBaseUpdate:z.firstBaseUpdate,lastBaseUpdate:z.lastBaseUpdate,shared:z.shared,callbacks:null})}function Q3(z){return{lane:z,tag:tQ,payload:null,callback:null,next:null}}function R3(z,X,G){var Y=z.updateQueue;if(Y===null)return null;if(Y=Y.shared,pY===Y&&!XR){var Z=y(z);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.
|
|
101
|
+
|
|
102
|
+
Please update the following component: %s`,Z),XR=!0}if((S1&F0)!==x0)return Z=Y.pending,Z===null?X.next=X:(X.next=Z.next,Z.next=X),Y.pending=X,X=d5(z),O$(z,null,G),X;return u5(z,Y,X,G),d5(z)}function R7(z,X,G){if(X=X.updateQueue,X!==null&&(X=X.shared,(G&4194048)!==0)){var Y=X.lanes;Y&=z.pendingLanes,G|=Y,X.lanes=G,n3(z,G)}}function Gz(z,X){var{updateQueue:G,alternate:Y}=z;if(Y!==null&&(Y=Y.updateQueue,G===Y)){var Z=null,$=null;if(G=G.firstBaseUpdate,G!==null){do{var B={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};$===null?Z=$=B:$=$.next=B,G=G.next}while(G!==null);$===null?Z=$=X:$=$.next=X}else Z=$=X;G={baseState:Y.baseState,firstBaseUpdate:Z,lastBaseUpdate:$,shared:Y.shared,callbacks:Y.callbacks},z.updateQueue=G;return}z=G.lastBaseUpdate,z===null?G.firstBaseUpdate=X:z.next=X,G.lastBaseUpdate=X}function U7(){if(sY){var z=x4;if(z!==null)throw z}}function q7(z,X,G,Y){sY=!1;var Z=z.updateQueue;V3=!1,pY=Z.shared;var{firstBaseUpdate:$,lastBaseUpdate:B}=Z,H=Z.shared.pending;if(H!==null){Z.shared.pending=null;var J=H,Q=J.next;J.next=null,B===null?$=Q:B.next=Q,B=J;var w=z.alternate;w!==null&&(w=w.updateQueue,H=w.lastBaseUpdate,H!==B&&(H===null?w.firstBaseUpdate=Q:H.next=Q,w.lastBaseUpdate=J))}if($!==null){var M=Z.baseState;B=0,w=Q=J=null,H=$;do{var q=H.lane&-536870913,N=q!==H.lane;if(N?(O1&q)===q:(Y&q)===q){q!==0&&q===L6&&(sY=!0),w!==null&&(w=w.next={lane:0,tag:H.tag,payload:H.payload,callback:null,next:null});z:{q=z;var b=H,l=X,a1=G;switch(b.tag){case eQ:if(b=b.payload,typeof b==="function"){v4=!0;var T1=b.call(a1,M,l);if(q.mode&h0){p1(!0);try{b.call(a1,M,l)}finally{p1(!1)}}v4=!1,M=T1;break z}M=b;break z;case cY:q.flags=q.flags&-65537|128;case tQ:if(T1=b.payload,typeof T1==="function"){if(v4=!0,b=T1.call(a1,M,l),q.mode&h0){p1(!0);try{T1.call(a1,M,l)}finally{p1(!1)}}v4=!1}else b=T1;if(b===null||b===void 0)break z;M=A1({},M,b);break z;case zR:V3=!0}}q=H.callback,q!==null&&(z.flags|=64,N&&(z.flags|=8192),N=Z.callbacks,N===null?Z.callbacks=[q]:N.push(q))}else N={lane:q,tag:H.tag,payload:H.payload,callback:H.callback,next:null},w===null?(Q=w=N,J=M):w=w.next=N,B|=q;if(H=H.next,H===null)if(H=Z.shared.pending,H===null)break;else N=H,H=N.next,N.next=null,Z.lastBaseUpdate=N,Z.shared.pending=null}while(1);w===null&&(J=M),Z.baseState=J,Z.firstBaseUpdate=Q,Z.lastBaseUpdate=w,$===null&&(Z.shared.lanes=0),g3|=B,z.lanes=B,z.memoizedState=M}pY=null}function c$(z,X){if(typeof z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+z);z.call(X)}function Qq(z,X){var G=z.shared.hiddenCallbacks;if(G!==null)for(z.shared.hiddenCallbacks=null,z=0;z<G.length;z++)c$(G[z],X)}function p$(z,X){var G=z.callbacks;if(G!==null)for(z.callbacks=null,z=0;z<G.length;z++)c$(G[z],X)}function s$(z,X){var G=v8;U1(q9,G,z),U1(V4,X,z),v8=G|X.baseLanes}function vX(z){U1(q9,v8,z),U1(V4,V4.current,z)}function CX(z){v8=q9.current,C1(V4,z),C1(q9,z)}function U3(z){var X=z.alternate;U1(Q0,Q0.current&D4,z),U1(O2,z,z),g2===null&&(X===null||V4.current!==null?g2=z:X.memoizedState!==null&&(g2=z))}function xX(z){U1(Q0,Q0.current,z),U1(O2,z,z),g2===null&&(g2=z)}function a$(z){z.tag===22?(U1(Q0,Q0.current,z),U1(O2,z,z),g2===null&&(g2=z)):q3(z)}function q3(z){U1(Q0,Q0.current,z),U1(O2,O2.current,z)}function R2(z){C1(O2,z),g2===z&&(g2=null),C1(Q0,z)}function Yz(z){for(var X=z;X!==null;){if(X.tag===13){var G=X.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||uG(G)||dG(G)))return X}else if(X.tag===19&&(X.memoizedProps.revealOrder==="forwards"||X.memoizedProps.revealOrder==="backwards"||X.memoizedProps.revealOrder==="unstable_legacy-backwards"||X.memoizedProps.revealOrder==="together")){if((X.flags&128)!==0)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===z)break;for(;X.sibling===null;){if(X.return===null||X.return===z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}function L1(){var z=I;b2===null?b2=[z]:b2.push(z)}function D(){var z=I;if(b2!==null&&(o8++,b2[o8]!==z)){var X=y(B1);if(!GR.has(X)&&(GR.add(X),b2!==null)){for(var G="",Y=0;Y<=o8;Y++){var Z=b2[Y],$=Y===o8?z:Z;for(Z=Y+1+". "+Z;30>Z.length;)Z+=" ";Z+=$+`
|
|
103
|
+
`,G+=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
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,X,G)}}}function i6(z){z===void 0||z===null||L0(z)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",I,typeof z)}function Zz(){var z=y(B1);ZR.has(z)||(ZR.add(z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",z))}function B0(){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:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function SX(z,X){if(J5)return!1;if(X===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.",I),!1;z.length!==X.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,I,"["+X.join(", ")+"]","["+z.join(", ")+"]");for(var G=0;G<X.length&&G<z.length;G++)if(!p0(z[G],X[G]))return!1;return!0}function jX(z,X,G,Y,Z,$){if(s8=$,B1=X,b2=z!==null?z._debugHookTypes:null,o8=-1,J5=z!==null&&z.type!==X.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")$=y(B1),aY.has($)||(aY.add($),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.",$===null?"An unknown Component":"<"+$+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,P.H=z!==null&&z.memoizedState!==null?nY:b2!==null?$R:oY,P6=$=(X.mode&h0)!==Z1;var B=hY(G,Y,Z);if(P6=!1,g4&&(B=VX(X,G,Y,Z)),$){p1(!0);try{B=VX(X,G,Y,Z)}finally{p1(!1)}}return o$(z,X),B}function o$(z,X){X._debugHookTypes=b2,X.dependencies===null?a8!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:a8}):X.dependencies._debugThenableState=a8,P.H=Q5;var G=l1!==null&&l1.next!==null;if(s8=0,b2=I=K0=l1=B1=null,o8=-1,z!==null&&(z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),K9=!1,H5=0,a8=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");z===null||w0||(z=z.dependencies,z!==null&&s5(z)&&(w0=!0)),Z5?(Z5=!1,z=!0):z=!1,z&&(X=y(X)||"Unknown",YR.has(X)||aY.has(X)||(YR.add(X),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 VX(z,X,G,Y){B1=z;var Z=0;do{if(g4&&(a8=null),H5=0,g4=!1,Z>=aK)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Z+=1,J5=!1,K0=l1=null,z.updateQueue!=null){var $=z.updateQueue;$.lastEffect=null,$.events=null,$.stores=null,$.memoCache!=null&&($.memoCache.index=0)}o8=-1,P.H=BR,$=hY(X,G,Y)}while(g4);return $}function Rq(){var z=P.H,X=z.useState()[0];return X=typeof X.then==="function"?W7(X):X,z=z.useState()[0],(l1!==null?l1.memoizedState:null)!==z&&(B1.flags|=1024),X}function DX(){var z=w9!==0;return w9=0,z}function kX(z,X,G){X.updateQueue=z.updateQueue,X.flags=(X.mode&p2)!==Z1?X.flags&-402655237:X.flags&-2053,z.lanes&=~G}function gX(z){if(K9){for(z=z.memoizedState;z!==null;){var X=z.queue;X!==null&&(X.pending=null),z=z.next}K9=!1}s8=0,b2=K0=l1=B1=null,o8=-1,I=null,g4=!1,H5=w9=0,a8=null}function u0(){var z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return K0===null?B1.memoizedState=K0=z:K0=K0.next=z,K0}function m1(){if(l1===null){var z=B1.alternate;z=z!==null?z.memoizedState:null}else z=l1.next;var X=K0===null?B1.memoizedState:K0.next;if(X!==null)K0=X,l1=z;else{if(z===null){if(B1.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.")}l1=z,z={memoizedState:l1.memoizedState,baseState:l1.baseState,baseQueue:l1.baseQueue,queue:l1.queue,next:null},K0===null?B1.memoizedState=K0=z:K0=K0.next=z}return K0}function $z(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function W7(z){var X=H5;return H5+=1,a8===null&&(a8=g$()),z=b$(a8,z,X),X=B1,(K0===null?X.memoizedState:K0.next)===null&&(X=X.alternate,P.H=X!==null&&X.memoizedState!==null?nY:oY),z}function W3(z){if(z!==null&&typeof z==="object"){if(typeof z.then==="function")return W7(z);if(z.$$typeof===M8)return r1(z)}throw Error("An unsupported type was passed to use(): "+String(z))}function H6(z){var X=null,G=B1.updateQueue;if(G!==null&&(X=G.memoCache),X==null){var Y=B1.alternate;Y!==null&&(Y=Y.updateQueue,Y!==null&&(Y=Y.memoCache,Y!=null&&(X={data:Y.data.map(function(Z){return Z.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),G===null&&(G=$z(),B1.updateQueue=G),G.memoCache=X,G=X.data[X.index],G===void 0||J5)for(G=X.data[X.index]=Array(z),Y=0;Y<z;Y++)G[Y]=TW;else G.length!==z&&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.",G.length,z);return X.index++,G}function u2(z,X){return typeof X==="function"?X(z):X}function EX(z,X,G){var Y=u0();if(G!==void 0){var Z=G(X);if(P6){p1(!0);try{G(X)}finally{p1(!1)}}}else Z=X;return Y.memoizedState=Y.baseState=Z,z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:z,lastRenderedState:Z},Y.queue=z,z=z.dispatch=wq.bind(null,B1,z),[Y.memoizedState,z]}function r6(z){var X=m1();return bX(X,l1,z)}function bX(z,X,G){var Y=z.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=G;var Z=z.baseQueue,$=Y.pending;if($!==null){if(Z!==null){var B=Z.next;Z.next=$.next,$.next=B}X.baseQueue!==Z&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=Z=$,Y.pending=null}if($=z.baseState,Z===null)z.memoizedState=$;else{X=Z.next;var H=B=null,J=null,Q=X,w=!1;do{var M=Q.lane&-536870913;if(M!==Q.lane?(O1&M)===M:(s8&M)===M){var q=Q.revertLane;if(q===0)J!==null&&(J=J.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),M===L6&&(w=!0);else if((s8&q)===q){Q=Q.next,q===L6&&(w=!0);continue}else M={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},J===null?(H=J=M,B=$):J=J.next=M,B1.lanes|=q,g3|=q;M=Q.action,P6&&G($,M),$=Q.hasEagerState?Q.eagerState:G($,M)}else q={lane:M,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},J===null?(H=J=q,B=$):J=J.next=q,B1.lanes|=M,g3|=M;Q=Q.next}while(Q!==null&&Q!==X);if(J===null?B=$:J.next=H,!p0($,z.memoizedState)&&(w0=!0,w&&(G=x4,G!==null)))throw G;z.memoizedState=$,z.baseState=B,z.baseQueue=J,Y.lastRenderedState=$}return Z===null&&(Y.lanes=0),[z.memoizedState,Y.dispatch]}function K7(z){var X=m1(),G=X.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=z;var{dispatch:Y,pending:Z}=G,$=X.memoizedState;if(Z!==null){G.pending=null;var B=Z=Z.next;do $=z($,B.action),B=B.next;while(B!==Z);p0($,X.memoizedState)||(w0=!0),X.memoizedState=$,X.baseQueue===null&&(X.baseState=$),G.lastRenderedState=$}return[$,Y]}function yX(z,X,G){var Y=B1,Z=u0();if(I1){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var $=G();k4||$===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),k4=!0)}else{if($=X(),k4||(G=X(),p0($,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),k4=!0)),c1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(O1&127)!==0||n$(Y,X,$)}return Z.memoizedState=$,G={value:$,getSnapshot:X},Z.queue=G,Qz(r$.bind(null,Y,G,z),[z]),Y.flags|=2048,e6(E2|o0,{destroy:void 0},i$.bind(null,Y,G,$,X),null),$}function Bz(z,X,G){var Y=B1,Z=m1(),$=I1;if($){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=X(),!k4){var B=X();p0(G,B)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),k4=!0)}if(B=!p0((l1||Z).memoizedState,G))Z.memoizedState=G,w0=!0;Z=Z.queue;var H=r$.bind(null,Y,Z,z);if(r0(2048,o0,H,[z]),Z.getSnapshot!==X||B||K0!==null&&K0.memoizedState.tag&E2){if(Y.flags|=2048,e6(E2|o0,{destroy:void 0},i$.bind(null,Y,Z,G,X),null),c1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");$||(s8&127)!==0||n$(Y,X,G)}return G}function n$(z,X,G){z.flags|=16384,z={getSnapshot:X,value:G},X=B1.updateQueue,X===null?(X=$z(),B1.updateQueue=X,X.stores=[z]):(G=X.stores,G===null?X.stores=[z]:G.push(z))}function i$(z,X,G,Y){X.value=G,X.getSnapshot=Y,t$(X)&&e$(z)}function r$(z,X,G){return G(function(){t$(X)&&(G8(2,"updateSyncExternalStore()",z),e$(z))})}function t$(z){var X=z.getSnapshot;z=z.value;try{var G=X();return!p0(z,G)}catch(Y){return!0}}function e$(z){var X=m0(z,2);X!==null&&Y0(X,z,2)}function mX(z){var X=u0();if(typeof z==="function"){var G=z;if(z=G(),P6){p1(!0);try{G()}finally{p1(!1)}}}return X.memoizedState=X.baseState=z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u2,lastRenderedState:z},X}function fX(z){z=mX(z);var X=z.queue,G=_B.bind(null,B1,X);return X.dispatch=G,[z.memoizedState,G]}function hX(z){var X=u0();X.memoizedState=X.baseState=z;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=G,X=zG.bind(null,B1,!0,G),G.dispatch=X,[z,X]}function zB(z,X){var G=m1();return XB(G,l1,z,X)}function XB(z,X,G,Y){return z.baseState=G,bX(z,l1,typeof Y==="function"?Y:u2)}function GB(z,X){var G=m1();if(l1!==null)return XB(G,l1,z,X);return G.baseState=z,[z,G.queue.dispatch]}function Uq(z,X,G,Y,Z){if(wz(z))throw Error("Cannot update form state while rendering.");if(z=X.action,z!==null){var $={payload:Z,action:z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){$.listeners.push(B)}};P.T!==null?G(!0):$.isTransition=!1,Y($),G=X.pending,G===null?($.next=X.pending=$,YB(X,$)):($.next=G.next,X.pending=G.next=$)}}function YB(z,X){var{action:G,payload:Y}=X,Z=z.state;if(X.isTransition){var $=P.T,B={};B._updatedFibers=new Set,P.T=B;try{var H=G(Z,Y),J=P.S;J!==null&&J(B,H),ZB(z,X,H)}catch(Q){uX(z,X,Q)}finally{$!==null&&B.types!==null&&($.types!==null&&$.types!==B.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),$.types=B.types),P.T=$,$===null&&B._updatedFibers&&(z=B._updatedFibers.size,B._updatedFibers.clear(),10<z&&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{B=G(Z,Y),ZB(z,X,B)}catch(Q){uX(z,X,Q)}}function ZB(z,X,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(P.asyncTransitions++,G.then(Kz,Kz),G.then(function(Y){$B(z,X,Y)},function(Y){return uX(z,X,Y)}),X.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.")):$B(z,X,G)}function $B(z,X,G){X.status="fulfilled",X.value=G,BB(X),z.state=G,X=z.pending,X!==null&&(G=X.next,G===X?z.pending=null:(G=G.next,X.next=G,YB(z,G)))}function uX(z,X,G){var Y=z.pending;if(z.pending=null,Y!==null){Y=Y.next;do X.status="rejected",X.reason=G,BB(X),X=X.next;while(X!==Y)}z.action=null}function BB(z){z=z.listeners;for(var X=0;X<z.length;X++)(0,z[X])()}function HB(z,X){return X}function t6(z,X){if(I1){var G=c1.formState;if(G!==null){z:{var Y=B1;if(I1){if(n1){X:{var Z=n1;for(var $=D2;Z.nodeType!==8;){if(!$){Z=null;break X}if(Z=q2(Z.nextSibling),Z===null){Z=null;break X}}$=Z.data,Z=$===_Z||$===pR?Z:null}if(Z){n1=q2(Z.nextSibling),Y=Z.data===_Z;break z}}B3(Y)}Y=!1}Y&&(X=G[0])}}return G=u0(),G.memoizedState=G.baseState=X,Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:HB,lastRenderedState:X},G.queue=Y,G=_B.bind(null,B1,Y),Y.dispatch=G,Y=mX(!1),$=zG.bind(null,B1,!1,Y.queue),Y=u0(),Z={state:X,dispatch:null,action:z,pending:null},Y.queue=Z,G=Uq.bind(null,B1,Z,$,G),Z.dispatch=G,Y.memoizedState=z,[X,G,!1]}function Hz(z){var X=m1();return JB(X,l1,z)}function JB(z,X,G){if(X=bX(z,X,HB)[0],z=r6(u2)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var Y=W7(X)}catch(B){if(B===S4)throw R9;throw B}else Y=X;X=m1();var Z=X.queue,$=Z.dispatch;return G!==X.memoizedState&&(B1.flags|=2048,e6(E2|o0,{destroy:void 0},qq.bind(null,Z,G),null)),[Y,$,z]}function qq(z,X){z.action=X}function Jz(z){var X=m1(),G=l1;if(G!==null)return JB(X,G,z);m1(),X=X.memoizedState,G=m1();var Y=G.queue.dispatch;return G.memoizedState=z,[X,Y,!1]}function e6(z,X,G,Y){return z={tag:z,create:G,deps:Y,inst:X,next:null},X=B1.updateQueue,X===null&&(X=$z(),B1.updateQueue=X),G=X.lastEffect,G===null?X.lastEffect=z.next=z:(Y=G.next,G.next=z,z.next=Y,X.lastEffect=z),z}function dX(z){var X=u0();return z={current:z},X.memoizedState=z}function J6(z,X,G,Y){var Z=u0();B1.flags|=z,Z.memoizedState=e6(E2|X,{destroy:void 0},G,Y===void 0?null:Y)}function r0(z,X,G,Y){var Z=m1();Y=Y===void 0?null:Y;var $=Z.memoizedState.inst;l1!==null&&Y!==null&&SX(Y,l1.memoizedState.deps)?Z.memoizedState=e6(X,$,G,Y):(B1.flags|=z,Z.memoizedState=e6(E2|X,$,G,Y))}function Qz(z,X){(B1.mode&p2)!==Z1?J6(276826112,o0,z,X):J6(8390656,o0,z,X)}function Wq(z){B1.flags|=4;var X=B1.updateQueue;if(X===null)X=$z(),B1.updateQueue=X,X.events=[z];else{var G=X.events;G===null?X.events=[z]:G.push(z)}}function lX(z){var X=u0(),G={impl:z};return X.memoizedState=G,function(){if((S1&F0)!==x0)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function Rz(z){var X=m1().memoizedState;return Wq({ref:X,nextImpl:z}),function(){if((S1&F0)!==x0)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function cX(z,X){var G=4194308;return(B1.mode&p2)!==Z1&&(G|=134217728),J6(G,_2,z,X)}function QB(z,X){if(typeof X==="function"){z=z();var G=X(z);return function(){typeof G==="function"?G():X(null)}}if(X!==null&&X!==void 0)return X.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(X).join(", ")+"}"),z=z(),X.current=z,function(){X.current=null}}function pX(z,X,G){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),G=G!==null&&G!==void 0?G.concat([z]):null;var Y=4194308;(B1.mode&p2)!==Z1&&(Y|=134217728),J6(Y,_2,QB.bind(null,X,z),G)}function Uz(z,X,G){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),G=G!==null&&G!==void 0?G.concat([z]):null,r0(4,_2,QB.bind(null,X,z),G)}function sX(z,X){return u0().memoizedState=[z,X===void 0?null:X],z}function qz(z,X){var G=m1();X=X===void 0?null:X;var Y=G.memoizedState;if(X!==null&&SX(X,Y[1]))return Y[0];return G.memoizedState=[z,X],z}function aX(z,X){var G=u0();X=X===void 0?null:X;var Y=z();if(P6){p1(!0);try{z()}finally{p1(!1)}}return G.memoizedState=[Y,X],Y}function Wz(z,X){var G=m1();X=X===void 0?null:X;var Y=G.memoizedState;if(X!==null&&SX(X,Y[1]))return Y[0];if(Y=z(),P6){p1(!0);try{z()}finally{p1(!1)}}return G.memoizedState=[Y,X],Y}function oX(z,X){var G=u0();return nX(G,z,X)}function RB(z,X){var G=m1();return qB(G,l1.memoizedState,z,X)}function UB(z,X){var G=m1();return l1===null?nX(G,z,X):qB(G,l1.memoizedState,z,X)}function nX(z,X,G){if(G===void 0||(s8&1073741824)!==0&&(O1&261930)===0)return z.memoizedState=X;return z.memoizedState=G,z=WH(),B1.lanes|=z,g3|=z,G}function qB(z,X,G,Y){if(p0(G,X))return G;if(V4.current!==null)return z=nX(z,G,Y),p0(z,X)||(w0=!0),z;if((s8&42)===0||(s8&1073741824)!==0&&(O1&261930)===0)return w0=!0,z.memoizedState=G;return z=WH(),B1.lanes|=z,g3|=z,X}function Kz(){P.asyncTransitions--}function WB(z,X,G,Y,Z){var $=k1.p;k1.p=$!==0&&$<c2?$:c2;var B=P.T,H={};H._updatedFibers=new Set,P.T=H,zG(z,!1,X,G);try{var J=Z(),Q=P.S;if(Q!==null&&Q(H,J),J!==null&&typeof J==="object"&&typeof J.then==="function"){P.asyncTransitions++,J.then(Kz,Kz);var w=Jq(J,Y);w7(z,X,w,U2(z))}else w7(z,X,Y,U2(z))}catch(M){w7(z,X,{then:function(){},status:"rejected",reason:M},U2(z))}finally{k1.p=$,B!==null&&H.types!==null&&(B.types!==null&&B.types!==H.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),B.types=H.types),P.T=B,B===null&&H._updatedFibers&&(z=H._updatedFibers.size,H._updatedFibers.clear(),10<z&&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 iX(z,X,G,Y){if(z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Z=KB(z).queue;Bq(z),WB(z,Z,X,E6,G===null?s:function(){return wB(z),G(Y)})}function KB(z){var X=z.memoizedState;if(X!==null)return X;X={memoizedState:E6,baseState:E6,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:u2,lastRenderedState:E6},next:null};var G={};return X.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:u2,lastRenderedState:G},next:null},z.memoizedState=X,z=z.alternate,z!==null&&(z.memoizedState=X),X}function wB(z){P.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=KB(z);X.next===null&&(X=z.alternate.memoizedState),w7(z,X.next.queue,{},U2(z))}function rX(){var z=mX(!1);return z=WB.bind(null,B1,z.queue,!0,!1),u0().memoizedState=z,[!1,z]}function MB(){var z=r6(u2)[0],X=m1().memoizedState;return[typeof z==="boolean"?z:W7(z),X]}function OB(){var z=K7(u2)[0],X=m1().memoizedState;return[typeof z==="boolean"?z:W7(z),X]}function Q6(){return r1(P5)}function tX(){var z=u0(),X=c1.identifierPrefix;if(I1){var G=u8,Y=h8;G=(Y&~(1<<32-d0(Y)-1)).toString(32)+G,X="_"+X+"R_"+G,G=w9++,0<G&&(X+="H"+G.toString(32)),X+="_"}else G=sK++,X="_"+X+"r_"+G.toString(32)+"_";return z.memoizedState=X}function eX(){return u0().memoizedState=Kq.bind(null,B1)}function Kq(z,X){for(var G=z.return;G!==null;){switch(G.tag){case 24:case 3:var Y=U2(G),Z=Q3(Y),$=R3(G,Z,Y);$!==null&&(G8(Y,"refresh()",z),Y0($,G,Y),R7($,G,Y)),z=LX(),X!==null&&X!==void 0&&$!==null&&console.error("The seed argument is not enabled outside experimental channels."),Z.payload={cache:z};return}G=G.return}}function wq(z,X,G){var Y=arguments;typeof Y[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()."),Y=U2(z);var Z={lane:Y,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};wz(z)?LB(X,Z):(Z=HX(z,X,Z,Y),Z!==null&&(G8(Y,"dispatch()",z),Y0(Z,z,Y),AB(Z,X,Y)))}function _B(z,X,G){var Y=arguments;typeof Y[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()."),Y=U2(z),w7(z,X,G,Y)&&G8(Y,"setState()",z)}function w7(z,X,G,Y){var Z={lane:Y,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(wz(z))LB(X,Z);else{var $=z.alternate;if(z.lanes===0&&($===null||$.lanes===0)&&($=X.lastRenderedReducer,$!==null)){var B=P.H;P.H=a2;try{var H=X.lastRenderedState,J=$(H,G);if(Z.hasEagerState=!0,Z.eagerState=J,p0(J,H))return u5(z,X,Z,0),c1===null&&h5(),!1}catch(Q){}finally{P.H=B}}if(G=HX(z,X,Z,Y),G!==null)return Y0(G,z,Y),AB(G,X,Y),!0}return!1}function zG(z,X,G,Y){if(P.T===null&&L6===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."),Y={lane:2,revertLane:jG(),gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null},wz(z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=HX(z,G,Y,2),X!==null&&(G8(2,"setOptimistic()",z),Y0(X,z,2))}function wz(z){var X=z.alternate;return z===B1||X!==null&&X===B1}function LB(z,X){g4=K9=!0;var G=z.pending;G===null?X.next=X:(X.next=G.next,G.next=X),z.pending=X}function AB(z,X,G){if((G&4194048)!==0){var Y=X.lanes;Y&=z.pendingLanes,G|=Y,X.lanes=G,n3(z,G)}}function XG(z){if(z!==null&&typeof z!=="function"){var X=String(z);OR.has(X)||(OR.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z))}}function GG(z,X,G,Y){var Z=z.memoizedState,$=G(Y,Z);if(z.mode&h0){p1(!0);try{$=G(Y,Z)}finally{p1(!1)}}$===void 0&&(X=h(X)||"Component",WR.has(X)||(WR.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),Z=$===null||$===void 0?Z:A1({},Z,$),z.memoizedState=Z,z.lanes===0&&(z.updateQueue.baseState=Z)}function FB(z,X,G,Y,Z,$,B){var H=z.stateNode;if(typeof H.shouldComponentUpdate==="function"){if(G=H.shouldComponentUpdate(Y,$,B),z.mode&h0){p1(!0);try{G=H.shouldComponentUpdate(Y,$,B)}finally{p1(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",h(X)||"Component"),G}return X.prototype&&X.prototype.isPureReactComponent?!Y7(G,Y)||!Y7(Z,$):!0}function NB(z,X,G,Y){var Z=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(G,Y),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(G,Y),X.state!==Z&&(z=y(z)||"Component",JR.has(z)||(JR.add(z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",z)),iY.enqueueReplaceState(X,X.state,null))}function R6(z,X){var G=X;if("ref"in X){G={};for(var Y in X)Y!=="ref"&&(G[Y]=X[Y])}if(z=z.defaultProps){G===X&&(G=A1({},G));for(var Z in z)G[Z]===void 0&&(G[Z]=z[Z])}return G}function IB(z){CY(z),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,E4?"An error occurred in the <"+E4+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function PB(z){var X=E4?"The above error occurred in the <"+E4+"> component.":"The above error occurred in one of your React components.",G="React will try to recreate this component tree from scratch using the error boundary you provided, "+((rY||"Anonymous")+".");if(typeof z==="object"&&z!==null&&typeof z.environmentName==="string"){var Y=z.environmentName;z=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,z,X,G].slice(0),typeof z[0]==="string"?z.splice(0,1,eR+" "+z[0],zU,h9+Y+h9,XU):z.splice(0,0,eR,zU,h9+Y+h9,XU),z.unshift(console),Y=Ww.apply(console.error,z),Y()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,z,X,G)}function TB(z){CY(z)}function Mz(z,X){try{E4=X.source?y(X.source):null,rY=null;var G=X.value;if(P.actQueue!==null)P.thrownErrors.push(G);else{var Y=z.onUncaughtError;Y(G,{componentStack:X.stack})}}catch(Z){setTimeout(function(){throw Z})}}function vB(z,X,G){try{E4=G.source?y(G.source):null,rY=y(X);var Y=z.onCaughtError;Y(G.value,{componentStack:G.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function YG(z,X,G){return G=Q3(G),G.tag=cY,G.payload={element:null},G.callback=function(){c(X.source,Mz,z,X)},G}function ZG(z){return z=Q3(z),z.tag=cY,z}function $G(z,X,G,Y){var Z=G.type.getDerivedStateFromError;if(typeof Z==="function"){var $=Y.value;z.payload=function(){return Z($)},z.callback=function(){L$(G),c(Y.source,vB,X,G,Y)}}var B=G.stateNode;B!==null&&typeof B.componentDidCatch==="function"&&(z.callback=function(){L$(G),c(Y.source,vB,X,G,Y),typeof Z!=="function"&&(b3===null?b3=new Set([this]):b3.add(this)),dK(this,Y),typeof Z==="function"||(G.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.",y(G)||"Unknown")})}function Mq(z,X,G,Y,Z){if(G.flags|=32768,L8&&I7(z,Z),Y!==null&&typeof Y==="object"&&typeof Y.then==="function"){if(X=G.alternate,X!==null&&n6(X,G,Z,!0),I1&&(N8=!0),G=O2.current,G!==null){switch(G.tag){case 31:case 13:return g2===null?Tz():G.alternate===null&&X0===i8&&(X0=_9),G.flags&=-257,G.flags|=65536,G.lanes=Z,Y===U9?G.flags|=16384:(X=G.updateQueue,X===null?G.updateQueue=new Set([Y]):X.add(Y),vG(z,Y,Z)),!1;case 22:return G.flags|=65536,Y===U9?G.flags|=16384:(X=G.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([Y])},G.updateQueue=X):(G=X.retryQueue,G===null?X.retryQueue=new Set([Y]):G.add(Y)),vG(z,Y,Z)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return vG(z,Y,Z),Tz(),!1}if(I1)return N8=!0,X=O2.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=Z,Y!==kY&&$7(H2(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:Y}),G))):(Y!==kY&&$7(H2(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:Y}),G)),z=z.current.alternate,z.flags|=65536,Z&=-Z,z.lanes|=Z,Y=H2(Y,G),Z=YG(z.stateNode,Y,Z),Gz(z,Z),X0!==D3&&(X0=T6)),!1;var $=H2(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:Y}),G);if(w5===null?w5=[$]:w5.push($),X0!==D3&&(X0=T6),X===null)return!0;Y=H2(Y,G),G=X;do{switch(G.tag){case 3:return G.flags|=65536,z=Z&-Z,G.lanes|=z,z=YG(G.stateNode,Y,z),Gz(G,z),!1;case 1:if(X=G.type,$=G.stateNode,(G.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||$!==null&&typeof $.componentDidCatch==="function"&&(b3===null||!b3.has($))))return G.flags|=65536,Z&=-Z,G.lanes|=Z,Z=ZG(Z),$G(Z,z,G,Y),Gz(G,Z),!1}G=G.return}while(G!==null);return!1}function V0(z,X,G,Y){X.child=z===null?rQ(X,null,G,Y):I6(X,z.child,G,Y)}function CB(z,X,G,Y,Z){G=G.render;var $=X.ref;if("ref"in Y){var B={};for(var H in Y)H!=="ref"&&(B[H]=Y[H])}else B=Y;if($6(X),Y=jX(z,X,G,B,$,Z),H=DX(),z!==null&&!w0)return kX(z,X,Z),g8(z,X,Z);return I1&&H&&WX(X),X.flags|=1,V0(z,X,Y,Z),X.child}function xB(z,X,G,Y,Z){if(z===null){var $=G.type;if(typeof $==="function"&&!QX($)&&$.defaultProps===void 0&&G.compare===null)return G=X6($),X.tag=15,X.type=G,HG(X,$),SB(z,X,G,Y,Z);return z=RX(G.type,null,Y,X,X.mode,Z),z.ref=X.ref,z.return=X,X.child=z}if($=z.child,!WG(z,Z)){var B=$.memoizedProps;if(G=G.compare,G=G!==null?G:Y7,G(B,Y)&&z.ref===X.ref)return g8(z,X,Z)}return X.flags|=1,z=j8($,Y),z.ref=X.ref,z.return=X,X.child=z}function SB(z,X,G,Y,Z){if(z!==null){var $=z.memoizedProps;if(Y7($,Y)&&z.ref===X.ref&&X.type===z.type)if(w0=!1,X.pendingProps=Y=$,WG(z,Z))(z.flags&131072)!==0&&(w0=!0);else return X.lanes=z.lanes,g8(z,X,Z)}return BG(z,X,G,Y,Z)}function jB(z,X,G,Y){var Z=Y.children,$=z!==null?z.memoizedState:null;if(z===null&&X.stateNode===null&&(X.stateNode={_visibility:c7,_pendingMarkers:null,_retryCache:null,_transitions:null}),Y.mode==="hidden"){if((X.flags&128)!==0){if($=$!==null?$.baseLanes|G:G,z!==null){Y=X.child=z.child;for(Z=0;Y!==null;)Z=Z|Y.lanes|Y.childLanes,Y=Y.sibling;Y=Z&~$}else Y=0,X.child=null;return VB(z,X,$,G,Y)}if((G&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},z!==null&&i5(X,$!==null?$.cachePool:null),$!==null?s$(X,$):vX(X),a$(X);else return Y=X.lanes=536870912,VB(z,X,$!==null?$.baseLanes|G:G,G,Y)}else $!==null?(i5(X,$.cachePool),s$(X,$),q3(X),X.memoizedState=null):(z!==null&&i5(X,null),vX(X),q3(X));return V0(z,X,Z,G),X.child}function M7(z,X){return z!==null&&z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:c7,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function VB(z,X,G,Y,Z){var $=NX();return $=$===null?null:{parent:q0._currentValue,pool:$},X.memoizedState={baseLanes:G,cachePool:$},z!==null&&i5(X,null),vX(X),a$(X),z!==null&&n6(z,X,Y,!0),X.childLanes=Z,null}function Oz(z,X){var G=X.hidden;return G!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),X=Lz({mode:X.mode,children:X.children},z.mode),X.ref=z.ref,z.child=X,X.return=z,X}function DB(z,X,G){return I6(X,z.child,null,G),z=Oz(X,X.pendingProps),z.flags|=2,R2(X),X.memoizedState=null,z}function Oq(z,X,G){var Y=X.pendingProps,Z=(X.flags&128)!==0;if(X.flags&=-129,z===null){if(I1){if(Y.mode==="hidden")return z=Oz(X,Y),X.lanes=536870912,M7(null,z);if(xX(X),(z=n1)?(G=YJ(z,D2),G=G!==null&&G.data===V6?G:null,G!==null&&(Y={dehydrated:G,treeContext:P$(),retryLane:536870912,hydrationErrors:null},X.memoizedState=Y,Y=N$(G),Y.return=X,X.child=Y,g0=X,n1=null)):G=null,G===null)throw c5(X,z),B3(X);return X.lanes=536870912,null}return Oz(X,Y)}var $=z.memoizedState;if($!==null){var B=$.dehydrated;if(xX(X),Z)if(X.flags&256)X.flags&=-257,X=DB(z,X,G);else if(X.memoizedState!==null)X.child=z.child,X.flags|=128,X=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(v$(),(G&536870912)!==0&&Pz(X),w0||n6(z,X,G,!1),Z=(G&z.childLanes)!==0,w0||Z){if(Y=c1,Y!==null&&(B=i3(Y,G),B!==0&&B!==$.retryLane))throw $.retryLane=B,m0(z,B),Y0(Y,z,B),tY;Tz(),X=DB(z,X,G)}else z=$.treeContext,n1=q2(B.nextSibling),g0=X,I1=!0,T3=null,N8=!1,M2=null,D2=!1,z!==null&&T$(X,z),X=Oz(X,Y),X.flags|=4096;return X}return $=z.child,Y={mode:Y.mode,children:Y.children},(G&536870912)!==0&&(G&z.lanes)!==0&&Pz(X),z=j8($,Y),z.ref=X.ref,X.child=z,z.return=X,z}function _z(z,X){var G=X.ref;if(G===null)z!==null&&z.ref!==null&&(X.flags|=4194816);else{if(typeof G!=="function"&&typeof G!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(z===null||z.ref!==G)X.flags|=4194816}}function BG(z,X,G,Y,Z){if(G.prototype&&typeof G.prototype.render==="function"){var $=h(G)||"Unknown";_R[$]||(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.",$,$),_R[$]=!0)}if(X.mode&h0&&s2.recordLegacyContextWarning(X,null),z===null&&(HG(X,X.type),G.contextTypes&&($=h(G)||"Unknown",AR[$]||(AR[$]=!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)",$)))),$6(X),G=jX(z,X,G,Y,void 0,Z),Y=DX(),z!==null&&!w0)return kX(z,X,Z),g8(z,X,Z);return I1&&Y&&WX(X),X.flags|=1,V0(z,X,G,Z),X.child}function kB(z,X,G,Y,Z,$){if($6(X),o8=-1,J5=z!==null&&z.type!==X.type,X.updateQueue=null,G=VX(X,Y,G,Z),o$(z,X),Y=DX(),z!==null&&!w0)return kX(z,X,$),g8(z,X,$);return I1&&Y&&WX(X),X.flags|=1,V0(z,X,G,$),X.child}function gB(z,X,G,Y,Z){switch(p(X)){case!1:var $=X.stateNode,B=new X.type(X.memoizedProps,$.context).state;$.updater.enqueueSetState($,B,null);break;case!0:X.flags|=128,X.flags|=65536,$=Error("Simulated error coming from DevTools");var H=Z&-Z;if(X.lanes|=H,B=c1,B===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");H=ZG(H),$G(H,B,X,H2($,X)),Gz(X,H)}if($6(X),X.stateNode===null){if(B=P3,$=G.contextType,"contextType"in G&&$!==null&&($===void 0||$.$$typeof!==M8)&&!MR.has(G)&&(MR.add(G),H=$===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 $!=="object"?" However, it is set to a "+typeof $+".":$.$$typeof===eG?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys($).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",h(G)||"Component",H)),typeof $==="object"&&$!==null&&(B=r1($)),$=new G(Y,B),X.mode&h0){p1(!0);try{$=new G(Y,B)}finally{p1(!1)}}if(B=X.memoizedState=$.state!==null&&$.state!==void 0?$.state:null,$.updater=iY,X.stateNode=$,$._reactInternals=X,$._reactInternalInstance=HR,typeof G.getDerivedStateFromProps==="function"&&B===null&&(B=h(G)||"Component",QR.has(B)||(QR.add(B),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.",B,$.state===null?"null":"undefined",B))),typeof G.getDerivedStateFromProps==="function"||typeof $.getSnapshotBeforeUpdate==="function"){var J=H=B=null;if(typeof $.componentWillMount==="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0?B="componentWillMount":typeof $.UNSAFE_componentWillMount==="function"&&(B="UNSAFE_componentWillMount"),typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0?H="componentWillReceiveProps":typeof $.UNSAFE_componentWillReceiveProps==="function"&&(H="UNSAFE_componentWillReceiveProps"),typeof $.componentWillUpdate==="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0?J="componentWillUpdate":typeof $.UNSAFE_componentWillUpdate==="function"&&(J="UNSAFE_componentWillUpdate"),B!==null||H!==null||J!==null){$=h(G)||"Component";var Q=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";UR.has($)||(UR.add($),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,$,Q,B!==null?`
|
|
137
|
+
`+B:"",H!==null?`
|
|
138
|
+
`+H:"",J!==null?`
|
|
139
|
+
`+J:""))}}$=X.stateNode,B=h(G)||"Component",$.render||(G.prototype&&typeof G.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",B):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",B)),!$.getInitialState||$.getInitialState.isReactClassApproved||$.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?",B),$.getDefaultProps&&!$.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.",B),$.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",B),G.childContextTypes&&!wR.has(G)&&(wR.add(G),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",B)),G.contextTypes&&!KR.has(G)&&(KR.add(G),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)",B)),typeof $.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.",B),G.prototype&&G.prototype.isPureReactComponent&&typeof $.shouldComponentUpdate<"u"&&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.",h(G)||"A pure component"),typeof $.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",B),typeof $.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().",B),typeof $.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",B),typeof $.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",B),H=$.props!==Y,$.props!==void 0&&H&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",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.",B,B),typeof $.getSnapshotBeforeUpdate!=="function"||typeof $.componentDidUpdate==="function"||RR.has(G)||(RR.add(G),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",h(G))),typeof $.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",B),typeof $.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",B),typeof G.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",B),(H=$.state)&&(typeof H!=="object"||L0(H))&&console.error("%s.state: must be set to an object or null",B),typeof $.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",B),$=X.stateNode,$.props=Y,$.state=X.memoizedState,$.refs={},PX(X),B=G.contextType,$.context=typeof B==="object"&&B!==null?r1(B):P3,$.state===Y&&(B=h(G)||"Component",qR.has(B)||(qR.add(B),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.",B))),X.mode&h0&&s2.recordLegacyContextWarning(X,$),s2.recordUnsafeLifecycleWarnings(X,$),$.state=X.memoizedState,B=G.getDerivedStateFromProps,typeof B==="function"&&(GG(X,G,B,Y),$.state=X.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof $.getSnapshotBeforeUpdate==="function"||typeof $.UNSAFE_componentWillMount!=="function"&&typeof $.componentWillMount!=="function"||(B=$.state,typeof $.componentWillMount==="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount==="function"&&$.UNSAFE_componentWillMount(),B!==$.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y(X)||"Component"),iY.enqueueReplaceState($,$.state,null)),q7(X,Y,$,Z),U7(),$.state=X.memoizedState),typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&p2)!==Z1&&(X.flags|=134217728),$=!0}else if(z===null){$=X.stateNode;var w=X.memoizedProps;H=R6(G,w),$.props=H;var M=$.context;J=G.contextType,B=P3,typeof J==="object"&&J!==null&&(B=r1(J)),Q=G.getDerivedStateFromProps,J=typeof Q==="function"||typeof $.getSnapshotBeforeUpdate==="function",w=X.pendingProps!==w,J||typeof $.UNSAFE_componentWillReceiveProps!=="function"&&typeof $.componentWillReceiveProps!=="function"||(w||M!==B)&&NB(X,$,Y,B),V3=!1;var q=X.memoizedState;$.state=q,q7(X,Y,$,Z),U7(),M=X.memoizedState,w||q!==M||V3?(typeof Q==="function"&&(GG(X,G,Q,Y),M=X.memoizedState),(H=V3||FB(X,G,H,Y,q,M,B))?(J||typeof $.UNSAFE_componentWillMount!=="function"&&typeof $.componentWillMount!=="function"||(typeof $.componentWillMount==="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount==="function"&&$.UNSAFE_componentWillMount()),typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&p2)!==Z1&&(X.flags|=134217728)):(typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&p2)!==Z1&&(X.flags|=134217728),X.memoizedProps=Y,X.memoizedState=M),$.props=Y,$.state=M,$.context=B,$=H):(typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&p2)!==Z1&&(X.flags|=134217728),$=!1)}else{$=X.stateNode,TX(z,X),B=X.memoizedProps,J=R6(G,B),$.props=J,Q=X.pendingProps,q=$.context,M=G.contextType,H=P3,typeof M==="object"&&M!==null&&(H=r1(M)),w=G.getDerivedStateFromProps,(M=typeof w==="function"||typeof $.getSnapshotBeforeUpdate==="function")||typeof $.UNSAFE_componentWillReceiveProps!=="function"&&typeof $.componentWillReceiveProps!=="function"||(B!==Q||q!==H)&&NB(X,$,Y,H),V3=!1,q=X.memoizedState,$.state=q,q7(X,Y,$,Z),U7();var N=X.memoizedState;B!==Q||q!==N||V3||z!==null&&z.dependencies!==null&&s5(z.dependencies)?(typeof w==="function"&&(GG(X,G,w,Y),N=X.memoizedState),(J=V3||FB(X,G,J,Y,q,N,H)||z!==null&&z.dependencies!==null&&s5(z.dependencies))?(M||typeof $.UNSAFE_componentWillUpdate!=="function"&&typeof $.componentWillUpdate!=="function"||(typeof $.componentWillUpdate==="function"&&$.componentWillUpdate(Y,N,H),typeof $.UNSAFE_componentWillUpdate==="function"&&$.UNSAFE_componentWillUpdate(Y,N,H)),typeof $.componentDidUpdate==="function"&&(X.flags|=4),typeof $.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof $.componentDidUpdate!=="function"||B===z.memoizedProps&&q===z.memoizedState||(X.flags|=4),typeof $.getSnapshotBeforeUpdate!=="function"||B===z.memoizedProps&&q===z.memoizedState||(X.flags|=1024),X.memoizedProps=Y,X.memoizedState=N),$.props=Y,$.state=N,$.context=H,$=J):(typeof $.componentDidUpdate!=="function"||B===z.memoizedProps&&q===z.memoizedState||(X.flags|=4),typeof $.getSnapshotBeforeUpdate!=="function"||B===z.memoizedProps&&q===z.memoizedState||(X.flags|=1024),$=!1)}if(H=$,_z(z,X),B=(X.flags&128)!==0,H||B){if(H=X.stateNode,u6(X),B&&typeof G.getDerivedStateFromError!=="function")G=null,s0=-1;else if(G=yQ(H),X.mode&h0){p1(!0);try{yQ(H)}finally{p1(!1)}}X.flags|=1,z!==null&&B?(X.child=I6(X,z.child,null,Z),X.child=I6(X,null,G,Z)):V0(z,X,G,Z),X.memoizedState=H.state,z=X.child}else z=g8(z,X,Z);return Z=X.stateNode,$&&Z.props!==Y&&(b4||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",y(X)||"a component"),b4=!0),z}function EB(z,X,G,Y){return Z6(),X.flags|=256,V0(z,X,G,Y),X.child}function HG(z,X){X&&X.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,X.displayName||X.name||"Component"),typeof X.getDerivedStateFromProps==="function"&&(z=h(X)||"Unknown",FR[z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",z),FR[z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=h(X)||"Unknown",LR[X]||(console.error("%s: Function components do not support contextType.",X),LR[X]=!0))}function JG(z){return{baseLanes:z,cachePool:k$()}}function QG(z,X,G){return z=z!==null?z.childLanes&~G:0,X&&(z|=G2),z}function bB(z,X,G){var Y,Z=X.pendingProps;V(X)&&(X.flags|=128);var $=!1,B=(X.flags&128)!==0;if((Y=B)||(Y=z!==null&&z.memoizedState===null?!1:(Q0.current&B5)!==0),Y&&($=!0,X.flags&=-129),Y=(X.flags&32)!==0,X.flags&=-33,z===null){if(I1){if($?U3(X):q3(X),(z=n1)?(G=YJ(z,D2),G=G!==null&&G.data!==V6?G:null,G!==null&&(Y={dehydrated:G,treeContext:P$(),retryLane:536870912,hydrationErrors:null},X.memoizedState=Y,Y=N$(G),Y.return=X,X.child=Y,g0=X,n1=null)):G=null,G===null)throw c5(X,z),B3(X);return dG(G)?X.lanes=32:X.lanes=536870912,null}var H=Z.children;if(Z=Z.fallback,$){q3(X);var J=X.mode;return H=Lz({mode:"hidden",children:H},J),Z=G6(Z,J,G,null),H.return=X,Z.return=X,H.sibling=Z,X.child=H,Z=X.child,Z.memoizedState=JG(G),Z.childLanes=QG(z,Y,G),X.memoizedState=eY,M7(null,Z)}return U3(X),RG(X,H)}var Q=z.memoizedState;if(Q!==null){var w=Q.dehydrated;if(w!==null){if(B)X.flags&256?(U3(X),X.flags&=-257,X=UG(z,X,G)):X.memoizedState!==null?(q3(X),X.child=z.child,X.flags|=128,X=null):(q3(X),H=Z.fallback,J=X.mode,Z=Lz({mode:"visible",children:Z.children},J),H=G6(H,J,G,null),H.flags|=2,Z.return=X,H.return=X,Z.sibling=H,X.child=Z,I6(X,z.child,null,G),Z=X.child,Z.memoizedState=JG(G),Z.childLanes=QG(z,Y,G),X.memoizedState=eY,X=M7(null,Z));else if(U3(X),v$(),(G&536870912)!==0&&Pz(X),dG(w)){if(Y=w.nextSibling&&w.nextSibling.dataset,Y){H=Y.dgst;var M=Y.msg;J=Y.stck;var q=Y.cstck}$=M,Y=H,Z=J,w=q,H=$,J=w,H=H?Error(H):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),H.stack=Z||"",H.digest=Y,Y=J===void 0?null:J,Z={value:H,source:null,stack:Y},typeof Y==="string"&&DY.set(H,Z),$7(Z),X=UG(z,X,G)}else if(w0||n6(z,X,G,!1),Y=(G&z.childLanes)!==0,w0||Y){if(Y=c1,Y!==null&&(Z=i3(Y,G),Z!==0&&Z!==Q.retryLane))throw Q.retryLane=Z,m0(z,Z),Y0(Y,z,Z),tY;uG(w)||Tz(),X=UG(z,X,G)}else uG(w)?(X.flags|=192,X.child=z.child,X=null):(z=Q.treeContext,n1=q2(w.nextSibling),g0=X,I1=!0,T3=null,N8=!1,M2=null,D2=!1,z!==null&&T$(X,z),X=RG(X,Z.children),X.flags|=4096);return X}}if($)return q3(X),H=Z.fallback,J=X.mode,q=z.child,w=q.sibling,Z=j8(q,{mode:"hidden",children:Z.children}),Z.subtreeFlags=q.subtreeFlags&65011712,w!==null?H=j8(w,H):(H=G6(H,J,G,null),H.flags|=2),H.return=X,Z.return=X,Z.sibling=H,X.child=Z,M7(null,Z),Z=X.child,H=z.child.memoizedState,H===null?H=JG(G):(J=H.cachePool,J!==null?(q=q0._currentValue,J=J.parent!==q?{parent:q,pool:q}:J):J=k$(),H={baseLanes:H.baseLanes|G,cachePool:J}),Z.memoizedState=H,Z.childLanes=QG(z,Y,G),X.memoizedState=eY,M7(z.child,Z);return Q!==null&&(G&62914560)===G&&(G&z.lanes)!==0&&Pz(X),U3(X),G=z.child,z=G.sibling,G=j8(G,{mode:"visible",children:Z.children}),G.return=X,G.sibling=null,z!==null&&(Y=X.deletions,Y===null?(X.deletions=[z],X.flags|=16):Y.push(z)),X.child=G,X.memoizedState=null,G}function RG(z,X){return X=Lz({mode:"visible",children:X},z.mode),X.return=z,z.child=X}function Lz(z,X){return z=S(22,z,null,X),z.lanes=0,z}function UG(z,X,G){return I6(X,z.child,null,G),z=RG(X,X.pendingProps.children),z.flags|=2,X.memoizedState=null,z}function yB(z,X,G){z.lanes|=X;var Y=z.alternate;Y!==null&&(Y.lanes|=X),OX(z.return,X,G)}function qG(z,X,G,Y,Z,$){var B=z.memoizedState;B===null?z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:Y,tail:G,tailMode:Z,treeForkCount:$}:(B.isBackwards=X,B.rendering=null,B.renderingStartTime=0,B.last=Y,B.tail=G,B.tailMode=Z,B.treeForkCount=$)}function mB(z,X,G){var Y=X.pendingProps,Z=Y.revealOrder,$=Y.tail,B=Y.children,H=Q0.current;if((Y=(H&B5)!==0)?(H=H&D4|B5,X.flags|=128):H&=D4,U1(Q0,H,X),H=Z==null?"null":Z,Z!=="forwards"&&Z!=="unstable_legacy-backwards"&&Z!=="together"&&Z!=="independent"&&!NR[H])if(NR[H]=!0,Z==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(Z==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof Z==="string")switch(Z.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":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 "independent", "together", "forwards" or "backwards"?',Z)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z);if(H=$==null?"null":$,!O9[H])if($==null){if(Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")O9[H]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else $!=="visible"&&$!=="collapsed"&&$!=="hidden"?(O9[H]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',$)):Z!=="forwards"&&Z!=="backwards"&&Z!=="unstable_legacy-backwards"&&(O9[H]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',$));z:if((Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")&&B!==void 0&&B!==null&&B!==!1)if(L0(B)){for(H=0;H<B.length;H++)if(!l$(B[H],H))break z}else if(H=$0(B),typeof H==="function"){if(H=H.call(B))for(var J=H.next(),Q=0;!J.done;J=H.next()){if(!l$(J.value,Q))break z;Q++}}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(V0(z,X,B,G),I1?($3(),B=p7):B=0,!Y&&z!==null&&(z.flags&128)!==0)z:for(z=X.child;z!==null;){if(z.tag===13)z.memoizedState!==null&&yB(z,G,X);else if(z.tag===19)yB(z,G,X);else if(z.child!==null){z.child.return=z,z=z.child;continue}if(z===X)break z;for(;z.sibling===null;){if(z.return===null||z.return===X)break z;z=z.return}z.sibling.return=z.return,z=z.sibling}switch(Z){case"forwards":G=X.child;for(Z=null;G!==null;)z=G.alternate,z!==null&&Yz(z)===null&&(Z=G),G=G.sibling;G=Z,G===null?(Z=X.child,X.child=null):(Z=G.sibling,G.sibling=null),qG(X,!1,Z,G,$,B);break;case"backwards":case"unstable_legacy-backwards":G=null,Z=X.child;for(X.child=null;Z!==null;){if(z=Z.alternate,z!==null&&Yz(z)===null){X.child=Z;break}z=Z.sibling,Z.sibling=G,G=Z,Z=z}qG(X,!0,G,null,$,B);break;case"together":qG(X,!1,null,null,void 0,B);break;default:X.memoizedState=null}return X.child}function g8(z,X,G){if(z!==null&&(X.dependencies=z.dependencies),s0=-1,g3|=X.lanes,(G&X.childLanes)===0)if(z!==null){if(n6(z,X,G,!1),(G&X.childLanes)===0)return null}else return null;if(z!==null&&X.child!==z.child)throw Error("Resuming work not yet implemented.");if(X.child!==null){z=X.child,G=j8(z,z.pendingProps),X.child=G;for(G.return=X;z.sibling!==null;)z=z.sibling,G=G.sibling=j8(z,z.pendingProps),G.return=X;G.sibling=null}return X.child}function WG(z,X){if((z.lanes&X)!==0)return!0;return z=z.dependencies,z!==null&&s5(z)?!0:!1}function _q(z,X,G){switch(X.tag){case 3:u(X,X.stateNode.containerInfo),H3(X,q0,z.memoizedState.cache),Z6();break;case 27:case 5:g1(X);break;case 4:u(X,X.stateNode.containerInfo);break;case 10:H3(X,X.type,X.memoizedProps.value);break;case 12:(G&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var Y=X.stateNode;Y.effectDuration=-0,Y.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,xX(X),null;break;case 13:if(Y=X.memoizedState,Y!==null){if(Y.dehydrated!==null)return U3(X),X.flags|=128,null;if((G&X.child.childLanes)!==0)return bB(z,X,G);return U3(X),z=g8(z,X,G),z!==null?z.sibling:null}U3(X);break;case 19:var Z=(z.flags&128)!==0;if(Y=(G&X.childLanes)!==0,Y||(n6(z,X,G,!1),Y=(G&X.childLanes)!==0),Z){if(Y)return mB(z,X,G);X.flags|=128}if(Z=X.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),U1(Q0,Q0.current,X),Y)break;else return null;case 22:return X.lanes=0,jB(z,X,G,X.pendingProps);case 24:H3(X,q0,z.memoizedState.cache)}return g8(z,X,G)}function KG(z,X,G){if(X._debugNeedsRemount&&z!==null){G=RX(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),G._debugStack=X._debugStack,G._debugTask=X._debugTask;var Y=X.return;if(Y===null)throw Error("Cannot swap the root fiber.");if(z.alternate=null,X.alternate=null,G.index=X.index,G.sibling=X.sibling,G.return=X.return,G.ref=X.ref,G._debugInfo=X._debugInfo,X===Y.child)Y.child=G;else{var Z=Y.child;if(Z===null)throw Error("Expected parent to have a child.");for(;Z.sibling!==X;)if(Z=Z.sibling,Z===null)throw Error("Expected to find the previous sibling.");Z.sibling=G}return X=Y.deletions,X===null?(Y.deletions=[z],Y.flags|=16):X.push(z),G.flags|=2,G}if(z!==null)if(z.memoizedProps!==X.pendingProps||X.type!==z.type)w0=!0;else{if(!WG(z,G)&&(X.flags&128)===0)return w0=!1,_q(z,X,G);w0=(z.flags&131072)!==0?!0:!1}else{if(w0=!1,Y=I1)$3(),Y=(X.flags&1048576)!==0;Y&&(Y=X.index,$3(),I$(X,p7,Y))}switch(X.lanes=0,X.tag){case 16:z:if(Y=X.pendingProps,z=J3(X.elementType),X.type=z,typeof z==="function")QX(z)?(Y=R6(z,Y),X.tag=1,X.type=z=X6(z),X=gB(null,X,z,Y,G)):(X.tag=0,HG(X,z),X.type=z=X6(z),X=BG(null,X,z,Y,G));else{if(z!==void 0&&z!==null){if(Z=z.$$typeof,Z===D7){X.tag=11,X.type=z=JX(z),X=CB(null,X,z,Y,G);break z}else if(Z===fz){X.tag=14,X=xB(null,X,z,Y,G);break z}}throw X="",z!==null&&typeof z==="object"&&z.$$typeof===W2&&(X=" Did you wrap a component in React.lazy() more than once?"),G=h(z)||z,Error("Element type is invalid. Received a promise that resolves to: "+G+". Lazy element type must resolve to a class or function."+X)}return X;case 0:return BG(z,X,X.type,X.pendingProps,G);case 1:return Y=X.type,Z=R6(Y,X.pendingProps),gB(z,X,Y,Z,G);case 3:z:{if(u(X,X.stateNode.containerInfo),z===null)throw Error("Should have a current fiber. This is a bug in React.");Y=X.pendingProps;var $=X.memoizedState;Z=$.element,TX(z,X),q7(X,Y,null,G);var B=X.memoizedState;if(Y=B.cache,H3(X,q0,Y),Y!==$.cache&&_X(X,[q0],G,!0),U7(),Y=B.element,$.isDehydrated)if($={element:Y,isDehydrated:!1,cache:B.cache},X.updateQueue.baseState=$,X.memoizedState=$,X.flags&256){X=EB(z,X,Y,G);break z}else if(Y!==Z){Z=H2(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),$7(Z),X=EB(z,X,Y,G);break z}else{switch(z=X.stateNode.containerInfo,z.nodeType){case 9:z=z.body;break;default:z=z.nodeName==="HTML"?z.ownerDocument.body:z}n1=q2(z.firstChild),g0=X,I1=!0,T3=null,N8=!1,M2=null,D2=!0,G=rQ(X,null,Y,G);for(X.child=G;G;)G.flags=G.flags&-3|4096,G=G.sibling}else{if(Z6(),Y===Z){X=g8(z,X,G);break z}V0(z,X,Y,G)}X=X.child}return X;case 26:return _z(z,X),z===null?(G=QJ(X.type,null,X.pendingProps,null))?X.memoizedState=G:I1||(G=X.type,z=X.pendingProps,Y=S0(_3.current),Y=Sz(Y).createElement(G),Y[k0]=X,Y[l0]=z,D0(Y,G,z),t(Y),X.stateNode=Y):X.memoizedState=QJ(X.type,z.memoizedProps,X.pendingProps,z.memoizedState),null;case 27:return g1(X),z===null&&I1&&(Y=S0(_3.current),Z=X1(),Y=X.stateNode=HJ(X.type,X.pendingProps,Y,Z,!1),N8||(Z=nH(Y,X.type,X.pendingProps,Z),Z!==null&&(Y6(X,0).serverProps=Z)),g0=X,D2=!0,Z=n1,M3(X.type)?(NZ=Z,n1=q2(Y.firstChild)):n1=Z),V0(z,X,X.pendingProps.children,G),_z(z,X),z===null&&(X.flags|=4194304),X.child;case 5:return z===null&&I1&&($=X1(),Y=zX(X.type,$.ancestorInfo),Z=n1,(B=!Z)||(B=BW(Z,X.type,X.pendingProps,D2),B!==null?(X.stateNode=B,N8||($=nH(B,X.type,X.pendingProps,$),$!==null&&(Y6(X,0).serverProps=$)),g0=X,n1=q2(B.firstChild),D2=!1,$=!0):$=!1,B=!$),B&&(Y&&c5(X,Z),B3(X))),g1(X),Z=X.type,$=X.pendingProps,B=z!==null?z.memoizedProps:null,Y=$.children,fG(Z,$)?Y=null:B!==null&&fG(Z,B)&&(X.flags|=32),X.memoizedState!==null&&(Z=jX(z,X,Rq,null,null,G),P5._currentValue=Z),_z(z,X),V0(z,X,Y,G),X.child;case 6:return z===null&&I1&&(G=X.pendingProps,z=X1(),Y=z.ancestorInfo.current,G=Y!=null?g5(G,Y.tag,z.ancestorInfo.implicitRootScope):!0,z=n1,(Y=!z)||(Y=HW(z,X.pendingProps,D2),Y!==null?(X.stateNode=Y,g0=X,n1=null,Y=!0):Y=!1,Y=!Y),Y&&(G&&c5(X,z),B3(X))),null;case 13:return bB(z,X,G);case 4:return u(X,X.stateNode.containerInfo),Y=X.pendingProps,z===null?X.child=I6(X,null,Y,G):V0(z,X,Y,G),X.child;case 11:return CB(z,X,X.type,X.pendingProps,G);case 7:return V0(z,X,X.pendingProps,G),X.child;case 8:return V0(z,X,X.pendingProps.children,G),X.child;case 12:return X.flags|=4,X.flags|=2048,Y=X.stateNode,Y.effectDuration=-0,Y.passiveEffectDuration=-0,V0(z,X,X.pendingProps.children,G),X.child;case 10:return Y=X.type,Z=X.pendingProps,$=Z.value,"value"in Z||IR||(IR=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),H3(X,Y,$),V0(z,X,Z.children,G),X.child;case 9:return Z=X.type._context,Y=X.pendingProps.children,typeof Y!=="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."),$6(X),Z=r1(Z),Y=hY(Y,Z,void 0),X.flags|=1,V0(z,X,Y,G),X.child;case 14:return xB(z,X,X.type,X.pendingProps,G);case 15:return SB(z,X,X.type,X.pendingProps,G);case 19:return mB(z,X,G);case 31:return Oq(z,X,G);case 22:return jB(z,X,G,X.pendingProps);case 24:return $6(X),Y=r1(q0),z===null?(Z=NX(),Z===null&&(Z=c1,$=LX(),Z.pooledCache=$,B6($),$!==null&&(Z.pooledCacheLanes|=G),Z=$),X.memoizedState={parent:Y,cache:Z},PX(X),H3(X,q0,Z)):((z.lanes&G)!==0&&(TX(z,X),q7(X,null,null,G),U7()),Z=z.memoizedState,$=X.memoizedState,Z.parent!==Y?(Z={parent:Y,cache:Y},X.memoizedState=Z,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=Z),H3(X,q0,Y)):(Y=$.cache,H3(X,q0,Y),Y!==Z.cache&&_X(X,[q0],G,!0))),V0(z,X,X.pendingProps.children,G),X.child;case 29:throw X.pendingProps}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function E8(z){z.flags|=4}function wG(z,X,G,Y,Z){if(X=(z.mode&mK)!==Z1)X=!1;if(X){if(z.flags|=16777216,(Z&335544128)===Z)if(z.stateNode.complete)z.flags|=8192;else if(OH())z.flags|=8192;else throw N6=U9,dY}else z.flags&=-16777217}function fB(z,X){if(X.type!=="stylesheet"||(X.state.loading&y2)!==g6)z.flags&=-16777217;else if(z.flags|=16777216,!KJ(X))if(OH())z.flags|=8192;else throw N6=U9,dY}function Az(z,X){X!==null&&(z.flags|=4),z.flags&16384&&(X=z.tag!==22?l6():536870912,z.lanes|=X,x6|=X)}function O7(z,X){if(!I1)switch(z.tailMode){case"hidden":X=z.tail;for(var G=null;X!==null;)X.alternate!==null&&(G=X),X=X.sibling;G===null?z.tail=null:G.sibling=null;break;case"collapsed":G=z.tail;for(var Y=null;G!==null;)G.alternate!==null&&(Y=G),G=G.sibling;Y===null?X||z.tail===null?z.tail=null:z.tail.sibling=null:Y.sibling=null}}function s1(z){var X=z.alternate!==null&&z.alternate.child===z.child,G=0,Y=0;if(X)if((z.mode&w1)!==Z1){for(var{selfBaseDuration:Z,child:$}=z;$!==null;)G|=$.lanes|$.childLanes,Y|=$.subtreeFlags&65011712,Y|=$.flags&65011712,Z+=$.treeBaseDuration,$=$.sibling;z.treeBaseDuration=Z}else for(Z=z.child;Z!==null;)G|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags&65011712,Y|=Z.flags&65011712,Z.return=z,Z=Z.sibling;else if((z.mode&w1)!==Z1){Z=z.actualDuration,$=z.selfBaseDuration;for(var B=z.child;B!==null;)G|=B.lanes|B.childLanes,Y|=B.subtreeFlags,Y|=B.flags,Z+=B.actualDuration,$+=B.treeBaseDuration,B=B.sibling;z.actualDuration=Z,z.treeBaseDuration=$}else for(Z=z.child;Z!==null;)G|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags,Y|=Z.flags,Z.return=z,Z=Z.sibling;return z.subtreeFlags|=Y,z.childLanes=G,X}function Lq(z,X,G){var Y=X.pendingProps;switch(KX(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return s1(X),null;case 1:return s1(X),null;case 3:if(G=X.stateNode,Y=null,z!==null&&(Y=z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),D8(q0,X),Y1(X),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),z===null||z.child===null)o6(X)?(MX(),E8(X)):z===null||z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,wX());return s1(X),null;case 26:var{type:Z,memoizedState:$}=X;return z===null?(E8(X),$!==null?(s1(X),fB(X,$)):(s1(X),wG(X,Z,null,Y,G))):$?$!==z.memoizedState?(E8(X),s1(X),fB(X,$)):(s1(X),X.flags&=-16777217):(z=z.memoizedProps,z!==Y&&E8(X),s1(X),wG(X,Z,z,Y,G)),null;case 27:if(E1(X),G=S0(_3.current),Z=X.type,z!==null&&X.stateNode!=null)z.memoizedProps!==Y&&E8(X);else{if(!Y){if(X.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 s1(X),null}z=X1(),o6(X)?C$(X,z):(z=HJ(Z,Y,G,z,!0),X.stateNode=z,E8(X))}return s1(X),null;case 5:if(E1(X),Z=X.type,z!==null&&X.stateNode!=null)z.memoizedProps!==Y&&E8(X);else{if(!Y){if(X.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 s1(X),null}var B=X1();if(o6(X))C$(X,B);else{switch($=S0(_3.current),zX(Z,B.ancestorInfo),B=B.context,$=Sz($),B){case c4:$=$.createElementNS(K4,Z);break;case y9:$=$.createElementNS(sz,Z);break;default:switch(Z){case"svg":$=$.createElementNS(K4,Z);break;case"math":$=$.createElementNS(sz,Z);break;case"script":$=$.createElement("div"),$.innerHTML="<script></script>",$=$.removeChild($.firstChild);break;case"select":$=typeof Y.is==="string"?$.createElement("select",{is:Y.is}):$.createElement("select"),Y.multiple?$.multiple=!0:Y.size&&($.size=Y.size);break;default:$=typeof Y.is==="string"?$.createElement(Z,{is:Y.is}):$.createElement(Z),Z.indexOf("-")===-1&&(Z!==Z.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Z),Object.prototype.toString.call($)!=="[object HTMLUnknownElement]"||l2.call(aR,Z)||(aR[Z]=!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.",Z)))}}$[k0]=X,$[l0]=Y;z:for(B=X.child;B!==null;){if(B.tag===5||B.tag===6)$.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===X)break z;for(;B.sibling===null;){if(B.return===null||B.return===X)break z;B=B.return}B.sibling.return=B.return,B=B.sibling}X.stateNode=$;z:switch(D0($,Z,Y),Z){case"button":case"input":case"select":case"textarea":Y=!!Y.autoFocus;break z;case"img":Y=!0;break z;default:Y=!1}Y&&E8(X)}}return s1(X),wG(X,X.type,z===null?null:z.memoizedProps,X.pendingProps,G),null;case 6:if(z&&X.stateNode!=null)z.memoizedProps!==Y&&E8(X);else{if(typeof Y!=="string"&&X.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(z=S0(_3.current),G=X1(),o6(X)){if(z=X.stateNode,G=X.memoizedProps,Z=!N8,Y=null,$=g0,$!==null)switch($.tag){case 3:Z&&(Z=$J(z,G,Y),Z!==null&&(Y6(X,0).serverProps=Z));break;case 27:case 5:Y=$.memoizedProps,Z&&(Z=$J(z,G,Y),Z!==null&&(Y6(X,0).serverProps=Z))}z[k0]=X,z=z.nodeValue===G||Y!==null&&Y.suppressHydrationWarning===!0||cH(z.nodeValue,G)?!0:!1,z||B3(X,!0)}else Z=G.ancestorInfo.current,Z!=null&&g5(Y,Z.tag,G.ancestorInfo.implicitRootScope),z=Sz(z).createTextNode(Y),z[k0]=X,X.stateNode=z}return s1(X),null;case 31:if(G=X.memoizedState,z===null||z.memoizedState!==null){if(Y=o6(X),G!==null){if(z===null){if(!Y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(z=X.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");z[k0]=X,s1(X),(X.mode&w1)!==Z1&&G!==null&&(z=X.child,z!==null&&(X.treeBaseDuration-=z.treeBaseDuration))}else MX(),Z6(),(X.flags&128)===0&&(G=X.memoizedState=null),X.flags|=4,s1(X),(X.mode&w1)!==Z1&&G!==null&&(z=X.child,z!==null&&(X.treeBaseDuration-=z.treeBaseDuration));z=!1}else G=wX(),z!==null&&z.memoizedState!==null&&(z.memoizedState.hydrationErrors=G),z=!0;if(!z){if(X.flags&256)return R2(X),X;return R2(X),null}if((X.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return s1(X),null;case 13:if(Y=X.memoizedState,z===null||z.memoizedState!==null&&z.memoizedState.dehydrated!==null){if(Z=Y,$=o6(X),Z!==null&&Z.dehydrated!==null){if(z===null){if(!$)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=X.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$[k0]=X,s1(X),(X.mode&w1)!==Z1&&Z!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else MX(),Z6(),(X.flags&128)===0&&(Z=X.memoizedState=null),X.flags|=4,s1(X),(X.mode&w1)!==Z1&&Z!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Z=wX(),z!==null&&z.memoizedState!==null&&(z.memoizedState.hydrationErrors=Z),Z=!0;if(!Z){if(X.flags&256)return R2(X),X;return R2(X),null}}if(R2(X),(X.flags&128)!==0)return X.lanes=G,(X.mode&w1)!==Z1&&J7(X),X;return G=Y!==null,z=z!==null&&z.memoizedState!==null,G&&(Y=X.child,Z=null,Y.alternate!==null&&Y.alternate.memoizedState!==null&&Y.alternate.memoizedState.cachePool!==null&&(Z=Y.alternate.memoizedState.cachePool.pool),$=null,Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&($=Y.memoizedState.cachePool.pool),$!==Z&&(Y.flags|=2048)),G!==z&&G&&(X.child.flags|=8192),Az(X,X.updateQueue),s1(X),(X.mode&w1)!==Z1&&G&&(z=X.child,z!==null&&(X.treeBaseDuration-=z.treeBaseDuration)),null;case 4:return Y1(X),z===null&&DG(X.stateNode.containerInfo),s1(X),null;case 10:return D8(X.type,X),s1(X),null;case 19:if(C1(Q0,X),Y=X.memoizedState,Y===null)return s1(X),null;if(Z=(X.flags&128)!==0,$=Y.rendering,$===null)if(Z)O7(Y,!1);else{if(X0!==i8||z!==null&&(z.flags&128)!==0)for(z=X.child;z!==null;){if($=Yz(z),$!==null){X.flags|=128,O7(Y,!1),z=$.updateQueue,X.updateQueue=z,Az(X,z),X.subtreeFlags=0,z=G;for(G=X.child;G!==null;)F$(G,z),G=G.sibling;return U1(Q0,Q0.current&D4|B5,X),I1&&V8(X,Y.treeForkCount),X.child}z=z.sibling}Y.tail!==null&&T0()>P9&&(X.flags|=128,Z=!0,O7(Y,!1),X.lanes=4194304)}else{if(!Z)if(z=Yz($),z!==null){if(X.flags|=128,Z=!0,z=z.updateQueue,X.updateQueue=z,Az(X,z),O7(Y,!0),Y.tail===null&&Y.tailMode==="hidden"&&!$.alternate&&!I1)return s1(X),null}else 2*T0()-Y.renderingStartTime>P9&&G!==536870912&&(X.flags|=128,Z=!0,O7(Y,!1),X.lanes=4194304);Y.isBackwards?($.sibling=X.child,X.child=$):(z=Y.last,z!==null?z.sibling=$:X.child=$,Y.last=$)}if(Y.tail!==null)return z=Y.tail,Y.rendering=z,Y.tail=z.sibling,Y.renderingStartTime=T0(),z.sibling=null,G=Q0.current,G=Z?G&D4|B5:G&D4,U1(Q0,G,X),I1&&V8(X,Y.treeForkCount),z;return s1(X),null;case 22:case 23:return R2(X),CX(X),Y=X.memoizedState!==null,z!==null?z.memoizedState!==null!==Y&&(X.flags|=8192):Y&&(X.flags|=8192),Y?(G&536870912)!==0&&(X.flags&128)===0&&(s1(X),X.subtreeFlags&6&&(X.flags|=8192)):s1(X),G=X.updateQueue,G!==null&&Az(X,G.retryQueue),G=null,z!==null&&z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(G=z.memoizedState.cachePool.pool),Y=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Y=X.memoizedState.cachePool.pool),Y!==G&&(X.flags|=2048),z!==null&&C1(A6,X),null;case 24:return G=null,z!==null&&(G=z.memoizedState.cache),X.memoizedState.cache!==G&&(X.flags|=2048),D8(q0,X),s1(X),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Aq(z,X){switch(KX(X),X.tag){case 1:return z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&w1)!==Z1&&J7(X),X):null;case 3:return D8(q0,X),Y1(X),z=X.flags,(z&65536)!==0&&(z&128)===0?(X.flags=z&-65537|128,X):null;case 26:case 27:case 5:return E1(X),null;case 31:if(X.memoizedState!==null){if(R2(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Z6()}return z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&w1)!==Z1&&J7(X),X):null;case 13:if(R2(X),z=X.memoizedState,z!==null&&z.dehydrated!==null){if(X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Z6()}return z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&w1)!==Z1&&J7(X),X):null;case 19:return C1(Q0,X),null;case 4:return Y1(X),null;case 10:return D8(X.type,X),null;case 22:case 23:return R2(X),CX(X),z!==null&&C1(A6,X),z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&w1)!==Z1&&J7(X),X):null;case 24:return D8(q0,X),null;case 25:return null;default:return null}}function hB(z,X){switch(KX(X),X.tag){case 3:D8(q0,X),Y1(X);break;case 26:case 27:case 5:E1(X);break;case 4:Y1(X);break;case 31:X.memoizedState!==null&&R2(X);break;case 13:R2(X);break;case 19:C1(Q0,X);break;case 10:D8(X.type,X);break;case 22:case 23:R2(X),CX(X),z!==null&&C1(A6,X);break;case 24:D8(q0,X)}}function Q8(z){return(z.mode&w1)!==Z1}function uB(z,X){Q8(z)?(J8(),_7(X,z),H8()):_7(X,z)}function MG(z,X,G){Q8(z)?(J8(),z4(G,z,X),H8()):z4(G,z,X)}function _7(z,X){try{var G=X.updateQueue,Y=G!==null?G.lastEffect:null;if(Y!==null){var Z=Y.next;G=Z;do{if((G.tag&z)===z&&(Y=void 0,(z&a0)!==W9&&(u4=!0),Y=c(X,lK,G),(z&a0)!==W9&&(u4=!1),Y!==void 0&&typeof Y!=="function")){var $=void 0;$=(G.tag&_2)!==0?"useLayoutEffect":(G.tag&a0)!==0?"useInsertionEffect":"useEffect";var B=void 0;B=Y===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof Y.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+$+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+$+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+Y,c(X,function(H,J){console.error("%s must not return anything besides a function, which is used for clean-up.%s",H,J)},$,B)}G=G.next}while(G!==Z)}}catch(H){D1(X,X.return,H)}}function z4(z,X,G){try{var Y=X.updateQueue,Z=Y!==null?Y.lastEffect:null;if(Z!==null){var $=Z.next;Y=$;do{if((Y.tag&z)===z){var B=Y.inst,H=B.destroy;H!==void 0&&(B.destroy=void 0,(z&a0)!==W9&&(u4=!0),Z=X,c(Z,cK,Z,G,H),(z&a0)!==W9&&(u4=!1))}Y=Y.next}while(Y!==$)}}catch(J){D1(X,X.return,J)}}function dB(z,X){Q8(z)?(J8(),_7(X,z),H8()):_7(X,z)}function OG(z,X,G){Q8(z)?(J8(),z4(G,z,X),H8()):z4(G,z,X)}function lB(z){var X=z.updateQueue;if(X!==null){var G=z.stateNode;z.type.defaultProps||"ref"in z.memoizedProps||b4||(G.props!==z.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.",y(z)||"instance"),G.state!==z.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.",y(z)||"instance"));try{c(z,p$,X,G)}catch(Y){D1(z,z.return,Y)}}}function Fq(z,X,G){return z.getSnapshotBeforeUpdate(X,G)}function Nq(z,X){var{memoizedProps:G,memoizedState:Y}=X;X=z.stateNode,z.type.defaultProps||"ref"in z.memoizedProps||b4||(X.props!==z.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.",y(z)||"instance"),X.state!==z.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.",y(z)||"instance"));try{var Z=R6(z.type,G),$=c(z,Fq,X,Z,Y);G=PR,$!==void 0||G.has(z.type)||(G.add(z.type),c(z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",y(z))})),X.__reactInternalSnapshotBeforeUpdate=$}catch(B){D1(z,z.return,B)}}function cB(z,X,G){G.props=R6(z.type,z.memoizedProps),G.state=z.memoizedState,Q8(z)?(J8(),c(z,lQ,z,X,G),H8()):c(z,lQ,z,X,G)}function Iq(z){var X=z.ref;if(X!==null){switch(z.tag){case 26:case 27:case 5:var G=z.stateNode;break;case 30:G=z.stateNode;break;default:G=z.stateNode}if(typeof X==="function")if(Q8(z))try{J8(),z.refCleanup=X(G)}finally{H8()}else z.refCleanup=X(G);else typeof X==="string"?console.error("String refs are no longer supported."):X.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",y(z)),X.current=G}}function L7(z,X){try{c(z,Iq,z)}catch(G){D1(z,X,G)}}function R8(z,X){var{ref:G,refCleanup:Y}=z;if(G!==null)if(typeof Y==="function")try{if(Q8(z))try{J8(),c(z,Y)}finally{H8(z)}else c(z,Y)}catch(Z){D1(z,X,Z)}finally{z.refCleanup=null,z=z.alternate,z!=null&&(z.refCleanup=null)}else if(typeof G==="function")try{if(Q8(z))try{J8(),c(z,G,null)}finally{H8(z)}else c(z,G,null)}catch(Z){D1(z,X,Z)}else G.current=null}function pB(z,X,G,Y){var Z=z.memoizedProps,$=Z.id,B=Z.onCommit;Z=Z.onRender,X=X===null?"mount":"update",H9&&(X="nested-update"),typeof Z==="function"&&Z($,X,z.actualDuration,z.treeBaseDuration,z.actualStartTime,G),typeof B==="function"&&B($,X,Y,G)}function Pq(z,X,G,Y){var Z=z.memoizedProps;z=Z.id,Z=Z.onPostCommit,X=X===null?"mount":"update",H9&&(X="nested-update"),typeof Z==="function"&&Z(z,X,Y,G)}function sB(z){var{type:X,memoizedProps:G,stateNode:Y}=z;try{c(z,oq,Y,X,G,z)}catch(Z){D1(z,z.return,Z)}}function _G(z,X,G){try{c(z,iq,z.stateNode,z.type,G,X,z)}catch(Y){D1(z,z.return,Y)}}function aB(z){return z.tag===5||z.tag===3||z.tag===26||z.tag===27&&M3(z.type)||z.tag===4}function LG(z){z:for(;;){for(;z.sibling===null;){if(z.return===null||aB(z.return))return null;z=z.return}z.sibling.return=z.return;for(z=z.sibling;z.tag!==5&&z.tag!==6&&z.tag!==18;){if(z.tag===27&&M3(z.type))continue z;if(z.flags&2)continue z;if(z.child===null||z.tag===4)continue z;else z.child.return=z,z=z.child}if(!(z.flags&2))return z.stateNode}}function AG(z,X,G){var Y=z.tag;if(Y===5||Y===6)z=z.stateNode,X?(zJ(G),(G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G).insertBefore(z,X)):(zJ(G),X=G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G,X.appendChild(z),G=G._reactRootContainer,G!==null&&G!==void 0||X.onclick!==null||(X.onclick=S8));else if(Y!==4&&(Y===27&&M3(z.type)&&(G=z.stateNode,X=null),z=z.child,z!==null))for(AG(z,X,G),z=z.sibling;z!==null;)AG(z,X,G),z=z.sibling}function Fz(z,X,G){var Y=z.tag;if(Y===5||Y===6)z=z.stateNode,X?G.insertBefore(z,X):G.appendChild(z);else if(Y!==4&&(Y===27&&M3(z.type)&&(G=z.stateNode),z=z.child,z!==null))for(Fz(z,X,G),z=z.sibling;z!==null;)Fz(z,X,G),z=z.sibling}function Tq(z){for(var X,G=z.return;G!==null;){if(aB(G)){X=G;break}G=G.return}if(X==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(X.tag){case 27:X=X.stateNode,G=LG(z),Fz(z,G,X);break;case 5:G=X.stateNode,X.flags&32&&(eH(G),X.flags&=-33),X=LG(z),Fz(z,X,G);break;case 3:case 4:X=X.stateNode.containerInfo,G=LG(z),AG(z,G,X);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function oB(z){var{stateNode:X,memoizedProps:G}=z;try{c(z,qW,z.type,G,X,z)}catch(Y){D1(z,z.return,Y)}}function nB(z,X){return X.tag===31?(X=X.memoizedState,z.memoizedState!==null&&X===null):X.tag===13?(z=z.memoizedState,X=X.memoizedState,z!==null&&z.dehydrated!==null&&(X===null||X.dehydrated===null)):X.tag===3?z.memoizedState.isDehydrated&&(X.flags&256)===0:!1}function vq(z,X){if(z=z.containerInfo,LZ=u9,z=U$(z),YX(z)){if("selectionStart"in z)var G={start:z.selectionStart,end:z.selectionEnd};else z:{G=(G=z.ownerDocument)&&G.defaultView||window;var Y=G.getSelection&&G.getSelection();if(Y&&Y.rangeCount!==0){G=Y.anchorNode;var{anchorOffset:Z,focusNode:$}=Y;Y=Y.focusOffset;try{G.nodeType,$.nodeType}catch(b){G=null;break z}var B=0,H=-1,J=-1,Q=0,w=0,M=z,q=null;X:for(;;){for(var N;;){if(M!==G||Z!==0&&M.nodeType!==3||(H=B+Z),M!==$||Y!==0&&M.nodeType!==3||(J=B+Y),M.nodeType===3&&(B+=M.nodeValue.length),(N=M.firstChild)===null)break;q=M,M=N}for(;;){if(M===z)break X;if(q===G&&++Q===Z&&(H=B),q===$&&++w===Y&&(J=B),(N=M.nextSibling)!==null)break;M=q,q=M.parentNode}M=N}G=H===-1||J===-1?null:{start:H,end:J}}else G=null}G=G||{start:0,end:0}}else G=null;AZ={focusedElem:z,selectionRange:G},u9=!1;for(C0=X;C0!==null;)if(X=C0,z=X.child,(X.subtreeFlags&1028)!==0&&z!==null)z.return=X,C0=z;else for(;C0!==null;){switch(z=X=C0,G=z.alternate,Z=z.flags,z.tag){case 0:if((Z&4)!==0&&(z=z.updateQueue,z=z!==null?z.events:null,z!==null))for(G=0;G<z.length;G++)Z=z[G],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:(Z&1024)!==0&&G!==null&&Nq(z,G);break;case 3:if((Z&1024)!==0){if(z=z.stateNode.containerInfo,G=z.nodeType,G===9)hG(z);else if(G===1)switch(z.nodeName){case"HEAD":case"HTML":case"BODY":hG(z);break;default:z.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(z=X.sibling,z!==null){z.return=X.return,C0=z;break}C0=X.return}}function iB(z,X,G){var Y=J2(),Z=Y8(),$=$8(),B=B8(),H=G.flags;switch(G.tag){case 0:case 11:case 15:U8(z,G),H&4&&uB(G,_2|E2);break;case 1:if(U8(z,G),H&4)if(z=G.stateNode,X===null)G.type.defaultProps||"ref"in G.memoizedProps||b4||(z.props!==G.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.",y(G)||"instance"),z.state!==G.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.",y(G)||"instance")),Q8(G)?(J8(),c(G,uY,G,z),H8()):c(G,uY,G,z);else{var J=R6(G.type,X.memoizedProps);X=X.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||b4||(z.props!==G.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.",y(G)||"instance"),z.state!==G.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.",y(G)||"instance")),Q8(G)?(J8(),c(G,hQ,G,z,J,X,z.__reactInternalSnapshotBeforeUpdate),H8()):c(G,hQ,G,z,J,X,z.__reactInternalSnapshotBeforeUpdate)}H&64&&lB(G),H&512&&L7(G,G.return);break;case 3:if(X=k8(),U8(z,G),H&64&&(H=G.updateQueue,H!==null)){if(J=null,G.child!==null)switch(G.child.tag){case 27:case 5:J=G.child.stateNode;break;case 1:J=G.child.stateNode}try{c(G,p$,H,J)}catch(w){D1(G,G.return,w)}}z.effectDuration+=o5(X);break;case 27:X===null&&H&4&&oB(G);case 26:case 5:if(U8(z,G),X===null){if(H&4)sB(G);else if(H&64){z=G.type,X=G.memoizedProps,J=G.stateNode;try{c(G,nq,J,z,X,G)}catch(w){D1(G,G.return,w)}}}H&512&&L7(G,G.return);break;case 12:if(H&4){H=k8(),U8(z,G),z=G.stateNode,z.effectDuration+=H7(H);try{c(G,pB,G,X,v3,z.effectDuration)}catch(w){D1(G,G.return,w)}}else U8(z,G);break;case 31:U8(z,G),H&4&&eB(z,G);break;case 13:U8(z,G),H&4&&zH(z,G),H&64&&(z=G.memoizedState,z!==null&&(z=z.dehydrated,z!==null&&(H=Eq.bind(null,G),JW(z,H))));break;case 22:if(H=G.memoizedState!==null||n8,!H){X=X!==null&&X.memoizedState!==null||M0,J=n8;var Q=M0;n8=H,(M0=X)&&!Q?(q8(z,G,(G.subtreeFlags&8772)!==0),(G.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&m5(G,e,G1)):U8(z,G),n8=J,M0=Q}break;case 30:break;default:U8(z,G)}(G.mode&w1)!==Z1&&0<=e&&0<=G1&&((Z0||0.05<z0)&&X8(G,e,G1,z0,t1),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<G1-e&&(nB(G.return.alternate,G.return)||z8(G,e,G1,"Mount"))),Q2(Y),Z8(Z),t1=$,Z0=B}function rB(z){var X=z.alternate;X!==null&&(z.alternate=null,rB(X)),z.child=null,z.deletions=null,z.sibling=null,z.tag===5&&(X=z.stateNode,X!==null&&m(X)),z.stateNode=null,z._debugOwner=null,z.return=null,z.dependencies=null,z.memoizedProps=null,z.memoizedState=null,z.pendingProps=null,z.stateNode=null,z.updateQueue=null}function b8(z,X,G){for(G=G.child;G!==null;)tB(z,X,G),G=G.sibling}function tB(z,X,G){if(f0&&typeof f0.onCommitFiberUnmount==="function")try{f0.onCommitFiberUnmount(q4,G)}catch(Q){_8||(_8=!0,console.error("React instrumentation encountered an error: %o",Q))}var Y=J2(),Z=Y8(),$=$8(),B=B8();switch(G.tag){case 26:M0||R8(G,X),b8(z,X,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&(z=G.stateNode,z.parentNode.removeChild(z));break;case 27:M0||R8(G,X);var H=O0,J=z2;M3(G.type)&&(O0=G.stateNode,z2=!1),b8(z,X,G),c(G,x7,G.stateNode),O0=H,z2=J;break;case 5:M0||R8(G,X);case 6:if(H=O0,J=z2,O0=null,b8(z,X,G),O0=H,z2=J,O0!==null)if(z2)try{c(G,eq,O0,G.stateNode)}catch(Q){D1(G,X,Q)}else try{c(G,tq,O0,G.stateNode)}catch(Q){D1(G,X,Q)}break;case 18:O0!==null&&(z2?(z=O0,XJ(z.nodeType===9?z.body:z.nodeName==="HTML"?z.ownerDocument.body:z,G.stateNode),J4(z)):XJ(O0,G.stateNode));break;case 4:H=O0,J=z2,O0=G.stateNode.containerInfo,z2=!0,b8(z,X,G),O0=H,z2=J;break;case 0:case 11:case 14:case 15:z4(a0,G,X),M0||MG(G,X,_2),b8(z,X,G);break;case 1:M0||(R8(G,X),H=G.stateNode,typeof H.componentWillUnmount==="function"&&cB(G,X,H)),b8(z,X,G);break;case 21:b8(z,X,G);break;case 22:M0=(H=M0)||G.memoizedState!==null,b8(z,X,G),M0=H;break;default:b8(z,X,G)}(G.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(G,e,G1,z0,t1),Q2(Y),Z8(Z),t1=$,Z0=B}function eB(z,X){if(X.memoizedState===null&&(z=X.alternate,z!==null&&(z=z.memoizedState,z!==null))){z=z.dehydrated;try{c(X,RW,z)}catch(G){D1(X,X.return,G)}}}function zH(z,X){if(X.memoizedState===null&&(z=X.alternate,z!==null&&(z=z.memoizedState,z!==null&&(z=z.dehydrated,z!==null))))try{c(X,UW,z)}catch(G){D1(X,X.return,G)}}function Cq(z){switch(z.tag){case 31:case 13:case 19:var X=z.stateNode;return X===null&&(X=z.stateNode=new TR),X;case 22:return z=z.stateNode,X=z._retryCache,X===null&&(X=z._retryCache=new TR),X;default:throw Error("Unexpected Suspense handler tag ("+z.tag+"). This is a bug in React.")}}function Nz(z,X){var G=Cq(z);X.forEach(function(Y){if(!G.has(Y)){if(G.add(Y),L8)if(y4!==null&&m4!==null)I7(m4,y4);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Z=bq.bind(null,z,Y);Y.then(Z,Z)}})}function t0(z,X){var G=X.deletions;if(G!==null)for(var Y=0;Y<G.length;Y++){var Z=z,$=X,B=G[Y],H=J2(),J=$;z:for(;J!==null;){switch(J.tag){case 27:if(M3(J.type)){O0=J.stateNode,z2=!1;break z}break;case 5:O0=J.stateNode,z2=!1;break z;case 3:case 4:O0=J.stateNode.containerInfo,z2=!0;break z}J=J.return}if(O0===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");tB(Z,$,B),O0=null,z2=!1,(B.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&z8(B,e,G1,"Unmount"),Q2(H),Z=B,$=Z.alternate,$!==null&&($.return=null),Z.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)XH(X,z),X=X.sibling}function XH(z,X){var G=J2(),Y=Y8(),Z=$8(),$=B8(),B=z.alternate,H=z.flags;switch(z.tag){case 0:case 11:case 14:case 15:t0(X,z),e0(z),H&4&&(z4(a0|E2,z,z.return),_7(a0|E2,z),MG(z,z.return,_2|E2));break;case 1:if(t0(X,z),e0(z),H&512&&(M0||B===null||R8(B,B.return)),H&64&&n8&&(H=z.updateQueue,H!==null&&(B=H.callbacks,B!==null))){var J=H.shared.hiddenCallbacks;H.shared.hiddenCallbacks=J===null?B:J.concat(B)}break;case 26:if(J=o2,t0(X,z),e0(z),H&512&&(M0||B===null||R8(B,B.return)),H&4){var Q=B!==null?B.memoizedState:null;if(H=z.memoizedState,B===null)if(H===null)if(z.stateNode===null){z:{H=z.type,B=z.memoizedProps,J=J.ownerDocument||J;X:switch(H){case"title":if(Q=J.getElementsByTagName("title")[0],!Q||Q[E7]||Q[k0]||Q.namespaceURI===K4||Q.hasAttribute("itemprop"))Q=J.createElement(H),J.head.insertBefore(Q,J.querySelector("head > title"));D0(Q,H,B),Q[k0]=z,t(Q),H=Q;break z;case"link":var w=qJ("link","href",J).get(H+(B.href||""));if(w){for(var M=0;M<w.length;M++)if(Q=w[M],Q.getAttribute("href")===(B.href==null||B.href===""?null:B.href)&&Q.getAttribute("rel")===(B.rel==null?null:B.rel)&&Q.getAttribute("title")===(B.title==null?null:B.title)&&Q.getAttribute("crossorigin")===(B.crossOrigin==null?null:B.crossOrigin)){w.splice(M,1);break X}}Q=J.createElement(H),D0(Q,H,B),J.head.appendChild(Q);break;case"meta":if(w=qJ("meta","content",J).get(H+(B.content||""))){for(M=0;M<w.length;M++)if(Q=w[M],u1(B.content,"content"),Q.getAttribute("content")===(B.content==null?null:""+B.content)&&Q.getAttribute("name")===(B.name==null?null:B.name)&&Q.getAttribute("property")===(B.property==null?null:B.property)&&Q.getAttribute("http-equiv")===(B.httpEquiv==null?null:B.httpEquiv)&&Q.getAttribute("charset")===(B.charSet==null?null:B.charSet)){w.splice(M,1);break X}}Q=J.createElement(H),D0(Q,H,B),J.head.appendChild(Q);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+H+'". This is a bug in React.')}Q[k0]=z,t(Q),H=Q}z.stateNode=H}else WJ(J,z.type,z.stateNode);else z.stateNode=UJ(J,H,z.memoizedProps);else Q!==H?(Q===null?B.stateNode!==null&&(B=B.stateNode,B.parentNode.removeChild(B)):Q.count--,H===null?WJ(J,z.type,z.stateNode):UJ(J,H,z.memoizedProps)):H===null&&z.stateNode!==null&&_G(z,z.memoizedProps,B.memoizedProps)}break;case 27:t0(X,z),e0(z),H&512&&(M0||B===null||R8(B,B.return)),B!==null&&H&4&&_G(z,z.memoizedProps,B.memoizedProps);break;case 5:if(t0(X,z),e0(z),H&512&&(M0||B===null||R8(B,B.return)),z.flags&32){J=z.stateNode;try{c(z,eH,J)}catch(l){D1(z,z.return,l)}}H&4&&z.stateNode!=null&&(J=z.memoizedProps,_G(z,J,B!==null?B.memoizedProps:J)),H&1024&&(zZ=!0,z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(t0(X,z),e0(z),H&4){if(z.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.");H=z.memoizedProps,B=B!==null?B.memoizedProps:H,J=z.stateNode;try{c(z,rq,J,B,H)}catch(l){D1(z,z.return,l)}}break;case 3:if(J=k8(),m9=null,Q=o2,o2=jz(X.containerInfo),t0(X,z),o2=Q,e0(z),H&4&&B!==null&&B.memoizedState.isDehydrated)try{c(z,QW,X.containerInfo)}catch(l){D1(z,z.return,l)}zZ&&(zZ=!1,GH(z)),X.effectDuration+=o5(J);break;case 4:H=o2,o2=jz(z.stateNode.containerInfo),t0(X,z),e0(z),o2=H;break;case 12:H=k8(),t0(X,z),e0(z),z.stateNode.effectDuration+=H7(H);break;case 31:t0(X,z),e0(z),H&4&&(H=z.updateQueue,H!==null&&(z.updateQueue=null,Nz(z,H)));break;case 13:t0(X,z),e0(z),z.child.flags&8192&&z.memoizedState!==null!==(B!==null&&B.memoizedState!==null)&&(I9=T0()),H&4&&(H=z.updateQueue,H!==null&&(z.updateQueue=null,Nz(z,H)));break;case 22:J=z.memoizedState!==null;var q=B!==null&&B.memoizedState!==null,N=n8,b=M0;if(n8=N||J,M0=b||q,t0(X,z),M0=b,n8=N,q&&!J&&!N&&!b&&(z.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&m5(z,e,G1),e0(z),H&8192)z:for(X=z.stateNode,X._visibility=J?X._visibility&~c7:X._visibility|c7,!J||B===null||q||n8||M0||(U6(z),(z.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&z8(z,e,G1,"Disconnect")),B=null,X=z;;){if(X.tag===5||X.tag===26){if(B===null){q=B=X;try{Q=q.stateNode,J?c(q,XW,Q):c(q,ZW,q.stateNode,q.memoizedProps)}catch(l){D1(q,q.return,l)}}}else if(X.tag===6){if(B===null){q=X;try{w=q.stateNode,J?c(q,GW,w):c(q,$W,w,q.memoizedProps)}catch(l){D1(q,q.return,l)}}}else if(X.tag===18){if(B===null){q=X;try{M=q.stateNode,J?c(q,zW,M):c(q,YW,q.stateNode)}catch(l){D1(q,q.return,l)}}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===z)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===z)break z;for(;X.sibling===null;){if(X.return===null||X.return===z)break z;B===X&&(B=null),X=X.return}B===X&&(B=null),X.sibling.return=X.return,X=X.sibling}H&4&&(H=z.updateQueue,H!==null&&(B=H.retryQueue,B!==null&&(H.retryQueue=null,Nz(z,B))));break;case 19:t0(X,z),e0(z),H&4&&(H=z.updateQueue,H!==null&&(z.updateQueue=null,Nz(z,H)));break;case 30:break;case 21:break;default:t0(X,z),e0(z)}(z.mode&w1)!==Z1&&0<=e&&0<=G1&&((Z0||0.05<z0)&&X8(z,e,G1,z0,t1),z.alternate===null&&z.return!==null&&z.return.alternate!==null&&0.05<G1-e&&(nB(z.return.alternate,z.return)||z8(z,e,G1,"Mount"))),Q2(G),Z8(Y),t1=Z,Z0=$}function e0(z){var X=z.flags;if(X&2){try{c(z,Tq,z)}catch(G){D1(z,z.return,G)}z.flags&=-3}X&4096&&(z.flags&=-4097)}function GH(z){if(z.subtreeFlags&1024)for(z=z.child;z!==null;){var X=z;GH(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),z=z.sibling}}function U8(z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)iB(z,X.alternate,X),X=X.sibling}function YH(z){var X=J2(),G=Y8(),Y=$8(),Z=B8();switch(z.tag){case 0:case 11:case 14:case 15:MG(z,z.return,_2),U6(z);break;case 1:R8(z,z.return);var $=z.stateNode;typeof $.componentWillUnmount==="function"&&cB(z,z.return,$),U6(z);break;case 27:c(z,x7,z.stateNode);case 26:case 5:R8(z,z.return),U6(z);break;case 22:z.memoizedState===null&&U6(z);break;case 30:U6(z);break;default:U6(z)}(z.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(z,e,G1,z0,t1),Q2(X),Z8(G),t1=Y,Z0=Z}function U6(z){for(z=z.child;z!==null;)YH(z),z=z.sibling}function ZH(z,X,G,Y){var Z=J2(),$=Y8(),B=$8(),H=B8(),J=G.flags;switch(G.tag){case 0:case 11:case 15:q8(z,G,Y),uB(G,_2);break;case 1:if(q8(z,G,Y),X=G.stateNode,typeof X.componentDidMount==="function"&&c(G,uY,G,X),X=G.updateQueue,X!==null){z=G.stateNode;try{c(G,Qq,X,z)}catch(Q){D1(G,G.return,Q)}}Y&&J&64&&lB(G),L7(G,G.return);break;case 27:oB(G);case 26:case 5:q8(z,G,Y),Y&&X===null&&J&4&&sB(G),L7(G,G.return);break;case 12:if(Y&&J&4){J=k8(),q8(z,G,Y),Y=G.stateNode,Y.effectDuration+=H7(J);try{c(G,pB,G,X,v3,Y.effectDuration)}catch(Q){D1(G,G.return,Q)}}else q8(z,G,Y);break;case 31:q8(z,G,Y),Y&&J&4&&eB(z,G);break;case 13:q8(z,G,Y),Y&&J&4&&zH(z,G);break;case 22:G.memoizedState===null&&q8(z,G,Y),L7(G,G.return);break;case 30:break;default:q8(z,G,Y)}(G.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(G,e,G1,z0,t1),Q2(Z),Z8($),t1=B,Z0=H}function q8(z,X,G){G=G&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)ZH(z,X.alternate,X,G),X=X.sibling}function FG(z,X){var G=null;z!==null&&z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(G=z.memoizedState.cachePool.pool),z=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(z=X.memoizedState.cachePool.pool),z!==G&&(z!=null&&B6(z),G!=null&&B7(G))}function NG(z,X){z=null,X.alternate!==null&&(z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==z&&(B6(X),z!=null&&B7(z))}function d2(z,X,G,Y,Z){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var $=X.sibling;$H(z,X,G,Y,$!==null?$.actualStartTime:Z),X=$}}function $H(z,X,G,Y,Z){var $=J2(),B=Y8(),H=$8(),J=B8(),Q=N3,w=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&w1)!==Z1&&0<X.actualStartTime&&(X.flags&1)!==0&&f5(X,X.actualStartTime,Z,A0,G),d2(z,X,G,Y,Z),w&2048&&dB(X,o0|E2);break;case 1:(X.mode&w1)!==Z1&&0<X.actualStartTime&&((X.flags&128)!==0?$X(X,X.actualStartTime,Z,[]):(X.flags&1)!==0&&f5(X,X.actualStartTime,Z,A0,G)),d2(z,X,G,Y,Z);break;case 3:var M=k8(),q=A0;A0=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,d2(z,X,G,Y,Z),A0=q,w&2048&&(G=null,X.alternate!==null&&(G=X.alternate.memoizedState.cache),Y=X.memoizedState.cache,Y!==G&&(B6(Y),G!=null&&B7(G))),z.passiveEffectDuration+=o5(M);break;case 12:if(w&2048){w=k8(),d2(z,X,G,Y,Z),z=X.stateNode,z.passiveEffectDuration+=H7(w);try{c(X,Pq,X,X.alternate,v3,z.passiveEffectDuration)}catch(N){D1(X,X.return,N)}}else d2(z,X,G,Y,Z);break;case 31:w=A0,M=X.alternate!==null?X.alternate.memoizedState:null,q=X.memoizedState,M!==null&&q===null?(q=X.deletions,q!==null&&0<q.length&&q[0].tag===18?(A0=!1,M=M.hydrationErrors,M!==null&&$X(X,X.actualStartTime,Z,M)):A0=!0):A0=!1,d2(z,X,G,Y,Z),A0=w;break;case 13:w=A0,M=X.alternate!==null?X.alternate.memoizedState:null,q=X.memoizedState,M===null||M.dehydrated===null||q!==null&&q.dehydrated!==null?A0=!1:(q=X.deletions,q!==null&&0<q.length&&q[0].tag===18?(A0=!1,M=M.hydrationErrors,M!==null&&$X(X,X.actualStartTime,Z,M)):A0=!0),d2(z,X,G,Y,Z),A0=w;break;case 23:break;case 22:q=X.stateNode,M=X.alternate,X.memoizedState!==null?q._visibility&f8?d2(z,X,G,Y,Z):A7(z,X,G,Y,Z):q._visibility&f8?d2(z,X,G,Y,Z):(q._visibility|=f8,X4(z,X,G,Y,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),Z),(X.mode&w1)===Z1||A0||(z=X.actualStartTime,0<=z&&0.05<Z-z&&m5(X,z,Z),0<=e&&0<=G1&&0.05<G1-e&&m5(X,e,G1))),w&2048&&FG(M,X);break;case 24:d2(z,X,G,Y,Z),w&2048&&NG(X.alternate,X);break;default:d2(z,X,G,Y,Z)}if((X.mode&w1)!==Z1){if(z=!A0&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)G=X.actualStartTime,0<=G&&0.05<Z-G&&z8(X,G,Z,"Mount");0<=e&&0<=G1&&((Z0||0.05<z0)&&X8(X,e,G1,z0,t1),z&&0.05<G1-e&&z8(X,e,G1,"Mount"))}Q2($),Z8(B),t1=H,Z0=J,N3=Q}function X4(z,X,G,Y,Z,$){Z=Z&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var B=X.sibling;BH(z,X,G,Y,Z,B!==null?B.actualStartTime:$),X=B}}function BH(z,X,G,Y,Z,$){var B=J2(),H=Y8(),J=$8(),Q=B8(),w=N3;Z&&(X.mode&w1)!==Z1&&0<X.actualStartTime&&(X.flags&1)!==0&&f5(X,X.actualStartTime,$,A0,G);var M=X.flags;switch(X.tag){case 0:case 11:case 15:X4(z,X,G,Y,Z,$),dB(X,o0);break;case 23:break;case 22:var q=X.stateNode;X.memoizedState!==null?q._visibility&f8?X4(z,X,G,Y,Z,$):A7(z,X,G,Y,$):(q._visibility|=f8,X4(z,X,G,Y,Z,$)),Z&&M&2048&&FG(X.alternate,X);break;case 24:X4(z,X,G,Y,Z,$),Z&&M&2048&&NG(X.alternate,X);break;default:X4(z,X,G,Y,Z,$)}(X.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(X,e,G1,z0,t1),Q2(B),Z8(H),t1=J,Z0=Q,N3=w}function A7(z,X,G,Y,Z){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var $=X.child;$!==null;){X=$.sibling;var B=z,H=G,J=Y,Q=X!==null?X.actualStartTime:Z,w=N3;($.mode&w1)!==Z1&&0<$.actualStartTime&&($.flags&1)!==0&&f5($,$.actualStartTime,Q,A0,H);var M=$.flags;switch($.tag){case 22:A7(B,$,H,J,Q),M&2048&&FG($.alternate,$);break;case 24:A7(B,$,H,J,Q),M&2048&&NG($.alternate,$);break;default:A7(B,$,H,J,Q)}N3=w,$=X}}function G4(z,X,G){if(z.subtreeFlags&R5)for(z=z.child;z!==null;)HH(z,X,G),z=z.sibling}function HH(z,X,G){switch(z.tag){case 26:G4(z,X,G),z.flags&R5&&z.memoizedState!==null&&wW(G,o2,z.memoizedState,z.memoizedProps);break;case 5:G4(z,X,G);break;case 3:case 4:var Y=o2;o2=jz(z.stateNode.containerInfo),G4(z,X,G),o2=Y;break;case 22:z.memoizedState===null&&(Y=z.alternate,Y!==null&&Y.memoizedState!==null?(Y=R5,R5=16777216,G4(z,X,G),R5=Y):G4(z,X,G));break;default:G4(z,X,G)}}function JH(z){var X=z.alternate;if(X!==null&&(z=X.child,z!==null)){X.child=null;do X=z.sibling,z.sibling=null,z=X;while(z!==null)}}function F7(z){var X=z.deletions;if((z.flags&16)!==0){if(X!==null)for(var G=0;G<X.length;G++){var Y=X[G],Z=J2();C0=Y,UH(Y,z),(Y.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&z8(Y,e,G1,"Unmount"),Q2(Z)}JH(z)}if(z.subtreeFlags&10256)for(z=z.child;z!==null;)QH(z),z=z.sibling}function QH(z){var X=J2(),G=Y8(),Y=$8(),Z=B8();switch(z.tag){case 0:case 11:case 15:F7(z),z.flags&2048&&OG(z,z.return,o0|E2);break;case 3:var $=k8();F7(z),z.stateNode.passiveEffectDuration+=o5($);break;case 12:$=k8(),F7(z),z.stateNode.passiveEffectDuration+=H7($);break;case 22:$=z.stateNode,z.memoizedState!==null&&$._visibility&f8&&(z.return===null||z.return.tag!==13)?($._visibility&=~f8,Iz(z),(z.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&z8(z,e,G1,"Disconnect")):F7(z);break;default:F7(z)}(z.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(z,e,G1,z0,t1),Q2(X),Z8(G),Z0=Z,t1=Y}function Iz(z){var X=z.deletions;if((z.flags&16)!==0){if(X!==null)for(var G=0;G<X.length;G++){var Y=X[G],Z=J2();C0=Y,UH(Y,z),(Y.mode&w1)!==Z1&&0<=e&&0<=G1&&0.05<G1-e&&z8(Y,e,G1,"Unmount"),Q2(Z)}JH(z)}for(z=z.child;z!==null;)RH(z),z=z.sibling}function RH(z){var X=J2(),G=Y8(),Y=$8(),Z=B8();switch(z.tag){case 0:case 11:case 15:OG(z,z.return,o0),Iz(z);break;case 22:var $=z.stateNode;$._visibility&f8&&($._visibility&=~f8,Iz(z));break;default:Iz(z)}(z.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(z,e,G1,z0,t1),Q2(X),Z8(G),Z0=Z,t1=Y}function UH(z,X){for(;C0!==null;){var G=C0,Y=G,Z=X,$=J2(),B=Y8(),H=$8(),J=B8();switch(Y.tag){case 0:case 11:case 15:OG(Y,Z,o0);break;case 23:case 22:Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(Z=Y.memoizedState.cachePool.pool,Z!=null&&B6(Z));break;case 24:B7(Y.memoizedState.cache)}if((Y.mode&w1)!==Z1&&0<=e&&0<=G1&&(Z0||0.05<z0)&&X8(Y,e,G1,z0,t1),Q2($),Z8(B),Z0=J,t1=H,Y=G.child,Y!==null)Y.return=G,C0=Y;else z:for(G=z;C0!==null;){if(Y=C0,$=Y.sibling,B=Y.return,rB(Y),Y===G){C0=null;break z}if($!==null){$.return=B,C0=$;break z}C0=B}}}function xq(){nK.forEach(function(z){return z()})}function qH(){var z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return z||P.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),z}function U2(z){if((S1&F0)!==x0&&O1!==0)return O1&-O1;var X=P.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(z),jG()):A()}function WH(){if(G2===0)if((O1&536870912)===0||I1){var z=dz;dz<<=1,(dz&3932160)===0&&(dz=262144),G2=z}else G2=536870912;return z=O2.current,z!==null&&(z.flags|=32),G2}function Y0(z,X,G){if(u4&&console.error("useInsertionEffect must not schedule updates."),UZ&&(C9=!0),z===c1&&(f1===v6||f1===C6)||z.cancelPendingCommit!==null)Z4(z,0),K3(z,O1,G2,!1);if(G3(z,G),(S1&F0)!==x0&&z===c1){if(O8)switch(X.tag){case 0:case 11:case 15:z=_1&&y(_1)||"Unknown",hR.has(z)||(hR.add(z),X=y(X)||"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",X,z,z));break;case 1:fR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),fR=!0)}}else L8&&n4(z,X,G),mq(X),z===c1&&((S1&F0)===x0&&(E3|=G),X0===D3&&K3(z,O1,G2,!1)),W8(z)}function KH(z,X,G){if((S1&(F0|L2))!==x0)throw Error("Should not already be working.");if(O1!==0&&_1!==null){var Y=_1,Z=T0();switch(DQ){case W5:case v6:var $=i7;o1&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Suspended",$,Z,C2,void 0,"primary-light")):console.timeStamp("Suspended",$,Z,C2,void 0,"primary-light"));break;case C6:$=i7,o1&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Action",$,Z,C2,void 0,"primary-light")):console.timeStamp("Action",$,Z,C2,void 0,"primary-light"));break;default:o1&&(Y=Z-i7,3>Y||console.timeStamp("Blocked",i7,Z,C2,void 0,5>Y?"primary-light":10>Y?"primary":100>Y?"primary-dark":"error"))}}$=(G=!G&&(X&127)===0&&(X&z.expiredLanes)===0||a3(z,X))?jq(z,X):PG(z,X,!0);var B=G;do{if($===i8){f4&&!G&&K3(z,X,0,!1),X=f1,i7=W0(),DQ=X;break}else{if(Y=T0(),Z=z.current.alternate,B&&!Sq(Z)){B2(X),Z=v0,$=Y,!o1||$<=Z||(H0?H0.run(console.timeStamp.bind(console,"Teared Render",Z,$,N1,F1,"error")):console.timeStamp("Teared Render",Z,$,N1,F1,"error")),q6(X,Y),$=PG(z,X,!1),B=!1;continue}if($===T6){if(B=X,z.errorRecoveryDisabledLanes&B)var H=0;else H=z.pendingLanes&-536870913,H=H!==0?H:H&536870912?536870912:0;if(H!==0){B2(X),BX(v0,Y,X,H0),q6(X,Y),X=H;z:{Y=z,$=B,B=w5;var J=Y.current.memoizedState.isDehydrated;if(J&&(Z4(Y,H).flags|=256),H=PG(Y,H,!1),H!==T6){if(YZ&&!J){Y.errorRecoveryDisabledLanes|=$,E3|=$,$=D3;break z}Y=n0,n0=B,Y!==null&&(n0===null?n0=Y:n0.push.apply(n0,Y))}$=H}if(B=!1,$!==T6)continue;else Y=T0()}}if($===q5){B2(X),BX(v0,Y,X,H0),q6(X,Y),Z4(z,0),K3(z,X,0,!0);break}z:{switch(G=z,$){case i8:case q5:throw Error("Root did not complete. This is a bug in React.");case D3:if((X&4194048)!==X)break;case L9:B2(X),K$(v0,Y,X,H0),q6(X,Y),Z=X,(Z&127)!==0?Z9=Y:(Z&4194048)!==0&&($9=Y),K3(G,X,G2,!k3);break z;case T6:n0=null;break;case _9:case vR:break;default:throw Error("Unknown root exit status.")}if(P.actQueue!==null)TG(G,Z,X,n0,M5,N9,G2,E3,x6,$,null,null,v0,Y);else{if((X&62914560)===X&&(B=I9+SR-T0(),10<B)){if(K3(G,X,G2,!k3),s3(G,0,!0)!==0)break z;n2=X,G.timeoutHandle=oR(wH.bind(null,G,Z,n0,M5,N9,X,G2,E3,x6,k3,$,"Throttled",v0,Y),B);break z}wH(G,Z,n0,M5,N9,X,G2,E3,x6,k3,$,null,v0,Y)}}}break}while(1);W8(z)}function wH(z,X,G,Y,Z,$,B,H,J,Q,w,M,q,N){z.timeoutHandle=k6;var b=X.subtreeFlags,l=null;if(b&8192||(b&16785408)===16785408){if(l={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:S8},HH(X,$,l),b=($&62914560)===$?I9-T0():($&4194048)===$?xR-T0():0,b=MW(l,b),b!==null){n2=$,z.cancelPendingCommit=b(TG.bind(null,z,X,$,G,Y,Z,B,H,J,w,l,l.waitingForViewTransition?"Waiting for the previous Animation":0<l.count?0<l.imgCount?"Suspended on CSS and Images":"Suspended on CSS":l.imgCount===1?"Suspended on an Image":0<l.imgCount?"Suspended on Images":null,q,N)),K3(z,$,B,!Q);return}}TG(z,X,$,G,Y,Z,B,H,J,w,l,M,q,N)}function Sq(z){for(var X=z;;){var G=X.tag;if((G===0||G===11||G===15)&&X.flags&16384&&(G=X.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var Y=0;Y<G.length;Y++){var Z=G[Y],$=Z.getSnapshot;Z=Z.value;try{if(!p0($(),Z))return!1}catch(B){return!1}}if(G=X.child,X.subtreeFlags&16384&&G!==null)G.return=X,X=G;else{if(X===z)break;for(;X.sibling===null;){if(X.return===null||X.return===z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}}return!0}function K3(z,X,G,Y){X&=~ZZ,X&=~E3,z.suspendedLanes|=X,z.pingedLanes&=~X,Y&&(z.warmLanes|=X),Y=z.expirationTimes;for(var Z=X;0<Z;){var $=31-d0(Z),B=1<<$;Y[$]=-1,Z&=~B}G!==0&&o3(z,G,X)}function Y4(){return(S1&(F0|L2))===x0?(P7(0,!1),!1):!0}function IG(){if(_1!==null){if(f1===X2)var z=_1.return;else z=_1,p5(),gX(z),j4=null,$5=0,z=_1;for(;z!==null;)hB(z.alternate,z),z=z.return;_1=null}}function q6(z,X){(z&127)!==0&&(C3=X),(z&4194048)!==0&&(P8=X),(z&62914560)!==0&&(jQ=X),(z&2080374784)!==0&&(VQ=X)}function Z4(z,X){o1&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",F1,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",F1,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",F1,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",F1,"primary-light"));var G=v0;if(v0=W0(),O1!==0&&0<G){if(B2(O1),X0===_9||X0===D3)K$(G,v0,X,H0);else{var Y=v0,Z=H0;if(o1&&!(Y<=G)){var $=(X&738197653)===X?"tertiary-dark":"primary-dark",B=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";Z?Z.run(console.timeStamp.bind(console,B,G,Y,N1,F1,$)):console.timeStamp(B,G,Y,N1,F1,$)}}q6(O1,v0)}if(G=H0,H0=null,(X&127)!==0){H0=a7,Z=0<=I8&&I8<C3?C3:I8,Y=0<=O6&&O6<C3?C3:O6,$=0<=Y?Y:0<=Z?Z:v0,0<=Z9?(B2(2),w$(Z9,$,X,G)):(B9&127)!==0&&(B2(2),Z7(C3,$,p8)),G=Z;var H=Y,J=o7,Q=0<C4,w=x3===s7,M=x3===Y9;if(Z=v0,Y=a7,$=bY,B=yY,o1){if(N1="Blocking",0<G?G>Z&&(G=Z):G=Z,0<H?H>G&&(H=G):H=G,J!==null&&G>H){var q=Q?"secondary-light":"warning";Y?Y.run(console.timeStamp.bind(console,Q?"Consecutive":"Event: "+J,H,G,N1,F1,q)):console.timeStamp(Q?"Consecutive":"Event: "+J,H,G,N1,F1,q)}Z>G&&(H=w?"error":(X&738197653)===X?"tertiary-light":"primary-light",w=M?"Promise Resolved":w?"Cascading Update":5<Z-G?"Update Blocked":"Update",M=[],B!=null&&M.push(["Component name",B]),$!=null&&M.push(["Method name",$]),G={start:G,end:Z,detail:{devtools:{properties:M,track:N1,trackGroup:F1,color:H}}},Y?Y.run(performance.measure.bind(performance,w,G)):performance.measure(w,G))}I8=-1.1,x3=0,yY=bY=null,Z9=-1.1,C4=O6,O6=-1.1,C3=W0()}if((X&4194048)!==0&&(H0=n7,Z=0<=c8&&c8<P8?P8:c8,G=0<=k2&&k2<P8?P8:k2,Y=0<=S3&&S3<P8?P8:S3,$=0<=Y?Y:0<=G?G:v0,0<=$9?(B2(256),w$($9,$,X,H0)):(B9&4194048)!==0&&(B2(256),Z7(P8,$,p8)),M=Y,H=_6,J=0<j3,Q=mY===Y9,$=v0,Y=n7,B=xQ,w=SQ,o1&&(N1="Transition",0<G?G>$&&(G=$):G=$,0<Z?Z>G&&(Z=G):Z=G,0<M?M>Z&&(M=Z):M=Z,Z>M&&H!==null&&(q=J?"secondary-light":"warning",Y?Y.run(console.timeStamp.bind(console,J?"Consecutive":"Event: "+H,M,Z,N1,F1,q)):console.timeStamp(J?"Consecutive":"Event: "+H,M,Z,N1,F1,q)),G>Z&&(Y?Y.run(console.timeStamp.bind(console,"Action",Z,G,N1,F1,"primary-dark")):console.timeStamp("Action",Z,G,N1,F1,"primary-dark")),$>G&&(Z=Q?"Promise Resolved":5<$-G?"Update Blocked":"Update",M=[],w!=null&&M.push(["Component name",w]),B!=null&&M.push(["Method name",B]),G={start:G,end:$,detail:{devtools:{properties:M,track:N1,trackGroup:F1,color:"primary-light"}}},Y?Y.run(performance.measure.bind(performance,Z,G)):performance.measure(Z,G))),k2=c8=-1.1,mY=0,$9=-1.1,j3=S3,S3=-1.1,P8=W0()),(X&62914560)!==0&&(B9&62914560)!==0&&(B2(4194304),Z7(jQ,v0,p8)),(X&2080374784)!==0&&(B9&2080374784)!==0&&(B2(268435456),Z7(VQ,v0,p8)),G=z.timeoutHandle,G!==k6&&(z.timeoutHandle=k6,Jw(G)),G=z.cancelPendingCommit,G!==null&&(z.cancelPendingCommit=null,G()),n2=0,IG(),c1=z,_1=G=j8(z.current,null),O1=X,f1=X2,A2=null,k3=!1,f4=a3(z,X),YZ=!1,X0=i8,x6=G2=ZZ=E3=g3=0,n0=w5=null,N9=!1,(X&8)!==0&&(X|=X&32),Y=z.entangledLanes,Y!==0)for(z=z.entanglements,Y&=X;0<Y;)Z=31-d0(Y),$=1<<Z,X|=z[Z],Y&=~$;return v8=X,h5(),z=NQ(),1000<z-FQ&&(P.recentlyCreatedOwnerStacks=0,FQ=z),s2.discardPendingWarnings(),G}function MH(z,X){B1=null,P.H=Q5,P.getCurrentStack=null,O8=!1,K2=null,X===S4||X===R9?(X=y$(),f1=W5):X===dY?(X=y$(),f1=CR):f1=X===tY?GZ:X!==null&&typeof X==="object"&&typeof X.then==="function"?K5:A9,A2=X;var G=_1;G===null?(X0=q5,Mz(z,H2(X,z.current))):G.mode&w1&&FX(G)}function OH(){var z=O2.current;return z===null?!0:(O1&4194048)===O1?g2===null?!0:!1:(O1&62914560)===O1||(O1&536870912)!==0?z===g2:!1}function _H(){var z=P.H;return P.H=Q5,z===null?Q5:z}function LH(){var z=P.A;return P.A=oK,z}function Pz(z){H0===null&&(H0=z._debugTask==null?null:z._debugTask)}function Tz(){X0=D3,k3||(O1&4194048)!==O1&&O2.current!==null||(f4=!0),(g3&134217727)===0&&(E3&134217727)===0||c1===null||K3(c1,O1,G2,!1)}function PG(z,X,G){var Y=S1;S1|=F0;var Z=_H(),$=LH();if(c1!==z||O1!==X){if(L8){var B=z.memoizedUpdaters;0<B.size&&(I7(z,O1),B.clear()),Y3(z,X)}M5=null,Z4(z,X)}X=!1,B=X0;z:do try{if(f1!==X2&&_1!==null){var H=_1,J=A2;switch(f1){case GZ:IG(),B=L9;break z;case W5:case v6:case C6:case K5:O2.current===null&&(X=!0);var Q=f1;if(f1=X2,A2=null,$4(z,H,J,Q),G&&f4){B=i8;break z}break;default:Q=f1,f1=X2,A2=null,$4(z,H,J,Q)}}AH(),B=X0;break}catch(w){MH(z,w)}while(1);return X&&z.shellSuspendCounter++,p5(),S1=Y,P.H=Z,P.A=$,_1===null&&(c1=null,O1=0,h5()),B}function AH(){for(;_1!==null;)FH(_1)}function jq(z,X){var G=S1;S1|=F0;var Y=_H(),Z=LH();if(c1!==z||O1!==X){if(L8){var $=z.memoizedUpdaters;0<$.size&&(I7(z,O1),$.clear()),Y3(z,X)}M5=null,P9=T0()+jR,Z4(z,X)}else f4=a3(z,X);z:do try{if(f1!==X2&&_1!==null)X:switch(X=_1,$=A2,f1){case A9:f1=X2,A2=null,$4(z,X,$,A9);break;case v6:case C6:if(E$($)){f1=X2,A2=null,NH(X);break}X=function(){f1!==v6&&f1!==C6||c1!==z||(f1=F9),W8(z)},$.then(X,X);break z;case W5:f1=F9;break z;case CR:f1=XZ;break z;case F9:E$($)?(f1=X2,A2=null,NH(X)):(f1=X2,A2=null,$4(z,X,$,F9));break;case XZ:var B=null;switch(_1.tag){case 26:B=_1.memoizedState;case 5:case 27:var H=_1;if(B?KJ(B):H.stateNode.complete){f1=X2,A2=null;var J=H.sibling;if(J!==null)_1=J;else{var Q=H.return;Q!==null?(_1=Q,vz(Q)):_1=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}f1=X2,A2=null,$4(z,X,$,XZ);break;case K5:f1=X2,A2=null,$4(z,X,$,K5);break;case GZ:IG(),X0=L9;break z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}P.actQueue!==null?AH():Vq();break}catch(w){MH(z,w)}while(1);if(p5(),P.H=Y,P.A=Z,S1=G,_1!==null)return i8;return c1=null,O1=0,h5(),X0}function Vq(){for(;_1!==null&&!SW();)FH(_1)}function FH(z){var X=z.alternate;(z.mode&w1)!==Z1?(AX(z),X=c(z,KG,X,z,v8),FX(z)):X=c(z,KG,X,z,v8),z.memoizedProps=z.pendingProps,X===null?vz(z):_1=X}function NH(z){var X=c(z,Dq,z);z.memoizedProps=z.pendingProps,X===null?vz(z):_1=X}function Dq(z){var X=z.alternate,G=(z.mode&w1)!==Z1;switch(G&&AX(z),z.tag){case 15:case 0:X=kB(X,z,z.pendingProps,z.type,void 0,O1);break;case 11:X=kB(X,z,z.pendingProps,z.type.render,z.ref,O1);break;case 5:gX(z);default:hB(X,z),z=_1=F$(z,v8),X=KG(X,z,v8)}return G&&FX(z),X}function $4(z,X,G,Y){p5(),gX(X),j4=null,$5=0;var Z=X.return;try{if(Mq(z,Z,X,G,O1)){X0=q5,Mz(z,H2(G,z.current)),_1=null;return}}catch($){if(Z!==null)throw _1=Z,$;X0=q5,Mz(z,H2(G,z.current)),_1=null;return}if(X.flags&32768){if(I1||Y===A9)z=!0;else if(f4||(O1&536870912)!==0)z=!1;else if(k3=z=!0,Y===v6||Y===C6||Y===W5||Y===K5)Y=O2.current,Y!==null&&Y.tag===13&&(Y.flags|=16384);IH(X,z)}else vz(X)}function vz(z){var X=z;do{if((X.flags&32768)!==0){IH(X,k3);return}var G=X.alternate;if(z=X.return,AX(X),G=c(X,Lq,G,X,v8),(X.mode&w1)!==Z1&&j$(X),G!==null){_1=G;return}if(X=X.sibling,X!==null){_1=X;return}_1=X=z}while(X!==null);X0===i8&&(X0=vR)}function IH(z,X){do{var G=Aq(z.alternate,z);if(G!==null){G.flags&=32767,_1=G;return}if((z.mode&w1)!==Z1){j$(z),G=z.actualDuration;for(var Y=z.child;Y!==null;)G+=Y.actualDuration,Y=Y.sibling;z.actualDuration=G}if(G=z.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!X&&(z=z.sibling,z!==null)){_1=z;return}_1=z=G}while(z!==null);X0=L9,_1=null}function TG(z,X,G,Y,Z,$,B,H,J,Q,w,M,q,N){z.cancelPendingCommit=null;do N7();while(_0!==y3);if(s2.flushLegacyContextWarning(),s2.flushPendingUnsafeLifecycleWarnings(),(S1&(F0|L2))!==x0)throw Error("Should not already be working.");if(B2(G),Q===T6?BX(q,N,G,H0):Y!==null?Yq(q,N,G,Y,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,H0):Gq(q,N,G,H0),X!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),X===z.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($=X.lanes|X.childLanes,$|=VY,S5(z,G,$,B,H,J),z===c1&&(_1=c1=null,O1=0),h4=X,m3=z,n2=G,HZ=$,QZ=Z,bR=Y,JZ=N,yR=M,i2=T9,mR=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(z.callbackNode=null,z.callbackPriority=0,yq(U4,function(){return N5=window.event,i2===T9&&(i2=BZ),xH(),null})):(z.callbackNode=null,z.callbackPriority=0),l8=null,v3=W0(),M!==null&&Zq(N,v3,M,H0),Y=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||Y){Y=P.T,P.T=null,Z=k1.p,k1.p=w2,B=S1,S1|=L2;try{vq(z,X,G)}finally{S1=B,k1.p=Z,P.T=Y}}_0=DR,PH(),TH(),vH()}}function PH(){if(_0===DR){_0=y3;var z=m3,X=h4,G=n2,Y=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||Y){Y=P.T,P.T=null;var Z=k1.p;k1.p=w2;var $=S1;S1|=L2;try{y4=G,m4=z,n5(),XH(X,z),m4=y4=null,G=AZ;var B=U$(z.containerInfo),H=G.focusedElem,J=G.selectionRange;if(B!==H&&H&&H.ownerDocument&&R$(H.ownerDocument.documentElement,H)){if(J!==null&&YX(H)){var{start:Q,end:w}=J;if(w===void 0&&(w=Q),"selectionStart"in H)H.selectionStart=Q,H.selectionEnd=Math.min(w,H.value.length);else{var M=H.ownerDocument||document,q=M&&M.defaultView||window;if(q.getSelection){var N=q.getSelection(),b=H.textContent.length,l=Math.min(J.start,b),a1=J.end===void 0?l:Math.min(J.end,b);!N.extend&&l>a1&&(B=a1,a1=l,l=B);var T1=Q$(H,l),U=Q$(H,a1);if(T1&&U&&(N.rangeCount!==1||N.anchorNode!==T1.node||N.anchorOffset!==T1.offset||N.focusNode!==U.node||N.focusOffset!==U.offset)){var W=M.createRange();W.setStart(T1.node,T1.offset),N.removeAllRanges(),l>a1?(N.addRange(W),N.extend(U.node,U.offset)):(W.setEnd(U.node,U.offset),N.addRange(W))}}}}M=[];for(N=H;N=N.parentNode;)N.nodeType===1&&M.push({element:N,left:N.scrollLeft,top:N.scrollTop});typeof H.focus==="function"&&H.focus();for(H=0;H<M.length;H++){var K=M[H];K.element.scrollLeft=K.left,K.element.scrollTop=K.top}}u9=!!LZ,AZ=LZ=null}finally{S1=$,k1.p=Z,P.T=Y}}z.current=X,_0=kR}}function TH(){if(_0===kR){_0=y3;var z=mR;if(z!==null){v3=W0();var X=d8,G=v3;!o1||G<=X||(p8?p8.run(console.timeStamp.bind(console,z,X,G,N1,F1,"secondary-light")):console.timeStamp(z,X,G,N1,F1,"secondary-light"))}z=m3,X=h4,G=n2;var Y=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||Y){Y=P.T,P.T=null;var Z=k1.p;k1.p=w2;var $=S1;S1|=L2;try{y4=G,m4=z,n5(),iB(z,X.alternate,X),m4=y4=null}finally{S1=$,k1.p=Z,P.T=Y}}z=JZ,X=yR,d8=W0(),z=X===null?z:v3,X=d8,G=i2===$Z,Y=H0,l8!==null?M$(z,X,l8,!1,Y):!o1||X<=z||(Y?Y.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",z,X,N1,F1,G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",z,X,N1,F1,G?"error":"secondary-dark")),_0=gR}}function vH(){if(_0===ER||_0===gR){if(_0===ER){var z=d8;d8=W0();var X=d8,G=i2===$Z;!o1||X<=z||(p8?p8.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",z,X,N1,F1,G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",z,X,N1,F1,G?" error":"secondary-light")),i2!==$Z&&(i2=VR)}_0=y3,jW(),z=m3;var Y=h4;X=n2,G=bR;var Z=Y.actualDuration!==0||(Y.subtreeFlags&10256)!==0||(Y.flags&10256)!==0;Z?_0=v9:(_0=y3,h4=m3=null,CH(z,z.pendingLanes),S6=0,_5=null);var $=z.pendingLanes;if($===0&&(b3=null),Z||DH(z),$=R(X),Y=Y.stateNode,f0&&typeof f0.onCommitFiberRoot==="function")try{var B=(Y.current.flags&128)===128;switch($){case w2:var H=QY;break;case c2:H=RY;break;case A8:H=U4;break;case cz:H=UY;break;default:H=U4}f0.onCommitFiberRoot(q4,Y,H,B)}catch(M){_8||(_8=!0,console.error("React instrumentation encountered an error: %o",M))}if(L8&&z.memoizedUpdaters.clear(),xq(),G!==null){B=P.T,H=k1.p,k1.p=w2,P.T=null;try{var J=z.onRecoverableError;for(Y=0;Y<G.length;Y++){var Q=G[Y],w=kq(Q.stack);c(Q.source,J,Q.value,w)}}finally{P.T=B,k1.p=H}}(n2&3)!==0&&N7(),W8(z),$=z.pendingLanes,(X&261930)!==0&&($&42)!==0?(J9=!0,z===RZ?O5++:(O5=0,RZ=z)):O5=0,Z||q6(X,d8),P7(0,!1)}}function kq(z){return z={componentStack:z},Object.defineProperty(z,"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.')}}),z}function CH(z,X){(z.pooledCacheLanes&=X)===0&&(X=z.pooledCache,X!=null&&(z.pooledCache=null,B7(X)))}function N7(){return PH(),TH(),vH(),xH()}function xH(){if(_0!==v9)return!1;var z=m3,X=HZ;HZ=0;var G=R(n2),Y=A8===0||A8>G?A8:G;G=P.T;var Z=k1.p;try{k1.p=Y,P.T=null;var $=QZ;QZ=null,Y=m3;var B=n2;if(_0=y3,h4=m3=null,n2=0,(S1&(F0|L2))!==x0)throw Error("Cannot flush passive effects while already rendering.");B2(B),UZ=!0,C9=!1;var H=0;if(l8=null,H=T0(),i2===VR)Z7(d8,H,p8);else{var J=d8,Q=H,w=i2===BZ;!o1||Q<=J||(H0?H0.run(console.timeStamp.bind(console,w?"Waiting for Paint":"Waiting",J,Q,N1,F1,"secondary-light")):console.timeStamp(w?"Waiting for Paint":"Waiting",J,Q,N1,F1,"secondary-light"))}J=S1,S1|=L2;var M=Y.current;n5(),QH(M);var q=Y.current;M=JZ,n5(),$H(Y,q,B,$,M),DH(Y),S1=J;var N=T0();if(q=H,M=H0,l8!==null?M$(q,N,l8,!0,M):!o1||N<=q||(M?M.run(console.timeStamp.bind(console,"Remaining Effects",q,N,N1,F1,"secondary-dark")):console.timeStamp("Remaining Effects",q,N,N1,F1,"secondary-dark")),q6(B,N),P7(0,!1),C9?Y===_5?S6++:(S6=0,_5=Y):S6=0,C9=UZ=!1,f0&&typeof f0.onPostCommitFiberRoot==="function")try{f0.onPostCommitFiberRoot(q4,Y)}catch(l){_8||(_8=!0,console.error("React instrumentation encountered an error: %o",l))}var b=Y.current.stateNode;return b.effectDuration=0,b.passiveEffectDuration=0,!0}finally{k1.p=Z,P.T=G,CH(z,X)}}function SH(z,X,G){X=H2(G,X),V$(X),X=YG(z.stateNode,X,2),z=R3(z,X,2),z!==null&&(G3(z,2),W8(z))}function D1(z,X,G){if(u4=!1,z.tag===3)SH(z,z,G);else{for(;X!==null;){if(X.tag===3){SH(X,z,G);return}if(X.tag===1){var Y=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof Y.componentDidCatch==="function"&&(b3===null||!b3.has(Y))){z=H2(G,z),V$(z),G=ZG(2),Y=R3(X,G,2),Y!==null&&($G(G,Y,X,z),G3(Y,2),W8(Y));return}}X=X.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.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,G)}}function vG(z,X,G){var Y=z.pingCache;if(Y===null){Y=z.pingCache=new iK;var Z=new Set;Y.set(X,Z)}else Z=Y.get(X),Z===void 0&&(Z=new Set,Y.set(X,Z));Z.has(G)||(YZ=!0,Z.add(G),Y=gq.bind(null,z,X,G),L8&&I7(z,G),X.then(Y,Y))}function gq(z,X,G){var Y=z.pingCache;Y!==null&&Y.delete(X),z.pingedLanes|=z.suspendedLanes&G,z.warmLanes&=~G,(G&127)!==0?0>I8&&(C3=I8=W0(),a7=G9("Promise Resolved"),x3=Y9):(G&4194048)!==0&&0>k2&&(P8=k2=W0(),n7=G9("Promise Resolved"),mY=Y9),qH()&&P.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
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`),c1===z&&(O1&G)===G&&(X0===D3||X0===_9&&(O1&62914560)===O1&&T0()-I9<SR?(S1&F0)===x0&&Z4(z,0):ZZ|=G,x6===O1&&(x6=0)),W8(z)}function jH(z,X){X===0&&(X=l6()),z=m0(z,X),z!==null&&(G3(z,X),W8(z))}function Eq(z){var X=z.memoizedState,G=0;X!==null&&(G=X.retryLane),jH(z,G)}function bq(z,X){var G=0;switch(z.tag){case 31:case 13:var{stateNode:Y,memoizedState:Z}=z;Z!==null&&(G=Z.retryLane);break;case 19:Y=z.stateNode;break;case 22:Y=z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}Y!==null&&Y.delete(X),jH(z,G)}function CG(z,X,G){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var Y=z,Z=X,$=Z.type===mz;$=G||$,Z.tag!==22?Z.flags&67108864?$&&c(Z,VH,Y,Z):CG(Y,Z,$):Z.memoizedState===null&&($&&Z.flags&8192?c(Z,VH,Y,Z):Z.subtreeFlags&67108864&&c(Z,CG,Y,Z,$)),X=X.sibling}}function VH(z,X){p1(!0);try{YH(X),RH(X),ZH(z,X.alternate,X,!1),BH(z,X,0,null,!1,0)}finally{p1(!1)}}function DH(z){var X=!0;z.current.mode&(h0|p2)||(X=!1),CG(z,z.current,X)}function kH(z){if((S1&F0)===x0){var X=z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=y(z)||"ReactComponent",x9!==null){if(x9.has(X))return;x9.add(X)}else x9=new Set([X]);c(z,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 tries to update the component. Move this work to useEffect instead.")})}}}function I7(z,X){L8&&z.memoizedUpdaters.forEach(function(G){n4(z,G,X)})}function yq(z,X){var G=P.actQueue;return G!==null?(G.push(X),eK):JY(z,X)}function mq(z){qH()&&P.actQueue===null&&c(z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
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`,y(z))})}function W8(z){z!==d4&&z.next===null&&(d4===null?S9=d4=z:d4=d4.next=z),j9=!0,P.actQueue!==null?WZ||(WZ=!0,yH()):qZ||(qZ=!0,yH())}function P7(z,X){if(!KZ&&j9){KZ=!0;do{var G=!1;for(var Y=S9;Y!==null;){if(!X)if(z!==0){var Z=Y.pendingLanes;if(Z===0)var $=0;else{var{suspendedLanes:B,pingedLanes:H}=Y;$=(1<<31-d0(42|z)+1)-1,$&=Z&~(B&~H),$=$&201326741?$&201326741|1:$?$|2:0}$!==0&&(G=!0,bH(Y,$))}else $=O1,$=s3(Y,Y===c1?$:0,Y.cancelPendingCommit!==null||Y.timeoutHandle!==k6),($&3)===0||a3(Y,$)||(G=!0,bH(Y,$));Y=Y.next}}while(G);KZ=!1}}function fq(){N5=window.event,xG()}function xG(){j9=WZ=qZ=!1;var z=0;f3!==0&&sq()&&(z=f3);for(var X=T0(),G=null,Y=S9;Y!==null;){var Z=Y.next,$=gH(Y,X);if($===0)Y.next=null,G===null?S9=Z:G.next=Z,Z===null&&(d4=G);else if(G=Y,z!==0||($&3)!==0)j9=!0;Y=Z}_0!==y3&&_0!==v9||P7(z,!1),f3!==0&&(f3=0)}function gH(z,X){for(var{suspendedLanes:G,pingedLanes:Y,expirationTimes:Z}=z,$=z.pendingLanes&-62914561;0<$;){var B=31-d0($),H=1<<B,J=Z[B];if(J===-1){if((H&G)===0||(H&Y)!==0)Z[B]=s9(H,X)}else J<=X&&(z.expiredLanes|=H);$&=~H}if(X=c1,G=O1,G=s3(z,z===X?G:0,z.cancelPendingCommit!==null||z.timeoutHandle!==k6),Y=z.callbackNode,G===0||z===X&&(f1===v6||f1===C6)||z.cancelPendingCommit!==null)return Y!==null&&SG(Y),z.callbackNode=null,z.callbackPriority=0;if((G&3)===0||a3(z,G)){if(X=G&-G,X!==z.callbackPriority||P.actQueue!==null&&Y!==wZ)SG(Y);else return X;switch(R(G)){case w2:case c2:G=RY;break;case A8:G=U4;break;case cz:G=UY;break;default:G=U4}return Y=EH.bind(null,z),P.actQueue!==null?(P.actQueue.push(Y),G=wZ):G=JY(G,Y),z.callbackPriority=X,z.callbackNode=G,X}return Y!==null&&SG(Y),z.callbackPriority=2,z.callbackNode=null,2}function EH(z,X){if(J9=H9=!1,N5=window.event,_0!==y3&&_0!==v9)return z.callbackNode=null,z.callbackPriority=0,null;var G=z.callbackNode;if(i2===T9&&(i2=BZ),N7()&&z.callbackNode!==G)return null;var Y=O1;if(Y=s3(z,z===c1?Y:0,z.cancelPendingCommit!==null||z.timeoutHandle!==k6),Y===0)return null;return KH(z,Y,X),gH(z,T0()),z.callbackNode!=null&&z.callbackNode===G?EH.bind(null,z):null}function bH(z,X){if(N7())return null;H9=J9,J9=!1,KH(z,X,!0)}function SG(z){z!==wZ&&z!==null&&xW(z)}function yH(){P.actQueue!==null&&P.actQueue.push(function(){return xG(),null}),Qw(function(){(S1&(F0|L2))!==x0?JY(QY,fq):xG()})}function jG(){if(f3===0){var z=L6;z===0&&(z=uz,uz<<=1,(uz&261888)===0&&(uz=256)),f3=z}return f3}function mH(z){if(z==null||typeof z==="symbol"||typeof z==="boolean")return null;if(typeof z==="function")return z;return u1(z,"action"),X7(""+z)}function fH(z,X){var G=X.ownerDocument.createElement("input");return G.name=X.name,G.value=X.value,z.id&&G.setAttribute("form",z.id),X.parentNode.insertBefore(G,X),z=new FormData(z),G.parentNode.removeChild(G),z}function hq(z,X,G,Y,Z){if(X==="submit"&&G&&G.stateNode===Z){var $=mH((Z[l0]||null).action),B=Y.submitter;B&&(X=(X=B[l0]||null)?mH(X.formAction):B.getAttribute("formAction"),X!==null&&($=X,B=null));var H=new nz("action","action",null,Y,Z);z.push({event:H,listeners:[{instance:null,listener:function(){if(Y.defaultPrevented){if(f3!==0){var J=B?fH(Z,B):new FormData(Z),Q={pending:!0,data:J,method:Z.method,action:$};Object.freeze(Q),iX(G,Q,null,J)}}else typeof $==="function"&&(H.preventDefault(),J=B?fH(Z,B):new FormData(Z),Q={pending:!0,data:J,method:Z.method,action:$},Object.freeze(Q),iX(G,Q,$,J))},currentTarget:Z}]})}}function Cz(z,X,G){z.currentTarget=G;try{X(z)}catch(Y){CY(Y)}z.currentTarget=null}function hH(z,X){X=(X&4)!==0;for(var G=0;G<z.length;G++){var Y=z[G];z:{var Z=void 0,$=Y.event;if(Y=Y.listeners,X)for(var B=Y.length-1;0<=B;B--){var H=Y[B],J=H.instance,Q=H.currentTarget;if(H=H.listener,J!==Z&&$.isPropagationStopped())break z;J!==null?c(J,Cz,$,H,Q):Cz($,H,Q),Z=J}else for(B=0;B<Y.length;B++){if(H=Y[B],J=H.instance,Q=H.currentTarget,H=H.listener,J!==Z&&$.isPropagationStopped())break z;J!==null?c(J,Cz,$,H,Q):Cz($,H,Q),Z=J}}}}function P1(z,X){MZ.has(z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',z);var G=X[qY];G===void 0&&(G=X[qY]=new Set);var Y=z+"__bubble";G.has(Y)||(uH(X,z,2,!1),G.add(Y))}function VG(z,X,G){MZ.has(z)&&!X&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',z);var Y=0;X&&(Y|=4),uH(G,z,Y,X)}function DG(z){if(!z[V9]){z[V9]=!0,yJ.forEach(function(G){G!=="selectionchange"&&(MZ.has(G)||VG(G,!1,z),VG(G,!0,z))});var X=z.nodeType===9?z:z.ownerDocument;X===null||X[V9]||(X[V9]=!0,VG("selectionchange",!1,X))}}function uH(z,X,G,Y){switch(AJ(X)){case w2:var Z=AW;break;case c2:Z=FW;break;default:Z=oG}G=Z.bind(null,X,G,z),Z=void 0,!OY||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(Z=!0),Y?Z!==void 0?z.addEventListener(X,G,{capture:!0,passive:Z}):z.addEventListener(X,G,!0):Z!==void 0?z.addEventListener(X,G,{passive:Z}):z.addEventListener(X,G,!1)}function kG(z,X,G,Y,Z){var $=Y;if((X&1)===0&&(X&2)===0&&Y!==null)z:for(;;){if(Y===null)return;var B=Y.tag;if(B===3||B===4){var H=Y.stateNode.containerInfo;if(H===Z)break;if(B===4)for(B=Y.return;B!==null;){var J=B.tag;if((J===3||J===4)&&B.stateNode.containerInfo===Z)return;B=B.return}for(;H!==null;){if(B=a(H),B===null)return;if(J=B.tag,J===5||J===6||J===26||J===27){Y=$=B;continue z}H=H.parentNode}}Y=Y.return}tZ(function(){var Q=$,w=XX(G),M=[];z:{var q=AQ.get(z);if(q!==void 0){var N=nz,b=z;switch(z){case"keypress":if(E5(G)===0)break z;case"keydown":case"keyup":N=wK;break;case"focusin":b="focus",N=FY;break;case"focusout":b="blur",N=FY;break;case"beforeblur":case"afterblur":N=FY;break;case"click":if(G.button===2)break z;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=BQ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=YK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=_K;break;case MQ:case OQ:case _Q:N=BK;break;case LQ:N=AK;break;case"scroll":case"scrollend":N=XK;break;case"wheel":N=NK;break;case"copy":case"cut":case"paste":N=JK;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=JQ;break;case"toggle":case"beforetoggle":N=PK}var l=(X&4)!==0,a1=!l&&(z==="scroll"||z==="scrollend"),T1=l?q!==null?q+"Capture":null:q;l=[];for(var U=Q,W;U!==null;){var K=U;if(W=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||W===null||T1===null||(K=G7(U,T1),K!=null&&l.push(T7(U,K,W))),a1)break;U=U.return}0<l.length&&(q=new N(q,b,null,G,w),M.push({event:q,listeners:l}))}}if((X&7)===0){z:{if(q=z==="mouseover"||z==="pointerover",N=z==="mouseout"||z==="pointerout",q&&G!==b7&&(b=G.relatedTarget||G.fromElement)&&(a(b)||b[A3]))break z;if(N||q){if(q=w.window===w?w:(q=w.ownerDocument)?q.defaultView||q.parentWindow:window,N){if(b=G.relatedTarget||G.toElement,N=Q,b=b?a(b):null,b!==null&&(a1=b0(b),l=b.tag,b!==a1||l!==5&&l!==27&&l!==6))b=null}else N=null,b=Q;if(N!==b){if(l=BQ,K="onMouseLeave",T1="onMouseEnter",U="mouse",z==="pointerout"||z==="pointerover")l=JQ,K="onPointerLeave",T1="onPointerEnter",U="pointer";if(a1=N==null?q:R1(N),W=b==null?q:R1(b),q=new l(K,U+"leave",N,G,w),q.target=a1,q.relatedTarget=W,K=null,a(w)===Q&&(l=new l(T1,U+"enter",b,G,w),l.target=W,l.relatedTarget=a1,K=l),a1=K,N&&b)X:{l=uq,T1=N,U=b,W=0;for(K=T1;K;K=l(K))W++;K=0;for(var v=U;v;v=l(v))K++;for(;0<W-K;)T1=l(T1),W--;for(;0<K-W;)U=l(U),K--;for(;W--;){if(T1===U||U!==null&&T1===U.alternate){l=T1;break X}T1=l(T1),U=l(U)}l=null}else l=null;N!==null&&dH(M,q,N,l,!1),b!==null&&a1!==null&&dH(M,a1,b,l,!0)}}}z:{if(q=Q?R1(Q):window,N=q.nodeName&&q.nodeName.toLowerCase(),N==="select"||N==="input"&&q.type==="file")var f=$$;else if(Y$(q))if(KQ)f=eU;else{f=rU;var H1=iU}else N=q.nodeName,!N||N.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?Q&&z7(Q.elementType)&&(f=$$):f=tU;if(f&&(f=f(z,Q))){Z$(M,f,G,w);break z}H1&&H1(z,q,Q),z==="focusout"&&Q&&q.type==="number"&&Q.memoizedProps.value!=null&&n9(q,"number",q.value)}switch(H1=Q?R1(Q):window,z){case"focusin":if(Y$(H1)||H1.contentEditable==="true")L4=H1,IY=Q,l7=null;break;case"focusout":l7=IY=L4=null;break;case"mousedown":PY=!0;break;case"contextmenu":case"mouseup":case"dragend":PY=!1,q$(M,G,w);break;case"selectionchange":if(xK)break;case"keydown":case"keyup":q$(M,G,w)}var i;if(NY)z:{switch(z){case"compositionstart":var n="onCompositionStart";break z;case"compositionend":n="onCompositionEnd";break z;case"compositionupdate":n="onCompositionUpdate";break z}n=void 0}else _4?X$(z,G)&&(n="onCompositionEnd"):z==="keydown"&&G.keyCode===QQ&&(n="onCompositionStart");if(n&&(RQ&&G.locale!=="ko"&&(_4||n!=="onCompositionStart"?n==="onCompositionEnd"&&_4&&(i=eZ()):(F3=w,_Y=("value"in F3)?F3.value:F3.textContent,_4=!0)),H1=xz(Q,n),0<H1.length&&(n=new HQ(n,z,null,G,w),M.push({event:n,listeners:H1}),i?n.data=i:(i=G$(G),i!==null&&(n.data=i)))),i=vK?sU(z,G):aU(z,G))n=xz(Q,"onBeforeInput"),0<n.length&&(H1=new RK("onBeforeInput","beforeinput",null,G,w),M.push({event:H1,listeners:n}),H1.data=i);hq(M,z,Q,G,w)}hH(M,X)})}function T7(z,X,G){return{instance:z,listener:X,currentTarget:G}}function xz(z,X){for(var G=X+"Capture",Y=[];z!==null;){var Z=z,$=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||$===null||(Z=G7(z,G),Z!=null&&Y.unshift(T7(z,Z,$)),Z=G7(z,X),Z!=null&&Y.push(T7(z,Z,$))),z.tag===3)return Y;z=z.return}return[]}function uq(z){if(z===null)return null;do z=z.return;while(z&&z.tag!==5&&z.tag!==27);return z?z:null}function dH(z,X,G,Y,Z){for(var $=X._reactName,B=[];G!==null&&G!==Y;){var H=G,J=H.alternate,Q=H.stateNode;if(H=H.tag,J!==null&&J===Y)break;H!==5&&H!==26&&H!==27||Q===null||(J=Q,Z?(Q=G7(G,$),Q!=null&&B.unshift(T7(G,Q,J))):Z||(Q=G7(G,$),Q!=null&&B.push(T7(G,Q,J)))),G=G.return}B.length!==0&&z.push({event:X,listeners:B})}function gG(z,X){dU(z,X),z!=="input"&&z!=="textarea"&&z!=="select"||X==null||X.value!==null||ZQ||(ZQ=!0,z==="select"&&X.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.",z):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",z));var G={registrationNameDependencies:W6,possibleRegistrationNames:WY};z7(z)||typeof X.is==="string"||cU(z,X,G),X.contentEditable&&!X.suppressContentEditableWarning&&X.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 P0(z,X,G,Y){X!==G&&(G=w3(G),w3(X)!==G&&(Y[z]=X))}function dq(z,X,G){X.forEach(function(Y){G[pH(Y)]=Y==="style"?bG(z):z.getAttribute(Y)})}function K8(z,X){X===!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.",z,z,z):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",z,typeof X)}function lH(z,X){return z=z.namespaceURI===sz||z.namespaceURI===K4?z.ownerDocument.createElementNS(z.namespaceURI,z.tagName):z.ownerDocument.createElement(z.tagName),z.innerHTML=X,z.innerHTML}function w3(z){return X3(z)&&(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.",p3(z)),I0(z)),(typeof z==="string"?z:""+z).replace(zw,`
|
|
176
|
+
`).replace(Xw,"")}function cH(z,X){return X=w3(X),w3(z)===X?!0:!1}function d1(z,X,G,Y,Z,$){switch(G){case"children":if(typeof Y==="string")g5(Y,X,!1),X==="body"||X==="textarea"&&Y===""||e4(z,Y);else if(typeof Y==="number"||typeof Y==="bigint")g5(""+Y,X,!1),X!=="body"&&e4(z,""+Y);break;case"className":V5(z,"class",Y);break;case"tabIndex":V5(z,"tabindex",Y);break;case"dir":case"role":case"viewBox":case"width":case"height":V5(z,G,Y);break;case"style":nZ(z,Y,$);break;case"data":if(X!=="object"){V5(z,"data",Y);break}case"src":case"href":if(Y===""&&(X!=="a"||G!=="href")){G==="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.',G,G):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.',G,G),z.removeAttribute(G);break}if(Y==null||typeof Y==="function"||typeof Y==="symbol"||typeof Y==="boolean"){z.removeAttribute(G);break}u1(Y,G),Y=X7(""+Y),z.setAttribute(G,Y);break;case"action":case"formAction":if(Y!=null&&(X==="form"?G==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof Y==="function"&&(Z.encType==null&&Z.method==null||g9||(g9=!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||k9||(k9=!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."))):X==="input"||X==="button"?G==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):X!=="input"||Z.type==="submit"||Z.type==="image"||D9?X!=="button"||Z.type==null||Z.type==="submit"||D9?typeof Y==="function"&&(Z.name==null||lR||(lR=!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||g9||(g9=!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||k9||(k9=!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."))):(D9=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(D9=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):G==="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 Y==="function"){z.setAttribute(G,"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 $==="function"&&(G==="formAction"?(X!=="input"&&d1(z,X,"name",Z.name,Z,null),d1(z,X,"formEncType",Z.formEncType,Z,null),d1(z,X,"formMethod",Z.formMethod,Z,null),d1(z,X,"formTarget",Z.formTarget,Z,null)):(d1(z,X,"encType",Z.encType,Z,null),d1(z,X,"method",Z.method,Z,null),d1(z,X,"target",Z.target,Z,null)));if(Y==null||typeof Y==="symbol"||typeof Y==="boolean"){z.removeAttribute(G);break}u1(Y,G),Y=X7(""+Y),z.setAttribute(G,Y);break;case"onClick":Y!=null&&(typeof Y!=="function"&&K8(G,Y),z.onclick=S8);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&K8(G,Y),P1("scroll",z));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&K8(G,Y),P1("scrollend",z));break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=Y.__html,G!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");z.innerHTML=G}}break;case"multiple":z.multiple=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"muted":z.muted=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(Y==null||typeof Y==="function"||typeof Y==="boolean"||typeof Y==="symbol"){z.removeAttribute("xlink:href");break}u1(Y,G),G=X7(""+Y),z.setAttributeNS(j6,"xlink:href",G);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(u1(Y,G),z.setAttribute(G,""+Y)):z.removeAttribute(G);break;case"inert":Y!==""||E9[G]||(E9[G]=!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.",G));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":Y&&typeof Y!=="function"&&typeof Y!=="symbol"?z.setAttribute(G,""):z.removeAttribute(G);break;case"capture":case"download":Y===!0?z.setAttribute(G,""):Y!==!1&&Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(u1(Y,G),z.setAttribute(G,Y)):z.removeAttribute(G);break;case"cols":case"rows":case"size":case"span":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&!isNaN(Y)&&1<=Y?(u1(Y,G),z.setAttribute(G,Y)):z.removeAttribute(G);break;case"rowSpan":case"start":Y==null||typeof Y==="function"||typeof Y==="symbol"||isNaN(Y)?z.removeAttribute(G):(u1(Y,G),z.setAttribute(G,Y));break;case"popover":P1("beforetoggle",z),P1("toggle",z),j5(z,"popover",Y);break;case"xlinkActuate":x8(z,j6,"xlink:actuate",Y);break;case"xlinkArcrole":x8(z,j6,"xlink:arcrole",Y);break;case"xlinkRole":x8(z,j6,"xlink:role",Y);break;case"xlinkShow":x8(z,j6,"xlink:show",Y);break;case"xlinkTitle":x8(z,j6,"xlink:title",Y);break;case"xlinkType":x8(z,j6,"xlink:type",Y);break;case"xmlBase":x8(z,OZ,"xml:base",Y);break;case"xmlLang":x8(z,OZ,"xml:lang",Y);break;case"xmlSpace":x8(z,OZ,"xml:space",Y);break;case"is":$!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),j5(z,"is",Y);break;case"innerText":case"textContent":break;case"popoverTarget":cR||Y==null||typeof Y!=="object"||(cR=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",Y));default:!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"?(G=iZ(G),j5(z,G,Y)):W6.hasOwnProperty(G)&&Y!=null&&typeof Y!=="function"&&K8(G,Y)}}function EG(z,X,G,Y,Z,$){switch(G){case"style":nZ(z,Y,$);break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=Y.__html,G!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");z.innerHTML=G}}break;case"children":typeof Y==="string"?e4(z,Y):(typeof Y==="number"||typeof Y==="bigint")&&e4(z,""+Y);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&K8(G,Y),P1("scroll",z));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&K8(G,Y),P1("scrollend",z));break;case"onClick":Y!=null&&(typeof Y!=="function"&&K8(G,Y),z.onclick=S8);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(W6.hasOwnProperty(G))Y!=null&&typeof Y!=="function"&&K8(G,Y);else z:{if(G[0]==="o"&&G[1]==="n"&&(Z=G.endsWith("Capture"),X=G.slice(2,Z?G.length-7:void 0),$=z[l0]||null,$=$!=null?$[G]:null,typeof $==="function"&&z.removeEventListener(X,$,Z),typeof Y==="function")){typeof $!=="function"&&$!==null&&(G in z?z[G]=null:z.hasAttribute(G)&&z.removeAttribute(G)),z.addEventListener(X,Y,Z);break z}G in z?z[G]=Y:Y===!0?z.setAttribute(G,""):j5(z,G,Y)}}}function D0(z,X,G){switch(gG(X,G),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":P1("error",z),P1("load",z);var Y=!1,Z=!1,$;for($ in G)if(G.hasOwnProperty($)){var B=G[$];if(B!=null)switch($){case"src":Y=!0;break;case"srcSet":Z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:d1(z,X,$,B,G,null)}}Z&&d1(z,X,"srcSet",G.srcSet,G,null),Y&&d1(z,X,"src",G.src,G,null);return;case"input":Z3("input",G),P1("invalid",z);var H=$=B=Z=null,J=null,Q=null;for(Y in G)if(G.hasOwnProperty(Y)){var w=G[Y];if(w!=null)switch(Y){case"name":Z=w;break;case"type":B=w;break;case"checked":J=w;break;case"defaultChecked":Q=w;break;case"value":$=w;break;case"defaultValue":H=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:d1(z,X,Y,w,G,null)}}kZ(z,G),gZ(z,$,H,J,Q,B,Z,!1);return;case"select":Z3("select",G),P1("invalid",z),Y=B=$=null;for(Z in G)if(G.hasOwnProperty(Z)&&(H=G[Z],H!=null))switch(Z){case"value":$=H;break;case"defaultValue":B=H;break;case"multiple":Y=H;default:d1(z,X,Z,H,G,null)}yZ(z,G),X=$,G=B,z.multiple=!!Y,X!=null?p6(z,!!Y,X,!1):G!=null&&p6(z,!!Y,G,!0);return;case"textarea":Z3("textarea",G),P1("invalid",z),$=Z=Y=null;for(B in G)if(G.hasOwnProperty(B)&&(H=G[B],H!=null))switch(B){case"value":Y=H;break;case"defaultValue":Z=H;break;case"children":$=H;break;case"dangerouslySetInnerHTML":if(H!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d1(z,X,B,H,G,null)}mZ(z,G),hZ(z,Y,Z,$);return;case"option":EZ(z,G);for(J in G)if(G.hasOwnProperty(J)&&(Y=G[J],Y!=null))switch(J){case"selected":z.selected=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;default:d1(z,X,J,Y,G,null)}return;case"dialog":P1("beforetoggle",z),P1("toggle",z),P1("cancel",z),P1("close",z);break;case"iframe":case"object":P1("load",z);break;case"video":case"audio":for(Y=0;Y<L5.length;Y++)P1(L5[Y],z);break;case"image":P1("error",z),P1("load",z);break;case"details":P1("toggle",z);break;case"embed":case"source":case"link":P1("error",z),P1("load",z);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in G)if(G.hasOwnProperty(Q)&&(Y=G[Q],Y!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:d1(z,X,Q,Y,G,null)}return;default:if(z7(X)){for(w in G)G.hasOwnProperty(w)&&(Y=G[w],Y!==void 0&&EG(z,X,w,Y,G,void 0));return}}for(H in G)G.hasOwnProperty(H)&&(Y=G[H],Y!=null&&d1(z,X,H,Y,G,null))}function lq(z,X,G,Y){switch(gG(X,Y),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Z=null,$=null,B=null,H=null,J=null,Q=null,w=null;for(N in G){var M=G[N];if(G.hasOwnProperty(N)&&M!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":J=M;default:Y.hasOwnProperty(N)||d1(z,X,N,null,Y,M)}}for(var q in Y){var N=Y[q];if(M=G[q],Y.hasOwnProperty(q)&&(N!=null||M!=null))switch(q){case"type":$=N;break;case"name":Z=N;break;case"checked":Q=N;break;case"defaultChecked":w=N;break;case"value":B=N;break;case"defaultValue":H=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:N!==M&&d1(z,X,q,N,Y,M)}}X=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,Y=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,X||!Y||dR||(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"),dR=!0),!X||Y||uR||(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"),uR=!0),o9(z,B,H,J,Q,w,$,Z);return;case"select":N=B=H=q=null;for($ in G)if(J=G[$],G.hasOwnProperty($)&&J!=null)switch($){case"value":break;case"multiple":N=J;default:Y.hasOwnProperty($)||d1(z,X,$,null,Y,J)}for(Z in Y)if($=Y[Z],J=G[Z],Y.hasOwnProperty(Z)&&($!=null||J!=null))switch(Z){case"value":q=$;break;case"defaultValue":H=$;break;case"multiple":B=$;default:$!==J&&d1(z,X,Z,$,Y,J)}Y=H,X=B,G=N,q!=null?p6(z,!!X,q,!1):!!G!==!!X&&(Y!=null?p6(z,!!X,Y,!0):p6(z,!!X,X?[]:"",!1));return;case"textarea":N=q=null;for(H in G)if(Z=G[H],G.hasOwnProperty(H)&&Z!=null&&!Y.hasOwnProperty(H))switch(H){case"value":break;case"children":break;default:d1(z,X,H,null,Y,Z)}for(B in Y)if(Z=Y[B],$=G[B],Y.hasOwnProperty(B)&&(Z!=null||$!=null))switch(B){case"value":q=Z;break;case"defaultValue":N=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Z!==$&&d1(z,X,B,Z,Y,$)}fZ(z,q,N);return;case"option":for(var b in G)if(q=G[b],G.hasOwnProperty(b)&&q!=null&&!Y.hasOwnProperty(b))switch(b){case"selected":z.selected=!1;break;default:d1(z,X,b,null,Y,q)}for(J in Y)if(q=Y[J],N=G[J],Y.hasOwnProperty(J)&&q!==N&&(q!=null||N!=null))switch(J){case"selected":z.selected=q&&typeof q!=="function"&&typeof q!=="symbol";break;default:d1(z,X,J,q,Y,N)}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 l in G)q=G[l],G.hasOwnProperty(l)&&q!=null&&!Y.hasOwnProperty(l)&&d1(z,X,l,null,Y,q);for(Q in Y)if(q=Y[Q],N=G[Q],Y.hasOwnProperty(Q)&&q!==N&&(q!=null||N!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:d1(z,X,Q,q,Y,N)}return;default:if(z7(X)){for(var a1 in G)q=G[a1],G.hasOwnProperty(a1)&&q!==void 0&&!Y.hasOwnProperty(a1)&&EG(z,X,a1,void 0,Y,q);for(w in Y)q=Y[w],N=G[w],!Y.hasOwnProperty(w)||q===N||q===void 0&&N===void 0||EG(z,X,w,q,Y,N);return}}for(var T1 in G)q=G[T1],G.hasOwnProperty(T1)&&q!=null&&!Y.hasOwnProperty(T1)&&d1(z,X,T1,null,Y,q);for(M in Y)q=Y[M],N=G[M],!Y.hasOwnProperty(M)||q===N||q==null&&N==null||d1(z,X,M,q,Y,N)}function pH(z){switch(z){case"class":return"className";case"for":return"htmlFor";default:return z}}function bG(z){var X={};z=z.style;for(var G=0;G<z.length;G++){var Y=z[G];X[Y]=z.getPropertyValue(Y)}return X}function sH(z,X,G){if(X!=null&&typeof X!=="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 Y,Z=Y="",$;for($ in X)if(X.hasOwnProperty($)){var B=X[$];B!=null&&typeof B!=="boolean"&&B!==""&&($.indexOf("--")===0?(o4(B,$),Y+=Z+$+":"+(""+B).trim()):typeof B!=="number"||B===0||GQ.has($)?(o4(B,$),Y+=Z+$.replace(rJ,"-$1").toLowerCase().replace(tJ,"-ms-")+":"+(""+B).trim()):Y+=Z+$.replace(rJ,"-$1").toLowerCase().replace(tJ,"-ms-")+":"+B+"px",Z=";")}Y=Y||null,X=z.getAttribute("style"),X!==Y&&(Y=w3(Y),w3(X)!==Y&&(G.style=bG(z)))}}function v2(z,X,G,Y,Z,$){if(Z.delete(G),z=z.getAttribute(G),z===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(u1(Y,X),z===""+Y)return}P0(X,z,Y,$)}function aH(z,X,G,Y,Z,$){if(Z.delete(G),z=z.getAttribute(G),z===null){switch(typeof Y){case"function":case"symbol":return}if(!Y)return}else switch(typeof Y){case"function":case"symbol":break;default:if(Y)return}P0(X,z,Y,$)}function yG(z,X,G,Y,Z,$){if(Z.delete(G),z=z.getAttribute(G),z===null)switch(typeof Y){case"undefined":case"function":case"symbol":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":break;default:if(u1(Y,G),z===""+Y)return}P0(X,z,Y,$)}function oH(z,X,G,Y,Z,$){if(Z.delete(G),z=z.getAttribute(G),z===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(Y))return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(!isNaN(Y)&&(u1(Y,X),z===""+Y))return}P0(X,z,Y,$)}function mG(z,X,G,Y,Z,$){if(Z.delete(G),z=z.getAttribute(G),z===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(u1(Y,X),G=X7(""+Y),z===G)return}P0(X,z,Y,$)}function nH(z,X,G,Y){for(var Z={},$=new Set,B=z.attributes,H=0;H<B.length;H++)switch(B[H].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:$.add(B[H].name)}if(z7(X)){for(var J in G)if(G.hasOwnProperty(J)){var Q=G[J];if(Q!=null){if(W6.hasOwnProperty(J))typeof Q!=="function"&&K8(J,Q);else if(G.suppressHydrationWarning!==!0)switch(J){case"children":typeof Q!=="string"&&typeof Q!=="number"||P0("children",z.textContent,Q,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":B=z.innerHTML,Q=Q?Q.__html:void 0,Q!=null&&(Q=lH(z,Q),P0(J,B,Q,Z));continue;case"style":$.delete(J),sH(z,Q,Z);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":$.delete(J.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",J);continue;case"className":$.delete("class"),B=jZ(z,"class",Q),P0("className",B,Q,Z);continue;default:Y.context===r8&&X!=="svg"&&X!=="math"?$.delete(J.toLowerCase()):$.delete(J),B=jZ(z,J,Q),P0(J,B,Q,Z)}}}}else for(Q in G)if(G.hasOwnProperty(Q)&&(J=G[Q],J!=null)){if(W6.hasOwnProperty(Q))typeof J!=="function"&&K8(Q,J);else if(G.suppressHydrationWarning!==!0)switch(Q){case"children":typeof J!=="string"&&typeof J!=="number"||P0("children",z.textContent,J,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":B=z.innerHTML,J=J?J.__html:void 0,J!=null&&(J=lH(z,J),B!==J&&(Z[Q]={__html:B}));continue;case"className":v2(z,Q,"class",J,$,Z);continue;case"tabIndex":v2(z,Q,"tabindex",J,$,Z);continue;case"style":$.delete(Q),sH(z,J,Z);continue;case"multiple":$.delete(Q),P0(Q,z.multiple,J,Z);continue;case"muted":$.delete(Q),P0(Q,z.muted,J,Z);continue;case"autoFocus":$.delete("autofocus"),P0(Q,z.autofocus,J,Z);continue;case"data":if(X!=="object"){$.delete(Q),B=z.getAttribute("data"),P0(Q,B,J,Z);continue}case"src":case"href":if(!(J!==""||X==="a"&&Q==="href"||X==="object"&&Q==="data")){Q==="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.',Q,Q):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.',Q,Q);continue}mG(z,Q,Q,J,$,Z);continue;case"action":case"formAction":if(B=z.getAttribute(Q),typeof J==="function"){$.delete(Q.toLowerCase()),Q==="formAction"?($.delete("name"),$.delete("formenctype"),$.delete("formmethod"),$.delete("formtarget")):($.delete("enctype"),$.delete("method"),$.delete("target"));continue}else if(B===Gw){$.delete(Q.toLowerCase()),P0(Q,"function",J,Z);continue}mG(z,Q,Q.toLowerCase(),J,$,Z);continue;case"xlinkHref":mG(z,Q,"xlink:href",J,$,Z);continue;case"contentEditable":yG(z,Q,"contenteditable",J,$,Z);continue;case"spellCheck":yG(z,Q,"spellcheck",J,$,Z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":yG(z,Q,Q,J,$,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":aH(z,Q,Q.toLowerCase(),J,$,Z);continue;case"capture":case"download":z:{H=z;var w=B=Q,M=Z;if($.delete(w),H=H.getAttribute(w),H===null)switch(typeof J){case"undefined":case"function":case"symbol":break z;default:if(J===!1)break z}else if(J!=null)switch(typeof J){case"function":case"symbol":break;case"boolean":if(J===!0&&H==="")break z;break;default:if(u1(J,B),H===""+J)break z}P0(B,H,J,M)}continue;case"cols":case"rows":case"size":case"span":z:{if(H=z,w=B=Q,M=Z,$.delete(w),H=H.getAttribute(w),H===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":break z;default:if(isNaN(J)||1>J)break z}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(J)||1>J)&&(u1(J,B),H===""+J))break z}P0(B,H,J,M)}continue;case"rowSpan":oH(z,Q,"rowspan",J,$,Z);continue;case"start":oH(z,Q,Q,J,$,Z);continue;case"xHeight":v2(z,Q,"x-height",J,$,Z);continue;case"xlinkActuate":v2(z,Q,"xlink:actuate",J,$,Z);continue;case"xlinkArcrole":v2(z,Q,"xlink:arcrole",J,$,Z);continue;case"xlinkRole":v2(z,Q,"xlink:role",J,$,Z);continue;case"xlinkShow":v2(z,Q,"xlink:show",J,$,Z);continue;case"xlinkTitle":v2(z,Q,"xlink:title",J,$,Z);continue;case"xlinkType":v2(z,Q,"xlink:type",J,$,Z);continue;case"xmlBase":v2(z,Q,"xml:base",J,$,Z);continue;case"xmlLang":v2(z,Q,"xml:lang",J,$,Z);continue;case"xmlSpace":v2(z,Q,"xml:space",J,$,Z);continue;case"inert":J!==""||E9[Q]||(E9[Q]=!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.",Q)),aH(z,Q,Q,J,$,Z);continue;default:if(!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"){H=iZ(Q),B=!1,Y.context===r8&&X!=="svg"&&X!=="math"?$.delete(H.toLowerCase()):(w=Q.toLowerCase(),w=az.hasOwnProperty(w)?az[w]||null:null,w!==null&&w!==Q&&(B=!0,$.delete(w)),$.delete(H));z:if(w=z,M=H,H=J,i4(M))if(w.hasAttribute(M))w=w.getAttribute(M),u1(H,M),H=w===""+H?H:w;else{switch(typeof H){case"function":case"symbol":break z;case"boolean":if(w=M.toLowerCase().slice(0,5),w!=="data-"&&w!=="aria-")break z}H=H===void 0?void 0:null}else H=void 0;B||P0(Q,H,J,Z)}}}return 0<$.size&&G.suppressHydrationWarning!==!0&&dq(z,$,Z),Object.keys(Z).length===0?null:Z}function cq(z,X){switch(z.length){case 0:return"";case 1:return z[0];case 2:return z[0]+" "+X+" "+z[1];default:return z.slice(0,-1).join(", ")+", "+X+" "+z[z.length-1]}}function iH(z){switch(z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function pq(){if(typeof performance.getEntriesByType==="function"){for(var z=0,X=0,G=performance.getEntriesByType("resource"),Y=0;Y<G.length;Y++){var Z=G[Y],$=Z.transferSize,B=Z.initiatorType,H=Z.duration;if($&&H&&iH(B)){B=0,H=Z.responseEnd;for(Y+=1;Y<G.length;Y++){var J=G[Y],Q=J.startTime;if(Q>H)break;var{transferSize:w,initiatorType:M}=J;w&&iH(M)&&(J=J.responseEnd,B+=w*(J<H?1:(H-Q)/(J-Q)))}if(--Y,X+=8*($+B)/(Z.duration/1000),z++,10<z)break}}if(0<z)return X/z/1e6}return navigator.connection&&(z=navigator.connection.downlink,typeof z==="number")?z:5}function Sz(z){return z.nodeType===9?z:z.ownerDocument}function rH(z){switch(z){case K4:return c4;case sz:return y9;default:return r8}}function tH(z,X){if(z===r8)switch(X){case"svg":return c4;case"math":return y9;default:return r8}return z===c4&&X==="foreignObject"?r8:z}function fG(z,X){return z==="textarea"||z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.children==="bigint"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function sq(){var z=window.event;if(z&&z.type==="popstate"){if(z===FZ)return!1;return FZ=z,!0}return FZ=null,!1}function v7(){var z=window.event;return z&&z!==N5?z.type:null}function C7(){var z=window.event;return z&&z!==N5?z.timeStamp:-1.1}function aq(z){setTimeout(function(){throw z})}function oq(z,X,G){switch(X){case"button":case"input":case"select":case"textarea":G.autoFocus&&z.focus();break;case"img":G.src?z.src=G.src:G.srcSet&&(z.srcset=G.srcSet)}}function nq(){}function iq(z,X,G,Y){lq(z,X,G,Y),z[l0]=Y}function eH(z){e4(z,"")}function rq(z,X,G){z.nodeValue=G}function zJ(z){if(!z.__reactWarnedAboutChildrenConflict){var X=z[l0]||null;if(X!==null){var G=Q1(z);G!==null&&(typeof X.children==="string"||typeof X.children==="number"?(z.__reactWarnedAboutChildrenConflict=!0,c(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):X.dangerouslySetInnerHTML!=null&&(z.__reactWarnedAboutChildrenConflict=!0,c(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function M3(z){return z==="head"}function tq(z,X){z.removeChild(X)}function eq(z,X){(z.nodeType===9?z.body:z.nodeName==="HTML"?z.ownerDocument.body:z).removeChild(X)}function XJ(z,X){var G=X,Y=0;do{var Z=G.nextSibling;if(z.removeChild(G),Z&&Z.nodeType===8)if(G=Z.data,G===F5||G===b9){if(Y===0){z.removeChild(Z),J4(X);return}Y--}else if(G===A5||G===h3||G===D6||G===l4||G===V6)Y++;else if(G===Zw)x7(z.ownerDocument.documentElement);else if(G===Bw){G=z.ownerDocument.head,x7(G);for(var $=G.firstChild;$;){var{nextSibling:B,nodeName:H}=$;$[E7]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&$.rel.toLowerCase()==="stylesheet"||G.removeChild($),$=B}}else G===$w&&x7(z.ownerDocument.body);G=Z}while(G);J4(X)}function GJ(z,X){var G=z;z=0;do{var Y=G.nextSibling;if(G.nodeType===1?X?(G._stashedDisplay=G.style.display,G.style.display="none"):(G.style.display=G._stashedDisplay||"",G.getAttribute("style")===""&&G.removeAttribute("style")):G.nodeType===3&&(X?(G._stashedText=G.nodeValue,G.nodeValue=""):G.nodeValue=G._stashedText||""),Y&&Y.nodeType===8)if(G=Y.data,G===F5)if(z===0)break;else z--;else G!==A5&&G!==h3&&G!==D6&&G!==l4||z++;G=Y}while(G)}function zW(z){GJ(z,!0)}function XW(z){z=z.style,typeof z.setProperty==="function"?z.setProperty("display","none","important"):z.display="none"}function GW(z){z.nodeValue=""}function YW(z){GJ(z,!1)}function ZW(z,X){X=X[Hw],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function $W(z,X){z.nodeValue=X}function hG(z){var X=z.firstChild;X&&X.nodeType===10&&(X=X.nextSibling);for(;X;){var G=X;switch(X=X.nextSibling,G.nodeName){case"HTML":case"HEAD":case"BODY":hG(G),m(G);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(G.rel.toLowerCase()==="stylesheet")continue}z.removeChild(G)}}function BW(z,X,G,Y){for(;z.nodeType===1;){var Z=G;if(z.nodeName.toLowerCase()!==X.toLowerCase()){if(!Y&&(z.nodeName!=="INPUT"||z.type!=="hidden"))break}else if(!Y)if(X==="input"&&z.type==="hidden"){u1(Z.name,"name");var $=Z.name==null?null:""+Z.name;if(Z.type==="hidden"&&z.getAttribute("name")===$)return z}else return z;else if(!z[E7])switch(X){case"meta":if(!z.hasAttribute("itemprop"))break;return z;case"link":if($=z.getAttribute("rel"),$==="stylesheet"&&z.hasAttribute("data-precedence"))break;else if($!==Z.rel||z.getAttribute("href")!==(Z.href==null||Z.href===""?null:Z.href)||z.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin)||z.getAttribute("title")!==(Z.title==null?null:Z.title))break;return z;case"style":if(z.hasAttribute("data-precedence"))break;return z;case"script":if($=z.getAttribute("src"),($!==(Z.src==null?null:Z.src)||z.getAttribute("type")!==(Z.type==null?null:Z.type)||z.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin))&&$&&z.hasAttribute("async")&&!z.hasAttribute("itemprop"))break;return z;default:return z}if(z=q2(z.nextSibling),z===null)break}return null}function HW(z,X,G){if(X==="")return null;for(;z.nodeType!==3;){if((z.nodeType!==1||z.nodeName!=="INPUT"||z.type!=="hidden")&&!G)return null;if(z=q2(z.nextSibling),z===null)return null}return z}function YJ(z,X){for(;z.nodeType!==8;){if((z.nodeType!==1||z.nodeName!=="INPUT"||z.type!=="hidden")&&!X)return null;if(z=q2(z.nextSibling),z===null)return null}return z}function uG(z){return z.data===h3||z.data===D6}function dG(z){return z.data===l4||z.data===h3&&z.ownerDocument.readyState!==sR}function JW(z,X){var G=z.ownerDocument;if(z.data===D6)z._reactRetry=X;else if(z.data!==h3||G.readyState!==sR)X();else{var Y=function(){X(),G.removeEventListener("DOMContentLoaded",Y)};G.addEventListener("DOMContentLoaded",Y),z._reactRetry=Y}}function q2(z){for(;z!=null;z=z.nextSibling){var X=z.nodeType;if(X===1||X===3)break;if(X===8){if(X=z.data,X===A5||X===l4||X===h3||X===D6||X===V6||X===_Z||X===pR)break;if(X===F5||X===b9)return null}}return z}function ZJ(z){if(z.nodeType===1){for(var X=z.nodeName.toLowerCase(),G={},Y=z.attributes,Z=0;Z<Y.length;Z++){var $=Y[Z];G[pH($.name)]=$.name.toLowerCase()==="style"?bG(z):$.value}return{type:X,props:G}}return z.nodeType===8?z.data===V6?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:z.nodeValue}function $J(z,X,G){return G===null||G[Yw]!==!0?(z.nodeValue===X?z=null:(X=w3(X),z=w3(z.nodeValue)===X?null:z.nodeValue),z):null}function lG(z){z=z.nextSibling;for(var X=0;z;){if(z.nodeType===8){var G=z.data;if(G===F5||G===b9){if(X===0)return q2(z.nextSibling);X--}else G!==A5&&G!==l4&&G!==h3&&G!==D6&&G!==V6||X++}z=z.nextSibling}return null}function BJ(z){z=z.previousSibling;for(var X=0;z;){if(z.nodeType===8){var G=z.data;if(G===A5||G===l4||G===h3||G===D6||G===V6){if(X===0)return z;X--}else G!==F5&&G!==b9||X++}z=z.previousSibling}return null}function QW(z){J4(z)}function RW(z){J4(z)}function UW(z){J4(z)}function HJ(z,X,G,Y,Z){switch(Z&&zX(z,Y.ancestorInfo),X=Sz(G),z){case"html":if(z=X.documentElement,!z)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 z;case"head":if(z=X.head,!z)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 z;case"body":if(z=X.body,!z)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 z;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function qW(z,X,G,Y){if(!G[A3]&&Q1(G)){var Z=G.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(z){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=G.attributes;Z.length;)G.removeAttributeNode(Z[0]);D0(G,z,X),G[k0]=Y,G[l0]=X}function x7(z){for(var X=z.attributes;X.length;)z.removeAttributeNode(X[0]);m(z)}function jz(z){return typeof z.getRootNode==="function"?z.getRootNode():z.nodeType===9?z:z.ownerDocument}function JJ(z,X,G){var Y=p4;if(Y&&typeof X==="string"&&X){var Z=T2(X);Z='link[rel="'+z+'"][href="'+Z+'"]',typeof G==="string"&&(Z+='[crossorigin="'+G+'"]'),tR.has(Z)||(tR.add(Z),z={rel:z,crossOrigin:G,href:X},Y.querySelector(Z)===null&&(X=Y.createElement("link"),D0(X,"link",z),t(X),Y.head.appendChild(X)))}}function QJ(z,X,G,Y){var Z=(Z=_3.current)?jz(Z):null;if(!Z)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(z){case"meta":case"title":return null;case"style":return typeof G.precedence==="string"&&typeof G.href==="string"?(G=B4(G.href),X=j1(Z).hoistableStyles,Y=X.get(G),Y||(Y={type:"style",instance:null,count:0,state:null},X.set(G,Y)),Y):{type:"void",instance:null,count:0,state:null};case"link":if(G.rel==="stylesheet"&&typeof G.href==="string"&&typeof G.precedence==="string"){z=B4(G.href);var $=j1(Z).hoistableStyles,B=$.get(z);if(!B&&(Z=Z.ownerDocument||Z,B={type:"stylesheet",instance:null,count:0,state:{loading:g6,preload:null}},$.set(z,B),($=Z.querySelector(S7(z)))&&!$._p&&(B.instance=$,B.state.loading=I5|y2),!m2.has(z))){var H={rel:"preload",as:"style",href:G.href,crossOrigin:G.crossOrigin,integrity:G.integrity,media:G.media,hrefLang:G.hrefLang,referrerPolicy:G.referrerPolicy};m2.set(z,H),$||WW(Z,z,H,B.state)}if(X&&Y===null)throw G=`
|
|
177
|
+
|
|
178
|
+
- `+Vz(X)+`
|
|
179
|
+
+ `+Vz(G),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."+G);return B}if(X&&Y!==null)throw G=`
|
|
180
|
+
|
|
181
|
+
- `+Vz(X)+`
|
|
182
|
+
+ `+Vz(G),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."+G);return null;case"script":return X=G.async,G=G.src,typeof G==="string"&&X&&typeof X!=="function"&&typeof X!=="symbol"?(G=H4(G),X=j1(Z).hoistableScripts,Y=X.get(G),Y||(Y={type:"script",instance:null,count:0,state:null},X.set(G,Y)),Y):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+z+'". this is a bug in React.')}}function Vz(z){var X=0,G="<link";return typeof z.rel==="string"?(X++,G+=' rel="'+z.rel+'"'):l2.call(z,"rel")&&(X++,G+=' rel="'+(z.rel===null?"null":"invalid type "+typeof z.rel)+'"'),typeof z.href==="string"?(X++,G+=' href="'+z.href+'"'):l2.call(z,"href")&&(X++,G+=' href="'+(z.href===null?"null":"invalid type "+typeof z.href)+'"'),typeof z.precedence==="string"?(X++,G+=' precedence="'+z.precedence+'"'):l2.call(z,"precedence")&&(X++,G+=" precedence={"+(z.precedence===null?"null":"invalid type "+typeof z.precedence)+"}"),Object.getOwnPropertyNames(z).length>X&&(G+=" ..."),G+" />"}function B4(z){return'href="'+T2(z)+'"'}function S7(z){return'link[rel="stylesheet"]['+z+"]"}function RJ(z){return A1({},z,{"data-precedence":z.precedence,precedence:null})}function WW(z,X,G,Y){z.querySelector('link[rel="preload"][as="style"]['+X+"]")?Y.loading=I5:(X=z.createElement("link"),Y.preload=X,X.addEventListener("load",function(){return Y.loading|=I5}),X.addEventListener("error",function(){return Y.loading|=iR}),D0(X,"link",G),t(X),z.head.appendChild(X))}function H4(z){return'[src="'+T2(z)+'"]'}function j7(z){return"script[async]"+z}function UJ(z,X,G){if(X.count++,X.instance===null)switch(X.type){case"style":var Y=z.querySelector('style[data-href~="'+T2(G.href)+'"]');if(Y)return X.instance=Y,t(Y),Y;var Z=A1({},G,{"data-href":G.href,"data-precedence":G.precedence,href:null,precedence:null});return Y=(z.ownerDocument||z).createElement("style"),t(Y),D0(Y,"style",Z),Dz(Y,G.precedence,z),X.instance=Y;case"stylesheet":Z=B4(G.href);var $=z.querySelector(S7(Z));if($)return X.state.loading|=y2,X.instance=$,t($),$;Y=RJ(G),(Z=m2.get(Z))&&cG(Y,Z),$=(z.ownerDocument||z).createElement("link"),t($);var B=$;return B._p=new Promise(function(H,J){B.onload=H,B.onerror=J}),D0($,"link",Y),X.state.loading|=y2,Dz($,G.precedence,z),X.instance=$;case"script":if($=H4(G.src),Z=z.querySelector(j7($)))return X.instance=Z,t(Z),Z;if(Y=G,Z=m2.get($))Y=A1({},G),pG(Y,Z);return z=z.ownerDocument||z,Z=z.createElement("script"),t(Z),D0(Z,"link",Y),z.head.appendChild(Z),X.instance=Z;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+X.type+'". this is a bug in React.')}else X.type==="stylesheet"&&(X.state.loading&y2)===g6&&(Y=X.instance,X.state.loading|=y2,Dz(Y,G.precedence,z));return X.instance}function Dz(z,X,G){for(var Y=G.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=Y.length?Y[Y.length-1]:null,$=Z,B=0;B<Y.length;B++){var H=Y[B];if(H.dataset.precedence===X)$=H;else if($!==Z)break}$?$.parentNode.insertBefore(z,$.nextSibling):(X=G.nodeType===9?G.head:G,X.insertBefore(z,X.firstChild))}function cG(z,X){z.crossOrigin==null&&(z.crossOrigin=X.crossOrigin),z.referrerPolicy==null&&(z.referrerPolicy=X.referrerPolicy),z.title==null&&(z.title=X.title)}function pG(z,X){z.crossOrigin==null&&(z.crossOrigin=X.crossOrigin),z.referrerPolicy==null&&(z.referrerPolicy=X.referrerPolicy),z.integrity==null&&(z.integrity=X.integrity)}function qJ(z,X,G){if(m9===null){var Y=new Map,Z=m9=new Map;Z.set(G,Y)}else Z=m9,Y=Z.get(G),Y||(Y=new Map,Z.set(G,Y));if(Y.has(z))return Y;Y.set(z,null),G=G.getElementsByTagName(z);for(Z=0;Z<G.length;Z++){var $=G[Z];if(!($[E7]||$[k0]||z==="link"&&$.getAttribute("rel")==="stylesheet")&&$.namespaceURI!==K4){var B=$.getAttribute(X)||"";B=z+B;var H=Y.get(B);H?H.push($):Y.set(B,[$])}}return Y}function WJ(z,X,G){z=z.ownerDocument||z,z.head.insertBefore(G,X==="title"?z.querySelector("head > title"):null)}function KW(z,X,G){var Y=!G.ancestorInfo.containerTagInScope;if(G.context===c4||X.itemProp!=null)return!Y||X.itemProp==null||z!=="meta"&&z!=="title"&&z!=="style"&&z!=="link"&&z!=="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.",z,z),!1;switch(z){case"meta":case"title":return!0;case"style":if(typeof X.precedence!=="string"||typeof X.href!=="string"||X.href===""){Y&&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 X.rel!=="string"||typeof X.href!=="string"||X.href===""||X.onLoad||X.onError){if(X.rel==="stylesheet"&&typeof X.precedence==="string"){z=X.href;var{onError:Z,disabled:$}=X;G=[],X.onLoad&&G.push("`onLoad`"),Z&&G.push("`onError`"),$!=null&&G.push("`disabled`"),Z=cq(G,"and"),Z+=G.length===1?" prop":" props",$=G.length===1?"an "+Z:"the "+Z,G.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.',z,$,Z)}Y&&(typeof X.rel!=="string"||typeof X.href!=="string"||X.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"):(X.onError||X.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(X.rel){case"stylesheet":return z=X.precedence,X=X.disabled,typeof z!=="string"&&Y&&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 z==="string"&&X==null;default:return!0}case"script":if(z=X.async&&typeof X.async!=="function"&&typeof X.async!=="symbol",!z||X.onLoad||X.onError||!X.src||typeof X.src!=="string"){Y&&(z?X.onLoad||X.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":Y&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",z)}return!1}function KJ(z){return z.type==="stylesheet"&&(z.state.loading&rR)===g6?!1:!0}function wW(z,X,G,Y){if(G.type==="stylesheet"&&(typeof Y.media!=="string"||matchMedia(Y.media).matches!==!1)&&(G.state.loading&y2)===g6){if(G.instance===null){var Z=B4(Y.href),$=X.querySelector(S7(Z));if($){X=$._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(z.count++,z=kz.bind(z),X.then(z,z)),G.state.loading|=y2,G.instance=$,t($);return}$=X.ownerDocument||X,Y=RJ(Y),(Z=m2.get(Z))&&cG(Y,Z),$=$.createElement("link"),t($);var B=$;B._p=new Promise(function(H,J){B.onload=H,B.onerror=J}),D0($,"link",Y),G.instance=$}z.stylesheets===null&&(z.stylesheets=new Map),z.stylesheets.set(G,X),(X=G.state.preload)&&(G.state.loading&rR)===g6&&(z.count++,G=kz.bind(z),X.addEventListener("load",G),X.addEventListener("error",G))}}function MW(z,X){return z.stylesheets&&z.count===0&&gz(z,z.stylesheets),0<z.count||0<z.imgCount?function(G){var Y=setTimeout(function(){if(z.stylesheets&&gz(z,z.stylesheets),z.unsuspend){var $=z.unsuspend;z.unsuspend=null,$()}},Rw+X);0<z.imgBytes&&IZ===0&&(IZ=125*pq()*qw);var Z=setTimeout(function(){if(z.waitingForImages=!1,z.count===0&&(z.stylesheets&&gz(z,z.stylesheets),z.unsuspend)){var $=z.unsuspend;z.unsuspend=null,$()}},(z.imgBytes>IZ?50:Uw)+X);return z.unsuspend=G,function(){z.unsuspend=null,clearTimeout(Y),clearTimeout(Z)}}:null}function kz(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gz(this,this.stylesheets);else if(this.unsuspend){var z=this.unsuspend;this.unsuspend=null,z()}}}function gz(z,X){z.stylesheets=null,z.unsuspend!==null&&(z.count++,f9=new Map,X.forEach(OW,z),f9=null,kz.call(z))}function OW(z,X){if(!(X.state.loading&y2)){var G=f9.get(z);if(G)var Y=G.get(PZ);else{G=new Map,f9.set(z,G);for(var Z=z.querySelectorAll("link[data-precedence],style[data-precedence]"),$=0;$<Z.length;$++){var B=Z[$];if(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")G.set(B.dataset.precedence,B),Y=B}Y&&G.set(PZ,Y)}Z=X.instance,B=Z.getAttribute("data-precedence"),$=G.get(B)||Y,$===Y&&G.set(PZ,Z),G.set(B,Z),this.count++,Y=kz.bind(this),Z.addEventListener("load",Y),Z.addEventListener("error",Y),$?$.parentNode.insertBefore(Z,$.nextSibling):(z=z.nodeType===9?z.head:z,z.insertBefore(Z,z.firstChild)),X.state.loading|=y2}}function _W(z,X,G,Y,Z,$,B,H,J){this.tag=1,this.containerInfo=z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=k6,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=c6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=c6(0),this.hiddenUpdates=c6(null),this.identifierPrefix=Y,this.onUncaughtError=Z,this.onCaughtError=$,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=J,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,z=this.pendingUpdatersLaneMap=[];for(X=0;31>X;X++)z.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function wJ(z,X,G,Y,Z,$,B,H,J,Q,w,M){return z=new _W(z,X,G,B,J,Q,w,M,H),X=yK,$===!0&&(X|=h0|p2),X|=w1,$=S(3,null,null,X),z.current=$,$.stateNode=z,X=LX(),B6(X),z.pooledCache=X,B6(X),$.memoizedState={element:Y,isDehydrated:G,cache:X},PX($),z}function MJ(z){if(!z)return P3;return z=P3,z}function sG(z,X,G,Y,Z,$){if(f0&&typeof f0.onScheduleFiberRoot==="function")try{f0.onScheduleFiberRoot(q4,Y,G)}catch(B){_8||(_8=!0,console.error("React instrumentation encountered an error: %o",B))}Z=MJ(Z),Y.context===null?Y.context=Z:Y.pendingContext=Z,O8&&K2!==null&&!GU&&(GU=!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.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,y(K2)||"Unknown")),Y=Q3(X),Y.payload={element:G},$=$===void 0?null:$,$!==null&&(typeof $!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$),Y.callback=$),G=R3(z,Y,X),G!==null&&(G8(X,"root.render()",null),Y0(G,z,X),R7(G,z,X))}function OJ(z,X){if(z=z.memoizedState,z!==null&&z.dehydrated!==null){var G=z.retryLane;z.retryLane=G!==0&&G<X?G:X}}function aG(z,X){OJ(z,X),(z=z.alternate)&&OJ(z,X)}function _J(z){if(z.tag===13||z.tag===31){var X=m0(z,67108864);X!==null&&Y0(X,z,67108864),aG(z,67108864)}}function LJ(z){if(z.tag===13||z.tag===31){var X=U2(z);X=r3(X);var G=m0(z,X);G!==null&&Y0(G,z,X),aG(z,X)}}function LW(){return K2}function AW(z,X,G,Y){var Z=P.T;P.T=null;var $=k1.p;try{k1.p=w2,oG(z,X,G,Y)}finally{k1.p=$,P.T=Z}}function FW(z,X,G,Y){var Z=P.T;P.T=null;var $=k1.p;try{k1.p=c2,oG(z,X,G,Y)}finally{k1.p=$,P.T=Z}}function oG(z,X,G,Y){if(u9){var Z=nG(Y);if(Z===null)kG(z,X,Y,d9,G),FJ(z,Y);else if(NW(Z,z,X,G,Y))Y.stopPropagation();else if(FJ(z,Y),X&4&&-1<Kw.indexOf(z)){for(;Z!==null;){var $=Q1(Z);if($!==null)switch($.tag){case 3:if($=$.stateNode,$.current.memoizedState.isDehydrated){var B=t2($.pendingLanes);if(B!==0){var H=$;H.pendingLanes|=2;for(H.entangledLanes|=2;B;){var J=1<<31-d0(B);H.entanglements[1]|=J,B&=~J}W8($),(S1&(F0|L2))===x0&&(P9=T0()+jR,P7(0,!1))}}break;case 31:case 13:H=m0($,2),H!==null&&Y0(H,$,2),Y4(),aG($,2)}if($=nG(Y),$===null&&kG(z,X,Y,d9,G),$===Z)break;Z=$}Z!==null&&Y.stopPropagation()}else kG(z,X,Y,null,G)}}function nG(z){return z=XX(z),iG(z)}function iG(z){if(d9=null,z=a(z),z!==null){var X=b0(z);if(X===null)z=null;else{var G=X.tag;if(G===13){if(z=U0(X),z!==null)return z;z=null}else if(G===31){if(z=J0(X),z!==null)return z;z=null}else if(G===3){if(X.stateNode.current.memoizedState.isDehydrated)return X.tag===3?X.stateNode.containerInfo:null;z=null}else X!==z&&(z=null)}}return d9=z,null}function AJ(z){switch(z){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 w2;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 c2;case"message":switch(VW()){case QY:return w2;case RY:return c2;case U4:case DW:return A8;case UY:return cz;default:return A8}default:return A8}}function FJ(z,X){switch(z){case"focusin":case"focusout":u3=null;break;case"dragenter":case"dragleave":d3=null;break;case"mouseover":case"mouseout":l3=null;break;case"pointerover":case"pointerout":T5.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":v5.delete(X.pointerId)}}function V7(z,X,G,Y,Z,$){if(z===null||z.nativeEvent!==$)return z={blockedOn:X,domEventName:G,eventSystemFlags:Y,nativeEvent:$,targetContainers:[Z]},X!==null&&(X=Q1(X),X!==null&&_J(X)),z;return z.eventSystemFlags|=Y,X=z.targetContainers,Z!==null&&X.indexOf(Z)===-1&&X.push(Z),z}function NW(z,X,G,Y,Z){switch(X){case"focusin":return u3=V7(u3,z,X,G,Y,Z),!0;case"dragenter":return d3=V7(d3,z,X,G,Y,Z),!0;case"mouseover":return l3=V7(l3,z,X,G,Y,Z),!0;case"pointerover":var $=Z.pointerId;return T5.set($,V7(T5.get($)||null,z,X,G,Y,Z)),!0;case"gotpointercapture":return $=Z.pointerId,v5.set($,V7(v5.get($)||null,z,X,G,Y,Z)),!0}return!1}function NJ(z){var X=a(z.target);if(X!==null){var G=b0(X);if(G!==null){if(X=G.tag,X===13){if(X=U0(G),X!==null){z.blockedOn=X,k(z.priority,function(){LJ(G)});return}}else if(X===31){if(X=J0(G),X!==null){z.blockedOn=X,k(z.priority,function(){LJ(G)});return}}else if(X===3&&G.stateNode.current.memoizedState.isDehydrated){z.blockedOn=G.tag===3?G.stateNode.containerInfo:null;return}}}z.blockedOn=null}function Ez(z){if(z.blockedOn!==null)return!1;for(var X=z.targetContainers;0<X.length;){var G=nG(z.nativeEvent);if(G===null){G=z.nativeEvent;var Y=new G.constructor(G.type,G),Z=Y;b7!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),b7=Z,G.target.dispatchEvent(Y),b7===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."),b7=null}else return X=Q1(G),X!==null&&_J(X),z.blockedOn=G,!1;X.shift()}return!0}function IJ(z,X,G){Ez(z)&&G.delete(X)}function IW(){TZ=!1,u3!==null&&Ez(u3)&&(u3=null),d3!==null&&Ez(d3)&&(d3=null),l3!==null&&Ez(l3)&&(l3=null),T5.forEach(IJ),v5.forEach(IJ)}function bz(z,X){z.blockedOn===X&&(z.blockedOn=null,TZ||(TZ=!0,V1.unstable_scheduleCallback(V1.unstable_NormalPriority,IW)))}function PJ(z){l9!==z&&(l9=z,V1.unstable_scheduleCallback(V1.unstable_NormalPriority,function(){l9===z&&(l9=null);for(var X=0;X<z.length;X+=3){var G=z[X],Y=z[X+1],Z=z[X+2];if(typeof Y!=="function")if(iG(Y||G)===null)continue;else break;var $=Q1(G);$!==null&&(z.splice(X,3),X-=3,G={pending:!0,data:Z,method:G.method,action:Y},Object.freeze(G),iX($,G,Y,Z))}}))}function J4(z){function X(J){return bz(J,z)}u3!==null&&bz(u3,z),d3!==null&&bz(d3,z),l3!==null&&bz(l3,z),T5.forEach(X),v5.forEach(X);for(var G=0;G<c3.length;G++){var Y=c3[G];Y.blockedOn===z&&(Y.blockedOn=null)}for(;0<c3.length&&(G=c3[0],G.blockedOn===null);)NJ(G),G.blockedOn===null&&c3.shift();if(G=(z.ownerDocument||z).$$reactFormReplay,G!=null)for(Y=0;Y<G.length;Y+=3){var Z=G[Y],$=G[Y+1],B=Z[l0]||null;if(typeof $==="function")B||PJ(G);else if(B){var H=null;if($&&$.hasAttribute("formAction")){if(Z=$,B=$[l0]||null)H=B.formAction;else if(iG(Z)!==null)continue}else H=B.action;typeof H==="function"?G[Y+1]=H:(G.splice(Y,3),Y-=3),PJ(G)}}}function TJ(){function z($){$.canIntercept&&$.info==="react-transition"&&$.intercept({handler:function(){return new Promise(function(B){return Z=B})},focusReset:"manual",scroll:"manual"})}function X(){Z!==null&&(Z(),Z=null),Y||setTimeout(G,20)}function G(){if(!Y&&!navigation.transition){var $=navigation.currentEntry;$&&$.url!=null&&navigation.navigate($.url,{state:$.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var Y=!1,Z=null;return navigation.addEventListener("navigate",z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(G,100),function(){Y=!0,navigation.removeEventListener("navigate",z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),Z!==null&&(Z(),Z=null)}}}function rG(z){this._internalRoot=z}function yz(z){this._internalRoot=z}function vJ(z){z[A3]&&(z._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__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var A1=Object.assign,PW=Symbol.for("react.element"),w8=Symbol.for("react.transitional.element"),Q4=Symbol.for("react.portal"),R4=Symbol.for("react.fragment"),mz=Symbol.for("react.strict_mode"),tG=Symbol.for("react.profiler"),eG=Symbol.for("react.consumer"),M8=Symbol.for("react.context"),D7=Symbol.for("react.forward_ref"),zY=Symbol.for("react.suspense"),XY=Symbol.for("react.suspense_list"),fz=Symbol.for("react.memo"),W2=Symbol.for("react.lazy"),GY=Symbol.for("react.activity"),TW=Symbol.for("react.memo_cache_sentinel"),CJ=Symbol.iterator,vW=Symbol.for("react.client.reference"),L0=Array.isArray,P=s4.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k1=CZ.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,CW=Object.freeze({pending:!1,data:null,method:null,action:null}),YY=[],ZY=[],y8=-1,O3=x1(null),k7=x1(null),_3=x1(null),hz=x1(null),g7=0,xJ,SJ,jJ,VJ,DJ,kJ,gJ;j.__reactDisabledLog=!0;var $Y,EJ,BY=!1,HY=new(typeof WeakMap==="function"?WeakMap:Map),K2=null,O8=!1,l2=Object.prototype.hasOwnProperty,JY=V1.unstable_scheduleCallback,xW=V1.unstable_cancelCallback,SW=V1.unstable_shouldYield,jW=V1.unstable_requestPaint,T0=V1.unstable_now,VW=V1.unstable_getCurrentPriorityLevel,QY=V1.unstable_ImmediatePriority,RY=V1.unstable_UserBlockingPriority,U4=V1.unstable_NormalPriority,DW=V1.unstable_LowPriority,UY=V1.unstable_IdlePriority,kW=V1.log,gW=V1.unstable_setDisableYieldValue,q4=null,f0=null,_8=!1,L8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",d0=Math.clz32?Math.clz32:x5,EW=Math.log,bW=Math.LN2,uz=256,dz=262144,lz=4194304,w2=2,c2=8,A8=32,cz=268435456,L3=Math.random().toString(36).slice(2),k0="__reactFiber$"+L3,l0="__reactProps$"+L3,A3="__reactContainer$"+L3,qY="__reactEvents$"+L3,yW="__reactListeners$"+L3,mW="__reactHandles$"+L3,bJ="__reactResources$"+L3,E7="__reactMarker$"+L3,yJ=new Set,W6={},WY={},fW={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},hW=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]*$"),mJ={},fJ={},uW=/[\n"\\]/g,hJ=!1,uJ=!1,dJ=!1,lJ=!1,cJ=!1,pJ=!1,sJ=["value","defaultValue"],aJ=!1,oJ=/["'&<>\n\t]|^\s|\s$/,dW="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(" "),nJ="applet caption html table td th marquee object template foreignObject desc title".split(" "),lW=nJ.concat(["button"]),cW="dd dt li option optgroup p rp rt".split(" "),iJ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pz={},KY={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"]},rJ=/([A-Z])/g,tJ=/^ms-/,pW=/^(?:webkit|moz|o)[A-Z]/,sW=/^-ms-/,aW=/-(.)/g,eJ=/;\s*$/,W4={},wY={},zQ=!1,XQ=!1,GQ=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(" ")),sz="http://www.w3.org/1998/Math/MathML",K4="http://www.w3.org/2000/svg",oW=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"]]),az={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"},YQ={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},w4={},nW=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]*$"),iW=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]*$"),ZQ=!1,c0={},$Q=/^on./,rW=/^on[^A-Z]/,tW=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]*$"),eW=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]*$"),zK=/^[\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,b7=null,M4=null,O4=null,MY=!1,F8=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),OY=!1;if(F8)try{var y7={};Object.defineProperty(y7,"passive",{get:function(){OY=!0}}),window.addEventListener("test",y7,y7),window.removeEventListener("test",y7,y7)}catch(z){OY=!1}var F3=null,_Y=null,oz=null,K6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(z){return z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nz=i0(K6),m7=A1({},K6,{view:0,detail:0}),XK=i0(m7),LY,AY,f7,iz=A1({},m7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:GX,button:0,buttons:0,relatedTarget:function(z){return z.relatedTarget===void 0?z.fromElement===z.srcElement?z.toElement:z.fromElement:z.relatedTarget},movementX:function(z){if("movementX"in z)return z.movementX;return z!==f7&&(f7&&z.type==="mousemove"?(LY=z.screenX-f7.screenX,AY=z.screenY-f7.screenY):AY=LY=0,f7=z),LY},movementY:function(z){return"movementY"in z?z.movementY:AY}}),BQ=i0(iz),GK=A1({},iz,{dataTransfer:0}),YK=i0(GK),ZK=A1({},m7,{relatedTarget:0}),FY=i0(ZK),$K=A1({},K6,{animationName:0,elapsedTime:0,pseudoElement:0}),BK=i0($K),HK=A1({},K6,{clipboardData:function(z){return"clipboardData"in z?z.clipboardData:window.clipboardData}}),JK=i0(HK),QK=A1({},K6,{data:0}),HQ=i0(QK),RK=HQ,UK={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qK={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"},WK={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},KK=A1({},m7,{key:function(z){if(z.key){var X=UK[z.key]||z.key;if(X!=="Unidentified")return X}return z.type==="keypress"?(z=E5(z),z===13?"Enter":String.fromCharCode(z)):z.type==="keydown"||z.type==="keyup"?qK[z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:GX,charCode:function(z){return z.type==="keypress"?E5(z):0},keyCode:function(z){return z.type==="keydown"||z.type==="keyup"?z.keyCode:0},which:function(z){return z.type==="keypress"?E5(z):z.type==="keydown"||z.type==="keyup"?z.keyCode:0}}),wK=i0(KK),MK=A1({},iz,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),JQ=i0(MK),OK=A1({},m7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:GX}),_K=i0(OK),LK=A1({},K6,{propertyName:0,elapsedTime:0,pseudoElement:0}),AK=i0(LK),FK=A1({},iz,{deltaX:function(z){return"deltaX"in z?z.deltaX:("wheelDeltaX"in z)?-z.wheelDeltaX:0},deltaY:function(z){return"deltaY"in z?z.deltaY:("wheelDeltaY"in z)?-z.wheelDeltaY:("wheelDelta"in z)?-z.wheelDelta:0},deltaZ:0,deltaMode:0}),NK=i0(FK),IK=A1({},K6,{newState:0,oldState:0}),PK=i0(IK),TK=[9,13,27,32],QQ=229,NY=F8&&"CompositionEvent"in window,h7=null;F8&&"documentMode"in document&&(h7=document.documentMode);var vK=F8&&"TextEvent"in window&&!h7,RQ=F8&&(!NY||h7&&8<h7&&11>=h7),UQ=32,qQ=String.fromCharCode(UQ),WQ=!1,_4=!1,CK={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},u7=null,d7=null,KQ=!1;F8&&(KQ=oU("input")&&(!document.documentMode||9<document.documentMode));var p0=typeof Object.is==="function"?Object.is:zq,xK=F8&&"documentMode"in document&&11>=document.documentMode,L4=null,IY=null,l7=null,PY=!1,A4={animationend:e3("Animation","AnimationEnd"),animationiteration:e3("Animation","AnimationIteration"),animationstart:e3("Animation","AnimationStart"),transitionrun:e3("Transition","TransitionRun"),transitionstart:e3("Transition","TransitionStart"),transitioncancel:e3("Transition","TransitionCancel"),transitionend:e3("Transition","TransitionEnd")},TY={},wQ={};F8&&(wQ=document.createElement("div").style,("AnimationEvent"in window)||(delete A4.animationend.animation,delete A4.animationiteration.animation,delete A4.animationstart.animation),("TransitionEvent"in window)||delete A4.transitionend.transition);var MQ=z6("animationend"),OQ=z6("animationiteration"),_Q=z6("animationstart"),SK=z6("transitionrun"),jK=z6("transitionstart"),VK=z6("transitioncancel"),LQ=z6("transitionend"),AQ=new Map,vY="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(" ");vY.push("scrollEnd");var FQ=0;if(typeof performance==="object"&&typeof performance.now==="function")var DK=performance,NQ=function(){return DK.now()};else{var kK=Date;NQ=function(){return kK.now()}}var CY=typeof reportError==="function"?reportError:function(z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(X))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",z);return}console.error(z)},gK="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",rz=0,xY=1,SY=2,jY=3,tz="– ",ez="+ ",IQ=" ",o1=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",C2="Components ⚛",F1="Scheduler ⚛",N1="Blocking",N3=!1,m8={color:"primary",properties:null,tooltipText:"",track:C2},I3={start:-0,end:-0,detail:{devtools:m8}},EK=["Changed Props",""],PQ="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",bK=["Changed Props",PQ],c7=1,f8=2,x2=[],F4=0,VY=0,P3={};Object.freeze(P3);var S2=null,N4=null,Z1=0,yK=1,w1=2,h0=8,p2=16,mK=32,TQ=!1;try{var vQ=Object.preventExtensions({})}catch(z){TQ=!0}var DY=new WeakMap,I4=[],P4=0,z9=null,p7=0,j2=[],V2=0,w6=null,h8=1,u8="",g0=null,n1=null,I1=!1,N8=!1,M2=null,T3=null,D2=!1,kY=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."),gY=x1(null),EY=x1(null),CQ={},X9=null,T4=null,v4=!1,fK=typeof AbortController<"u"?AbortController:function(){var z=[],X=this.signal={aborted:!1,addEventListener:function(G,Y){z.push(Y)}};this.abort=function(){X.aborted=!0,z.forEach(function(G){return G()})}},hK=V1.unstable_scheduleCallback,uK=V1.unstable_NormalPriority,q0={$$typeof:M8,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},W0=V1.unstable_now,G9=console.createTask?console.createTask:function(){return null},s7=1,Y9=2,v0=-0,v3=-0,d8=-0,l8=null,s0=-1.1,M6=-0,z0=-0,e=-1.1,G1=-1.1,t1=null,Z0=!1,C3=-0,I8=-1.1,a7=null,x3=0,bY=null,yY=null,O6=-1.1,o7=null,C4=-1.1,Z9=-1.1,P8=-0,c8=-1.1,k2=-1.1,mY=0,n7=null,xQ=null,SQ=null,S3=-1.1,_6=null,j3=-1.1,$9=-1.1,jQ=-0,VQ=-0,B9=0,p8=null,DQ=0,i7=-1.1,H9=!1,J9=!1,r7=null,fY=0,L6=0,x4=null,kQ=P.S;P.S=function(z,X){if(xR=T0(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>c8&&0>k2){c8=W0();var G=C7(),Y=v7();if(G!==j3||Y!==_6)j3=-1.1;S3=G,_6=Y}Hq(z,X)}kQ!==null&&kQ(z,X)};var A6=x1(null),s2={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},t7=[],e7=[],z5=[],X5=[],G5=[],Y5=[],F6=new Set;s2.recordUnsafeLifecycleWarnings=function(z,X){F6.has(z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&t7.push(z),z.mode&h0&&typeof X.UNSAFE_componentWillMount==="function"&&e7.push(z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&z5.push(z),z.mode&h0&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&X5.push(z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&G5.push(z),z.mode&h0&&typeof X.UNSAFE_componentWillUpdate==="function"&&Y5.push(z))},s2.flushPendingUnsafeLifecycleWarnings=function(){var z=new Set;0<t7.length&&(t7.forEach(function(H){z.add(y(H)||"Component"),F6.add(H.type)}),t7=[]);var X=new Set;0<e7.length&&(e7.forEach(function(H){X.add(y(H)||"Component"),F6.add(H.type)}),e7=[]);var G=new Set;0<z5.length&&(z5.forEach(function(H){G.add(y(H)||"Component"),F6.add(H.type)}),z5=[]);var Y=new Set;0<X5.length&&(X5.forEach(function(H){Y.add(y(H)||"Component"),F6.add(H.type)}),X5=[]);var Z=new Set;0<G5.length&&(G5.forEach(function(H){Z.add(y(H)||"Component"),F6.add(H.type)}),G5=[]);var $=new Set;if(0<Y5.length&&(Y5.forEach(function(H){$.add(y(H)||"Component"),F6.add(H.type)}),Y5=[]),0<X.size){var B=L(X);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.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,B)}0<Y.size&&(B=L(Y),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.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* 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
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,B)),0<$.size&&(B=L($),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.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,B)),0<z.size&&(B=L(z),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* 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.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,B)),0<G.size&&(B=L(G),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* 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
|
|
206
|
+
* 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.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,B)),0<Z.size&&(B=L(Z),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,B))};var Q9=new Map,gQ=new Set;s2.recordLegacyContextWarning=function(z,X){var G=null;for(var Y=z;Y!==null;)Y.mode&h0&&(G=Y),Y=Y.return;G===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."):!gQ.has(z.type)&&(Y=Q9.get(G),z.type.contextTypes!=null||z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function")&&(Y===void 0&&(Y=[],Q9.set(G,Y)),Y.push(z))},s2.flushLegacyContextWarning=function(){Q9.forEach(function(z){if(z.length!==0){var X=z[0],G=new Set;z.forEach(function(Z){G.add(y(Z)||"Component"),gQ.add(Z.type)});var Y=L(G);c(X,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,Y)})}})},s2.discardPendingWarnings=function(){t7=[],e7=[],z5=[],X5=[],G5=[],Y5=[],Q9=new Map};var EQ={react_stack_bottom_frame:function(z,X,G){var Y=O8;O8=!0;try{return z(X,G)}finally{O8=Y}}},hY=EQ.react_stack_bottom_frame.bind(EQ),bQ={react_stack_bottom_frame:function(z){var X=O8;O8=!0;try{return z.render()}finally{O8=X}}},yQ=bQ.react_stack_bottom_frame.bind(bQ),mQ={react_stack_bottom_frame:function(z,X){try{X.componentDidMount()}catch(G){D1(z,z.return,G)}}},uY=mQ.react_stack_bottom_frame.bind(mQ),fQ={react_stack_bottom_frame:function(z,X,G,Y,Z){try{X.componentDidUpdate(G,Y,Z)}catch($){D1(z,z.return,$)}}},hQ=fQ.react_stack_bottom_frame.bind(fQ),uQ={react_stack_bottom_frame:function(z,X){var G=X.stack;z.componentDidCatch(X.value,{componentStack:G!==null?G:""})}},dK=uQ.react_stack_bottom_frame.bind(uQ),dQ={react_stack_bottom_frame:function(z,X,G){try{G.componentWillUnmount()}catch(Y){D1(z,X,Y)}}},lQ=dQ.react_stack_bottom_frame.bind(dQ),cQ={react_stack_bottom_frame:function(z){var X=z.create;return z=z.inst,X=X(),z.destroy=X}},lK=cQ.react_stack_bottom_frame.bind(cQ),pQ={react_stack_bottom_frame:function(z,X,G){try{G()}catch(Y){D1(z,X,Y)}}},cK=pQ.react_stack_bottom_frame.bind(pQ),sQ={react_stack_bottom_frame:function(z){var X=z._init;return X(z._payload)}},pK=sQ.react_stack_bottom_frame.bind(sQ),S4=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`."),dY=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."),R9=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."),U9={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.')}},N6=null,Z5=!1,j4=null,$5=0,M1=null,lY,aQ=lY=!1,oQ={},nQ={},iQ={};C=function(z,X,G){if(G!==null&&typeof G==="object"&&G._store&&(!G._store.validated&&G.key==null||G._store.validated===2)){if(typeof G._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.");G._store.validated=1;var Y=y(z),Z=Y||"null";if(!oQ[Z]){oQ[Z]=!0,G=G._owner,z=z._debugOwner;var $="";z&&typeof z.tag==="number"&&(Z=y(z))&&($=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+Z+"`."),$||Y&&($=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+Y+">.");var B="";G!=null&&z!==G&&(Y=null,typeof G.tag==="number"?Y=y(G):typeof G.name==="string"&&(Y=G.name),Y&&(B=" It was passed a child from "+Y+".")),c(X,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)})}}};var I6=d$(!0),rQ=d$(!1),tQ=0,eQ=1,zR=2,cY=3,V3=!1,XR=!1,pY=null,sY=!1,V4=x1(null),q9=x1(0),O2=x1(null),g2=null,D4=1,B5=2,Q0=x1(0),W9=0,E2=1,a0=2,_2=4,o0=8,k4,GR=new Set,YR=new Set,aY=new Set,ZR=new Set,s8=0,B1=null,l1=null,K0=null,K9=!1,g4=!1,P6=!1,w9=0,H5=0,a8=null,sK=0,aK=25,I=null,b2=null,o8=-1,J5=!1,Q5={readContext:r1,use:W3,useCallback:B0,useContext:B0,useEffect:B0,useImperativeHandle:B0,useLayoutEffect:B0,useInsertionEffect:B0,useMemo:B0,useReducer:B0,useRef:B0,useState:B0,useDebugValue:B0,useDeferredValue:B0,useTransition:B0,useSyncExternalStore:B0,useId:B0,useHostTransitionStatus:B0,useFormState:B0,useActionState:B0,useOptimistic:B0,useMemoCache:B0,useCacheRefresh:B0};Q5.useEffectEvent=B0;var oY=null,$R=null,nY=null,BR=null,T8=null,a2=null,M9=null;oY={readContext:function(z){return r1(z)},use:W3,useCallback:function(z,X){return I="useCallback",L1(),i6(X),sX(z,X)},useContext:function(z){return I="useContext",L1(),r1(z)},useEffect:function(z,X){return I="useEffect",L1(),i6(X),Qz(z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",L1(),i6(G),pX(z,X,G)},useInsertionEffect:function(z,X){I="useInsertionEffect",L1(),i6(X),J6(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",L1(),i6(X),cX(z,X)},useMemo:function(z,X){I="useMemo",L1(),i6(X);var G=P.H;P.H=T8;try{return aX(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",L1();var Y=P.H;P.H=T8;try{return EX(z,X,G)}finally{P.H=Y}},useRef:function(z){return I="useRef",L1(),dX(z)},useState:function(z){I="useState",L1();var X=P.H;P.H=T8;try{return fX(z)}finally{P.H=X}},useDebugValue:function(){I="useDebugValue",L1()},useDeferredValue:function(z,X){return I="useDeferredValue",L1(),oX(z,X)},useTransition:function(){return I="useTransition",L1(),rX()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",L1(),yX(z,X,G)},useId:function(){return I="useId",L1(),tX()},useFormState:function(z,X){return I="useFormState",L1(),Zz(),t6(z,X)},useActionState:function(z,X){return I="useActionState",L1(),t6(z,X)},useOptimistic:function(z){return I="useOptimistic",L1(),hX(z)},useHostTransitionStatus:Q6,useMemoCache:H6,useCacheRefresh:function(){return I="useCacheRefresh",L1(),eX()},useEffectEvent:function(z){return I="useEffectEvent",L1(),lX(z)}},$R={readContext:function(z){return r1(z)},use:W3,useCallback:function(z,X){return I="useCallback",D(),sX(z,X)},useContext:function(z){return I="useContext",D(),r1(z)},useEffect:function(z,X){return I="useEffect",D(),Qz(z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",D(),pX(z,X,G)},useInsertionEffect:function(z,X){I="useInsertionEffect",D(),J6(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",D(),cX(z,X)},useMemo:function(z,X){I="useMemo",D();var G=P.H;P.H=T8;try{return aX(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",D();var Y=P.H;P.H=T8;try{return EX(z,X,G)}finally{P.H=Y}},useRef:function(z){return I="useRef",D(),dX(z)},useState:function(z){I="useState",D();var X=P.H;P.H=T8;try{return fX(z)}finally{P.H=X}},useDebugValue:function(){I="useDebugValue",D()},useDeferredValue:function(z,X){return I="useDeferredValue",D(),oX(z,X)},useTransition:function(){return I="useTransition",D(),rX()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",D(),yX(z,X,G)},useId:function(){return I="useId",D(),tX()},useActionState:function(z,X){return I="useActionState",D(),t6(z,X)},useFormState:function(z,X){return I="useFormState",D(),Zz(),t6(z,X)},useOptimistic:function(z){return I="useOptimistic",D(),hX(z)},useHostTransitionStatus:Q6,useMemoCache:H6,useCacheRefresh:function(){return I="useCacheRefresh",D(),eX()},useEffectEvent:function(z){return I="useEffectEvent",D(),lX(z)}},nY={readContext:function(z){return r1(z)},use:W3,useCallback:function(z,X){return I="useCallback",D(),qz(z,X)},useContext:function(z){return I="useContext",D(),r1(z)},useEffect:function(z,X){I="useEffect",D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",D(),Uz(z,X,G)},useInsertionEffect:function(z,X){return I="useInsertionEffect",D(),r0(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",D(),r0(4,_2,z,X)},useMemo:function(z,X){I="useMemo",D();var G=P.H;P.H=a2;try{return Wz(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",D();var Y=P.H;P.H=a2;try{return r6(z,X,G)}finally{P.H=Y}},useRef:function(){return I="useRef",D(),m1().memoizedState},useState:function(){I="useState",D();var z=P.H;P.H=a2;try{return r6(u2)}finally{P.H=z}},useDebugValue:function(){I="useDebugValue",D()},useDeferredValue:function(z,X){return I="useDeferredValue",D(),RB(z,X)},useTransition:function(){return I="useTransition",D(),MB()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",D(),Bz(z,X,G)},useId:function(){return I="useId",D(),m1().memoizedState},useFormState:function(z){return I="useFormState",D(),Zz(),Hz(z)},useActionState:function(z){return I="useActionState",D(),Hz(z)},useOptimistic:function(z,X){return I="useOptimistic",D(),zB(z,X)},useHostTransitionStatus:Q6,useMemoCache:H6,useCacheRefresh:function(){return I="useCacheRefresh",D(),m1().memoizedState},useEffectEvent:function(z){return I="useEffectEvent",D(),Rz(z)}},BR={readContext:function(z){return r1(z)},use:W3,useCallback:function(z,X){return I="useCallback",D(),qz(z,X)},useContext:function(z){return I="useContext",D(),r1(z)},useEffect:function(z,X){I="useEffect",D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",D(),Uz(z,X,G)},useInsertionEffect:function(z,X){return I="useInsertionEffect",D(),r0(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",D(),r0(4,_2,z,X)},useMemo:function(z,X){I="useMemo",D();var G=P.H;P.H=M9;try{return Wz(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",D();var Y=P.H;P.H=M9;try{return K7(z,X,G)}finally{P.H=Y}},useRef:function(){return I="useRef",D(),m1().memoizedState},useState:function(){I="useState",D();var z=P.H;P.H=M9;try{return K7(u2)}finally{P.H=z}},useDebugValue:function(){I="useDebugValue",D()},useDeferredValue:function(z,X){return I="useDeferredValue",D(),UB(z,X)},useTransition:function(){return I="useTransition",D(),OB()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",D(),Bz(z,X,G)},useId:function(){return I="useId",D(),m1().memoizedState},useFormState:function(z){return I="useFormState",D(),Zz(),Jz(z)},useActionState:function(z){return I="useActionState",D(),Jz(z)},useOptimistic:function(z,X){return I="useOptimistic",D(),GB(z,X)},useHostTransitionStatus:Q6,useMemoCache:H6,useCacheRefresh:function(){return I="useCacheRefresh",D(),m1().memoizedState},useEffectEvent:function(z){return I="useEffectEvent",D(),Rz(z)}},T8={readContext:function(z){return o(),r1(z)},use:function(z){return T(),W3(z)},useCallback:function(z,X){return I="useCallback",T(),L1(),sX(z,X)},useContext:function(z){return I="useContext",T(),L1(),r1(z)},useEffect:function(z,X){return I="useEffect",T(),L1(),Qz(z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",T(),L1(),pX(z,X,G)},useInsertionEffect:function(z,X){I="useInsertionEffect",T(),L1(),J6(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",T(),L1(),cX(z,X)},useMemo:function(z,X){I="useMemo",T(),L1();var G=P.H;P.H=T8;try{return aX(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",T(),L1();var Y=P.H;P.H=T8;try{return EX(z,X,G)}finally{P.H=Y}},useRef:function(z){return I="useRef",T(),L1(),dX(z)},useState:function(z){I="useState",T(),L1();var X=P.H;P.H=T8;try{return fX(z)}finally{P.H=X}},useDebugValue:function(){I="useDebugValue",T(),L1()},useDeferredValue:function(z,X){return I="useDeferredValue",T(),L1(),oX(z,X)},useTransition:function(){return I="useTransition",T(),L1(),rX()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",T(),L1(),yX(z,X,G)},useId:function(){return I="useId",T(),L1(),tX()},useFormState:function(z,X){return I="useFormState",T(),L1(),t6(z,X)},useActionState:function(z,X){return I="useActionState",T(),L1(),t6(z,X)},useOptimistic:function(z){return I="useOptimistic",T(),L1(),hX(z)},useMemoCache:function(z){return T(),H6(z)},useHostTransitionStatus:Q6,useCacheRefresh:function(){return I="useCacheRefresh",L1(),eX()},useEffectEvent:function(z){return I="useEffectEvent",T(),L1(),lX(z)}},a2={readContext:function(z){return o(),r1(z)},use:function(z){return T(),W3(z)},useCallback:function(z,X){return I="useCallback",T(),D(),qz(z,X)},useContext:function(z){return I="useContext",T(),D(),r1(z)},useEffect:function(z,X){I="useEffect",T(),D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",T(),D(),Uz(z,X,G)},useInsertionEffect:function(z,X){return I="useInsertionEffect",T(),D(),r0(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",T(),D(),r0(4,_2,z,X)},useMemo:function(z,X){I="useMemo",T(),D();var G=P.H;P.H=a2;try{return Wz(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",T(),D();var Y=P.H;P.H=a2;try{return r6(z,X,G)}finally{P.H=Y}},useRef:function(){return I="useRef",T(),D(),m1().memoizedState},useState:function(){I="useState",T(),D();var z=P.H;P.H=a2;try{return r6(u2)}finally{P.H=z}},useDebugValue:function(){I="useDebugValue",T(),D()},useDeferredValue:function(z,X){return I="useDeferredValue",T(),D(),RB(z,X)},useTransition:function(){return I="useTransition",T(),D(),MB()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",T(),D(),Bz(z,X,G)},useId:function(){return I="useId",T(),D(),m1().memoizedState},useFormState:function(z){return I="useFormState",T(),D(),Hz(z)},useActionState:function(z){return I="useActionState",T(),D(),Hz(z)},useOptimistic:function(z,X){return I="useOptimistic",T(),D(),zB(z,X)},useMemoCache:function(z){return T(),H6(z)},useHostTransitionStatus:Q6,useCacheRefresh:function(){return I="useCacheRefresh",D(),m1().memoizedState},useEffectEvent:function(z){return I="useEffectEvent",T(),D(),Rz(z)}},M9={readContext:function(z){return o(),r1(z)},use:function(z){return T(),W3(z)},useCallback:function(z,X){return I="useCallback",T(),D(),qz(z,X)},useContext:function(z){return I="useContext",T(),D(),r1(z)},useEffect:function(z,X){I="useEffect",T(),D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,G){return I="useImperativeHandle",T(),D(),Uz(z,X,G)},useInsertionEffect:function(z,X){return I="useInsertionEffect",T(),D(),r0(4,a0,z,X)},useLayoutEffect:function(z,X){return I="useLayoutEffect",T(),D(),r0(4,_2,z,X)},useMemo:function(z,X){I="useMemo",T(),D();var G=P.H;P.H=a2;try{return Wz(z,X)}finally{P.H=G}},useReducer:function(z,X,G){I="useReducer",T(),D();var Y=P.H;P.H=a2;try{return K7(z,X,G)}finally{P.H=Y}},useRef:function(){return I="useRef",T(),D(),m1().memoizedState},useState:function(){I="useState",T(),D();var z=P.H;P.H=a2;try{return K7(u2)}finally{P.H=z}},useDebugValue:function(){I="useDebugValue",T(),D()},useDeferredValue:function(z,X){return I="useDeferredValue",T(),D(),UB(z,X)},useTransition:function(){return I="useTransition",T(),D(),OB()},useSyncExternalStore:function(z,X,G){return I="useSyncExternalStore",T(),D(),Bz(z,X,G)},useId:function(){return I="useId",T(),D(),m1().memoizedState},useFormState:function(z){return I="useFormState",T(),D(),Jz(z)},useActionState:function(z){return I="useActionState",T(),D(),Jz(z)},useOptimistic:function(z,X){return I="useOptimistic",T(),D(),GB(z,X)},useMemoCache:function(z){return T(),H6(z)},useHostTransitionStatus:Q6,useCacheRefresh:function(){return I="useCacheRefresh",D(),m1().memoizedState},useEffectEvent:function(z){return I="useEffectEvent",T(),D(),Rz(z)}};var HR={},JR=new Set,QR=new Set,RR=new Set,UR=new Set,qR=new Set,WR=new Set,KR=new Set,wR=new Set,MR=new Set,OR=new Set;Object.freeze(HR);var iY={enqueueSetState:function(z,X,G){z=z._reactInternals;var Y=U2(z),Z=Q3(Y);Z.payload=X,G!==void 0&&G!==null&&(XG(G),Z.callback=G),X=R3(z,Z,Y),X!==null&&(G8(Y,"this.setState()",z),Y0(X,z,Y),R7(X,z,Y))},enqueueReplaceState:function(z,X,G){z=z._reactInternals;var Y=U2(z),Z=Q3(Y);Z.tag=eQ,Z.payload=X,G!==void 0&&G!==null&&(XG(G),Z.callback=G),X=R3(z,Z,Y),X!==null&&(G8(Y,"this.replaceState()",z),Y0(X,z,Y),R7(X,z,Y))},enqueueForceUpdate:function(z,X){z=z._reactInternals;var G=U2(z),Y=Q3(G);Y.tag=zR,X!==void 0&&X!==null&&(XG(X),Y.callback=X),X=R3(z,Y,G),X!==null&&(G8(G,"this.forceUpdate()",z),Y0(X,z,G),R7(X,z,G))}},E4=null,rY=null,tY=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."),w0=!1,_R={},LR={},AR={},FR={},b4=!1,NR={},O9={},eY={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},IR=!1,PR=null;PR=new Set;var n8=!1,M0=!1,zZ=!1,TR=typeof WeakSet==="function"?WeakSet:Set,C0=null,y4=null,m4=null,O0=null,z2=!1,o2=null,A0=!1,R5=8192,oK={getCacheForType:function(z){var X=r1(q0),G=X.data.get(z);return G===void 0&&(G=z(),X.data.set(z,G)),G},cacheSignal:function(){return r1(q0).controller.signal},getOwner:function(){return K2}};if(typeof Symbol==="function"&&Symbol.for){var U5=Symbol.for;U5("selector.component"),U5("selector.has_pseudo_class"),U5("selector.role"),U5("selector.test_id"),U5("selector.text")}var nK=[],iK=typeof WeakMap==="function"?WeakMap:Map,x0=0,F0=2,L2=4,i8=0,q5=1,T6=2,_9=3,D3=4,L9=6,vR=5,S1=x0,c1=null,_1=null,O1=0,X2=0,A9=1,v6=2,W5=3,CR=4,XZ=5,K5=6,F9=7,GZ=8,C6=9,f1=X2,A2=null,k3=!1,f4=!1,YZ=!1,v8=0,X0=i8,g3=0,E3=0,ZZ=0,G2=0,x6=0,w5=null,n0=null,N9=!1,I9=0,xR=0,SR=300,P9=1/0,jR=500,M5=null,H0=null,b3=null,T9=0,$Z=1,BZ=2,VR=3,y3=0,DR=1,kR=2,gR=3,ER=4,v9=5,_0=0,m3=null,h4=null,n2=0,HZ=0,JZ=-0,QZ=null,bR=null,yR=null,i2=T9,mR=null,rK=50,O5=0,RZ=null,UZ=!1,C9=!1,tK=50,S6=0,_5=null,u4=!1,x9=null,fR=!1,hR=new Set,eK={},S9=null,d4=null,qZ=!1,WZ=!1,j9=!1,KZ=!1,f3=0,wZ={};(function(){for(var z=0;z<vY.length;z++){var X=vY[z],G=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),h2(G,"on"+X)}h2(MQ,"onAnimationEnd"),h2(OQ,"onAnimationIteration"),h2(_Q,"onAnimationStart"),h2("dblclick","onDoubleClick"),h2("focusin","onFocus"),h2("focusout","onBlur"),h2(SK,"onTransitionRun"),h2(jK,"onTransitionStart"),h2(VK,"onTransitionCancel"),h2(LQ,"onTransitionEnd")})(),Z2("onMouseEnter",["mouseout","mouseover"]),Z2("onMouseLeave",["mouseout","mouseover"]),Z2("onPointerEnter",["pointerout","pointerover"]),Z2("onPointerLeave",["pointerout","pointerover"]),y0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),y0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),y0("onBeforeInput",["compositionend","keypress","textInput","paste"]),y0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),y0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),y0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var L5="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(" "),MZ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(L5)),V9="_reactListening"+Math.random().toString(36).slice(2),uR=!1,dR=!1,D9=!1,lR=!1,k9=!1,g9=!1,cR=!1,E9={},zw=/\r\n?/g,Xw=/\u0000|\uFFFD/g,j6="http://www.w3.org/1999/xlink",OZ="http://www.w3.org/XML/1998/namespace",Gw="javascript:throw new Error('React form unexpectedly submitted.')",Yw="suppressHydrationWarning",V6="&",b9="/&",A5="$",F5="/$",h3="$?",D6="$~",l4="$!",Zw="html",$w="body",Bw="head",_Z="F!",pR="F",sR="loading",Hw="style",r8=0,c4=1,y9=2,LZ=null,AZ=null,aR={dialog:!0,webview:!0},FZ=null,N5=void 0,oR=typeof setTimeout==="function"?setTimeout:void 0,Jw=typeof clearTimeout==="function"?clearTimeout:void 0,k6=-1,nR=typeof Promise==="function"?Promise:void 0,Qw=typeof queueMicrotask==="function"?queueMicrotask:typeof nR<"u"?function(z){return nR.resolve(null).then(z).catch(aq)}:oR,NZ=null,g6=0,I5=1,iR=2,rR=3,y2=4,m2=new Map,tR=new Set,t8=k1.d;k1.d={f:function(){var z=t8.f(),X=Y4();return z||X},r:function(z){var X=Q1(z);X!==null&&X.tag===5&&X.type==="form"?wB(X):t8.r(z)},D:function(z){t8.D(z),JJ("dns-prefetch",z,null)},C:function(z,X){t8.C(z,X),JJ("preconnect",z,X)},L:function(z,X,G){t8.L(z,X,G);var Y=p4;if(Y&&z&&X){var Z='link[rel="preload"][as="'+T2(X)+'"]';X==="image"?G&&G.imageSrcSet?(Z+='[imagesrcset="'+T2(G.imageSrcSet)+'"]',typeof G.imageSizes==="string"&&(Z+='[imagesizes="'+T2(G.imageSizes)+'"]')):Z+='[href="'+T2(z)+'"]':Z+='[href="'+T2(z)+'"]';var $=Z;switch(X){case"style":$=B4(z);break;case"script":$=H4(z)}m2.has($)||(z=A1({rel:"preload",href:X==="image"&&G&&G.imageSrcSet?void 0:z,as:X},G),m2.set($,z),Y.querySelector(Z)!==null||X==="style"&&Y.querySelector(S7($))||X==="script"&&Y.querySelector(j7($))||(X=Y.createElement("link"),D0(X,"link",z),t(X),Y.head.appendChild(X)))}},m:function(z,X){t8.m(z,X);var G=p4;if(G&&z){var Y=X&&typeof X.as==="string"?X.as:"script",Z='link[rel="modulepreload"][as="'+T2(Y)+'"][href="'+T2(z)+'"]',$=Z;switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":$=H4(z)}if(!m2.has($)&&(z=A1({rel:"modulepreload",href:z},X),m2.set($,z),G.querySelector(Z)===null)){switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(G.querySelector(j7($)))return}Y=G.createElement("link"),D0(Y,"link",z),t(Y),G.head.appendChild(Y)}}},X:function(z,X){t8.X(z,X);var G=p4;if(G&&z){var Y=j1(G).hoistableScripts,Z=H4(z),$=Y.get(Z);$||($=G.querySelector(j7(Z)),$||(z=A1({src:z,async:!0},X),(X=m2.get(Z))&&pG(z,X),$=G.createElement("script"),t($),D0($,"link",z),G.head.appendChild($)),$={type:"script",instance:$,count:1,state:null},Y.set(Z,$))}},S:function(z,X,G){t8.S(z,X,G);var Y=p4;if(Y&&z){var Z=j1(Y).hoistableStyles,$=B4(z);X=X||"default";var B=Z.get($);if(!B){var H={loading:g6,preload:null};if(B=Y.querySelector(S7($)))H.loading=I5|y2;else{z=A1({rel:"stylesheet",href:z,"data-precedence":X},G),(G=m2.get($))&&cG(z,G);var J=B=Y.createElement("link");t(J),D0(J,"link",z),J._p=new Promise(function(Q,w){J.onload=Q,J.onerror=w}),J.addEventListener("load",function(){H.loading|=I5}),J.addEventListener("error",function(){H.loading|=iR}),H.loading|=y2,Dz(B,X,Y)}B={type:"stylesheet",instance:B,count:1,state:H},Z.set($,B)}}},M:function(z,X){t8.M(z,X);var G=p4;if(G&&z){var Y=j1(G).hoistableScripts,Z=H4(z),$=Y.get(Z);$||($=G.querySelector(j7(Z)),$||(z=A1({src:z,async:!0,type:"module"},X),(X=m2.get(Z))&&pG(z,X),$=G.createElement("script"),t($),D0($,"link",z),G.head.appendChild($)),$={type:"script",instance:$,count:1,state:null},Y.set(Z,$))}}};var p4=typeof document>"u"?null:document,m9=null,Rw=60000,Uw=800,qw=500,IZ=0,PZ=null,f9=null,E6=CW,P5={$$typeof:M8,Provider:null,Consumer:null,_currentValue:E6,_currentValue2:E6,_threadCount:0},eR="%c%s%c",zU="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",XU="",h9=" ",Ww=Function.prototype.bind,GU=!1,YU=null,ZU=null,$U=null,BU=null,HU=null,JU=null,QU=null,RU=null,UU=null,qU=null;YU=function(z,X,G,Y){X=O(z,X),X!==null&&(G=F(X.memoizedState,G,0,Y),X.memoizedState=G,X.baseState=G,z.memoizedProps=A1({},z.memoizedProps),G=m0(z,2),G!==null&&Y0(G,z,2))},ZU=function(z,X,G){X=O(z,X),X!==null&&(G=E(X.memoizedState,G,0),X.memoizedState=G,X.baseState=G,z.memoizedProps=A1({},z.memoizedProps),G=m0(z,2),G!==null&&Y0(G,z,2))},$U=function(z,X,G,Y){X=O(z,X),X!==null&&(G=x(X.memoizedState,G,Y),X.memoizedState=G,X.baseState=G,z.memoizedProps=A1({},z.memoizedProps),G=m0(z,2),G!==null&&Y0(G,z,2))},BU=function(z,X,G){z.pendingProps=F(z.memoizedProps,X,0,G),z.alternate&&(z.alternate.pendingProps=z.pendingProps),X=m0(z,2),X!==null&&Y0(X,z,2)},HU=function(z,X){z.pendingProps=E(z.memoizedProps,X,0),z.alternate&&(z.alternate.pendingProps=z.pendingProps),X=m0(z,2),X!==null&&Y0(X,z,2)},JU=function(z,X,G){z.pendingProps=x(z.memoizedProps,X,G),z.alternate&&(z.alternate.pendingProps=z.pendingProps),X=m0(z,2),X!==null&&Y0(X,z,2)},QU=function(z){var X=m0(z,2);X!==null&&Y0(X,z,2)},RU=function(z){var X=l6(),G=m0(z,X);G!==null&&Y0(G,z,X)},UU=function(z){p=z},qU=function(z){V=z};var u9=!0,d9=null,TZ=!1,u3=null,d3=null,l3=null,T5=new Map,v5=new Map,c3=[],Kw="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(" "),l9=null;if(yz.prototype.render=rG.prototype.render=function(z){var X=this._internalRoot;if(X===null)throw Error("Cannot update an unmounted root.");var G=arguments;typeof G[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()."):v1(G[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 G[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),G=z;var Y=X.current,Z=U2(Y);sG(Y,Z,G,X,null,null)},yz.prototype.unmount=rG.prototype.unmount=function(){var z=arguments;if(typeof z[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()."),z=this._internalRoot,z!==null){this._internalRoot=null;var X=z.containerInfo;(S1&(F0|L2))!==x0&&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."),sG(z.current,2,null,z,null,null),Y4(),X[A3]=null}},yz.prototype.unstable_scheduleHydration=function(z){if(z){var X=A();z={blockedOn:null,target:z,priority:X};for(var G=0;G<c3.length&&X!==0&&X<c3[G].priority;G++);c3.splice(G,0,z),G===0&&NJ(z)}},function(){var z=s4.version;if(z!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+(z+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
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"),k1.findDOMNode=function(z){var X=z._reactInternals;if(X===void 0){if(typeof z.render==="function")throw Error("Unable to find node on an unmounted component.");throw z=Object.keys(z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+z)}return z=N2(X),z=z!==null?f2(z):null,z=z===null?null:z.stateNode,z},!function(){var z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.7"};return z.overrideHookState=YU,z.overrideHookStateDeletePath=ZU,z.overrideHookStateRenamePath=$U,z.overrideProps=BU,z.overridePropsDeletePath=HU,z.overridePropsRenamePath=JU,z.scheduleUpdate=QU,z.scheduleRetry=RU,z.setErrorHandler=UU,z.setSuspenseHandler=qU,z.scheduleRefresh=r,z.scheduleRoot=d,z.setRefreshHandler=W1,z.getCurrentFiber=LW,d6(z)}()&&F8&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var WU=window.location.protocol;/^(https?|file):$/.test(WU)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(WU==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Cw.createRoot=function(z,X){if(!v1(z))throw Error("Target container is not a DOM element.");vJ(z);var G=!1,Y="",Z=IB,$=PB,B=TB;return X!==null&&X!==void 0&&(X.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof X==="object"&&X!==null&&X.$$typeof===w8&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),X.unstable_strictMode===!0&&(G=!0),X.identifierPrefix!==void 0&&(Y=X.identifierPrefix),X.onUncaughtError!==void 0&&(Z=X.onUncaughtError),X.onCaughtError!==void 0&&($=X.onCaughtError),X.onRecoverableError!==void 0&&(B=X.onRecoverableError)),X=wJ(z,1,!1,null,null,G,Y,null,Z,$,B,TJ),z[A3]=X.current,DG(z),new rG(X)},Cw.hydrateRoot=function(z,X,G){if(!v1(z))throw Error("Target container is not a DOM element.");vJ(z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var Y=!1,Z="",$=IB,B=PB,H=TB,J=null;return G!==null&&G!==void 0&&(G.unstable_strictMode===!0&&(Y=!0),G.identifierPrefix!==void 0&&(Z=G.identifierPrefix),G.onUncaughtError!==void 0&&($=G.onUncaughtError),G.onCaughtError!==void 0&&(B=G.onCaughtError),G.onRecoverableError!==void 0&&(H=G.onRecoverableError),G.formState!==void 0&&(J=G.formState)),X=wJ(z,1,!0,X,G!=null?G:null,Y,Z,J,$,B,H,TJ),X.context=MJ(null),G=X.current,Y=U2(G),Y=r3(Y),Z=Q3(Y),Z.callback=null,R3(G,Z,Y),G8(Y,"hydrateRoot()",null),G=Y,X.current.lanes=G,G3(X,G),W8(X),z[A3]=X.current,DG(z),new yz(X)},Cw.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var FU=b6((vO,AU)=>{var xw=E0(LU());AU.exports=xw});var h6=b6((Sw)=>{var f6=E0(y6());(function(){function O(j){if(j==null)return null;if(typeof j==="function")return j.$$typeof===y?null:j.displayName||j.name||null;if(typeof j==="string")return j;switch(j){case W1:return"Fragment";case b0:return"Profiler";case v1:return"StrictMode";case N2:return"Suspense";case f2:return"SuspenseList";case e1:return"Activity"}if(typeof j==="object")switch(typeof j.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),j.$$typeof){case r:return"Portal";case J0:return j.displayName||"Context";case U0:return(j._context.displayName||"Context")+".Consumer";case F2:var J1=j.render;return j=j.displayName,j||(j=J1.displayName||J1.name||"",j=j!==""?"ForwardRef("+j+")":"ForwardRef"),j;case $0:return J1=j.displayName||null,J1!==null?J1:O(j.type)||"Memo";case h:J1=j._payload,j=j._init;try{return O(j(J1))}catch(b1){}}return null}function F(j){return""+j}function x(j){try{F(j);var J1=!1}catch(h1){J1=!0}if(J1){J1=console;var b1=J1.error,y1=typeof Symbol==="function"&&Symbol.toStringTag&&j[Symbol.toStringTag]||j.constructor.name||"Object";return b1.call(J1,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",y1),F(j)}}function g(j){if(j===W1)return"<>";if(typeof j==="object"&&j!==null&&j.$$typeof===h)return"<...>";try{var J1=O(j);return J1?"<"+J1+">":"<...>"}catch(b1){return"<...>"}}function E(){var j=x1.A;return j===null?null:j.getOwner()}function V(){return Error("react-stack-top-frame")}function p(j){if(C1.call(j,"key")){var J1=Object.getOwnPropertyDescriptor(j,"key").get;if(J1&&J1.isReactWarning)return!1}return j.key!==void 0}function T(j,J1){function b1(){u||(u=!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)",J1))}b1.isReactWarning=!0,Object.defineProperty(j,"key",{get:b1,configurable:!0})}function o(){var j=O(this.type);return Y1[j]||(Y1[j]=!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.")),j=this.props.ref,j!==void 0?j:null}function s(j,J1,b1,y1,h1,r2){var G0=b1.ref;return j={$$typeof:d,type:j,key:J1,props:b1,_owner:y1},(G0!==void 0?G0:null)!==null?Object.defineProperty(j,"ref",{enumerable:!1,get:o}):Object.defineProperty(j,"ref",{enumerable:!1,value:null}),j._store={},Object.defineProperty(j._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(j,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(j,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h1}),Object.defineProperty(j,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r2}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j}function C(j,J1,b1,y1,h1,r2){var G0=J1.children;if(G0!==void 0)if(y1)if(U1(G0)){for(y1=0;y1<G0.length;y1++)L(G0[y1]);Object.freeze&&Object.freeze(G0)}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 L(G0);if(C1.call(J1,"key")){G0=O(j);var Y2=Object.keys(J1).filter(function(C8){return C8!=="key"});y1=0<Y2.length?"{key: someKey, "+Y2.join(": ..., ")+": ...}":"{key: someKey}",E1[G0+y1]||(Y2=0<Y2.length?"{"+Y2.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
231
|
+
let props = %s;
|
|
232
|
+
<%s {...props} />
|
|
233
|
+
React keys must be passed directly to JSX without using spread:
|
|
234
|
+
let props = %s;
|
|
235
|
+
<%s key={someKey} {...props} />`,y1,G0,Y2,G0),E1[G0+y1]=!0)}if(G0=null,b1!==void 0&&(x(b1),G0=""+b1),p(J1)&&(x(J1.key),G0=""+J1.key),"key"in J1){b1={};for(var I2 in J1)I2!=="key"&&(b1[I2]=J1[I2])}else b1=J1;return G0&&T(b1,typeof j==="function"?j.displayName||j.name||"Unknown":j),s(j,G0,b1,E(),h1,r2)}function L(j){S(j)?j._store&&(j._store.validated=1):typeof j==="object"&&j!==null&&j.$$typeof===h&&(j._payload.status==="fulfilled"?S(j._payload.value)&&j._payload.value._store&&(j._payload.value._store.validated=1):j._store&&(j._store.validated=1))}function S(j){return typeof j==="object"&&j!==null&&j.$$typeof===d}var d=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),W1=Symbol.for("react.fragment"),v1=Symbol.for("react.strict_mode"),b0=Symbol.for("react.profiler"),U0=Symbol.for("react.consumer"),J0=Symbol.for("react.context"),F2=Symbol.for("react.forward_ref"),N2=Symbol.for("react.suspense"),f2=Symbol.for("react.suspense_list"),$0=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),e1=Symbol.for("react.activity"),y=Symbol.for("react.client.reference"),x1=f6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C1=Object.prototype.hasOwnProperty,U1=Array.isArray,S0=console.createTask?console.createTask:function(){return null};f6={react_stack_bottom_frame:function(j){return j()}};var u,Y1={},X1=f6.react_stack_bottom_frame.bind(f6,V)(),g1=S0(g(V)),E1={};Sw.Fragment=W1,Sw.jsxDEV=function(j,J1,b1,y1){var h1=1e4>x1.recentlyCreatedOwnerStacks++;return C(j,J1,b1,y1,h1?Error("react-stack-top-frame"):X1,h1?S0(g(j)):g1)}})()});var kU=E0(y6(),1),gU=E0(FU(),1);var $1=E0(y6(),1);class a4 extends Error{code;status;constructor(O,F,x){super(O);this.code=F;this.status=x;this.name="ApiError"}}var NU="pramen.cmsEditor";function IU(){try{let O=localStorage.getItem(NU);if(O)return JSON.parse(O)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function PU(O){localStorage.setItem(NU,JSON.stringify(O))}class xZ{cfg;constructor(O){this.cfg=O}setConfig(O){this.cfg=O}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(O,F){let x=await fetch(`${this.base()}/rpc/${O}`,{method:"POST",headers:{"content-type":"application/json","x-pramen-tenant":this.cfg.tenant||"main",...this.cfg.token?{authorization:`Bearer ${this.cfg.token}`}:{}},body:JSON.stringify(F??{})}),g;try{g=await x.json()}catch{throw new a4(`non-JSON response (HTTP ${x.status})`,"bad_response",x.status)}if(g.ok!==!0){let E=g.error??`request failed (HTTP ${x.status})`,V=x.status===403?" — check your token has an editor/reviewer role":"";throw new a4(E+V,g.code??"error",x.status)}return g.result}async put(O,F,x){let g=O.startsWith("http")?O:`${this.base()}${O}`,E=await fetch(g,{method:"PUT",headers:{"content-type":x},body:F});if(!E.ok)throw new a4(`upload failed (HTTP ${E.status})`,"upload_failed",E.status)}resolve(O){return O.startsWith("http")?O:`${this.base()}${O}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(O)=>this.call("getContentType",{id:O});listPages=()=>this.call("listPages");getPagePreview=(O,F)=>this.call("getPage",{slug:O,locale:F,preview:!0});listPageAudit=(O)=>this.call("listPageAudit",{pageId:O});listMedia=(O=50,F=0)=>this.call("listMedia",{limit:O,offset:F});getMedia=(O)=>this.call("getMedia",{id:O});updateMedia=(O,F)=>this.call("updateMedia",{id:O,alt:F});deleteMedia=(O)=>this.call("deleteMedia",{id:O});async uploadMedia(O){let F=O.type||"application/octet-stream",x=await this.call("signMediaUpload",{contentType:F,filename:O.name});return await this.put(x.url,await O.arrayBuffer(),F),this.call("createMedia",{ref:x.ref,alt:O.name})}}var z3=E0(y6(),1),z1=E0(h6(),1);function p9({schema:O,value:F,onChange:x,api:g}){let E=(V,p)=>x({...F,[V]:p});return z1.jsxDEV(z1.Fragment,{children:O.map((V)=>z1.jsxDEV(jw,{def:V,value:F[V.name],onChange:(p)=>E(V.name,p),api:g},V.name,!1,void 0,this))},void 0,!1,void 0,this)}function jw({def:O,value:F,onChange:x,api:g}){let E=z1.jsxDEV("span",{className:"lbl",children:[O.label??O.name," ",O.required?z1.jsxDEV("span",{className:"req",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(O.type){case"text":case"url":return z1.jsxDEV("label",{className:"field",children:[E,z1.jsxDEV("input",{value:F??"",onChange:(V)=>x(V.target.value),placeholder:O.type==="url"?"https://…":""},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"textarea":case"richtext":return z1.jsxDEV("label",{className:"field",children:[E,z1.jsxDEV("textarea",{value:typeof F==="string"?F:F==null?"":JSON.stringify(F),onChange:(V)=>x(V.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"number":return z1.jsxDEV("label",{className:"field",children:[E,z1.jsxDEV("input",{type:"number",value:F==null?"":String(F),onChange:(V)=>x(V.target.value===""?null:Number(V.target.value))},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"boolean":return z1.jsxDEV("label",{className:"field checkbox",children:[z1.jsxDEV("input",{type:"checkbox",checked:Boolean(F),onChange:(V)=>x(V.target.checked)},void 0,!1,void 0,this),z1.jsxDEV("span",{children:O.label??O.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return z1.jsxDEV("label",{className:"field",children:[E,z1.jsxDEV("select",{value:F??"",onChange:(V)=>x(V.target.value||null),children:[z1.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(O.options??[]).map((V)=>z1.jsxDEV("option",{value:V,children:V},V,!1,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this);case"media":return z1.jsxDEV("label",{className:"field",children:[E,z1.jsxDEV(Dw,{value:F,onChange:x,api:g},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"group":return z1.jsxDEV("div",{className:"field",children:[E,z1.jsxDEV("div",{className:"group",children:z1.jsxDEV(p9,{schema:O.fields??[],value:F??{},onChange:x,api:g},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"repeater":return z1.jsxDEV(Vw,{def:O,value:F??[],onChange:x,api:g,label:E},void 0,!1,void 0,this);default:return null}}function Vw({def:O,value:F,onChange:x,api:g,label:E}){let V=Array.isArray(F)?F:[],p=(C,L)=>x(V.map((S,d)=>d===C?L:S)),T=()=>x([...V,{}]),o=(C)=>x(V.filter((L,S)=>S!==C)),s=(C,L)=>{let S=C+L;if(S<0||S>=V.length)return;let d=V.slice();[d[C],d[S]]=[d[S],d[C]],x(d)};return z1.jsxDEV("div",{className:"field",children:[E,V.map((C,L)=>z1.jsxDEV("div",{className:"repeater-item",children:[z1.jsxDEV("div",{className:"ih",children:[z1.jsxDEV("button",{type:"button",className:"ghost sm",onClick:()=>s(L,-1),children:"↑"},void 0,!1,void 0,this),z1.jsxDEV("button",{type:"button",className:"ghost sm",onClick:()=>s(L,1),children:"↓"},void 0,!1,void 0,this),z1.jsxDEV("button",{type:"button",className:"ghost sm danger",onClick:()=>o(L),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z1.jsxDEV(p9,{schema:O.fields??[],value:C,onChange:(S)=>p(L,S),api:g},void 0,!1,void 0,this)]},L,!0,void 0,this)),z1.jsxDEV("button",{type:"button",className:"sm",onClick:T,disabled:O.max!=null&&V.length>=O.max,children:["+ add ",O.label??O.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Dw({value:O,onChange:F,api:x}){let[g,E]=z3.useState(!1),[V,p]=z3.useState(null);return z3.useEffect(()=>{if(O)x.call("getMedia",{id:O}).then(p).catch(()=>p(null));else p(null)},[O,x]),z1.jsxDEV("div",{children:[z1.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[V?z1.jsxDEV("img",{src:x.resolve(`/media/${V.file.key}`),alt:"",style:{width:40,height:40,objectFit:"cover",borderRadius:4}},void 0,!1,void 0,this):z1.jsxDEV("span",{className:"muted",children:"no media"},void 0,!1,void 0,this),z1.jsxDEV("span",{className:"grow muted",children:V?.file.filename??O??""},void 0,!1,void 0,this),z1.jsxDEV("button",{type:"button",className:"sm",onClick:()=>E(!0),children:"pick"},void 0,!1,void 0,this),O?z1.jsxDEV("button",{type:"button",className:"sm ghost danger",onClick:()=>F(null),children:"clear"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),g?z1.jsxDEV(kw,{api:x,onClose:()=>E(!1),onPick:(T)=>{F(T),E(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function kw({api:O,onClose:F,onPick:x}){let[g,E]=z3.useState([]),[V,p]=z3.useState(!1),[T,o]=z3.useState(""),s=()=>O.listMedia().then(E).catch((L)=>o(String(L.message??L)));z3.useEffect(()=>{s()},[]);let C=async(L)=>{p(!0),o("");try{let S=await O.uploadMedia(L);x(S.id)}catch(S){o(String(S.message??S))}finally{p(!1)}};return z1.jsxDEV("div",{className:"scrim",onClick:F,children:z1.jsxDEV("div",{className:"modal",onClick:(L)=>L.stopPropagation(),children:[z1.jsxDEV("h2",{children:"Media library"},void 0,!1,void 0,this),T?z1.jsxDEV("div",{className:"banner err",children:T},void 0,!1,void 0,this):null,z1.jsxDEV("label",{className:"field",children:[z1.jsxDEV("span",{className:"lbl",children:"Upload a new file"},void 0,!1,void 0,this),z1.jsxDEV("input",{type:"file",disabled:V,onChange:(L)=>L.target.files?.[0]&&C(L.target.files[0])},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z1.jsxDEV("div",{className:"media-grid",children:g.map((L)=>z1.jsxDEV("div",{className:"media-cell",onClick:()=>x(L.id),children:[(L.file.contentType??"").startsWith("image/")?z1.jsxDEV("img",{src:O.resolve(`/media/${L.file.key}`),alt:""},void 0,!1,void 0,this):z1.jsxDEV("div",{style:{height:70}},void 0,!1,void 0,this),z1.jsxDEV("div",{className:"fn",children:L.file.filename??L.id},void 0,!1,void 0,this)]},L.id,!0,void 0,this))},void 0,!1,void 0,this),z1.jsxDEV("div",{style:{marginTop:12,textAlign:"right"},children:z1.jsxDEV("button",{className:"ghost",onClick:F,children:"close"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var _=E0(h6(),1);function xU(){let[O,F]=$1.useState(IU()),x=$1.useMemo(()=>new xZ(O),[O]);if(!(O.baseUrl&&O.token))return _.jsxDEV(gw,{cfg:O,onSave:(E)=>{PU(E),F(E)}},void 0,!1,void 0,this);return _.jsxDEV(Ew,{api:x,cfg:O,onReconfigure:()=>F({...O,token:""})},void 0,!1,void 0,this)}function gw({cfg:O,onSave:F}){let[x,g]=$1.useState(O);return _.jsxDEV("div",{className:"setup",children:[_.jsxDEV("h1",{children:["pramen ",_.jsxDEV("span",{className:"dim",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("p",{className:"muted",children:"Point at your Worker and paste an editor/reviewer JWT. CORS must allow this origin (`CORS_ORIGINS`)."},void 0,!1,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Worker base URL"},void 0,!1,void 0,this),_.jsxDEV("input",{value:x.baseUrl,onChange:(E)=>g({...x,baseUrl:E.target.value}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Tenant"},void 0,!1,void 0,this),_.jsxDEV("input",{value:x.tenant,onChange:(E)=>g({...x,tenant:E.target.value}),placeholder:"main"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Bearer token (editor or reviewer)"},void 0,!1,void 0,this),_.jsxDEV("input",{value:x.token,onChange:(E)=>g({...x,token:E.target.value}),placeholder:"eyJ…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("button",{className:"primary",onClick:()=>F(x),disabled:!x.baseUrl||!x.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Ew({api:O,cfg:F,onReconfigure:x}){let[g,E]=$1.useState([]),[V,p]=$1.useState([]),[T,o]=$1.useState(null),[s,C]=$1.useState("pages"),[L,S]=$1.useState(""),d=$1.useCallback(()=>{O.listPages().then(E).catch((r)=>S(N0(r)))},[O]);return $1.useEffect(()=>{d(),O.listBlockTypes().then(p).catch((r)=>S(N0(r)))},[O,d]),_.jsxDEV(_.Fragment,{children:[_.jsxDEV("div",{className:"bar",children:[_.jsxDEV("span",{className:"brand",children:["pramen ",_.jsxDEV("span",{className:"dim",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("nav",{className:"tabs",style:{margin:0},children:[_.jsxDEV("button",{className:s==="pages"?"on":"ghost",onClick:()=>{C("pages"),o(null)},children:"Pages"},void 0,!1,void 0,this),_.jsxDEV("button",{className:s==="media"?"on":"ghost",onClick:()=>C("media"),children:"Media"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),s==="pages"&&T?_.jsxDEV("span",{className:"crumb",children:[_.jsxDEV("a",{onClick:()=>o(null),children:"Pages"},void 0,!1,void 0,this)," / ",_.jsxDEV("b",{children:T.title},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,_.jsxDEV("span",{className:"grow"},void 0,!1,void 0,this),_.jsxDEV("span",{className:"muted",children:F.tenant},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost sm",onClick:x,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L?_.jsxDEV("div",{className:"banner err",children:L},void 0,!1,void 0,this):null,s==="media"?_.jsxDEV(pw,{api:O,onError:S},void 0,!1,void 0,this):T?_.jsxDEV(mw,{api:O,page:T,blockTypes:V,onBack:()=>{o(null),d()},onChange:(r)=>o(r)},void 0,!1,void 0,this):_.jsxDEV(bw,{api:O,pages:g,blockTypes:V,onOpen:o,onCreated:d,onError:S},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function bw({api:O,pages:F,blockTypes:x,onOpen:g,onCreated:E,onError:V}){let[p,T]=$1.useState(!1);return _.jsxDEV("div",{style:{padding:20,maxWidth:780,margin:"0 auto"},children:[_.jsxDEV("div",{style:{display:"flex",alignItems:"center",marginBottom:12},children:[_.jsxDEV("h2",{style:{margin:0,flex:1},children:"Pages"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"primary",onClick:()=>T(!0),children:"+ New page"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("div",{className:"list",children:[F.map((o)=>_.jsxDEV("div",{className:"row",onClick:()=>g(o),children:[_.jsxDEV("span",{className:"grow",children:o.title},void 0,!1,void 0,this),_.jsxDEV("span",{className:"muted",children:["/",o.slug]},void 0,!0,void 0,this),_.jsxDEV("span",{className:"muted",children:o.locale},void 0,!1,void 0,this),_.jsxDEV("span",{className:`pill ${o.status}`,children:o.status},void 0,!1,void 0,this)]},o.id,!0,void 0,this)),F.length===0?_.jsxDEV("p",{className:"muted",children:["No pages yet. ",x.length===0?"Define block types + a content type first (via the API/admin).":"Create one."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),p?_.jsxDEV(yw,{api:O,onClose:()=>T(!1),onCreated:()=>{T(!1),E()},onError:V},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function yw({api:O,onClose:F,onCreated:x,onError:g}){let[E,V]=$1.useState([]),[p,T]=$1.useState(""),[o,s]=$1.useState(""),[C,L]=$1.useState("");$1.useEffect(()=>{O.listContentTypes().then((d)=>{if(V(d),d[0])T(d[0].id)}).catch((d)=>g(N0(d)))},[O,g]);let S=async()=>{try{await O.call("createPage",{typeId:p,title:o,slug:C||vU(o)}),x()}catch(d){g(N0(d))}};return _.jsxDEV("div",{className:"scrim",onClick:F,children:_.jsxDEV("div",{className:"modal",onClick:(d)=>d.stopPropagation(),children:[_.jsxDEV("h2",{children:"New page"},void 0,!1,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Content type"},void 0,!1,void 0,this),_.jsxDEV("select",{value:p,onChange:(d)=>T(d.target.value),children:E.map((d)=>_.jsxDEV("option",{value:d.id,children:d.name},d.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Title"},void 0,!1,void 0,this),_.jsxDEV("input",{value:o,onChange:(d)=>s(d.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Slug"},void 0,!1,void 0,this),_.jsxDEV("input",{value:C,onChange:(d)=>L(d.target.value),placeholder:vU(o)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("div",{style:{textAlign:"right",marginTop:10},children:[_.jsxDEV("button",{className:"ghost",onClick:F,children:"cancel"},void 0,!1,void 0,this)," ",_.jsxDEV("button",{className:"primary",onClick:S,disabled:!p||!o,children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function mw({api:O,page:F,blockTypes:x,onBack:g,onChange:E}){let[V,p]=$1.useState(null),[T,o]=$1.useState(null),[s,C]=$1.useState(null),[L,S]=$1.useState("settings"),[d,r]=$1.useState(""),[W1,v1]=$1.useState(""),b0=$1.useMemo(()=>new Map(x.map((h)=>[h.slug,h])),[x]),U0=$1.useCallback(async()=>{try{let[h,e1]=await Promise.all([O.getContentType(F.typeId),O.getPagePreview(F.slug,F.locale)]);p(h??null),o(e1)}catch(h){r(N0(h))}},[O,F.typeId,F.slug,F.locale]);$1.useEffect(()=>{U0(),C(null)},[U0]);let J0=V?.regions??[],F2=(h)=>{v1(h),setTimeout(()=>v1(""),1800)},N2=async(h,e1)=>{try{await O.call("addBlock",{pageId:F.id,blockTypeSlug:e1,region:h,fields:{}}),await U0(),F2("block added")}catch(y){r(N0(y))}},f2=async(h)=>{try{if(await O.call("removeBlock",{pageBlockId:h.id}),s?.id===h.id)C(null);await U0()}catch(e1){r(N0(e1))}},$0=async(h,e1)=>{try{await O.call("reorderRegion",{pageId:F.id,region:h,order:e1}),await U0()}catch(y){r(N0(y))}};return _.jsxDEV("div",{className:"layout",children:[_.jsxDEV("div",{className:"side",children:[_.jsxDEV("button",{className:"ghost sm",onClick:g,children:"← all pages"},void 0,!1,void 0,this),_.jsxDEV("div",{className:"sect",children:"Regions"},void 0,!1,void 0,this),J0.map((h)=>_.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[_.jsxDEV("span",{className:"grow",children:h.label??h.name},void 0,!1,void 0,this),_.jsxDEV("span",{className:"muted",children:(T?.regions[h.name]??[]).length},void 0,!1,void 0,this)]},h.name,!0,void 0,this)),_.jsxDEV("div",{className:"sect",children:"Status"},void 0,!1,void 0,this),_.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[_.jsxDEV("span",{className:"grow",children:F.title},void 0,!1,void 0,this),_.jsxDEV("span",{className:`pill ${F.status}`,children:F.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("div",{className:"canvas",children:[d?_.jsxDEV("div",{className:"banner err",children:d},void 0,!1,void 0,this):null,W1?_.jsxDEV("div",{className:"banner ok",children:W1},void 0,!1,void 0,this):null,J0.map((h)=>{let e1=T?.regions[h.name]??[],y=h.allowedTypes&&h.allowedTypes.length?h.allowedTypes:x.map((x1)=>x1.slug);return _.jsxDEV("div",{className:"region",children:[_.jsxDEV("h3",{children:[h.label??h.name,h.allowedTypes?_.jsxDEV("span",{className:"allow",children:["only: ",h.allowedTypes.join(", ")]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),e1.map((x1,C1)=>_.jsxDEV("div",{className:`block ${s?.id===x1.id?"selected":""}`,onClick:()=>C(x1),children:_.jsxDEV("div",{className:"bhead",children:[_.jsxDEV("span",{className:"btype",children:x1.block_type},void 0,!1,void 0,this),x1.is_shared?_.jsxDEV("span",{className:"shared",children:"shared"},void 0,!1,void 0,this):null,_.jsxDEV("span",{className:"grow muted",children:ow(x1.fields)},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost sm",onClick:(U1)=>{U1.stopPropagation(),CU(e1,h.name,C1,-1,$0)},children:"↑"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost sm",onClick:(U1)=>{U1.stopPropagation(),CU(e1,h.name,C1,1,$0)},children:"↓"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost sm danger",onClick:(U1)=>{U1.stopPropagation(),f2(x1)},children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},x1.id,!1,void 0,this)),_.jsxDEV("div",{className:"palette",children:y.map((x1)=>_.jsxDEV("button",{className:"sm",onClick:()=>N2(h.name,x1),children:["+ ",b0.get(x1)?.name??x1]},x1,!0,void 0,this))},void 0,!1,void 0,this)]},h.name,!0,void 0,this)}),J0.length===0?_.jsxDEV("p",{className:"muted",children:"This page's content type has no regions."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),_.jsxDEV("div",{className:"inspect",children:s?_.jsxDEV(fw,{api:O,block:s,blockType:b0.get(s.block_type),onClose:()=>C(null),onSaved:U0,onError:r},void 0,!1,void 0,this):_.jsxDEV(_.Fragment,{children:[_.jsxDEV("div",{className:"tabs",children:["settings","seo","workflow","i18n","audit"].map((h)=>_.jsxDEV("button",{className:L===h?"on":"",onClick:()=>S(h),children:h},h,!1,void 0,this))},void 0,!1,void 0,this),L==="settings"?_.jsxDEV(hw,{api:O,page:F,onSaved:E,onError:r},void 0,!1,void 0,this):null,L==="seo"?_.jsxDEV(uw,{api:O,page:F,onError:r},void 0,!1,void 0,this):null,L==="workflow"?_.jsxDEV(dw,{api:O,page:F,onChanged:(h)=>{E(h)},onError:r},void 0,!1,void 0,this):null,L==="i18n"?_.jsxDEV(lw,{api:O,page:F,onError:r},void 0,!1,void 0,this):null,L==="audit"?_.jsxDEV(cw,{api:O,pageId:F.id,onError:r},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function fw({api:O,block:F,blockType:x,onClose:g,onSaved:E,onError:V}){let[p,T]=$1.useState({}),[o,s]=$1.useState(!1);$1.useEffect(()=>{O.call("getBlock",{blockId:F.block_id}).then((S)=>T(S?.fields??{})).catch((S)=>V(N0(S)))},[O,F.block_id,V]);let C=x?.fieldsSchema??[],L=async()=>{s(!0);try{await O.call("updateBlock",{blockId:F.block_id,fields:p}),E()}catch(S){V(N0(S))}finally{s(!1)}};return _.jsxDEV("div",{children:[_.jsxDEV("div",{style:{display:"flex",alignItems:"center"},children:[_.jsxDEV("b",{className:"btype",style:{flex:1,color:"var(--spring)",fontFamily:"var(--mono)"},children:F.block_type},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost sm",onClick:g,children:"done"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.length===0?_.jsxDEV("p",{className:"muted",children:"This block type has no fields."},void 0,!1,void 0,this):_.jsxDEV(p9,{schema:C,value:p,onChange:T,api:O},void 0,!1,void 0,this),_.jsxDEV("button",{className:"primary",style:{marginTop:12,width:"100%"},onClick:L,disabled:o,children:"Save block"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function hw({api:O,page:F,onSaved:x,onError:g}){return _.jsxDEV("div",{className:"kv",children:[_.jsxDEV("span",{children:"Title"},void 0,!1,void 0,this),_.jsxDEV("span",{children:F.title},void 0,!1,void 0,this),_.jsxDEV("span",{children:"Slug"},void 0,!1,void 0,this),_.jsxDEV("span",{children:["/",F.slug]},void 0,!0,void 0,this),_.jsxDEV("span",{children:"Locale"},void 0,!1,void 0,this),_.jsxDEV("span",{children:F.locale},void 0,!1,void 0,this),_.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),_.jsxDEV("span",{children:F.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uw({api:O,page:F,onError:x}){let[g,E]=$1.useState({metaTitle:F.metaTitle??"",metaDescription:F.metaDescription??"",canonicalUrl:F.canonicalUrl??"",robots:F.robots??"",ogTitle:F.ogTitle??"",ogDescription:F.ogDescription??""}),[V,p]=$1.useState(!1),T=async()=>{try{await O.call("updatePageSeo",{pageId:F.id,...g}),p(!0),setTimeout(()=>p(!1),1500)}catch(s){x(N0(s))}},o=(s,C,L=!1)=>_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:C},void 0,!1,void 0,this),L?_.jsxDEV("textarea",{value:g[s],onChange:(S)=>E({...g,[s]:S.target.value})},void 0,!1,void 0,this):_.jsxDEV("input",{value:g[s],onChange:(S)=>E({...g,[s]:S.target.value})},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return _.jsxDEV("div",{children:[_.jsxDEV("div",{className:"sect",children:"SEO"},void 0,!1,void 0,this),V?_.jsxDEV("div",{className:"banner ok",children:"saved"},void 0,!1,void 0,this):null,o("metaTitle","Meta title"),o("metaDescription","Meta description",!0),o("canonicalUrl","Canonical URL"),o("robots","Robots (e.g. noindex)"),o("ogTitle","OG title"),o("ogDescription","OG description",!0),_.jsxDEV("button",{className:"primary",style:{width:"100%"},onClick:T,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function dw({api:O,page:F,onChanged:x,onError:g}){let E=async(V,p)=>{try{let T=await O.call(V,{pageId:F.id,...p});if(T?.page)x(T.page)}catch(T){g(N0(T))}};return _.jsxDEV("div",{children:[_.jsxDEV("div",{className:"sect",children:"Workflow"},void 0,!1,void 0,this),_.jsxDEV("p",{className:"kv",children:[_.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),_.jsxDEV("span",{className:`pill ${F.status}`,children:F.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[_.jsxDEV("button",{onClick:()=>E("submitForReview"),children:"Submit for review"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"primary",onClick:()=>E("approve"),children:"Approve (publish)"},void 0,!1,void 0,this),_.jsxDEV("button",{onClick:()=>E("reject"),children:"Reject"},void 0,!1,void 0,this),_.jsxDEV("button",{onClick:()=>E("publishPage"),children:"Publish directly"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost",onClick:()=>E("unpublishPage"),children:"Unpublish"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("p",{className:"muted",style:{marginTop:10},children:"Submit is editor-gated; approve/publish are reviewer-gated."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function lw({api:O,page:F,onError:x}){let[g,E]=$1.useState([]),[V,p]=$1.useState(""),T=$1.useCallback(()=>O.call("listTranslations",{pageId:F.id}).then(E).catch((s)=>x(N0(s))),[O,F.id,x]);$1.useEffect(()=>{T()},[T]);let o=async()=>{try{await O.call("createTranslation",{pageId:F.id,locale:V}),p(""),T()}catch(s){x(N0(s))}};return _.jsxDEV("div",{children:[_.jsxDEV("div",{className:"sect",children:"Translations"},void 0,!1,void 0,this),_.jsxDEV("div",{className:"list",children:g.map((s)=>_.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[_.jsxDEV("span",{className:"grow",children:s.locale},void 0,!1,void 0,this),_.jsxDEV("span",{className:"muted",children:["/",s.slug]},void 0,!0,void 0,this),_.jsxDEV("span",{className:`pill ${s.status}`,children:s.status},void 0,!1,void 0,this)]},s.id,!0,void 0,this))},void 0,!1,void 0,this),_.jsxDEV("div",{style:{display:"flex",gap:6,marginTop:8},children:[_.jsxDEV("input",{value:V,onChange:(s)=>p(s.target.value),placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),_.jsxDEV("button",{onClick:o,disabled:!V,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function cw({api:O,pageId:F,onError:x}){let[g,E]=$1.useState([]);return $1.useEffect(()=>{O.listPageAudit(F).then(E).catch((V)=>x(N0(V)))},[O,F,x]),_.jsxDEV("div",{children:[_.jsxDEV("div",{className:"sect",children:"Audit trail"},void 0,!1,void 0,this),_.jsxDEV("div",{className:"list",children:[g.map((V)=>_.jsxDEV("div",{className:"row",style:{cursor:"default",fontSize:12},children:[_.jsxDEV("span",{className:"btype",children:V.action},void 0,!1,void 0,this),_.jsxDEV("span",{className:"grow muted",children:[V.fromStatus," → ",V.toStatus]},void 0,!0,void 0,this),_.jsxDEV("span",{className:"muted",children:V.actor??"system"},void 0,!1,void 0,this)]},V.id,!0,void 0,this)),g.length===0?_.jsxDEV("p",{className:"muted",children:"No history yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var TU=60;function pw({api:O,onError:F}){let[x,g]=$1.useState([]),[E,V]=$1.useState(0),[p,T]=$1.useState(!1),[o,s]=$1.useState(null),[C,L]=$1.useState(!1),S=$1.useCallback((r)=>{O.listMedia(TU,r).then((W1)=>{g((v1)=>r===0?W1:[...v1,...W1]),T(W1.length===TU),V(r+W1.length)}).catch((W1)=>F(N0(W1)))},[O,F]);$1.useEffect(()=>{S(0)},[S]);let d=async(r)=>{if(!r?.length)return;L(!0),F("");try{for(let W1 of Array.from(r))await O.uploadMedia(W1);S(0)}catch(W1){F(N0(W1))}finally{L(!1)}};return _.jsxDEV("div",{className:"media-lib",children:[_.jsxDEV("div",{className:"media-toolbar",children:[_.jsxDEV("h2",{style:{margin:0,flex:1},children:"Media"},void 0,!1,void 0,this),_.jsxDEV("label",{className:`btn primary${C?" disabled":""}`,children:[C?"Uploading…":"+ Upload",_.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:C,onChange:(r)=>{d(r.target.files),r.target.value=""}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),x.length===0?_.jsxDEV("p",{className:"muted",children:"No media yet. Upload images to use them in blocks and SEO."},void 0,!1,void 0,this):_.jsxDEV("div",{className:"media-grid",children:x.map((r)=>_.jsxDEV("div",{className:`media-cell${o?.id===r.id?" sel":""}`,onClick:()=>s(r),children:[SU(r)?_.jsxDEV("img",{src:O.resolve(`/media/${r.file.key}`),alt:r.alt??""},void 0,!1,void 0,this):_.jsxDEV("div",{className:"ext",children:jU(r)},void 0,!1,void 0,this),_.jsxDEV("div",{className:"fn",children:r.file.filename??r.id},void 0,!1,void 0,this)]},r.id,!0,void 0,this))},void 0,!1,void 0,this),p?_.jsxDEV("div",{style:{textAlign:"center",marginTop:14},children:_.jsxDEV("button",{className:"sm",onClick:()=>S(E),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,o?_.jsxDEV(sw,{api:O,media:o,onClose:()=>s(null),onSaved:(r)=>{s(r),g((W1)=>W1.map((v1)=>v1.id===r.id?r:v1))},onDeleted:(r)=>{s(null),g((W1)=>W1.filter((v1)=>v1.id!==r))},onError:F},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function sw({api:O,media:F,onClose:x,onSaved:g,onDeleted:E,onError:V}){let[p,T]=$1.useState(F.alt??""),[o,s]=$1.useState(!1);$1.useEffect(()=>T(F.alt??""),[F]);let C=O.resolve(`/media/${F.file.key}`),L=async()=>{s(!0);try{g(await O.updateMedia(F.id,p||null))}catch(d){V(N0(d))}finally{s(!1)}},S=async()=>{if(!confirm("Delete this file permanently? If a block or page still references it, that image will break — this cannot be undone."))return;s(!0);try{await O.deleteMedia(F.id),E(F.id)}catch(d){V(N0(d))}finally{s(!1)}};return _.jsxDEV("div",{className:"scrim",onClick:x,children:_.jsxDEV("div",{className:"modal media-detail",onClick:(d)=>d.stopPropagation(),children:[_.jsxDEV("h2",{children:F.file.filename??"Media"},void 0,!1,void 0,this),SU(F)?_.jsxDEV("img",{src:C,alt:F.alt??""},void 0,!1,void 0,this):_.jsxDEV("div",{className:"ext lg",children:jU(F)},void 0,!1,void 0,this),_.jsxDEV("label",{className:"field",children:[_.jsxDEV("span",{className:"lbl",children:"Alt text (for accessibility & SEO)"},void 0,!1,void 0,this),_.jsxDEV("input",{value:p,onChange:(d)=>T(d.target.value),placeholder:"Describe the image…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("div",{className:"kv",children:[_.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),_.jsxDEV("span",{children:F.file.contentType??"—"},void 0,!1,void 0,this),_.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),_.jsxDEV("span",{children:aw(F.file.size)},void 0,!1,void 0,this),_.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),_.jsxDEV("span",{children:F.file.uploadedAt?new Date(F.file.uploadedAt).toLocaleString():F.createdAt??"—"},void 0,!1,void 0,this),_.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),_.jsxDEV("span",{children:_.jsxDEV("a",{href:C,target:"_blank",rel:"noreferrer",children:["/media/",F.file.key]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.jsxDEV("div",{style:{display:"flex",gap:8,marginTop:14},children:[_.jsxDEV("button",{className:"primary",onClick:L,disabled:o||p===(F.alt??""),children:"Save"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"sm",onClick:()=>navigator.clipboard?.writeText(C),children:"Copy URL"},void 0,!1,void 0,this),_.jsxDEV("span",{className:"grow"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost danger",onClick:S,disabled:o,children:"Delete"},void 0,!1,void 0,this),_.jsxDEV("button",{className:"ghost",onClick:x,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function SU(O){return(O.file.contentType??"").startsWith("image/")}function jU(O){let F=(O.file.contentType??"").split("/")[1];return(O.file.filename?.split(".").pop()??F??"file").slice(0,5).toUpperCase()}function aw(O){if(!O||O<=0)return"—";let F=["B","KB","MB","GB"],x=0,g=O;while(g>=1024&&x<F.length-1)g/=1024,x++;return`${g<10&&x>0?g.toFixed(1):Math.round(g)} ${F[x]}`}function N0(O){if(O instanceof a4)return O.message;return O instanceof Error?O.message:String(O)}function vU(O){return O.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function ow(O){let F=Object.values(O).find((x)=>typeof x==="string"&&x);return typeof F==="string"?F.length>48?F.slice(0,48)+"…":F:""}function CU(O,F,x,g,E){let V=x+g;if(V<0||V>=O.length)return;let p=O.map((T)=>T.id);[p[x],p[V]]=[p[V],p[x]],E(F,p)}var VU=`
|
|
236
|
+
:root {
|
|
237
|
+
--bg:#0e1116; --surface:#141921; --surface-2:#181e28; --raise:#1d2531;
|
|
238
|
+
--border:#232c3a; --border-2:#2e3a4d; --ink:#e6edf3; --ink-2:#aab7c7; --ink-3:#6b7a8d;
|
|
239
|
+
--spring:#3fd6c0; --spring-dim:#1c8d80; --spring-bg:#0f2723; --amber:#e0a458;
|
|
240
|
+
--danger:#e0606a; --danger-bg:#2a161a; --radius:7px; --radius-sm:5px;
|
|
241
|
+
--mono:ui-monospace,"SF Mono","JetBrains Mono","Menlo",monospace;
|
|
242
|
+
--sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
|
|
243
|
+
}
|
|
244
|
+
* { box-sizing:border-box; }
|
|
245
|
+
html,body { margin:0; height:100%; }
|
|
246
|
+
body { background:var(--bg); color:var(--ink); font-family:var(--sans); font-size:14px; line-height:1.5; -webkit-font-smoothing:antialiased; }
|
|
247
|
+
#app { min-height:100%; }
|
|
248
|
+
a { color:var(--spring); }
|
|
249
|
+
|
|
250
|
+
.bar { display:flex; align-items:center; gap:10px; padding:10px 16px; background:var(--surface); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:10; }
|
|
251
|
+
.bar .grow { flex:1; }
|
|
252
|
+
.brand { font-weight:700; letter-spacing:.02em; }
|
|
253
|
+
.brand .dim { color:var(--ink-3); font-weight:400; }
|
|
254
|
+
.crumb { color:var(--ink-2); }
|
|
255
|
+
.crumb b { color:var(--ink); }
|
|
256
|
+
|
|
257
|
+
button, .btn { font:inherit; color:var(--ink); background:var(--raise); border:1px solid var(--border-2); border-radius:var(--radius-sm); padding:5px 11px; cursor:pointer; }
|
|
258
|
+
button:hover { border-color:var(--spring-dim); }
|
|
259
|
+
button.primary { background:var(--spring-bg); border-color:var(--spring-dim); color:var(--spring); }
|
|
260
|
+
button.ghost { background:transparent; border-color:transparent; color:var(--ink-2); }
|
|
261
|
+
button.ghost:hover { color:var(--ink); border-color:var(--border); }
|
|
262
|
+
button.danger { color:var(--danger); border-color:var(--danger); background:var(--danger-bg); }
|
|
263
|
+
button:disabled { opacity:.5; cursor:not-allowed; }
|
|
264
|
+
button.sm { padding:3px 7px; font-size:12px; }
|
|
265
|
+
|
|
266
|
+
input, textarea, select { font:inherit; color:var(--ink); background:var(--surface-2); border:1px solid var(--border-2); border-radius:var(--radius-sm); padding:6px 9px; width:100%; }
|
|
267
|
+
input:focus, textarea:focus, select:focus { outline:none; border-color:var(--spring-dim); }
|
|
268
|
+
textarea { min-height:72px; font-family:var(--mono); font-size:13px; resize:vertical; }
|
|
269
|
+
label.field { display:block; margin:10px 0; }
|
|
270
|
+
label.field > .lbl { display:block; color:var(--ink-2); font-size:12px; margin-bottom:4px; }
|
|
271
|
+
label.field > .lbl .req { color:var(--amber); }
|
|
272
|
+
.checkbox { display:flex; align-items:center; gap:8px; }
|
|
273
|
+
.checkbox input { width:auto; }
|
|
274
|
+
|
|
275
|
+
.layout { display:grid; grid-template-columns:230px 1fr 380px; min-height:calc(100vh - 47px); }
|
|
276
|
+
.side { border-right:1px solid var(--border); background:var(--surface); padding:12px; overflow:auto; }
|
|
277
|
+
.canvas { padding:18px 20px; overflow:auto; }
|
|
278
|
+
.inspect { border-left:1px solid var(--border); background:var(--surface); padding:14px 16px; overflow:auto; }
|
|
279
|
+
|
|
280
|
+
.sect { color:var(--ink-3); font-size:11px; text-transform:uppercase; letter-spacing:.08em; margin:14px 0 6px; }
|
|
281
|
+
.list { display:flex; flex-direction:column; gap:4px; }
|
|
282
|
+
.row { display:flex; align-items:center; gap:8px; padding:7px 9px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--surface-2); cursor:pointer; }
|
|
283
|
+
.row:hover { border-color:var(--border-2); }
|
|
284
|
+
.row.active { border-color:var(--spring-dim); background:var(--spring-bg); }
|
|
285
|
+
.row .grow { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
286
|
+
.pill { font-size:11px; padding:1px 7px; border-radius:20px; border:1px solid var(--border-2); color:var(--ink-2); }
|
|
287
|
+
.pill.published { color:var(--spring); border-color:var(--spring-dim); }
|
|
288
|
+
.pill.review { color:var(--amber); border-color:var(--amber); }
|
|
289
|
+
.pill.rejected, .pill.archived { color:var(--danger); border-color:var(--danger); }
|
|
290
|
+
|
|
291
|
+
.region { margin-bottom:18px; }
|
|
292
|
+
.region > h3 { font-size:13px; color:var(--ink-2); margin:0 0 8px; display:flex; align-items:center; gap:8px; }
|
|
293
|
+
.region > h3 .allow { font-size:11px; color:var(--ink-3); font-weight:400; }
|
|
294
|
+
.block { border:1px solid var(--border); border-radius:var(--radius); background:var(--surface-2); padding:10px 12px; margin-bottom:8px; }
|
|
295
|
+
.block.selected { border-color:var(--spring-dim); }
|
|
296
|
+
.block .bhead { display:flex; align-items:center; gap:8px; }
|
|
297
|
+
.block .btype { font-family:var(--mono); font-size:12px; color:var(--spring); }
|
|
298
|
+
.block .grow { flex:1; }
|
|
299
|
+
.block .shared { font-size:11px; color:var(--amber); }
|
|
300
|
+
.dropzone { border:1px dashed var(--border-2); border-radius:var(--radius); padding:10px; text-align:center; color:var(--ink-3); font-size:12px; }
|
|
301
|
+
.dropzone.over { border-color:var(--spring); color:var(--spring); }
|
|
302
|
+
|
|
303
|
+
.palette { display:flex; flex-wrap:wrap; gap:6px; }
|
|
304
|
+
.palette button { font-size:12px; }
|
|
305
|
+
.repeater-item, .group { border:1px solid var(--border); border-radius:var(--radius-sm); padding:8px 10px; margin:6px 0; background:var(--surface-2); }
|
|
306
|
+
.repeater-item > .ih { display:flex; justify-content:flex-end; }
|
|
307
|
+
|
|
308
|
+
.media-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
|
|
309
|
+
.media-cell { border:1px solid var(--border); border-radius:var(--radius-sm); overflow:hidden; cursor:pointer; background:var(--surface-2); }
|
|
310
|
+
.media-cell:hover { border-color:var(--border-2); }
|
|
311
|
+
.media-cell.sel { border-color:var(--spring); }
|
|
312
|
+
.media-cell img { width:100%; height:70px; object-fit:cover; display:block; }
|
|
313
|
+
.media-cell .fn { font-size:10px; padding:3px 5px; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
314
|
+
.media-cell .ext { height:70px; display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:12px; color:var(--ink-3); background:var(--raise); }
|
|
315
|
+
|
|
316
|
+
.media-lib { padding:20px; max-width:1000px; margin:0 auto; }
|
|
317
|
+
.media-lib .media-grid { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); }
|
|
318
|
+
.media-lib .media-cell img, .media-lib .media-cell .ext { height:110px; }
|
|
319
|
+
.media-toolbar { display:flex; align-items:center; margin-bottom:14px; }
|
|
320
|
+
label.btn { display:inline-flex; align-items:center; }
|
|
321
|
+
.btn.disabled { opacity:.5; cursor:not-allowed; }
|
|
322
|
+
.media-detail img { max-width:100%; max-height:340px; object-fit:contain; display:block; margin:0 auto 12px; background:var(--surface-2); border-radius:var(--radius-sm); }
|
|
323
|
+
.media-detail .ext.lg { height:180px; display:flex; align-items:center; justify-content:center; font-family:var(--mono); color:var(--ink-3); background:var(--surface-2); border-radius:var(--radius-sm); margin-bottom:12px; }
|
|
324
|
+
.media-detail .kv a { word-break:break-all; }
|
|
325
|
+
|
|
326
|
+
.scrim { position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; z-index:50; }
|
|
327
|
+
.modal { background:var(--surface); border:1px solid var(--border-2); border-radius:var(--radius); padding:18px; width:min(680px,92vw); max-height:86vh; overflow:auto; }
|
|
328
|
+
.modal h2 { margin:0 0 12px; font-size:16px; }
|
|
329
|
+
.banner { padding:8px 12px; border-radius:var(--radius-sm); margin:8px 0; font-size:13px; }
|
|
330
|
+
.banner.err { background:var(--danger-bg); border:1px solid var(--danger); color:var(--danger); }
|
|
331
|
+
.banner.ok { background:var(--spring-bg); border:1px solid var(--spring-dim); color:var(--spring); }
|
|
332
|
+
.muted { color:var(--ink-3); }
|
|
333
|
+
.tabs { display:flex; gap:4px; margin-bottom:10px; }
|
|
334
|
+
.tabs button { border-radius:20px; font-size:12px; }
|
|
335
|
+
.tabs button.on { color:var(--spring); border-color:var(--spring-dim); }
|
|
336
|
+
.setup { max-width:440px; margin:12vh auto; padding:0 20px; }
|
|
337
|
+
.setup h1 { font-size:20px; }
|
|
338
|
+
.kv { display:grid; grid-template-columns:auto 1fr; gap:6px 10px; font-size:12px; color:var(--ink-2); }
|
|
339
|
+
`;var SZ=E0(h6(),1),EU=document.createElement("style");EU.textContent=VU;document.head.appendChild(EU);var DU=document.getElementById("app");if(DU)gU.createRoot(DU).render(SZ.jsxDEV(kU.StrictMode,{children:SZ.jsxDEV(xU,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|