@pramen/cms-editor 0.0.21 → 0.0.22

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.
@@ -1,405 +0,0 @@
1
- var LK=Object.create;var{getPrototypeOf:OK,defineProperty:wq,getOwnPropertyNames:MK}=Object;var AK=Object.prototype.hasOwnProperty;function FK(U){return this[U]}var NK,IK,f0=(U,A,I)=>{var b=U!=null&&typeof U==="object";if(b){var k=A?NK??=new WeakMap:IK??=new WeakMap,g=k.get(U);if(g)return g}I=U!=null?LK(OK(U)):{};let E=A||!U||!U.__esModule?wq(I,"default",{value:U,enumerable:!0}):I;for(let N of MK(U))if(!AK.call(E,N))wq(E,N,{get:FK.bind(U,N),enumerable:!0});if(b)k.set(U,E);return E};var f8=(U,A)=>()=>(A||U((A={exports:{}}).exports,A),A.exports);var y8=f8((PK,p7)=>{(function(){function U(R,F){Object.defineProperty(b.prototype,R,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",F[0],F[1])}})}function A(R){if(R===null||typeof R!=="object")return null;return R=Cz&&R[Cz]||R["@@iterator"],typeof R==="function"?R:null}function I(R,F){R=(R=R.constructor)&&(R.displayName||R.name)||"ReactClass";var f=R+"."+F;s[f]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",F,R),s[f]=!0)}function b(R,F,f){this.props=R,this.context=F,this.refs=X3,this.updater=f||d8}function k(){}function g(R,F,f){this.props=R,this.context=F,this.refs=X3,this.updater=f||d8}function E(){}function N(R){return""+R}function y(R){try{N(R);var F=!1}catch(r){F=!0}if(F){F=console;var f=F.error,u=typeof Symbol==="function"&&Symbol.toStringTag&&R[Symbol.toStringTag]||R.constructor.name||"Object";return f.call(F,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),N(R)}}function m(R){if(R==null)return null;if(typeof R==="function")return R.$$typeof===o6?null:R.displayName||R.name||null;if(typeof R==="string")return R;switch(R){case f1:return"Fragment";case B1:return"Profiler";case V:return"StrictMode";case t2:return"Suspense";case $0:return"SuspenseList";case x4: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 D1:return"Portal";case m1:return R.displayName||"Context";case y1:return(R._context.displayName||"Context")+".Consumer";case d1:var F=R.render;return R=R.displayName,R||(R=F.displayName||F.name||"",R=R!==""?"ForwardRef("+R+")":"ForwardRef"),R;case G2:return F=R.displayName||null,F!==null?F:m(R.type)||"Memo";case P2:F=R._payload,R=R._init;try{return m(R(F))}catch(f){}}return null}function C(R){if(R===f1)return"<>";if(typeof R==="object"&&R!==null&&R.$$typeof===P2)return"<...>";try{var F=m(R);return F?"<"+F+">":"<...>"}catch(f){return"<...>"}}function M(){var R=K1.A;return R===null?null:R.getOwner()}function S(){return Error("react-stack-top-frame")}function j(R){if(u8.call(R,"key")){var F=Object.getOwnPropertyDescriptor(R,"key").get;if(F&&F.isReactWarning)return!1}return R.key!==void 0}function n(R,F){function f(){xz||(xz=!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)",F))}f.isReactWarning=!0,Object.defineProperty(R,"key",{get:f,configurable:!0})}function e(){var R=m(this.type);return a3[R]||(a3[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 U1(R,F,f,u,r,R1){var q1=f.ref;return R={$$typeof:G1,type:R,key:F,props:f,_owner:u},(q1!==void 0?q1:null)!==null?Object.defineProperty(R,"ref",{enumerable:!1,get:e}):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:r}),Object.defineProperty(R,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:R1}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R}function x1(R,F){return F=U1(R.type,F,R.props,R._owner,R._debugStack,R._debugTask),R._store&&(F._store.validated=R._store.validated),F}function l1(R){q0(R)?R._store&&(R._store.validated=1):typeof R==="object"&&R!==null&&R.$$typeof===P2&&(R._payload.status==="fulfilled"?q0(R._payload.value)&&R._payload.value._store&&(R._payload.value._store.validated=1):R._store&&(R._store.validated=1))}function q0(R){return typeof R==="object"&&R!==null&&R.$$typeof===G1}function N2(R){var F={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(f){return F[f]})}function I2(R,F){return typeof R==="object"&&R!==null&&R.key!=null?(y(R.key),N2(""+R.key)):F.toString(36)}function h2(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status==="string"?R.then(E,E):(R.status="pending",R.then(function(F){R.status==="pending"&&(R.status="fulfilled",R.value=F)},function(F){R.status==="pending"&&(R.status="rejected",R.reason=F)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function Q0(R,F,f,u,r){var R1=typeof R;if(R1==="undefined"||R1==="boolean")R=null;var q1=!1;if(R===null)q1=!0;else switch(R1){case"bigint":case"string":case"number":q1=!0;break;case"object":switch(R.$$typeof){case G1:case D1:q1=!0;break;case P2:return q1=R._init,Q0(q1(R._payload),F,f,u,r)}}if(q1){q1=R,r=r(q1);var g1=u===""?"."+I2(q1,0):u;return u1(r)?(f="",g1!=null&&(f=g1.replace(p8,"$&/")+"/"),Q0(r,F,f,"",function(y0){return y0})):r!=null&&(q0(r)&&(r.key!=null&&(q1&&q1.key===r.key||y(r.key)),f=x1(r,f+(r.key==null||q1&&q1.key===r.key?"":(""+r.key).replace(p8,"$&/")+"/")+g1),u!==""&&q1!=null&&q0(q1)&&q1.key==null&&q1._store&&!q1._store.validated&&(f._store.validated=2),r=f),F.push(r)),1}if(q1=0,g1=u===""?".":u+":",u1(R))for(var X1=0;X1<R.length;X1++)u=R[X1],R1=g1+I2(u,X1),q1+=Q0(u,F,f,R1,r);else if(X1=A(R),typeof X1==="function")for(X1===R.entries&&(l8||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),l8=!0),R=X1.call(R),X1=0;!(u=R.next()).done;)u=u.value,R1=g1+I2(u,X1++),q1+=Q0(u,F,f,R1,r);else if(R1==="object"){if(typeof R.then==="function")return Q0(h2(R),F,f,u,r);throw F=String(R),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return q1}function p(R,F,f){if(R==null)return R;var u=[],r=0;return Q0(R,u,"","",function(R1){return F.call(f,R1,r++)}),u}function Y0(R){if(R._status===-1){var F=R._ioInfo;F!=null&&(F.start=F.end=performance.now()),F=R._result;var f=F();if(f.then(function(r){if(R._status===0||R._status===-1){R._status=1,R._result=r;var R1=R._ioInfo;R1!=null&&(R1.end=performance.now()),f.status===void 0&&(f.status="fulfilled",f.value=r)}},function(r){if(R._status===0||R._status===-1){R._status=2,R._result=r;var R1=R._ioInfo;R1!=null&&(R1.end=performance.now()),f.status===void 0&&(f.status="rejected",f.reason=r)}}),F=R._ioInfo,F!=null){F.value=f;var u=f.displayName;typeof u==="string"&&(F.name=u)}R._status===-1&&(R._status=0,R._result=f)}if(R._status===1)return F=R._result,F===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?`,F),"default"in F||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'))`,F),F.default;throw R._result}function d(){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 S1(){K1.asyncTransitions--}function C1(R){if(o3===null)try{var F=("require"+Math.random()).slice(0,7);o3=(p7&&p7[F]).call(p7,"timers").setImmediate}catch(f){o3=function(u){Sz===!1&&(Sz=!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 r=new MessageChannel;r.port1.onmessage=u,r.port2.postMessage(void 0)}}return o3(R)}function W1(R){return 1<R.length&&typeof AggregateError==="function"?AggregateError(R):R[0]}function k0(R,F){F!==i3-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. "),i3=F}function c(R,F,f){var u=K1.actQueue;if(u!==null)if(u.length!==0)try{$1(u),C1(function(){return c(R,F,f)});return}catch(r){K1.thrownErrors.push(r)}else K1.actQueue=null;0<K1.thrownErrors.length?(u=W1(K1.thrownErrors),K1.thrownErrors.length=0,f(u)):F(R)}function $1(R){if(!r3){r3=!0;var F=0;try{for(;F<R.length;F++){var f=R[F];do{K1.didUsePromise=!1;var u=f(!1);if(u!==null){if(K1.didUsePromise){R[F]=f,R.splice(0,F);return}f=u}else break}while(1)}R.length=0}catch(r){R.splice(0,F+1),K1.thrownErrors.push(r)}finally{r3=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var G1=Symbol.for("react.transitional.element"),D1=Symbol.for("react.portal"),f1=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),B1=Symbol.for("react.profiler"),y1=Symbol.for("react.consumer"),m1=Symbol.for("react.context"),d1=Symbol.for("react.forward_ref"),t2=Symbol.for("react.suspense"),$0=Symbol.for("react.suspense_list"),G2=Symbol.for("react.memo"),P2=Symbol.for("react.lazy"),x4=Symbol.for("react.activity"),Cz=Symbol.iterator,s={},d8={isMounted:function(){return!1},enqueueForceUpdate:function(R){I(R,"forceUpdate")},enqueueReplaceState:function(R){I(R,"replaceState")},enqueueSetState:function(R){I(R,"setState")}},c3=Object.assign,X3={};Object.freeze(X3),b.prototype.isReactComponent={},b.prototype.setState=function(R,F){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,F,"setState")},b.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};var P0={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(G3 in P0)P0.hasOwnProperty(G3)&&U(G3,P0[G3]);k.prototype=b.prototype,P0=g.prototype=new k,P0.constructor=g,c3(P0,b.prototype),P0.isPureReactComponent=!0;var u1=Array.isArray,o6=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},u8=Object.prototype.hasOwnProperty,s1=console.createTask?console.createTask:function(){return null};P0={react_stack_bottom_frame:function(R){return R()}};var xz,e2,a3={},s3=P0.react_stack_bottom_frame.bind(P0,S)(),a7=s1(C(S)),l8=!1,p8=/\/+/g,Y3=typeof reportError==="function"?reportError:function(R){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var F=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(F))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",R);return}console.error(R)},Sz=!1,o3=null,i3=0,n3=!1,r3=!1,i6=typeof queueMicrotask==="function"?function(R){queueMicrotask(function(){return queueMicrotask(R)})}:C1;P0=Object.freeze({__proto__:null,c:function(R){return d().useMemoCache(R)}});var G3={map:p,forEach:function(R,F,f){p(R,function(){F.apply(this,arguments)},f)},count:function(R){var F=0;return p(R,function(){F++}),F},toArray:function(R){return p(R,function(F){return F})||[]},only:function(R){if(!q0(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};PK.Activity=x4,PK.Children=G3,PK.Component=b,PK.Fragment=f1,PK.Profiler=B1,PK.PureComponent=g,PK.StrictMode=V,PK.Suspense=t2,PK.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K1,PK.__COMPILER_RUNTIME=P0,PK.act=function(R){var F=K1.actQueue,f=i3;i3++;var u=K1.actQueue=F!==null?F:[],r=!1;try{var R1=R()}catch(X1){K1.thrownErrors.push(X1)}if(0<K1.thrownErrors.length)throw k0(F,f),R=W1(K1.thrownErrors),K1.thrownErrors.length=0,R;if(R1!==null&&typeof R1==="object"&&typeof R1.then==="function"){var q1=R1;return i6(function(){r||n3||(n3=!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(X1,y0){r=!0,q1.then(function(Z2){if(k0(F,f),f===0){try{$1(u),C1(function(){return c(Z2,X1,y0)})}catch(n6){K1.thrownErrors.push(n6)}if(0<K1.thrownErrors.length){var Z3=W1(K1.thrownErrors);K1.thrownErrors.length=0,y0(Z3)}}else X1(Z2)},function(Z2){k0(F,f),0<K1.thrownErrors.length?(Z2=W1(K1.thrownErrors),K1.thrownErrors.length=0,y0(Z2)):y0(Z2)})}}}var g1=R1;if(k0(F,f),f===0&&($1(u),u.length!==0&&i6(function(){r||n3||(n3=!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=W1(K1.thrownErrors),K1.thrownErrors.length=0,R;return{then:function(X1,y0){r=!0,f===0?(K1.actQueue=u,C1(function(){return c(g1,X1,y0)})):X1(g1)}}},PK.cache=function(R){return function(){return R.apply(null,arguments)}},PK.cacheSignal=function(){return null},PK.captureOwnerStack=function(){var R=K1.getCurrentStack;return R===null?null:R()},PK.cloneElement=function(R,F,f){if(R===null||R===void 0)throw Error("The argument must be a React element, but you passed "+R+".");var u=c3({},R.props),r=R.key,R1=R._owner;if(F!=null){var q1;z:{if(u8.call(F,"ref")&&(q1=Object.getOwnPropertyDescriptor(F,"ref").get)&&q1.isReactWarning){q1=!1;break z}q1=F.ref!==void 0}q1&&(R1=M()),j(F)&&(y(F.key),r=""+F.key);for(g1 in F)!u8.call(F,g1)||g1==="key"||g1==="__self"||g1==="__source"||g1==="ref"&&F.ref===void 0||(u[g1]=F[g1])}var g1=arguments.length-2;if(g1===1)u.children=f;else if(1<g1){q1=Array(g1);for(var X1=0;X1<g1;X1++)q1[X1]=arguments[X1+2];u.children=q1}u=U1(R.type,r,u,R1,R._debugStack,R._debugTask);for(r=2;r<arguments.length;r++)l1(arguments[r]);return u},PK.createContext=function(R){return R={$$typeof:m1,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:y1,_context:R},R._currentRenderer=null,R._currentRenderer2=null,R},PK.createElement=function(R,F,f){for(var u=2;u<arguments.length;u++)l1(arguments[u]);u={};var r=null;if(F!=null)for(X1 in e2||!("__self"in F)||"key"in F||(e2=!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")),j(F)&&(y(F.key),r=""+F.key),F)u8.call(F,X1)&&X1!=="key"&&X1!=="__self"&&X1!=="__source"&&(u[X1]=F[X1]);var R1=arguments.length-2;if(R1===1)u.children=f;else if(1<R1){for(var q1=Array(R1),g1=0;g1<R1;g1++)q1[g1]=arguments[g1+2];Object.freeze&&Object.freeze(q1),u.children=q1}if(R&&R.defaultProps)for(X1 in R1=R.defaultProps,R1)u[X1]===void 0&&(u[X1]=R1[X1]);r&&n(u,typeof R==="function"?R.displayName||R.name||"Unknown":R);var X1=1e4>K1.recentlyCreatedOwnerStacks++;return U1(R,r,u,M(),X1?Error("react-stack-top-frame"):s3,X1?s1(C(R)):a7)},PK.createRef=function(){var R={current:null};return Object.seal(R),R},PK.forwardRef=function(R){R!=null&&R.$$typeof===G2?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 F={$$typeof:d1,render:R},f;return Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(u){f=u,R.name||R.displayName||(Object.defineProperty(R,"name",{value:u}),R.displayName=u)}}),F},PK.isValidElement=q0,PK.lazy=function(R){R={_status:-1,_result:R};var F={$$typeof:P2,_payload:R,_init:Y0},f={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=f,F._debugInfo=[{awaited:f}],F},PK.memo=function(R,F){R==null&&console.error("memo: The first argument must be a component. Instead received: %s",R===null?"null":typeof R),F={$$typeof:G2,type:R,compare:F===void 0?null:F};var f;return Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(u){f=u,R.name||R.displayName||(Object.defineProperty(R,"name",{value:u}),R.displayName=u)}}),F},PK.startTransition=function(R){var F=K1.T,f={};f._updatedFibers=new Set,K1.T=f;try{var u=R(),r=K1.S;r!==null&&r(f,u),typeof u==="object"&&u!==null&&typeof u.then==="function"&&(K1.asyncTransitions++,u.then(S1,S1),u.then(E,Y3))}catch(R1){Y3(R1)}finally{F===null&&f._updatedFibers&&(R=f._updatedFibers.size,f._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.")),F!==null&&f.types!==null&&(F.types!==null&&F.types!==f.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."),F.types=f.types),K1.T=F}},PK.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},PK.use=function(R){return d().use(R)},PK.useActionState=function(R,F,f){return d().useActionState(R,F,f)},PK.useCallback=function(R,F){return d().useCallback(R,F)},PK.useContext=function(R){var F=d();return R.$$typeof===y1&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),F.useContext(R)},PK.useDebugValue=function(R,F){return d().useDebugValue(R,F)},PK.useDeferredValue=function(R,F){return d().useDeferredValue(R,F)},PK.useEffect=function(R,F){return R==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(R,F)},PK.useEffectEvent=function(R){return d().useEffectEvent(R)},PK.useId=function(){return d().useId()},PK.useImperativeHandle=function(R,F,f){return d().useImperativeHandle(R,F,f)},PK.useInsertionEffect=function(R,F){return R==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(R,F)},PK.useLayoutEffect=function(R,F){return R==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(R,F)},PK.useMemo=function(R,F){return d().useMemo(R,F)},PK.useOptimistic=function(R,F){return d().useOptimistic(R,F)},PK.useReducer=function(R,F,f){return d().useReducer(R,F,f)},PK.useRef=function(R){return d().useRef(R)},PK.useState=function(R){return d().useState(R)},PK.useSyncExternalStore=function(R,F,f){return d().useSyncExternalStore(R,F,f)},PK.useTransition=function(){return d().useTransition()},PK.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Kq=f8((TK)=>{(function(){function U(){if(N2=!1,p){var c=TK.unstable_now();S1=c;var $1=!0;try{z:{l1=!1,q0&&(q0=!1,h2(Y0),Y0=-1),x1=!0;var G1=U1;try{X:{g(c);for(e=I(S);e!==null&&!(e.expirationTime>c&&N());){var D1=e.callback;if(typeof D1==="function"){e.callback=null,U1=e.priorityLevel;var f1=D1(e.expirationTime<=c);if(c=TK.unstable_now(),typeof f1==="function"){e.callback=f1,g(c),$1=!0;break X}e===I(S)&&b(S),g(c)}else b(S);e=I(S)}if(e!==null)$1=!0;else{var V=I(j);V!==null&&y(E,V.startTime-c),$1=!1}}break z}finally{e=null,U1=G1,x1=!1}$1=void 0}}finally{$1?C1():p=!1}}}function A(c,$1){var G1=c.length;c.push($1);z:for(;0<G1;){var D1=G1-1>>>1,f1=c[D1];if(0<k(f1,$1))c[D1]=$1,c[G1]=f1,G1=D1;else break z}}function I(c){return c.length===0?null:c[0]}function b(c){if(c.length===0)return null;var $1=c[0],G1=c.pop();if(G1!==$1){c[0]=G1;z:for(var D1=0,f1=c.length,V=f1>>>1;D1<V;){var B1=2*(D1+1)-1,y1=c[B1],m1=B1+1,d1=c[m1];if(0>k(y1,G1))m1<f1&&0>k(d1,y1)?(c[D1]=d1,c[m1]=G1,D1=m1):(c[D1]=y1,c[B1]=G1,D1=B1);else if(m1<f1&&0>k(d1,G1))c[D1]=d1,c[m1]=G1,D1=m1;else break z}}return $1}function k(c,$1){var G1=c.sortIndex-$1.sortIndex;return G1!==0?G1:c.id-$1.id}function g(c){for(var $1=I(j);$1!==null;){if($1.callback===null)b(j);else if($1.startTime<=c)b(j),$1.sortIndex=$1.expirationTime,A(S,$1);else break;$1=I(j)}}function E(c){if(q0=!1,g(c),!l1)if(I(S)!==null)l1=!0,p||(p=!0,C1());else{var $1=I(j);$1!==null&&y(E,$1.startTime-c)}}function N(){return N2?!0:TK.unstable_now()-S1<d?!1:!0}function y(c,$1){Y0=I2(function(){c(TK.unstable_now())},$1)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),TK.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var m=performance;TK.unstable_now=function(){return m.now()}}else{var C=Date,M=C.now();TK.unstable_now=function(){return C.now()-M}}var S=[],j=[],n=1,e=null,U1=3,x1=!1,l1=!1,q0=!1,N2=!1,I2=typeof setTimeout==="function"?setTimeout:null,h2=typeof clearTimeout==="function"?clearTimeout:null,Q0=typeof setImmediate<"u"?setImmediate:null,p=!1,Y0=-1,d=5,S1=-1;if(typeof Q0==="function")var C1=function(){Q0(U)};else if(typeof MessageChannel<"u"){var W1=new MessageChannel,k0=W1.port2;W1.port1.onmessage=U,C1=function(){k0.postMessage(null)}}else C1=function(){I2(U,0)};TK.unstable_IdlePriority=5,TK.unstable_ImmediatePriority=1,TK.unstable_LowPriority=4,TK.unstable_NormalPriority=3,TK.unstable_Profiling=null,TK.unstable_UserBlockingPriority=2,TK.unstable_cancelCallback=function(c){c.callback=null},TK.unstable_forceFrameRate=function(c){0>c||125<c?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<c?Math.floor(1000/c):5},TK.unstable_getCurrentPriorityLevel=function(){return U1},TK.unstable_next=function(c){switch(U1){case 1:case 2:case 3:var $1=3;break;default:$1=U1}var G1=U1;U1=$1;try{return c()}finally{U1=G1}},TK.unstable_requestPaint=function(){N2=!0},TK.unstable_runWithPriority=function(c,$1){switch(c){case 1:case 2:case 3:case 4:case 5:break;default:c=3}var G1=U1;U1=c;try{return $1()}finally{U1=G1}},TK.unstable_scheduleCallback=function(c,$1,G1){var D1=TK.unstable_now();switch(typeof G1==="object"&&G1!==null?(G1=G1.delay,G1=typeof G1==="number"&&0<G1?D1+G1:D1):G1=D1,c){case 1:var f1=-1;break;case 2:f1=250;break;case 5:f1=1073741823;break;case 4:f1=1e4;break;default:f1=5000}return f1=G1+f1,c={id:n++,callback:$1,priorityLevel:c,startTime:G1,expirationTime:f1,sortIndex:-1},G1>D1?(c.sortIndex=G1,A(j,c),I(S)===null&&c===I(j)&&(q0?(h2(Y0),Y0=-1):q0=!0,y(E,G1-D1))):(c.sortIndex=f1,A(S,c),l1||x1||(l1=!0,p||(p=!0,C1()))),c},TK.unstable_shouldYield=N,TK.unstable_wrapCallback=function(c){var $1=U1;return function(){var G1=U1;U1=$1;try{return c.apply(this,arguments)}finally{U1=G1}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var _q=f8((vK)=>{var vZ=f0(y8());(function(){function U(){}function A(C){return""+C}function I(C,M,S){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{A(j);var n=!1}catch(e){n=!0}return n&&(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&&j[Symbol.toStringTag]||j.constructor.name||"Object"),A(j)),{$$typeof:y,key:j==null?null:""+j,children:C,containerInfo:M,implementation:S}}function b(C,M){if(C==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}function k(C){return C===null?"`null`":C===void 0?"`undefined`":C===""?"an empty string":'something with type "'+typeof C+'"'}function g(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 E(){var C=m.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 N={d:{f:U,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:U,C:U,L:U,m:U,X:U,S:U,M:U},p:0,findDOMNode:null},y=Symbol.for("react.portal"),m=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"),vK.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N,vK.createPortal=function(C,M){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error("Target container is not a DOM element.");return I(C,M,null,S)},vK.flushSync=function(C){var M=m.T,S=N.p;try{if(m.T=null,N.p=2,C)return C()}finally{m.T=M,N.p=S,N.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.")}},vK.preconnect=function(C,M){typeof C==="string"&&C?M!=null&&typeof M!=="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.",g(M)):M!=null&&typeof M.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.",k(M.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",k(C)),typeof C==="string"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,N.d.C(C,M))},vK.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.",k(C));else if(1<arguments.length){var M=arguments[1];typeof M==="object"&&M.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`.",g(M)):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`.",g(M))}typeof C==="string"&&N.d.D(C)},vK.preinit=function(C,M){if(typeof C==="string"&&C?M==null||typeof M!=="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.",g(M)):M.as!=="style"&&M.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".',g(M.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",k(C)),typeof C==="string"&&M&&typeof M.as==="string"){var S=M.as,j=b(S,M.crossOrigin),n=typeof M.integrity==="string"?M.integrity:void 0,e=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;S==="style"?N.d.S(C,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:j,integrity:n,fetchPriority:e}):S==="script"&&N.d.X(C,{crossOrigin:j,integrity:n,fetchPriority:e,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},vK.preinitModule=function(C,M){var S="";if(typeof C==="string"&&C||(S+=" The `href` argument encountered was "+k(C)+"."),M!==void 0&&typeof M!=="object"?S+=" The `options` argument encountered was "+k(M)+".":M&&("as"in M)&&M.as!=="script"&&(S+=" The `as` option encountered was "+g(M.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=M&&typeof M.as==="string"?M.as:"script",S){case"script":break;default:S=g(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 M==="object"&&M!==null){if(M.as==null||M.as==="script")S=b(M.as,M.crossOrigin),N.d.M(C,{crossOrigin:S,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&N.d.M(C)},vK.preload=function(C,M){var S="";if(typeof C==="string"&&C||(S+=" The `href` argument encountered was "+k(C)+"."),M==null||typeof M!=="object"?S+=" The `options` argument encountered was "+k(M)+".":typeof M.as==="string"&&M.as||(S+=" The `as` option encountered was "+k(M.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 M==="object"&&M!==null&&typeof M.as==="string"){S=M.as;var j=b(S,M.crossOrigin);N.d.L(C,S,{crossOrigin:j,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0,type:typeof M.type==="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority==="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy==="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet==="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes==="string"?M.imageSizes:void 0,media:typeof M.media==="string"?M.media:void 0})}},vK.preloadModule=function(C,M){var S="";typeof C==="string"&&C||(S+=" The `href` argument encountered was "+k(C)+"."),M!==void 0&&typeof M!=="object"?S+=" The `options` argument encountered was "+k(M)+".":M&&("as"in M)&&typeof M.as!=="string"&&(S+=" The `as` option encountered was "+k(M.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"&&(M?(S=b(M.as,M.crossOrigin),N.d.m(C,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:S,integrity:typeof M.integrity==="string"?M.integrity:void 0})):N.d.m(C))},vK.requestFormReset=function(C){N.d.r(C)},vK.unstable_batchedUpdates=function(C,M){return C(M)},vK.useFormState=function(C,M,S){return E().useFormState(C,M,S)},vK.useFormStatus=function(){return E().useHostTransitionStatus()},vK.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Oq=f8((SL,Lq)=>{var CK=f0(_q());Lq.exports=CK});var Mq=f8((xK)=>{var b1=f0(Kq()),a6=f0(y8()),CZ=f0(Oq());(function(){function U(z,X){for(z=z.memoizedState;z!==null&&0<X;)z=z.next,X--;return z}function A(z,X,Y,G){if(Y>=X.length)return G;var Z=X[Y],$=F0(z)?z.slice():F1({},z);return $[Z]=A(z[Z],X,Y+1,G),$}function I(z,X,Y){if(X.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var G=0;G<Y.length-1;G++)if(X[G]!==Y[G]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return b(z,X,Y,0)}}function b(z,X,Y,G){var Z=X[G],$=F0(z)?z.slice():F1({},z);return G+1===X.length?($[Y[G]]=$[Z],F0($)?$.splice(Z,1):delete $[Z]):$[Z]=b(z[Z],X,Y,G+1),$}function k(z,X,Y){var G=X[Y],Z=F0(z)?z.slice():F1({},z);if(Y+1===X.length)return F0(Z)?Z.splice(G,1):delete Z[G],Z;return Z[G]=k(z[G],X,Y+1),Z}function g(){return!1}function E(){return null}function N(){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 y(){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 m(){}function C(){}function M(z){var X=[];return z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function S(z,X,Y,G){return new HU(z,X,Y,G)}function j(z,X){z.context===P3&&(aY(z.current,2,X,z,null,null),G6())}function n(z,X){if(k2!==null){var Y=X.staleFamilies;X=X.updatedFamilies,N5(),A$(z.current,X,Y),G6()}}function e(z){k2=z}function U1(z){return!(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)}function x1(z){var X=z,Y=z;if(z.alternate)for(;X.return;)X=X.return;else{z=X;do X=z,(X.flags&4098)!==0&&(Y=X.return),z=X.return;while(z)}return X.tag===3?Y:null}function l1(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 q0(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 N2(z){if(x1(z)!==z)throw Error("Unable to find node on an unmounted component.")}function I2(z){var X=z.alternate;if(!X){if(X=x1(z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==z?null:z}for(var Y=z,G=X;;){var Z=Y.return;if(Z===null)break;var $=Z.alternate;if($===null){if(G=Z.return,G!==null){Y=G;continue}break}if(Z.child===$.child){for($=Z.child;$;){if($===Y)return N2(Z),z;if($===G)return N2(Z),X;$=$.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==G.return)Y=Z,G=$;else{for(var H=!1,J=Z.child;J;){if(J===Y){H=!0,Y=Z,G=$;break}if(J===G){H=!0,G=Z,Y=$;break}J=J.sibling}if(!H){for(J=$.child;J;){if(J===Y){H=!0,Y=$,G=Z;break}if(J===G){H=!0,G=$,Y=Z;break}J=J.sibling}if(!H)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(Y.alternate!==G)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(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?z:X}function h2(z){var X=z.tag;if(X===5||X===26||X===27||X===6)return z;for(z=z.child;z!==null;){if(X=h2(z),X!==null)return X;z=z.sibling}return null}function Q0(z){if(z===null||typeof z!=="object")return null;return z=CQ&&z[CQ]||z["@@iterator"],typeof z==="function"?z:null}function p(z){if(z==null)return null;if(typeof z==="function")return z.$$typeof===CW?null:z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case R6:return"Fragment";case tY:return"Profiler";case m9:return"StrictMode";case zG:return"Suspense";case XG:return"SuspenseList";case YG: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 B6:return"Portal";case L4:return z.displayName||"Context";case eY:return(z._context.displayName||"Context")+".Consumer";case b5:var X=z.render;return z=z.displayName,z||(z=X.displayName||X.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case E9:return X=z.displayName||null,X!==null?X:p(z.type)||"Memo";case W2:X=z._payload,z=z._init;try{return p(z(X))}catch(Y){}}return null}function Y0(z){return typeof z.tag==="number"?d(z):typeof z.name==="string"?z.name:null}function d(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 p(X);case 8:return X===m9?"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 Y=X.length-1;0<=Y;Y--)if(typeof X[Y].name==="string")return X[Y].name}if(z.return!==null)return d(z.return)}return null}function S1(z){return{current:z}}function C1(z,X){0>m4?console.error("Unexpected pop."):(X!==ZG[m4]&&console.error("Unexpected Fiber popped."),z.current=GG[m4],GG[m4]=null,ZG[m4]=null,m4--)}function W1(z,X,Y){m4++,GG[m4]=z.current,ZG[m4]=Y,z.current=X}function k0(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 c(z,X){W1(O3,X,z),W1(j5,z,z),W1(L3,null,z);var Y=X.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?rJ(X):t4:t4;break;default:if(Y=X.tagName,X=X.namespaceURI)X=rJ(X),X=tJ(X,Y);else switch(Y){case"svg":X=p6;break;case"math":X=y7;break;default:X=t4}}Y=Y.toLowerCase(),Y=cZ(null,Y),Y={context:X,ancestorInfo:Y},C1(L3,z),W1(L3,Y,z)}function $1(z){C1(L3,z),C1(j5,z),C1(O3,z)}function G1(){return k0(L3.current)}function D1(z){z.memoizedState!==null&&W1(h9,z,z);var X=k0(L3.current),Y=z.type,G=tJ(X.context,Y);Y=cZ(X.ancestorInfo,Y),G={context:G,ancestorInfo:Y},X!==G&&(W1(j5,z,z),W1(L3,G,z))}function f1(z){j5.current===z&&(C1(L3,z),C1(j5,z)),h9.current===z&&(C1(h9,z),Pz._currentValue=D8)}function V(){}function B1(){if(V5===0){xQ=console.log,SQ=console.info,kQ=console.warn,gQ=console.error,bQ=console.group,jQ=console.groupCollapsed,VQ=console.groupEnd;var z={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:z,log:z,warn:z,error:z,group:z,groupCollapsed:z,groupEnd:z})}V5++}function y1(){if(V5--,V5===0){var z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F1({},z,{value:xQ}),info:F1({},z,{value:SQ}),warn:F1({},z,{value:kQ}),error:F1({},z,{value:gQ}),group:F1({},z,{value:bQ}),groupCollapsed:F1({},z,{value:jQ}),groupEnd:F1({},z,{value:VQ})})}0>V5&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function m1(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 d1(z){if($G===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);$G=X&&X[1]||"",DQ=-1<Y.stack.indexOf(`
21
- at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
22
- `+$G+z+DQ}function t2(z,X){if(!z||HG)return"";var Y=JG.get(z);if(Y!==void 0)return Y;HG=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var G=null;G=v.H,v.H=null,B1();try{var Z={DetermineComponentFrameRoot:function(){try{if(X){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(h){var P=h}Reflect.construct(z,[],w)}else{try{w.call()}catch(h){P=h}z.call(w.prototype)}}else{try{throw Error()}catch(h){P=h}(w=z())&&typeof w.catch==="function"&&w.catch(function(){})}}catch(h){if(h&&P&&typeof h.stack==="string")return[h.stack,P.stack]}return[null,null]}};Z.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var $=Object.getOwnPropertyDescriptor(Z.DetermineComponentFrameRoot,"name");$&&$.configurable&&Object.defineProperty(Z.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var H=Z.DetermineComponentFrameRoot(),J=H[0],Q=H[1];if(J&&Q){var B=J.split(`
23
- `),L=Q.split(`
24
- `);for(H=$=0;$<B.length&&!B[$].includes("DetermineComponentFrameRoot");)$++;for(;H<L.length&&!L[H].includes("DetermineComponentFrameRoot");)H++;if($===B.length||H===L.length)for($=B.length-1,H=L.length-1;1<=$&&0<=H&&B[$]!==L[H];)H--;for(;1<=$&&0<=H;$--,H--)if(B[$]!==L[H]){if($!==1||H!==1)do if($--,H--,0>H||B[$]!==L[H]){var O=`
25
- `+B[$].replace(" at new "," at ");return z.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",z.displayName)),typeof z==="function"&&JG.set(z,O),O}while(1<=$&&0<=H);break}}}finally{HG=!1,v.H=G,y1(),Error.prepareStackTrace=Y}return B=(B=z?z.displayName||z.name:"")?d1(B):"",typeof z==="function"&&JG.set(z,B),B}function $0(z,X){switch(z.tag){case 26:case 27:case 5:return d1(z.type);case 16:return d1("Lazy");case 13:return z.child!==X&&X!==null?d1("Suspense Fallback"):d1("Suspense");case 19:return d1("SuspenseList");case 0:case 15:return t2(z.type,!1);case 11:return t2(z.type.render,!1);case 1:return t2(z.type,!0);case 31:return d1("Activity");default:return""}}function G2(z){try{var X="",Y=null;do{X+=$0(z,Y);var G=z._debugInfo;if(G)for(var Z=G.length-1;0<=Z;Z--){var $=G[Z];if(typeof $.name==="string"){var H=X;z:{var{name:J,env:Q,debugLocation:B}=$;if(B!=null){var L=m1(B),O=L.lastIndexOf(`
26
- `),w=O===-1?L:L.slice(O+1);if(w.indexOf(J)!==-1){var P=`
27
- `+w;break z}}P=d1(J+(Q?" ["+Q+"]":""))}X=H+P}}Y=z,z=z.return}while(z);return X}catch(h){return`
28
- Error generating stack: `+h.message+`
29
- `+h.stack}}function P2(z){return(z=z?z.displayName||z.name:"")?d1(z):""}function x4(){if(w2===null)return null;var z=w2._debugOwner;return z!=null?Y0(z):null}function Cz(){if(w2===null)return"";var z=w2;try{var X="";switch(z.tag===6&&(z=z.return),z.tag){case 26:case 27:case 5:X+=d1(z.type);break;case 13:X+=d1("Suspense");break;case 19:X+=d1("SuspenseList");break;case 31:X+=d1("Activity");break;case 30:case 0:case 15:case 1:z._debugOwner||X!==""||(X+=P2(z.type));break;case 11:z._debugOwner||X!==""||(X+=P2(z.type.render))}for(;z;)if(typeof z.tag==="number"){var Y=z;z=Y._debugOwner;var G=Y._debugStack;if(z&&G){var Z=m1(G);Z!==""&&(X+=`
30
- `+Z)}}else if(z.debugStack!=null){var $=z.debugStack;(z=z.owner)&&$&&(X+=`
31
- `+m1($))}else break;var H=X}catch(J){H=`
32
- Error generating stack: `+J.message+`
33
- `+J.stack}return H}function s(z,X,Y,G,Z,$,H){var J=w2;d8(z);try{return z!==null&&z._debugTask?z._debugTask.run(X.bind(null,Y,G,Z,$,H)):X(Y,G,Z,$,H)}finally{d8(J)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function d8(z){v.getCurrentStack=z===null?null:Cz,O4=!1,w2=z}function c3(z){return typeof Symbol==="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object"}function X3(z){try{return P0(z),!1}catch(X){return!0}}function P0(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,c3(z)),P0(z)}function o6(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,c3(z)),P0(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.",c3(z)),P0(z)}function u8(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{U6=X.inject(z),E0=X}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return X.checkDCE?!0:!1}function s1(z){if(typeof VW==="function"&&DW(z),E0&&typeof E0.setStrictMode==="function")try{E0.setStrictMode(U6,z)}catch(X){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",X))}}function xz(z){return z>>>=0,z===0?32:31-(fW(z)/yW|0)|0}function e2(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 a3(z,X,Y){var G=z.pendingLanes;if(G===0)return 0;var Z=0,$=z.suspendedLanes,H=z.pingedLanes;z=z.warmLanes;var J=G&134217727;return J!==0?(G=J&~$,G!==0?Z=e2(G):(H&=J,H!==0?Z=e2(H):Y||(Y=J&~z,Y!==0&&(Z=e2(Y))))):(J=G&~$,J!==0?Z=e2(J):H!==0?Z=e2(H):Y||(Y=G&~z,Y!==0&&(Z=e2(Y)))),Z===0?0:X!==0&&X!==Z&&(X&$)===0&&($=Z&-Z,Y=X&-X,$>=Y||$===32&&(Y&4194048)!==0)?X:Z}function s3(z,X){return(z.pendingLanes&~(z.suspendedLanes&~z.pingedLanes)&X)===0}function a7(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 l8(){var z=l9;return l9<<=1,(l9&62914560)===0&&(l9=4194304),z}function p8(z){for(var X=[],Y=0;31>Y;Y++)X.push(z);return X}function Y3(z,X){z.pendingLanes|=X,X!==268435456&&(z.suspendedLanes=0,z.pingedLanes=0,z.warmLanes=0)}function Sz(z,X,Y,G,Z,$){var H=z.pendingLanes;z.pendingLanes=Y,z.suspendedLanes=0,z.pingedLanes=0,z.warmLanes=0,z.expiredLanes&=Y,z.entangledLanes&=Y,z.errorRecoveryDisabledLanes&=Y,z.shellSuspendCounter=0;var{entanglements:J,expirationTimes:Q,hiddenUpdates:B}=z;for(Y=H&~Y;0<Y;){var L=31-u0(Y),O=1<<L;J[L]=0,Q[L]=-1;var w=B[L];if(w!==null)for(B[L]=null,L=0;L<w.length;L++){var P=w[L];P!==null&&(P.lane&=-536870913)}Y&=~O}G!==0&&o3(z,G,0),$!==0&&Z===0&&z.tag!==0&&(z.suspendedLanes|=$&~(H&~X))}function o3(z,X,Y){z.pendingLanes|=X,z.suspendedLanes&=~X;var G=31-u0(X);z.entangledLanes|=X,z.entanglements[G]=z.entanglements[G]|1073741824|Y&261930}function i3(z,X){var Y=z.entangledLanes|=X;for(z=z.entanglements;Y;){var G=31-u0(Y),Z=1<<G;Z&X|z[G]&X&&(z[G]|=X),Y&=~Z}}function n3(z,X){var Y=X&-X;return Y=(Y&42)!==0?1:r3(Y),(Y&(z.suspendedLanes|X))!==0?0:Y}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 i6(z,X,Y){if(A4)for(z=z.pendingUpdatersLaneMap;0<Y;){var G=31-u0(Y),Z=1<<G;z[G].add(X),Y&=~Z}}function G3(z,X){if(A4)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:G}=z;0<X;){var Z=31-u0(X);z=1<<Z,Z=Y[Z],0<Z.size&&(Z.forEach(function($){var H=$.alternate;H!==null&&G.has(H)||G.add($)}),Z.clear()),X&=~z}}function R(z){return z&=-z,K2!==0&&K2<z?c2!==0&&c2<z?(z&134217727)!==0?F4:p9:c2:K2}function F(){var z=V1.p;if(z!==0)return z;return z=window.event,z===void 0?F4:AQ(z.type)}function f(z,X){var Y=V1.p;try{return V1.p=z,X()}finally{V1.p=Y}}function u(z){delete z[V0],delete z[l0],delete z[UG],delete z[mW],delete z[EW]}function r(z){var X=z[V0];if(X)return X;for(var Y=z.parentNode;Y;){if(X=Y[A3]||Y[V0]){if(Y=X.alternate,X.child!==null||Y!==null&&Y.child!==null)for(z=HQ(z);z!==null;){if(Y=z[V0])return Y;z=HQ(z)}return X}z=Y,Y=z.parentNode}return null}function R1(z){if(z=z[V0]||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 q1(z){var X=z.tag;if(X===5||X===26||X===27||X===6)return z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function g1(z){var X=z[fQ];return X||(X=z[fQ]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function X1(z){z[D5]=!0}function y0(z,X){Z2(z,X),Z2(z+"Capture",X)}function Z2(z,X){W8[z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",z),W8[z]=X;var Y=z.toLowerCase();WG[Y]=z,z==="onDoubleClick"&&(WG.ondblclick=z);for(z=0;z<X.length;z++)yQ.add(X[z])}function Z3(z,X){hW[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 n6(z){if(p2.call(EQ,z))return!0;if(p2.call(mQ,z))return!1;if(dW.test(z))return EQ[z]=!0;return mQ[z]=!0,console.error("Invalid attribute name: `%s`",z),!1}function kZ(z,X,Y){if(n6(X)){if(!z.hasAttribute(X)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if(z=z.getAttribute(X),z===""&&Y===!0)return!0;return u1(Y,X),z===""+Y?Y:z}}function kz(z,X,Y){if(n6(X))if(Y===null)z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":z.removeAttribute(X);return;case"boolean":var G=X.toLowerCase().slice(0,5);if(G!=="data-"&&G!=="aria-"){z.removeAttribute(X);return}}u1(Y,X),z.setAttribute(X,""+Y)}}function gz(z,X,Y){if(Y===null)z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":z.removeAttribute(X);return}u1(Y,X),z.setAttribute(X,""+Y)}}function S4(z,X,Y,G){if(G===null)z.removeAttribute(Y);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":z.removeAttribute(Y);return}u1(G,Y),z.setAttributeNS(X,Y,""+G)}}function T2(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 gZ(z){var X=z.type;return(z=z.nodeName)&&z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function yq(z,X,Y){var G=Object.getOwnPropertyDescriptor(z.constructor.prototype,X);if(!z.hasOwnProperty(X)&&typeof G<"u"&&typeof G.get==="function"&&typeof G.set==="function"){var{get:Z,set:$}=G;return Object.defineProperty(z,X,{configurable:!0,get:function(){return Z.call(this)},set:function(H){K1(H),Y=""+H,$.call(this,H)}}),Object.defineProperty(z,X,{enumerable:G.enumerable}),{getValue:function(){return Y},setValue:function(H){K1(H),Y=""+H},stopTracking:function(){z._valueTracker=null,delete z[X]}}}}function s7(z){if(!z._valueTracker){var X=gZ(z)?"checked":"value";z._valueTracker=yq(z,X,""+z[X])}}function bZ(z){if(!z)return!1;var X=z._valueTracker;if(!X)return!0;var Y=X.getValue(),G="";return z&&(G=gZ(z)?z.checked?"true":"false":z.value),z=G,z!==Y?(X.setValue(z),!0):!1}function bz(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 v2(z){return z.replace(uW,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function jZ(z,X){X.checked===void 0||X.defaultChecked===void 0||dQ||(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",x4()||"A component",X.type),dQ=!0),X.value===void 0||X.defaultValue===void 0||hQ||(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",x4()||"A component",X.type),hQ=!0)}function o7(z,X,Y,G,Z,$,H,J){if(z.name="",H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"?(u1(H,"type"),z.type=H):z.removeAttribute("type"),X!=null)if(H==="number"){if(X===0&&z.value===""||z.value!=X)z.value=""+T2(X)}else z.value!==""+T2(X)&&(z.value=""+T2(X));else H!=="submit"&&H!=="reset"||z.removeAttribute("value");X!=null?i7(z,H,T2(X)):Y!=null?i7(z,H,T2(Y)):G!=null&&z.removeAttribute("value"),Z==null&&$!=null&&(z.defaultChecked=!!$),Z!=null&&(z.checked=Z&&typeof Z!=="function"&&typeof Z!=="symbol"),J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"?(u1(J,"name"),z.name=""+T2(J)):z.removeAttribute("name")}function VZ(z,X,Y,G,Z,$,H,J){if($!=null&&typeof $!=="function"&&typeof $!=="symbol"&&typeof $!=="boolean"&&(u1($,"type"),z.type=$),X!=null||Y!=null){if(!($!=="submit"&&$!=="reset"||X!==void 0&&X!==null)){s7(z);return}Y=Y!=null?""+T2(Y):"",X=X!=null?""+T2(X):Y,J||X===z.value||(z.value=X),z.defaultValue=X}G=G!=null?G:Z,G=typeof G!=="function"&&typeof G!=="symbol"&&!!G,z.checked=J?z.checked:!!G,z.defaultChecked=!!G,H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&(u1(H,"name"),z.name=H),s7(z)}function i7(z,X,Y){X==="number"&&bz(z.ownerDocument)===z||z.defaultValue===""+Y||(z.defaultValue=""+Y)}function DZ(z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?a6.Children.forEach(X.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||lQ||(lQ=!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||pQ||(pQ=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||uQ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),uQ=!0)}function fZ(){var z=x4();return z?`
34
-
35
- Check the render method of \``+z+"`.":""}function c8(z,X,Y,G){if(z=z.options,X){X={};for(var Z=0;Z<Y.length;Z++)X["$"+Y[Z]]=!0;for(Y=0;Y<z.length;Y++)Z=X.hasOwnProperty("$"+z[Y].value),z[Y].selected!==Z&&(z[Y].selected=Z),Z&&G&&(z[Y].defaultSelected=!0)}else{Y=""+T2(Y),X=null;for(Z=0;Z<z.length;Z++){if(z[Z].value===Y){z[Z].selected=!0,G&&(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<aQ.length;z++){var Y=aQ[z];if(X[Y]!=null){var G=F0(X[Y]);X.multiple&&!G?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,fZ()):!X.multiple&&G&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,fZ())}}X.value===void 0||X.defaultValue===void 0||cQ||(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"),cQ=!0)}function mZ(z,X){X.value===void 0||X.defaultValue===void 0||sQ||(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",x4()||"A component"),sQ=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function EZ(z,X,Y){if(X!=null&&(X=""+T2(X),X!==z.value&&(z.value=X),Y==null)){z.defaultValue!==X&&(z.defaultValue=X);return}z.defaultValue=Y!=null?""+T2(Y):""}function hZ(z,X,Y,G){if(X==null){if(G!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(F0(G)){if(1<G.length)throw Error("<textarea> can only have at most one child.");G=G[0]}Y=G}Y==null&&(Y=""),X=Y}Y=T2(X),z.defaultValue=Y,G=z.textContent,G===Y&&G!==""&&G!==null&&(z.value=G),s7(z)}function dZ(z,X){return z.serverProps===void 0&&z.serverTail.length===0&&z.children.length===1&&3<z.distanceFromLeaf&&z.distanceFromLeaf>15-X?dZ(z.children[0],X):z}function $2(z){return" "+" ".repeat(z)}function a8(z){return"+ "+" ".repeat(z)}function t3(z){return"- "+" ".repeat(z)}function uZ(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 r6(z,X){return oQ.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 jz(z,X,Y){var G=120-2*Y;if(X===null)return a8(Y)+r6(z,G)+`
36
- `;if(typeof X==="string"){for(var Z=0;Z<X.length&&Z<z.length&&X.charCodeAt(Z)===z.charCodeAt(Z);Z++);return Z>G-8&&10<Z&&(z="..."+z.slice(Z-8),X="..."+X.slice(Z-8)),a8(Y)+r6(z,G)+`
37
- `+t3(Y)+r6(X,G)+`
38
- `}return $2(Y)+r6(z,G)+`
39
- `}function n7(z){return Object.prototype.toString.call(z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function t6(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(F0(z))return"[...]";if(z.$$typeof===_4)return(X=p(z.type))?"<"+X+">":"<...>";var Y=n7(z);if(Y==="Object"){Y="",X-=2;for(var G in z)if(z.hasOwnProperty(G)){var Z=JSON.stringify(G);if(Z!=='"'+G+'"'&&(G=Z),X-=G.length-2,Z=t6(z[G],15>X?X:15),X-=Z.length,0>X){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+G+":"+Z}return"{"+Y+"}"}return Y;case"function":return(X=z.displayName||z.name)?"function "+X:"function";default:return String(z)}}function s8(z,X){return typeof z!=="string"||oQ.test(z)?"{"+t6(z,X-2)+"}":z.length>X-2?5>X?'"..."':'"'+z.slice(0,X-5)+'..."':'"'+z+'"'}function r7(z,X,Y){var G=120-Y.length-z.length,Z=[],$;for($ in X)if(X.hasOwnProperty($)&&$!=="children"){var H=s8(X[$],120-Y.length-$.length-1);G-=$.length+H.length+2,Z.push($+"="+H)}return Z.length===0?Y+"<"+z+`>
40
- `:0<G?Y+"<"+z+" "+Z.join(" ")+`>
41
- `:Y+"<"+z+`
42
- `+Y+" "+Z.join(`
43
- `+Y+" ")+`
44
- `+Y+`>
45
- `}function mq(z,X,Y){var G="",Z=F1({},X),$;for($ in z)if(z.hasOwnProperty($)){delete Z[$];var H=120-2*Y-$.length-2,J=t6(z[$],H);X.hasOwnProperty($)?(H=t6(X[$],H),G+=a8(Y)+$+": "+J+`
46
- `,G+=t3(Y)+$+": "+H+`
47
- `):G+=a8(Y)+$+": "+J+`
48
- `}for(var Q in Z)Z.hasOwnProperty(Q)&&(z=t6(Z[Q],120-2*Y-Q.length-2),G+=t3(Y)+Q+": "+z+`
49
- `);return G}function Eq(z,X,Y,G){var Z="",$=new Map;for(B in Y)Y.hasOwnProperty(B)&&$.set(B.toLowerCase(),B);if($.size===1&&$.has("children"))Z+=r7(z,X,$2(G));else{for(var H in X)if(X.hasOwnProperty(H)&&H!=="children"){var J=120-2*(G+1)-H.length-1,Q=$.get(H.toLowerCase());if(Q!==void 0){$.delete(H.toLowerCase());var B=X[H];Q=Y[Q];var L=s8(B,J);J=s8(Q,J),typeof B==="object"&&B!==null&&typeof Q==="object"&&Q!==null&&n7(B)==="Object"&&n7(Q)==="Object"&&(2<Object.keys(B).length||2<Object.keys(Q).length||-1<L.indexOf("...")||-1<J.indexOf("..."))?Z+=$2(G+1)+H+`={{
50
- `+mq(B,Q,G+2)+$2(G+1)+`}}
51
- `:(Z+=a8(G+1)+H+"="+L+`
52
- `,Z+=t3(G+1)+H+"="+J+`
53
- `)}else Z+=$2(G+1)+H+"="+s8(X[H],J)+`
54
- `}$.forEach(function(O){if(O!=="children"){var w=120-2*(G+1)-O.length-1;Z+=t3(G+1)+O+"="+s8(Y[O],w)+`
55
- `}}),Z=Z===""?$2(G)+"<"+z+`>
56
- `:$2(G)+"<"+z+`
57
- `+Z+$2(G)+`>
58
- `}if(z=Y.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+=jz($,""+z,G+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")Z=z==null?Z+jz(""+X,null,G+1):Z+jz(""+X,void 0,G+1);return Z}function lZ(z,X){var Y=uZ(z);if(Y===null){Y="";for(z=z.child;z;)Y+=lZ(z,X),z=z.sibling;return Y}return $2(X)+"<"+Y+`>
59
- `}function t7(z,X){var Y=dZ(z,X);if(Y!==z&&(z.children.length!==1||z.children[0]!==Y))return $2(X)+`...
60
- `+t7(Y,X+1);Y="";var G=z.fiber._debugInfo;if(G)for(var Z=0;Z<G.length;Z++){var $=G[Z].name;typeof $==="string"&&(Y+=$2(X)+"<"+$+`>
61
- `,X++)}if(G="",Z=z.fiber.pendingProps,z.fiber.tag===6)G=jz(Z,z.serverProps,X),X++;else if($=uZ(z.fiber),$!==null)if(z.serverProps===void 0){G=X;var H=120-2*G-$.length-2,J="";for(B in Z)if(Z.hasOwnProperty(B)&&B!=="children"){var Q=s8(Z[B],15);if(H-=B.length+Q.length+2,0>H){J+=" ...";break}J+=" "+B+"="+Q}G=$2(G)+"<"+$+J+`>
62
- `,X++}else z.serverProps===null?(G=r7($,Z,a8(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."):(G=Eq($,Z,z.serverProps,X),X++);var B="";Z=z.fiber.child;for($=0;Z&&$<z.children.length;)H=z.children[$],H.fiber===Z?(B+=t7(H,X),$++):B+=lZ(Z,X),Z=Z.sibling;Z&&0<z.children.length&&(B+=$2(X)+`...
63
- `),Z=z.serverTail,z.serverProps===null&&X--;for(z=0;z<Z.length;z++)$=Z[z],B=typeof $==="string"?B+(t3(X)+r6($,120-2*X)+`
64
- `):B+r7($.type,$.props,t3(X));return Y+G+B}function e7(z){try{return`
65
-
66
- `+t7(z,0)}catch(X){return""}}function pZ(z,X,Y){for(var G=X,Z=null,$=0;G;)G===z&&($=0),Z={fiber:G,children:Z!==null?[Z]:[],serverProps:G===X?Y:G===z?null:void 0,serverTail:[],distanceFromLeaf:$},$++,G=G.return;return Z!==null?e7(Z).replaceAll(/^[+-]/gm,">"):""}function cZ(z,X){var Y=F1({},z||nQ),G={tag:X};if(iQ.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),pW.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),lW.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=G,X==="form"&&(Y.formTag=G),X==="a"&&(Y.aTagInScope=G),X==="button"&&(Y.buttonTagInScope=G),X==="nobr"&&(Y.nobrTagInScope=G),X==="p"&&(Y.pTagInButtonScope=G),X==="li"&&(Y.listItemTagAutoclosing=G),X==="dd"||X==="dt")Y.dlItemTagAutoclosing=G;return X==="#document"||X==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=G),z!==null||X!=="#document"&&X!=="html"&&X!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function aZ(z,X,Y){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(Y)break;return z==="head"||z==="body"||z==="frameset";case"frameset":return z==="frame";case"#document":if(!Y)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 Y||X===null;case"html":return Y&&X==="#document"||X===null;case"body":return Y&&(X==="#document"||X==="html")||X===null}return!0}function hq(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 sZ(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||nQ;var Y=X.current;if(X=(Y=aZ(z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:hq(z,X),X=Y||X,!X)return!0;var G=X.tag;if(X=String(!!Y)+"|"+z+"|"+G,c9[X])return!1;c9[X]=!0;var Z=(X=w2)?sZ(X.return,G):null,$=X!==null&&Z!==null?pZ(Z,X,null):"",H="<"+z+">";return Y?(Y="",G==="table"&&z==="tr"&&(Y+=" 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`,H,G,Y,$)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
- This will cause a hydration error.%s`,H,G,$),X&&(z=X.return,Z===null||z===null||Z===z&&z._debugOwner===X._debugOwner||s(Z,function(){console.error(`<%s> cannot contain a nested %s.
69
- See this log for the ancestor stack trace.`,G,H)})),!1}function Vz(z,X,Y){if(Y||aZ("#text",X,!1))return!0;if(Y="#text|"+X,c9[Y])return!1;c9[Y]=!0;var G=(Y=w2)?sZ(Y,X):null;return Y=Y!==null&&G!==null?pZ(G,Y,Y.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,Y):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,Y),!1}function e6(z,X){if(X){var Y=z.firstChild;if(Y&&Y===z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}z.textContent=X}function dq(z){return z.replace(oW,function(X,Y){return Y.toUpperCase()})}function oZ(z,X,Y){var G=X.indexOf("--")===0;G||(-1<X.indexOf("-")?W6.hasOwnProperty(X)&&W6[X]||(W6[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,dq(X.replace(sW,"ms-")))):aW.test(X)?W6.hasOwnProperty(X)&&W6[X]||(W6[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!eQ.test(Y)||KG.hasOwnProperty(Y)&&KG[Y]||(KG[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,Y.replace(eQ,""))),typeof Y==="number"&&(isNaN(Y)?zB||(zB=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(Y)||XB||(XB=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),Y==null||typeof Y==="boolean"||Y===""?G?z.setProperty(X,""):X==="float"?z.cssFloat="":z[X]="":G?z.setProperty(X,Y):typeof Y!=="number"||Y===0||YB.has(X)?X==="float"?z.cssFloat=Y:(o6(Y,X),z[X]=(""+Y).trim()):z[X]=Y+"px"}function iZ(z,X,Y){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,Y!=null){if(X){var G={};if(Y){for(var Z in Y)if(Y.hasOwnProperty(Z)&&!X.hasOwnProperty(Z))for(var $=wG[Z]||[Z],H=0;H<$.length;H++)G[$[H]]=Z}for(var J in X)if(X.hasOwnProperty(J)&&(!Y||Y[J]!==X[J]))for(Z=wG[J]||[J],$=0;$<Z.length;$++)G[Z[$]]=J;J={};for(var Q in X)for(Z=wG[Q]||[Q],$=0;$<Z.length;$++)J[Z[$]]=Q;Q={};for(var B in G)if(Z=G[B],($=J[B])&&Z!==$&&(H=Z+","+$,!Q[H])){Q[H]=!0,H=console;var L=X[Z];H.error.call(H,"%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.",L==null||typeof L==="boolean"||L===""?"Removing":"Updating",Z,$)}}for(var O in Y)!Y.hasOwnProperty(O)||X!=null&&X.hasOwnProperty(O)||(O.indexOf("--")===0?z.setProperty(O,""):O==="float"?z.cssFloat="":z[O]="");for(var w in X)B=X[w],X.hasOwnProperty(w)&&Y[w]!==B&&oZ(z,w,B)}else for(G in X)X.hasOwnProperty(G)&&oZ(z,G,X[G])}function z5(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 nZ(z){return iW.get(z)||z}function uq(z,X){if(p2.call(K6,X)&&K6[X])return!0;if(rW.test(X)){if(z="aria-"+X.slice(4).toLowerCase(),z=GB.hasOwnProperty(z)?z:null,z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),K6[X]=!0;if(X!==z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,z),K6[X]=!0}if(nW.test(X)){if(z=X.toLowerCase(),z=GB.hasOwnProperty(z)?z:null,z==null)return K6[X]=!0,!1;X!==z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,z),K6[X]=!0)}return!0}function lq(z,X){var Y=[],G;for(G in X)uq(z,G)||Y.push(G);X=Y.map(function(Z){return"`"+Z+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,z):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,z)}function pq(z,X,Y,G){if(p2.call(p0,X)&&p0[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."),p0[X]=!0;if(typeof Y==="function"&&(z==="form"&&X==="action"||z==="input"&&X==="formAction"||z==="button"&&X==="formAction"))return!0;if(G!=null){if(z=G.possibleRegistrationNames,G.registrationNameDependencies.hasOwnProperty(X))return!0;if(G=z.hasOwnProperty(Z)?z[Z]:null,G!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,G),p0[X]=!0;if($B.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),p0[X]=!0}else if($B.test(X))return tW.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),p0[X]=!0;if(eW.test(X)||zw.test(X))return!0;if(Z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),p0[X]=!0;if(Z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),p0[X]=!0;if(Z==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),p0[X]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),p0[X]=!0;if(s9.hasOwnProperty(Z)){if(Z=s9[Z],Z!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,Z),p0[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),p0[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 Y){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 Y?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()}.',Y,X,X,Y,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.',Y,X,X,Y,X,X,X),p0[X]=!0}case"function":case"symbol":return p0[X]=!0,!1;case"string":if(Y==="false"||Y==="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}?",Y,X,Y==="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,Y),p0[X]=!0}}return!0}function cq(z,X,Y){var G=[],Z;for(Z in X)pq(z,Z,X[Z],Y)||G.push(Z);X=G.map(function($){return"`"+$+"`"}).join(", "),G.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<G.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 X5(z){return Xw.test(""+z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":z}function k4(){}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=R1(z);if(X&&(z=X.stateNode)){var Y=z[l0]||null;z:switch(z=X.stateNode,X.type){case"input":if(o7(z,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),X=Y.name,Y.type==="radio"&&X!=null){for(Y=z;Y.parentNode;)Y=Y.parentNode;u1(X,"name"),Y=Y.querySelectorAll('input[name="'+v2(""+X)+'"][type="radio"]');for(X=0;X<Y.length;X++){var G=Y[X];if(G!==z&&G.form===z.form){var Z=G[l0]||null;if(!Z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");o7(G,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for(X=0;X<Y.length;X++)G=Y[X],G.form===z.form&&bZ(G)}break z;case"textarea":EZ(z,Y.value,Y.defaultValue);break z;case"select":X=Y.value,X!=null&&c8(z,!!Y.multiple,X,!1)}}}function tZ(z,X,Y){if(_G)return z(X,Y);_G=!0;try{var G=z(X);return G}finally{if(_G=!1,_6!==null||L6!==null){if(G6(),_6&&(X=_6,z=L6,L6=_6=null,rZ(X),z))for(X=0;X<z.length;X++)rZ(z[X])}}}function Y5(z,X){var Y=z.stateNode;if(Y===null)return null;var G=Y[l0]||null;if(G===null)return null;Y=G[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":(G=!G.disabled)||(z=z.type,G=!(z==="button"||z==="input"||z==="select"||z==="textarea")),z=!G;break z;default:z=!1}if(z)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function eZ(){if(o9)return o9;var z,X=OG,Y=X.length,G,Z="value"in F3?F3.value:F3.textContent,$=Z.length;for(z=0;z<Y&&X[z]===Z[z];z++);var H=Y-z;for(G=1;G<=H&&X[Y-G]===Z[$-G];G++);return o9=Z.slice(z,1<G?1-G:void 0)}function Dz(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 fz(){return!0}function z$(){return!1}function n0(z){function X(Y,G,Z,$,H){this._reactName=Y,this._targetInst=Z,this.type=G,this.nativeEvent=$,this.target=H,this.currentTarget=null;for(var J in z)z.hasOwnProperty(J)&&(Y=z[J],this[J]=Y?Y($):$[J]);return this.isDefaultPrevented=($.defaultPrevented!=null?$.defaultPrevented:$.returnValue===!1)?fz:z$,this.isPropagationStopped=z$,this}return F1(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=fz)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=fz)},persist:function(){},isPersistent:fz}),X}function aq(z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(z):(z=ww[z])?!!X[z]:!1}function YX(){return aq}function X$(z,X){switch(z){case"keyup":return vw.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==BB;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Y$(z){return z=z.detail,typeof z==="object"&&"data"in z?z.data:null}function sq(z,X){switch(z){case"compositionend":return Y$(X);case"keypress":if(X.which!==qB)return null;return WB=!0,UB;case"textInput":return z=X.data,z===UB&&WB?null:z;default:return null}}function oq(z,X){if(O6)return z==="compositionend"||!NG&&X$(z,X)?(z=eZ(),o9=OG=F3=null,O6=!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 RB&&X.locale!=="ko"?null:X.data;default:return null}}function G$(z){var X=z&&z.nodeName&&z.nodeName.toLowerCase();return X==="input"?!!xw[z.type]:X==="textarea"?!0:!1}function iq(z){if(!N4)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,Y,G){_6?L6?L6.push(G):L6=[G]:_6=G,X=x9(X,"onChange"),0<X.length&&(Y=new i9("onChange","change",null,Y,G),z.push({event:Y,listeners:X}))}function nq(z){hJ(z,0)}function yz(z){var X=q1(z);if(bZ(X))return z}function $$(z,X){if(z==="change")return X}function H$(){d5&&(d5.detachEvent("onpropertychange",J$),u5=d5=null)}function J$(z){if(z.propertyName==="value"&&yz(u5)){var X=[];Z$(X,u5,z,XX(z)),tZ(nq,X)}}function rq(z,X,Y){z==="focusin"?(H$(),d5=X,u5=Y,d5.attachEvent("onpropertychange",J$)):z==="focusout"&&H$()}function tq(z){if(z==="selectionchange"||z==="keyup"||z==="keydown")return yz(u5)}function eq(z,X){if(z==="click")return yz(X)}function zU(z,X){if(z==="input"||z==="change")return yz(X)}function XU(z,X){return z===X&&(z!==0||1/z===1/X)||z!==z&&X!==X}function G5(z,X){if(c0(z,X))return!0;if(typeof z!=="object"||z===null||typeof X!=="object"||X===null)return!1;var Y=Object.keys(z),G=Object.keys(X);if(Y.length!==G.length)return!1;for(G=0;G<Y.length;G++){var Z=Y[G];if(!p2.call(X,Z)||!c0(z[Z],X[Z]))return!1}return!0}function Q$(z){for(;z&&z.firstChild;)z=z.firstChild;return z}function B$(z,X){var Y=Q$(z);z=0;for(var G;Y;){if(Y.nodeType===3){if(G=z+Y.textContent.length,z<=X&&G>=X)return{node:Y,offset:X-z};z=G}z:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break z}Y=Y.parentNode}Y=void 0}Y=Q$(Y)}}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 q$(z){z=z!=null&&z.ownerDocument!=null&&z.ownerDocument.defaultView!=null?z.ownerDocument.defaultView:window;for(var X=bz(z.document);X instanceof z.HTMLIFrameElement;){try{var Y=typeof X.contentWindow.location.href==="string"}catch(G){Y=!1}if(Y)z=X.contentWindow;else break;X=bz(z.document)}return X}function GX(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 U$(z,X,Y){var G=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;PG||M6==null||M6!==bz(G)||(G=M6,("selectionStart"in G)&&GX(G)?G={start:G.selectionStart,end:G.selectionEnd}:(G=(G.ownerDocument&&G.ownerDocument.defaultView||window).getSelection(),G={anchorNode:G.anchorNode,anchorOffset:G.anchorOffset,focusNode:G.focusNode,focusOffset:G.focusOffset}),l5&&G5(l5,G)||(l5=G,G=x9(IG,"onSelect"),0<G.length&&(X=new i9("onSelect","select",null,X,Y),z.push({event:X,listeners:G}),X.target=M6)))}function e3(z,X){var Y={};return Y[z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+z]="webkit"+X,Y["Moz"+z]="moz"+X,Y}function z8(z){if(TG[z])return TG[z];if(!A6[z])return z;var X=A6[z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in KB)return TG[z]=X[Y];return z}function d2(z,X){AB.set(z,X),y0(X,[z])}function YU(z){for(var X=r9,Y=0;Y<z.length;Y++){var G=z[Y];if(typeof G==="object"&&G!==null)if(F0(G)&&G.length===2&&typeof G[0]==="string"){if(X!==r9&&X!==kG)return xG;X=kG}else return xG;else{if(typeof G==="function"||typeof G==="string"&&50<G.length||X!==r9&&X!==SG)return xG;X=SG}}return X}function ZX(z,X,Y,G){for(var Z in z)p2.call(z,Z)&&Z[0]!=="_"&&z4(Z,z[Z],X,Y,G)}function z4(z,X,Y,G,Z){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===_4){var $=p(X.type)||"…",H=X.key;X=X.props;var J=Object.keys(X),Q=J.length;if(H==null&&Q===0){X="<"+$+" />";break}if(3>G||Q===1&&J[0]==="children"&&H==null){X="<"+$+" … />";break}Y.push([Z+"  ".repeat(G)+z,"<"+$]),H!==null&&z4("key",H,Y,G+1,Z),z=!1;for(var B in X)B==="children"?X.children!=null&&(!F0(X.children)||0<X.children.length)&&(z=!0):p2.call(X,B)&&B[0]!=="_"&&z4(B,X[B],Y,G+1,Z);Y.push(["",z?">…</"+$+">":"/>"]);return}if($=Object.prototype.toString.call(X),$=$.slice(8,$.length-1),$==="Array"){if(B=YU(X),B===SG||B===r9){X=JSON.stringify(X);break}else if(B===kG){Y.push([Z+"  ".repeat(G)+z,""]);for(z=0;z<X.length;z++)$=X[z],z4($[0],$[1],Y,G+1,Z);return}}if($==="Promise"){if(X.status==="fulfilled"){if($=Y.length,z4(z,X.value,Y,G,Z),Y.length>$){Y=Y[$],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&($=Y.length,z4(z,X.reason,Y,G,Z),Y.length>$)){Y=Y[$],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push(["  ".repeat(G)+z,"Promise"]);return}$==="Object"&&(B=Object.getPrototypeOf(X))&&typeof B.constructor==="function"&&($=B.constructor.name),Y.push([Z+"  ".repeat(G)+z,$==="Object"?3>G?"":"…":$]),3>G&&ZX(X,Y,G+1,Z);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===Dw?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}Y.push([Z+"  ".repeat(G)+z,X])}function W$(z,X,Y,G){var Z=!0;for(H in z)H in X||(Y.push([t9+"  ".repeat(G)+H,"…"]),Z=!1);for(var $ in X)if($ in z){var H=z[$],J=X[$];if(H!==J){if(G===0&&$==="children")Z="  ".repeat(G)+$,Y.push([t9+Z,"…"],[e9+Z,"…"]);else{if(!(3<=G)){if(typeof H==="object"&&typeof J==="object"&&H!==null&&J!==null&&H.$$typeof===J.$$typeof)if(J.$$typeof===_4){if(H.type===J.type&&H.key===J.key){H=p(J.type)||"…",Z="  ".repeat(G)+$,H="<"+H+" … />",Y.push([t9+Z,H],[e9+Z,H]),Z=!1;continue}}else{var Q=Object.prototype.toString.call(H),B=Object.prototype.toString.call(J);if(Q===B&&(B==="[object Object]"||B==="[object Array]")){Q=[IB+"  ".repeat(G)+$,B==="[object Array]"?"Array":""],Y.push(Q),B=Y.length,W$(H,J,Y,G+1)?B===Y.length&&(Q[1]="Referentially unequal but deeply equal objects. Consider memoization."):Z=!1;continue}}else if(typeof H==="function"&&typeof J==="function"&&H.name===J.name&&H.length===J.length&&(Q=Function.prototype.toString.call(H),B=Function.prototype.toString.call(J),Q===B)){H=J.name===""?"() => {}":J.name+"() {}",Y.push([IB+"  ".repeat(G)+$,H+" Referentially unequal function closure. Consider memoization."]);continue}}z4($,H,Y,G,t9),z4($,J,Y,G,e9)}Z=!1}}else Y.push([e9+"  ".repeat(G)+$,"…"]),Z=!1;return Z}function H2(z){I1=z&63?"Blocking":z&64?"Gesture":z&4194176?"Transition":z&62914560?"Suspense":z&2080374784?"Idle":"Other"}function X4(z,X,Y,G){n1&&(I3.start=X,I3.end=Y,E4.color="warning",E4.tooltipText=G,E4.properties=null,(z=z._debugTask)?z.run(performance.measure.bind(performance,G,I3)):performance.measure(G,I3))}function mz(z,X,Y){X4(z,X,Y,"Reconnect")}function Ez(z,X,Y,G,Z){var $=d(z);if($!==null&&n1){var{alternate:H,actualDuration:J}=z;if(H===null||H.child!==z.child)for(var Q=z.child;Q!==null;Q=Q.sibling)J-=Q.actualDuration;G=0.5>J?G?"tertiary-light":"primary-light":10>J?G?"tertiary":"primary":100>J?G?"tertiary-dark":"primary-dark":"error";var B=z.memoizedProps;J=z._debugTask,B!==null&&H!==null&&H.memoizedProps!==B?(Q=[fw],B=W$(H.memoizedProps,B,Q,0),1<Q.length&&(B&&!N3&&(H.lanes&Z)===0&&100<z.actualDuration?(N3=!0,Q[0]=yw,E4.color="warning",E4.tooltipText=PB):(E4.color=G,E4.tooltipText=$),E4.properties=Q,I3.start=X,I3.end=Y,J!=null?J.run(performance.measure.bind(performance,"​"+$,I3)):performance.measure("​"+$,I3))):J!=null?J.run(console.timeStamp.bind(console,$,X,Y,x2,void 0,G)):console.timeStamp($,X,Y,x2,void 0,G)}}function $X(z,X,Y,G){if(n1){var Z=d(z);if(Z!==null){for(var $=null,H=[],J=0;J<G.length;J++){var Q=G[J];$==null&&Q.source!==null&&($=Q.source._debugTask),Q=Q.value,H.push(["Error",typeof Q==="object"&&Q!==null&&typeof Q.message==="string"?String(Q.message):String(Q)])}z.key!==null&&z4("key",z.key,H,0,""),z.memoizedProps!==null&&ZX(z.memoizedProps,H,0,""),$==null&&($=z._debugTask),z={start:X,end:Y,detail:{devtools:{color:"error",track:x2,tooltipText:z.tag===13?"Hydration failed":"Error boundary caught an error",properties:H}}},$?$.run(performance.measure.bind(performance,"​"+Z,z)):performance.measure("​"+Z,z)}}}function Y4(z,X,Y,G,Z){if(Z!==null){if(n1){var $=d(z);if($!==null){G=[];for(var H=0;H<Z.length;H++){var J=Z[H].value;G.push(["Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z.key!==null&&z4("key",z.key,G,0,""),z.memoizedProps!==null&&ZX(z.memoizedProps,G,0,""),X={start:X,end:Y,detail:{devtools:{color:"error",track:x2,tooltipText:"A lifecycle or effect errored",properties:G}}},(z=z._debugTask)?z.run(performance.measure.bind(performance,"​"+$,X)):performance.measure("​"+$,X)}}}else $=d(z),$!==null&&n1&&(Z=1>G?"secondary-light":100>G?"secondary":500>G?"secondary-dark":"error",(z=z._debugTask)?z.run(console.timeStamp.bind(console,$,X,Y,x2,void 0,Z)):console.timeStamp($,X,Y,x2,void 0,Z))}function GU(z,X,Y,G){if(n1&&!(X<=z)){var Z=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",G?G.run(console.timeStamp.bind(console,Y,z,X,I1,N1,Z)):console.timeStamp(Y,z,X,I1,N1,Z)}}function w$(z,X,Y,G){!n1||X<=z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",G?G.run(console.timeStamp.bind(console,"Prewarm",z,X,I1,N1,Y)):console.timeStamp("Prewarm",z,X,I1,N1,Y))}function K$(z,X,Y,G){!n1||X<=z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",G?G.run(console.timeStamp.bind(console,"Suspended",z,X,I1,N1,Y)):console.timeStamp("Suspended",z,X,I1,N1,Y))}function ZU(z,X,Y,G,Z,$){if(n1&&!(X<=z)){Y=[];for(var H=0;H<G.length;H++){var J=G[H].value;Y.push(["Recoverable Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z={start:z,end:X,detail:{devtools:{color:"primary-dark",track:I1,trackGroup:N1,tooltipText:Z?"Hydration Failed":"Recovered after Error",properties:Y}}},$?$.run(performance.measure.bind(performance,"Recovered",z)):performance.measure("Recovered",z)}}function HX(z,X,Y,G){!n1||X<=z||(G?G.run(console.timeStamp.bind(console,"Errored",z,X,I1,N1,"error")):console.timeStamp("Errored",z,X,I1,N1,"error"))}function $U(z,X,Y,G){!n1||X<=z||(G?G.run(console.timeStamp.bind(console,Y,z,X,I1,N1,"secondary-light")):console.timeStamp(Y,z,X,I1,N1,"secondary-light"))}function _$(z,X,Y,G,Z){if(n1&&!(X<=z)){for(var $=[],H=0;H<Y.length;H++){var J=Y[H].value;$.push(["Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z={start:z,end:X,detail:{devtools:{color:"error",track:I1,trackGroup:N1,tooltipText:G?"Remaining Effects Errored":"Commit Errored",properties:$}}},Z?Z.run(performance.measure.bind(performance,"Errored",z)):performance.measure("Errored",z)}}function Z5(z,X,Y){!n1||X<=z||(Y?Y.run(console.timeStamp.bind(console,"Animating",z,X,I1,N1,"secondary-dark")):console.timeStamp("Animating",z,X,I1,N1,"secondary-dark"))}function hz(){for(var z=F6,X=gG=F6=0;X<z;){var Y=S2[X];S2[X++]=null;var G=S2[X];S2[X++]=null;var Z=S2[X];S2[X++]=null;var $=S2[X];if(S2[X++]=null,G!==null&&Z!==null){var H=G.pending;H===null?Z.next=Z:(Z.next=H.next,H.next=Z),G.pending=Z}$!==0&&L$(Y,Z,$)}}function dz(z,X,Y,G){S2[F6++]=z,S2[F6++]=X,S2[F6++]=Y,S2[F6++]=G,gG|=G,z.lanes|=G,z=z.alternate,z!==null&&(z.lanes|=G)}function JX(z,X,Y,G){return dz(z,X,Y,G),uz(z)}function m0(z,X){return dz(z,null,null,X),uz(z)}function L$(z,X,Y){z.lanes|=Y;var G=z.alternate;G!==null&&(G.lanes|=Y);for(var Z=!1,$=z.return;$!==null;)$.childLanes|=Y,G=$.alternate,G!==null&&(G.childLanes|=Y),$.tag===22&&(z=$.stateNode,z===null||z._visibility&p5||(Z=!0)),z=$,$=$.return;return z.tag===3?($=z.stateNode,Z&&X!==null&&(Z=31-u0(Y),z=$.hiddenUpdates,G=z[Z],G===null?z[Z]=[X]:G.push(X),X.lane=Y|536870912),$):null}function uz(z){if(Lz>tw)throw S8=Lz=0,Oz=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.");S8>ew&&(S8=0,Oz=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&&jJ(z);for(var X=z,Y=X.return;Y!==null;)X.alternate===null&&(X.flags&4098)!==0&&jJ(z),X=Y,Y=X.return;return X.tag===3?X.stateNode:null}function X8(z){if(k2===null)return z;var X=k2(z);return X===void 0?z:X.current}function QX(z){if(k2===null)return z;var X=k2(z);return X===void 0?z!==null&&z!==void 0&&typeof z.render==="function"&&(X=X8(z.render),z.render!==X)?(X={$$typeof:b5,render:X},z.displayName!==void 0&&(X.displayName=z.displayName),X):z:X.current}function O$(z,X){if(k2===null)return!1;var Y=z.elementType;X=X.type;var G=!1,Z=typeof X==="object"&&X!==null?X.$$typeof:null;switch(z.tag){case 1:typeof X==="function"&&(G=!0);break;case 0:typeof X==="function"?G=!0:Z===W2&&(G=!0);break;case 11:Z===b5?G=!0:Z===W2&&(G=!0);break;case 14:case 15:Z===E9?G=!0:Z===W2&&(G=!0);break;default:return!1}return G&&(z=k2(Y),z!==void 0&&z===k2(X))?!0:!1}function M$(z){k2!==null&&typeof WeakSet==="function"&&(N6===null&&(N6=new WeakSet),N6.add(z))}function A$(z,X,Y){do{var G=z,Z=G.alternate,$=G.child,H=G.sibling,J=G.tag;G=G.type;var Q=null;switch(J){case 0:case 15:case 1:Q=G;break;case 11:Q=G.render}if(k2===null)throw Error("Expected resolveFamily to be set during hot reload.");var B=!1;if(G=!1,Q!==null&&(Q=k2(Q),Q!==void 0&&(Y.has(Q)?G=!0:X.has(Q)&&(J===1?G=!0:B=!0))),N6!==null&&(N6.has(z)||Z!==null&&N6.has(Z))&&(G=!0),G&&(z._debugNeedsRemount=!0),G||B)Z=m0(z,2),Z!==null&&H0(Z,z,2);if($===null||G||A$($,X,Y),H===null)break;z=H}while(1)}function HU(z,X,Y,G){this.tag=z,this.key=Y,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=G,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,TB||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function BX(z){return z=z.prototype,!(!z||!z.isReactComponent)}function g4(z,X){var Y=z.alternate;switch(Y===null?(Y=S(z.tag,X,z.key,z.mode),Y.elementType=z.elementType,Y.type=z.type,Y.stateNode=z.stateNode,Y._debugOwner=z._debugOwner,Y._debugStack=z._debugStack,Y._debugTask=z._debugTask,Y._debugHookTypes=z._debugHookTypes,Y.alternate=z,z.alternate=Y):(Y.pendingProps=X,Y.type=z.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=z.flags&65011712,Y.childLanes=z.childLanes,Y.lanes=z.lanes,Y.child=z.child,Y.memoizedProps=z.memoizedProps,Y.memoizedState=z.memoizedState,Y.updateQueue=z.updateQueue,X=z.dependencies,Y.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Y.sibling=z.sibling,Y.index=z.index,Y.ref=z.ref,Y.refCleanup=z.refCleanup,Y.selfBaseDuration=z.selfBaseDuration,Y.treeBaseDuration=z.treeBaseDuration,Y._debugInfo=z._debugInfo,Y._debugNeedsRemount=z._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=X8(z.type);break;case 1:Y.type=X8(z.type);break;case 11:Y.type=QX(z.type)}return Y}function F$(z,X){z.flags&=65011714;var Y=z.alternate;return Y===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=Y.childLanes,z.lanes=Y.lanes,z.child=Y.child,z.subtreeFlags=0,z.deletions=null,z.memoizedProps=Y.memoizedProps,z.memoizedState=Y.memoizedState,z.updateQueue=Y.updateQueue,z.type=Y.type,X=Y.dependencies,z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},z.selfBaseDuration=Y.selfBaseDuration,z.treeBaseDuration=Y.treeBaseDuration),z}function RX(z,X,Y,G,Z,$){var H=0,J=z;if(typeof z==="function")BX(z)&&(H=1),J=X8(J);else if(typeof z==="string")H=G1(),H=KW(z,Y,H)?26:z==="html"||z==="head"||z==="body"?27:5;else z:switch(z){case YG:return X=S(31,Y,X,Z),X.elementType=YG,X.lanes=$,X;case R6:return Y8(Y.children,Z,$,X);case m9:H=8,Z|=h0,Z|=a2;break;case tY:return z=Y,G=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,G|_1),X.elementType=tY,X.lanes=$,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case zG:return X=S(13,Y,X,Z),X.elementType=zG,X.lanes=$,X;case XG:return X=S(19,Y,X,Z),X.elementType=XG,X.lanes=$,X;default:if(typeof z==="object"&&z!==null)switch(z.$$typeof){case L4:H=10;break z;case eY:H=9;break z;case b5:H=11,J=QX(J);break z;case E9:H=14;break z;case W2:H=16,J=null;break z}if(J="",z===void 0||typeof z==="object"&&z!==null&&Object.keys(z).length===0)J+=" 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?Y="null":F0(z)?Y="array":z!==void 0&&z.$$typeof===_4?(Y="<"+(p(z.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof z,(H=G?Y0(G):null)&&(J+=`
72
-
73
- Check the render method of \``+H+"`."),H=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+J)),J=null}return X=S(H,Y,X,Z),X.elementType=z,X.type=J,X.lanes=$,X._debugOwner=G,X}function lz(z,X,Y){return X=RX(z.type,z.key,z.props,z._owner,X,Y),X._debugOwner=z._owner,X._debugStack=z._debugStack,X._debugTask=z._debugTask,X}function Y8(z,X,Y,G){return z=S(7,z,G,X),z.lanes=Y,z}function qX(z,X,Y){return z=S(6,z,null,X),z.lanes=Y,z}function N$(z){var X=S(18,null,null,H1);return X.stateNode=z,X}function UX(z,X,Y){return X=S(4,z.children!==null?z.children:[],z.key,X),X.lanes=Y,X.stateNode={containerInfo:z.containerInfo,pendingChildren:null,implementation:z.implementation},X}function J2(z,X){if(typeof z==="object"&&z!==null){var Y=bG.get(z);if(Y!==void 0)return Y;return X={value:z,source:X,stack:G2(X)},bG.set(z,X),X}return{value:z,source:X,stack:G2(X)}}function b4(z,X){$3(),I6[P6++]=c5,I6[P6++]=z7,z7=z,c5=X}function I$(z,X,Y){$3(),g2[b2++]=d4,g2[b2++]=u4,g2[b2++]=K8,K8=z;var G=d4;z=u4;var Z=32-u0(G)-1;G&=~(1<<Z),Y+=1;var $=32-u0(X)+Z;if(30<$){var H=Z-Z%5;$=(G&(1<<H)-1).toString(32),G>>=H,Z-=H,d4=1<<32-u0(X)+Z|Y<<Z|G,u4=$+z}else d4=1<<$|Y<<Z|G,u4=z}function WX(z){$3(),z.return!==null&&(b4(z,1),I$(z,1,0))}function wX(z){for(;z===z7;)z7=I6[--P6],I6[P6]=null,c5=I6[--P6],I6[P6]=null;for(;z===K8;)K8=g2[--b2],g2[b2]=null,u4=g2[--b2],g2[b2]=null,d4=g2[--b2],g2[b2]=null}function P$(){return $3(),K8!==null?{id:d4,overflow:u4}:null}function T$(z,X){$3(),g2[b2++]=d4,g2[b2++]=u4,g2[b2++]=K8,d4=X.id,u4=X.overflow,K8=z}function $3(){P1||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function G8(z,X){if(z.return===null){if(_2===null)_2={fiber:z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(_2.fiber!==z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");_2.distanceFromLeaf>X&&(_2.distanceFromLeaf=X)}return _2}var Y=G8(z.return,X+1).children;if(0<Y.length&&Y[Y.length-1].fiber===z)return Y=Y[Y.length-1],Y.distanceFromLeaf>X&&(Y.distanceFromLeaf=X),Y;return X={fiber:z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X},Y.push(X),X}function v$(){P1&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function pz(z,X){I4||(z=G8(z,0),z.serverProps=null,X!==null&&(X=ZQ(X),z.serverTail.push(X)))}function H3(z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",G=_2;throw G!==null&&(_2=null,Y=e7(G)),$5(J2(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`+Y),z)),jG}function C$(z){var{stateNode:X,type:Y,memoizedProps:G}=z;switch(X[V0]=z,X[l0]=G,VY(Y,G),Y){case"dialog":T1("cancel",X),T1("close",X);break;case"iframe":case"object":case"embed":T1("load",X);break;case"video":case"audio":for(Y=0;Y<Mz.length;Y++)T1(Mz[Y],X);break;case"source":T1("error",X);break;case"img":case"image":case"link":T1("error",X),T1("load",X);break;case"details":T1("toggle",X);break;case"input":Z3("input",G),T1("invalid",X),jZ(X,G),VZ(X,G.value,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name,!0);break;case"option":DZ(X,G);break;case"select":Z3("select",G),T1("invalid",X),yZ(X,G);break;case"textarea":Z3("textarea",G),T1("invalid",X),mZ(X,G),hZ(X,G.value,G.defaultValue,G.children)}Y=G.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||X.textContent===""+Y||G.suppressHydrationWarning===!0||pJ(X.textContent,Y)?(G.popover!=null&&(T1("beforetoggle",X),T1("toggle",X)),G.onScroll!=null&&T1("scroll",X),G.onScrollEnd!=null&&T1("scrollend",X),G.onClick!=null&&(X.onclick=k4),X=!0):X=!1,X||H3(z,!0)}function x$(z){for(D0=z.return;D0;)switch(D0.tag){case 5:case 31:case 13:j2=!1;return;case 27:case 3:j2=!0;return;default:D0=D0.return}}function o8(z){if(z!==D0)return!1;if(!P1)return x$(z),P1=!0,!1;var X=z.tag,Y;if(Y=X!==3&&X!==27){if(Y=X===5)Y=z.type,Y=!(Y!=="form"&&Y!=="button")||EY(z.type,z.memoizedProps);Y=!Y}if(Y&&r1){for(Y=r1;Y;){var G=G8(z,0),Z=ZQ(Y);G.serverTail.push(Z),Y=Z.type==="Suspense"?lY(Y):U2(Y.nextSibling)}H3(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.");r1=lY(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.");r1=lY(z)}else X===27?(X=r1,_3(z.type)?(z=NZ,NZ=null,r1=z):r1=X):r1=D0?U2(z.stateNode.nextSibling):null;return!0}function Z8(){r1=D0=null,I4=P1=!1}function KX(){var z=T3;return z!==null&&(i0===null?i0=z:i0.push.apply(i0,z),T3=null),z}function $5(z){T3===null?T3=[z]:T3.push(z)}function _X(){var z=_2;if(z!==null){_2=null;for(var X=e7(z);0<z.children.length;)z=z.children[0];s(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 cz(){T6=X7=null,v6=!1}function J3(z,X,Y){W1(VG,X._currentValue,z),X._currentValue=Y,W1(DG,X._currentRenderer,z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==CB&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=CB}function j4(z,X){z._currentValue=VG.current;var Y=DG.current;C1(DG,X),z._currentRenderer=Y,C1(VG,X)}function LX(z,X,Y){for(;z!==null;){var G=z.alternate;if((z.childLanes&X)!==X?(z.childLanes|=X,G!==null&&(G.childLanes|=X)):G!==null&&(G.childLanes&X)!==X&&(G.childLanes|=X),z===Y)break;z=z.return}z!==Y&&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 OX(z,X,Y,G){var Z=z.child;Z!==null&&(Z.return=z);for(;Z!==null;){var $=Z.dependencies;if($!==null){var H=Z.child;$=$.firstContext;z:for(;$!==null;){var J=$;$=Z;for(var Q=0;Q<X.length;Q++)if(J.context===X[Q]){$.lanes|=Y,J=$.alternate,J!==null&&(J.lanes|=Y),LX($.return,Y,z),G||(H=null);break z}$=J.next}}else if(Z.tag===18){if(H=Z.return,H===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");H.lanes|=Y,$=H.alternate,$!==null&&($.lanes|=Y),LX(H,Y,z),H=null}else H=Z.child;if(H!==null)H.return=Z;else for(H=Z;H!==null;){if(H===z){H=null;break}if(Z=H.sibling,Z!==null){Z.return=H.return,H=Z;break}H=H.return}Z=H}}function i8(z,X,Y,G){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 H=Z.alternate;if(H===null)throw Error("Should have a current fiber. This is a bug in React.");if(H=H.memoizedProps,H!==null){var J=Z.type;c0(Z.pendingProps.value,H.value)||(z!==null?z.push(J):z=[J])}}else if(Z===h9.current){if(H=Z.alternate,H===null)throw Error("Should have a current fiber. This is a bug in React.");H.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&(z!==null?z.push(Pz):z=[Pz])}Z=Z.return}z!==null&&OX(X,z,Y,G),X.flags|=262144}function az(z){for(z=z.firstContext;z!==null;){if(!c0(z.context._currentValue,z.memoizedValue))return!0;z=z.next}return!1}function $8(z){X7=z,T6=null,z=z.dependencies,z!==null&&(z.firstContext=null)}function z0(z){return v6&&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$(X7,z)}function sz(z,X){return X7===null&&$8(z),S$(z,X)}function S$(z,X){var Y=X._currentValue;if(X={context:X,memoizedValue:Y,next:null},T6===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().");T6=X,z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},z.flags|=524288}else T6=T6.next=X;return Y}function MX(){return{controller:new hw,data:new Map,refCount:0}}function H8(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 H5(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&&dw(uw,function(){z.controller.abort()})}function G4(z,X,Y){if((z&127)!==0)0>P4&&(P4=K0(),s5=Y7(X),fG=X,Y!=null&&(yG=d(Y)),(k1&(I0|M2))!==S0&&(J0=!0,x3=a5),z=C5(),X=v5(),z!==C6||X!==o5?C6=-1.1:X!==null&&(x3=a5),L8=z,o5=X);else if((z&4194048)!==0&&0>V2&&(V2=K0(),i5=Y7(X),xB=X,Y!=null&&(SB=d(Y)),0>c4)){if(z=C5(),X=v5(),z!==k3||X!==O8)k3=-1.1;S3=z,O8=X}}function JU(z){if(0>P4){P4=K0(),s5=z._debugTask!=null?z._debugTask:null,(k1&(I0|M2))!==S0&&(x3=a5);var X=C5(),Y=v5();X!==C6||Y!==o5?C6=-1.1:Y!==null&&(x3=a5),L8=X,o5=Y}if(0>V2&&(V2=K0(),i5=z._debugTask!=null?z._debugTask:null,0>c4)){if(z=C5(),X=v5(),z!==k3||X!==O8)k3=-1.1;S3=z,O8=X}}function V4(){var z=_8;return _8=0,z}function oz(z){var X=_8;return _8=z,X}function J5(z){var X=_8;return _8+=z,X}function iz(){Z1=Y1=-1.1}function Q2(){var z=Y1;return Y1=-1.1,z}function B2(z){0<=z&&(Y1=z)}function Z4(){var z=G0;return G0=-0,z}function $4(z){0<=z&&(G0=z)}function H4(){var z=X0;return X0=null,z}function J4(){var z=J0;return J0=!1,z}function AX(z){a0=K0(),0>z.actualStartTime&&(z.actualStartTime=a0)}function FX(z){if(0<=a0){var X=K0()-a0;z.actualDuration+=X,z.selfBaseDuration=X,a0=-1}}function k$(z){if(0<=a0){var X=K0()-a0;z.actualDuration+=X,a0=-1}}function Q4(){if(0<=a0){var z=K0(),X=z-a0;a0=-1,_8+=X,G0+=X,Z1=z}}function g$(z){X0===null&&(X0=[]),X0.push(z),p4===null&&(p4=[]),p4.push(z)}function B4(){a0=K0(),0>Y1&&(Y1=a0)}function Q5(z){for(var X=z.child;X;)z.actualDuration+=X.actualDuration,X=X.sibling}function QU(z,X){if(r5===null){var Y=r5=[];EG=0,M8=kY(),x6={status:"pending",value:void 0,then:function(G){Y.push(G)}}}return EG++,X.then(b$,b$),X}function b$(){if(--EG===0&&(-1<V2||(c4=-1.1),r5!==null)){x6!==null&&(x6.status="fulfilled");var z=r5;r5=null,M8=0,x6=null;for(var X=0;X<z.length;X++)(0,z[X])()}}function BU(z,X){var Y=[],G={status:"pending",value:null,reason:null,then:function(Z){Y.push(Z)}};return z.then(function(){G.status="fulfilled",G.value=X;for(var Z=0;Z<Y.length;Z++)(0,Y[Z])(X)},function(Z){G.status="rejected",G.reason=Z;for(Z=0;Z<Y.length;Z++)(0,Y[Z])(void 0)}),G}function NX(){var z=A8.current;return z!==null?z:a1.pooledCache}function nz(z,X){X===null?W1(A8,A8.current,z):W1(A8,X.pool,z)}function j$(){var z=NX();return z===null?null:{parent:w0._currentValue,pool:z}}function V$(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function D$(z){return z=z.status,z==="fulfilled"||z==="rejected"}function f$(z,X,Y){v.actQueue!==null&&(v.didUsePromise=!0);var G=z.thenables;if(Y=G[Y],Y===void 0?G.push(X):Y!==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(k4,k4),X=Y),X._debugInfo===void 0){z=performance.now(),G=X.displayName;var Z={name:typeof G==="string"?G:"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(k4,k4);else{if(z=a1,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 H=X;H.status="fulfilled",H.value=$}},function($){if(X.status==="pending"){var H=X;H.status="rejected",H.reason=$}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw z=X.reason,m$(z),z}throw N8=X,Zz=!0,S6}}function Q3(z){try{return aw(z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw N8=X,Zz=!0,S6;throw X}}function y$(){if(N8===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var z=N8;return N8=null,Zz=!1,z}function m$(z){if(z===S6||z===R7)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 g0(z){var X=L1;return z!=null&&(L1=X===null?z:X.concat(z)),X}function IX(){var z=L1;if(z!=null){for(var X=z.length-1;0<=X;X--)if(z[X].name!=null){var Y=z[X].debugTask;if(Y!=null)return Y}}return null}function rz(z,X,Y){for(var G=Object.keys(z.props),Z=0;Z<G.length;Z++){var $=G[Z];if($!=="children"&&$!=="key"){X===null&&(X=lz(z,Y.mode,0),X._debugInfo=L1,X.return=Y),s(X,function(H){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H)},$);break}}}function tz(z){var X=$z;return $z+=1,k6===null&&(k6=V$()),f$(k6,z,X)}function B5(z,X){X=X.props.ref,z.ref=X!==void 0?X:null}function E$(z,X){if(X.$$typeof===TW)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 ez(z,X){var Y=IX();Y!==null?Y.run(E$.bind(null,z,X)):E$(z,X)}function h$(z,X){var Y=d(z)||"Component";iB[Y]||(iB[Y]=!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,Y,X,Y))}function z9(z,X){var Y=IX();Y!==null?Y.run(h$.bind(null,z,X)):h$(z,X)}function d$(z,X){var Y=d(z)||"Component";nB[Y]||(nB[Y]=!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>`,Y,X,Y))}function X9(z,X){var Y=IX();Y!==null?Y.run(d$.bind(null,z,X)):d$(z,X)}function u$(z){function X(W,K){if(z){var _=W.deletions;_===null?(W.deletions=[K],W.flags|=16):_.push(K)}}function Y(W,K){if(!z)return null;for(;K!==null;)X(W,K),K=K.sibling;return null}function G(W){for(var K=new Map;W!==null;)W.key!==null?K.set(W.key,W):K.set(W.index,W),W=W.sibling;return K}function Z(W,K){return W=g4(W,K),W.index=0,W.sibling=null,W}function $(W,K,_){if(W.index=_,!z)return W.flags|=1048576,K;if(_=W.alternate,_!==null)return _=_.index,_<K?(W.flags|=67108866,K):_;return W.flags|=67108866,K}function H(W){return z&&W.alternate===null&&(W.flags|=67108866),W}function J(W,K,_,x){if(K===null||K.tag!==6)return K=qX(_,W.mode,x),K.return=W,K._debugOwner=W,K._debugTask=W._debugTask,K._debugInfo=L1,K;return K=Z(K,_),K.return=W,K._debugInfo=L1,K}function Q(W,K,_,x){var l=_.type;if(l===R6)return K=L(W,K,_.props.children,x,_.key),rz(_,K,W),K;if(K!==null&&(K.elementType===l||O$(K,_)||typeof l==="object"&&l!==null&&l.$$typeof===W2&&Q3(l)===K.type))return K=Z(K,_.props),B5(K,_),K.return=W,K._debugOwner=_._owner,K._debugInfo=L1,K;return K=lz(_,W.mode,x),B5(K,_),K.return=W,K._debugInfo=L1,K}function B(W,K,_,x){if(K===null||K.tag!==4||K.stateNode.containerInfo!==_.containerInfo||K.stateNode.implementation!==_.implementation)return K=UX(_,W.mode,x),K.return=W,K._debugInfo=L1,K;return K=Z(K,_.children||[]),K.return=W,K._debugInfo=L1,K}function L(W,K,_,x,l){if(K===null||K.tag!==7)return K=Y8(_,W.mode,x,l),K.return=W,K._debugOwner=W,K._debugTask=W._debugTask,K._debugInfo=L1,K;return K=Z(K,_),K.return=W,K._debugInfo=L1,K}function O(W,K,_){if(typeof K==="string"&&K!==""||typeof K==="number"||typeof K==="bigint")return K=qX(""+K,W.mode,_),K.return=W,K._debugOwner=W,K._debugTask=W._debugTask,K._debugInfo=L1,K;if(typeof K==="object"&&K!==null){switch(K.$$typeof){case _4:return _=lz(K,W.mode,_),B5(_,K),_.return=W,W=g0(K._debugInfo),_._debugInfo=L1,L1=W,_;case B6:return K=UX(K,W.mode,_),K.return=W,K._debugInfo=L1,K;case W2:var x=g0(K._debugInfo);return K=Q3(K),W=O(W,K,_),L1=x,W}if(F0(K)||Q0(K))return _=Y8(K,W.mode,_,null),_.return=W,_._debugOwner=W,_._debugTask=W._debugTask,W=g0(K._debugInfo),_._debugInfo=L1,L1=W,_;if(typeof K.then==="function")return x=g0(K._debugInfo),W=O(W,tz(K),_),L1=x,W;if(K.$$typeof===L4)return O(W,sz(W,K),_);ez(W,K)}return typeof K==="function"&&z9(W,K),typeof K==="symbol"&&X9(W,K),null}function w(W,K,_,x){var l=K!==null?K.key:null;if(typeof _==="string"&&_!==""||typeof _==="number"||typeof _==="bigint")return l!==null?null:J(W,K,""+_,x);if(typeof _==="object"&&_!==null){switch(_.$$typeof){case _4:return _.key===l?(l=g0(_._debugInfo),W=Q(W,K,_,x),L1=l,W):null;case B6:return _.key===l?B(W,K,_,x):null;case W2:return l=g0(_._debugInfo),_=Q3(_),W=w(W,K,_,x),L1=l,W}if(F0(_)||Q0(_)){if(l!==null)return null;return l=g0(_._debugInfo),W=L(W,K,_,x,null),L1=l,W}if(typeof _.then==="function")return l=g0(_._debugInfo),W=w(W,K,tz(_),x),L1=l,W;if(_.$$typeof===L4)return w(W,K,sz(W,_),x);ez(W,_)}return typeof _==="function"&&z9(W,_),typeof _==="symbol"&&X9(W,_),null}function P(W,K,_,x,l){if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return W=W.get(_)||null,J(K,W,""+x,l);if(typeof x==="object"&&x!==null){switch(x.$$typeof){case _4:return _=W.get(x.key===null?_:x.key)||null,W=g0(x._debugInfo),K=Q(K,_,x,l),L1=W,K;case B6:return W=W.get(x.key===null?_:x.key)||null,B(K,W,x,l);case W2:var Q1=g0(x._debugInfo);return x=Q3(x),K=P(W,K,_,x,l),L1=Q1,K}if(F0(x)||Q0(x))return _=W.get(_)||null,W=g0(x._debugInfo),K=L(K,_,x,l,null),L1=W,K;if(typeof x.then==="function")return Q1=g0(x._debugInfo),K=P(W,K,_,tz(x),l),L1=Q1,K;if(x.$$typeof===L4)return P(W,K,_,sz(K,x),l);ez(K,x)}return typeof x==="function"&&z9(K,x),typeof x==="symbol"&&X9(K,x),null}function h(W,K,_,x){if(typeof _!=="object"||_===null)return x;switch(_.$$typeof){case _4:case B6:C(W,K,_);var l=_.key;if(typeof l!=="string")break;if(x===null){x=new Set,x.add(l);break}if(!x.has(l)){x.add(l);break}s(K,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.",l)});break;case W2:_=Q3(_),h(W,K,_,x)}return x}function a(W,K,_,x){for(var l=null,Q1=null,z1=null,t=K,w1=K=0,t1=null;t!==null&&w1<_.length;w1++){t.index>w1?(t1=t,t=null):t1=t.sibling;var W0=w(W,t,_[w1],x);if(W0===null){t===null&&(t=t1);break}l=h(W,W0,_[w1],l),z&&t&&W0.alternate===null&&X(W,t),K=$(W0,K,w1),z1===null?Q1=W0:z1.sibling=W0,z1=W0,t=t1}if(w1===_.length)return Y(W,t),P1&&b4(W,w1),Q1;if(t===null){for(;w1<_.length;w1++)t=O(W,_[w1],x),t!==null&&(l=h(W,t,_[w1],l),K=$(t,K,w1),z1===null?Q1=t:z1.sibling=t,z1=t);return P1&&b4(W,w1),Q1}for(t=G(t);w1<_.length;w1++)t1=P(t,W,w1,_[w1],x),t1!==null&&(l=h(W,t1,_[w1],l),z&&t1.alternate!==null&&t.delete(t1.key===null?w1:t1.key),K=$(t1,K,w1),z1===null?Q1=t1:z1.sibling=t1,z1=t1);return z&&t.forEach(function(z3){return X(W,z3)}),P1&&b4(W,w1),Q1}function i1(W,K,_,x){if(_==null)throw Error("An iterable object provided no iterator.");for(var l=null,Q1=null,z1=K,t=K=0,w1=null,t1=null,W0=_.next();z1!==null&&!W0.done;t++,W0=_.next()){z1.index>t?(w1=z1,z1=null):w1=z1.sibling;var z3=w(W,z1,W0.value,x);if(z3===null){z1===null&&(z1=w1);break}t1=h(W,z3,W0.value,t1),z&&z1&&z3.alternate===null&&X(W,z1),K=$(z3,K,t),Q1===null?l=z3:Q1.sibling=z3,Q1=z3,z1=w1}if(W0.done)return Y(W,z1),P1&&b4(W,t),l;if(z1===null){for(;!W0.done;t++,W0=_.next())z1=O(W,W0.value,x),z1!==null&&(t1=h(W,z1,W0.value,t1),K=$(z1,K,t),Q1===null?l=z1:Q1.sibling=z1,Q1=z1);return P1&&b4(W,t),l}for(z1=G(z1);!W0.done;t++,W0=_.next())w1=P(z1,W,t,W0.value,x),w1!==null&&(t1=h(W,w1,W0.value,t1),z&&w1.alternate!==null&&z1.delete(w1.key===null?t:w1.key),K=$(w1,K,t),Q1===null?l=w1:Q1.sibling=w1,Q1=w1);return z&&z1.forEach(function(_K){return X(W,_K)}),P1&&b4(W,t),l}function v1(W,K,_,x){if(typeof _==="object"&&_!==null&&_.type===R6&&_.key===null&&(rz(_,null,W),_=_.props.children),typeof _==="object"&&_!==null){switch(_.$$typeof){case _4:var l=g0(_._debugInfo);z:{for(var Q1=_.key;K!==null;){if(K.key===Q1){if(Q1=_.type,Q1===R6){if(K.tag===7){Y(W,K.sibling),x=Z(K,_.props.children),x.return=W,x._debugOwner=_._owner,x._debugInfo=L1,rz(_,x,W),W=x;break z}}else if(K.elementType===Q1||O$(K,_)||typeof Q1==="object"&&Q1!==null&&Q1.$$typeof===W2&&Q3(Q1)===K.type){Y(W,K.sibling),x=Z(K,_.props),B5(x,_),x.return=W,x._debugOwner=_._owner,x._debugInfo=L1,W=x;break z}Y(W,K);break}else X(W,K);K=K.sibling}_.type===R6?(x=Y8(_.props.children,W.mode,x,_.key),x.return=W,x._debugOwner=W,x._debugTask=W._debugTask,x._debugInfo=L1,rz(_,x,W),W=x):(x=lz(_,W.mode,x),B5(x,_),x.return=W,x._debugInfo=L1,W=x)}return W=H(W),L1=l,W;case B6:z:{l=_;for(_=l.key;K!==null;){if(K.key===_)if(K.tag===4&&K.stateNode.containerInfo===l.containerInfo&&K.stateNode.implementation===l.implementation){Y(W,K.sibling),x=Z(K,l.children||[]),x.return=W,W=x;break z}else{Y(W,K);break}else X(W,K);K=K.sibling}x=UX(l,W.mode,x),x.return=W,W=x}return H(W);case W2:return l=g0(_._debugInfo),_=Q3(_),W=v1(W,K,_,x),L1=l,W}if(F0(_))return l=g0(_._debugInfo),W=a(W,K,_,x),L1=l,W;if(Q0(_)){if(l=g0(_._debugInfo),Q1=Q0(_),typeof Q1!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var z1=Q1.call(_);if(z1===_){if(W.tag!==0||Object.prototype.toString.call(W.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(z1)!=="[object Generator]")sB||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."),sB=!0}else _.entries!==Q1||lG||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),lG=!0);return W=i1(W,K,z1,x),L1=l,W}if(typeof _.then==="function")return l=g0(_._debugInfo),W=v1(W,K,tz(_),x),L1=l,W;if(_.$$typeof===L4)return v1(W,K,sz(W,_),x);ez(W,_)}if(typeof _==="string"&&_!==""||typeof _==="number"||typeof _==="bigint")return l=""+_,K!==null&&K.tag===6?(Y(W,K.sibling),x=Z(K,l),x.return=W,W=x):(Y(W,K),x=qX(l,W.mode,x),x.return=W,x._debugOwner=W,x._debugTask=W._debugTask,x._debugInfo=L1,W=x),H(W);return typeof _==="function"&&z9(W,_),typeof _==="symbol"&&X9(W,_),Y(W,K)}return function(W,K,_,x){var l=L1;L1=null;try{$z=0;var Q1=v1(W,K,_,x);return k6=null,Q1}catch(t1){if(t1===S6||t1===R7)throw t1;var z1=S(29,t1,null,W.mode);z1.lanes=x,z1.return=W;var t=z1._debugInfo=L1;if(z1._debugOwner=W._debugOwner,z1._debugTask=W._debugTask,t!=null){for(var w1=t.length-1;0<=w1;w1--)if(typeof t[w1].stack==="string"){z1._debugOwner=t[w1],z1._debugTask=t[w1].debugTask;break}}return z1}finally{L1=l}}}function l$(z,X){var Y=F0(z);return z=!Y&&typeof Q0(z)==="function",Y||z?(Y=Y?"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>",Y,X,Y),!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 B3(z){return{lane:z,tag:tB,payload:null,callback:null,next:null}}function R3(z,X,Y){var G=z.updateQueue;if(G===null)return null;if(G=G.shared,cG===G&&!XR){var Z=d(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((k1&I0)!==S0)return Z=G.pending,Z===null?X.next=X:(X.next=Z.next,Z.next=X),G.pending=X,X=uz(z),L$(z,null,Y),X;return dz(z,G,X,Y),uz(z)}function R5(z,X,Y){if(X=X.updateQueue,X!==null&&(X=X.shared,(Y&4194048)!==0)){var G=X.lanes;G&=z.pendingLanes,Y|=G,X.lanes=Y,i3(z,Y)}}function Y9(z,X){var{updateQueue:Y,alternate:G}=z;if(G!==null&&(G=G.updateQueue,Y===G)){var Z=null,$=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var H={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};$===null?Z=$=H:$=$.next=H,Y=Y.next}while(Y!==null);$===null?Z=$=X:$=$.next=X}else Z=$=X;Y={baseState:G.baseState,firstBaseUpdate:Z,lastBaseUpdate:$,shared:G.shared,callbacks:G.callbacks},z.updateQueue=Y;return}z=Y.lastBaseUpdate,z===null?Y.firstBaseUpdate=X:z.next=X,Y.lastBaseUpdate=X}function q5(){if(aG){var z=x6;if(z!==null)throw z}}function U5(z,X,Y,G){aG=!1;var Z=z.updateQueue;g3=!1,cG=Z.shared;var{firstBaseUpdate:$,lastBaseUpdate:H}=Z,J=Z.shared.pending;if(J!==null){Z.shared.pending=null;var Q=J,B=Q.next;Q.next=null,H===null?$=B:H.next=B,H=Q;var L=z.alternate;L!==null&&(L=L.updateQueue,J=L.lastBaseUpdate,J!==H&&(J===null?L.firstBaseUpdate=B:J.next=B,L.lastBaseUpdate=Q))}if($!==null){var O=Z.baseState;H=0,L=B=Q=null,J=$;do{var w=J.lane&-536870913,P=w!==J.lane;if(P?(O1&w)===w:(G&w)===w){w!==0&&w===M8&&(aG=!0),L!==null&&(L=L.next={lane:0,tag:J.tag,payload:J.payload,callback:null,next:null});z:{w=z;var h=J,a=X,i1=Y;switch(h.tag){case eB:if(h=h.payload,typeof h==="function"){v6=!0;var v1=h.call(i1,O,a);if(w.mode&h0){s1(!0);try{h.call(i1,O,a)}finally{s1(!1)}}v6=!1,O=v1;break z}O=h;break z;case pG:w.flags=w.flags&-65537|128;case tB:if(v1=h.payload,typeof v1==="function"){if(v6=!0,h=v1.call(i1,O,a),w.mode&h0){s1(!0);try{v1.call(i1,O,a)}finally{s1(!1)}}v6=!1}else h=v1;if(h===null||h===void 0)break z;O=F1({},O,h);break z;case zR:g3=!0}}w=J.callback,w!==null&&(z.flags|=64,P&&(z.flags|=8192),P=Z.callbacks,P===null?Z.callbacks=[w]:P.push(w))}else P={lane:w,tag:J.tag,payload:J.payload,callback:J.callback,next:null},L===null?(B=L=P,Q=O):L=L.next=P,H|=w;if(J=J.next,J===null)if(J=Z.shared.pending,J===null)break;else P=J,J=P.next,P.next=null,Z.lastBaseUpdate=P,Z.shared.pending=null}while(1);L===null&&(Q=O),Z.baseState=Q,Z.firstBaseUpdate=B,Z.lastBaseUpdate=L,$===null&&(Z.shared.lanes=0),V3|=H,z.lanes=H,z.memoizedState=O}cG=null}function p$(z,X){if(typeof z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+z);z.call(X)}function RU(z,X){var Y=z.shared.hiddenCallbacks;if(Y!==null)for(z.shared.hiddenCallbacks=null,z=0;z<Y.length;z++)p$(Y[z],X)}function c$(z,X){var Y=z.callbacks;if(Y!==null)for(z.callbacks=null,z=0;z<Y.length;z++)p$(Y[z],X)}function a$(z,X){var Y=C4;W1(U7,Y,z),W1(g6,X,z),C4=Y|X.baseLanes}function vX(z){W1(U7,C4,z),W1(g6,g6.current,z)}function CX(z){C4=U7.current,C1(g6,z),C1(U7,z)}function q3(z){var X=z.alternate;W1(U0,U0.current&b6,z),W1(L2,z,z),D2===null&&(X===null||g6.current!==null?D2=z:X.memoizedState!==null&&(D2=z))}function xX(z){W1(U0,U0.current,z),W1(L2,z,z),D2===null&&(D2=z)}function s$(z){z.tag===22?(W1(U0,U0.current,z),W1(L2,z,z),D2===null&&(D2=z)):U3(z)}function U3(z){W1(U0,U0.current,z),W1(L2,L2.current,z)}function R2(z){C1(L2,z),D2===z&&(D2=null),C1(U0,z)}function G9(z){for(var X=z;X!==null;){if(X.tag===13){var Y=X.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||dY(Y)||uY(Y)))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 A1(){var z=T;y2===null?y2=[z]:y2.push(z)}function D(){var z=T;if(y2!==null&&(i4++,y2[i4]!==z)){var X=d(J1);if(!YR.has(X)&&(YR.add(X),y2!==null)){for(var Y="",G=0;G<=i4;G++){var Z=y2[G],$=G===i4?z:Z;for(Z=G+1+". "+Z;30>Z.length;)Z+=" ";Z+=$+`
103
- `,Y+=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,Y)}}}function n8(z){z===void 0||z===null||F0(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.",T,typeof z)}function Z9(){var z=d(J1);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(Qz)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.",T),!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`,T,"["+X.join(", ")+"]","["+z.join(", ")+"]");for(var Y=0;Y<X.length&&Y<z.length;Y++)if(!c0(z[Y],X[Y]))return!1;return!0}function kX(z,X,Y,G,Z,$){if(s4=$,J1=X,y2=z!==null?z._debugHookTypes:null,i4=-1,Qz=z!==null&&z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")$=d(J1),sG.has($)||(sG.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,v.H=z!==null&&z.memoizedState!==null?iG:y2!==null?$R:oG,P8=$=(X.mode&h0)!==H1;var H=hG(Y,G,Z);if(P8=!1,V6&&(H=gX(X,Y,G,Z)),$){s1(!0);try{H=gX(X,Y,G,Z)}finally{s1(!1)}}return o$(z,X),H}function o$(z,X){X._debugHookTypes=y2,X.dependencies===null?o4!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:o4}):X.dependencies._debugThenableState=o4,v.H=Bz;var Y=c1!==null&&c1.next!==null;if(s4=0,y2=T=_0=c1=J1=null,i4=-1,z!==null&&(z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),w7=!1,Jz=0,o4=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");z===null||L0||(z=z.dependencies,z!==null&&az(z)&&(L0=!0)),Zz?(Zz=!1,z=!0):z=!1,z&&(X=d(X)||"Unknown",GR.has(X)||sG.has(X)||(GR.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 gX(z,X,Y,G){J1=z;var Z=0;do{if(V6&&(o4=null),Jz=0,V6=!1,Z>=ow)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Z+=1,Qz=!1,_0=c1=null,z.updateQueue!=null){var $=z.updateQueue;$.lastEffect=null,$.events=null,$.stores=null,$.memoCache!=null&&($.memoCache.index=0)}i4=-1,v.H=HR,$=hG(X,Y,G)}while(V6);return $}function qU(){var z=v.H,X=z.useState()[0];return X=typeof X.then==="function"?W5(X):X,z=z.useState()[0],(c1!==null?c1.memoizedState:null)!==z&&(J1.flags|=1024),X}function bX(){var z=K7!==0;return K7=0,z}function jX(z,X,Y){X.updateQueue=z.updateQueue,X.flags=(X.mode&a2)!==H1?X.flags&-402655237:X.flags&-2053,z.lanes&=~Y}function VX(z){if(w7){for(z=z.memoizedState;z!==null;){var X=z.queue;X!==null&&(X.pending=null),z=z.next}w7=!1}s4=0,y2=_0=c1=J1=null,i4=-1,T=null,V6=!1,Jz=K7=0,o4=null}function d0(){var z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _0===null?J1.memoizedState=_0=z:_0=_0.next=z,_0}function E1(){if(c1===null){var z=J1.alternate;z=z!==null?z.memoizedState:null}else z=c1.next;var X=_0===null?J1.memoizedState:_0.next;if(X!==null)_0=X,c1=z;else{if(z===null){if(J1.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.")}c1=z,z={memoizedState:c1.memoizedState,baseState:c1.baseState,baseQueue:c1.baseQueue,queue:c1.queue,next:null},_0===null?J1.memoizedState=_0=z:_0=_0.next=z}return _0}function $9(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function W5(z){var X=Jz;return Jz+=1,o4===null&&(o4=V$()),z=f$(o4,z,X),X=J1,(_0===null?X.memoizedState:_0.next)===null&&(X=X.alternate,v.H=X!==null&&X.memoizedState!==null?iG:oG),z}function W3(z){if(z!==null&&typeof z==="object"){if(typeof z.then==="function")return W5(z);if(z.$$typeof===L4)return z0(z)}throw Error("An unsupported type was passed to use(): "+String(z))}function J8(z){var X=null,Y=J1.updateQueue;if(Y!==null&&(X=Y.memoCache),X==null){var G=J1.alternate;G!==null&&(G=G.updateQueue,G!==null&&(G=G.memoCache,G!=null&&(X={data:G.data.map(function(Z){return Z.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),Y===null&&(Y=$9(),J1.updateQueue=Y),Y.memoCache=X,Y=X.data[X.index],Y===void 0||Qz)for(Y=X.data[X.index]=Array(z),G=0;G<z;G++)Y[G]=vW;else Y.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.",Y.length,z);return X.index++,Y}function u2(z,X){return typeof X==="function"?X(z):X}function DX(z,X,Y){var G=d0();if(Y!==void 0){var Z=Y(X);if(P8){s1(!0);try{Y(X)}finally{s1(!1)}}}else Z=X;return G.memoizedState=G.baseState=Z,z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:z,lastRenderedState:Z},G.queue=z,z=z.dispatch=_U.bind(null,J1,z),[G.memoizedState,z]}function r8(z){var X=E1();return fX(X,c1,z)}function fX(z,X,Y){var G=z.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=Y;var Z=z.baseQueue,$=G.pending;if($!==null){if(Z!==null){var H=Z.next;Z.next=$.next,$.next=H}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=$,G.pending=null}if($=z.baseState,Z===null)z.memoizedState=$;else{X=Z.next;var J=H=null,Q=null,B=X,L=!1;do{var O=B.lane&-536870913;if(O!==B.lane?(O1&O)===O:(s4&O)===O){var w=B.revertLane;if(w===0)Q!==null&&(Q=Q.next={lane:0,revertLane:0,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),O===M8&&(L=!0);else if((s4&w)===w){B=B.next,w===M8&&(L=!0);continue}else O={lane:0,revertLane:B.revertLane,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},Q===null?(J=Q=O,H=$):Q=Q.next=O,J1.lanes|=w,V3|=w;O=B.action,P8&&Y($,O),$=B.hasEagerState?B.eagerState:Y($,O)}else w={lane:O,revertLane:B.revertLane,gesture:B.gesture,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},Q===null?(J=Q=w,H=$):Q=Q.next=w,J1.lanes|=O,V3|=O;B=B.next}while(B!==null&&B!==X);if(Q===null?H=$:Q.next=J,!c0($,z.memoizedState)&&(L0=!0,L&&(Y=x6,Y!==null)))throw Y;z.memoizedState=$,z.baseState=H,z.baseQueue=Q,G.lastRenderedState=$}return Z===null&&(G.lanes=0),[z.memoizedState,G.dispatch]}function w5(z){var X=E1(),Y=X.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=z;var{dispatch:G,pending:Z}=Y,$=X.memoizedState;if(Z!==null){Y.pending=null;var H=Z=Z.next;do $=z($,H.action),H=H.next;while(H!==Z);c0($,X.memoizedState)||(L0=!0),X.memoizedState=$,X.baseQueue===null&&(X.baseState=$),Y.lastRenderedState=$}return[$,G]}function yX(z,X,Y){var G=J1,Z=d0();if(P1){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var $=Y();j6||$===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),j6=!0)}else{if($=X(),j6||(Y=X(),c0($,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),j6=!0)),a1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(O1&127)!==0||i$(G,X,$)}return Z.memoizedState=$,Y={value:$,getSnapshot:X},Z.queue=Y,B9(r$.bind(null,G,Y,z),[z]),G.flags|=2048,e8(f2|o0,{destroy:void 0},n$.bind(null,G,Y,$,X),null),$}function H9(z,X,Y){var G=J1,Z=E1(),$=P1;if($){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=X(),!j6){var H=X();c0(Y,H)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),j6=!0)}if(H=!c0((c1||Z).memoizedState,Y))Z.memoizedState=Y,L0=!0;Z=Z.queue;var J=r$.bind(null,G,Z,z);if(r0(2048,o0,J,[z]),Z.getSnapshot!==X||H||_0!==null&&_0.memoizedState.tag&f2){if(G.flags|=2048,e8(f2|o0,{destroy:void 0},n$.bind(null,G,Z,Y,X),null),a1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");$||(s4&127)!==0||i$(G,X,Y)}return Y}function i$(z,X,Y){z.flags|=16384,z={getSnapshot:X,value:Y},X=J1.updateQueue,X===null?(X=$9(),J1.updateQueue=X,X.stores=[z]):(Y=X.stores,Y===null?X.stores=[z]:Y.push(z))}function n$(z,X,Y,G){X.value=Y,X.getSnapshot=G,t$(X)&&e$(z)}function r$(z,X,Y){return Y(function(){t$(X)&&(G4(2,"updateSyncExternalStore()",z),e$(z))})}function t$(z){var X=z.getSnapshot;z=z.value;try{var Y=X();return!c0(z,Y)}catch(G){return!0}}function e$(z){var X=m0(z,2);X!==null&&H0(X,z,2)}function mX(z){var X=d0();if(typeof z==="function"){var Y=z;if(z=Y(),P8){s1(!0);try{Y()}finally{s1(!1)}}}return X.memoizedState=X.baseState=z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u2,lastRenderedState:z},X}function EX(z){z=mX(z);var X=z.queue,Y=OH.bind(null,J1,X);return X.dispatch=Y,[z.memoizedState,Y]}function hX(z){var X=d0();X.memoizedState=X.baseState=z;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=Y,X=zY.bind(null,J1,!0,Y),Y.dispatch=X,[z,X]}function zH(z,X){var Y=E1();return XH(Y,c1,z,X)}function XH(z,X,Y,G){return z.baseState=Y,fX(z,c1,typeof G==="function"?G:u2)}function YH(z,X){var Y=E1();if(c1!==null)return XH(Y,c1,z,X);return Y.baseState=z,[z,Y.queue.dispatch]}function UU(z,X,Y,G,Z){if(K9(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(H){$.listeners.push(H)}};v.T!==null?Y(!0):$.isTransition=!1,G($),Y=X.pending,Y===null?($.next=X.pending=$,GH(X,$)):($.next=Y.next,X.pending=Y.next=$)}}function GH(z,X){var{action:Y,payload:G}=X,Z=z.state;if(X.isTransition){var $=v.T,H={};H._updatedFibers=new Set,v.T=H;try{var J=Y(Z,G),Q=v.S;Q!==null&&Q(H,J),ZH(z,X,J)}catch(B){dX(z,X,B)}finally{$!==null&&H.types!==null&&($.types!==null&&$.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."),$.types=H.types),v.T=$,$===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."))}}else try{H=Y(Z,G),ZH(z,X,H)}catch(B){dX(z,X,B)}}function ZH(z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(v.asyncTransitions++,Y.then(w9,w9),Y.then(function(G){$H(z,X,G)},function(G){return dX(z,X,G)}),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.")):$H(z,X,Y)}function $H(z,X,Y){X.status="fulfilled",X.value=Y,HH(X),z.state=Y,X=z.pending,X!==null&&(Y=X.next,Y===X?z.pending=null:(Y=Y.next,X.next=Y,GH(z,Y)))}function dX(z,X,Y){var G=z.pending;if(z.pending=null,G!==null){G=G.next;do X.status="rejected",X.reason=Y,HH(X),X=X.next;while(X!==G)}z.action=null}function HH(z){z=z.listeners;for(var X=0;X<z.length;X++)(0,z[X])()}function JH(z,X){return X}function t8(z,X){if(P1){var Y=a1.formState;if(Y!==null){z:{var G=J1;if(P1){if(r1){X:{var Z=r1;for(var $=j2;Z.nodeType!==8;){if(!$){Z=null;break X}if(Z=U2(Z.nextSibling),Z===null){Z=null;break X}}$=Z.data,Z=$===OZ||$===cR?Z:null}if(Z){r1=U2(Z.nextSibling),G=Z.data===OZ;break z}}H3(G)}G=!1}G&&(X=Y[0])}}return Y=d0(),Y.memoizedState=Y.baseState=X,G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:JH,lastRenderedState:X},Y.queue=G,Y=OH.bind(null,J1,G),G.dispatch=Y,G=mX(!1),$=zY.bind(null,J1,!1,G.queue),G=d0(),Z={state:X,dispatch:null,action:z,pending:null},G.queue=Z,Y=UU.bind(null,J1,Z,$,Y),Z.dispatch=Y,G.memoizedState=z,[X,Y,!1]}function J9(z){var X=E1();return QH(X,c1,z)}function QH(z,X,Y){if(X=fX(z,X,JH)[0],z=r8(u2)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var G=W5(X)}catch(H){if(H===S6)throw R7;throw H}else G=X;X=E1();var Z=X.queue,$=Z.dispatch;return Y!==X.memoizedState&&(J1.flags|=2048,e8(f2|o0,{destroy:void 0},WU.bind(null,Z,Y),null)),[G,$,z]}function WU(z,X){z.action=X}function Q9(z){var X=E1(),Y=c1;if(Y!==null)return QH(X,Y,z);E1(),X=X.memoizedState,Y=E1();var G=Y.queue.dispatch;return Y.memoizedState=z,[X,G,!1]}function e8(z,X,Y,G){return z={tag:z,create:Y,deps:G,inst:X,next:null},X=J1.updateQueue,X===null&&(X=$9(),J1.updateQueue=X),Y=X.lastEffect,Y===null?X.lastEffect=z.next=z:(G=Y.next,Y.next=z,z.next=G,X.lastEffect=z),z}function uX(z){var X=d0();return z={current:z},X.memoizedState=z}function Q8(z,X,Y,G){var Z=d0();J1.flags|=z,Z.memoizedState=e8(f2|X,{destroy:void 0},Y,G===void 0?null:G)}function r0(z,X,Y,G){var Z=E1();G=G===void 0?null:G;var $=Z.memoizedState.inst;c1!==null&&G!==null&&SX(G,c1.memoizedState.deps)?Z.memoizedState=e8(X,$,Y,G):(J1.flags|=z,Z.memoizedState=e8(f2|X,$,Y,G))}function B9(z,X){(J1.mode&a2)!==H1?Q8(276826112,o0,z,X):Q8(8390656,o0,z,X)}function wU(z){J1.flags|=4;var X=J1.updateQueue;if(X===null)X=$9(),J1.updateQueue=X,X.events=[z];else{var Y=X.events;Y===null?X.events=[z]:Y.push(z)}}function lX(z){var X=d0(),Y={impl:z};return X.memoizedState=Y,function(){if((k1&I0)!==S0)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function R9(z){var X=E1().memoizedState;return wU({ref:X,nextImpl:z}),function(){if((k1&I0)!==S0)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function pX(z,X){var Y=4194308;return(J1.mode&a2)!==H1&&(Y|=134217728),Q8(Y,O2,z,X)}function BH(z,X){if(typeof X==="function"){z=z();var Y=X(z);return function(){typeof Y==="function"?Y():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 cX(z,X,Y){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"),Y=Y!==null&&Y!==void 0?Y.concat([z]):null;var G=4194308;(J1.mode&a2)!==H1&&(G|=134217728),Q8(G,O2,BH.bind(null,X,z),Y)}function q9(z,X,Y){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"),Y=Y!==null&&Y!==void 0?Y.concat([z]):null,r0(4,O2,BH.bind(null,X,z),Y)}function aX(z,X){return d0().memoizedState=[z,X===void 0?null:X],z}function U9(z,X){var Y=E1();X=X===void 0?null:X;var G=Y.memoizedState;if(X!==null&&SX(X,G[1]))return G[0];return Y.memoizedState=[z,X],z}function sX(z,X){var Y=d0();X=X===void 0?null:X;var G=z();if(P8){s1(!0);try{z()}finally{s1(!1)}}return Y.memoizedState=[G,X],G}function W9(z,X){var Y=E1();X=X===void 0?null:X;var G=Y.memoizedState;if(X!==null&&SX(X,G[1]))return G[0];if(G=z(),P8){s1(!0);try{z()}finally{s1(!1)}}return Y.memoizedState=[G,X],G}function oX(z,X){var Y=d0();return iX(Y,z,X)}function RH(z,X){var Y=E1();return UH(Y,c1.memoizedState,z,X)}function qH(z,X){var Y=E1();return c1===null?iX(Y,z,X):UH(Y,c1.memoizedState,z,X)}function iX(z,X,Y){if(Y===void 0||(s4&1073741824)!==0&&(O1&261930)===0)return z.memoizedState=X;return z.memoizedState=Y,z=WJ(),J1.lanes|=z,V3|=z,Y}function UH(z,X,Y,G){if(c0(Y,X))return Y;if(g6.current!==null)return z=iX(z,Y,G),c0(z,X)||(L0=!0),z;if((s4&42)===0||(s4&1073741824)!==0&&(O1&261930)===0)return L0=!0,z.memoizedState=Y;return z=WJ(),J1.lanes|=z,V3|=z,X}function w9(){v.asyncTransitions--}function WH(z,X,Y,G,Z){var $=V1.p;V1.p=$!==0&&$<c2?$:c2;var H=v.T,J={};J._updatedFibers=new Set,v.T=J,zY(z,!1,X,Y);try{var Q=Z(),B=v.S;if(B!==null&&B(J,Q),Q!==null&&typeof Q==="object"&&typeof Q.then==="function"){v.asyncTransitions++,Q.then(w9,w9);var L=BU(Q,G);K5(z,X,L,q2(z))}else K5(z,X,G,q2(z))}catch(O){K5(z,X,{then:function(){},status:"rejected",reason:O},q2(z))}finally{V1.p=$,H!==null&&J.types!==null&&(H.types!==null&&H.types!==J.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."),H.types=J.types),v.T=H,H===null&&J._updatedFibers&&(z=J._updatedFibers.size,J._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 nX(z,X,Y,G){if(z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Z=wH(z).queue;JU(z),WH(z,Z,X,D8,Y===null?m:function(){return KH(z),Y(G)})}function wH(z){var X=z.memoizedState;if(X!==null)return X;X={memoizedState:D8,baseState:D8,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:u2,lastRenderedState:D8},next:null};var Y={};return X.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:u2,lastRenderedState:Y},next:null},z.memoizedState=X,z=z.alternate,z!==null&&(z.memoizedState=X),X}function KH(z){v.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=wH(z);X.next===null&&(X=z.alternate.memoizedState),K5(z,X.next.queue,{},q2(z))}function rX(){var z=mX(!1);return z=WH.bind(null,J1,z.queue,!0,!1),d0().memoizedState=z,[!1,z]}function _H(){var z=r8(u2)[0],X=E1().memoizedState;return[typeof z==="boolean"?z:W5(z),X]}function LH(){var z=w5(u2)[0],X=E1().memoizedState;return[typeof z==="boolean"?z:W5(z),X]}function B8(){return z0(Pz)}function tX(){var z=d0(),X=a1.identifierPrefix;if(P1){var Y=u4,G=d4;Y=(G&~(1<<32-u0(G)-1)).toString(32)+Y,X="_"+X+"R_"+Y,Y=K7++,0<Y&&(X+="H"+Y.toString(32)),X+="_"}else Y=sw++,X="_"+X+"r_"+Y.toString(32)+"_";return z.memoizedState=X}function eX(){return d0().memoizedState=KU.bind(null,J1)}function KU(z,X){for(var Y=z.return;Y!==null;){switch(Y.tag){case 24:case 3:var G=q2(Y),Z=B3(G),$=R3(Y,Z,G);$!==null&&(G4(G,"refresh()",z),H0($,Y,G),R5($,Y,G)),z=MX(),X!==null&&X!==void 0&&$!==null&&console.error("The seed argument is not enabled outside experimental channels."),Z.payload={cache:z};return}Y=Y.return}}function _U(z,X,Y){var G=arguments;typeof G[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()."),G=q2(z);var Z={lane:G,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};K9(z)?MH(X,Z):(Z=JX(z,X,Z,G),Z!==null&&(G4(G,"dispatch()",z),H0(Z,z,G),AH(Z,X,G)))}function OH(z,X,Y){var G=arguments;typeof G[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()."),G=q2(z),K5(z,X,Y,G)&&G4(G,"setState()",z)}function K5(z,X,Y,G){var Z={lane:G,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(K9(z))MH(X,Z);else{var $=z.alternate;if(z.lanes===0&&($===null||$.lanes===0)&&($=X.lastRenderedReducer,$!==null)){var H=v.H;v.H=o2;try{var J=X.lastRenderedState,Q=$(J,Y);if(Z.hasEagerState=!0,Z.eagerState=Q,c0(Q,J))return dz(z,X,Z,0),a1===null&&hz(),!1}catch(B){}finally{v.H=H}}if(Y=JX(z,X,Z,G),Y!==null)return H0(Y,z,G),AH(Y,X,G),!0}return!1}function zY(z,X,Y,G){if(v.T===null&&M8===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."),G={lane:2,revertLane:kY(),gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null},K9(z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=JX(z,Y,G,2),X!==null&&(G4(2,"setOptimistic()",z),H0(X,z,2))}function K9(z){var X=z.alternate;return z===J1||X!==null&&X===J1}function MH(z,X){V6=w7=!0;var Y=z.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),z.pending=X}function AH(z,X,Y){if((Y&4194048)!==0){var G=X.lanes;G&=z.pendingLanes,Y|=G,X.lanes=Y,i3(z,Y)}}function XY(z){if(z!==null&&typeof z!=="function"){var X=String(z);LR.has(X)||(LR.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z))}}function YY(z,X,Y,G){var Z=z.memoizedState,$=Y(G,Z);if(z.mode&h0){s1(!0);try{$=Y(G,Z)}finally{s1(!1)}}$===void 0&&(X=p(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:F1({},Z,$),z.memoizedState=Z,z.lanes===0&&(z.updateQueue.baseState=Z)}function FH(z,X,Y,G,Z,$,H){var J=z.stateNode;if(typeof J.shouldComponentUpdate==="function"){if(Y=J.shouldComponentUpdate(G,$,H),z.mode&h0){s1(!0);try{Y=J.shouldComponentUpdate(G,$,H)}finally{s1(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",p(X)||"Component"),Y}return X.prototype&&X.prototype.isPureReactComponent?!G5(Y,G)||!G5(Z,$):!0}function NH(z,X,Y,G){var Z=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(Y,G),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(Y,G),X.state!==Z&&(z=d(z)||"Component",QR.has(z)||(QR.add(z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",z)),nG.enqueueReplaceState(X,X.state,null))}function R8(z,X){var Y=X;if("ref"in X){Y={};for(var G in X)G!=="ref"&&(Y[G]=X[G])}if(z=z.defaultProps){Y===X&&(Y=F1({},Y));for(var Z in z)Y[Z]===void 0&&(Y[Z]=z[Z])}return Y}function IH(z){CG(z),console.warn(`%s
116
-
117
- %s
118
- `,D6?"An error occurred in the <"+D6+"> 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 PH(z){var X=D6?"The above error occurred in the <"+D6+"> component.":"The above error occurred in one of your React components.",Y="React will try to recreate this component tree from scratch using the error boundary you provided, "+((rG||"Anonymous")+".");if(typeof z==="object"&&z!==null&&typeof z.environmentName==="string"){var G=z.environmentName;z=[`%o
120
-
121
- %s
122
-
123
- %s
124
- `,z,X,Y].slice(0),typeof z[0]==="string"?z.splice(0,1,eR+" "+z[0],zq,h7+G+h7,Xq):z.splice(0,0,eR,zq,h7+G+h7,Xq),z.unshift(console),G=wK.apply(console.error,z),G()}else console.error(`%o
125
-
126
- %s
127
-
128
- %s
129
- `,z,X,Y)}function TH(z){CG(z)}function _9(z,X){try{D6=X.source?d(X.source):null,rG=null;var Y=X.value;if(v.actQueue!==null)v.thrownErrors.push(Y);else{var G=z.onUncaughtError;G(Y,{componentStack:X.stack})}}catch(Z){setTimeout(function(){throw Z})}}function vH(z,X,Y){try{D6=Y.source?d(Y.source):null,rG=d(X);var G=z.onCaughtError;G(Y.value,{componentStack:Y.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function GY(z,X,Y){return Y=B3(Y),Y.tag=pG,Y.payload={element:null},Y.callback=function(){s(X.source,_9,z,X)},Y}function ZY(z){return z=B3(z),z.tag=pG,z}function $Y(z,X,Y,G){var Z=Y.type.getDerivedStateFromError;if(typeof Z==="function"){var $=G.value;z.payload=function(){return Z($)},z.callback=function(){M$(Y),s(G.source,vH,X,Y,G)}}var H=Y.stateNode;H!==null&&typeof H.componentDidCatch==="function"&&(z.callback=function(){M$(Y),s(G.source,vH,X,Y,G),typeof Z!=="function"&&(f3===null?f3=new Set([this]):f3.add(this)),lw(this,G),typeof Z==="function"||(Y.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.",d(Y)||"Unknown")})}function LU(z,X,Y,G,Z){if(Y.flags|=32768,A4&&I5(z,Z),G!==null&&typeof G==="object"&&typeof G.then==="function"){if(X=Y.alternate,X!==null&&i8(X,Y,Z,!0),P1&&(I4=!0),Y=L2.current,Y!==null){switch(Y.tag){case 31:case 13:return D2===null?T9():Y.alternate===null&&Z0===r4&&(Z0=O7),Y.flags&=-257,Y.flags|=65536,Y.lanes=Z,G===q7?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([G]):X.add(G),vY(z,G,Z)),!1;case 22:return Y.flags|=65536,G===q7?Y.flags|=16384:(X=Y.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([G])},Y.updateQueue=X):(Y=X.retryQueue,Y===null?X.retryQueue=new Set([G]):Y.add(G)),vY(z,G,Z)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return vY(z,G,Z),T9(),!1}if(P1)return I4=!0,X=L2.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=Z,G!==jG&&$5(J2(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:G}),Y))):(G!==jG&&$5(J2(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:G}),Y)),z=z.current.alternate,z.flags|=65536,Z&=-Z,z.lanes|=Z,G=J2(G,Y),Z=GY(z.stateNode,G,Z),Y9(z,Z),Z0!==b3&&(Z0=T8)),!1;var $=J2(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:G}),Y);if(Kz===null?Kz=[$]:Kz.push($),Z0!==b3&&(Z0=T8),X===null)return!0;G=J2(G,Y),Y=X;do{switch(Y.tag){case 3:return Y.flags|=65536,z=Z&-Z,Y.lanes|=z,z=GY(Y.stateNode,G,z),Y9(Y,z),!1;case 1:if(X=Y.type,$=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||$!==null&&typeof $.componentDidCatch==="function"&&(f3===null||!f3.has($))))return Y.flags|=65536,Z&=-Z,Y.lanes|=Z,Z=ZY(Z),$Y(Z,z,Y,G),Y9(Y,Z),!1}Y=Y.return}while(Y!==null);return!1}function b0(z,X,Y,G){X.child=z===null?rB(X,null,Y,G):I8(X,z.child,Y,G)}function CH(z,X,Y,G,Z){Y=Y.render;var $=X.ref;if("ref"in G){var H={};for(var J in G)J!=="ref"&&(H[J]=G[J])}else H=G;if($8(X),G=kX(z,X,Y,H,$,Z),J=bX(),z!==null&&!L0)return jX(z,X,Z),D4(z,X,Z);return P1&&J&&WX(X),X.flags|=1,b0(z,X,G,Z),X.child}function xH(z,X,Y,G,Z){if(z===null){var $=Y.type;if(typeof $==="function"&&!BX($)&&$.defaultProps===void 0&&Y.compare===null)return Y=X8($),X.tag=15,X.type=Y,JY(X,$),SH(z,X,Y,G,Z);return z=RX(Y.type,null,G,X,X.mode,Z),z.ref=X.ref,z.return=X,X.child=z}if($=z.child,!WY(z,Z)){var H=$.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:G5,Y(H,G)&&z.ref===X.ref)return D4(z,X,Z)}return X.flags|=1,z=g4($,G),z.ref=X.ref,z.return=X,X.child=z}function SH(z,X,Y,G,Z){if(z!==null){var $=z.memoizedProps;if(G5($,G)&&z.ref===X.ref&&X.type===z.type)if(L0=!1,X.pendingProps=G=$,WY(z,Z))(z.flags&131072)!==0&&(L0=!0);else return X.lanes=z.lanes,D4(z,X,Z)}return HY(z,X,Y,G,Z)}function kH(z,X,Y,G){var Z=G.children,$=z!==null?z.memoizedState:null;if(z===null&&X.stateNode===null&&(X.stateNode={_visibility:p5,_pendingMarkers:null,_retryCache:null,_transitions:null}),G.mode==="hidden"){if((X.flags&128)!==0){if($=$!==null?$.baseLanes|Y:Y,z!==null){G=X.child=z.child;for(Z=0;G!==null;)Z=Z|G.lanes|G.childLanes,G=G.sibling;G=Z&~$}else G=0,X.child=null;return gH(z,X,$,Y,G)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},z!==null&&nz(X,$!==null?$.cachePool:null),$!==null?a$(X,$):vX(X),s$(X);else return G=X.lanes=536870912,gH(z,X,$!==null?$.baseLanes|Y:Y,Y,G)}else $!==null?(nz(X,$.cachePool),a$(X,$),U3(X),X.memoizedState=null):(z!==null&&nz(X,null),vX(X),U3(X));return b0(z,X,Z,Y),X.child}function _5(z,X){return z!==null&&z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:p5,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function gH(z,X,Y,G,Z){var $=NX();return $=$===null?null:{parent:w0._currentValue,pool:$},X.memoizedState={baseLanes:Y,cachePool:$},z!==null&&nz(X,null),vX(X),s$(X),z!==null&&i8(z,X,G,!0),X.childLanes=Z,null}function L9(z,X){var Y=X.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
- - <Activity %s>
131
- + <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),X=M9({mode:X.mode,children:X.children},z.mode),X.ref=z.ref,z.child=X,X.return=z,X}function bH(z,X,Y){return I8(X,z.child,null,Y),z=L9(X,X.pendingProps),z.flags|=2,R2(X),X.memoizedState=null,z}function OU(z,X,Y){var G=X.pendingProps,Z=(X.flags&128)!==0;if(X.flags&=-129,z===null){if(P1){if(G.mode==="hidden")return z=L9(X,G),X.lanes=536870912,_5(null,z);if(xX(X),(z=r1)?(Y=GQ(z,j2),Y=Y!==null&&Y.data===g8?Y:null,Y!==null&&(G={dehydrated:Y,treeContext:P$(),retryLane:536870912,hydrationErrors:null},X.memoizedState=G,G=N$(Y),G.return=X,X.child=G,D0=X,r1=null)):Y=null,Y===null)throw pz(X,z),H3(X);return X.lanes=536870912,null}return L9(X,G)}var $=z.memoizedState;if($!==null){var H=$.dehydrated;if(xX(X),Z)if(X.flags&256)X.flags&=-257,X=bH(z,X,Y);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$(),(Y&536870912)!==0&&P9(X),L0||i8(z,X,Y,!1),Z=(Y&z.childLanes)!==0,L0||Z){if(G=a1,G!==null&&(H=n3(G,Y),H!==0&&H!==$.retryLane))throw $.retryLane=H,m0(z,H),H0(G,z,H),tG;T9(),X=bH(z,X,Y)}else z=$.treeContext,r1=U2(H.nextSibling),D0=X,P1=!0,T3=null,I4=!1,_2=null,j2=!1,z!==null&&T$(X,z),X=L9(X,G),X.flags|=4096;return X}return $=z.child,G={mode:G.mode,children:G.children},(Y&536870912)!==0&&(Y&z.lanes)!==0&&P9(X),z=g4($,G),z.ref=X.ref,X.child=z,z.return=X,z}function O9(z,X){var Y=X.ref;if(Y===null)z!==null&&z.ref!==null&&(X.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(z===null||z.ref!==Y)X.flags|=4194816}}function HY(z,X,Y,G,Z){if(Y.prototype&&typeof Y.prototype.render==="function"){var $=p(Y)||"Unknown";OR[$]||(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.",$,$),OR[$]=!0)}if(X.mode&h0&&s2.recordLegacyContextWarning(X,null),z===null&&(JY(X,X.type),Y.contextTypes&&($=p(Y)||"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)",$)))),$8(X),Y=kX(z,X,Y,G,void 0,Z),G=bX(),z!==null&&!L0)return jX(z,X,Z),D4(z,X,Z);return P1&&G&&WX(X),X.flags|=1,b0(z,X,Y,Z),X.child}function jH(z,X,Y,G,Z,$){if($8(X),i4=-1,Qz=z!==null&&z.type!==X.type,X.updateQueue=null,Y=gX(X,G,Y,Z),o$(z,X),G=bX(),z!==null&&!L0)return jX(z,X,$),D4(z,X,$);return P1&&G&&WX(X),X.flags|=1,b0(z,X,Y,$),X.child}function VH(z,X,Y,G,Z){switch(E(X)){case!1:var $=X.stateNode,H=new X.type(X.memoizedProps,$.context).state;$.updater.enqueueSetState($,H,null);break;case!0:X.flags|=128,X.flags|=65536,$=Error("Simulated error coming from DevTools");var J=Z&-Z;if(X.lanes|=J,H=a1,H===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");J=ZY(J),$Y(J,H,X,J2($,X)),Y9(X,J)}if($8(X),X.stateNode===null){if(H=P3,$=Y.contextType,"contextType"in Y&&$!==null&&($===void 0||$.$$typeof!==L4)&&!_R.has(Y)&&(_R.add(Y),J=$===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===eY?" 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",p(Y)||"Component",J)),typeof $==="object"&&$!==null&&(H=z0($)),$=new Y(G,H),X.mode&h0){s1(!0);try{$=new Y(G,H)}finally{s1(!1)}}if(H=X.memoizedState=$.state!==null&&$.state!==void 0?$.state:null,$.updater=nG,X.stateNode=$,$._reactInternals=X,$._reactInternalInstance=JR,typeof Y.getDerivedStateFromProps==="function"&&H===null&&(H=p(Y)||"Component",BR.has(H)||(BR.add(H),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.",H,$.state===null?"null":"undefined",H))),typeof Y.getDerivedStateFromProps==="function"||typeof $.getSnapshotBeforeUpdate==="function"){var Q=J=H=null;if(typeof $.componentWillMount==="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0?H="componentWillMount":typeof $.UNSAFE_componentWillMount==="function"&&(H="UNSAFE_componentWillMount"),typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0?J="componentWillReceiveProps":typeof $.UNSAFE_componentWillReceiveProps==="function"&&(J="UNSAFE_componentWillReceiveProps"),typeof $.componentWillUpdate==="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof $.UNSAFE_componentWillUpdate==="function"&&(Q="UNSAFE_componentWillUpdate"),H!==null||J!==null||Q!==null){$=p(Y)||"Component";var B=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";qR.has($)||(qR.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`,$,B,H!==null?`
137
- `+H:"",J!==null?`
138
- `+J:"",Q!==null?`
139
- `+Q:""))}}$=X.stateNode,H=p(Y)||"Component",$.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",H):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",H)),!$.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?",H),$.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.",H),$.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",H),Y.childContextTypes&&!KR.has(Y)&&(KR.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",H)),Y.contextTypes&&!wR.has(Y)&&(wR.add(Y),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)",H)),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.",H),Y.prototype&&Y.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.",p(Y)||"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()?",H),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().",H),typeof $.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",H),typeof $.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",H),J=$.props!==G,$.props!==void 0&&J&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",H),$.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.",H,H),typeof $.getSnapshotBeforeUpdate!=="function"||typeof $.componentDidUpdate==="function"||RR.has(Y)||(RR.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",p(Y))),typeof $.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",H),typeof $.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",H),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",H),(J=$.state)&&(typeof J!=="object"||F0(J))&&console.error("%s.state: must be set to an object or null",H),typeof $.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",H),$=X.stateNode,$.props=G,$.state=X.memoizedState,$.refs={},PX(X),H=Y.contextType,$.context=typeof H==="object"&&H!==null?z0(H):P3,$.state===G&&(H=p(Y)||"Component",UR.has(H)||(UR.add(H),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.",H))),X.mode&h0&&s2.recordLegacyContextWarning(X,$),s2.recordUnsafeLifecycleWarnings(X,$),$.state=X.memoizedState,H=Y.getDerivedStateFromProps,typeof H==="function"&&(YY(X,Y,H,G),$.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof $.getSnapshotBeforeUpdate==="function"||typeof $.UNSAFE_componentWillMount!=="function"&&typeof $.componentWillMount!=="function"||(H=$.state,typeof $.componentWillMount==="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount==="function"&&$.UNSAFE_componentWillMount(),H!==$.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d(X)||"Component"),nG.enqueueReplaceState($,$.state,null)),U5(X,G,$,Z),q5(),$.state=X.memoizedState),typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&a2)!==H1&&(X.flags|=134217728),$=!0}else if(z===null){$=X.stateNode;var L=X.memoizedProps;J=R8(Y,L),$.props=J;var O=$.context;Q=Y.contextType,H=P3,typeof Q==="object"&&Q!==null&&(H=z0(Q)),B=Y.getDerivedStateFromProps,Q=typeof B==="function"||typeof $.getSnapshotBeforeUpdate==="function",L=X.pendingProps!==L,Q||typeof $.UNSAFE_componentWillReceiveProps!=="function"&&typeof $.componentWillReceiveProps!=="function"||(L||O!==H)&&NH(X,$,G,H),g3=!1;var w=X.memoizedState;$.state=w,U5(X,G,$,Z),q5(),O=X.memoizedState,L||w!==O||g3?(typeof B==="function"&&(YY(X,Y,B,G),O=X.memoizedState),(J=g3||FH(X,Y,J,G,w,O,H))?(Q||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&a2)!==H1&&(X.flags|=134217728)):(typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&a2)!==H1&&(X.flags|=134217728),X.memoizedProps=G,X.memoizedState=O),$.props=G,$.state=O,$.context=H,$=J):(typeof $.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&a2)!==H1&&(X.flags|=134217728),$=!1)}else{$=X.stateNode,TX(z,X),H=X.memoizedProps,Q=R8(Y,H),$.props=Q,B=X.pendingProps,w=$.context,O=Y.contextType,J=P3,typeof O==="object"&&O!==null&&(J=z0(O)),L=Y.getDerivedStateFromProps,(O=typeof L==="function"||typeof $.getSnapshotBeforeUpdate==="function")||typeof $.UNSAFE_componentWillReceiveProps!=="function"&&typeof $.componentWillReceiveProps!=="function"||(H!==B||w!==J)&&NH(X,$,G,J),g3=!1,w=X.memoizedState,$.state=w,U5(X,G,$,Z),q5();var P=X.memoizedState;H!==B||w!==P||g3||z!==null&&z.dependencies!==null&&az(z.dependencies)?(typeof L==="function"&&(YY(X,Y,L,G),P=X.memoizedState),(Q=g3||FH(X,Y,Q,G,w,P,J)||z!==null&&z.dependencies!==null&&az(z.dependencies))?(O||typeof $.UNSAFE_componentWillUpdate!=="function"&&typeof $.componentWillUpdate!=="function"||(typeof $.componentWillUpdate==="function"&&$.componentWillUpdate(G,P,J),typeof $.UNSAFE_componentWillUpdate==="function"&&$.UNSAFE_componentWillUpdate(G,P,J)),typeof $.componentDidUpdate==="function"&&(X.flags|=4),typeof $.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof $.componentDidUpdate!=="function"||H===z.memoizedProps&&w===z.memoizedState||(X.flags|=4),typeof $.getSnapshotBeforeUpdate!=="function"||H===z.memoizedProps&&w===z.memoizedState||(X.flags|=1024),X.memoizedProps=G,X.memoizedState=P),$.props=G,$.state=P,$.context=J,$=Q):(typeof $.componentDidUpdate!=="function"||H===z.memoizedProps&&w===z.memoizedState||(X.flags|=4),typeof $.getSnapshotBeforeUpdate!=="function"||H===z.memoizedProps&&w===z.memoizedState||(X.flags|=1024),$=!1)}if(J=$,O9(z,X),H=(X.flags&128)!==0,J||H){if(J=X.stateNode,d8(X),H&&typeof Y.getDerivedStateFromError!=="function")Y=null,a0=-1;else if(Y=yB(J),X.mode&h0){s1(!0);try{yB(J)}finally{s1(!1)}}X.flags|=1,z!==null&&H?(X.child=I8(X,z.child,null,Z),X.child=I8(X,null,Y,Z)):b0(z,X,Y,Z),X.memoizedState=J.state,z=X.child}else z=D4(z,X,Z);return Z=X.stateNode,$&&Z.props!==G&&(f6||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",d(X)||"a component"),f6=!0),z}function DH(z,X,Y,G){return Z8(),X.flags|=256,b0(z,X,Y,G),X.child}function JY(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=p(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=p(X)||"Unknown",MR[X]||(console.error("%s: Function components do not support contextType.",X),MR[X]=!0))}function QY(z){return{baseLanes:z,cachePool:j$()}}function BY(z,X,Y){return z=z!==null?z.childLanes&~Y:0,X&&(z|=Y2),z}function fH(z,X,Y){var G,Z=X.pendingProps;g(X)&&(X.flags|=128);var $=!1,H=(X.flags&128)!==0;if((G=H)||(G=z!==null&&z.memoizedState===null?!1:(U0.current&Hz)!==0),G&&($=!0,X.flags&=-129),G=(X.flags&32)!==0,X.flags&=-33,z===null){if(P1){if($?q3(X):U3(X),(z=r1)?(Y=GQ(z,j2),Y=Y!==null&&Y.data!==g8?Y:null,Y!==null&&(G={dehydrated:Y,treeContext:P$(),retryLane:536870912,hydrationErrors:null},X.memoizedState=G,G=N$(Y),G.return=X,X.child=G,D0=X,r1=null)):Y=null,Y===null)throw pz(X,z),H3(X);return uY(Y)?X.lanes=32:X.lanes=536870912,null}var J=Z.children;if(Z=Z.fallback,$){U3(X);var Q=X.mode;return J=M9({mode:"hidden",children:J},Q),Z=Y8(Z,Q,Y,null),J.return=X,Z.return=X,J.sibling=Z,X.child=J,Z=X.child,Z.memoizedState=QY(Y),Z.childLanes=BY(z,G,Y),X.memoizedState=eG,_5(null,Z)}return q3(X),RY(X,J)}var B=z.memoizedState;if(B!==null){var L=B.dehydrated;if(L!==null){if(H)X.flags&256?(q3(X),X.flags&=-257,X=qY(z,X,Y)):X.memoizedState!==null?(U3(X),X.child=z.child,X.flags|=128,X=null):(U3(X),J=Z.fallback,Q=X.mode,Z=M9({mode:"visible",children:Z.children},Q),J=Y8(J,Q,Y,null),J.flags|=2,Z.return=X,J.return=X,Z.sibling=J,X.child=Z,I8(X,z.child,null,Y),Z=X.child,Z.memoizedState=QY(Y),Z.childLanes=BY(z,G,Y),X.memoizedState=eG,X=_5(null,Z));else if(q3(X),v$(),(Y&536870912)!==0&&P9(X),uY(L)){if(G=L.nextSibling&&L.nextSibling.dataset,G){J=G.dgst;var O=G.msg;Q=G.stck;var w=G.cstck}$=O,G=J,Z=Q,L=w,J=$,Q=L,J=J?Error(J):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),J.stack=Z||"",J.digest=G,G=Q===void 0?null:Q,Z={value:J,source:null,stack:G},typeof G==="string"&&bG.set(J,Z),$5(Z),X=qY(z,X,Y)}else if(L0||i8(z,X,Y,!1),G=(Y&z.childLanes)!==0,L0||G){if(G=a1,G!==null&&(Z=n3(G,Y),Z!==0&&Z!==B.retryLane))throw B.retryLane=Z,m0(z,Z),H0(G,z,Z),tG;dY(L)||T9(),X=qY(z,X,Y)}else dY(L)?(X.flags|=192,X.child=z.child,X=null):(z=B.treeContext,r1=U2(L.nextSibling),D0=X,P1=!0,T3=null,I4=!1,_2=null,j2=!1,z!==null&&T$(X,z),X=RY(X,Z.children),X.flags|=4096);return X}}if($)return U3(X),J=Z.fallback,Q=X.mode,w=z.child,L=w.sibling,Z=g4(w,{mode:"hidden",children:Z.children}),Z.subtreeFlags=w.subtreeFlags&65011712,L!==null?J=g4(L,J):(J=Y8(J,Q,Y,null),J.flags|=2),J.return=X,Z.return=X,Z.sibling=J,X.child=Z,_5(null,Z),Z=X.child,J=z.child.memoizedState,J===null?J=QY(Y):(Q=J.cachePool,Q!==null?(w=w0._currentValue,Q=Q.parent!==w?{parent:w,pool:w}:Q):Q=j$(),J={baseLanes:J.baseLanes|Y,cachePool:Q}),Z.memoizedState=J,Z.childLanes=BY(z,G,Y),X.memoizedState=eG,_5(z.child,Z);return B!==null&&(Y&62914560)===Y&&(Y&z.lanes)!==0&&P9(X),q3(X),Y=z.child,z=Y.sibling,Y=g4(Y,{mode:"visible",children:Z.children}),Y.return=X,Y.sibling=null,z!==null&&(G=X.deletions,G===null?(X.deletions=[z],X.flags|=16):G.push(z)),X.child=Y,X.memoizedState=null,Y}function RY(z,X){return X=M9({mode:"visible",children:X},z.mode),X.return=z,z.child=X}function M9(z,X){return z=S(22,z,null,X),z.lanes=0,z}function qY(z,X,Y){return I8(X,z.child,null,Y),z=RY(X,X.pendingProps.children),z.flags|=2,X.memoizedState=null,z}function yH(z,X,Y){z.lanes|=X;var G=z.alternate;G!==null&&(G.lanes|=X),LX(z.return,X,Y)}function UY(z,X,Y,G,Z,$){var H=z.memoizedState;H===null?z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:G,tail:Y,tailMode:Z,treeForkCount:$}:(H.isBackwards=X,H.rendering=null,H.renderingStartTime=0,H.last=G,H.tail=Y,H.tailMode=Z,H.treeForkCount=$)}function mH(z,X,Y){var G=X.pendingProps,Z=G.revealOrder,$=G.tail,H=G.children,J=U0.current;if((G=(J&Hz)!==0)?(J=J&b6|Hz,X.flags|=128):J&=b6,W1(U0,J,X),J=Z==null?"null":Z,Z!=="forwards"&&Z!=="unstable_legacy-backwards"&&Z!=="together"&&Z!=="independent"&&!NR[J])if(NR[J]=!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(J=$==null?"null":$,!L7[J])if($==null){if(Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")L7[J]=!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"?(L7[J]=!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"&&(L7[J]=!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")&&H!==void 0&&H!==null&&H!==!1)if(F0(H)){for(J=0;J<H.length;J++)if(!l$(H[J],J))break z}else if(J=Q0(H),typeof J==="function"){if(J=J.call(H))for(var Q=J.next(),B=0;!Q.done;Q=J.next()){if(!l$(Q.value,B))break z;B++}}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(b0(z,X,H,Y),P1?($3(),H=c5):H=0,!G&&z!==null&&(z.flags&128)!==0)z:for(z=X.child;z!==null;){if(z.tag===13)z.memoizedState!==null&&yH(z,Y,X);else if(z.tag===19)yH(z,Y,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":Y=X.child;for(Z=null;Y!==null;)z=Y.alternate,z!==null&&G9(z)===null&&(Z=Y),Y=Y.sibling;Y=Z,Y===null?(Z=X.child,X.child=null):(Z=Y.sibling,Y.sibling=null),UY(X,!1,Z,Y,$,H);break;case"backwards":case"unstable_legacy-backwards":Y=null,Z=X.child;for(X.child=null;Z!==null;){if(z=Z.alternate,z!==null&&G9(z)===null){X.child=Z;break}z=Z.sibling,Z.sibling=Y,Y=Z,Z=z}UY(X,!0,Y,null,$,H);break;case"together":UY(X,!1,null,null,void 0,H);break;default:X.memoizedState=null}return X.child}function D4(z,X,Y){if(z!==null&&(X.dependencies=z.dependencies),a0=-1,V3|=X.lanes,(Y&X.childLanes)===0)if(z!==null){if(i8(z,X,Y,!1),(Y&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,Y=g4(z,z.pendingProps),X.child=Y;for(Y.return=X;z.sibling!==null;)z=z.sibling,Y=Y.sibling=g4(z,z.pendingProps),Y.return=X;Y.sibling=null}return X.child}function WY(z,X){if((z.lanes&X)!==0)return!0;return z=z.dependencies,z!==null&&az(z)?!0:!1}function MU(z,X,Y){switch(X.tag){case 3:c(X,X.stateNode.containerInfo),J3(X,w0,z.memoizedState.cache),Z8();break;case 27:case 5:D1(X);break;case 4:c(X,X.stateNode.containerInfo);break;case 10:J3(X,X.type,X.memoizedProps.value);break;case 12:(Y&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var G=X.stateNode;G.effectDuration=-0,G.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,xX(X),null;break;case 13:if(G=X.memoizedState,G!==null){if(G.dehydrated!==null)return q3(X),X.flags|=128,null;if((Y&X.child.childLanes)!==0)return fH(z,X,Y);return q3(X),z=D4(z,X,Y),z!==null?z.sibling:null}q3(X);break;case 19:var Z=(z.flags&128)!==0;if(G=(Y&X.childLanes)!==0,G||(i8(z,X,Y,!1),G=(Y&X.childLanes)!==0),Z){if(G)return mH(z,X,Y);X.flags|=128}if(Z=X.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),W1(U0,U0.current,X),G)break;else return null;case 22:return X.lanes=0,kH(z,X,Y,X.pendingProps);case 24:J3(X,w0,z.memoizedState.cache)}return D4(z,X,Y)}function wY(z,X,Y){if(X._debugNeedsRemount&&z!==null){Y=RX(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),Y._debugStack=X._debugStack,Y._debugTask=X._debugTask;var G=X.return;if(G===null)throw Error("Cannot swap the root fiber.");if(z.alternate=null,X.alternate=null,Y.index=X.index,Y.sibling=X.sibling,Y.return=X.return,Y.ref=X.ref,Y._debugInfo=X._debugInfo,X===G.child)G.child=Y;else{var Z=G.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=Y}return X=G.deletions,X===null?(G.deletions=[z],G.flags|=16):X.push(z),Y.flags|=2,Y}if(z!==null)if(z.memoizedProps!==X.pendingProps||X.type!==z.type)L0=!0;else{if(!WY(z,Y)&&(X.flags&128)===0)return L0=!1,MU(z,X,Y);L0=(z.flags&131072)!==0?!0:!1}else{if(L0=!1,G=P1)$3(),G=(X.flags&1048576)!==0;G&&(G=X.index,$3(),I$(X,c5,G))}switch(X.lanes=0,X.tag){case 16:z:if(G=X.pendingProps,z=Q3(X.elementType),X.type=z,typeof z==="function")BX(z)?(G=R8(z,G),X.tag=1,X.type=z=X8(z),X=VH(null,X,z,G,Y)):(X.tag=0,JY(X,z),X.type=z=X8(z),X=HY(null,X,z,G,Y));else{if(z!==void 0&&z!==null){if(Z=z.$$typeof,Z===b5){X.tag=11,X.type=z=QX(z),X=CH(null,X,z,G,Y);break z}else if(Z===E9){X.tag=14,X=xH(null,X,z,G,Y);break z}}throw X="",z!==null&&typeof z==="object"&&z.$$typeof===W2&&(X=" Did you wrap a component in React.lazy() more than once?"),Y=p(z)||z,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+X)}return X;case 0:return HY(z,X,X.type,X.pendingProps,Y);case 1:return G=X.type,Z=R8(G,X.pendingProps),VH(z,X,G,Z,Y);case 3:z:{if(c(X,X.stateNode.containerInfo),z===null)throw Error("Should have a current fiber. This is a bug in React.");G=X.pendingProps;var $=X.memoizedState;Z=$.element,TX(z,X),U5(X,G,null,Y);var H=X.memoizedState;if(G=H.cache,J3(X,w0,G),G!==$.cache&&OX(X,[w0],Y,!0),q5(),G=H.element,$.isDehydrated)if($={element:G,isDehydrated:!1,cache:H.cache},X.updateQueue.baseState=$,X.memoizedState=$,X.flags&256){X=DH(z,X,G,Y);break z}else if(G!==Z){Z=J2(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),$5(Z),X=DH(z,X,G,Y);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}r1=U2(z.firstChild),D0=X,P1=!0,T3=null,I4=!1,_2=null,j2=!0,Y=rB(X,null,G,Y);for(X.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(Z8(),G===Z){X=D4(z,X,Y);break z}b0(z,X,G,Y)}X=X.child}return X;case 26:return O9(z,X),z===null?(Y=BQ(X.type,null,X.pendingProps,null))?X.memoizedState=Y:P1||(Y=X.type,z=X.pendingProps,G=k0(O3.current),G=S9(G).createElement(Y),G[V0]=X,G[l0]=z,j0(G,Y,z),X1(G),X.stateNode=G):X.memoizedState=BQ(X.type,z.memoizedProps,X.pendingProps,z.memoizedState),null;case 27:return D1(X),z===null&&P1&&(G=k0(O3.current),Z=G1(),G=X.stateNode=JQ(X.type,X.pendingProps,G,Z,!1),I4||(Z=iJ(G,X.type,X.pendingProps,Z),Z!==null&&(G8(X,0).serverProps=Z)),D0=X,j2=!0,Z=r1,_3(X.type)?(NZ=Z,r1=U2(G.firstChild)):r1=Z),b0(z,X,X.pendingProps.children,Y),O9(z,X),z===null&&(X.flags|=4194304),X.child;case 5:return z===null&&P1&&($=G1(),G=zX(X.type,$.ancestorInfo),Z=r1,(H=!Z)||(H=JW(Z,X.type,X.pendingProps,j2),H!==null?(X.stateNode=H,I4||($=iJ(H,X.type,X.pendingProps,$),$!==null&&(G8(X,0).serverProps=$)),D0=X,r1=U2(H.firstChild),j2=!1,$=!0):$=!1,H=!$),H&&(G&&pz(X,Z),H3(X))),D1(X),Z=X.type,$=X.pendingProps,H=z!==null?z.memoizedProps:null,G=$.children,EY(Z,$)?G=null:H!==null&&EY(Z,H)&&(X.flags|=32),X.memoizedState!==null&&(Z=kX(z,X,qU,null,null,Y),Pz._currentValue=Z),O9(z,X),b0(z,X,G,Y),X.child;case 6:return z===null&&P1&&(Y=X.pendingProps,z=G1(),G=z.ancestorInfo.current,Y=G!=null?Vz(Y,G.tag,z.ancestorInfo.implicitRootScope):!0,z=r1,(G=!z)||(G=QW(z,X.pendingProps,j2),G!==null?(X.stateNode=G,D0=X,r1=null,G=!0):G=!1,G=!G),G&&(Y&&pz(X,z),H3(X))),null;case 13:return fH(z,X,Y);case 4:return c(X,X.stateNode.containerInfo),G=X.pendingProps,z===null?X.child=I8(X,null,G,Y):b0(z,X,G,Y),X.child;case 11:return CH(z,X,X.type,X.pendingProps,Y);case 7:return b0(z,X,X.pendingProps,Y),X.child;case 8:return b0(z,X,X.pendingProps.children,Y),X.child;case 12:return X.flags|=4,X.flags|=2048,G=X.stateNode,G.effectDuration=-0,G.passiveEffectDuration=-0,b0(z,X,X.pendingProps.children,Y),X.child;case 10:return G=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?")),J3(X,G,$),b0(z,X,Z.children,Y),X.child;case 9:return Z=X.type._context,G=X.pendingProps.children,typeof G!=="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."),$8(X),Z=z0(Z),G=hG(G,Z,void 0),X.flags|=1,b0(z,X,G,Y),X.child;case 14:return xH(z,X,X.type,X.pendingProps,Y);case 15:return SH(z,X,X.type,X.pendingProps,Y);case 19:return mH(z,X,Y);case 31:return OU(z,X,Y);case 22:return kH(z,X,Y,X.pendingProps);case 24:return $8(X),G=z0(w0),z===null?(Z=NX(),Z===null&&(Z=a1,$=MX(),Z.pooledCache=$,H8($),$!==null&&(Z.pooledCacheLanes|=Y),Z=$),X.memoizedState={parent:G,cache:Z},PX(X),J3(X,w0,Z)):((z.lanes&Y)!==0&&(TX(z,X),U5(X,null,null,Y),q5()),Z=z.memoizedState,$=X.memoizedState,Z.parent!==G?(Z={parent:G,cache:G},X.memoizedState=Z,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=Z),J3(X,w0,G)):(G=$.cache,J3(X,w0,G),G!==Z.cache&&OX(X,[w0],Y,!0))),b0(z,X,X.pendingProps.children,Y),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 f4(z){z.flags|=4}function KY(z,X,Y,G,Z){if(X=(z.mode&Ew)!==H1)X=!1;if(X){if(z.flags|=16777216,(Z&335544128)===Z)if(z.stateNode.complete)z.flags|=8192;else if(LJ())z.flags|=8192;else throw N8=q7,uG}else z.flags&=-16777217}function EH(z,X){if(X.type!=="stylesheet"||(X.state.loading&m2)!==V8)z.flags&=-16777217;else if(z.flags|=16777216,!wQ(X))if(LJ())z.flags|=8192;else throw N8=q7,uG}function A9(z,X){X!==null&&(z.flags|=4),z.flags&16384&&(X=z.tag!==22?l8():536870912,z.lanes|=X,x8|=X)}function L5(z,X){if(!P1)switch(z.tailMode){case"hidden":X=z.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?z.tail=null:Y.sibling=null;break;case"collapsed":Y=z.tail;for(var G=null;Y!==null;)Y.alternate!==null&&(G=Y),Y=Y.sibling;G===null?X||z.tail===null?z.tail=null:z.tail.sibling=null:G.sibling=null}}function o1(z){var X=z.alternate!==null&&z.alternate.child===z.child,Y=0,G=0;if(X)if((z.mode&_1)!==H1){for(var{selfBaseDuration:Z,child:$}=z;$!==null;)Y|=$.lanes|$.childLanes,G|=$.subtreeFlags&65011712,G|=$.flags&65011712,Z+=$.treeBaseDuration,$=$.sibling;z.treeBaseDuration=Z}else for(Z=z.child;Z!==null;)Y|=Z.lanes|Z.childLanes,G|=Z.subtreeFlags&65011712,G|=Z.flags&65011712,Z.return=z,Z=Z.sibling;else if((z.mode&_1)!==H1){Z=z.actualDuration,$=z.selfBaseDuration;for(var H=z.child;H!==null;)Y|=H.lanes|H.childLanes,G|=H.subtreeFlags,G|=H.flags,Z+=H.actualDuration,$+=H.treeBaseDuration,H=H.sibling;z.actualDuration=Z,z.treeBaseDuration=$}else for(Z=z.child;Z!==null;)Y|=Z.lanes|Z.childLanes,G|=Z.subtreeFlags,G|=Z.flags,Z.return=z,Z=Z.sibling;return z.subtreeFlags|=G,z.childLanes=Y,X}function AU(z,X,Y){var G=X.pendingProps;switch(wX(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return o1(X),null;case 1:return o1(X),null;case 3:if(Y=X.stateNode,G=null,z!==null&&(G=z.memoizedState.cache),X.memoizedState.cache!==G&&(X.flags|=2048),j4(w0,X),$1(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),z===null||z.child===null)o8(X)?(_X(),f4(X)):z===null||z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,KX());return o1(X),null;case 26:var{type:Z,memoizedState:$}=X;return z===null?(f4(X),$!==null?(o1(X),EH(X,$)):(o1(X),KY(X,Z,null,G,Y))):$?$!==z.memoizedState?(f4(X),o1(X),EH(X,$)):(o1(X),X.flags&=-16777217):(z=z.memoizedProps,z!==G&&f4(X),o1(X),KY(X,Z,z,G,Y)),null;case 27:if(f1(X),Y=k0(O3.current),Z=X.type,z!==null&&X.stateNode!=null)z.memoizedProps!==G&&f4(X);else{if(!G){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 o1(X),null}z=G1(),o8(X)?C$(X,z):(z=JQ(Z,G,Y,z,!0),X.stateNode=z,f4(X))}return o1(X),null;case 5:if(f1(X),Z=X.type,z!==null&&X.stateNode!=null)z.memoizedProps!==G&&f4(X);else{if(!G){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 o1(X),null}var H=G1();if(o8(X))C$(X,H);else{switch($=k0(O3.current),zX(Z,H.ancestorInfo),H=H.context,$=S9($),H){case p6:$=$.createElementNS(w6,Z);break;case y7:$=$.createElementNS(a9,Z);break;default:switch(Z){case"svg":$=$.createElementNS(w6,Z);break;case"math":$=$.createElementNS(a9,Z);break;case"script":$=$.createElement("div"),$.innerHTML="<script></script>",$=$.removeChild($.firstChild);break;case"select":$=typeof G.is==="string"?$.createElement("select",{is:G.is}):$.createElement("select"),G.multiple?$.multiple=!0:G.size&&($.size=G.size);break;default:$=typeof G.is==="string"?$.createElement(Z,{is:G.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]"||p2.call(sR,Z)||(sR[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)))}}$[V0]=X,$[l0]=G;z:for(H=X.child;H!==null;){if(H.tag===5||H.tag===6)$.appendChild(H.stateNode);else if(H.tag!==4&&H.tag!==27&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===X)break z;for(;H.sibling===null;){if(H.return===null||H.return===X)break z;H=H.return}H.sibling.return=H.return,H=H.sibling}X.stateNode=$;z:switch(j0($,Z,G),Z){case"button":case"input":case"select":case"textarea":G=!!G.autoFocus;break z;case"img":G=!0;break z;default:G=!1}G&&f4(X)}}return o1(X),KY(X,X.type,z===null?null:z.memoizedProps,X.pendingProps,Y),null;case 6:if(z&&X.stateNode!=null)z.memoizedProps!==G&&f4(X);else{if(typeof G!=="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=k0(O3.current),Y=G1(),o8(X)){if(z=X.stateNode,Y=X.memoizedProps,Z=!I4,G=null,$=D0,$!==null)switch($.tag){case 3:Z&&(Z=$Q(z,Y,G),Z!==null&&(G8(X,0).serverProps=Z));break;case 27:case 5:G=$.memoizedProps,Z&&(Z=$Q(z,Y,G),Z!==null&&(G8(X,0).serverProps=Z))}z[V0]=X,z=z.nodeValue===Y||G!==null&&G.suppressHydrationWarning===!0||pJ(z.nodeValue,Y)?!0:!1,z||H3(X,!0)}else Z=Y.ancestorInfo.current,Z!=null&&Vz(G,Z.tag,Y.ancestorInfo.implicitRootScope),z=S9(z).createTextNode(G),z[V0]=X,X.stateNode=z}return o1(X),null;case 31:if(Y=X.memoizedState,z===null||z.memoizedState!==null){if(G=o8(X),Y!==null){if(z===null){if(!G)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[V0]=X,o1(X),(X.mode&_1)!==H1&&Y!==null&&(z=X.child,z!==null&&(X.treeBaseDuration-=z.treeBaseDuration))}else _X(),Z8(),(X.flags&128)===0&&(Y=X.memoizedState=null),X.flags|=4,o1(X),(X.mode&_1)!==H1&&Y!==null&&(z=X.child,z!==null&&(X.treeBaseDuration-=z.treeBaseDuration));z=!1}else Y=KX(),z!==null&&z.memoizedState!==null&&(z.memoizedState.hydrationErrors=Y),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 o1(X),null;case 13:if(G=X.memoizedState,z===null||z.memoizedState!==null&&z.memoizedState.dehydrated!==null){if(Z=G,$=o8(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.");$[V0]=X,o1(X),(X.mode&_1)!==H1&&Z!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else _X(),Z8(),(X.flags&128)===0&&(Z=X.memoizedState=null),X.flags|=4,o1(X),(X.mode&_1)!==H1&&Z!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Z=KX(),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=Y,(X.mode&_1)!==H1&&Q5(X),X;return Y=G!==null,z=z!==null&&z.memoizedState!==null,Y&&(G=X.child,Z=null,G.alternate!==null&&G.alternate.memoizedState!==null&&G.alternate.memoizedState.cachePool!==null&&(Z=G.alternate.memoizedState.cachePool.pool),$=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&($=G.memoizedState.cachePool.pool),$!==Z&&(G.flags|=2048)),Y!==z&&Y&&(X.child.flags|=8192),A9(X,X.updateQueue),o1(X),(X.mode&_1)!==H1&&Y&&(z=X.child,z!==null&&(X.treeBaseDuration-=z.treeBaseDuration)),null;case 4:return $1(X),z===null&&bY(X.stateNode.containerInfo),o1(X),null;case 10:return j4(X.type,X),o1(X),null;case 19:if(C1(U0,X),G=X.memoizedState,G===null)return o1(X),null;if(Z=(X.flags&128)!==0,$=G.rendering,$===null)if(Z)L5(G,!1);else{if(Z0!==r4||z!==null&&(z.flags&128)!==0)for(z=X.child;z!==null;){if($=G9(z),$!==null){X.flags|=128,L5(G,!1),z=$.updateQueue,X.updateQueue=z,A9(X,z),X.subtreeFlags=0,z=Y;for(Y=X.child;Y!==null;)F$(Y,z),Y=Y.sibling;return W1(U0,U0.current&b6|Hz,X),P1&&b4(X,G.treeForkCount),X.child}z=z.sibling}G.tail!==null&&v0()>P7&&(X.flags|=128,Z=!0,L5(G,!1),X.lanes=4194304)}else{if(!Z)if(z=G9($),z!==null){if(X.flags|=128,Z=!0,z=z.updateQueue,X.updateQueue=z,A9(X,z),L5(G,!0),G.tail===null&&G.tailMode==="hidden"&&!$.alternate&&!P1)return o1(X),null}else 2*v0()-G.renderingStartTime>P7&&Y!==536870912&&(X.flags|=128,Z=!0,L5(G,!1),X.lanes=4194304);G.isBackwards?($.sibling=X.child,X.child=$):(z=G.last,z!==null?z.sibling=$:X.child=$,G.last=$)}if(G.tail!==null)return z=G.tail,G.rendering=z,G.tail=z.sibling,G.renderingStartTime=v0(),z.sibling=null,Y=U0.current,Y=Z?Y&b6|Hz:Y&b6,W1(U0,Y,X),P1&&b4(X,G.treeForkCount),z;return o1(X),null;case 22:case 23:return R2(X),CX(X),G=X.memoizedState!==null,z!==null?z.memoizedState!==null!==G&&(X.flags|=8192):G&&(X.flags|=8192),G?(Y&536870912)!==0&&(X.flags&128)===0&&(o1(X),X.subtreeFlags&6&&(X.flags|=8192)):o1(X),Y=X.updateQueue,Y!==null&&A9(X,Y.retryQueue),Y=null,z!==null&&z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(Y=z.memoizedState.cachePool.pool),G=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(G=X.memoizedState.cachePool.pool),G!==Y&&(X.flags|=2048),z!==null&&C1(A8,X),null;case 24:return Y=null,z!==null&&(Y=z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),j4(w0,X),o1(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 FU(z,X){switch(wX(X),X.tag){case 1:return z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&_1)!==H1&&Q5(X),X):null;case 3:return j4(w0,X),$1(X),z=X.flags,(z&65536)!==0&&(z&128)===0?(X.flags=z&-65537|128,X):null;case 26:case 27:case 5:return f1(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.");Z8()}return z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&_1)!==H1&&Q5(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.");Z8()}return z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&_1)!==H1&&Q5(X),X):null;case 19:return C1(U0,X),null;case 4:return $1(X),null;case 10:return j4(X.type,X),null;case 22:case 23:return R2(X),CX(X),z!==null&&C1(A8,X),z=X.flags,z&65536?(X.flags=z&-65537|128,(X.mode&_1)!==H1&&Q5(X),X):null;case 24:return j4(w0,X),null;case 25:return null;default:return null}}function hH(z,X){switch(wX(X),X.tag){case 3:j4(w0,X),$1(X);break;case 26:case 27:case 5:f1(X);break;case 4:$1(X);break;case 31:X.memoizedState!==null&&R2(X);break;case 13:R2(X);break;case 19:C1(U0,X);break;case 10:j4(X.type,X);break;case 22:case 23:R2(X),CX(X),z!==null&&C1(A8,X);break;case 24:j4(w0,X)}}function R4(z){return(z.mode&_1)!==H1}function dH(z,X){R4(z)?(B4(),O5(X,z),Q4()):O5(X,z)}function _Y(z,X,Y){R4(z)?(B4(),z6(Y,z,X),Q4()):z6(Y,z,X)}function O5(z,X){try{var Y=X.updateQueue,G=Y!==null?Y.lastEffect:null;if(G!==null){var Z=G.next;Y=Z;do{if((Y.tag&z)===z&&(G=void 0,(z&s0)!==W7&&(d6=!0),G=s(X,pw,Y),(z&s0)!==W7&&(d6=!1),G!==void 0&&typeof G!=="function")){var $=void 0;$=(Y.tag&O2)!==0?"useLayoutEffect":(Y.tag&s0)!==0?"useInsertionEffect":"useEffect";var H=void 0;H=G===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof G.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: "+G,s(X,function(J,Q){console.error("%s must not return anything besides a function, which is used for clean-up.%s",J,Q)},$,H)}Y=Y.next}while(Y!==Z)}}catch(J){j1(X,X.return,J)}}function z6(z,X,Y){try{var G=X.updateQueue,Z=G!==null?G.lastEffect:null;if(Z!==null){var $=Z.next;G=$;do{if((G.tag&z)===z){var H=G.inst,J=H.destroy;J!==void 0&&(H.destroy=void 0,(z&s0)!==W7&&(d6=!0),Z=X,s(Z,cw,Z,Y,J),(z&s0)!==W7&&(d6=!1))}G=G.next}while(G!==$)}}catch(Q){j1(X,X.return,Q)}}function uH(z,X){R4(z)?(B4(),O5(X,z),Q4()):O5(X,z)}function LY(z,X,Y){R4(z)?(B4(),z6(Y,z,X),Q4()):z6(Y,z,X)}function lH(z){var X=z.updateQueue;if(X!==null){var Y=z.stateNode;z.type.defaultProps||"ref"in z.memoizedProps||f6||(Y.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.",d(z)||"instance"),Y.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.",d(z)||"instance"));try{s(z,c$,X,Y)}catch(G){j1(z,z.return,G)}}}function NU(z,X,Y){return z.getSnapshotBeforeUpdate(X,Y)}function IU(z,X){var{memoizedProps:Y,memoizedState:G}=X;X=z.stateNode,z.type.defaultProps||"ref"in z.memoizedProps||f6||(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.",d(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.",d(z)||"instance"));try{var Z=R8(z.type,Y),$=s(z,NU,X,Z,G);Y=PR,$!==void 0||Y.has(z.type)||(Y.add(z.type),s(z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",d(z))})),X.__reactInternalSnapshotBeforeUpdate=$}catch(H){j1(z,z.return,H)}}function pH(z,X,Y){Y.props=R8(z.type,z.memoizedProps),Y.state=z.memoizedState,R4(z)?(B4(),s(z,lB,z,X,Y),Q4()):s(z,lB,z,X,Y)}function PU(z){var X=z.ref;if(X!==null){switch(z.tag){case 26:case 27:case 5:var Y=z.stateNode;break;case 30:Y=z.stateNode;break;default:Y=z.stateNode}if(typeof X==="function")if(R4(z))try{B4(),z.refCleanup=X(Y)}finally{Q4()}else z.refCleanup=X(Y);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().",d(z)),X.current=Y}}function M5(z,X){try{s(z,PU,z)}catch(Y){j1(z,X,Y)}}function q4(z,X){var{ref:Y,refCleanup:G}=z;if(Y!==null)if(typeof G==="function")try{if(R4(z))try{B4(),s(z,G)}finally{Q4(z)}else s(z,G)}catch(Z){j1(z,X,Z)}finally{z.refCleanup=null,z=z.alternate,z!=null&&(z.refCleanup=null)}else if(typeof Y==="function")try{if(R4(z))try{B4(),s(z,Y,null)}finally{Q4(z)}else s(z,Y,null)}catch(Z){j1(z,X,Z)}else Y.current=null}function cH(z,X,Y,G){var Z=z.memoizedProps,$=Z.id,H=Z.onCommit;Z=Z.onRender,X=X===null?"mount":"update",J7&&(X="nested-update"),typeof Z==="function"&&Z($,X,z.actualDuration,z.treeBaseDuration,z.actualStartTime,Y),typeof H==="function"&&H($,X,G,Y)}function TU(z,X,Y,G){var Z=z.memoizedProps;z=Z.id,Z=Z.onPostCommit,X=X===null?"mount":"update",J7&&(X="nested-update"),typeof Z==="function"&&Z(z,X,G,Y)}function aH(z){var{type:X,memoizedProps:Y,stateNode:G}=z;try{s(z,iU,G,X,Y,z)}catch(Z){j1(z,z.return,Z)}}function OY(z,X,Y){try{s(z,rU,z.stateNode,z.type,Y,X,z)}catch(G){j1(z,z.return,G)}}function sH(z){return z.tag===5||z.tag===3||z.tag===26||z.tag===27&&_3(z.type)||z.tag===4}function MY(z){z:for(;;){for(;z.sibling===null;){if(z.return===null||sH(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&&_3(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 AY(z,X,Y){var G=z.tag;if(G===5||G===6)z=z.stateNode,X?(zQ(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(z,X)):(zQ(Y),X=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,X.appendChild(z),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||X.onclick!==null||(X.onclick=k4));else if(G!==4&&(G===27&&_3(z.type)&&(Y=z.stateNode,X=null),z=z.child,z!==null))for(AY(z,X,Y),z=z.sibling;z!==null;)AY(z,X,Y),z=z.sibling}function F9(z,X,Y){var G=z.tag;if(G===5||G===6)z=z.stateNode,X?Y.insertBefore(z,X):Y.appendChild(z);else if(G!==4&&(G===27&&_3(z.type)&&(Y=z.stateNode),z=z.child,z!==null))for(F9(z,X,Y),z=z.sibling;z!==null;)F9(z,X,Y),z=z.sibling}function vU(z){for(var X,Y=z.return;Y!==null;){if(sH(Y)){X=Y;break}Y=Y.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,Y=MY(z),F9(z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(eJ(Y),X.flags&=-33),X=MY(z),F9(z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=MY(z),AY(z,Y,X);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function oH(z){var{stateNode:X,memoizedProps:Y}=z;try{s(z,WW,z.type,Y,X,z)}catch(G){j1(z,z.return,G)}}function iH(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 CU(z,X){if(z=z.containerInfo,MZ=d7,z=q$(z),GX(z)){if("selectionStart"in z)var Y={start:z.selectionStart,end:z.selectionEnd};else z:{Y=(Y=z.ownerDocument)&&Y.defaultView||window;var G=Y.getSelection&&Y.getSelection();if(G&&G.rangeCount!==0){Y=G.anchorNode;var{anchorOffset:Z,focusNode:$}=G;G=G.focusOffset;try{Y.nodeType,$.nodeType}catch(h){Y=null;break z}var H=0,J=-1,Q=-1,B=0,L=0,O=z,w=null;X:for(;;){for(var P;;){if(O!==Y||Z!==0&&O.nodeType!==3||(J=H+Z),O!==$||G!==0&&O.nodeType!==3||(Q=H+G),O.nodeType===3&&(H+=O.nodeValue.length),(P=O.firstChild)===null)break;w=O,O=P}for(;;){if(O===z)break X;if(w===Y&&++B===Z&&(J=H),w===$&&++L===G&&(Q=H),(P=O.nextSibling)!==null)break;O=w,w=O.parentNode}O=P}Y=J===-1||Q===-1?null:{start:J,end:Q}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;AZ={focusedElem:z,selectionRange:Y},d7=!1;for(x0=X;x0!==null;)if(X=x0,z=X.child,(X.subtreeFlags&1028)!==0&&z!==null)z.return=X,x0=z;else for(;x0!==null;){switch(z=X=x0,Y=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(Y=0;Y<z.length;Y++)Z=z[Y],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:(Z&1024)!==0&&Y!==null&&IU(z,Y);break;case 3:if((Z&1024)!==0){if(z=z.stateNode.containerInfo,Y=z.nodeType,Y===9)hY(z);else if(Y===1)switch(z.nodeName){case"HEAD":case"HTML":case"BODY":hY(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,x0=z;break}x0=X.return}}function nH(z,X,Y){var G=Q2(),Z=Z4(),$=H4(),H=J4(),J=Y.flags;switch(Y.tag){case 0:case 11:case 15:U4(z,Y),J&4&&dH(Y,O2|f2);break;case 1:if(U4(z,Y),J&4)if(z=Y.stateNode,X===null)Y.type.defaultProps||"ref"in Y.memoizedProps||f6||(z.props!==Y.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.",d(Y)||"instance"),z.state!==Y.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.",d(Y)||"instance")),R4(Y)?(B4(),s(Y,dG,Y,z),Q4()):s(Y,dG,Y,z);else{var Q=R8(Y.type,X.memoizedProps);X=X.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||f6||(z.props!==Y.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.",d(Y)||"instance"),z.state!==Y.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.",d(Y)||"instance")),R4(Y)?(B4(),s(Y,hB,Y,z,Q,X,z.__reactInternalSnapshotBeforeUpdate),Q4()):s(Y,hB,Y,z,Q,X,z.__reactInternalSnapshotBeforeUpdate)}J&64&&lH(Y),J&512&&M5(Y,Y.return);break;case 3:if(X=V4(),U4(z,Y),J&64&&(J=Y.updateQueue,J!==null)){if(Q=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:Q=Y.child.stateNode;break;case 1:Q=Y.child.stateNode}try{s(Y,c$,J,Q)}catch(L){j1(Y,Y.return,L)}}z.effectDuration+=oz(X);break;case 27:X===null&&J&4&&oH(Y);case 26:case 5:if(U4(z,Y),X===null){if(J&4)aH(Y);else if(J&64){z=Y.type,X=Y.memoizedProps,Q=Y.stateNode;try{s(Y,nU,Q,z,X,Y)}catch(L){j1(Y,Y.return,L)}}}J&512&&M5(Y,Y.return);break;case 12:if(J&4){J=V4(),U4(z,Y),z=Y.stateNode,z.effectDuration+=J5(J);try{s(Y,cH,Y,X,v3,z.effectDuration)}catch(L){j1(Y,Y.return,L)}}else U4(z,Y);break;case 31:U4(z,Y),J&4&&eH(z,Y);break;case 13:U4(z,Y),J&4&&zJ(z,Y),J&64&&(z=Y.memoizedState,z!==null&&(z=z.dehydrated,z!==null&&(J=fU.bind(null,Y),BW(z,J))));break;case 22:if(J=Y.memoizedState!==null||n4,!J){X=X!==null&&X.memoizedState!==null||O0,Q=n4;var B=O0;n4=J,(O0=X)&&!B?(W4(z,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&mz(Y,Y1,Z1)):U4(z,Y),n4=Q,O0=B}break;case 30:break;default:U4(z,Y)}(Y.mode&_1)!==H1&&0<=Y1&&0<=Z1&&((J0||0.05<G0)&&Y4(Y,Y1,Z1,G0,X0),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<Z1-Y1&&(iH(Y.return.alternate,Y.return)||X4(Y,Y1,Z1,"Mount"))),B2(G),$4(Z),X0=$,J0=H}function rH(z){var X=z.alternate;X!==null&&(z.alternate=null,rH(X)),z.child=null,z.deletions=null,z.sibling=null,z.tag===5&&(X=z.stateNode,X!==null&&u(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 y4(z,X,Y){for(Y=Y.child;Y!==null;)tH(z,X,Y),Y=Y.sibling}function tH(z,X,Y){if(E0&&typeof E0.onCommitFiberUnmount==="function")try{E0.onCommitFiberUnmount(U6,Y)}catch(B){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",B))}var G=Q2(),Z=Z4(),$=H4(),H=J4();switch(Y.tag){case 26:O0||q4(Y,X),y4(z,X,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(z=Y.stateNode,z.parentNode.removeChild(z));break;case 27:O0||q4(Y,X);var J=M0,Q=z2;_3(Y.type)&&(M0=Y.stateNode,z2=!1),y4(z,X,Y),s(Y,x5,Y.stateNode),M0=J,z2=Q;break;case 5:O0||q4(Y,X);case 6:if(J=M0,Q=z2,M0=null,y4(z,X,Y),M0=J,z2=Q,M0!==null)if(z2)try{s(Y,zW,M0,Y.stateNode)}catch(B){j1(Y,X,B)}else try{s(Y,eU,M0,Y.stateNode)}catch(B){j1(Y,X,B)}break;case 18:M0!==null&&(z2?(z=M0,XQ(z.nodeType===9?z.body:z.nodeName==="HTML"?z.ownerDocument.body:z,Y.stateNode),Q6(z)):XQ(M0,Y.stateNode));break;case 4:J=M0,Q=z2,M0=Y.stateNode.containerInfo,z2=!0,y4(z,X,Y),M0=J,z2=Q;break;case 0:case 11:case 14:case 15:z6(s0,Y,X),O0||_Y(Y,X,O2),y4(z,X,Y);break;case 1:O0||(q4(Y,X),J=Y.stateNode,typeof J.componentWillUnmount==="function"&&pH(Y,X,J)),y4(z,X,Y);break;case 21:y4(z,X,Y);break;case 22:O0=(J=O0)||Y.memoizedState!==null,y4(z,X,Y),O0=J;break;default:y4(z,X,Y)}(Y.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(Y,Y1,Z1,G0,X0),B2(G),$4(Z),X0=$,J0=H}function eH(z,X){if(X.memoizedState===null&&(z=X.alternate,z!==null&&(z=z.memoizedState,z!==null))){z=z.dehydrated;try{s(X,qW,z)}catch(Y){j1(X,X.return,Y)}}}function zJ(z,X){if(X.memoizedState===null&&(z=X.alternate,z!==null&&(z=z.memoizedState,z!==null&&(z=z.dehydrated,z!==null))))try{s(X,UW,z)}catch(Y){j1(X,X.return,Y)}}function xU(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 N9(z,X){var Y=xU(z);X.forEach(function(G){if(!Y.has(G)){if(Y.add(G),A4)if(y6!==null&&m6!==null)I5(m6,y6);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Z=yU.bind(null,z,G);G.then(Z,Z)}})}function t0(z,X){var Y=X.deletions;if(Y!==null)for(var G=0;G<Y.length;G++){var Z=z,$=X,H=Y[G],J=Q2(),Q=$;z:for(;Q!==null;){switch(Q.tag){case 27:if(_3(Q.type)){M0=Q.stateNode,z2=!1;break z}break;case 5:M0=Q.stateNode,z2=!1;break z;case 3:case 4:M0=Q.stateNode.containerInfo,z2=!0;break z}Q=Q.return}if(M0===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");tH(Z,$,H),M0=null,z2=!1,(H.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&X4(H,Y1,Z1,"Unmount"),B2(J),Z=H,$=Z.alternate,$!==null&&($.return=null),Z.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)XJ(X,z),X=X.sibling}function XJ(z,X){var Y=Q2(),G=Z4(),Z=H4(),$=J4(),H=z.alternate,J=z.flags;switch(z.tag){case 0:case 11:case 14:case 15:t0(X,z),e0(z),J&4&&(z6(s0|f2,z,z.return),O5(s0|f2,z),_Y(z,z.return,O2|f2));break;case 1:if(t0(X,z),e0(z),J&512&&(O0||H===null||q4(H,H.return)),J&64&&n4&&(J=z.updateQueue,J!==null&&(H=J.callbacks,H!==null))){var Q=J.shared.hiddenCallbacks;J.shared.hiddenCallbacks=Q===null?H:Q.concat(H)}break;case 26:if(Q=i2,t0(X,z),e0(z),J&512&&(O0||H===null||q4(H,H.return)),J&4){var B=H!==null?H.memoizedState:null;if(J=z.memoizedState,H===null)if(J===null)if(z.stateNode===null){z:{J=z.type,H=z.memoizedProps,Q=Q.ownerDocument||Q;X:switch(J){case"title":if(B=Q.getElementsByTagName("title")[0],!B||B[D5]||B[V0]||B.namespaceURI===w6||B.hasAttribute("itemprop"))B=Q.createElement(J),Q.head.insertBefore(B,Q.querySelector("head > title"));j0(B,J,H),B[V0]=z,X1(B),J=B;break z;case"link":var L=UQ("link","href",Q).get(J+(H.href||""));if(L){for(var O=0;O<L.length;O++)if(B=L[O],B.getAttribute("href")===(H.href==null||H.href===""?null:H.href)&&B.getAttribute("rel")===(H.rel==null?null:H.rel)&&B.getAttribute("title")===(H.title==null?null:H.title)&&B.getAttribute("crossorigin")===(H.crossOrigin==null?null:H.crossOrigin)){L.splice(O,1);break X}}B=Q.createElement(J),j0(B,J,H),Q.head.appendChild(B);break;case"meta":if(L=UQ("meta","content",Q).get(J+(H.content||""))){for(O=0;O<L.length;O++)if(B=L[O],u1(H.content,"content"),B.getAttribute("content")===(H.content==null?null:""+H.content)&&B.getAttribute("name")===(H.name==null?null:H.name)&&B.getAttribute("property")===(H.property==null?null:H.property)&&B.getAttribute("http-equiv")===(H.httpEquiv==null?null:H.httpEquiv)&&B.getAttribute("charset")===(H.charSet==null?null:H.charSet)){L.splice(O,1);break X}}B=Q.createElement(J),j0(B,J,H),Q.head.appendChild(B);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+J+'". This is a bug in React.')}B[V0]=z,X1(B),J=B}z.stateNode=J}else WQ(Q,z.type,z.stateNode);else z.stateNode=qQ(Q,J,z.memoizedProps);else B!==J?(B===null?H.stateNode!==null&&(H=H.stateNode,H.parentNode.removeChild(H)):B.count--,J===null?WQ(Q,z.type,z.stateNode):qQ(Q,J,z.memoizedProps)):J===null&&z.stateNode!==null&&OY(z,z.memoizedProps,H.memoizedProps)}break;case 27:t0(X,z),e0(z),J&512&&(O0||H===null||q4(H,H.return)),H!==null&&J&4&&OY(z,z.memoizedProps,H.memoizedProps);break;case 5:if(t0(X,z),e0(z),J&512&&(O0||H===null||q4(H,H.return)),z.flags&32){Q=z.stateNode;try{s(z,eJ,Q)}catch(a){j1(z,z.return,a)}}J&4&&z.stateNode!=null&&(Q=z.memoizedProps,OY(z,Q,H!==null?H.memoizedProps:Q)),J&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),J&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.");J=z.memoizedProps,H=H!==null?H.memoizedProps:J,Q=z.stateNode;try{s(z,tU,Q,H,J)}catch(a){j1(z,z.return,a)}}break;case 3:if(Q=V4(),m7=null,B=i2,i2=k9(X.containerInfo),t0(X,z),i2=B,e0(z),J&4&&H!==null&&H.memoizedState.isDehydrated)try{s(z,RW,X.containerInfo)}catch(a){j1(z,z.return,a)}zZ&&(zZ=!1,YJ(z)),X.effectDuration+=oz(Q);break;case 4:J=i2,i2=k9(z.stateNode.containerInfo),t0(X,z),e0(z),i2=J;break;case 12:J=V4(),t0(X,z),e0(z),z.stateNode.effectDuration+=J5(J);break;case 31:t0(X,z),e0(z),J&4&&(J=z.updateQueue,J!==null&&(z.updateQueue=null,N9(z,J)));break;case 13:t0(X,z),e0(z),z.child.flags&8192&&z.memoizedState!==null!==(H!==null&&H.memoizedState!==null)&&(I7=v0()),J&4&&(J=z.updateQueue,J!==null&&(z.updateQueue=null,N9(z,J)));break;case 22:Q=z.memoizedState!==null;var w=H!==null&&H.memoizedState!==null,P=n4,h=O0;if(n4=P||Q,O0=h||w,t0(X,z),O0=h,n4=P,w&&!Q&&!P&&!h&&(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&mz(z,Y1,Z1),e0(z),J&8192)z:for(X=z.stateNode,X._visibility=Q?X._visibility&~p5:X._visibility|p5,!Q||H===null||w||n4||O0||(q8(z),(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&X4(z,Y1,Z1,"Disconnect")),H=null,X=z;;){if(X.tag===5||X.tag===26){if(H===null){w=H=X;try{B=w.stateNode,Q?s(w,YW,B):s(w,$W,w.stateNode,w.memoizedProps)}catch(a){j1(w,w.return,a)}}}else if(X.tag===6){if(H===null){w=X;try{L=w.stateNode,Q?s(w,GW,L):s(w,HW,L,w.memoizedProps)}catch(a){j1(w,w.return,a)}}}else if(X.tag===18){if(H===null){w=X;try{O=w.stateNode,Q?s(w,XW,O):s(w,ZW,w.stateNode)}catch(a){j1(w,w.return,a)}}}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;H===X&&(H=null),X=X.return}H===X&&(H=null),X.sibling.return=X.return,X=X.sibling}J&4&&(J=z.updateQueue,J!==null&&(H=J.retryQueue,H!==null&&(J.retryQueue=null,N9(z,H))));break;case 19:t0(X,z),e0(z),J&4&&(J=z.updateQueue,J!==null&&(z.updateQueue=null,N9(z,J)));break;case 30:break;case 21:break;default:t0(X,z),e0(z)}(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&((J0||0.05<G0)&&Y4(z,Y1,Z1,G0,X0),z.alternate===null&&z.return!==null&&z.return.alternate!==null&&0.05<Z1-Y1&&(iH(z.return.alternate,z.return)||X4(z,Y1,Z1,"Mount"))),B2(Y),$4(G),X0=Z,J0=$}function e0(z){var X=z.flags;if(X&2){try{s(z,vU,z)}catch(Y){j1(z,z.return,Y)}z.flags&=-3}X&4096&&(z.flags&=-4097)}function YJ(z){if(z.subtreeFlags&1024)for(z=z.child;z!==null;){var X=z;YJ(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),z=z.sibling}}function U4(z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)nH(z,X.alternate,X),X=X.sibling}function GJ(z){var X=Q2(),Y=Z4(),G=H4(),Z=J4();switch(z.tag){case 0:case 11:case 14:case 15:_Y(z,z.return,O2),q8(z);break;case 1:q4(z,z.return);var $=z.stateNode;typeof $.componentWillUnmount==="function"&&pH(z,z.return,$),q8(z);break;case 27:s(z,x5,z.stateNode);case 26:case 5:q4(z,z.return),q8(z);break;case 22:z.memoizedState===null&&q8(z);break;case 30:q8(z);break;default:q8(z)}(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(z,Y1,Z1,G0,X0),B2(X),$4(Y),X0=G,J0=Z}function q8(z){for(z=z.child;z!==null;)GJ(z),z=z.sibling}function ZJ(z,X,Y,G){var Z=Q2(),$=Z4(),H=H4(),J=J4(),Q=Y.flags;switch(Y.tag){case 0:case 11:case 15:W4(z,Y,G),dH(Y,O2);break;case 1:if(W4(z,Y,G),X=Y.stateNode,typeof X.componentDidMount==="function"&&s(Y,dG,Y,X),X=Y.updateQueue,X!==null){z=Y.stateNode;try{s(Y,RU,X,z)}catch(B){j1(Y,Y.return,B)}}G&&Q&64&&lH(Y),M5(Y,Y.return);break;case 27:oH(Y);case 26:case 5:W4(z,Y,G),G&&X===null&&Q&4&&aH(Y),M5(Y,Y.return);break;case 12:if(G&&Q&4){Q=V4(),W4(z,Y,G),G=Y.stateNode,G.effectDuration+=J5(Q);try{s(Y,cH,Y,X,v3,G.effectDuration)}catch(B){j1(Y,Y.return,B)}}else W4(z,Y,G);break;case 31:W4(z,Y,G),G&&Q&4&&eH(z,Y);break;case 13:W4(z,Y,G),G&&Q&4&&zJ(z,Y);break;case 22:Y.memoizedState===null&&W4(z,Y,G),M5(Y,Y.return);break;case 30:break;default:W4(z,Y,G)}(Y.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(Y,Y1,Z1,G0,X0),B2(Z),$4($),X0=H,J0=J}function W4(z,X,Y){Y=Y&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)ZJ(z,X.alternate,X,Y),X=X.sibling}function FY(z,X){var Y=null;z!==null&&z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(Y=z.memoizedState.cachePool.pool),z=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(z=X.memoizedState.cachePool.pool),z!==Y&&(z!=null&&H8(z),Y!=null&&H5(Y))}function NY(z,X){z=null,X.alternate!==null&&(z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==z&&(H8(X),z!=null&&H5(z))}function l2(z,X,Y,G,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;$J(z,X,Y,G,$!==null?$.actualStartTime:Z),X=$}}function $J(z,X,Y,G,Z){var $=Q2(),H=Z4(),J=H4(),Q=J4(),B=N3,L=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&_1)!==H1&&0<X.actualStartTime&&(X.flags&1)!==0&&Ez(X,X.actualStartTime,Z,N0,Y),l2(z,X,Y,G,Z),L&2048&&uH(X,o0|f2);break;case 1:(X.mode&_1)!==H1&&0<X.actualStartTime&&((X.flags&128)!==0?$X(X,X.actualStartTime,Z,[]):(X.flags&1)!==0&&Ez(X,X.actualStartTime,Z,N0,Y)),l2(z,X,Y,G,Z);break;case 3:var O=V4(),w=N0;N0=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,l2(z,X,Y,G,Z),N0=w,L&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),G=X.memoizedState.cache,G!==Y&&(H8(G),Y!=null&&H5(Y))),z.passiveEffectDuration+=oz(O);break;case 12:if(L&2048){L=V4(),l2(z,X,Y,G,Z),z=X.stateNode,z.passiveEffectDuration+=J5(L);try{s(X,TU,X,X.alternate,v3,z.passiveEffectDuration)}catch(P){j1(X,X.return,P)}}else l2(z,X,Y,G,Z);break;case 31:L=N0,O=X.alternate!==null?X.alternate.memoizedState:null,w=X.memoizedState,O!==null&&w===null?(w=X.deletions,w!==null&&0<w.length&&w[0].tag===18?(N0=!1,O=O.hydrationErrors,O!==null&&$X(X,X.actualStartTime,Z,O)):N0=!0):N0=!1,l2(z,X,Y,G,Z),N0=L;break;case 13:L=N0,O=X.alternate!==null?X.alternate.memoizedState:null,w=X.memoizedState,O===null||O.dehydrated===null||w!==null&&w.dehydrated!==null?N0=!1:(w=X.deletions,w!==null&&0<w.length&&w[0].tag===18?(N0=!1,O=O.hydrationErrors,O!==null&&$X(X,X.actualStartTime,Z,O)):N0=!0),l2(z,X,Y,G,Z),N0=L;break;case 23:break;case 22:w=X.stateNode,O=X.alternate,X.memoizedState!==null?w._visibility&h4?l2(z,X,Y,G,Z):A5(z,X,Y,G,Z):w._visibility&h4?l2(z,X,Y,G,Z):(w._visibility|=h4,X6(z,X,Y,G,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),Z),(X.mode&_1)===H1||N0||(z=X.actualStartTime,0<=z&&0.05<Z-z&&mz(X,z,Z),0<=Y1&&0<=Z1&&0.05<Z1-Y1&&mz(X,Y1,Z1))),L&2048&&FY(O,X);break;case 24:l2(z,X,Y,G,Z),L&2048&&NY(X.alternate,X);break;default:l2(z,X,Y,G,Z)}if((X.mode&_1)!==H1){if(z=!N0&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)Y=X.actualStartTime,0<=Y&&0.05<Z-Y&&X4(X,Y,Z,"Mount");0<=Y1&&0<=Z1&&((J0||0.05<G0)&&Y4(X,Y1,Z1,G0,X0),z&&0.05<Z1-Y1&&X4(X,Y1,Z1,"Mount"))}B2($),$4(H),X0=J,J0=Q,N3=B}function X6(z,X,Y,G,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 H=X.sibling;HJ(z,X,Y,G,Z,H!==null?H.actualStartTime:$),X=H}}function HJ(z,X,Y,G,Z,$){var H=Q2(),J=Z4(),Q=H4(),B=J4(),L=N3;Z&&(X.mode&_1)!==H1&&0<X.actualStartTime&&(X.flags&1)!==0&&Ez(X,X.actualStartTime,$,N0,Y);var O=X.flags;switch(X.tag){case 0:case 11:case 15:X6(z,X,Y,G,Z,$),uH(X,o0);break;case 23:break;case 22:var w=X.stateNode;X.memoizedState!==null?w._visibility&h4?X6(z,X,Y,G,Z,$):A5(z,X,Y,G,$):(w._visibility|=h4,X6(z,X,Y,G,Z,$)),Z&&O&2048&&FY(X.alternate,X);break;case 24:X6(z,X,Y,G,Z,$),Z&&O&2048&&NY(X.alternate,X);break;default:X6(z,X,Y,G,Z,$)}(X.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(X,Y1,Z1,G0,X0),B2(H),$4(J),X0=Q,J0=B,N3=L}function A5(z,X,Y,G,Z){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var $=X.child;$!==null;){X=$.sibling;var H=z,J=Y,Q=G,B=X!==null?X.actualStartTime:Z,L=N3;($.mode&_1)!==H1&&0<$.actualStartTime&&($.flags&1)!==0&&Ez($,$.actualStartTime,B,N0,J);var O=$.flags;switch($.tag){case 22:A5(H,$,J,Q,B),O&2048&&FY($.alternate,$);break;case 24:A5(H,$,J,Q,B),O&2048&&NY($.alternate,$);break;default:A5(H,$,J,Q,B)}N3=L,$=X}}function Y6(z,X,Y){if(z.subtreeFlags&Rz)for(z=z.child;z!==null;)JJ(z,X,Y),z=z.sibling}function JJ(z,X,Y){switch(z.tag){case 26:Y6(z,X,Y),z.flags&Rz&&z.memoizedState!==null&&_W(Y,i2,z.memoizedState,z.memoizedProps);break;case 5:Y6(z,X,Y);break;case 3:case 4:var G=i2;i2=k9(z.stateNode.containerInfo),Y6(z,X,Y),i2=G;break;case 22:z.memoizedState===null&&(G=z.alternate,G!==null&&G.memoizedState!==null?(G=Rz,Rz=16777216,Y6(z,X,Y),Rz=G):Y6(z,X,Y));break;default:Y6(z,X,Y)}}function QJ(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 F5(z){var X=z.deletions;if((z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var G=X[Y],Z=Q2();x0=G,qJ(G,z),(G.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&X4(G,Y1,Z1,"Unmount"),B2(Z)}QJ(z)}if(z.subtreeFlags&10256)for(z=z.child;z!==null;)BJ(z),z=z.sibling}function BJ(z){var X=Q2(),Y=Z4(),G=H4(),Z=J4();switch(z.tag){case 0:case 11:case 15:F5(z),z.flags&2048&&LY(z,z.return,o0|f2);break;case 3:var $=V4();F5(z),z.stateNode.passiveEffectDuration+=oz($);break;case 12:$=V4(),F5(z),z.stateNode.passiveEffectDuration+=J5($);break;case 22:$=z.stateNode,z.memoizedState!==null&&$._visibility&h4&&(z.return===null||z.return.tag!==13)?($._visibility&=~h4,I9(z),(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&X4(z,Y1,Z1,"Disconnect")):F5(z);break;default:F5(z)}(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(z,Y1,Z1,G0,X0),B2(X),$4(Y),J0=Z,X0=G}function I9(z){var X=z.deletions;if((z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var G=X[Y],Z=Q2();x0=G,qJ(G,z),(G.mode&_1)!==H1&&0<=Y1&&0<=Z1&&0.05<Z1-Y1&&X4(G,Y1,Z1,"Unmount"),B2(Z)}QJ(z)}for(z=z.child;z!==null;)RJ(z),z=z.sibling}function RJ(z){var X=Q2(),Y=Z4(),G=H4(),Z=J4();switch(z.tag){case 0:case 11:case 15:LY(z,z.return,o0),I9(z);break;case 22:var $=z.stateNode;$._visibility&h4&&($._visibility&=~h4,I9(z));break;default:I9(z)}(z.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(z,Y1,Z1,G0,X0),B2(X),$4(Y),J0=Z,X0=G}function qJ(z,X){for(;x0!==null;){var Y=x0,G=Y,Z=X,$=Q2(),H=Z4(),J=H4(),Q=J4();switch(G.tag){case 0:case 11:case 15:LY(G,Z,o0);break;case 23:case 22:G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(Z=G.memoizedState.cachePool.pool,Z!=null&&H8(Z));break;case 24:H5(G.memoizedState.cache)}if((G.mode&_1)!==H1&&0<=Y1&&0<=Z1&&(J0||0.05<G0)&&Y4(G,Y1,Z1,G0,X0),B2($),$4(H),J0=Q,X0=J,G=Y.child,G!==null)G.return=Y,x0=G;else z:for(Y=z;x0!==null;){if(G=x0,$=G.sibling,H=G.return,rH(G),G===Y){x0=null;break z}if($!==null){$.return=H,x0=$;break z}x0=H}}}function SU(){nw.forEach(function(z){return z()})}function UJ(){var z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return z||v.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),z}function q2(z){if((k1&I0)!==S0&&O1!==0)return O1&-O1;var X=v.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(z),kY()):F()}function WJ(){if(Y2===0)if((O1&536870912)===0||P1){var z=u9;u9<<=1,(u9&3932160)===0&&(u9=262144),Y2=z}else Y2=536870912;return z=L2.current,z!==null&&(z.flags|=32),Y2}function H0(z,X,Y){if(d6&&console.error("useInsertionEffect must not schedule updates."),qZ&&(C7=!0),z===a1&&(h1===v8||h1===C8)||z.cancelPendingCommit!==null)Z6(z,0),w3(z,O1,Y2,!1);if(Y3(z,Y),(k1&I0)!==S0&&z===a1){if(O4)switch(X.tag){case 0:case 11:case 15:z=M1&&d(M1)||"Unknown",hR.has(z)||(hR.add(z),X=d(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:ER||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ER=!0)}}else A4&&i6(z,X,Y),EU(X),z===a1&&((k1&I0)===S0&&(D3|=Y),Z0===b3&&w3(z,O1,Y2,!1)),w4(z)}function wJ(z,X,Y){if((k1&(I0|M2))!==S0)throw Error("Should not already be working.");if(O1!==0&&M1!==null){var G=M1,Z=v0();switch(bB){case Wz:case v8:var $=n5;n1&&((G=G._debugTask)?G.run(console.timeStamp.bind(console,"Suspended",$,Z,x2,void 0,"primary-light")):console.timeStamp("Suspended",$,Z,x2,void 0,"primary-light"));break;case C8:$=n5,n1&&((G=G._debugTask)?G.run(console.timeStamp.bind(console,"Action",$,Z,x2,void 0,"primary-light")):console.timeStamp("Action",$,Z,x2,void 0,"primary-light"));break;default:n1&&(G=Z-n5,3>G||console.timeStamp("Blocked",n5,Z,x2,void 0,5>G?"primary-light":10>G?"primary":100>G?"primary-dark":"error"))}}$=(Y=!Y&&(X&127)===0&&(X&z.expiredLanes)===0||s3(z,X))?gU(z,X):PY(z,X,!0);var H=Y;do{if($===r4){E6&&!Y&&w3(z,X,0,!1),X=h1,n5=K0(),bB=X;break}else{if(G=v0(),Z=z.current.alternate,H&&!kU(Z)){H2(X),Z=C0,$=G,!n1||$<=Z||(R0?R0.run(console.timeStamp.bind(console,"Teared Render",Z,$,I1,N1,"error")):console.timeStamp("Teared Render",Z,$,I1,N1,"error")),U8(X,G),$=PY(z,X,!1),H=!1;continue}if($===T8){if(H=X,z.errorRecoveryDisabledLanes&H)var J=0;else J=z.pendingLanes&-536870913,J=J!==0?J:J&536870912?536870912:0;if(J!==0){H2(X),HX(C0,G,X,R0),U8(X,G),X=J;z:{G=z,$=H,H=Kz;var Q=G.current.memoizedState.isDehydrated;if(Q&&(Z6(G,J).flags|=256),J=PY(G,J,!1),J!==T8){if(GZ&&!Q){G.errorRecoveryDisabledLanes|=$,D3|=$,$=b3;break z}G=i0,i0=H,G!==null&&(i0===null?i0=G:i0.push.apply(i0,G))}$=J}if(H=!1,$!==T8)continue;else G=v0()}}if($===Uz){H2(X),HX(C0,G,X,R0),U8(X,G),Z6(z,0),w3(z,X,0,!0);break}z:{switch(Y=z,$){case r4:case Uz:throw Error("Root did not complete. This is a bug in React.");case b3:if((X&4194048)!==X)break;case M7:H2(X),w$(C0,G,X,R0),U8(X,G),Z=X,(Z&127)!==0?Z7=G:(Z&4194048)!==0&&($7=G),w3(Y,X,Y2,!j3);break z;case T8:i0=null;break;case O7:case vR:break;default:throw Error("Unknown root exit status.")}if(v.actQueue!==null)TY(Y,Z,X,i0,_z,N7,Y2,D3,x8,$,null,null,C0,G);else{if((X&62914560)===X&&(H=I7+SR-v0(),10<H)){if(w3(Y,X,Y2,!j3),a3(Y,0,!0)!==0)break z;n2=X,Y.timeoutHandle=oR(KJ.bind(null,Y,Z,i0,_z,N7,X,Y2,D3,x8,j3,$,"Throttled",C0,G),H);break z}KJ(Y,Z,i0,_z,N7,X,Y2,D3,x8,j3,$,null,C0,G)}}}break}while(1);w4(z)}function KJ(z,X,Y,G,Z,$,H,J,Q,B,L,O,w,P){z.timeoutHandle=j8;var h=X.subtreeFlags,a=null;if(h&8192||(h&16785408)===16785408){if(a={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:k4},JJ(X,$,a),h=($&62914560)===$?I7-v0():($&4194048)===$?xR-v0():0,h=LW(a,h),h!==null){n2=$,z.cancelPendingCommit=h(TY.bind(null,z,X,$,Y,G,Z,H,J,Q,L,a,a.waitingForViewTransition?"Waiting for the previous Animation":0<a.count?0<a.imgCount?"Suspended on CSS and Images":"Suspended on CSS":a.imgCount===1?"Suspended on an Image":0<a.imgCount?"Suspended on Images":null,w,P)),w3(z,$,H,!B);return}}TY(z,X,$,Y,G,Z,H,J,Q,L,a,O,w,P)}function kU(z){for(var X=z;;){var Y=X.tag;if((Y===0||Y===11||Y===15)&&X.flags&16384&&(Y=X.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var G=0;G<Y.length;G++){var Z=Y[G],$=Z.getSnapshot;Z=Z.value;try{if(!c0($(),Z))return!1}catch(H){return!1}}if(Y=X.child,X.subtreeFlags&16384&&Y!==null)Y.return=X,X=Y;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 w3(z,X,Y,G){X&=~ZZ,X&=~D3,z.suspendedLanes|=X,z.pingedLanes&=~X,G&&(z.warmLanes|=X),G=z.expirationTimes;for(var Z=X;0<Z;){var $=31-u0(Z),H=1<<$;G[$]=-1,Z&=~H}Y!==0&&o3(z,Y,X)}function G6(){return(k1&(I0|M2))===S0?(P5(0,!1),!1):!0}function IY(){if(M1!==null){if(h1===X2)var z=M1.return;else z=M1,cz(),VX(z),k6=null,$z=0,z=M1;for(;z!==null;)hH(z.alternate,z),z=z.return;M1=null}}function U8(z,X){(z&127)!==0&&(C3=X),(z&4194048)!==0&&(T4=X),(z&62914560)!==0&&(kB=X),(z&2080374784)!==0&&(gB=X)}function Z6(z,X){n1&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",N1,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",N1,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",N1,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",N1,"primary-light"));var Y=C0;if(C0=K0(),O1!==0&&0<Y){if(H2(O1),Z0===O7||Z0===b3)w$(Y,C0,X,R0);else{var G=C0,Z=R0;if(n1&&!(G<=Y)){var $=(X&738197653)===X?"tertiary-dark":"primary-dark",H=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";Z?Z.run(console.timeStamp.bind(console,H,Y,G,I1,N1,$)):console.timeStamp(H,Y,G,I1,N1,$)}}U8(O1,C0)}if(Y=R0,R0=null,(X&127)!==0){R0=s5,Z=0<=P4&&P4<C3?C3:P4,G=0<=L8&&L8<C3?C3:L8,$=0<=G?G:0<=Z?Z:C0,0<=Z7?(H2(2),K$(Z7,$,X,Y)):(H7&127)!==0&&(H2(2),Z5(C3,$,a4)),Y=Z;var J=G,Q=o5,B=0<C6,L=x3===a5,O=x3===G7;if(Z=C0,G=s5,$=fG,H=yG,n1){if(I1="Blocking",0<Y?Y>Z&&(Y=Z):Y=Z,0<J?J>Y&&(J=Y):J=Y,Q!==null&&Y>J){var w=B?"secondary-light":"warning";G?G.run(console.timeStamp.bind(console,B?"Consecutive":"Event: "+Q,J,Y,I1,N1,w)):console.timeStamp(B?"Consecutive":"Event: "+Q,J,Y,I1,N1,w)}Z>Y&&(J=L?"error":(X&738197653)===X?"tertiary-light":"primary-light",L=O?"Promise Resolved":L?"Cascading Update":5<Z-Y?"Update Blocked":"Update",O=[],H!=null&&O.push(["Component name",H]),$!=null&&O.push(["Method name",$]),Y={start:Y,end:Z,detail:{devtools:{properties:O,track:I1,trackGroup:N1,color:J}}},G?G.run(performance.measure.bind(performance,L,Y)):performance.measure(L,Y))}P4=-1.1,x3=0,yG=fG=null,Z7=-1.1,C6=L8,L8=-1.1,C3=K0()}if((X&4194048)!==0&&(R0=i5,Z=0<=c4&&c4<T4?T4:c4,Y=0<=V2&&V2<T4?T4:V2,G=0<=S3&&S3<T4?T4:S3,$=0<=G?G:0<=Y?Y:C0,0<=$7?(H2(256),K$($7,$,X,R0)):(H7&4194048)!==0&&(H2(256),Z5(T4,$,a4)),O=G,J=O8,Q=0<k3,B=mG===G7,$=C0,G=i5,H=xB,L=SB,n1&&(I1="Transition",0<Y?Y>$&&(Y=$):Y=$,0<Z?Z>Y&&(Z=Y):Z=Y,0<O?O>Z&&(O=Z):O=Z,Z>O&&J!==null&&(w=Q?"secondary-light":"warning",G?G.run(console.timeStamp.bind(console,Q?"Consecutive":"Event: "+J,O,Z,I1,N1,w)):console.timeStamp(Q?"Consecutive":"Event: "+J,O,Z,I1,N1,w)),Y>Z&&(G?G.run(console.timeStamp.bind(console,"Action",Z,Y,I1,N1,"primary-dark")):console.timeStamp("Action",Z,Y,I1,N1,"primary-dark")),$>Y&&(Z=B?"Promise Resolved":5<$-Y?"Update Blocked":"Update",O=[],L!=null&&O.push(["Component name",L]),H!=null&&O.push(["Method name",H]),Y={start:Y,end:$,detail:{devtools:{properties:O,track:I1,trackGroup:N1,color:"primary-light"}}},G?G.run(performance.measure.bind(performance,Z,Y)):performance.measure(Z,Y))),V2=c4=-1.1,mG=0,$7=-1.1,k3=S3,S3=-1.1,T4=K0()),(X&62914560)!==0&&(H7&62914560)!==0&&(H2(4194304),Z5(kB,C0,a4)),(X&2080374784)!==0&&(H7&2080374784)!==0&&(H2(268435456),Z5(gB,C0,a4)),Y=z.timeoutHandle,Y!==j8&&(z.timeoutHandle=j8,BK(Y)),Y=z.cancelPendingCommit,Y!==null&&(z.cancelPendingCommit=null,Y()),n2=0,IY(),a1=z,M1=Y=g4(z.current,null),O1=X,h1=X2,A2=null,j3=!1,E6=s3(z,X),GZ=!1,Z0=r4,x8=Y2=ZZ=D3=V3=0,i0=Kz=null,N7=!1,(X&8)!==0&&(X|=X&32),G=z.entangledLanes,G!==0)for(z=z.entanglements,G&=X;0<G;)Z=31-u0(G),$=1<<Z,X|=z[Z],G&=~$;return C4=X,hz(),z=NB(),1000<z-FB&&(v.recentlyCreatedOwnerStacks=0,FB=z),s2.discardPendingWarnings(),Y}function _J(z,X){J1=null,v.H=Bz,v.getCurrentStack=null,O4=!1,w2=null,X===S6||X===R7?(X=y$(),h1=Wz):X===uG?(X=y$(),h1=CR):h1=X===tG?YZ:X!==null&&typeof X==="object"&&typeof X.then==="function"?wz:A7,A2=X;var Y=M1;Y===null?(Z0=Uz,_9(z,J2(X,z.current))):Y.mode&_1&&FX(Y)}function LJ(){var z=L2.current;return z===null?!0:(O1&4194048)===O1?D2===null?!0:!1:(O1&62914560)===O1||(O1&536870912)!==0?z===D2:!1}function OJ(){var z=v.H;return v.H=Bz,z===null?Bz:z}function MJ(){var z=v.A;return v.A=iw,z}function P9(z){R0===null&&(R0=z._debugTask==null?null:z._debugTask)}function T9(){Z0=b3,j3||(O1&4194048)!==O1&&L2.current!==null||(E6=!0),(V3&134217727)===0&&(D3&134217727)===0||a1===null||w3(a1,O1,Y2,!1)}function PY(z,X,Y){var G=k1;k1|=I0;var Z=OJ(),$=MJ();if(a1!==z||O1!==X){if(A4){var H=z.memoizedUpdaters;0<H.size&&(I5(z,O1),H.clear()),G3(z,X)}_z=null,Z6(z,X)}X=!1,H=Z0;z:do try{if(h1!==X2&&M1!==null){var J=M1,Q=A2;switch(h1){case YZ:IY(),H=M7;break z;case Wz:case v8:case C8:case wz:L2.current===null&&(X=!0);var B=h1;if(h1=X2,A2=null,$6(z,J,Q,B),Y&&E6){H=r4;break z}break;default:B=h1,h1=X2,A2=null,$6(z,J,Q,B)}}AJ(),H=Z0;break}catch(L){_J(z,L)}while(1);return X&&z.shellSuspendCounter++,cz(),k1=G,v.H=Z,v.A=$,M1===null&&(a1=null,O1=0,hz()),H}function AJ(){for(;M1!==null;)FJ(M1)}function gU(z,X){var Y=k1;k1|=I0;var G=OJ(),Z=MJ();if(a1!==z||O1!==X){if(A4){var $=z.memoizedUpdaters;0<$.size&&(I5(z,O1),$.clear()),G3(z,X)}_z=null,P7=v0()+kR,Z6(z,X)}else E6=s3(z,X);z:do try{if(h1!==X2&&M1!==null)X:switch(X=M1,$=A2,h1){case A7:h1=X2,A2=null,$6(z,X,$,A7);break;case v8:case C8:if(D$($)){h1=X2,A2=null,NJ(X);break}X=function(){h1!==v8&&h1!==C8||a1!==z||(h1=F7),w4(z)},$.then(X,X);break z;case Wz:h1=F7;break z;case CR:h1=XZ;break z;case F7:D$($)?(h1=X2,A2=null,NJ(X)):(h1=X2,A2=null,$6(z,X,$,F7));break;case XZ:var H=null;switch(M1.tag){case 26:H=M1.memoizedState;case 5:case 27:var J=M1;if(H?wQ(H):J.stateNode.complete){h1=X2,A2=null;var Q=J.sibling;if(Q!==null)M1=Q;else{var B=J.return;B!==null?(M1=B,v9(B)):M1=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}h1=X2,A2=null,$6(z,X,$,XZ);break;case wz:h1=X2,A2=null,$6(z,X,$,wz);break;case YZ:IY(),Z0=M7;break z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}v.actQueue!==null?AJ():bU();break}catch(L){_J(z,L)}while(1);if(cz(),v.H=G,v.A=Z,k1=Y,M1!==null)return r4;return a1=null,O1=0,hz(),Z0}function bU(){for(;M1!==null&&!kW();)FJ(M1)}function FJ(z){var X=z.alternate;(z.mode&_1)!==H1?(AX(z),X=s(z,wY,X,z,C4),FX(z)):X=s(z,wY,X,z,C4),z.memoizedProps=z.pendingProps,X===null?v9(z):M1=X}function NJ(z){var X=s(z,jU,z);z.memoizedProps=z.pendingProps,X===null?v9(z):M1=X}function jU(z){var X=z.alternate,Y=(z.mode&_1)!==H1;switch(Y&&AX(z),z.tag){case 15:case 0:X=jH(X,z,z.pendingProps,z.type,void 0,O1);break;case 11:X=jH(X,z,z.pendingProps,z.type.render,z.ref,O1);break;case 5:VX(z);default:hH(X,z),z=M1=F$(z,C4),X=wY(X,z,C4)}return Y&&FX(z),X}function $6(z,X,Y,G){cz(),VX(X),k6=null,$z=0;var Z=X.return;try{if(LU(z,Z,X,Y,O1)){Z0=Uz,_9(z,J2(Y,z.current)),M1=null;return}}catch($){if(Z!==null)throw M1=Z,$;Z0=Uz,_9(z,J2(Y,z.current)),M1=null;return}if(X.flags&32768){if(P1||G===A7)z=!0;else if(E6||(O1&536870912)!==0)z=!1;else if(j3=z=!0,G===v8||G===C8||G===Wz||G===wz)G=L2.current,G!==null&&G.tag===13&&(G.flags|=16384);IJ(X,z)}else v9(X)}function v9(z){var X=z;do{if((X.flags&32768)!==0){IJ(X,j3);return}var Y=X.alternate;if(z=X.return,AX(X),Y=s(X,AU,Y,X,C4),(X.mode&_1)!==H1&&k$(X),Y!==null){M1=Y;return}if(X=X.sibling,X!==null){M1=X;return}M1=X=z}while(X!==null);Z0===r4&&(Z0=vR)}function IJ(z,X){do{var Y=FU(z.alternate,z);if(Y!==null){Y.flags&=32767,M1=Y;return}if((z.mode&_1)!==H1){k$(z),Y=z.actualDuration;for(var G=z.child;G!==null;)Y+=G.actualDuration,G=G.sibling;z.actualDuration=Y}if(Y=z.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!X&&(z=z.sibling,z!==null)){M1=z;return}M1=z=Y}while(z!==null);Z0=M7,M1=null}function TY(z,X,Y,G,Z,$,H,J,Q,B,L,O,w,P){z.cancelPendingCommit=null;do N5();while(A0!==y3);if(s2.flushLegacyContextWarning(),s2.flushPendingUnsafeLifecycleWarnings(),(k1&(I0|M2))!==S0)throw Error("Should not already be working.");if(H2(Y),B===T8?HX(w,P,Y,R0):G!==null?ZU(w,P,Y,G,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,R0):GU(w,P,Y,R0),X!==null){if(Y===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,$|=gG,Sz(z,Y,$,H,J,Q),z===a1&&(M1=a1=null,O1=0),h6=X,m3=z,n2=Y,JZ=$,BZ=Z,fR=G,QZ=P,yR=O,r2=T7,mR=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(z.callbackNode=null,z.callbackPriority=0,mU(q6,function(){return Nz=window.event,r2===T7&&(r2=HZ),xJ(),null})):(z.callbackNode=null,z.callbackPriority=0),p4=null,v3=K0(),O!==null&&$U(P,v3,O,R0),G=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||G){G=v.T,v.T=null,Z=V1.p,V1.p=K2,H=k1,k1|=M2;try{CU(z,X,Y)}finally{k1=H,V1.p=Z,v.T=G}}A0=bR,PJ(),TJ(),vJ()}}function PJ(){if(A0===bR){A0=y3;var z=m3,X=h6,Y=n2,G=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||G){G=v.T,v.T=null;var Z=V1.p;V1.p=K2;var $=k1;k1|=M2;try{y6=Y,m6=z,iz(),XJ(X,z),m6=y6=null,Y=AZ;var H=q$(z.containerInfo),J=Y.focusedElem,Q=Y.selectionRange;if(H!==J&&J&&J.ownerDocument&&R$(J.ownerDocument.documentElement,J)){if(Q!==null&&GX(J)){var{start:B,end:L}=Q;if(L===void 0&&(L=B),"selectionStart"in J)J.selectionStart=B,J.selectionEnd=Math.min(L,J.value.length);else{var O=J.ownerDocument||document,w=O&&O.defaultView||window;if(w.getSelection){var P=w.getSelection(),h=J.textContent.length,a=Math.min(Q.start,h),i1=Q.end===void 0?a:Math.min(Q.end,h);!P.extend&&a>i1&&(H=i1,i1=a,a=H);var v1=B$(J,a),W=B$(J,i1);if(v1&&W&&(P.rangeCount!==1||P.anchorNode!==v1.node||P.anchorOffset!==v1.offset||P.focusNode!==W.node||P.focusOffset!==W.offset)){var K=O.createRange();K.setStart(v1.node,v1.offset),P.removeAllRanges(),a>i1?(P.addRange(K),P.extend(W.node,W.offset)):(K.setEnd(W.node,W.offset),P.addRange(K))}}}}O=[];for(P=J;P=P.parentNode;)P.nodeType===1&&O.push({element:P,left:P.scrollLeft,top:P.scrollTop});typeof J.focus==="function"&&J.focus();for(J=0;J<O.length;J++){var _=O[J];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}d7=!!MZ,AZ=MZ=null}finally{k1=$,V1.p=Z,v.T=G}}z.current=X,A0=jR}}function TJ(){if(A0===jR){A0=y3;var z=mR;if(z!==null){v3=K0();var X=l4,Y=v3;!n1||Y<=X||(a4?a4.run(console.timeStamp.bind(console,z,X,Y,I1,N1,"secondary-light")):console.timeStamp(z,X,Y,I1,N1,"secondary-light"))}z=m3,X=h6,Y=n2;var G=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||G){G=v.T,v.T=null;var Z=V1.p;V1.p=K2;var $=k1;k1|=M2;try{y6=Y,m6=z,iz(),nH(z,X.alternate,X),m6=y6=null}finally{k1=$,V1.p=Z,v.T=G}}z=QZ,X=yR,l4=K0(),z=X===null?z:v3,X=l4,Y=r2===$Z,G=R0,p4!==null?_$(z,X,p4,!1,G):!n1||X<=z||(G?G.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",z,X,I1,N1,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",z,X,I1,N1,Y?"error":"secondary-dark")),A0=VR}}function vJ(){if(A0===DR||A0===VR){if(A0===DR){var z=l4;l4=K0();var X=l4,Y=r2===$Z;!n1||X<=z||(a4?a4.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",z,X,I1,N1,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",z,X,I1,N1,Y?" error":"secondary-light")),r2!==$Z&&(r2=gR)}A0=y3,gW(),z=m3;var G=h6;X=n2,Y=fR;var Z=G.actualDuration!==0||(G.subtreeFlags&10256)!==0||(G.flags&10256)!==0;Z?A0=v7:(A0=y3,h6=m3=null,CJ(z,z.pendingLanes),S8=0,Oz=null);var $=z.pendingLanes;if($===0&&(f3=null),Z||bJ(z),$=R(X),G=G.stateNode,E0&&typeof E0.onCommitFiberRoot==="function")try{var H=(G.current.flags&128)===128;switch($){case K2:var J=BG;break;case c2:J=RG;break;case F4:J=q6;break;case p9:J=qG;break;default:J=q6}E0.onCommitFiberRoot(U6,G,J,H)}catch(O){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",O))}if(A4&&z.memoizedUpdaters.clear(),SU(),Y!==null){H=v.T,J=V1.p,V1.p=K2,v.T=null;try{var Q=z.onRecoverableError;for(G=0;G<Y.length;G++){var B=Y[G],L=VU(B.stack);s(B.source,Q,B.value,L)}}finally{v.T=H,V1.p=J}}(n2&3)!==0&&N5(),w4(z),$=z.pendingLanes,(X&261930)!==0&&($&42)!==0?(Q7=!0,z===RZ?Lz++:(Lz=0,RZ=z)):Lz=0,Z||U8(X,l4),P5(0,!1)}}function VU(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 CJ(z,X){(z.pooledCacheLanes&=X)===0&&(X=z.pooledCache,X!=null&&(z.pooledCache=null,H5(X)))}function N5(){return PJ(),TJ(),vJ(),xJ()}function xJ(){if(A0!==v7)return!1;var z=m3,X=JZ;JZ=0;var Y=R(n2),G=F4===0||F4>Y?F4:Y;Y=v.T;var Z=V1.p;try{V1.p=G,v.T=null;var $=BZ;BZ=null,G=m3;var H=n2;if(A0=y3,h6=m3=null,n2=0,(k1&(I0|M2))!==S0)throw Error("Cannot flush passive effects while already rendering.");H2(H),qZ=!0,C7=!1;var J=0;if(p4=null,J=v0(),r2===gR)Z5(l4,J,a4);else{var Q=l4,B=J,L=r2===HZ;!n1||B<=Q||(R0?R0.run(console.timeStamp.bind(console,L?"Waiting for Paint":"Waiting",Q,B,I1,N1,"secondary-light")):console.timeStamp(L?"Waiting for Paint":"Waiting",Q,B,I1,N1,"secondary-light"))}Q=k1,k1|=M2;var O=G.current;iz(),BJ(O);var w=G.current;O=QZ,iz(),$J(G,w,H,$,O),bJ(G),k1=Q;var P=v0();if(w=J,O=R0,p4!==null?_$(w,P,p4,!0,O):!n1||P<=w||(O?O.run(console.timeStamp.bind(console,"Remaining Effects",w,P,I1,N1,"secondary-dark")):console.timeStamp("Remaining Effects",w,P,I1,N1,"secondary-dark")),U8(H,P),P5(0,!1),C7?G===Oz?S8++:(S8=0,Oz=G):S8=0,C7=qZ=!1,E0&&typeof E0.onPostCommitFiberRoot==="function")try{E0.onPostCommitFiberRoot(U6,G)}catch(a){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",a))}var h=G.current.stateNode;return h.effectDuration=0,h.passiveEffectDuration=0,!0}finally{V1.p=Z,v.T=Y,CJ(z,X)}}function SJ(z,X,Y){X=J2(Y,X),g$(X),X=GY(z.stateNode,X,2),z=R3(z,X,2),z!==null&&(Y3(z,2),w4(z))}function j1(z,X,Y){if(d6=!1,z.tag===3)SJ(z,z,Y);else{for(;X!==null;){if(X.tag===3){SJ(X,z,Y);return}if(X.tag===1){var G=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof G.componentDidCatch==="function"&&(f3===null||!f3.has(G))){z=J2(Y,z),g$(z),Y=ZY(2),G=R3(X,Y,2),G!==null&&($Y(Y,G,X,z),Y3(G,2),w4(G));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`,Y)}}function vY(z,X,Y){var G=z.pingCache;if(G===null){G=z.pingCache=new rw;var Z=new Set;G.set(X,Z)}else Z=G.get(X),Z===void 0&&(Z=new Set,G.set(X,Z));Z.has(Y)||(GZ=!0,Z.add(Y),G=DU.bind(null,z,X,Y),A4&&I5(z,Y),X.then(G,G))}function DU(z,X,Y){var G=z.pingCache;G!==null&&G.delete(X),z.pingedLanes|=z.suspendedLanes&Y,z.warmLanes&=~Y,(Y&127)!==0?0>P4&&(C3=P4=K0(),s5=Y7("Promise Resolved"),x3=G7):(Y&4194048)!==0&&0>V2&&(T4=V2=K0(),i5=Y7("Promise Resolved"),mG=G7),UJ()&&v.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`),a1===z&&(O1&Y)===Y&&(Z0===b3||Z0===O7&&(O1&62914560)===O1&&v0()-I7<SR?(k1&I0)===S0&&Z6(z,0):ZZ|=Y,x8===O1&&(x8=0)),w4(z)}function kJ(z,X){X===0&&(X=l8()),z=m0(z,X),z!==null&&(Y3(z,X),w4(z))}function fU(z){var X=z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),kJ(z,Y)}function yU(z,X){var Y=0;switch(z.tag){case 31:case 13:var{stateNode:G,memoizedState:Z}=z;Z!==null&&(Y=Z.retryLane);break;case 19:G=z.stateNode;break;case 22:G=z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}G!==null&&G.delete(X),kJ(z,Y)}function CY(z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var G=z,Z=X,$=Z.type===m9;$=Y||$,Z.tag!==22?Z.flags&67108864?$&&s(Z,gJ,G,Z):CY(G,Z,$):Z.memoizedState===null&&($&&Z.flags&8192?s(Z,gJ,G,Z):Z.subtreeFlags&67108864&&s(Z,CY,G,Z,$)),X=X.sibling}}function gJ(z,X){s1(!0);try{GJ(X),RJ(X),ZJ(z,X.alternate,X,!1),HJ(z,X,0,null,!1,0)}finally{s1(!1)}}function bJ(z){var X=!0;z.current.mode&(h0|a2)||(X=!1),CY(z,z.current,X)}function jJ(z){if((k1&I0)===S0){var X=z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=d(z)||"ReactComponent",x7!==null){if(x7.has(X))return;x7.add(X)}else x7=new Set([X]);s(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 I5(z,X){A4&&z.memoizedUpdaters.forEach(function(Y){i6(z,Y,X)})}function mU(z,X){var Y=v.actQueue;return Y!==null?(Y.push(X),zK):QG(z,X)}function EU(z){UJ()&&v.actQueue===null&&s(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`,d(z))})}function w4(z){z!==u6&&z.next===null&&(u6===null?S7=u6=z:u6=u6.next=z),k7=!0,v.actQueue!==null?WZ||(WZ=!0,yJ()):UZ||(UZ=!0,yJ())}function P5(z,X){if(!wZ&&k7){wZ=!0;do{var Y=!1;for(var G=S7;G!==null;){if(!X)if(z!==0){var Z=G.pendingLanes;if(Z===0)var $=0;else{var{suspendedLanes:H,pingedLanes:J}=G;$=(1<<31-u0(42|z)+1)-1,$&=Z&~(H&~J),$=$&201326741?$&201326741|1:$?$|2:0}$!==0&&(Y=!0,fJ(G,$))}else $=O1,$=a3(G,G===a1?$:0,G.cancelPendingCommit!==null||G.timeoutHandle!==j8),($&3)===0||s3(G,$)||(Y=!0,fJ(G,$));G=G.next}}while(Y);wZ=!1}}function hU(){Nz=window.event,xY()}function xY(){k7=WZ=UZ=!1;var z=0;E3!==0&&sU()&&(z=E3);for(var X=v0(),Y=null,G=S7;G!==null;){var Z=G.next,$=VJ(G,X);if($===0)G.next=null,Y===null?S7=Z:Y.next=Z,Z===null&&(u6=Y);else if(Y=G,z!==0||($&3)!==0)k7=!0;G=Z}A0!==y3&&A0!==v7||P5(z,!1),E3!==0&&(E3=0)}function VJ(z,X){for(var{suspendedLanes:Y,pingedLanes:G,expirationTimes:Z}=z,$=z.pendingLanes&-62914561;0<$;){var H=31-u0($),J=1<<H,Q=Z[H];if(Q===-1){if((J&Y)===0||(J&G)!==0)Z[H]=a7(J,X)}else Q<=X&&(z.expiredLanes|=J);$&=~J}if(X=a1,Y=O1,Y=a3(z,z===X?Y:0,z.cancelPendingCommit!==null||z.timeoutHandle!==j8),G=z.callbackNode,Y===0||z===X&&(h1===v8||h1===C8)||z.cancelPendingCommit!==null)return G!==null&&SY(G),z.callbackNode=null,z.callbackPriority=0;if((Y&3)===0||s3(z,Y)){if(X=Y&-Y,X!==z.callbackPriority||v.actQueue!==null&&G!==KZ)SY(G);else return X;switch(R(Y)){case K2:case c2:Y=RG;break;case F4:Y=q6;break;case p9:Y=qG;break;default:Y=q6}return G=DJ.bind(null,z),v.actQueue!==null?(v.actQueue.push(G),Y=KZ):Y=QG(Y,G),z.callbackPriority=X,z.callbackNode=Y,X}return G!==null&&SY(G),z.callbackPriority=2,z.callbackNode=null,2}function DJ(z,X){if(Q7=J7=!1,Nz=window.event,A0!==y3&&A0!==v7)return z.callbackNode=null,z.callbackPriority=0,null;var Y=z.callbackNode;if(r2===T7&&(r2=HZ),N5()&&z.callbackNode!==Y)return null;var G=O1;if(G=a3(z,z===a1?G:0,z.cancelPendingCommit!==null||z.timeoutHandle!==j8),G===0)return null;return wJ(z,G,X),VJ(z,v0()),z.callbackNode!=null&&z.callbackNode===Y?DJ.bind(null,z):null}function fJ(z,X){if(N5())return null;J7=Q7,Q7=!1,wJ(z,X,!0)}function SY(z){z!==KZ&&z!==null&&SW(z)}function yJ(){v.actQueue!==null&&v.actQueue.push(function(){return xY(),null}),RK(function(){(k1&(I0|M2))!==S0?QG(BG,hU):xY()})}function kY(){if(E3===0){var z=M8;z===0&&(z=d9,d9<<=1,(d9&261888)===0&&(d9=256)),E3=z}return E3}function mJ(z){if(z==null||typeof z==="symbol"||typeof z==="boolean")return null;if(typeof z==="function")return z;return u1(z,"action"),X5(""+z)}function EJ(z,X){var Y=X.ownerDocument.createElement("input");return Y.name=X.name,Y.value=X.value,z.id&&Y.setAttribute("form",z.id),X.parentNode.insertBefore(Y,X),z=new FormData(z),Y.parentNode.removeChild(Y),z}function dU(z,X,Y,G,Z){if(X==="submit"&&Y&&Y.stateNode===Z){var $=mJ((Z[l0]||null).action),H=G.submitter;H&&(X=(X=H[l0]||null)?mJ(X.formAction):H.getAttribute("formAction"),X!==null&&($=X,H=null));var J=new i9("action","action",null,G,Z);z.push({event:J,listeners:[{instance:null,listener:function(){if(G.defaultPrevented){if(E3!==0){var Q=H?EJ(Z,H):new FormData(Z),B={pending:!0,data:Q,method:Z.method,action:$};Object.freeze(B),nX(Y,B,null,Q)}}else typeof $==="function"&&(J.preventDefault(),Q=H?EJ(Z,H):new FormData(Z),B={pending:!0,data:Q,method:Z.method,action:$},Object.freeze(B),nX(Y,B,$,Q))},currentTarget:Z}]})}}function C9(z,X,Y){z.currentTarget=Y;try{X(z)}catch(G){CG(G)}z.currentTarget=null}function hJ(z,X){X=(X&4)!==0;for(var Y=0;Y<z.length;Y++){var G=z[Y];z:{var Z=void 0,$=G.event;if(G=G.listeners,X)for(var H=G.length-1;0<=H;H--){var J=G[H],Q=J.instance,B=J.currentTarget;if(J=J.listener,Q!==Z&&$.isPropagationStopped())break z;Q!==null?s(Q,C9,$,J,B):C9($,J,B),Z=Q}else for(H=0;H<G.length;H++){if(J=G[H],Q=J.instance,B=J.currentTarget,J=J.listener,Q!==Z&&$.isPropagationStopped())break z;Q!==null?s(Q,C9,$,J,B):C9($,J,B),Z=Q}}}}function T1(z,X){_Z.has(z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',z);var Y=X[UG];Y===void 0&&(Y=X[UG]=new Set);var G=z+"__bubble";Y.has(G)||(dJ(X,z,2,!1),Y.add(G))}function gY(z,X,Y){_Z.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 G=0;X&&(G|=4),dJ(Y,z,G,X)}function bY(z){if(!z[g7]){z[g7]=!0,yQ.forEach(function(Y){Y!=="selectionchange"&&(_Z.has(Y)||gY(Y,!1,z),gY(Y,!0,z))});var X=z.nodeType===9?z:z.ownerDocument;X===null||X[g7]||(X[g7]=!0,gY("selectionchange",!1,X))}}function dJ(z,X,Y,G){switch(AQ(X)){case K2:var Z=FW;break;case c2:Z=NW;break;default:Z=oY}Y=Z.bind(null,X,Y,z),Z=void 0,!LG||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(Z=!0),G?Z!==void 0?z.addEventListener(X,Y,{capture:!0,passive:Z}):z.addEventListener(X,Y,!0):Z!==void 0?z.addEventListener(X,Y,{passive:Z}):z.addEventListener(X,Y,!1)}function jY(z,X,Y,G,Z){var $=G;if((X&1)===0&&(X&2)===0&&G!==null)z:for(;;){if(G===null)return;var H=G.tag;if(H===3||H===4){var J=G.stateNode.containerInfo;if(J===Z)break;if(H===4)for(H=G.return;H!==null;){var Q=H.tag;if((Q===3||Q===4)&&H.stateNode.containerInfo===Z)return;H=H.return}for(;J!==null;){if(H=r(J),H===null)return;if(Q=H.tag,Q===5||Q===6||Q===26||Q===27){G=$=H;continue z}J=J.parentNode}}G=G.return}tZ(function(){var B=$,L=XX(Y),O=[];z:{var w=AB.get(z);if(w!==void 0){var P=i9,h=z;switch(z){case"keypress":if(Dz(Y)===0)break z;case"keydown":case"keyup":P=_w;break;case"focusin":h="focus",P=FG;break;case"focusout":h="blur",P=FG;break;case"beforeblur":case"afterblur":P=FG;break;case"click":if(Y.button===2)break z;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":P=HB;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":P=Zw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":P=Mw;break;case _B:case LB:case OB:P=Jw;break;case MB:P=Fw;break;case"scroll":case"scrollend":P=Yw;break;case"wheel":P=Iw;break;case"copy":case"cut":case"paste":P=Bw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":P=QB;break;case"toggle":case"beforetoggle":P=Tw}var a=(X&4)!==0,i1=!a&&(z==="scroll"||z==="scrollend"),v1=a?w!==null?w+"Capture":null:w;a=[];for(var W=B,K;W!==null;){var _=W;if(K=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||K===null||v1===null||(_=Y5(W,v1),_!=null&&a.push(T5(W,_,K))),i1)break;W=W.return}0<a.length&&(w=new P(w,h,null,Y,L),O.push({event:w,listeners:a}))}}if((X&7)===0){z:{if(w=z==="mouseover"||z==="pointerover",P=z==="mouseout"||z==="pointerout",w&&Y!==f5&&(h=Y.relatedTarget||Y.fromElement)&&(r(h)||h[A3]))break z;if(P||w){if(w=L.window===L?L:(w=L.ownerDocument)?w.defaultView||w.parentWindow:window,P){if(h=Y.relatedTarget||Y.toElement,P=B,h=h?r(h):null,h!==null&&(i1=x1(h),a=h.tag,h!==i1||a!==5&&a!==27&&a!==6))h=null}else P=null,h=B;if(P!==h){if(a=HB,_="onMouseLeave",v1="onMouseEnter",W="mouse",z==="pointerout"||z==="pointerover")a=QB,_="onPointerLeave",v1="onPointerEnter",W="pointer";if(i1=P==null?w:q1(P),K=h==null?w:q1(h),w=new a(_,W+"leave",P,Y,L),w.target=i1,w.relatedTarget=K,_=null,r(L)===B&&(a=new a(v1,W+"enter",h,Y,L),a.target=K,a.relatedTarget=i1,_=a),i1=_,P&&h)X:{a=uU,v1=P,W=h,K=0;for(_=v1;_;_=a(_))K++;_=0;for(var x=W;x;x=a(x))_++;for(;0<K-_;)v1=a(v1),K--;for(;0<_-K;)W=a(W),_--;for(;K--;){if(v1===W||W!==null&&v1===W.alternate){a=v1;break X}v1=a(v1),W=a(W)}a=null}else a=null;P!==null&&uJ(O,w,P,a,!1),h!==null&&i1!==null&&uJ(O,i1,h,a,!0)}}}z:{if(w=B?q1(B):window,P=w.nodeName&&w.nodeName.toLowerCase(),P==="select"||P==="input"&&w.type==="file")var l=$$;else if(G$(w))if(wB)l=zU;else{l=tq;var Q1=rq}else P=w.nodeName,!P||P.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?B&&z5(B.elementType)&&(l=$$):l=eq;if(l&&(l=l(z,B))){Z$(O,l,Y,L);break z}Q1&&Q1(z,w,B),z==="focusout"&&B&&w.type==="number"&&B.memoizedProps.value!=null&&i7(w,"number",w.value)}switch(Q1=B?q1(B):window,z){case"focusin":if(G$(Q1)||Q1.contentEditable==="true")M6=Q1,IG=B,l5=null;break;case"focusout":l5=IG=M6=null;break;case"mousedown":PG=!0;break;case"contextmenu":case"mouseup":case"dragend":PG=!1,U$(O,Y,L);break;case"selectionchange":if(Sw)break;case"keydown":case"keyup":U$(O,Y,L)}var z1;if(NG)z:{switch(z){case"compositionstart":var t="onCompositionStart";break z;case"compositionend":t="onCompositionEnd";break z;case"compositionupdate":t="onCompositionUpdate";break z}t=void 0}else O6?X$(z,Y)&&(t="onCompositionEnd"):z==="keydown"&&Y.keyCode===BB&&(t="onCompositionStart");if(t&&(RB&&Y.locale!=="ko"&&(O6||t!=="onCompositionStart"?t==="onCompositionEnd"&&O6&&(z1=eZ()):(F3=L,OG=("value"in F3)?F3.value:F3.textContent,O6=!0)),Q1=x9(B,t),0<Q1.length&&(t=new JB(t,z,null,Y,L),O.push({event:t,listeners:Q1}),z1?t.data=z1:(z1=Y$(Y),z1!==null&&(t.data=z1)))),z1=Cw?sq(z,Y):oq(z,Y))t=x9(B,"onBeforeInput"),0<t.length&&(Q1=new qw("onBeforeInput","beforeinput",null,Y,L),O.push({event:Q1,listeners:t}),Q1.data=z1);dU(O,z,B,Y,L)}hJ(O,X)})}function T5(z,X,Y){return{instance:z,listener:X,currentTarget:Y}}function x9(z,X){for(var Y=X+"Capture",G=[];z!==null;){var Z=z,$=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||$===null||(Z=Y5(z,Y),Z!=null&&G.unshift(T5(z,Z,$)),Z=Y5(z,X),Z!=null&&G.push(T5(z,Z,$))),z.tag===3)return G;z=z.return}return[]}function uU(z){if(z===null)return null;do z=z.return;while(z&&z.tag!==5&&z.tag!==27);return z?z:null}function uJ(z,X,Y,G,Z){for(var $=X._reactName,H=[];Y!==null&&Y!==G;){var J=Y,Q=J.alternate,B=J.stateNode;if(J=J.tag,Q!==null&&Q===G)break;J!==5&&J!==26&&J!==27||B===null||(Q=B,Z?(B=Y5(Y,$),B!=null&&H.unshift(T5(Y,B,Q))):Z||(B=Y5(Y,$),B!=null&&H.push(T5(Y,B,Q)))),Y=Y.return}H.length!==0&&z.push({event:X,listeners:H})}function VY(z,X){lq(z,X),z!=="input"&&z!=="textarea"&&z!=="select"||X==null||X.value!==null||ZB||(ZB=!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 Y={registrationNameDependencies:W8,possibleRegistrationNames:WG};z5(z)||typeof X.is==="string"||cq(z,X,Y),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 T0(z,X,Y,G){X!==Y&&(Y=K3(Y),K3(X)!==Y&&(G[z]=X))}function lU(z,X,Y){X.forEach(function(G){Y[cJ(G)]=G==="style"?fY(z):z.getAttribute(G)})}function K4(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 lJ(z,X){return z=z.namespaceURI===a9||z.namespaceURI===w6?z.ownerDocument.createElementNS(z.namespaceURI,z.tagName):z.ownerDocument.createElement(z.tagName),z.innerHTML=X,z.innerHTML}function K3(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.",c3(z)),P0(z)),(typeof z==="string"?z:""+z).replace(XK,`
176
- `).replace(YK,"")}function pJ(z,X){return X=K3(X),K3(z)===X?!0:!1}function p1(z,X,Y,G,Z,$){switch(Y){case"children":if(typeof G==="string")Vz(G,X,!1),X==="body"||X==="textarea"&&G===""||e6(z,G);else if(typeof G==="number"||typeof G==="bigint")Vz(""+G,X,!1),X!=="body"&&e6(z,""+G);break;case"className":gz(z,"class",G);break;case"tabIndex":gz(z,"tabindex",G);break;case"dir":case"role":case"viewBox":case"width":case"height":gz(z,Y,G);break;case"style":iZ(z,G,$);break;case"data":if(X!=="object"){gz(z,"data",G);break}case"src":case"href":if(G===""&&(X!=="a"||Y!=="href")){Y==="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.',Y,Y):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.',Y,Y),z.removeAttribute(Y);break}if(G==null||typeof G==="function"||typeof G==="symbol"||typeof G==="boolean"){z.removeAttribute(Y);break}u1(G,Y),G=X5(""+G),z.setAttribute(Y,G);break;case"action":case"formAction":if(G!=null&&(X==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof G==="function"&&(Z.encType==null&&Z.method==null||V7||(V7=!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||j7||(j7=!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"?Y==="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"||b7?X!=="button"||Z.type==null||Z.type==="submit"||b7?typeof G==="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||V7||(V7=!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||j7||(j7=!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."))):(b7=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(b7=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="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 G==="function"){z.setAttribute(Y,"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"&&(Y==="formAction"?(X!=="input"&&p1(z,X,"name",Z.name,Z,null),p1(z,X,"formEncType",Z.formEncType,Z,null),p1(z,X,"formMethod",Z.formMethod,Z,null),p1(z,X,"formTarget",Z.formTarget,Z,null)):(p1(z,X,"encType",Z.encType,Z,null),p1(z,X,"method",Z.method,Z,null),p1(z,X,"target",Z.target,Z,null)));if(G==null||typeof G==="symbol"||typeof G==="boolean"){z.removeAttribute(Y);break}u1(G,Y),G=X5(""+G),z.setAttribute(Y,G);break;case"onClick":G!=null&&(typeof G!=="function"&&K4(Y,G),z.onclick=k4);break;case"onScroll":G!=null&&(typeof G!=="function"&&K4(Y,G),T1("scroll",z));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&K4(Y,G),T1("scrollend",z));break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=G.__html,Y!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");z.innerHTML=Y}}break;case"multiple":z.multiple=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"muted":z.muted=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(G==null||typeof G==="function"||typeof G==="boolean"||typeof G==="symbol"){z.removeAttribute("xlink:href");break}u1(G,Y),Y=X5(""+G),z.setAttributeNS(k8,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(u1(G,Y),z.setAttribute(Y,""+G)):z.removeAttribute(Y);break;case"inert":G!==""||D7[Y]||(D7[Y]=!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.",Y));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":G&&typeof G!=="function"&&typeof G!=="symbol"?z.setAttribute(Y,""):z.removeAttribute(Y);break;case"capture":case"download":G===!0?z.setAttribute(Y,""):G!==!1&&G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(u1(G,Y),z.setAttribute(Y,G)):z.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":G!=null&&typeof G!=="function"&&typeof G!=="symbol"&&!isNaN(G)&&1<=G?(u1(G,Y),z.setAttribute(Y,G)):z.removeAttribute(Y);break;case"rowSpan":case"start":G==null||typeof G==="function"||typeof G==="symbol"||isNaN(G)?z.removeAttribute(Y):(u1(G,Y),z.setAttribute(Y,G));break;case"popover":T1("beforetoggle",z),T1("toggle",z),kz(z,"popover",G);break;case"xlinkActuate":S4(z,k8,"xlink:actuate",G);break;case"xlinkArcrole":S4(z,k8,"xlink:arcrole",G);break;case"xlinkRole":S4(z,k8,"xlink:role",G);break;case"xlinkShow":S4(z,k8,"xlink:show",G);break;case"xlinkTitle":S4(z,k8,"xlink:title",G);break;case"xlinkType":S4(z,k8,"xlink:type",G);break;case"xmlBase":S4(z,LZ,"xml:base",G);break;case"xmlLang":S4(z,LZ,"xml:lang",G);break;case"xmlSpace":S4(z,LZ,"xml:space",G);break;case"is":$!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),kz(z,"is",G);break;case"innerText":case"textContent":break;case"popoverTarget":pR||G==null||typeof G!=="object"||(pR=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",G));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=nZ(Y),kz(z,Y,G)):W8.hasOwnProperty(Y)&&G!=null&&typeof G!=="function"&&K4(Y,G)}}function DY(z,X,Y,G,Z,$){switch(Y){case"style":iZ(z,G,$);break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=G.__html,Y!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");z.innerHTML=Y}}break;case"children":typeof G==="string"?e6(z,G):(typeof G==="number"||typeof G==="bigint")&&e6(z,""+G);break;case"onScroll":G!=null&&(typeof G!=="function"&&K4(Y,G),T1("scroll",z));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&K4(Y,G),T1("scrollend",z));break;case"onClick":G!=null&&(typeof G!=="function"&&K4(Y,G),z.onclick=k4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(W8.hasOwnProperty(Y))G!=null&&typeof G!=="function"&&K4(Y,G);else z:{if(Y[0]==="o"&&Y[1]==="n"&&(Z=Y.endsWith("Capture"),X=Y.slice(2,Z?Y.length-7:void 0),$=z[l0]||null,$=$!=null?$[Y]:null,typeof $==="function"&&z.removeEventListener(X,$,Z),typeof G==="function")){typeof $!=="function"&&$!==null&&(Y in z?z[Y]=null:z.hasAttribute(Y)&&z.removeAttribute(Y)),z.addEventListener(X,G,Z);break z}Y in z?z[Y]=G:G===!0?z.setAttribute(Y,""):kz(z,Y,G)}}}function j0(z,X,Y){switch(VY(X,Y),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":T1("error",z),T1("load",z);var G=!1,Z=!1,$;for($ in Y)if(Y.hasOwnProperty($)){var H=Y[$];if(H!=null)switch($){case"src":G=!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:p1(z,X,$,H,Y,null)}}Z&&p1(z,X,"srcSet",Y.srcSet,Y,null),G&&p1(z,X,"src",Y.src,Y,null);return;case"input":Z3("input",Y),T1("invalid",z);var J=$=H=Z=null,Q=null,B=null;for(G in Y)if(Y.hasOwnProperty(G)){var L=Y[G];if(L!=null)switch(G){case"name":Z=L;break;case"type":H=L;break;case"checked":Q=L;break;case"defaultChecked":B=L;break;case"value":$=L;break;case"defaultValue":J=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p1(z,X,G,L,Y,null)}}jZ(z,Y),VZ(z,$,J,Q,B,H,Z,!1);return;case"select":Z3("select",Y),T1("invalid",z),G=H=$=null;for(Z in Y)if(Y.hasOwnProperty(Z)&&(J=Y[Z],J!=null))switch(Z){case"value":$=J;break;case"defaultValue":H=J;break;case"multiple":G=J;default:p1(z,X,Z,J,Y,null)}yZ(z,Y),X=$,Y=H,z.multiple=!!G,X!=null?c8(z,!!G,X,!1):Y!=null&&c8(z,!!G,Y,!0);return;case"textarea":Z3("textarea",Y),T1("invalid",z),$=Z=G=null;for(H in Y)if(Y.hasOwnProperty(H)&&(J=Y[H],J!=null))switch(H){case"value":G=J;break;case"defaultValue":Z=J;break;case"children":$=J;break;case"dangerouslySetInnerHTML":if(J!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:p1(z,X,H,J,Y,null)}mZ(z,Y),hZ(z,G,Z,$);return;case"option":DZ(z,Y);for(Q in Y)if(Y.hasOwnProperty(Q)&&(G=Y[Q],G!=null))switch(Q){case"selected":z.selected=G&&typeof G!=="function"&&typeof G!=="symbol";break;default:p1(z,X,Q,G,Y,null)}return;case"dialog":T1("beforetoggle",z),T1("toggle",z),T1("cancel",z),T1("close",z);break;case"iframe":case"object":T1("load",z);break;case"video":case"audio":for(G=0;G<Mz.length;G++)T1(Mz[G],z);break;case"image":T1("error",z),T1("load",z);break;case"details":T1("toggle",z);break;case"embed":case"source":case"link":T1("error",z),T1("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(B in Y)if(Y.hasOwnProperty(B)&&(G=Y[B],G!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:p1(z,X,B,G,Y,null)}return;default:if(z5(X)){for(L in Y)Y.hasOwnProperty(L)&&(G=Y[L],G!==void 0&&DY(z,X,L,G,Y,void 0));return}}for(J in Y)Y.hasOwnProperty(J)&&(G=Y[J],G!=null&&p1(z,X,J,G,Y,null))}function pU(z,X,Y,G){switch(VY(X,G),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Z=null,$=null,H=null,J=null,Q=null,B=null,L=null;for(P in Y){var O=Y[P];if(Y.hasOwnProperty(P)&&O!=null)switch(P){case"checked":break;case"value":break;case"defaultValue":Q=O;default:G.hasOwnProperty(P)||p1(z,X,P,null,G,O)}}for(var w in G){var P=G[w];if(O=Y[w],G.hasOwnProperty(w)&&(P!=null||O!=null))switch(w){case"type":$=P;break;case"name":Z=P;break;case"checked":B=P;break;case"defaultChecked":L=P;break;case"value":H=P;break;case"defaultValue":J=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:P!==O&&p1(z,X,w,P,G,O)}}X=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,G=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,X||!G||uR||(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"),uR=!0),!X||G||dR||(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"),dR=!0),o7(z,H,J,Q,B,L,$,Z);return;case"select":P=H=J=w=null;for($ in Y)if(Q=Y[$],Y.hasOwnProperty($)&&Q!=null)switch($){case"value":break;case"multiple":P=Q;default:G.hasOwnProperty($)||p1(z,X,$,null,G,Q)}for(Z in G)if($=G[Z],Q=Y[Z],G.hasOwnProperty(Z)&&($!=null||Q!=null))switch(Z){case"value":w=$;break;case"defaultValue":J=$;break;case"multiple":H=$;default:$!==Q&&p1(z,X,Z,$,G,Q)}G=J,X=H,Y=P,w!=null?c8(z,!!X,w,!1):!!Y!==!!X&&(G!=null?c8(z,!!X,G,!0):c8(z,!!X,X?[]:"",!1));return;case"textarea":P=w=null;for(J in Y)if(Z=Y[J],Y.hasOwnProperty(J)&&Z!=null&&!G.hasOwnProperty(J))switch(J){case"value":break;case"children":break;default:p1(z,X,J,null,G,Z)}for(H in G)if(Z=G[H],$=Y[H],G.hasOwnProperty(H)&&(Z!=null||$!=null))switch(H){case"value":w=Z;break;case"defaultValue":P=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Z!==$&&p1(z,X,H,Z,G,$)}EZ(z,w,P);return;case"option":for(var h in Y)if(w=Y[h],Y.hasOwnProperty(h)&&w!=null&&!G.hasOwnProperty(h))switch(h){case"selected":z.selected=!1;break;default:p1(z,X,h,null,G,w)}for(Q in G)if(w=G[Q],P=Y[Q],G.hasOwnProperty(Q)&&w!==P&&(w!=null||P!=null))switch(Q){case"selected":z.selected=w&&typeof w!=="function"&&typeof w!=="symbol";break;default:p1(z,X,Q,w,G,P)}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 a in Y)w=Y[a],Y.hasOwnProperty(a)&&w!=null&&!G.hasOwnProperty(a)&&p1(z,X,a,null,G,w);for(B in G)if(w=G[B],P=Y[B],G.hasOwnProperty(B)&&w!==P&&(w!=null||P!=null))switch(B){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:p1(z,X,B,w,G,P)}return;default:if(z5(X)){for(var i1 in Y)w=Y[i1],Y.hasOwnProperty(i1)&&w!==void 0&&!G.hasOwnProperty(i1)&&DY(z,X,i1,void 0,G,w);for(L in G)w=G[L],P=Y[L],!G.hasOwnProperty(L)||w===P||w===void 0&&P===void 0||DY(z,X,L,w,G,P);return}}for(var v1 in Y)w=Y[v1],Y.hasOwnProperty(v1)&&w!=null&&!G.hasOwnProperty(v1)&&p1(z,X,v1,null,G,w);for(O in G)w=G[O],P=Y[O],!G.hasOwnProperty(O)||w===P||w==null&&P==null||p1(z,X,O,w,G,P)}function cJ(z){switch(z){case"class":return"className";case"for":return"htmlFor";default:return z}}function fY(z){var X={};z=z.style;for(var Y=0;Y<z.length;Y++){var G=z[Y];X[G]=z.getPropertyValue(G)}return X}function aJ(z,X,Y){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 G,Z=G="",$;for($ in X)if(X.hasOwnProperty($)){var H=X[$];H!=null&&typeof H!=="boolean"&&H!==""&&($.indexOf("--")===0?(o6(H,$),G+=Z+$+":"+(""+H).trim()):typeof H!=="number"||H===0||YB.has($)?(o6(H,$),G+=Z+$.replace(rQ,"-$1").toLowerCase().replace(tQ,"-ms-")+":"+(""+H).trim()):G+=Z+$.replace(rQ,"-$1").toLowerCase().replace(tQ,"-ms-")+":"+H+"px",Z=";")}G=G||null,X=z.getAttribute("style"),X!==G&&(G=K3(G),K3(X)!==G&&(Y.style=fY(z)))}}function C2(z,X,Y,G,Z,$){if(Z.delete(Y),z=z.getAttribute(Y),z===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(u1(G,X),z===""+G)return}T0(X,z,G,$)}function sJ(z,X,Y,G,Z,$){if(Z.delete(Y),z=z.getAttribute(Y),z===null){switch(typeof G){case"function":case"symbol":return}if(!G)return}else switch(typeof G){case"function":case"symbol":break;default:if(G)return}T0(X,z,G,$)}function yY(z,X,Y,G,Z,$){if(Z.delete(Y),z=z.getAttribute(Y),z===null)switch(typeof G){case"undefined":case"function":case"symbol":return}else if(G!=null)switch(typeof G){case"function":case"symbol":break;default:if(u1(G,Y),z===""+G)return}T0(X,z,G,$)}function oJ(z,X,Y,G,Z,$){if(Z.delete(Y),z=z.getAttribute(Y),z===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(G))return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!isNaN(G)&&(u1(G,X),z===""+G))return}T0(X,z,G,$)}function mY(z,X,Y,G,Z,$){if(Z.delete(Y),z=z.getAttribute(Y),z===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(u1(G,X),Y=X5(""+G),z===Y)return}T0(X,z,G,$)}function iJ(z,X,Y,G){for(var Z={},$=new Set,H=z.attributes,J=0;J<H.length;J++)switch(H[J].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:$.add(H[J].name)}if(z5(X)){for(var Q in Y)if(Y.hasOwnProperty(Q)){var B=Y[Q];if(B!=null){if(W8.hasOwnProperty(Q))typeof B!=="function"&&K4(Q,B);else if(Y.suppressHydrationWarning!==!0)switch(Q){case"children":typeof B!=="string"&&typeof B!=="number"||T0("children",z.textContent,B,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":H=z.innerHTML,B=B?B.__html:void 0,B!=null&&(B=lJ(z,B),T0(Q,H,B,Z));continue;case"style":$.delete(Q),aJ(z,B,Z);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":$.delete(Q.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",Q);continue;case"className":$.delete("class"),H=kZ(z,"class",B),T0("className",H,B,Z);continue;default:G.context===t4&&X!=="svg"&&X!=="math"?$.delete(Q.toLowerCase()):$.delete(Q),H=kZ(z,Q,B),T0(Q,H,B,Z)}}}}else for(B in Y)if(Y.hasOwnProperty(B)&&(Q=Y[B],Q!=null)){if(W8.hasOwnProperty(B))typeof Q!=="function"&&K4(B,Q);else if(Y.suppressHydrationWarning!==!0)switch(B){case"children":typeof Q!=="string"&&typeof Q!=="number"||T0("children",z.textContent,Q,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":H=z.innerHTML,Q=Q?Q.__html:void 0,Q!=null&&(Q=lJ(z,Q),H!==Q&&(Z[B]={__html:H}));continue;case"className":C2(z,B,"class",Q,$,Z);continue;case"tabIndex":C2(z,B,"tabindex",Q,$,Z);continue;case"style":$.delete(B),aJ(z,Q,Z);continue;case"multiple":$.delete(B),T0(B,z.multiple,Q,Z);continue;case"muted":$.delete(B),T0(B,z.muted,Q,Z);continue;case"autoFocus":$.delete("autofocus"),T0(B,z.autofocus,Q,Z);continue;case"data":if(X!=="object"){$.delete(B),H=z.getAttribute("data"),T0(B,H,Q,Z);continue}case"src":case"href":if(!(Q!==""||X==="a"&&B==="href"||X==="object"&&B==="data")){B==="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.',B,B):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.',B,B);continue}mY(z,B,B,Q,$,Z);continue;case"action":case"formAction":if(H=z.getAttribute(B),typeof Q==="function"){$.delete(B.toLowerCase()),B==="formAction"?($.delete("name"),$.delete("formenctype"),$.delete("formmethod"),$.delete("formtarget")):($.delete("enctype"),$.delete("method"),$.delete("target"));continue}else if(H===GK){$.delete(B.toLowerCase()),T0(B,"function",Q,Z);continue}mY(z,B,B.toLowerCase(),Q,$,Z);continue;case"xlinkHref":mY(z,B,"xlink:href",Q,$,Z);continue;case"contentEditable":yY(z,B,"contenteditable",Q,$,Z);continue;case"spellCheck":yY(z,B,"spellcheck",Q,$,Z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":yY(z,B,B,Q,$,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":sJ(z,B,B.toLowerCase(),Q,$,Z);continue;case"capture":case"download":z:{J=z;var L=H=B,O=Z;if($.delete(L),J=J.getAttribute(L),J===null)switch(typeof Q){case"undefined":case"function":case"symbol":break z;default:if(Q===!1)break z}else if(Q!=null)switch(typeof Q){case"function":case"symbol":break;case"boolean":if(Q===!0&&J==="")break z;break;default:if(u1(Q,H),J===""+Q)break z}T0(H,J,Q,O)}continue;case"cols":case"rows":case"size":case"span":z:{if(J=z,L=H=B,O=Z,$.delete(L),J=J.getAttribute(L),J===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":break z;default:if(isNaN(Q)||1>Q)break z}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(Q)||1>Q)&&(u1(Q,H),J===""+Q))break z}T0(H,J,Q,O)}continue;case"rowSpan":oJ(z,B,"rowspan",Q,$,Z);continue;case"start":oJ(z,B,B,Q,$,Z);continue;case"xHeight":C2(z,B,"x-height",Q,$,Z);continue;case"xlinkActuate":C2(z,B,"xlink:actuate",Q,$,Z);continue;case"xlinkArcrole":C2(z,B,"xlink:arcrole",Q,$,Z);continue;case"xlinkRole":C2(z,B,"xlink:role",Q,$,Z);continue;case"xlinkShow":C2(z,B,"xlink:show",Q,$,Z);continue;case"xlinkTitle":C2(z,B,"xlink:title",Q,$,Z);continue;case"xlinkType":C2(z,B,"xlink:type",Q,$,Z);continue;case"xmlBase":C2(z,B,"xml:base",Q,$,Z);continue;case"xmlLang":C2(z,B,"xml:lang",Q,$,Z);continue;case"xmlSpace":C2(z,B,"xml:space",Q,$,Z);continue;case"inert":Q!==""||D7[B]||(D7[B]=!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.",B)),sJ(z,B,B,Q,$,Z);continue;default:if(!(2<B.length)||B[0]!=="o"&&B[0]!=="O"||B[1]!=="n"&&B[1]!=="N"){J=nZ(B),H=!1,G.context===t4&&X!=="svg"&&X!=="math"?$.delete(J.toLowerCase()):(L=B.toLowerCase(),L=s9.hasOwnProperty(L)?s9[L]||null:null,L!==null&&L!==B&&(H=!0,$.delete(L)),$.delete(J));z:if(L=z,O=J,J=Q,n6(O))if(L.hasAttribute(O))L=L.getAttribute(O),u1(J,O),J=L===""+J?J:L;else{switch(typeof J){case"function":case"symbol":break z;case"boolean":if(L=O.toLowerCase().slice(0,5),L!=="data-"&&L!=="aria-")break z}J=J===void 0?void 0:null}else J=void 0;H||T0(B,J,Q,Z)}}}return 0<$.size&&Y.suppressHydrationWarning!==!0&&lU(z,$,Z),Object.keys(Z).length===0?null:Z}function cU(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 nJ(z){switch(z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function aU(){if(typeof performance.getEntriesByType==="function"){for(var z=0,X=0,Y=performance.getEntriesByType("resource"),G=0;G<Y.length;G++){var Z=Y[G],$=Z.transferSize,H=Z.initiatorType,J=Z.duration;if($&&J&&nJ(H)){H=0,J=Z.responseEnd;for(G+=1;G<Y.length;G++){var Q=Y[G],B=Q.startTime;if(B>J)break;var{transferSize:L,initiatorType:O}=Q;L&&nJ(O)&&(Q=Q.responseEnd,H+=L*(Q<J?1:(J-B)/(Q-B)))}if(--G,X+=8*($+H)/(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 S9(z){return z.nodeType===9?z:z.ownerDocument}function rJ(z){switch(z){case w6:return p6;case a9:return y7;default:return t4}}function tJ(z,X){if(z===t4)switch(X){case"svg":return p6;case"math":return y7;default:return t4}return z===p6&&X==="foreignObject"?t4:z}function EY(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 sU(){var z=window.event;if(z&&z.type==="popstate"){if(z===FZ)return!1;return FZ=z,!0}return FZ=null,!1}function v5(){var z=window.event;return z&&z!==Nz?z.type:null}function C5(){var z=window.event;return z&&z!==Nz?z.timeStamp:-1.1}function oU(z){setTimeout(function(){throw z})}function iU(z,X,Y){switch(X){case"button":case"input":case"select":case"textarea":Y.autoFocus&&z.focus();break;case"img":Y.src?z.src=Y.src:Y.srcSet&&(z.srcset=Y.srcSet)}}function nU(){}function rU(z,X,Y,G){pU(z,X,Y,G),z[l0]=G}function eJ(z){e6(z,"")}function tU(z,X,Y){z.nodeValue=Y}function zQ(z){if(!z.__reactWarnedAboutChildrenConflict){var X=z[l0]||null;if(X!==null){var Y=R1(z);Y!==null&&(typeof X.children==="string"||typeof X.children==="number"?(z.__reactWarnedAboutChildrenConflict=!0,s(Y,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,s(Y,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 _3(z){return z==="head"}function eU(z,X){z.removeChild(X)}function zW(z,X){(z.nodeType===9?z.body:z.nodeName==="HTML"?z.ownerDocument.body:z).removeChild(X)}function XQ(z,X){var Y=X,G=0;do{var Z=Y.nextSibling;if(z.removeChild(Y),Z&&Z.nodeType===8)if(Y=Z.data,Y===Fz||Y===f7){if(G===0){z.removeChild(Z),Q6(X);return}G--}else if(Y===Az||Y===h3||Y===b8||Y===l6||Y===g8)G++;else if(Y===$K)x5(z.ownerDocument.documentElement);else if(Y===JK){Y=z.ownerDocument.head,x5(Y);for(var $=Y.firstChild;$;){var{nextSibling:H,nodeName:J}=$;$[D5]||J==="SCRIPT"||J==="STYLE"||J==="LINK"&&$.rel.toLowerCase()==="stylesheet"||Y.removeChild($),$=H}}else Y===HK&&x5(z.ownerDocument.body);Y=Z}while(Y);Q6(X)}function YQ(z,X){var Y=z;z=0;do{var G=Y.nextSibling;if(Y.nodeType===1?X?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&(X?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),G&&G.nodeType===8)if(Y=G.data,Y===Fz)if(z===0)break;else z--;else Y!==Az&&Y!==h3&&Y!==b8&&Y!==l6||z++;Y=G}while(Y)}function XW(z){YQ(z,!0)}function YW(z){z=z.style,typeof z.setProperty==="function"?z.setProperty("display","none","important"):z.display="none"}function GW(z){z.nodeValue=""}function ZW(z){YQ(z,!1)}function $W(z,X){X=X[QK],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function HW(z,X){z.nodeValue=X}function hY(z){var X=z.firstChild;X&&X.nodeType===10&&(X=X.nextSibling);for(;X;){var Y=X;switch(X=X.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":hY(Y),u(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}z.removeChild(Y)}}function JW(z,X,Y,G){for(;z.nodeType===1;){var Z=Y;if(z.nodeName.toLowerCase()!==X.toLowerCase()){if(!G&&(z.nodeName!=="INPUT"||z.type!=="hidden"))break}else if(!G)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[D5])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=U2(z.nextSibling),z===null)break}return null}function QW(z,X,Y){if(X==="")return null;for(;z.nodeType!==3;){if((z.nodeType!==1||z.nodeName!=="INPUT"||z.type!=="hidden")&&!Y)return null;if(z=U2(z.nextSibling),z===null)return null}return z}function GQ(z,X){for(;z.nodeType!==8;){if((z.nodeType!==1||z.nodeName!=="INPUT"||z.type!=="hidden")&&!X)return null;if(z=U2(z.nextSibling),z===null)return null}return z}function dY(z){return z.data===h3||z.data===b8}function uY(z){return z.data===l6||z.data===h3&&z.ownerDocument.readyState!==aR}function BW(z,X){var Y=z.ownerDocument;if(z.data===b8)z._reactRetry=X;else if(z.data!==h3||Y.readyState!==aR)X();else{var G=function(){X(),Y.removeEventListener("DOMContentLoaded",G)};Y.addEventListener("DOMContentLoaded",G),z._reactRetry=G}}function U2(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===Az||X===l6||X===h3||X===b8||X===g8||X===OZ||X===cR)break;if(X===Fz||X===f7)return null}}return z}function ZQ(z){if(z.nodeType===1){for(var X=z.nodeName.toLowerCase(),Y={},G=z.attributes,Z=0;Z<G.length;Z++){var $=G[Z];Y[cJ($.name)]=$.name.toLowerCase()==="style"?fY(z):$.value}return{type:X,props:Y}}return z.nodeType===8?z.data===g8?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:z.nodeValue}function $Q(z,X,Y){return Y===null||Y[ZK]!==!0?(z.nodeValue===X?z=null:(X=K3(X),z=K3(z.nodeValue)===X?null:z.nodeValue),z):null}function lY(z){z=z.nextSibling;for(var X=0;z;){if(z.nodeType===8){var Y=z.data;if(Y===Fz||Y===f7){if(X===0)return U2(z.nextSibling);X--}else Y!==Az&&Y!==l6&&Y!==h3&&Y!==b8&&Y!==g8||X++}z=z.nextSibling}return null}function HQ(z){z=z.previousSibling;for(var X=0;z;){if(z.nodeType===8){var Y=z.data;if(Y===Az||Y===l6||Y===h3||Y===b8||Y===g8){if(X===0)return z;X--}else Y!==Fz&&Y!==f7||X++}z=z.previousSibling}return null}function RW(z){Q6(z)}function qW(z){Q6(z)}function UW(z){Q6(z)}function JQ(z,X,Y,G,Z){switch(Z&&zX(z,G.ancestorInfo),X=S9(Y),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 WW(z,X,Y,G){if(!Y[A3]&&R1(Y)){var Z=Y.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=Y.attributes;Z.length;)Y.removeAttributeNode(Z[0]);j0(Y,z,X),Y[V0]=G,Y[l0]=X}function x5(z){for(var X=z.attributes;X.length;)z.removeAttributeNode(X[0]);u(z)}function k9(z){return typeof z.getRootNode==="function"?z.getRootNode():z.nodeType===9?z:z.ownerDocument}function QQ(z,X,Y){var G=c6;if(G&&typeof X==="string"&&X){var Z=v2(X);Z='link[rel="'+z+'"][href="'+Z+'"]',typeof Y==="string"&&(Z+='[crossorigin="'+Y+'"]'),tR.has(Z)||(tR.add(Z),z={rel:z,crossOrigin:Y,href:X},G.querySelector(Z)===null&&(X=G.createElement("link"),j0(X,"link",z),X1(X),G.head.appendChild(X)))}}function BQ(z,X,Y,G){var Z=(Z=O3.current)?k9(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 Y.precedence==="string"&&typeof Y.href==="string"?(Y=H6(Y.href),X=g1(Z).hoistableStyles,G=X.get(Y),G||(G={type:"style",instance:null,count:0,state:null},X.set(Y,G)),G):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){z=H6(Y.href);var $=g1(Z).hoistableStyles,H=$.get(z);if(!H&&(Z=Z.ownerDocument||Z,H={type:"stylesheet",instance:null,count:0,state:{loading:V8,preload:null}},$.set(z,H),($=Z.querySelector(S5(z)))&&!$._p&&(H.instance=$,H.state.loading=Iz|m2),!E2.has(z))){var J={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};E2.set(z,J),$||wW(Z,z,J,H.state)}if(X&&G===null)throw Y=`
177
-
178
- - `+g9(X)+`
179
- + `+g9(Y),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."+Y);return H}if(X&&G!==null)throw Y=`
180
-
181
- - `+g9(X)+`
182
- + `+g9(Y),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."+Y);return null;case"script":return X=Y.async,Y=Y.src,typeof Y==="string"&&X&&typeof X!=="function"&&typeof X!=="symbol"?(Y=J6(Y),X=g1(Z).hoistableScripts,G=X.get(Y),G||(G={type:"script",instance:null,count:0,state:null},X.set(Y,G)),G):{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 g9(z){var X=0,Y="<link";return typeof z.rel==="string"?(X++,Y+=' rel="'+z.rel+'"'):p2.call(z,"rel")&&(X++,Y+=' rel="'+(z.rel===null?"null":"invalid type "+typeof z.rel)+'"'),typeof z.href==="string"?(X++,Y+=' href="'+z.href+'"'):p2.call(z,"href")&&(X++,Y+=' href="'+(z.href===null?"null":"invalid type "+typeof z.href)+'"'),typeof z.precedence==="string"?(X++,Y+=' precedence="'+z.precedence+'"'):p2.call(z,"precedence")&&(X++,Y+=" precedence={"+(z.precedence===null?"null":"invalid type "+typeof z.precedence)+"}"),Object.getOwnPropertyNames(z).length>X&&(Y+=" ..."),Y+" />"}function H6(z){return'href="'+v2(z)+'"'}function S5(z){return'link[rel="stylesheet"]['+z+"]"}function RQ(z){return F1({},z,{"data-precedence":z.precedence,precedence:null})}function wW(z,X,Y,G){z.querySelector('link[rel="preload"][as="style"]['+X+"]")?G.loading=Iz:(X=z.createElement("link"),G.preload=X,X.addEventListener("load",function(){return G.loading|=Iz}),X.addEventListener("error",function(){return G.loading|=nR}),j0(X,"link",Y),X1(X),z.head.appendChild(X))}function J6(z){return'[src="'+v2(z)+'"]'}function k5(z){return"script[async]"+z}function qQ(z,X,Y){if(X.count++,X.instance===null)switch(X.type){case"style":var G=z.querySelector('style[data-href~="'+v2(Y.href)+'"]');if(G)return X.instance=G,X1(G),G;var Z=F1({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return G=(z.ownerDocument||z).createElement("style"),X1(G),j0(G,"style",Z),b9(G,Y.precedence,z),X.instance=G;case"stylesheet":Z=H6(Y.href);var $=z.querySelector(S5(Z));if($)return X.state.loading|=m2,X.instance=$,X1($),$;G=RQ(Y),(Z=E2.get(Z))&&pY(G,Z),$=(z.ownerDocument||z).createElement("link"),X1($);var H=$;return H._p=new Promise(function(J,Q){H.onload=J,H.onerror=Q}),j0($,"link",G),X.state.loading|=m2,b9($,Y.precedence,z),X.instance=$;case"script":if($=J6(Y.src),Z=z.querySelector(k5($)))return X.instance=Z,X1(Z),Z;if(G=Y,Z=E2.get($))G=F1({},Y),cY(G,Z);return z=z.ownerDocument||z,Z=z.createElement("script"),X1(Z),j0(Z,"link",G),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&m2)===V8&&(G=X.instance,X.state.loading|=m2,b9(G,Y.precedence,z));return X.instance}function b9(z,X,Y){for(var G=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=G.length?G[G.length-1]:null,$=Z,H=0;H<G.length;H++){var J=G[H];if(J.dataset.precedence===X)$=J;else if($!==Z)break}$?$.parentNode.insertBefore(z,$.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(z,X.firstChild))}function pY(z,X){z.crossOrigin==null&&(z.crossOrigin=X.crossOrigin),z.referrerPolicy==null&&(z.referrerPolicy=X.referrerPolicy),z.title==null&&(z.title=X.title)}function cY(z,X){z.crossOrigin==null&&(z.crossOrigin=X.crossOrigin),z.referrerPolicy==null&&(z.referrerPolicy=X.referrerPolicy),z.integrity==null&&(z.integrity=X.integrity)}function UQ(z,X,Y){if(m7===null){var G=new Map,Z=m7=new Map;Z.set(Y,G)}else Z=m7,G=Z.get(Y),G||(G=new Map,Z.set(Y,G));if(G.has(z))return G;G.set(z,null),Y=Y.getElementsByTagName(z);for(Z=0;Z<Y.length;Z++){var $=Y[Z];if(!($[D5]||$[V0]||z==="link"&&$.getAttribute("rel")==="stylesheet")&&$.namespaceURI!==w6){var H=$.getAttribute(X)||"";H=z+H;var J=G.get(H);J?J.push($):G.set(H,[$])}}return G}function WQ(z,X,Y){z=z.ownerDocument||z,z.head.insertBefore(Y,X==="title"?z.querySelector("head > title"):null)}function KW(z,X,Y){var G=!Y.ancestorInfo.containerTagInScope;if(Y.context===p6||X.itemProp!=null)return!G||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===""){G&&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;Y=[],X.onLoad&&Y.push("`onLoad`"),Z&&Y.push("`onError`"),$!=null&&Y.push("`disabled`"),Z=cU(Y,"and"),Z+=Y.length===1?" prop":" props",$=Y.length===1?"an "+Z:"the "+Z,Y.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)}G&&(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"&&G&&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"){G&&(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":G&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",z)}return!1}function wQ(z){return z.type==="stylesheet"&&(z.state.loading&rR)===V8?!1:!0}function _W(z,X,Y,G){if(Y.type==="stylesheet"&&(typeof G.media!=="string"||matchMedia(G.media).matches!==!1)&&(Y.state.loading&m2)===V8){if(Y.instance===null){var Z=H6(G.href),$=X.querySelector(S5(Z));if($){X=$._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(z.count++,z=j9.bind(z),X.then(z,z)),Y.state.loading|=m2,Y.instance=$,X1($);return}$=X.ownerDocument||X,G=RQ(G),(Z=E2.get(Z))&&pY(G,Z),$=$.createElement("link"),X1($);var H=$;H._p=new Promise(function(J,Q){H.onload=J,H.onerror=Q}),j0($,"link",G),Y.instance=$}z.stylesheets===null&&(z.stylesheets=new Map),z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&rR)===V8&&(z.count++,Y=j9.bind(z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function LW(z,X){return z.stylesheets&&z.count===0&&V9(z,z.stylesheets),0<z.count||0<z.imgCount?function(Y){var G=setTimeout(function(){if(z.stylesheets&&V9(z,z.stylesheets),z.unsuspend){var $=z.unsuspend;z.unsuspend=null,$()}},qK+X);0<z.imgBytes&&IZ===0&&(IZ=125*aU()*WK);var Z=setTimeout(function(){if(z.waitingForImages=!1,z.count===0&&(z.stylesheets&&V9(z,z.stylesheets),z.unsuspend)){var $=z.unsuspend;z.unsuspend=null,$()}},(z.imgBytes>IZ?50:UK)+X);return z.unsuspend=Y,function(){z.unsuspend=null,clearTimeout(G),clearTimeout(Z)}}:null}function j9(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)V9(this,this.stylesheets);else if(this.unsuspend){var z=this.unsuspend;this.unsuspend=null,z()}}}function V9(z,X){z.stylesheets=null,z.unsuspend!==null&&(z.count++,E7=new Map,X.forEach(OW,z),E7=null,j9.call(z))}function OW(z,X){if(!(X.state.loading&m2)){var Y=E7.get(z);if(Y)var G=Y.get(PZ);else{Y=new Map,E7.set(z,Y);for(var Z=z.querySelectorAll("link[data-precedence],style[data-precedence]"),$=0;$<Z.length;$++){var H=Z[$];if(H.nodeName==="LINK"||H.getAttribute("media")!=="not all")Y.set(H.dataset.precedence,H),G=H}G&&Y.set(PZ,G)}Z=X.instance,H=Z.getAttribute("data-precedence"),$=Y.get(H)||G,$===G&&Y.set(PZ,Z),Y.set(H,Z),this.count++,G=j9.bind(this),Z.addEventListener("load",G),Z.addEventListener("error",G),$?$.parentNode.insertBefore(Z,$.nextSibling):(z=z.nodeType===9?z.head:z,z.insertBefore(Z,z.firstChild)),X.state.loading|=m2}}function MW(z,X,Y,G,Z,$,H,J,Q){this.tag=1,this.containerInfo=z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=j8,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=p8(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p8(0),this.hiddenUpdates=p8(null),this.identifierPrefix=G,this.onUncaughtError=Z,this.onCaughtError=$,this.onRecoverableError=H,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Q,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=Y?"hydrateRoot()":"createRoot()"}function KQ(z,X,Y,G,Z,$,H,J,Q,B,L,O){return z=new MW(z,X,Y,H,Q,B,L,O,J),X=mw,$===!0&&(X|=h0|a2),X|=_1,$=S(3,null,null,X),z.current=$,$.stateNode=z,X=MX(),H8(X),z.pooledCache=X,H8(X),$.memoizedState={element:G,isDehydrated:Y,cache:X},PX($),z}function _Q(z){if(!z)return P3;return z=P3,z}function aY(z,X,Y,G,Z,$){if(E0&&typeof E0.onScheduleFiberRoot==="function")try{E0.onScheduleFiberRoot(U6,G,Y)}catch(H){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",H))}Z=_Q(Z),G.context===null?G.context=Z:G.pendingContext=Z,O4&&w2!==null&&!Yq&&(Yq=!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.`,d(w2)||"Unknown")),G=B3(X),G.payload={element:Y},$=$===void 0?null:$,$!==null&&(typeof $!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$),G.callback=$),Y=R3(z,G,X),Y!==null&&(G4(X,"root.render()",null),H0(Y,z,X),R5(Y,z,X))}function LQ(z,X){if(z=z.memoizedState,z!==null&&z.dehydrated!==null){var Y=z.retryLane;z.retryLane=Y!==0&&Y<X?Y:X}}function sY(z,X){LQ(z,X),(z=z.alternate)&&LQ(z,X)}function OQ(z){if(z.tag===13||z.tag===31){var X=m0(z,67108864);X!==null&&H0(X,z,67108864),sY(z,67108864)}}function MQ(z){if(z.tag===13||z.tag===31){var X=q2(z);X=r3(X);var Y=m0(z,X);Y!==null&&H0(Y,z,X),sY(z,X)}}function AW(){return w2}function FW(z,X,Y,G){var Z=v.T;v.T=null;var $=V1.p;try{V1.p=K2,oY(z,X,Y,G)}finally{V1.p=$,v.T=Z}}function NW(z,X,Y,G){var Z=v.T;v.T=null;var $=V1.p;try{V1.p=c2,oY(z,X,Y,G)}finally{V1.p=$,v.T=Z}}function oY(z,X,Y,G){if(d7){var Z=iY(G);if(Z===null)jY(z,X,G,u7,Y),FQ(z,G);else if(IW(Z,z,X,Y,G))G.stopPropagation();else if(FQ(z,G),X&4&&-1<KK.indexOf(z)){for(;Z!==null;){var $=R1(Z);if($!==null)switch($.tag){case 3:if($=$.stateNode,$.current.memoizedState.isDehydrated){var H=e2($.pendingLanes);if(H!==0){var J=$;J.pendingLanes|=2;for(J.entangledLanes|=2;H;){var Q=1<<31-u0(H);J.entanglements[1]|=Q,H&=~Q}w4($),(k1&(I0|M2))===S0&&(P7=v0()+kR,P5(0,!1))}}break;case 31:case 13:J=m0($,2),J!==null&&H0(J,$,2),G6(),sY($,2)}if($=iY(G),$===null&&jY(z,X,G,u7,Y),$===Z)break;Z=$}Z!==null&&G.stopPropagation()}else jY(z,X,G,null,Y)}}function iY(z){return z=XX(z),nY(z)}function nY(z){if(u7=null,z=r(z),z!==null){var X=x1(z);if(X===null)z=null;else{var Y=X.tag;if(Y===13){if(z=l1(X),z!==null)return z;z=null}else if(Y===31){if(z=q0(X),z!==null)return z;z=null}else if(Y===3){if(X.stateNode.current.memoizedState.isDehydrated)return X.tag===3?X.stateNode.containerInfo:null;z=null}else X!==z&&(z=null)}}return u7=z,null}function AQ(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 K2;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(bW()){case BG:return K2;case RG:return c2;case q6:case jW:return F4;case qG:return p9;default:return F4}default:return F4}}function FQ(z,X){switch(z){case"focusin":case"focusout":d3=null;break;case"dragenter":case"dragleave":u3=null;break;case"mouseover":case"mouseout":l3=null;break;case"pointerover":case"pointerout":Tz.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":vz.delete(X.pointerId)}}function g5(z,X,Y,G,Z,$){if(z===null||z.nativeEvent!==$)return z={blockedOn:X,domEventName:Y,eventSystemFlags:G,nativeEvent:$,targetContainers:[Z]},X!==null&&(X=R1(X),X!==null&&OQ(X)),z;return z.eventSystemFlags|=G,X=z.targetContainers,Z!==null&&X.indexOf(Z)===-1&&X.push(Z),z}function IW(z,X,Y,G,Z){switch(X){case"focusin":return d3=g5(d3,z,X,Y,G,Z),!0;case"dragenter":return u3=g5(u3,z,X,Y,G,Z),!0;case"mouseover":return l3=g5(l3,z,X,Y,G,Z),!0;case"pointerover":var $=Z.pointerId;return Tz.set($,g5(Tz.get($)||null,z,X,Y,G,Z)),!0;case"gotpointercapture":return $=Z.pointerId,vz.set($,g5(vz.get($)||null,z,X,Y,G,Z)),!0}return!1}function NQ(z){var X=r(z.target);if(X!==null){var Y=x1(X);if(Y!==null){if(X=Y.tag,X===13){if(X=l1(Y),X!==null){z.blockedOn=X,f(z.priority,function(){MQ(Y)});return}}else if(X===31){if(X=q0(Y),X!==null){z.blockedOn=X,f(z.priority,function(){MQ(Y)});return}}else if(X===3&&Y.stateNode.current.memoizedState.isDehydrated){z.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}z.blockedOn=null}function D9(z){if(z.blockedOn!==null)return!1;for(var X=z.targetContainers;0<X.length;){var Y=iY(z.nativeEvent);if(Y===null){Y=z.nativeEvent;var G=new Y.constructor(Y.type,Y),Z=G;f5!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),f5=Z,Y.target.dispatchEvent(G),f5===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."),f5=null}else return X=R1(Y),X!==null&&OQ(X),z.blockedOn=Y,!1;X.shift()}return!0}function IQ(z,X,Y){D9(z)&&Y.delete(X)}function PW(){TZ=!1,d3!==null&&D9(d3)&&(d3=null),u3!==null&&D9(u3)&&(u3=null),l3!==null&&D9(l3)&&(l3=null),Tz.forEach(IQ),vz.forEach(IQ)}function f9(z,X){z.blockedOn===X&&(z.blockedOn=null,TZ||(TZ=!0,b1.unstable_scheduleCallback(b1.unstable_NormalPriority,PW)))}function PQ(z){l7!==z&&(l7=z,b1.unstable_scheduleCallback(b1.unstable_NormalPriority,function(){l7===z&&(l7=null);for(var X=0;X<z.length;X+=3){var Y=z[X],G=z[X+1],Z=z[X+2];if(typeof G!=="function")if(nY(G||Y)===null)continue;else break;var $=R1(Y);$!==null&&(z.splice(X,3),X-=3,Y={pending:!0,data:Z,method:Y.method,action:G},Object.freeze(Y),nX($,Y,G,Z))}}))}function Q6(z){function X(Q){return f9(Q,z)}d3!==null&&f9(d3,z),u3!==null&&f9(u3,z),l3!==null&&f9(l3,z),Tz.forEach(X),vz.forEach(X);for(var Y=0;Y<p3.length;Y++){var G=p3[Y];G.blockedOn===z&&(G.blockedOn=null)}for(;0<p3.length&&(Y=p3[0],Y.blockedOn===null);)NQ(Y),Y.blockedOn===null&&p3.shift();if(Y=(z.ownerDocument||z).$$reactFormReplay,Y!=null)for(G=0;G<Y.length;G+=3){var Z=Y[G],$=Y[G+1],H=Z[l0]||null;if(typeof $==="function")H||PQ(Y);else if(H){var J=null;if($&&$.hasAttribute("formAction")){if(Z=$,H=$[l0]||null)J=H.formAction;else if(nY(Z)!==null)continue}else J=H.action;typeof J==="function"?Y[G+1]=J:(Y.splice(G,3),G-=3),PQ(Y)}}}function TQ(){function z($){$.canIntercept&&$.info==="react-transition"&&$.intercept({handler:function(){return new Promise(function(H){return Z=H})},focusReset:"manual",scroll:"manual"})}function X(){Z!==null&&(Z(),Z=null),G||setTimeout(Y,20)}function Y(){if(!G&&!navigation.transition){var $=navigation.currentEntry;$&&$.url!=null&&navigation.navigate($.url,{state:$.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var G=!1,Z=null;return navigation.addEventListener("navigate",z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(Y,100),function(){G=!0,navigation.removeEventListener("navigate",z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),Z!==null&&(Z(),Z=null)}}}function rY(z){this._internalRoot=z}function y9(z){this._internalRoot=z}function vQ(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 F1=Object.assign,TW=Symbol.for("react.element"),_4=Symbol.for("react.transitional.element"),B6=Symbol.for("react.portal"),R6=Symbol.for("react.fragment"),m9=Symbol.for("react.strict_mode"),tY=Symbol.for("react.profiler"),eY=Symbol.for("react.consumer"),L4=Symbol.for("react.context"),b5=Symbol.for("react.forward_ref"),zG=Symbol.for("react.suspense"),XG=Symbol.for("react.suspense_list"),E9=Symbol.for("react.memo"),W2=Symbol.for("react.lazy"),YG=Symbol.for("react.activity"),vW=Symbol.for("react.memo_cache_sentinel"),CQ=Symbol.iterator,CW=Symbol.for("react.client.reference"),F0=Array.isArray,v=a6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V1=CZ.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xW=Object.freeze({pending:!1,data:null,method:null,action:null}),GG=[],ZG=[],m4=-1,L3=S1(null),j5=S1(null),O3=S1(null),h9=S1(null),V5=0,xQ,SQ,kQ,gQ,bQ,jQ,VQ;V.__reactDisabledLog=!0;var $G,DQ,HG=!1,JG=new(typeof WeakMap==="function"?WeakMap:Map),w2=null,O4=!1,p2=Object.prototype.hasOwnProperty,QG=b1.unstable_scheduleCallback,SW=b1.unstable_cancelCallback,kW=b1.unstable_shouldYield,gW=b1.unstable_requestPaint,v0=b1.unstable_now,bW=b1.unstable_getCurrentPriorityLevel,BG=b1.unstable_ImmediatePriority,RG=b1.unstable_UserBlockingPriority,q6=b1.unstable_NormalPriority,jW=b1.unstable_LowPriority,qG=b1.unstable_IdlePriority,VW=b1.log,DW=b1.unstable_setDisableYieldValue,U6=null,E0=null,M4=!1,A4=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",u0=Math.clz32?Math.clz32:xz,fW=Math.log,yW=Math.LN2,d9=256,u9=262144,l9=4194304,K2=2,c2=8,F4=32,p9=268435456,M3=Math.random().toString(36).slice(2),V0="__reactFiber$"+M3,l0="__reactProps$"+M3,A3="__reactContainer$"+M3,UG="__reactEvents$"+M3,mW="__reactListeners$"+M3,EW="__reactHandles$"+M3,fQ="__reactResources$"+M3,D5="__reactMarker$"+M3,yQ=new Set,W8={},WG={},hW={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},dW=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]*$"),mQ={},EQ={},uW=/[\n"\\]/g,hQ=!1,dQ=!1,uQ=!1,lQ=!1,pQ=!1,cQ=!1,aQ=["value","defaultValue"],sQ=!1,oQ=/["'&<>\n\t]|^\s|\s$/,lW="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(" "),iQ="applet caption html table td th marquee object template foreignObject desc title".split(" "),pW=iQ.concat(["button"]),cW="dd dt li option optgroup p rp rt".split(" "),nQ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},c9={},wG={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"]},rQ=/([A-Z])/g,tQ=/^ms-/,aW=/^(?:webkit|moz|o)[A-Z]/,sW=/^-ms-/,oW=/-(.)/g,eQ=/;\s*$/,W6={},KG={},zB=!1,XB=!1,YB=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(" ")),a9="http://www.w3.org/1998/Math/MathML",w6="http://www.w3.org/2000/svg",iW=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"]]),s9={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"},GB={"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},K6={},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]*$"),rW=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]*$"),ZB=!1,p0={},$B=/^on./,tW=/^on[^A-Z]/,eW=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]*$"),zw=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]*$"),Xw=/^[\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,f5=null,_6=null,L6=null,_G=!1,N4=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),LG=!1;if(N4)try{var y5={};Object.defineProperty(y5,"passive",{get:function(){LG=!0}}),window.addEventListener("test",y5,y5),window.removeEventListener("test",y5,y5)}catch(z){LG=!1}var F3=null,OG=null,o9=null,w8={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(z){return z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},i9=n0(w8),m5=F1({},w8,{view:0,detail:0}),Yw=n0(m5),MG,AG,E5,n9=F1({},m5,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:YX,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!==E5&&(E5&&z.type==="mousemove"?(MG=z.screenX-E5.screenX,AG=z.screenY-E5.screenY):AG=MG=0,E5=z),MG},movementY:function(z){return"movementY"in z?z.movementY:AG}}),HB=n0(n9),Gw=F1({},n9,{dataTransfer:0}),Zw=n0(Gw),$w=F1({},m5,{relatedTarget:0}),FG=n0($w),Hw=F1({},w8,{animationName:0,elapsedTime:0,pseudoElement:0}),Jw=n0(Hw),Qw=F1({},w8,{clipboardData:function(z){return"clipboardData"in z?z.clipboardData:window.clipboardData}}),Bw=n0(Qw),Rw=F1({},w8,{data:0}),JB=n0(Rw),qw=JB,Uw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ww={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"},ww={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Kw=F1({},m5,{key:function(z){if(z.key){var X=Uw[z.key]||z.key;if(X!=="Unidentified")return X}return z.type==="keypress"?(z=Dz(z),z===13?"Enter":String.fromCharCode(z)):z.type==="keydown"||z.type==="keyup"?Ww[z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:YX,charCode:function(z){return z.type==="keypress"?Dz(z):0},keyCode:function(z){return z.type==="keydown"||z.type==="keyup"?z.keyCode:0},which:function(z){return z.type==="keypress"?Dz(z):z.type==="keydown"||z.type==="keyup"?z.keyCode:0}}),_w=n0(Kw),Lw=F1({},n9,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),QB=n0(Lw),Ow=F1({},m5,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:YX}),Mw=n0(Ow),Aw=F1({},w8,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fw=n0(Aw),Nw=F1({},n9,{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}),Iw=n0(Nw),Pw=F1({},w8,{newState:0,oldState:0}),Tw=n0(Pw),vw=[9,13,27,32],BB=229,NG=N4&&"CompositionEvent"in window,h5=null;N4&&"documentMode"in document&&(h5=document.documentMode);var Cw=N4&&"TextEvent"in window&&!h5,RB=N4&&(!NG||h5&&8<h5&&11>=h5),qB=32,UB=String.fromCharCode(qB),WB=!1,O6=!1,xw={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},d5=null,u5=null,wB=!1;N4&&(wB=iq("input")&&(!document.documentMode||9<document.documentMode));var c0=typeof Object.is==="function"?Object.is:XU,Sw=N4&&"documentMode"in document&&11>=document.documentMode,M6=null,IG=null,l5=null,PG=!1,A6={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")},TG={},KB={};N4&&(KB=document.createElement("div").style,("AnimationEvent"in window)||(delete A6.animationend.animation,delete A6.animationiteration.animation,delete A6.animationstart.animation),("TransitionEvent"in window)||delete A6.transitionend.transition);var _B=z8("animationend"),LB=z8("animationiteration"),OB=z8("animationstart"),kw=z8("transitionrun"),gw=z8("transitionstart"),bw=z8("transitioncancel"),MB=z8("transitionend"),AB=new Map,vG="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(" ");vG.push("scrollEnd");var FB=0;if(typeof performance==="object"&&typeof performance.now==="function")var jw=performance,NB=function(){return jw.now()};else{var Vw=Date;NB=function(){return Vw.now()}}var CG=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)},Dw="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.",r9=0,xG=1,SG=2,kG=3,t9="– ",e9="+ ",IB="  ",n1=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",x2="Components ⚛",N1="Scheduler ⚛",I1="Blocking",N3=!1,E4={color:"primary",properties:null,tooltipText:"",track:x2},I3={start:-0,end:-0,detail:{devtools:E4}},fw=["Changed Props",""],PB="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",yw=["Changed Props",PB],p5=1,h4=2,S2=[],F6=0,gG=0,P3={};Object.freeze(P3);var k2=null,N6=null,H1=0,mw=1,_1=2,h0=8,a2=16,Ew=32,TB=!1;try{var vB=Object.preventExtensions({})}catch(z){TB=!0}var bG=new WeakMap,I6=[],P6=0,z7=null,c5=0,g2=[],b2=0,K8=null,d4=1,u4="",D0=null,r1=null,P1=!1,I4=!1,_2=null,T3=null,j2=!1,jG=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."),VG=S1(null),DG=S1(null),CB={},X7=null,T6=null,v6=!1,hw=typeof AbortController<"u"?AbortController:function(){var z=[],X=this.signal={aborted:!1,addEventListener:function(Y,G){z.push(G)}};this.abort=function(){X.aborted=!0,z.forEach(function(Y){return Y()})}},dw=b1.unstable_scheduleCallback,uw=b1.unstable_NormalPriority,w0={$$typeof:L4,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},K0=b1.unstable_now,Y7=console.createTask?console.createTask:function(){return null},a5=1,G7=2,C0=-0,v3=-0,l4=-0,p4=null,a0=-1.1,_8=-0,G0=-0,Y1=-1.1,Z1=-1.1,X0=null,J0=!1,C3=-0,P4=-1.1,s5=null,x3=0,fG=null,yG=null,L8=-1.1,o5=null,C6=-1.1,Z7=-1.1,T4=-0,c4=-1.1,V2=-1.1,mG=0,i5=null,xB=null,SB=null,S3=-1.1,O8=null,k3=-1.1,$7=-1.1,kB=-0,gB=-0,H7=0,a4=null,bB=0,n5=-1.1,J7=!1,Q7=!1,r5=null,EG=0,M8=0,x6=null,jB=v.S;v.S=function(z,X){if(xR=v0(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>c4&&0>V2){c4=K0();var Y=C5(),G=v5();if(Y!==k3||G!==O8)k3=-1.1;S3=Y,O8=G}QU(z,X)}jB!==null&&jB(z,X)};var A8=S1(null),s2={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},t5=[],e5=[],zz=[],Xz=[],Yz=[],Gz=[],F8=new Set;s2.recordUnsafeLifecycleWarnings=function(z,X){F8.has(z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&t5.push(z),z.mode&h0&&typeof X.UNSAFE_componentWillMount==="function"&&e5.push(z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&zz.push(z),z.mode&h0&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&Xz.push(z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&Yz.push(z),z.mode&h0&&typeof X.UNSAFE_componentWillUpdate==="function"&&Gz.push(z))},s2.flushPendingUnsafeLifecycleWarnings=function(){var z=new Set;0<t5.length&&(t5.forEach(function(J){z.add(d(J)||"Component"),F8.add(J.type)}),t5=[]);var X=new Set;0<e5.length&&(e5.forEach(function(J){X.add(d(J)||"Component"),F8.add(J.type)}),e5=[]);var Y=new Set;0<zz.length&&(zz.forEach(function(J){Y.add(d(J)||"Component"),F8.add(J.type)}),zz=[]);var G=new Set;0<Xz.length&&(Xz.forEach(function(J){G.add(d(J)||"Component"),F8.add(J.type)}),Xz=[]);var Z=new Set;0<Yz.length&&(Yz.forEach(function(J){Z.add(d(J)||"Component"),F8.add(J.type)}),Yz=[]);var $=new Set;if(0<Gz.length&&(Gz.forEach(function(J){$.add(d(J)||"Component"),F8.add(J.type)}),Gz=[]),0<X.size){var H=M(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`,H)}0<G.size&&(H=M(G),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`,H)),0<$.size&&(H=M($),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`,H)),0<z.size&&(H=M(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`,H)),0<Y.size&&(H=M(Y),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`,H)),0<Z.size&&(H=M(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`,H))};var B7=new Map,VB=new Set;s2.recordLegacyContextWarning=function(z,X){var Y=null;for(var G=z;G!==null;)G.mode&h0&&(Y=G),G=G.return;Y===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."):!VB.has(z.type)&&(G=B7.get(Y),z.type.contextTypes!=null||z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function")&&(G===void 0&&(G=[],B7.set(Y,G)),G.push(z))},s2.flushLegacyContextWarning=function(){B7.forEach(function(z){if(z.length!==0){var X=z[0],Y=new Set;z.forEach(function(Z){Y.add(d(Z)||"Component"),VB.add(Z.type)});var G=M(Y);s(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`,G)})}})},s2.discardPendingWarnings=function(){t5=[],e5=[],zz=[],Xz=[],Yz=[],Gz=[],B7=new Map};var DB={react_stack_bottom_frame:function(z,X,Y){var G=O4;O4=!0;try{return z(X,Y)}finally{O4=G}}},hG=DB.react_stack_bottom_frame.bind(DB),fB={react_stack_bottom_frame:function(z){var X=O4;O4=!0;try{return z.render()}finally{O4=X}}},yB=fB.react_stack_bottom_frame.bind(fB),mB={react_stack_bottom_frame:function(z,X){try{X.componentDidMount()}catch(Y){j1(z,z.return,Y)}}},dG=mB.react_stack_bottom_frame.bind(mB),EB={react_stack_bottom_frame:function(z,X,Y,G,Z){try{X.componentDidUpdate(Y,G,Z)}catch($){j1(z,z.return,$)}}},hB=EB.react_stack_bottom_frame.bind(EB),dB={react_stack_bottom_frame:function(z,X){var Y=X.stack;z.componentDidCatch(X.value,{componentStack:Y!==null?Y:""})}},lw=dB.react_stack_bottom_frame.bind(dB),uB={react_stack_bottom_frame:function(z,X,Y){try{Y.componentWillUnmount()}catch(G){j1(z,X,G)}}},lB=uB.react_stack_bottom_frame.bind(uB),pB={react_stack_bottom_frame:function(z){var X=z.create;return z=z.inst,X=X(),z.destroy=X}},pw=pB.react_stack_bottom_frame.bind(pB),cB={react_stack_bottom_frame:function(z,X,Y){try{Y()}catch(G){j1(z,X,G)}}},cw=cB.react_stack_bottom_frame.bind(cB),aB={react_stack_bottom_frame:function(z){var X=z._init;return X(z._payload)}},aw=aB.react_stack_bottom_frame.bind(aB),S6=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`."),uG=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."),R7=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."),q7={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.')}},N8=null,Zz=!1,k6=null,$z=0,L1=null,lG,sB=lG=!1,oB={},iB={},nB={};C=function(z,X,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._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.");Y._store.validated=1;var G=d(z),Z=G||"null";if(!oB[Z]){oB[Z]=!0,Y=Y._owner,z=z._debugOwner;var $="";z&&typeof z.tag==="number"&&(Z=d(z))&&($=`
220
-
221
- Check the render method of \``+Z+"`."),$||G&&($=`
222
-
223
- Check the top-level render call using <`+G+">.");var H="";Y!=null&&z!==Y&&(G=null,typeof Y.tag==="number"?G=d(Y):typeof Y.name==="string"&&(G=Y.name),G&&(H=" It was passed a child from "+G+".")),s(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.',$,H)})}}};var I8=u$(!0),rB=u$(!1),tB=0,eB=1,zR=2,pG=3,g3=!1,XR=!1,cG=null,aG=!1,g6=S1(null),U7=S1(0),L2=S1(null),D2=null,b6=1,Hz=2,U0=S1(0),W7=0,f2=1,s0=2,O2=4,o0=8,j6,YR=new Set,GR=new Set,sG=new Set,ZR=new Set,s4=0,J1=null,c1=null,_0=null,w7=!1,V6=!1,P8=!1,K7=0,Jz=0,o4=null,sw=0,ow=25,T=null,y2=null,i4=-1,Qz=!1,Bz={readContext:z0,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};Bz.useEffectEvent=B0;var oG=null,$R=null,iG=null,HR=null,v4=null,o2=null,_7=null;oG={readContext:function(z){return z0(z)},use:W3,useCallback:function(z,X){return T="useCallback",A1(),n8(X),aX(z,X)},useContext:function(z){return T="useContext",A1(),z0(z)},useEffect:function(z,X){return T="useEffect",A1(),n8(X),B9(z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",A1(),n8(Y),cX(z,X,Y)},useInsertionEffect:function(z,X){T="useInsertionEffect",A1(),n8(X),Q8(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",A1(),n8(X),pX(z,X)},useMemo:function(z,X){T="useMemo",A1(),n8(X);var Y=v.H;v.H=v4;try{return sX(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",A1();var G=v.H;v.H=v4;try{return DX(z,X,Y)}finally{v.H=G}},useRef:function(z){return T="useRef",A1(),uX(z)},useState:function(z){T="useState",A1();var X=v.H;v.H=v4;try{return EX(z)}finally{v.H=X}},useDebugValue:function(){T="useDebugValue",A1()},useDeferredValue:function(z,X){return T="useDeferredValue",A1(),oX(z,X)},useTransition:function(){return T="useTransition",A1(),rX()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",A1(),yX(z,X,Y)},useId:function(){return T="useId",A1(),tX()},useFormState:function(z,X){return T="useFormState",A1(),Z9(),t8(z,X)},useActionState:function(z,X){return T="useActionState",A1(),t8(z,X)},useOptimistic:function(z){return T="useOptimistic",A1(),hX(z)},useHostTransitionStatus:B8,useMemoCache:J8,useCacheRefresh:function(){return T="useCacheRefresh",A1(),eX()},useEffectEvent:function(z){return T="useEffectEvent",A1(),lX(z)}},$R={readContext:function(z){return z0(z)},use:W3,useCallback:function(z,X){return T="useCallback",D(),aX(z,X)},useContext:function(z){return T="useContext",D(),z0(z)},useEffect:function(z,X){return T="useEffect",D(),B9(z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",D(),cX(z,X,Y)},useInsertionEffect:function(z,X){T="useInsertionEffect",D(),Q8(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",D(),pX(z,X)},useMemo:function(z,X){T="useMemo",D();var Y=v.H;v.H=v4;try{return sX(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",D();var G=v.H;v.H=v4;try{return DX(z,X,Y)}finally{v.H=G}},useRef:function(z){return T="useRef",D(),uX(z)},useState:function(z){T="useState",D();var X=v.H;v.H=v4;try{return EX(z)}finally{v.H=X}},useDebugValue:function(){T="useDebugValue",D()},useDeferredValue:function(z,X){return T="useDeferredValue",D(),oX(z,X)},useTransition:function(){return T="useTransition",D(),rX()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",D(),yX(z,X,Y)},useId:function(){return T="useId",D(),tX()},useActionState:function(z,X){return T="useActionState",D(),t8(z,X)},useFormState:function(z,X){return T="useFormState",D(),Z9(),t8(z,X)},useOptimistic:function(z){return T="useOptimistic",D(),hX(z)},useHostTransitionStatus:B8,useMemoCache:J8,useCacheRefresh:function(){return T="useCacheRefresh",D(),eX()},useEffectEvent:function(z){return T="useEffectEvent",D(),lX(z)}},iG={readContext:function(z){return z0(z)},use:W3,useCallback:function(z,X){return T="useCallback",D(),U9(z,X)},useContext:function(z){return T="useContext",D(),z0(z)},useEffect:function(z,X){T="useEffect",D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",D(),q9(z,X,Y)},useInsertionEffect:function(z,X){return T="useInsertionEffect",D(),r0(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",D(),r0(4,O2,z,X)},useMemo:function(z,X){T="useMemo",D();var Y=v.H;v.H=o2;try{return W9(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",D();var G=v.H;v.H=o2;try{return r8(z,X,Y)}finally{v.H=G}},useRef:function(){return T="useRef",D(),E1().memoizedState},useState:function(){T="useState",D();var z=v.H;v.H=o2;try{return r8(u2)}finally{v.H=z}},useDebugValue:function(){T="useDebugValue",D()},useDeferredValue:function(z,X){return T="useDeferredValue",D(),RH(z,X)},useTransition:function(){return T="useTransition",D(),_H()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",D(),H9(z,X,Y)},useId:function(){return T="useId",D(),E1().memoizedState},useFormState:function(z){return T="useFormState",D(),Z9(),J9(z)},useActionState:function(z){return T="useActionState",D(),J9(z)},useOptimistic:function(z,X){return T="useOptimistic",D(),zH(z,X)},useHostTransitionStatus:B8,useMemoCache:J8,useCacheRefresh:function(){return T="useCacheRefresh",D(),E1().memoizedState},useEffectEvent:function(z){return T="useEffectEvent",D(),R9(z)}},HR={readContext:function(z){return z0(z)},use:W3,useCallback:function(z,X){return T="useCallback",D(),U9(z,X)},useContext:function(z){return T="useContext",D(),z0(z)},useEffect:function(z,X){T="useEffect",D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",D(),q9(z,X,Y)},useInsertionEffect:function(z,X){return T="useInsertionEffect",D(),r0(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",D(),r0(4,O2,z,X)},useMemo:function(z,X){T="useMemo",D();var Y=v.H;v.H=_7;try{return W9(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",D();var G=v.H;v.H=_7;try{return w5(z,X,Y)}finally{v.H=G}},useRef:function(){return T="useRef",D(),E1().memoizedState},useState:function(){T="useState",D();var z=v.H;v.H=_7;try{return w5(u2)}finally{v.H=z}},useDebugValue:function(){T="useDebugValue",D()},useDeferredValue:function(z,X){return T="useDeferredValue",D(),qH(z,X)},useTransition:function(){return T="useTransition",D(),LH()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",D(),H9(z,X,Y)},useId:function(){return T="useId",D(),E1().memoizedState},useFormState:function(z){return T="useFormState",D(),Z9(),Q9(z)},useActionState:function(z){return T="useActionState",D(),Q9(z)},useOptimistic:function(z,X){return T="useOptimistic",D(),YH(z,X)},useHostTransitionStatus:B8,useMemoCache:J8,useCacheRefresh:function(){return T="useCacheRefresh",D(),E1().memoizedState},useEffectEvent:function(z){return T="useEffectEvent",D(),R9(z)}},v4={readContext:function(z){return y(),z0(z)},use:function(z){return N(),W3(z)},useCallback:function(z,X){return T="useCallback",N(),A1(),aX(z,X)},useContext:function(z){return T="useContext",N(),A1(),z0(z)},useEffect:function(z,X){return T="useEffect",N(),A1(),B9(z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",N(),A1(),cX(z,X,Y)},useInsertionEffect:function(z,X){T="useInsertionEffect",N(),A1(),Q8(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",N(),A1(),pX(z,X)},useMemo:function(z,X){T="useMemo",N(),A1();var Y=v.H;v.H=v4;try{return sX(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",N(),A1();var G=v.H;v.H=v4;try{return DX(z,X,Y)}finally{v.H=G}},useRef:function(z){return T="useRef",N(),A1(),uX(z)},useState:function(z){T="useState",N(),A1();var X=v.H;v.H=v4;try{return EX(z)}finally{v.H=X}},useDebugValue:function(){T="useDebugValue",N(),A1()},useDeferredValue:function(z,X){return T="useDeferredValue",N(),A1(),oX(z,X)},useTransition:function(){return T="useTransition",N(),A1(),rX()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",N(),A1(),yX(z,X,Y)},useId:function(){return T="useId",N(),A1(),tX()},useFormState:function(z,X){return T="useFormState",N(),A1(),t8(z,X)},useActionState:function(z,X){return T="useActionState",N(),A1(),t8(z,X)},useOptimistic:function(z){return T="useOptimistic",N(),A1(),hX(z)},useMemoCache:function(z){return N(),J8(z)},useHostTransitionStatus:B8,useCacheRefresh:function(){return T="useCacheRefresh",A1(),eX()},useEffectEvent:function(z){return T="useEffectEvent",N(),A1(),lX(z)}},o2={readContext:function(z){return y(),z0(z)},use:function(z){return N(),W3(z)},useCallback:function(z,X){return T="useCallback",N(),D(),U9(z,X)},useContext:function(z){return T="useContext",N(),D(),z0(z)},useEffect:function(z,X){T="useEffect",N(),D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",N(),D(),q9(z,X,Y)},useInsertionEffect:function(z,X){return T="useInsertionEffect",N(),D(),r0(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",N(),D(),r0(4,O2,z,X)},useMemo:function(z,X){T="useMemo",N(),D();var Y=v.H;v.H=o2;try{return W9(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",N(),D();var G=v.H;v.H=o2;try{return r8(z,X,Y)}finally{v.H=G}},useRef:function(){return T="useRef",N(),D(),E1().memoizedState},useState:function(){T="useState",N(),D();var z=v.H;v.H=o2;try{return r8(u2)}finally{v.H=z}},useDebugValue:function(){T="useDebugValue",N(),D()},useDeferredValue:function(z,X){return T="useDeferredValue",N(),D(),RH(z,X)},useTransition:function(){return T="useTransition",N(),D(),_H()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",N(),D(),H9(z,X,Y)},useId:function(){return T="useId",N(),D(),E1().memoizedState},useFormState:function(z){return T="useFormState",N(),D(),J9(z)},useActionState:function(z){return T="useActionState",N(),D(),J9(z)},useOptimistic:function(z,X){return T="useOptimistic",N(),D(),zH(z,X)},useMemoCache:function(z){return N(),J8(z)},useHostTransitionStatus:B8,useCacheRefresh:function(){return T="useCacheRefresh",D(),E1().memoizedState},useEffectEvent:function(z){return T="useEffectEvent",N(),D(),R9(z)}},_7={readContext:function(z){return y(),z0(z)},use:function(z){return N(),W3(z)},useCallback:function(z,X){return T="useCallback",N(),D(),U9(z,X)},useContext:function(z){return T="useContext",N(),D(),z0(z)},useEffect:function(z,X){T="useEffect",N(),D(),r0(2048,o0,z,X)},useImperativeHandle:function(z,X,Y){return T="useImperativeHandle",N(),D(),q9(z,X,Y)},useInsertionEffect:function(z,X){return T="useInsertionEffect",N(),D(),r0(4,s0,z,X)},useLayoutEffect:function(z,X){return T="useLayoutEffect",N(),D(),r0(4,O2,z,X)},useMemo:function(z,X){T="useMemo",N(),D();var Y=v.H;v.H=o2;try{return W9(z,X)}finally{v.H=Y}},useReducer:function(z,X,Y){T="useReducer",N(),D();var G=v.H;v.H=o2;try{return w5(z,X,Y)}finally{v.H=G}},useRef:function(){return T="useRef",N(),D(),E1().memoizedState},useState:function(){T="useState",N(),D();var z=v.H;v.H=o2;try{return w5(u2)}finally{v.H=z}},useDebugValue:function(){T="useDebugValue",N(),D()},useDeferredValue:function(z,X){return T="useDeferredValue",N(),D(),qH(z,X)},useTransition:function(){return T="useTransition",N(),D(),LH()},useSyncExternalStore:function(z,X,Y){return T="useSyncExternalStore",N(),D(),H9(z,X,Y)},useId:function(){return T="useId",N(),D(),E1().memoizedState},useFormState:function(z){return T="useFormState",N(),D(),Q9(z)},useActionState:function(z){return T="useActionState",N(),D(),Q9(z)},useOptimistic:function(z,X){return T="useOptimistic",N(),D(),YH(z,X)},useMemoCache:function(z){return N(),J8(z)},useHostTransitionStatus:B8,useCacheRefresh:function(){return T="useCacheRefresh",D(),E1().memoizedState},useEffectEvent:function(z){return T="useEffectEvent",N(),D(),R9(z)}};var JR={},QR=new Set,BR=new Set,RR=new Set,qR=new Set,UR=new Set,WR=new Set,wR=new Set,KR=new Set,_R=new Set,LR=new Set;Object.freeze(JR);var nG={enqueueSetState:function(z,X,Y){z=z._reactInternals;var G=q2(z),Z=B3(G);Z.payload=X,Y!==void 0&&Y!==null&&(XY(Y),Z.callback=Y),X=R3(z,Z,G),X!==null&&(G4(G,"this.setState()",z),H0(X,z,G),R5(X,z,G))},enqueueReplaceState:function(z,X,Y){z=z._reactInternals;var G=q2(z),Z=B3(G);Z.tag=eB,Z.payload=X,Y!==void 0&&Y!==null&&(XY(Y),Z.callback=Y),X=R3(z,Z,G),X!==null&&(G4(G,"this.replaceState()",z),H0(X,z,G),R5(X,z,G))},enqueueForceUpdate:function(z,X){z=z._reactInternals;var Y=q2(z),G=B3(Y);G.tag=zR,X!==void 0&&X!==null&&(XY(X),G.callback=X),X=R3(z,G,Y),X!==null&&(G4(Y,"this.forceUpdate()",z),H0(X,z,Y),R5(X,z,Y))}},D6=null,rG=null,tG=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."),L0=!1,OR={},MR={},AR={},FR={},f6=!1,NR={},L7={},eG={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},IR=!1,PR=null;PR=new Set;var n4=!1,O0=!1,zZ=!1,TR=typeof WeakSet==="function"?WeakSet:Set,x0=null,y6=null,m6=null,M0=null,z2=!1,i2=null,N0=!1,Rz=8192,iw={getCacheForType:function(z){var X=z0(w0),Y=X.data.get(z);return Y===void 0&&(Y=z(),X.data.set(z,Y)),Y},cacheSignal:function(){return z0(w0).controller.signal},getOwner:function(){return w2}};if(typeof Symbol==="function"&&Symbol.for){var qz=Symbol.for;qz("selector.component"),qz("selector.has_pseudo_class"),qz("selector.role"),qz("selector.test_id"),qz("selector.text")}var nw=[],rw=typeof WeakMap==="function"?WeakMap:Map,S0=0,I0=2,M2=4,r4=0,Uz=1,T8=2,O7=3,b3=4,M7=6,vR=5,k1=S0,a1=null,M1=null,O1=0,X2=0,A7=1,v8=2,Wz=3,CR=4,XZ=5,wz=6,F7=7,YZ=8,C8=9,h1=X2,A2=null,j3=!1,E6=!1,GZ=!1,C4=0,Z0=r4,V3=0,D3=0,ZZ=0,Y2=0,x8=0,Kz=null,i0=null,N7=!1,I7=0,xR=0,SR=300,P7=1/0,kR=500,_z=null,R0=null,f3=null,T7=0,$Z=1,HZ=2,gR=3,y3=0,bR=1,jR=2,VR=3,DR=4,v7=5,A0=0,m3=null,h6=null,n2=0,JZ=0,QZ=-0,BZ=null,fR=null,yR=null,r2=T7,mR=null,tw=50,Lz=0,RZ=null,qZ=!1,C7=!1,ew=50,S8=0,Oz=null,d6=!1,x7=null,ER=!1,hR=new Set,zK={},S7=null,u6=null,UZ=!1,WZ=!1,k7=!1,wZ=!1,E3=0,KZ={};(function(){for(var z=0;z<vG.length;z++){var X=vG[z],Y=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),d2(Y,"on"+X)}d2(_B,"onAnimationEnd"),d2(LB,"onAnimationIteration"),d2(OB,"onAnimationStart"),d2("dblclick","onDoubleClick"),d2("focusin","onFocus"),d2("focusout","onBlur"),d2(kw,"onTransitionRun"),d2(gw,"onTransitionStart"),d2(bw,"onTransitionCancel"),d2(MB,"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 Mz="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(" "),_Z=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Mz)),g7="_reactListening"+Math.random().toString(36).slice(2),dR=!1,uR=!1,b7=!1,lR=!1,j7=!1,V7=!1,pR=!1,D7={},XK=/\r\n?/g,YK=/\u0000|\uFFFD/g,k8="http://www.w3.org/1999/xlink",LZ="http://www.w3.org/XML/1998/namespace",GK="javascript:throw new Error('React form unexpectedly submitted.')",ZK="suppressHydrationWarning",g8="&",f7="/&",Az="$",Fz="/$",h3="$?",b8="$~",l6="$!",$K="html",HK="body",JK="head",OZ="F!",cR="F",aR="loading",QK="style",t4=0,p6=1,y7=2,MZ=null,AZ=null,sR={dialog:!0,webview:!0},FZ=null,Nz=void 0,oR=typeof setTimeout==="function"?setTimeout:void 0,BK=typeof clearTimeout==="function"?clearTimeout:void 0,j8=-1,iR=typeof Promise==="function"?Promise:void 0,RK=typeof queueMicrotask==="function"?queueMicrotask:typeof iR<"u"?function(z){return iR.resolve(null).then(z).catch(oU)}:oR,NZ=null,V8=0,Iz=1,nR=2,rR=3,m2=4,E2=new Map,tR=new Set,e4=V1.d;V1.d={f:function(){var z=e4.f(),X=G6();return z||X},r:function(z){var X=R1(z);X!==null&&X.tag===5&&X.type==="form"?KH(X):e4.r(z)},D:function(z){e4.D(z),QQ("dns-prefetch",z,null)},C:function(z,X){e4.C(z,X),QQ("preconnect",z,X)},L:function(z,X,Y){e4.L(z,X,Y);var G=c6;if(G&&z&&X){var Z='link[rel="preload"][as="'+v2(X)+'"]';X==="image"?Y&&Y.imageSrcSet?(Z+='[imagesrcset="'+v2(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(Z+='[imagesizes="'+v2(Y.imageSizes)+'"]')):Z+='[href="'+v2(z)+'"]':Z+='[href="'+v2(z)+'"]';var $=Z;switch(X){case"style":$=H6(z);break;case"script":$=J6(z)}E2.has($)||(z=F1({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:z,as:X},Y),E2.set($,z),G.querySelector(Z)!==null||X==="style"&&G.querySelector(S5($))||X==="script"&&G.querySelector(k5($))||(X=G.createElement("link"),j0(X,"link",z),X1(X),G.head.appendChild(X)))}},m:function(z,X){e4.m(z,X);var Y=c6;if(Y&&z){var G=X&&typeof X.as==="string"?X.as:"script",Z='link[rel="modulepreload"][as="'+v2(G)+'"][href="'+v2(z)+'"]',$=Z;switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":$=J6(z)}if(!E2.has($)&&(z=F1({rel:"modulepreload",href:z},X),E2.set($,z),Y.querySelector(Z)===null)){switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(k5($)))return}G=Y.createElement("link"),j0(G,"link",z),X1(G),Y.head.appendChild(G)}}},X:function(z,X){e4.X(z,X);var Y=c6;if(Y&&z){var G=g1(Y).hoistableScripts,Z=J6(z),$=G.get(Z);$||($=Y.querySelector(k5(Z)),$||(z=F1({src:z,async:!0},X),(X=E2.get(Z))&&cY(z,X),$=Y.createElement("script"),X1($),j0($,"link",z),Y.head.appendChild($)),$={type:"script",instance:$,count:1,state:null},G.set(Z,$))}},S:function(z,X,Y){e4.S(z,X,Y);var G=c6;if(G&&z){var Z=g1(G).hoistableStyles,$=H6(z);X=X||"default";var H=Z.get($);if(!H){var J={loading:V8,preload:null};if(H=G.querySelector(S5($)))J.loading=Iz|m2;else{z=F1({rel:"stylesheet",href:z,"data-precedence":X},Y),(Y=E2.get($))&&pY(z,Y);var Q=H=G.createElement("link");X1(Q),j0(Q,"link",z),Q._p=new Promise(function(B,L){Q.onload=B,Q.onerror=L}),Q.addEventListener("load",function(){J.loading|=Iz}),Q.addEventListener("error",function(){J.loading|=nR}),J.loading|=m2,b9(H,X,G)}H={type:"stylesheet",instance:H,count:1,state:J},Z.set($,H)}}},M:function(z,X){e4.M(z,X);var Y=c6;if(Y&&z){var G=g1(Y).hoistableScripts,Z=J6(z),$=G.get(Z);$||($=Y.querySelector(k5(Z)),$||(z=F1({src:z,async:!0,type:"module"},X),(X=E2.get(Z))&&cY(z,X),$=Y.createElement("script"),X1($),j0($,"link",z),Y.head.appendChild($)),$={type:"script",instance:$,count:1,state:null},G.set(Z,$))}}};var c6=typeof document>"u"?null:document,m7=null,qK=60000,UK=800,WK=500,IZ=0,PZ=null,E7=null,D8=xW,Pz={$$typeof:L4,Provider:null,Consumer:null,_currentValue:D8,_currentValue2:D8,_threadCount:0},eR="%c%s%c",zq="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",Xq="",h7=" ",wK=Function.prototype.bind,Yq=!1,Gq=null,Zq=null,$q=null,Hq=null,Jq=null,Qq=null,Bq=null,Rq=null,qq=null,Uq=null;Gq=function(z,X,Y,G){X=U(z,X),X!==null&&(Y=A(X.memoizedState,Y,0,G),X.memoizedState=Y,X.baseState=Y,z.memoizedProps=F1({},z.memoizedProps),Y=m0(z,2),Y!==null&&H0(Y,z,2))},Zq=function(z,X,Y){X=U(z,X),X!==null&&(Y=k(X.memoizedState,Y,0),X.memoizedState=Y,X.baseState=Y,z.memoizedProps=F1({},z.memoizedProps),Y=m0(z,2),Y!==null&&H0(Y,z,2))},$q=function(z,X,Y,G){X=U(z,X),X!==null&&(Y=I(X.memoizedState,Y,G),X.memoizedState=Y,X.baseState=Y,z.memoizedProps=F1({},z.memoizedProps),Y=m0(z,2),Y!==null&&H0(Y,z,2))},Hq=function(z,X,Y){z.pendingProps=A(z.memoizedProps,X,0,Y),z.alternate&&(z.alternate.pendingProps=z.pendingProps),X=m0(z,2),X!==null&&H0(X,z,2)},Jq=function(z,X){z.pendingProps=k(z.memoizedProps,X,0),z.alternate&&(z.alternate.pendingProps=z.pendingProps),X=m0(z,2),X!==null&&H0(X,z,2)},Qq=function(z,X,Y){z.pendingProps=I(z.memoizedProps,X,Y),z.alternate&&(z.alternate.pendingProps=z.pendingProps),X=m0(z,2),X!==null&&H0(X,z,2)},Bq=function(z){var X=m0(z,2);X!==null&&H0(X,z,2)},Rq=function(z){var X=l8(),Y=m0(z,X);Y!==null&&H0(Y,z,X)},qq=function(z){E=z},Uq=function(z){g=z};var d7=!0,u7=null,TZ=!1,d3=null,u3=null,l3=null,Tz=new Map,vz=new Map,p3=[],KK="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(" "),l7=null;if(y9.prototype.render=rY.prototype.render=function(z){var X=this._internalRoot;if(X===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[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()."):U1(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=z;var G=X.current,Z=q2(G);aY(G,Z,Y,X,null,null)},y9.prototype.unmount=rY.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;(k1&(I0|M2))!==S0&&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."),aY(z.current,2,null,z,null,null),G6(),X[A3]=null}},y9.prototype.unstable_scheduleHydration=function(z){if(z){var X=F();z={blockedOn:null,target:z,priority:X};for(var Y=0;Y<p3.length&&X!==0&&X<p3[Y].priority;Y++);p3.splice(Y,0,z),Y===0&&NQ(z)}},function(){var z=a6.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"),V1.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=I2(X),z=z!==null?h2(z):null,z=z===null?null:z.stateNode,z},!function(){var z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:v,reconcilerVersion:"19.2.7"};return z.overrideHookState=Gq,z.overrideHookStateDeletePath=Zq,z.overrideHookStateRenamePath=$q,z.overrideProps=Hq,z.overridePropsDeletePath=Jq,z.overridePropsRenamePath=Qq,z.scheduleUpdate=Bq,z.scheduleRetry=Rq,z.setErrorHandler=qq,z.setSuspenseHandler=Uq,z.scheduleRefresh=n,z.scheduleRoot=j,z.setRefreshHandler=e,z.getCurrentFiber=AW,u8(z)}()&&N4&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Wq=window.location.protocol;/^(https?|file):$/.test(Wq)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Wq==="file:"?`
227
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}xK.createRoot=function(z,X){if(!U1(z))throw Error("Target container is not a DOM element.");vQ(z);var Y=!1,G="",Z=IH,$=PH,H=TH;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===_4&&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&&(Y=!0),X.identifierPrefix!==void 0&&(G=X.identifierPrefix),X.onUncaughtError!==void 0&&(Z=X.onUncaughtError),X.onCaughtError!==void 0&&($=X.onCaughtError),X.onRecoverableError!==void 0&&(H=X.onRecoverableError)),X=KQ(z,1,!1,null,null,Y,G,null,Z,$,H,TQ),z[A3]=X.current,bY(z),new rY(X)},xK.hydrateRoot=function(z,X,Y){if(!U1(z))throw Error("Target container is not a DOM element.");vQ(z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=!1,Z="",$=IH,H=PH,J=TH,Q=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(G=!0),Y.identifierPrefix!==void 0&&(Z=Y.identifierPrefix),Y.onUncaughtError!==void 0&&($=Y.onUncaughtError),Y.onCaughtError!==void 0&&(H=Y.onCaughtError),Y.onRecoverableError!==void 0&&(J=Y.onRecoverableError),Y.formState!==void 0&&(Q=Y.formState)),X=KQ(z,1,!0,X,Y!=null?Y:null,G,Z,Q,$,H,J,TQ),X.context=_Q(null),Y=X.current,G=q2(Y),G=r3(G),Z=B3(G),Z.callback=null,R3(Y,Z,G),G4(G,"hydrateRoot()",null),Y=G,X.current.lanes=Y,Y3(X,Y),w4(X),z[A3]=X.current,bY(z),new y9(X)},xK.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Fq=f8((yL,Aq)=>{var SK=f0(Mq());Aq.exports=SK});var h8=f8((kK)=>{var E8=f0(y8());(function(){function U(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===d?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case e:return"Fragment";case x1:return"Profiler";case U1:return"StrictMode";case I2:return"Suspense";case h2:return"SuspenseList";case Y0:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case n:return"Portal";case q0:return V.displayName||"Context";case l1:return(V._context.displayName||"Context")+".Consumer";case N2:var B1=V.render;return V=V.displayName,V||(V=B1.displayName||B1.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case Q0:return B1=V.displayName||null,B1!==null?B1:U(V.type)||"Memo";case p:B1=V._payload,V=V._init;try{return U(V(B1))}catch(y1){}}return null}function A(V){return""+V}function I(V){try{A(V);var B1=!1}catch(d1){B1=!0}if(B1){B1=console;var y1=B1.error,m1=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return y1.call(B1,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",m1),A(V)}}function b(V){if(V===e)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===p)return"<...>";try{var B1=U(V);return B1?"<"+B1+">":"<...>"}catch(y1){return"<...>"}}function k(){var V=S1.A;return V===null?null:V.getOwner()}function g(){return Error("react-stack-top-frame")}function E(V){if(C1.call(V,"key")){var B1=Object.getOwnPropertyDescriptor(V,"key").get;if(B1&&B1.isReactWarning)return!1}return V.key!==void 0}function N(V,B1){function y1(){c||(c=!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)",B1))}y1.isReactWarning=!0,Object.defineProperty(V,"key",{get:y1,configurable:!0})}function y(){var V=U(this.type);return $1[V]||($1[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function m(V,B1,y1,m1,d1,t2){var $0=y1.ref;return V={$$typeof:j,type:V,key:B1,props:y1,_owner:m1},($0!==void 0?$0:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:y}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:d1}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:t2}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function C(V,B1,y1,m1,d1,t2){var $0=B1.children;if($0!==void 0)if(m1)if(W1($0)){for(m1=0;m1<$0.length;m1++)M($0[m1]);Object.freeze&&Object.freeze($0)}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 M($0);if(C1.call(B1,"key")){$0=U(V);var G2=Object.keys(B1).filter(function(x4){return x4!=="key"});m1=0<G2.length?"{key: someKey, "+G2.join(": ..., ")+": ...}":"{key: someKey}",f1[$0+m1]||(G2=0<G2.length?"{"+G2.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} />`,m1,$0,G2,$0),f1[$0+m1]=!0)}if($0=null,y1!==void 0&&(I(y1),$0=""+y1),E(B1)&&(I(B1.key),$0=""+B1.key),"key"in B1){y1={};for(var P2 in B1)P2!=="key"&&(y1[P2]=B1[P2])}else y1=B1;return $0&&N(y1,typeof V==="function"?V.displayName||V.name||"Unknown":V),m(V,$0,y1,k(),d1,t2)}function M(V){S(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===p&&(V._payload.status==="fulfilled"?S(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function S(V){return typeof V==="object"&&V!==null&&V.$$typeof===j}var j=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),U1=Symbol.for("react.strict_mode"),x1=Symbol.for("react.profiler"),l1=Symbol.for("react.consumer"),q0=Symbol.for("react.context"),N2=Symbol.for("react.forward_ref"),I2=Symbol.for("react.suspense"),h2=Symbol.for("react.suspense_list"),Q0=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),S1=E8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C1=Object.prototype.hasOwnProperty,W1=Array.isArray,k0=console.createTask?console.createTask:function(){return null};E8={react_stack_bottom_frame:function(V){return V()}};var c,$1={},G1=E8.react_stack_bottom_frame.bind(E8,g)(),D1=k0(b(g)),f1={};kK.Fragment=e,kK.jsxDEV=function(V,B1,y1,m1){var d1=1e4>S1.recentlyCreatedOwnerStacks++;return C(V,B1,y1,m1,d1?Error("react-stack-top-frame"):G1,d1?k0(b(V)):D1)}})()});var Vq=f0(y8(),1),Dq=f0(Fq(),1);var o=f0(y8(),1);class s6 extends Error{code;status;constructor(U,A,I){super(U);this.code=A;this.status=I;this.name="ApiError"}}var Nq="pramen.cmsEditor";function Iq(){try{let U=localStorage.getItem(Nq);if(U)return JSON.parse(U)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function Pq(U){localStorage.setItem(Nq,JSON.stringify(U))}class xZ{cfg;constructor(U){this.cfg=U}setConfig(U){this.cfg=U}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(U,A){let I=await fetch(`${this.base()}/rpc/${U}`,{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(A??{})}),b;try{b=await I.json()}catch{throw new s6(`non-JSON response (HTTP ${I.status})`,"bad_response",I.status)}if(b.ok!==!0){let k=b.error??`request failed (HTTP ${I.status})`,g=I.status===403?" — check your token has an editor/reviewer role":"";throw new s6(k+g,b.code??"error",I.status)}return b.result}async put(U,A,I){let b=U.startsWith("http")?U:`${this.base()}${U}`,k=await fetch(b,{method:"PUT",headers:{"content-type":I},body:A});if(!k.ok)throw new s6(`upload failed (HTTP ${k.status})`,"upload_failed",k.status)}resolve(U){return U.startsWith("http")?U:`${this.base()}${U}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(U)=>this.call("getContentType",{id:U});listPages=()=>this.call("listPages");getPagePreview=(U,A)=>this.call("getPage",{slug:U,locale:A,preview:!0});listPageAudit=(U)=>this.call("listPageAudit",{pageId:U});listMedia=(U=50,A=0)=>this.call("listMedia",{limit:U,offset:A});getMedia=(U)=>this.call("getMedia",{id:U});updateMedia=(U,A)=>this.call("updateMedia",{id:U,alt:A});deleteMedia=(U)=>this.call("deleteMedia",{id:U});async uploadMedia(U){let A=U.type||"application/octet-stream",I=await this.call("signMediaUpload",{contentType:A,filename:U.name});return await this.put(I.url,await U.arrayBuffer(),A),this.call("createMedia",{ref:I.ref,alt:U.name})}}var F2=f0(y8(),1),i=f0(h8(),1);function c7({schema:U,value:A,onChange:I,api:b}){let k=(g,E)=>I({...A,[g]:E});return i.jsxDEV(i.Fragment,{children:U.map((g)=>i.jsxDEV(gK,{def:g,value:A[g.name],onChange:(E)=>k(g.name,E),api:b},g.name,!1,void 0,this))},void 0,!1,void 0,this)}function gK({def:U,value:A,onChange:I,api:b}){let k=i.jsxDEV("span",{className:"lbl",children:[U.label??U.name," ",U.required?i.jsxDEV("span",{className:"req",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(U.type){case"text":case"url":return i.jsxDEV("label",{className:"field",children:[k,i.jsxDEV("input",{value:A??"",onChange:(g)=>I(g.target.value),placeholder:U.type==="url"?"https://…":""},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"textarea":return i.jsxDEV("label",{className:"field",children:[k,i.jsxDEV("textarea",{value:typeof A==="string"?A:A==null?"":JSON.stringify(A),onChange:(g)=>I(g.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"richtext":return i.jsxDEV("div",{className:"field",children:[k,i.jsxDEV(VK,{value:typeof A==="string"?A:"",onChange:I},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"number":return i.jsxDEV("label",{className:"field",children:[k,i.jsxDEV("input",{type:"number",value:A==null?"":String(A),onChange:(g)=>I(g.target.value===""?null:Number(g.target.value))},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"date":case"datetime":return i.jsxDEV("label",{className:"field",children:[k,i.jsxDEV("input",{type:U.type==="date"?"date":"datetime-local",value:A??"",onChange:(g)=>I(g.target.value||null)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"boolean":return i.jsxDEV("label",{className:"field checkbox",children:[i.jsxDEV("input",{type:"checkbox",checked:Boolean(A),onChange:(g)=>I(g.target.checked)},void 0,!1,void 0,this),i.jsxDEV("span",{children:U.label??U.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return i.jsxDEV("label",{className:"field",children:[k,i.jsxDEV("select",{value:A??"",onChange:(g)=>I(g.target.value||null),children:[i.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(U.options??[]).map((g)=>i.jsxDEV("option",{value:g,children:g},g,!1,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this);case"media":return i.jsxDEV("label",{className:"field",children:[k,i.jsxDEV(fK,{value:A,onChange:I,api:b},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"group":return i.jsxDEV("div",{className:"field",children:[k,i.jsxDEV("div",{className:"group",children:i.jsxDEV(c7,{schema:U.fields??[],value:A??{},onChange:I,api:b},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"repeater":return i.jsxDEV(DK,{def:U,value:A??[],onChange:I,api:b,label:k},void 0,!1,void 0,this);default:return null}}var bK=[{label:"B",title:"Bold",run:(U)=>U("bold")},{label:"I",title:"Italic",run:(U)=>U("italic")},{label:"H2",title:"Heading",run:(U)=>U("formatBlock","H2")},{label:"H3",title:"Subheading",run:(U)=>U("formatBlock","H3")},{label:"¶",title:"Paragraph",run:(U)=>U("formatBlock","P")},{label:"• List",title:"Bulleted list",run:(U)=>U("insertUnorderedList")},{label:"1. List",title:"Numbered list",run:(U)=>U("insertOrderedList")},{label:"Link",title:"Add link",run:(U)=>{let A=window.prompt("Link URL (https://, mailto:, /path)","https://");if(!A)return;let I=jK(A);if(!I){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}U("createLink",I)}},{label:"Unlink",title:"Remove link",run:(U)=>U("unlink")},{label:"Clear",title:"Clear formatting",run:(U)=>U("removeFormat")}];function jK(U){let A=U.trim();return/^(https?:\/\/|mailto:|tel:|\/|#)/i.test(A)?A:null}function Tq(U){return U.replace(/<\s*(script|style)[^>]*>[\s\S]*?<\s*\/\s*\1\s*>/gi,"").replace(/\son\w+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/(href|src)\s*=\s*("javascript:[^"]*"|'javascript:[^']*')/gi,'$1="#"')}function VK({value:U,onChange:A}){let I=F2.useRef(null),b=F2.useRef("");F2.useEffect(()=>{let N=I.current;if(N&&U!==b.current)N.innerHTML=Tq(U||""),b.current=U||""},[U]);let k=()=>{let N=Tq(I.current?.innerHTML??"");b.current=N,A(N)},g=(N,y)=>{I.current?.focus(),document.execCommand(N,!1,y),k()},E=(N)=>{N.preventDefault(),document.execCommand("insertText",!1,N.clipboardData.getData("text/plain"))};return i.jsxDEV("div",{className:"rt",children:[i.jsxDEV("div",{className:"rt-toolbar",children:bK.map((N)=>i.jsxDEV("button",{type:"button",className:"sm ghost",title:N.title,onMouseDown:(y)=>y.preventDefault(),onClick:()=>N.run(g),children:N.label},N.label,!1,void 0,this))},void 0,!1,void 0,this),i.jsxDEV("div",{ref:I,className:"rt-editor",contentEditable:!0,suppressContentEditableWarning:!0,"data-placeholder":"Write…",onInput:k,onBlur:k,onPaste:E},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function DK({def:U,value:A,onChange:I,api:b,label:k}){let g=Array.isArray(A)?A:[],E=(C,M)=>I(g.map((S,j)=>j===C?M:S)),N=()=>I([...g,{}]),y=(C)=>I(g.filter((M,S)=>S!==C)),m=(C,M)=>{let S=C+M;if(S<0||S>=g.length)return;let j=g.slice();[j[C],j[S]]=[j[S],j[C]],I(j)};return i.jsxDEV("div",{className:"field",children:[k,g.map((C,M)=>i.jsxDEV("div",{className:"repeater-item",children:[i.jsxDEV("div",{className:"ih",children:[i.jsxDEV("button",{type:"button",className:"ghost sm",onClick:()=>m(M,-1),children:"↑"},void 0,!1,void 0,this),i.jsxDEV("button",{type:"button",className:"ghost sm",onClick:()=>m(M,1),children:"↓"},void 0,!1,void 0,this),i.jsxDEV("button",{type:"button",className:"ghost sm danger",onClick:()=>y(M),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),i.jsxDEV(c7,{schema:U.fields??[],value:C,onChange:(S)=>E(M,S),api:b},void 0,!1,void 0,this)]},M,!0,void 0,this)),i.jsxDEV("button",{type:"button",className:"sm",onClick:N,disabled:U.max!=null&&g.length>=U.max,children:["+ add ",U.label??U.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function fK({value:U,onChange:A,api:I}){let[b,k]=F2.useState(!1),[g,E]=F2.useState(null);return F2.useEffect(()=>{if(U)I.call("getMedia",{id:U}).then(E).catch(()=>E(null));else E(null)},[U,I]),i.jsxDEV("div",{children:[i.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[g?i.jsxDEV("img",{src:I.resolve(`/media/${g.file.key}`),alt:"",style:{width:40,height:40,objectFit:"cover",borderRadius:4}},void 0,!1,void 0,this):i.jsxDEV("span",{className:"muted",children:"no media"},void 0,!1,void 0,this),i.jsxDEV("span",{className:"grow muted",children:g?.file.filename??U??""},void 0,!1,void 0,this),i.jsxDEV("button",{type:"button",className:"sm",onClick:()=>k(!0),children:"pick"},void 0,!1,void 0,this),U?i.jsxDEV("button",{type:"button",className:"sm ghost danger",onClick:()=>A(null),children:"clear"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),b?i.jsxDEV(yK,{api:I,onClose:()=>k(!1),onPick:(N)=>{A(N),k(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function yK({api:U,onClose:A,onPick:I}){let[b,k]=F2.useState([]),[g,E]=F2.useState(!1),[N,y]=F2.useState(""),m=()=>U.listMedia().then(k).catch((M)=>y(String(M.message??M)));F2.useEffect(()=>{m()},[]);let C=async(M)=>{E(!0),y("");try{let S=await U.uploadMedia(M);I(S.id)}catch(S){y(String(S.message??S))}finally{E(!1)}};return i.jsxDEV("div",{className:"scrim",onClick:A,children:i.jsxDEV("div",{className:"modal",onClick:(M)=>M.stopPropagation(),children:[i.jsxDEV("h2",{children:["Choose ",i.jsxDEV("span",{className:"dim",children:"a file"},void 0,!1,void 0,this)," from the library"]},void 0,!0,void 0,this),N?i.jsxDEV("div",{className:"banner err",children:N},void 0,!1,void 0,this):null,i.jsxDEV("label",{className:"field",children:[i.jsxDEV("span",{className:"lbl",children:"Upload a new file"},void 0,!1,void 0,this),i.jsxDEV("input",{type:"file",disabled:g,onChange:(M)=>M.target.files?.[0]&&C(M.target.files[0])},void 0,!1,void 0,this)]},void 0,!0,void 0,this),i.jsxDEV("div",{className:"media-grid",children:b.map((M)=>i.jsxDEV("div",{className:"media-cell",onClick:()=>I(M.id),children:[(M.file.contentType??"").startsWith("image/")?i.jsxDEV("img",{src:U.resolve(`/media/${M.file.key}`),alt:""},void 0,!1,void 0,this):i.jsxDEV("div",{style:{height:70}},void 0,!1,void 0,this),i.jsxDEV("div",{className:"fn",children:M.file.filename??M.id},void 0,!1,void 0,this)]},M.id,!0,void 0,this))},void 0,!1,void 0,this),i.jsxDEV("div",{style:{marginTop:12,textAlign:"right"},children:i.jsxDEV("button",{className:"ghost",onClick:A,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 q=f0(h8(),1);function Sq(){let[U,A]=o.useState(Iq()),I=o.useMemo(()=>new xZ(U),[U]);if(!(U.baseUrl&&U.token))return q.jsxDEV(mK,{cfg:U,onSave:(k)=>{Pq(k),A(k)}},void 0,!1,void 0,this);return q.jsxDEV(EK,{api:I,cfg:U,onReconfigure:()=>A({...U,token:""})},void 0,!1,void 0,this)}function mK({cfg:U,onSave:A}){let[I,b]=o.useState(U);return q.jsxDEV("div",{className:"setup",children:[q.jsxDEV("h1",{children:["pramen ",q.jsxDEV("span",{className:"dim",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.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),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Worker base URL"},void 0,!1,void 0,this),q.jsxDEV("input",{value:I.baseUrl,onChange:(k)=>b({...I,baseUrl:k.target.value}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Tenant"},void 0,!1,void 0,this),q.jsxDEV("input",{value:I.tenant,onChange:(k)=>b({...I,tenant:k.target.value}),placeholder:"main"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Bearer token (editor or reviewer)"},void 0,!1,void 0,this),q.jsxDEV("input",{value:I.token,onChange:(k)=>b({...I,token:k.target.value}),placeholder:"eyJ…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("button",{className:"primary",onClick:()=>A(I),disabled:!I.baseUrl||!I.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function EK({api:U,cfg:A,onReconfigure:I}){let[b,k]=o.useState([]),[g,E]=o.useState([]),[N,y]=o.useState(null),[m,C]=o.useState("pages"),[M,S]=o.useState(""),[j,n]=o.useState(null),e=o.useCallback(()=>{U.listPages().then(k).catch((l1)=>S(e1(l1)))},[U]);o.useEffect(()=>{e(),U.listBlockTypes().then(E).catch((l1)=>S(e1(l1))),U.call("me").then(n).catch(()=>n({}))},[U,e]);let U1=(j?.roles??[]).includes("admin"),x1=(l1)=>{C(l1),y(null)};return q.jsxDEV(q.Fragment,{children:[q.jsxDEV("div",{className:"bar",children:[q.jsxDEV("span",{className:"brand",children:["pramen ",q.jsxDEV("span",{className:"dim",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m==="pages"&&N?q.jsxDEV("span",{className:"crumb",children:[q.jsxDEV("a",{onClick:()=>y(null),children:"Pages"},void 0,!1,void 0,this)," / ",q.jsxDEV("b",{children:N.title},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,q.jsxDEV("span",{className:"grow"},void 0,!1,void 0,this),q.jsxDEV("nav",{className:"tabs nav",style:{margin:0},children:[q.jsxDEV("button",{className:m==="pages"?"on":"",onClick:()=>x1("pages"),children:"Pages"},void 0,!1,void 0,this),q.jsxDEV("button",{className:m==="media"?"on":"",onClick:()=>x1("media"),children:"Media"},void 0,!1,void 0,this),U1?q.jsxDEV("button",{className:m==="users"?"on":"",onClick:()=>x1("users"),children:"Users"},void 0,!1,void 0,this):null,q.jsxDEV("button",{className:m==="settings"?"on":"",onClick:()=>x1("settings"),children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("span",{className:"muted",style:{marginLeft:12},children:A.tenant},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost sm",onClick:I,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M?q.jsxDEV("div",{className:"banner err",children:M},void 0,!1,void 0,this):null,m==="media"?q.jsxDEV(iK,{api:U,onError:S},void 0,!1,void 0,this):m==="users"?q.jsxDEV(z_,{api:U,me:j,onError:S},void 0,!1,void 0,this):m==="settings"?q.jsxDEV(G_,{api:U,cfg:A,me:j,onSignOut:I,onError:S},void 0,!1,void 0,this):N?q.jsxDEV(uK,{api:U,page:N,blockTypes:g,onBack:()=>{y(null),e()},onChange:(l1)=>y(l1)},void 0,!1,void 0,this):q.jsxDEV(hK,{api:U,pages:b,blockTypes:g,onOpen:y,onCreated:e,onError:S},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function hK({api:U,pages:A,blockTypes:I,onOpen:b,onCreated:k,onError:g}){let[E,N]=o.useState(!1);return q.jsxDEV(q.Fragment,{children:[q.jsxDEV("div",{className:"hero",children:[q.jsxDEV("h1",{className:"hero-h",children:[q.jsxDEV("span",{className:"lead",children:"Pages"},void 0,!1,void 0,this),q.jsxDEV("span",{className:"em",children:A.length===0?"None yet":A.length===1?"1 page total":`${A.length} pages total`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"cta",children:[q.jsxDEV("span",{className:"cta-text",children:["Let's ",q.jsxDEV("span",{className:"em",children:"create"},void 0,!1,void 0,this)," something"]},void 0,!0,void 0,this),q.jsxDEV("button",{className:"primary",onClick:()=>N(!0),children:"+ New page"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"list-wrap",children:q.jsxDEV("div",{className:"list",children:[A.map((y)=>q.jsxDEV("div",{className:"row",onClick:()=>b(y),children:[q.jsxDEV("span",{className:"grow",children:y.title},void 0,!1,void 0,this),q.jsxDEV("span",{className:"muted",children:["/",y.slug]},void 0,!0,void 0,this),q.jsxDEV("span",{className:"muted",children:y.locale},void 0,!1,void 0,this),q.jsxDEV("span",{className:`pill ${y.status}`,children:y.status},void 0,!1,void 0,this)]},y.id,!0,void 0,this)),A.length===0?q.jsxDEV("p",{className:"muted",children:["No pages yet. ",I.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)},void 0,!1,void 0,this),E?q.jsxDEV(dK,{api:U,onClose:()=>N(!1),onCreated:()=>{N(!1),k()},onError:g},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function dK({api:U,onClose:A,onCreated:I,onError:b}){let[k,g]=o.useState([]),[E,N]=o.useState(""),[y,m]=o.useState(""),[C,M]=o.useState("");o.useEffect(()=>{U.listContentTypes().then((j)=>{if(g(j),j[0])N(j[0].id)}).catch((j)=>b(e1(j)))},[U,b]);let S=async()=>{try{await U.call("createPage",{typeId:E,title:y,slug:C||Cq(y)}),I()}catch(j){b(e1(j))}};return q.jsxDEV("div",{className:"scrim",onClick:A,children:q.jsxDEV("div",{className:"modal",onClick:(j)=>j.stopPropagation(),children:[q.jsxDEV("h2",{children:["Create a ",q.jsxDEV("span",{className:"dim",children:"new page"},void 0,!1,void 0,this)," and define the essentials",q.jsxDEV("span",{className:"dim",children:"."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Content type"},void 0,!1,void 0,this),q.jsxDEV("select",{value:E,onChange:(j)=>N(j.target.value),children:k.map((j)=>q.jsxDEV("option",{value:j.id,children:j.name},j.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Title"},void 0,!1,void 0,this),q.jsxDEV("input",{value:y,onChange:(j)=>m(j.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Slug"},void 0,!1,void 0,this),q.jsxDEV("input",{value:C,onChange:(j)=>M(j.target.value),placeholder:Cq(y)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{style:{textAlign:"right",marginTop:10},children:[q.jsxDEV("button",{className:"ghost",onClick:A,children:"cancel"},void 0,!1,void 0,this)," ",q.jsxDEV("button",{className:"primary",onClick:S,disabled:!E||!y,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 uK({api:U,page:A,blockTypes:I,onBack:b,onChange:k}){let[g,E]=o.useState(null),[N,y]=o.useState(null),[m,C]=o.useState(null),[M,S]=o.useState("settings"),[j,n]=o.useState(""),[e,U1]=o.useState(""),x1=o.useMemo(()=>new Map(I.map((p)=>[p.slug,p])),[I]),l1=o.useCallback(async()=>{try{let[p,Y0]=await Promise.all([U.getContentType(A.typeId),U.getPagePreview(A.slug,A.locale)]);E(p??null),y(Y0)}catch(p){n(e1(p))}},[U,A.typeId,A.slug,A.locale]);o.useEffect(()=>{l1(),C(null)},[l1]);let q0=g?.regions??[],N2=(p)=>{U1(p),setTimeout(()=>U1(""),1800)},I2=async(p,Y0)=>{try{await U.call("addBlock",{pageId:A.id,blockTypeSlug:Y0,region:p,fields:{}}),await l1(),N2("block added")}catch(d){n(e1(d))}},h2=async(p)=>{try{if(await U.call("removeBlock",{pageBlockId:p.id}),m?.id===p.id)C(null);await l1()}catch(Y0){n(e1(Y0))}},Q0=async(p,Y0)=>{try{await U.call("reorderRegion",{pageId:A.id,region:p,order:Y0}),await l1()}catch(d){n(e1(d))}};return q.jsxDEV("div",{className:"layout",children:[q.jsxDEV("div",{className:"side",children:[q.jsxDEV("button",{className:"ghost sm",onClick:b,children:"← all pages"},void 0,!1,void 0,this),q.jsxDEV("div",{className:"sect",children:"Regions"},void 0,!1,void 0,this),q0.map((p)=>q.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[q.jsxDEV("span",{className:"grow",children:p.label??p.name},void 0,!1,void 0,this),q.jsxDEV("span",{className:"muted",children:(N?.regions[p.name]??[]).length},void 0,!1,void 0,this)]},p.name,!0,void 0,this)),q.jsxDEV("div",{className:"sect",children:"Status"},void 0,!1,void 0,this),q.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[q.jsxDEV("span",{className:"grow",children:A.title},void 0,!1,void 0,this),q.jsxDEV("span",{className:`pill ${A.status}`,children:A.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"canvas",children:[j?q.jsxDEV("div",{className:"banner err",children:j},void 0,!1,void 0,this):null,e?q.jsxDEV("div",{className:"banner ok",children:e},void 0,!1,void 0,this):null,q0.map((p)=>{let Y0=N?.regions[p.name]??[],d=p.allowedTypes&&p.allowedTypes.length?p.allowedTypes:I.map((S1)=>S1.slug);return q.jsxDEV("div",{className:"region",children:[q.jsxDEV("h3",{children:[p.label??p.name,p.allowedTypes?q.jsxDEV("span",{className:"allow",children:["only: ",p.allowedTypes.join(", ")]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),Y0.map((S1,C1)=>q.jsxDEV("div",{className:`block ${m?.id===S1.id?"selected":""}`,onClick:()=>C(S1),children:q.jsxDEV("div",{className:"bhead",children:[q.jsxDEV("span",{className:"btype",children:S1.block_type},void 0,!1,void 0,this),S1.is_shared?q.jsxDEV("span",{className:"shared",children:"shared"},void 0,!1,void 0,this):null,q.jsxDEV("span",{className:"grow muted",children:tK(S1.fields)},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost sm",onClick:(W1)=>{W1.stopPropagation(),xq(Y0,p.name,C1,-1,Q0)},children:"↑"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost sm",onClick:(W1)=>{W1.stopPropagation(),xq(Y0,p.name,C1,1,Q0)},children:"↓"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost sm danger",onClick:(W1)=>{W1.stopPropagation(),h2(S1)},children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},S1.id,!1,void 0,this)),q.jsxDEV("div",{className:"palette",children:d.map((S1)=>q.jsxDEV("button",{className:"sm",onClick:()=>I2(p.name,S1),children:["+ ",x1.get(S1)?.name??S1]},S1,!0,void 0,this))},void 0,!1,void 0,this)]},p.name,!0,void 0,this)}),q0.length===0?q.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),q.jsxDEV("div",{className:"inspect",children:m?q.jsxDEV(lK,{api:U,block:m,blockType:x1.get(m.block_type),onClose:()=>C(null),onSaved:l1,onError:n},void 0,!1,void 0,this):q.jsxDEV(q.Fragment,{children:[q.jsxDEV("div",{className:"tabs",children:["settings","seo","workflow","i18n","audit"].map((p)=>q.jsxDEV("button",{className:M===p?"on":"",onClick:()=>S(p),children:p},p,!1,void 0,this))},void 0,!1,void 0,this),M==="settings"?q.jsxDEV(pK,{api:U,page:A,onSaved:k,onError:n},void 0,!1,void 0,this):null,M==="seo"?q.jsxDEV(cK,{api:U,page:A,onError:n},void 0,!1,void 0,this):null,M==="workflow"?q.jsxDEV(aK,{api:U,page:A,onChanged:(p)=>{k(p)},onError:n},void 0,!1,void 0,this):null,M==="i18n"?q.jsxDEV(sK,{api:U,page:A,onError:n},void 0,!1,void 0,this):null,M==="audit"?q.jsxDEV(oK,{api:U,pageId:A.id,onError:n},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 lK({api:U,block:A,blockType:I,onClose:b,onSaved:k,onError:g}){let[E,N]=o.useState({}),[y,m]=o.useState(!1);o.useEffect(()=>{U.call("getBlock",{blockId:A.block_id}).then((S)=>N(S?.fields??{})).catch((S)=>g(e1(S)))},[U,A.block_id,g]);let C=I?.fieldsSchema??[],M=async()=>{m(!0);try{await U.call("updateBlock",{blockId:A.block_id,fields:E}),k()}catch(S){g(e1(S))}finally{m(!1)}};return q.jsxDEV("div",{children:[q.jsxDEV("div",{style:{display:"flex",alignItems:"center",gap:8},children:[q.jsxDEV("span",{className:"btype",children:A.block_type},void 0,!1,void 0,this),q.jsxDEV("span",{style:{flex:1}},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost sm",onClick:b,children:"done"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.length===0?q.jsxDEV("p",{className:"muted",children:"This block type has no fields."},void 0,!1,void 0,this):q.jsxDEV(c7,{schema:C,value:E,onChange:N,api:U},void 0,!1,void 0,this),q.jsxDEV("button",{className:"primary",style:{marginTop:12,width:"100%"},onClick:M,disabled:y,children:"Save block"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function pK({api:U,page:A,onSaved:I,onError:b}){return q.jsxDEV("div",{className:"kv",children:[q.jsxDEV("span",{children:"Title"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A.title},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Slug"},void 0,!1,void 0,this),q.jsxDEV("span",{children:["/",A.slug]},void 0,!0,void 0,this),q.jsxDEV("span",{children:"Locale"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A.locale},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function cK({api:U,page:A,onError:I}){let[b,k]=o.useState({metaTitle:A.metaTitle??"",metaDescription:A.metaDescription??"",canonicalUrl:A.canonicalUrl??"",robots:A.robots??"",ogTitle:A.ogTitle??"",ogDescription:A.ogDescription??""}),[g,E]=o.useState(!1),N=async()=>{try{await U.call("updatePageSeo",{pageId:A.id,...b}),E(!0),setTimeout(()=>E(!1),1500)}catch(m){I(e1(m))}},y=(m,C,M=!1)=>q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:C},void 0,!1,void 0,this),M?q.jsxDEV("textarea",{value:b[m],onChange:(S)=>k({...b,[m]:S.target.value})},void 0,!1,void 0,this):q.jsxDEV("input",{value:b[m],onChange:(S)=>k({...b,[m]:S.target.value})},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return q.jsxDEV("div",{children:[q.jsxDEV("div",{className:"sect",children:"SEO"},void 0,!1,void 0,this),g?q.jsxDEV("div",{className:"banner ok",children:"saved"},void 0,!1,void 0,this):null,y("metaTitle","Meta title"),y("metaDescription","Meta description",!0),y("canonicalUrl","Canonical URL"),y("robots","Robots (e.g. noindex)"),y("ogTitle","OG title"),y("ogDescription","OG description",!0),q.jsxDEV("button",{className:"primary",style:{width:"100%"},onClick:N,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function aK({api:U,page:A,onChanged:I,onError:b}){let k=async(g,E)=>{try{let N=await U.call(g,{pageId:A.id,...E});if(N?.page)I(N.page)}catch(N){b(e1(N))}};return q.jsxDEV("div",{children:[q.jsxDEV("div",{className:"sect",children:"Workflow"},void 0,!1,void 0,this),q.jsxDEV("p",{className:"kv",children:[q.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),q.jsxDEV("span",{className:`pill ${A.status}`,children:A.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[q.jsxDEV("button",{onClick:()=>k("submitForReview"),children:"Submit for review"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"primary",onClick:()=>k("approve"),children:"Approve (publish)"},void 0,!1,void 0,this),q.jsxDEV("button",{onClick:()=>k("reject"),children:"Reject"},void 0,!1,void 0,this),q.jsxDEV("button",{onClick:()=>k("publishPage"),children:"Publish directly"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost",onClick:()=>k("unpublishPage"),children:"Unpublish"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.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 sK({api:U,page:A,onError:I}){let[b,k]=o.useState([]),[g,E]=o.useState(""),N=o.useCallback(()=>U.call("listTranslations",{pageId:A.id}).then(k).catch((m)=>I(e1(m))),[U,A.id,I]);o.useEffect(()=>{N()},[N]);let y=async()=>{try{await U.call("createTranslation",{pageId:A.id,locale:g}),E(""),N()}catch(m){I(e1(m))}};return q.jsxDEV("div",{children:[q.jsxDEV("div",{className:"sect",children:"Translations"},void 0,!1,void 0,this),q.jsxDEV("div",{className:"list",children:b.map((m)=>q.jsxDEV("div",{className:"row",style:{cursor:"default"},children:[q.jsxDEV("span",{className:"grow",children:m.locale},void 0,!1,void 0,this),q.jsxDEV("span",{className:"muted",children:["/",m.slug]},void 0,!0,void 0,this),q.jsxDEV("span",{className:`pill ${m.status}`,children:m.status},void 0,!1,void 0,this)]},m.id,!0,void 0,this))},void 0,!1,void 0,this),q.jsxDEV("div",{style:{display:"flex",gap:6,marginTop:8},children:[q.jsxDEV("input",{value:g,onChange:(m)=>E(m.target.value),placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),q.jsxDEV("button",{onClick:y,disabled:!g,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function oK({api:U,pageId:A,onError:I}){let[b,k]=o.useState([]);return o.useEffect(()=>{U.listPageAudit(A).then(k).catch((g)=>I(e1(g)))},[U,A,I]),q.jsxDEV("div",{children:[q.jsxDEV("div",{className:"sect",children:"Audit trail"},void 0,!1,void 0,this),q.jsxDEV("div",{className:"list",children:[b.map((g)=>q.jsxDEV("div",{className:"row",style:{cursor:"default",fontSize:12},children:[q.jsxDEV("span",{className:"btype",children:g.action},void 0,!1,void 0,this),q.jsxDEV("span",{className:"grow muted",children:[g.fromStatus," → ",g.toStatus]},void 0,!0,void 0,this),q.jsxDEV("span",{className:"muted",children:g.actor??"system"},void 0,!1,void 0,this)]},g.id,!0,void 0,this)),b.length===0?q.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 vq=60;function iK({api:U,onError:A}){let[I,b]=o.useState([]),[k,g]=o.useState(0),[E,N]=o.useState(!1),[y,m]=o.useState(null),[C,M]=o.useState(!1),S=o.useCallback((n)=>{U.listMedia(vq,n).then((e)=>{b((U1)=>n===0?e:[...U1,...e]),N(e.length===vq),g(n+e.length)}).catch((e)=>A(e1(e)))},[U,A]);o.useEffect(()=>{S(0)},[S]);let j=async(n)=>{if(!n?.length)return;M(!0),A("");try{for(let e of Array.from(n))await U.uploadMedia(e);S(0)}catch(e){A(e1(e))}finally{M(!1)}};return q.jsxDEV(q.Fragment,{children:[q.jsxDEV("div",{className:"hero",children:[q.jsxDEV("h1",{className:"hero-h",children:[q.jsxDEV("span",{className:"lead",children:"Media"},void 0,!1,void 0,this),q.jsxDEV("span",{className:"em",children:I.length===0?"None yet":I.length===1?"1 file":`${I.length}${E?"+":""} files`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"cta",children:[q.jsxDEV("span",{className:"cta-text",children:["Let's ",q.jsxDEV("span",{className:"em",children:"upload"},void 0,!1,void 0,this)," something"]},void 0,!0,void 0,this),q.jsxDEV("label",{className:`btn primary${C?" disabled":""}`,children:[C?"Uploading…":"+ Upload",q.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:C,onChange:(n)=>{j(n.target.files),n.target.value=""}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"media-lib",children:[I.length===0?q.jsxDEV("p",{className:"muted",children:"No media yet. Upload images to use them in blocks and SEO."},void 0,!1,void 0,this):q.jsxDEV("div",{className:"media-grid",children:I.map((n)=>q.jsxDEV("div",{className:`media-cell${y?.id===n.id?" sel":""}`,onClick:()=>m(n),children:[kq(n)?q.jsxDEV("img",{src:U.resolve(`/media/${n.file.key}`),alt:n.alt??""},void 0,!1,void 0,this):q.jsxDEV("div",{className:"ext",children:gq(n)},void 0,!1,void 0,this),q.jsxDEV("div",{className:"fn",children:n.file.filename??n.id},void 0,!1,void 0,this)]},n.id,!0,void 0,this))},void 0,!1,void 0,this),E?q.jsxDEV("div",{style:{textAlign:"center",marginTop:14},children:q.jsxDEV("button",{className:"sm",onClick:()=>S(k),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,y?q.jsxDEV(nK,{api:U,media:y,onClose:()=>m(null),onSaved:(n)=>{m(n),b((e)=>e.map((U1)=>U1.id===n.id?n:U1))},onDeleted:(n)=>{m(null),b((e)=>e.filter((U1)=>U1.id!==n))},onError:A},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function nK({api:U,media:A,onClose:I,onSaved:b,onDeleted:k,onError:g}){let[E,N]=o.useState(A.alt??""),[y,m]=o.useState(!1);o.useEffect(()=>N(A.alt??""),[A]);let C=U.resolve(`/media/${A.file.key}`),M=async()=>{m(!0);try{b(await U.updateMedia(A.id,E||null))}catch(j){g(e1(j))}finally{m(!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;m(!0);try{await U.deleteMedia(A.id),k(A.id)}catch(j){g(e1(j))}finally{m(!1)}};return q.jsxDEV("div",{className:"scrim",onClick:I,children:q.jsxDEV("div",{className:"modal media-detail",onClick:(j)=>j.stopPropagation(),children:[q.jsxDEV("h2",{children:[q.jsxDEV("span",{className:"dim",children:"Media"},void 0,!1,void 0,this)," ",A.file.filename??""]},void 0,!0,void 0,this),kq(A)?q.jsxDEV("img",{src:C,alt:A.alt??""},void 0,!1,void 0,this):q.jsxDEV("div",{className:"ext lg",children:gq(A)},void 0,!1,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Alt text (for accessibility & SEO)"},void 0,!1,void 0,this),q.jsxDEV("input",{value:E,onChange:(j)=>N(j.target.value),placeholder:"Describe the image…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"kv",children:[q.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A.file.contentType??"—"},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),q.jsxDEV("span",{children:rK(A.file.size)},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A.file.uploadedAt?new Date(A.file.uploadedAt).toLocaleString():A.createdAt??"—"},void 0,!1,void 0,this),q.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),q.jsxDEV("span",{children:q.jsxDEV("a",{href:C,target:"_blank",rel:"noreferrer",children:["/media/",A.file.key]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{style:{display:"flex",gap:8,marginTop:14},children:[q.jsxDEV("button",{className:"primary",onClick:M,disabled:y||E===(A.alt??""),children:"Save"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"sm",onClick:()=>navigator.clipboard?.writeText(C),children:"Copy URL"},void 0,!1,void 0,this),q.jsxDEV("span",{className:"grow"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost danger",onClick:S,disabled:y,children:"Delete"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost",onClick:I,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 kq(U){return(U.file.contentType??"").startsWith("image/")}function gq(U){let A=(U.file.contentType??"").split("/")[1];return(U.file.filename?.split(".").pop()??A??"file").slice(0,5).toUpperCase()}function rK(U){if(!U||U<=0)return"—";let A=["B","KB","MB","GB"],I=0,b=U;while(b>=1024&&I<A.length-1)b/=1024,I++;return`${b<10&&I>0?b.toFixed(1):Math.round(b)} ${A[I]}`}function e1(U){if(U instanceof s6)return U.message;return U instanceof Error?U.message:String(U)}function Cq(U){return U.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function tK(U){let A=Object.values(U).find((I)=>typeof I==="string"&&I);return typeof A==="string"?A.length>48?A.slice(0,48)+"…":A:""}function xq(U,A,I,b,k){let g=I+b;if(g<0||g>=U.length)return;let E=U.map((N)=>N.id);[E[I],E[g]]=[E[g],E[I]],k(A,E)}function eK(U){let A=U.roles;if(Array.isArray(A))return A.filter((I)=>typeof I==="string");if(typeof A==="string")try{let I=JSON.parse(A);return Array.isArray(I)?I:[]}catch{return[]}return[]}function z_({api:U,me:A,onError:I}){let[b,k]=o.useState([]),[g,E]=o.useState(!1),[N,y]=o.useState(""),m=o.useCallback(()=>{U.call("listUsers",{limit:200}).then(k).catch((j)=>I(e1(j)))},[U,I]);o.useEffect(()=>{m()},[m]);let C=async(j,n)=>{y(j.username);try{await U.call("setUserRoles",{username:j.username,roles:n}),m()}catch(e){I(e1(e))}finally{y("")}},M=async(j,n)=>{y(j.username);try{await U.call("setUserActive",{username:j.username,active:n}),m()}catch(e){I(e1(e))}finally{y("")}},S=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;y(j.username);try{await U.call("deleteUser",{username:j.username}),m()}catch(n){I(e1(n))}finally{y("")}};return q.jsxDEV(q.Fragment,{children:[q.jsxDEV("div",{className:"hero",children:[q.jsxDEV("h1",{className:"hero-h",children:[q.jsxDEV("span",{className:"lead",children:"Users"},void 0,!1,void 0,this),q.jsxDEV("span",{className:"em",children:b.length===0?"None yet":b.length===1?"1 account":`${b.length} accounts`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"cta",children:[q.jsxDEV("span",{className:"cta-text",children:["Let's ",q.jsxDEV("span",{className:"em",children:"invite"},void 0,!1,void 0,this)," someone"]},void 0,!0,void 0,this),q.jsxDEV("button",{className:"primary",onClick:()=>E(!0),children:"+ Invite"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{className:"list-wrap",children:q.jsxDEV("div",{className:"list",children:[b.map((j)=>{let n=eK(j),e=A?.userId===j.username,U1=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return q.jsxDEV("div",{className:"row",style:{cursor:"default",alignItems:"flex-start",flexWrap:"wrap"},children:[q.jsxDEV("div",{style:{display:"flex",flexDirection:"column",flex:1,minWidth:200,gap:2},children:[q.jsxDEV("span",{style:{fontWeight:600},children:[j.username,e?q.jsxDEV("span",{className:"muted",style:{marginLeft:6,fontWeight:400},children:"(you)"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),j.email&&j.email!==j.username?q.jsxDEV("span",{className:"muted",style:{fontSize:12},children:j.email},void 0,!1,void 0,this):null,j.createdAt?q.jsxDEV("span",{className:"muted",style:{fontSize:11},children:["joined ",new Date(Number(j.createdAt)).toLocaleDateString()]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),q.jsxDEV(X_,{value:n,disabled:N===j.username,onSave:(x1)=>C(j,x1)},void 0,!1,void 0,this),q.jsxDEV("span",{className:`pill ${U1?"published":"archived"}`,children:U1?"active":"inactive"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"sm ghost",disabled:N===j.username||e,onClick:()=>M(j,!U1),children:U1?"Deactivate":"Activate"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"sm ghost danger",disabled:N===j.username||e,onClick:()=>S(j),children:"Delete"},void 0,!1,void 0,this)]},j.username,!0,void 0,this)}),b.length===0?q.jsxDEV("p",{className:"muted",children:"No users yet. Invite someone to get started."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),g?q.jsxDEV(Y_,{api:U,onClose:()=>E(!1),onInvited:()=>{E(!1),m()},onError:I},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function X_({value:U,disabled:A,onSave:I}){let[b,k]=o.useState(U.join(", ")),[g,E]=o.useState(!1);o.useEffect(()=>{k(U.join(", "))},[U]);let N=()=>{E(!1);let y=b.split(",").map((m)=>m.trim()).filter(Boolean);if(y.length===0){k(U.join(", "));return}if(y.length===U.length&&y.every((m,C)=>m===U[C]))return;I(y)};if(g)return q.jsxDEV("input",{autoFocus:!0,style:{width:220},value:b,disabled:A,onChange:(y)=>k(y.target.value),onBlur:N,onKeyDown:(y)=>{if(y.key==="Enter")N();if(y.key==="Escape")k(U.join(", ")),E(!1)}},void 0,!1,void 0,this);return q.jsxDEV("span",{style:{display:"flex",gap:4,flexWrap:"wrap",cursor:"pointer"},onClick:()=>E(!0),title:"Click to edit",children:U.length===0?q.jsxDEV("span",{className:"pill",children:"no roles"},void 0,!1,void 0,this):U.map((y)=>q.jsxDEV("span",{className:`pill ${y==="admin"?"published":""}`,children:y},y,!1,void 0,this))},void 0,!1,void 0,this)}function Y_({api:U,onClose:A,onInvited:I,onError:b}){let[k,g]=o.useState(""),[E,N]=o.useState("editor"),[y,m]=o.useState(!1);return q.jsxDEV("div",{className:"scrim",onClick:A,children:q.jsxDEV("div",{className:"modal",onClick:(M)=>M.stopPropagation(),children:[q.jsxDEV("h2",{children:["Invite an ",q.jsxDEV("span",{className:"dim",children:"editor"},void 0,!1,void 0,this)," or teammate"]},void 0,!0,void 0,this),q.jsxDEV("p",{className:"muted",style:{marginTop:-8},children:"They'll get a one-time magic link that logs them in and creates their account."},void 0,!1,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Email"},void 0,!1,void 0,this),q.jsxDEV("input",{value:k,type:"email",autoFocus:!0,onChange:(M)=>g(M.target.value),placeholder:"them@example.com"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:["Roles ",q.jsxDEV("span",{className:"muted",style:{fontWeight:400},children:"(comma-separated — e.g. editor, reviewer, admin)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("input",{value:E,onChange:(M)=>N(M.target.value),placeholder:"editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",marginTop:16},children:[q.jsxDEV("button",{className:"ghost",onClick:A,children:"Cancel"},void 0,!1,void 0,this),q.jsxDEV("button",{className:"primary",onClick:async()=>{m(!0);try{let M=E.split(",").map((S)=>S.trim()).filter(Boolean);await U.call("inviteUser",{email:k,roles:M}),I()}catch(M){b(e1(M))}finally{m(!1)}},disabled:y||!k,children:y?"Sending…":"Send invite"},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 G_({api:U,cfg:A,me:I,onSignOut:b,onError:k}){return q.jsxDEV(q.Fragment,{children:[q.jsxDEV("div",{className:"hero",children:q.jsxDEV("h1",{className:"hero-h",children:[q.jsxDEV("span",{className:"lead",children:"Settings"},void 0,!1,void 0,this),q.jsxDEV("span",{className:"em",children:I?.userId??"your account"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),q.jsxDEV("div",{className:"list-wrap",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:20},children:[q.jsxDEV(Z_,{api:U,me:I,onError:k,onSignOut:b},void 0,!1,void 0,this),q.jsxDEV($_,{cfg:A,me:I},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Z_({api:U,me:A,onError:I,onSignOut:b}){let[k,g]=o.useState(""),[E,N]=o.useState(""),[y,m]=o.useState(""),[C,M]=o.useState(""),[S,j]=o.useState(!1),n=(x1)=>{M(x1),setTimeout(()=>M(""),1800)},e=async()=>{j(!0);try{await U.call("changeEmail",{email:k}),g(""),n("Contact email updated")}catch(x1){I(e1(x1))}finally{j(!1)}},U1=async()=>{j(!0);try{await U.call("changePassword",{currentPassword:E,newPassword:y}),N(""),m(""),n("Password updated")}catch(x1){I(e1(x1))}finally{j(!1)}};return q.jsxDEV("div",{className:"inspect",style:{background:"var(--surface-2)"},children:[q.jsxDEV("div",{className:"sect",style:{marginTop:0},children:"My account"},void 0,!1,void 0,this),C?q.jsxDEV("div",{className:"banner ok",children:C},void 0,!1,void 0,this):null,q.jsxDEV("div",{className:"kv",style:{marginBottom:16},children:[q.jsxDEV("span",{children:"Username"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A?.userId??"—"},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Roles"},void 0,!1,void 0,this),q.jsxDEV("span",{children:(A?.roles??[]).join(", ")||"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Change contact email"},void 0,!1,void 0,this),q.jsxDEV("input",{value:k,type:"email",onChange:(x1)=>g(x1.target.value),placeholder:"you@example.com"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("button",{className:"primary",onClick:e,disabled:S||!k,style:{width:"100%"},children:"Save email"},void 0,!1,void 0,this),q.jsxDEV("div",{style:{height:20}},void 0,!1,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:"Current password"},void 0,!1,void 0,this),q.jsxDEV("input",{value:E,type:"password",onChange:(x1)=>N(x1.target.value),autoComplete:"current-password"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("label",{className:"field",children:[q.jsxDEV("span",{className:"lbl",children:["New password ",q.jsxDEV("span",{className:"muted",style:{fontWeight:400},children:"(at least 8 characters)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("input",{value:y,type:"password",onChange:(x1)=>m(x1.target.value),autoComplete:"new-password"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.jsxDEV("button",{className:"primary",onClick:U1,disabled:S||y.length<8||E.length===0,style:{width:"100%"},children:"Change password"},void 0,!1,void 0,this),q.jsxDEV("div",{style:{height:24}},void 0,!1,void 0,this),q.jsxDEV("button",{className:"ghost danger",onClick:b,style:{width:"100%"},children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function $_({cfg:U,me:A}){return q.jsxDEV("div",{className:"inspect",style:{background:"var(--surface-2)"},children:[q.jsxDEV("div",{className:"sect",style:{marginTop:0},children:"About"},void 0,!1,void 0,this),q.jsxDEV("div",{className:"kv",children:[q.jsxDEV("span",{children:"Tenant"},void 0,!1,void 0,this),q.jsxDEV("span",{children:U.tenant||"main"},void 0,!1,void 0,this),q.jsxDEV("span",{children:"API"},void 0,!1,void 0,this),q.jsxDEV("span",{style:{wordBreak:"break-all"},children:U.baseUrl},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Signed in as"},void 0,!1,void 0,this),q.jsxDEV("span",{children:A?.userId??"—"},void 0,!1,void 0,this),q.jsxDEV("span",{children:"Editor"},void 0,!1,void 0,this),q.jsxDEV("span",{children:"pramen · cms-editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var bq=`
236
- :root {
237
- --bg:#f7f3ea; --surface:#efe9dc; --surface-2:#ffffff; --raise:#efe9dc;
238
- --border:#e5dfd0; --border-2:#d9d1bd;
239
- --ink:#111111; --ink-2:#6b6a63; --ink-3:#a4a29a;
240
- --spring:#7ed4a6; --spring-dim:#52b380; --spring-bg:#a3e2c0; --spring-ink:#0f3a25;
241
- --amber:#b8863b; --amber-bg:#f1e6cf;
242
- --danger:#b04141; --danger-bg:#f5e2e2;
243
- --radius:14px; --radius-sm:10px; --radius-pill:999px;
244
- --mono:ui-monospace,"SF Mono","JetBrains Mono","Menlo",monospace;
245
- --sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
246
- /* Display face — system font for now (no serif). Swap in a brand font here later. */
247
- --serif:var(--sans);
248
- }
249
- * { box-sizing:border-box; }
250
- html,body { margin:0; height:100%; }
251
- body { background:var(--bg); color:var(--ink); font-family:var(--sans); font-size:14px; line-height:1.5; -webkit-font-smoothing:antialiased; }
252
- #app { min-height:100%; }
253
- a { color:var(--ink); text-decoration:underline; text-underline-offset:2px; text-decoration-color:var(--ink-3); cursor:pointer; }
254
- a:hover { text-decoration-color:var(--ink); }
255
-
256
- /* --- top bar ------------------------------------------------------------ */
257
- .bar { display:flex; align-items:center; gap:16px; padding:16px 28px; background:var(--bg); border-bottom:1px solid transparent; position:sticky; top:0; z-index:10; }
258
- .bar .grow { flex:1; }
259
- .brand { font-weight:700; font-size:15px; letter-spacing:.01em; }
260
- .brand .dim { color:var(--ink-3); font-weight:400; }
261
- .crumb { color:var(--ink-2); font-size:13px; }
262
- .crumb b { color:var(--ink); font-weight:600; }
263
- .crumb a { text-decoration:none; color:var(--ink-2); }
264
- .crumb a:hover { color:var(--ink); }
265
-
266
- /* --- buttons: pill-shaped, black-filled primary ------------------------- */
267
- button, .btn { font:inherit; color:var(--ink); background:var(--surface); border:1px solid var(--border-2); border-radius:var(--radius-pill); padding:9px 20px; cursor:pointer; font-weight:500; transition:background .12s, border-color .12s, color .12s; }
268
- button:hover { background:#e6dfcd; }
269
- button.primary { background:#111111; border-color:#111111; color:#ffffff; }
270
- button.primary:hover { background:#000000; }
271
- button.ghost { background:transparent; border-color:transparent; color:var(--ink-2); }
272
- button.ghost:hover { color:var(--ink); background:var(--surface); }
273
- button.danger { color:var(--danger); border-color:var(--danger); background:var(--danger-bg); }
274
- button.danger:hover { background:#eeced0; }
275
- button:disabled { opacity:.45; cursor:not-allowed; }
276
- button.sm { padding:4px 11px; font-size:12px; font-weight:500; }
277
-
278
- /* --- inputs ------------------------------------------------------------- */
279
- input, textarea, select { font:inherit; color:var(--ink); background:var(--surface-2); border:1px solid var(--border-2); border-radius:var(--radius-sm); padding:10px 14px; width:100%; }
280
- input:focus, textarea:focus, select:focus { outline:none; border-color:var(--ink); }
281
- input::placeholder, textarea::placeholder { color:var(--ink-3); }
282
- textarea { min-height:88px; font-family:var(--mono); font-size:13px; resize:vertical; }
283
- label.field { display:block; margin:14px 0; }
284
- label.field > .lbl { display:block; color:var(--ink); font-weight:600; font-size:13px; margin-bottom:6px; }
285
- label.field > .lbl .req { color:var(--danger); font-weight:400; }
286
- .checkbox { display:flex; align-items:center; gap:8px; }
287
- .checkbox input { width:auto; }
288
-
289
- /* --- editor 3-col layout ------------------------------------------------ */
290
- .layout { display:grid; grid-template-columns:260px 1fr 400px; min-height:calc(100vh - 68px); gap:20px; padding:8px 28px 28px; }
291
- .side { background:var(--surface); border-radius:var(--radius); padding:18px; overflow:auto; }
292
- .canvas { padding:6px 0; overflow:auto; }
293
- .inspect { background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius); padding:20px 22px; overflow:auto; }
294
-
295
- .sect { color:var(--ink-3); font-family:var(--serif); font-style:italic; font-size:14px; letter-spacing:0; margin:18px 0 8px; }
296
- .list { display:flex; flex-direction:column; gap:8px; }
297
- .row { display:flex; align-items:center; gap:12px; padding:14px 18px; border:1px solid transparent; border-radius:var(--radius); background:var(--surface); cursor:pointer; transition:background .12s, border-color .12s; }
298
- .row:hover { background:#e6dfcd; }
299
- .row.active { border-color:var(--ink); background:var(--surface-2); }
300
- .row .grow { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; }
301
-
302
- /* --- status pills ------------------------------------------------------- */
303
- .pill { font-size:11px; padding:3px 10px; border-radius:var(--radius-pill); border:1px solid var(--border-2); color:var(--ink-2); background:var(--surface-2); font-weight:500; letter-spacing:.02em; }
304
- .pill.published { color:var(--spring-ink); border-color:transparent; background:var(--spring); }
305
- .pill.review, .pill.in_review { color:#4a3512; border-color:transparent; background:var(--amber-bg); }
306
- .pill.rejected, .pill.archived { color:#5c1e1e; border-color:transparent; background:var(--danger-bg); }
307
-
308
- /* --- editor regions / blocks ------------------------------------------- */
309
- .region { margin-bottom:24px; }
310
- .region > h3 { font-family:var(--serif); font-size:22px; color:var(--ink); margin:0 0 12px; display:flex; align-items:baseline; gap:12px; font-weight:400; }
311
- .region > h3 .allow { font-family:var(--sans); font-size:11px; color:var(--ink-3); font-weight:400; }
312
- .block { border:1px solid var(--border); border-radius:var(--radius); background:var(--surface-2); padding:14px 16px; margin-bottom:10px; transition:border-color .12s; }
313
- .block.selected { border-color:var(--ink); }
314
- .block .bhead { display:flex; align-items:center; gap:10px; }
315
- .block .btype { font-family:var(--mono); font-size:12px; color:var(--ink-2); background:var(--surface); padding:2px 8px; border-radius:var(--radius-pill); }
316
- .block .grow { flex:1; }
317
- .block .shared { font-size:11px; color:var(--amber); }
318
- .dropzone { border:1px dashed var(--border-2); border-radius:var(--radius); padding:14px; text-align:center; color:var(--ink-3); font-size:13px; }
319
- .dropzone.over { border-color:var(--ink); color:var(--ink); }
320
-
321
- .palette { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
322
- .palette button { font-size:12px; padding:6px 14px; }
323
- .repeater-item, .group { border:1px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; margin:8px 0; background:var(--surface); }
324
- .repeater-item > .ih { display:flex; justify-content:flex-end; gap:4px; }
325
-
326
- /* --- media library ------------------------------------------------------ */
327
- .media-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
328
- .media-cell { border:1px solid var(--border); border-radius:var(--radius-sm); overflow:hidden; cursor:pointer; background:var(--surface-2); transition:border-color .12s; }
329
- .media-cell:hover { border-color:var(--border-2); }
330
- .media-cell.sel { border-color:var(--ink); }
331
- .media-cell img { width:100%; height:80px; object-fit:cover; display:block; }
332
- .media-cell .fn { font-size:11px; padding:6px 8px; color:var(--ink-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
333
- .media-cell .ext { height:80px; display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:12px; color:var(--ink-3); background:var(--surface); }
334
-
335
- .media-lib { padding:0 28px 28px; max-width:1200px; margin:0 auto; }
336
- .media-lib .media-grid { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
337
- .media-lib .media-cell img, .media-lib .media-cell .ext { height:130px; }
338
- .media-toolbar { display:none; }
339
- label.btn { display:inline-flex; align-items:center; }
340
- .btn.disabled { opacity:.5; cursor:not-allowed; }
341
- .media-detail img { max-width:100%; max-height:340px; object-fit:contain; display:block; margin:0 auto 14px; background:var(--surface); border-radius:var(--radius-sm); }
342
- .media-detail .ext.lg { height:200px; display:flex; align-items:center; justify-content:center; font-family:var(--mono); color:var(--ink-3); background:var(--surface); border-radius:var(--radius-sm); margin-bottom:14px; }
343
- .media-detail .kv a { word-break:break-all; }
344
-
345
- /* --- modals ------------------------------------------------------------- */
346
- .scrim { position:fixed; inset:0; background:rgba(20,15,5,.28); display:flex; align-items:center; justify-content:center; z-index:50; padding:24px; }
347
- .modal { background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius); padding:32px 36px; width:min(680px,92vw); max-height:86vh; overflow:auto; box-shadow:0 24px 60px rgba(30,20,10,.12); }
348
- .modal h2 { margin:0 0 20px; font-family:var(--serif); font-weight:400; font-size:28px; line-height:1.15; color:var(--ink); }
349
- .modal h2 .dim { color:var(--ink-3); font-style:italic; }
350
- .banner { padding:10px 14px; border-radius:var(--radius-sm); margin:8px 0; font-size:13px; }
351
- .banner.err { background:var(--danger-bg); border:1px solid var(--danger); color:var(--danger); }
352
- .banner.ok { background:var(--spring); border:1px solid var(--spring-dim); color:var(--spring-ink); }
353
- .muted { color:var(--ink-3); }
354
-
355
- /* --- tabs: pill nav (top bar) + pill sub-tabs (inspector) --------------- */
356
- .tabs { display:flex; gap:4px; margin-bottom:12px; align-items:center; }
357
- .tabs button { border-radius:var(--radius-pill); font-size:13px; padding:7px 16px; background:transparent; border-color:transparent; color:var(--ink); font-weight:500; }
358
- .tabs button:hover { background:var(--surface); }
359
- .tabs button.on { background:var(--surface); color:var(--ink); border-color:transparent; }
360
- .tabs.nav { gap:2px; }
361
- .tabs.nav button { font-size:14px; padding:8px 18px; }
362
-
363
- .setup { max-width:520px; margin:14vh auto; padding:32px 40px; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius); box-shadow:0 24px 60px rgba(30,20,10,.08); }
364
- .setup h1 { font-family:var(--serif); font-weight:400; font-size:32px; margin:0 0 16px; color:var(--ink); }
365
- .setup h1 .dim { color:var(--ink-3); font-style:italic; }
366
- .setup .primary { width:100%; margin-top:8px; }
367
- .kv { display:grid; grid-template-columns:auto 1fr; gap:8px 14px; font-size:13px; color:var(--ink-2); }
368
- .kv > span:nth-child(odd) { color:var(--ink-3); font-family:var(--serif); font-style:italic; }
369
-
370
- /* --- hero band (list views): big serif split heading + mint CTA card ---- */
371
- .hero { display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; padding:32px 28px 24px; max-width:1200px; margin:0 auto; }
372
- .hero-h { font-family:var(--serif); font-weight:400; font-size:56px; line-height:1.05; letter-spacing:-.01em; margin:0; }
373
- .hero-h .lead { color:var(--ink-3); font-style:italic; display:block; }
374
- .hero-h .em { color:var(--ink); font-style:normal; display:block; }
375
- .cta { display:flex; align-items:center; gap:18px; background:var(--spring); border-radius:var(--radius-pill); padding:12px 12px 12px 28px; min-width:360px; }
376
- .cta .cta-text { font-family:var(--serif); font-style:italic; font-size:18px; color:var(--spring-ink); }
377
- .cta .cta-text .em { font-style:normal; font-weight:600; }
378
- .cta button.primary { flex-shrink:0; }
379
- .list-wrap { max-width:1200px; margin:0 auto; padding:8px 28px 32px; }
380
- .list-wrap .sect { margin-top:0; }
381
-
382
- /* --- rich text (WYSIWYG) ------------------------------------------------ */
383
- .rt { border:1px solid var(--border-2); border-radius:var(--radius-sm); overflow:hidden; background:var(--surface-2); }
384
- .rt-toolbar { display:flex; flex-wrap:wrap; gap:3px; padding:6px 8px; border-bottom:1px solid var(--border); background:var(--surface); }
385
- .rt-toolbar button { padding:3px 10px; font-size:12px; border-radius:var(--radius-sm); background:transparent; border-color:transparent; color:var(--ink-2); }
386
- .rt-toolbar button:hover { background:var(--surface-2); color:var(--ink); }
387
- .rt-editor { min-height:180px; padding:14px 16px; font-family:var(--sans); font-size:14px; line-height:1.65; color:var(--ink); outline:none; }
388
- .rt-editor:empty:before { content:attr(data-placeholder); color:var(--ink-3); pointer-events:none; }
389
- .rt-editor:focus { box-shadow:inset 0 0 0 2px var(--ink); border-radius:0 0 var(--radius-sm) var(--radius-sm); }
390
- .rt-editor h2 { font-family:var(--serif); font-weight:400; font-size:24px; line-height:1.2; margin:.7em 0 .3em; }
391
- .rt-editor h3 { font-family:var(--serif); font-weight:400; font-size:19px; line-height:1.25; margin:.7em 0 .3em; }
392
- .rt-editor p { margin:.55em 0; }
393
- .rt-editor ul, .rt-editor ol { margin:.55em 0; padding-left:1.5em; }
394
- .rt-editor li { margin:.2em 0; }
395
- .rt-editor a { color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
396
- .rt-editor:first-child { margin-top:0; }
397
-
398
- @media (max-width:820px) {
399
- .hero { grid-template-columns:1fr; padding:20px 20px 16px; }
400
- .hero-h { font-size:40px; }
401
- .cta { min-width:0; }
402
- .layout { grid-template-columns:1fr; padding:8px 20px 20px; }
403
- .list-wrap, .media-lib { padding-left:20px; padding-right:20px; }
404
- }
405
- `;var SZ=f0(h8(),1),fq=document.createElement("style");fq.textContent=bq;document.head.appendChild(fq);var jq=document.getElementById("app");if(jq)Dq.createRoot(jq).render(SZ.jsxDEV(Vq.StrictMode,{children:SZ.jsxDEV(Sq,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));