@pramen/cms-editor 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.css +1 -1
- package/dist/index.html +1 -1
- package/dist/main.e0yd6v1m.js +251 -0
- package/package.json +1 -1
- package/src/components.tsx +206 -65
- package/dist/main.ywh6bxc0.js +0 -251
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
var $E=Object.create;var{getPrototypeOf:SE,defineProperty:p9,getOwnPropertyNames:EE}=Object;var kE=Object.prototype.hasOwnProperty;function xE(Q){return this[Q]}var yE,vE,g=(Q,q,z)=>{var _=Q!=null&&typeof Q==="object";if(_){var W=q?yE??=new WeakMap:vE??=new WeakMap,K=W.get(Q);if(K)return K}z=Q!=null?$E(SE(Q)):{};let A=q||!Q||!Q.__esModule?p9(z,"default",{value:Q,enumerable:!0}):z;for(let L of EE(Q))if(!kE.call(A,L))p9(A,L,{get:xE.bind(Q,L),enumerable:!0});if(_)W.set(Q,A);return A};var pq=(Q,q)=>()=>(q||Q((q={exports:{}}).exports,q),q.exports);var hE=(Q)=>Q;function bE(Q,q){this[Q]=hE.bind(null,q)}var p_=(Q,q)=>{for(var z in q)p9(Q,z,{get:q[z],enumerable:!0,configurable:!0,set:bE.bind(q,z)})};var C=(Q,q)=>()=>(Q&&(q=Q(Q=0)),q);class wA{cache=new Map;_maxSize;constructor(Q){if(Q<0)throw Error(`[buzola] LoaderCache maxSize must be non-negative, got ${Q}`);this._maxSize=Q}get maxSize(){return this._maxSize}get size(){return this.cache.size}get(Q){let q=this.cache.get(Q);if(q!==void 0||this.cache.has(Q))this.cache.delete(Q),this.cache.set(Q,q);return q}has(Q){return this.cache.has(Q)}set(Q,q){this.cache.delete(Q),this.cache.set(Q,q);while(this.cache.size>this._maxSize){let z=this.cache.keys().next().value;this.cache.delete(z)}}delete(Q){this.cache.delete(Q)}clear(){this.cache.clear()}}function l_(Q,q){let z=q.pathname,_=z.split("/").filter(Boolean);return l9(Q.root,_,0,{},z)}function l9(Q,q,z,_,W){if(z===q.length){if(Q.route)return bT(Q.route.chain,_,W);return null}let K=q[z],A=Q.staticChildren.get(K);if(A){let L=l9(A,q,z+1,_,W);if(L)return L}if(Q.dynamicChild){let L={..._,[Q.dynamicChild.paramName]:decodeURIComponent(K)},O=l9(Q.dynamicChild.node,q,z+1,L,W);if(O)return O}if(Q.catchAllChild){let L=q.slice(z).map((T)=>decodeURIComponent(T)).join("/"),O={..._,[Q.catchAllChild.paramName]:L};return bT(Q.catchAllChild.chain,O,W)}return null}function bT(Q,q,z){return Q.map((_)=>({node:_,params:q,pathname:z}))}function i9(Q){let q=Q.endsWith("+");return{name:q?Q.slice(1,-1):Q.slice(1),isCatchAll:q}}function LK(Q){let q=[];for(let z of Q.split("/"))if(z.startsWith(":"))q.push(i9(z).name);return q}class VA{routes;adapter;viewTransitions;_basePath;persistentParamsFn;pageRegistry;subscribers=new Set;invalidationListeners=new Set;state;navigationId=0;stopFn;blockers=new Set;pendingScrollBehavior="after-transition";_loaderCache;constructor(Q){this.routes=Q.routes,this.adapter=Q.adapter,this.viewTransitions=Q.viewTransitions??!1,this._basePath=Q.basePath?Q.basePath.replace(/\/$/,""):"",this.persistentParamsFn=Q.persistentParams,this.pageRegistry=Q.pageRegistry??{},this._loaderCache=Q.loaderCacheSize?new wA(Q.loaderCacheSize):void 0;let q=this.adapter.getCurrentURL(),z=this.createMatchUrl(q),_=l_(this.routes,z)??[];if(_.length===0)console.warn(`[buzola] No route matched URL "${q.pathname}". Define a catch-all 404 route to handle unmatched URLs.`);this.state={location:q,matches:_,isPending:!1,navigationState:this.adapter.getState()}}get basePath(){return this._basePath}get loaderCache(){return this._loaderCache}getState(){return this.state}subscribe(Q){return this.subscribers.add(Q),()=>{this.subscribers.delete(Q)}}start(){let Q=(z)=>{if(!z.canIntercept)return;let _=new URL(z.destination.url),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K){console.warn(`[buzola] No route matched URL "${_.pathname}". The navigation was not intercepted.`);return}let A=++this.navigationId,L=z.viewTransition||this.viewTransitions,O=this.pendingScrollBehavior;this.pendingScrollBehavior="after-transition",z.intercept({scroll:O,handler:async()=>{for(let N of this.blockers){if(this.navigationId!==A)return;if(!await N())throw new n9}if(this.setState({...this.state,isPending:!0,pendingLocation:_}),this.navigationId!==A)return;let T=()=>{this.setState({location:_,matches:K,isPending:!1,pendingLocation:void 0,navigationState:this.adapter.getState()})};if(L&&typeof document<"u"&&"startViewTransition"in document)document.startViewTransition(T);else T()}})};this.adapter.addEventListener("navigate",Q);let q=()=>{this.adapter.removeEventListener("navigate",Q)};return this.stopFn=q,q}navigate(Q,q){if(q?.resetScroll===!1)this.pendingScrollBehavior="manual";this.adapter.navigate(this._basePath+Q,q)}navigateToPage(Q,q,z){let _=this.buildPagePath(Q,q);this.navigate(this.stripBasePath(_),z)}buildPagePath(Q,q){let z=this.pageRegistry[Q];if(!z)throw Error(`[buzola] Unknown page "${Q}". Is it registered in the page registry?`);let _=this.resolveParams(z,q);return this.buildPath(z,_)}preload(Q,q){let z=this.buildPagePath(Q,q),_=new URL(z,"http://localhost"),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K)return;for(let A of K)A.node.preload?.()}back(){this.adapter.back()}forward(){this.adapter.forward()}buildPath(Q,q){let z=Q.split("/"),_=[],W=[];for(let T of z)if(T.startsWith(":")){let{name:N,isCatchAll:M}=i9(T),R=q?.[N];if(R===void 0)W.push(N);else if(M)_.push(R);else _.push(encodeURIComponent(R))}else _.push(T);if(W.length>0){if(!q)throw Error(`[buzola] Missing params for path "${Q}": ${W.join(", ")}`);throw Error(`[buzola] Missing param "${W[0]}" for path "${Q}"`)}let K=new Set(LK(Q)),A=new URLSearchParams;if(q){for(let[T,N]of Object.entries(q))if(!K.has(T)&&N!==void 0)A.set(T,N)}let L=this._basePath+_.join("/"),O=A.toString();return O?`${L}?${O}`:L}stripBasePath(Q){if(this._basePath&&Q.startsWith(this._basePath))return Q.slice(this._basePath.length)||"/";return Q}resolveParams(Q,q){let z=LK(Q),_=this.getCurrentParams(),W=this.persistentParamsFn?.()??{},K={};for(let A of z){let L=q?.[A]??_[A]??W[A];if(L!==void 0)K[A]=L}if(q){let A=new Set(z);for(let[L,O]of Object.entries(q))if(!A.has(L)&&O!==void 0)K[L]=O}return K}getCurrentParams(){let Q={};for(let q of this.state.matches)Object.assign(Q,q.params);return Q}invalidateAll(){for(let Q of this.invalidationListeners)Q()}onInvalidate(Q){return this.invalidationListeners.add(Q),()=>{this.invalidationListeners.delete(Q)}}addBlocker(Q){return this.blockers.add(Q),()=>{this.blockers.delete(Q)}}dispose(){this.stopFn?.(),this.stopFn=void 0,this.subscribers.clear(),this.invalidationListeners.clear()}updateRoutes(Q){this.routes=Q;let q=l_(this.routes,this.createMatchUrl(this.state.location))??[];this.setState({...this.state,matches:q})}createMatchUrl(Q){if(!this._basePath)return Q;let q=new URL(Q);return q.pathname=this.stripBasePath(q.pathname),q}setState(Q){this.state=Q;for(let q of this.subscribers)q(this.state)}}var n9;var s9=C(()=>{n9=class n9 extends Error{constructor(){super("Navigation aborted by blocker");this.name="NavigationAbortedError"}}});function mT(Q){let{path:q,fullPath:z,component:_,searchSchema:W,preload:K,isLayout:A=!1,isIndex:L=!1}=Q;return{id:`route:${z||"/"}${A?":layout":""}`,path:gT(q),fullPath:gT(z),component:_,searchSchema:W,preload:K,isLayout:A,isIndex:L}}function o9(Q,q=""){let z=fT(Q,q,[]),_=a9();for(let W of z)gE(_,W.pattern,W.chain);return{root:_}}function fT(Q,q,z){let _=[];for(let W of Q){let K=W.isPathlessGroup?"":W.path,A=W.children!=null&&W.children.length>0,L=W.isLayout??A,O=W.isIndex??(!L&&(W.path==="/"||W.path==="")),T;if(W.matchPath!=null)T=W.matchPath;else if(O)T=q||"/";else T=fE(q||"/",K);let N=mT({path:K,fullPath:T,component:W.component,searchSchema:W.searchSchema,preload:W.preload,isLayout:L,isIndex:O});if(L){let M=[...z,N];if(W.children){let R=W.isPathlessGroup?q:T;_.push(...fT(W.children,R,M))}}else _.push({pattern:T,chain:[...z,N]})}return _}function a9(){return{staticChildren:new Map}}function gE(Q,q,z){let _=mE(q),W=Q;for(let K=0;K<_.length;K++){let A=_[K];if(A.startsWith(":")&&(A.endsWith("+")||A.endsWith("*"))){let L=A.slice(1,-1);W.catchAllChild={paramName:L,chain:z};return}if(A.startsWith(":")){let L=A.slice(1);if(!W.dynamicChild)W.dynamicChild={paramName:L,node:a9()};W=W.dynamicChild.node}else{let L=W.staticChildren.get(A);if(!L)L=a9(),W.staticChildren.set(A,L);W=L}}W.route={chain:z}}function mE(Q){return Q.split("/").filter(Boolean)}function gT(Q){if(Q===""||Q==="/")return"/";let q=Q.startsWith("/")?Q:`/${Q}`;return q.endsWith("/")?q.slice(0,-1):q}function fE(Q,q){if(q==="/")return Q==="/"?"/":Q;let z=Q==="/"?"":Q,_=q.startsWith("/")?q:`/${q}`;return z+_}function r9(){let Q=window.navigation;if(!Q)throw Error("Navigation API is not available. Buzola requires a browser that supports the Navigation API.");let q=new Set,z=!1,_=(W)=>{let K=z;z=!1;let A={destination:{url:W.destination.url},canIntercept:W.canIntercept,navigationType:W.navigationType,userInitiated:W.userInitiated,viewTransition:K,intercept(L){W.intercept({handler:L.handler,scroll:L.scroll})}};for(let L of q)L(A)};return{getCurrentURL(){return new URL(Q.currentEntry.url)},navigate(W,K){if(K?.viewTransition)z=!0;Q.navigate(W,{history:K?.replace?"replace":"push",state:K?.state})},back(){Q.back()},forward(){Q.forward()},addEventListener(W,K){let A=q.size===0;if(q.add(K),A)Q.addEventListener("navigate",_)},removeEventListener(W,K){if(q.delete(K),q.size===0)Q.removeEventListener("navigate",_)},getState(){return Q.currentEntry?.getState?.()}}}function uT(Q){return!("issues"in Q["~standard"].validate(void 0))}function t9(Q,q,z){let _=Q["~standard"].validate(q);if("issues"in _)throw Error(`${z}${_.issues.map((W)=>W.message).join(", ")}`);return _.value}function dT(Q){let q=Q.startsWith("?"),z=q?Q.slice(1):Q,_=z.endsWith("[]"),W=_?z.slice(0,-2):z,K=dE[W];if(!K)throw Error(`[buzola] Unknown param type: ${W}`);let A;if(_)A=(L)=>{if(q&&(L===void 0||Array.isArray(L)&&L.length===0))return{value:void 0};if(!Array.isArray(L))return{issues:[{message:`expected ${W}[]`}]};let O=[];for(let T of L){let N=K(T);if("issues"in N)return N;O.push(N.value)}return{value:O}};else if(q)A=(L)=>L===void 0||L===""?{value:void 0}:K(L);else A=K;return{schema:{"~standard":{version:1,vendor:"buzola",validate:A}},optional:q,array:_}}var uE,dE;var RA=C(()=>{uE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,dE={string:(Q)=>typeof Q==="string"?{value:Q}:{issues:[{message:"expected string"}]},number:(Q)=>{let q=Number(Q);return Number.isNaN(q)?{issues:[{message:"expected number"}]}:{value:q}},uuid:(Q)=>typeof Q==="string"&&uE.test(Q)?{value:Q}:{issues:[{message:"expected UUID"}]}}});var ZZ=pq((cE,jA)=>{(function(){function Q(w,f){Object.defineProperty(_.prototype,w,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function q(w){if(w===null||typeof w!=="object")return null;return w=Oq&&w[Oq]||w["@@iterator"],typeof w==="function"?w:null}function z(w,f){w=(w=w.constructor)&&(w.displayName||w.name)||"ReactClass";var QZ=w+"."+f;UZ[QZ]||(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,w),UZ[QZ]=!0)}function _(w,f,QZ){this.props=w,this.context=f,this.refs=yY,this.updater=QZ||KQ}function W(){}function K(w,f,QZ){this.props=w,this.context=f,this.refs=yY,this.updater=QZ||KQ}function A(){}function L(w){return""+w}function O(w){try{L(w);var f=!1}catch(wZ){f=!0}if(f){f=console;var QZ=f.error,HZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return QZ.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",HZ),L(w)}}function T(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===Fq?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case s:return"Fragment";case t:return"Profiler";case V:return"StrictMode";case JX:return"Suspense";case OZ:return"SuspenseList";case BX:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case _Z:return"Portal";case CZ:return w.displayName||"Context";case IZ:return(w._context.displayName||"Context")+".Consumer";case yZ:var f=w.render;return w=w.displayName,w||(w=f.displayName||f.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case YX:return f=w.displayName||null,f!==null?f:T(w.type)||"Memo";case TX:f=w._payload,w=w._init;try{return T(w(f))}catch(QZ){}}return null}function N(w){if(w===s)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===TX)return"<...>";try{var f=T(w);return f?"<"+f+">":"<...>"}catch(QZ){return"<...>"}}function M(){var w=lZ.A;return w===null?null:w.getOwner()}function R(){return Error("react-stack-top-frame")}function j(w){if(fz.call(w,"key")){var f=Object.getOwnPropertyDescriptor(w,"key").get;if(f&&f.isReactWarning)return!1}return w.key!==void 0}function v(w,f){function QZ(){GB||(GB=!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))}QZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:QZ,configurable:!0})}function m(){var w=T(this.type);return LH[w]||(LH[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function b(w,f,QZ,HZ,wZ,fZ){var uZ=QZ.ref;return w={$$typeof:d,type:w,key:f,props:QZ,_owner:HZ},(uZ!==void 0?uZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:m}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:wZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fZ}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function n(w,f){return f=b(w.type,f,w.props,w._owner,w._debugStack,w._debugTask),w._store&&(f._store.validated=w._store.validated),f}function e(w){GZ(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===TX&&(w._payload.status==="fulfilled"?GZ(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function GZ(w){return typeof w==="object"&&w!==null&&w.$$typeof===d}function JZ(w){var f={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(QZ){return f[QZ]})}function LZ(w,f){return typeof w==="object"&&w!==null&&w.key!=null?(O(w.key),JZ(""+w.key)):f.toString(36)}function kZ(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status==="string"?w.then(A,A):(w.status="pending",w.then(function(f){w.status==="pending"&&(w.status="fulfilled",w.value=f)},function(f){w.status==="pending"&&(w.status="rejected",w.reason=f)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function YZ(w,f,QZ,HZ,wZ){var fZ=typeof w;if(fZ==="undefined"||fZ==="boolean")w=null;var uZ=!1;if(w===null)uZ=!0;else switch(fZ){case"bigint":case"string":case"number":uZ=!0;break;case"object":switch(w.$$typeof){case d:case _Z:uZ=!0;break;case TX:return uZ=w._init,YZ(uZ(w._payload),f,QZ,HZ,wZ)}}if(uZ){uZ=w,wZ=wZ(uZ);var WX=HZ===""?"."+LZ(uZ,0):HZ;return PZ(wZ)?(QZ="",WX!=null&&(QZ=WX.replace(dz,"$&/")+"/"),YZ(wZ,f,QZ,"",function(vY){return vY})):wZ!=null&&(GZ(wZ)&&(wZ.key!=null&&(uZ&&uZ.key===wZ.key||O(wZ.key)),QZ=n(wZ,QZ+(wZ.key==null||uZ&&uZ.key===wZ.key?"":(""+wZ.key).replace(dz,"$&/")+"/")+WX),HZ!==""&&uZ!=null&&GZ(uZ)&&uZ.key==null&&uZ._store&&!uZ._store.validated&&(QZ._store.validated=2),wZ=QZ),f.push(wZ)),1}if(uZ=0,WX=HZ===""?".":HZ+":",PZ(w))for(var SZ=0;SZ<w.length;SZ++)HZ=w[SZ],fZ=WX+LZ(HZ,SZ),uZ+=YZ(HZ,f,QZ,fZ,wZ);else if(SZ=q(w),typeof SZ==="function")for(SZ===w.entries&&(uz||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),uz=!0),w=SZ.call(w),SZ=0;!(HZ=w.next()).done;)HZ=HZ.value,fZ=WX+LZ(HZ,SZ++),uZ+=YZ(HZ,f,QZ,fZ,wZ);else if(fZ==="object"){if(typeof w.then==="function")return YZ(kZ(w),f,QZ,HZ,wZ);throw f=String(w),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return uZ}function p(w,f,QZ){if(w==null)return w;var HZ=[],wZ=0;return YZ(w,HZ,"","",function(fZ){return f.call(QZ,fZ,wZ++)}),HZ}function NZ(w){if(w._status===-1){var f=w._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=w._result;var QZ=f();if(QZ.then(function(wZ){if(w._status===0||w._status===-1){w._status=1,w._result=wZ;var fZ=w._ioInfo;fZ!=null&&(fZ.end=performance.now()),QZ.status===void 0&&(QZ.status="fulfilled",QZ.value=wZ)}},function(wZ){if(w._status===0||w._status===-1){w._status=2,w._result=wZ;var fZ=w._ioInfo;fZ!=null&&(fZ.end=performance.now()),QZ.status===void 0&&(QZ.status="rejected",QZ.reason=wZ)}}),f=w._ioInfo,f!=null){f.value=QZ;var HZ=QZ.displayName;typeof HZ==="string"&&(f.name=HZ)}w._status===-1&&(w._status=0,w._result=QZ)}if(w._status===1)return f=w._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 w._result}function o(){var w=lZ.H;return w===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.`),w}function VZ(){lZ.asyncTransitions--}function WZ(w){if(OH===null)try{var f=("require"+Math.random()).slice(0,7);OH=(jA&&jA[f]).call(jA,"timers").setImmediate}catch(QZ){OH=function(HZ){HB===!1&&(HB=!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 wZ=new MessageChannel;wZ.port1.onmessage=HZ,wZ.port2.postMessage(void 0)}}return OH(w)}function a(w){return 1<w.length&&typeof AggregateError==="function"?AggregateError(w):w[0]}function D(w,f){f!==FH-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. "),FH=f}function h(w,f,QZ){var HZ=lZ.actQueue;if(HZ!==null)if(HZ.length!==0)try{u(HZ),WZ(function(){return h(w,f,QZ)});return}catch(wZ){lZ.thrownErrors.push(wZ)}else lZ.actQueue=null;0<lZ.thrownErrors.length?(HZ=a(lZ.thrownErrors),lZ.thrownErrors.length=0,QZ(HZ)):f(w)}function u(w){if(!NH){NH=!0;var f=0;try{for(;f<w.length;f++){var QZ=w[f];do{lZ.didUsePromise=!1;var HZ=QZ(!1);if(HZ!==null){if(lZ.didUsePromise){w[f]=QZ,w.splice(0,f);return}QZ=HZ}else break}while(1)}w.length=0}catch(wZ){w.splice(0,f+1),lZ.thrownErrors.push(wZ)}finally{NH=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var d=Symbol.for("react.transitional.element"),_Z=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),t=Symbol.for("react.profiler"),IZ=Symbol.for("react.consumer"),CZ=Symbol.for("react.context"),yZ=Symbol.for("react.forward_ref"),JX=Symbol.for("react.suspense"),OZ=Symbol.for("react.suspense_list"),YX=Symbol.for("react.memo"),TX=Symbol.for("react.lazy"),BX=Symbol.for("react.activity"),Oq=Symbol.iterator,UZ={},KQ={isMounted:function(){return!1},enqueueForceUpdate:function(w){z(w,"forceUpdate")},enqueueReplaceState:function(w){z(w,"replaceState")},enqueueSetState:function(w){z(w,"setState")}},BQ=Object.assign,yY={};Object.freeze(yY),_.prototype.isReactComponent={},_.prototype.setState=function(w,f){if(typeof w!=="object"&&typeof w!=="function"&&w!=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,w,f,"setState")},_.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};var oX={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(JG in oX)oX.hasOwnProperty(JG)&&Q(JG,oX[JG]);W.prototype=_.prototype,oX=K.prototype=new W,oX.constructor=K,BQ(oX,_.prototype),oX.isPureReactComponent=!0;var PZ=Array.isArray,Fq=Symbol.for("react.client.reference"),lZ={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},fz=Object.prototype.hasOwnProperty,jX=console.createTask?console.createTask:function(){return null};oX={react_stack_bottom_frame:function(w){return w()}};var GB,EJ,LH={},AH=oX.react_stack_bottom_frame.bind(oX,R)(),WF=jX(N(R)),uz=!1,dz=/\/+/g,QG=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(f))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},HB=!1,OH=null,FH=0,MH=!1,NH=!1,hW=typeof queueMicrotask==="function"?function(w){queueMicrotask(function(){return queueMicrotask(w)})}:WZ;oX=Object.freeze({__proto__:null,c:function(w){return o().useMemoCache(w)}});var JG={map:p,forEach:function(w,f,QZ){p(w,function(){f.apply(this,arguments)},QZ)},count:function(w){var f=0;return p(w,function(){f++}),f},toArray:function(w){return p(w,function(f){return f})||[]},only:function(w){if(!GZ(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};cE.Activity=BX,cE.Children=JG,cE.Component=_,cE.Fragment=s,cE.Profiler=t,cE.PureComponent=K,cE.StrictMode=V,cE.Suspense=JX,cE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lZ,cE.__COMPILER_RUNTIME=oX,cE.act=function(w){var f=lZ.actQueue,QZ=FH;FH++;var HZ=lZ.actQueue=f!==null?f:[],wZ=!1;try{var fZ=w()}catch(SZ){lZ.thrownErrors.push(SZ)}if(0<lZ.thrownErrors.length)throw D(f,QZ),w=a(lZ.thrownErrors),lZ.thrownErrors.length=0,w;if(fZ!==null&&typeof fZ==="object"&&typeof fZ.then==="function"){var uZ=fZ;return hW(function(){wZ||MH||(MH=!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(SZ,vY){wZ=!0,uZ.then(function(LQ){if(D(f,QZ),QZ===0){try{u(HZ),WZ(function(){return h(LQ,SZ,vY)})}catch(bW){lZ.thrownErrors.push(bW)}if(0<lZ.thrownErrors.length){var qG=a(lZ.thrownErrors);lZ.thrownErrors.length=0,vY(qG)}}else SZ(LQ)},function(LQ){D(f,QZ),0<lZ.thrownErrors.length?(LQ=a(lZ.thrownErrors),lZ.thrownErrors.length=0,vY(LQ)):vY(LQ)})}}}var WX=fZ;if(D(f,QZ),QZ===0&&(u(HZ),HZ.length!==0&&hW(function(){wZ||MH||(MH=!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(() => ...)"))}),lZ.actQueue=null),0<lZ.thrownErrors.length)throw w=a(lZ.thrownErrors),lZ.thrownErrors.length=0,w;return{then:function(SZ,vY){wZ=!0,QZ===0?(lZ.actQueue=HZ,WZ(function(){return h(WX,SZ,vY)})):SZ(WX)}}},cE.cache=function(w){return function(){return w.apply(null,arguments)}},cE.cacheSignal=function(){return null},cE.captureOwnerStack=function(){var w=lZ.getCurrentStack;return w===null?null:w()},cE.cloneElement=function(w,f,QZ){if(w===null||w===void 0)throw Error("The argument must be a React element, but you passed "+w+".");var HZ=BQ({},w.props),wZ=w.key,fZ=w._owner;if(f!=null){var uZ;Z:{if(fz.call(f,"ref")&&(uZ=Object.getOwnPropertyDescriptor(f,"ref").get)&&uZ.isReactWarning){uZ=!1;break Z}uZ=f.ref!==void 0}uZ&&(fZ=M()),j(f)&&(O(f.key),wZ=""+f.key);for(WX in f)!fz.call(f,WX)||WX==="key"||WX==="__self"||WX==="__source"||WX==="ref"&&f.ref===void 0||(HZ[WX]=f[WX])}var WX=arguments.length-2;if(WX===1)HZ.children=QZ;else if(1<WX){uZ=Array(WX);for(var SZ=0;SZ<WX;SZ++)uZ[SZ]=arguments[SZ+2];HZ.children=uZ}HZ=b(w.type,wZ,HZ,fZ,w._debugStack,w._debugTask);for(wZ=2;wZ<arguments.length;wZ++)e(arguments[wZ]);return HZ},cE.createContext=function(w){return w={$$typeof:CZ,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:IZ,_context:w},w._currentRenderer=null,w._currentRenderer2=null,w},cE.createElement=function(w,f,QZ){for(var HZ=2;HZ<arguments.length;HZ++)e(arguments[HZ]);HZ={};var wZ=null;if(f!=null)for(SZ in EJ||!("__self"in f)||"key"in f||(EJ=!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)&&(O(f.key),wZ=""+f.key),f)fz.call(f,SZ)&&SZ!=="key"&&SZ!=="__self"&&SZ!=="__source"&&(HZ[SZ]=f[SZ]);var fZ=arguments.length-2;if(fZ===1)HZ.children=QZ;else if(1<fZ){for(var uZ=Array(fZ),WX=0;WX<fZ;WX++)uZ[WX]=arguments[WX+2];Object.freeze&&Object.freeze(uZ),HZ.children=uZ}if(w&&w.defaultProps)for(SZ in fZ=w.defaultProps,fZ)HZ[SZ]===void 0&&(HZ[SZ]=fZ[SZ]);wZ&&v(HZ,typeof w==="function"?w.displayName||w.name||"Unknown":w);var SZ=1e4>lZ.recentlyCreatedOwnerStacks++;return b(w,wZ,HZ,M(),SZ?Error("react-stack-top-frame"):AH,SZ?jX(N(w)):WF)},cE.createRef=function(){var w={current:null};return Object.seal(w),w},cE.forwardRef=function(w){w!=null&&w.$$typeof===YX?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof w!=="function"?console.error("forwardRef requires a render function but was given %s.",w===null?"null":typeof w):w.length!==0&&w.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",w.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),w!=null&&w.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:yZ,render:w},QZ;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return QZ},set:function(HZ){QZ=HZ,w.name||w.displayName||(Object.defineProperty(w,"name",{value:HZ}),w.displayName=HZ)}}),f},cE.isValidElement=GZ,cE.lazy=function(w){w={_status:-1,_result:w};var f={$$typeof:TX,_payload:w,_init:NZ},QZ={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return w._ioInfo=QZ,f._debugInfo=[{awaited:QZ}],f},cE.memo=function(w,f){w==null&&console.error("memo: The first argument must be a component. Instead received: %s",w===null?"null":typeof w),f={$$typeof:YX,type:w,compare:f===void 0?null:f};var QZ;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return QZ},set:function(HZ){QZ=HZ,w.name||w.displayName||(Object.defineProperty(w,"name",{value:HZ}),w.displayName=HZ)}}),f},cE.startTransition=function(w){var f=lZ.T,QZ={};QZ._updatedFibers=new Set,lZ.T=QZ;try{var HZ=w(),wZ=lZ.S;wZ!==null&&wZ(QZ,HZ),typeof HZ==="object"&&HZ!==null&&typeof HZ.then==="function"&&(lZ.asyncTransitions++,HZ.then(VZ,VZ),HZ.then(A,QG))}catch(fZ){QG(fZ)}finally{f===null&&QZ._updatedFibers&&(w=QZ._updatedFibers.size,QZ._updatedFibers.clear(),10<w&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),f!==null&&QZ.types!==null&&(f.types!==null&&f.types!==QZ.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=QZ.types),lZ.T=f}},cE.unstable_useCacheRefresh=function(){return o().useCacheRefresh()},cE.use=function(w){return o().use(w)},cE.useActionState=function(w,f,QZ){return o().useActionState(w,f,QZ)},cE.useCallback=function(w,f){return o().useCallback(w,f)},cE.useContext=function(w){var f=o();return w.$$typeof===IZ&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),f.useContext(w)},cE.useDebugValue=function(w,f){return o().useDebugValue(w,f)},cE.useDeferredValue=function(w,f){return o().useDeferredValue(w,f)},cE.useEffect=function(w,f){return w==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),o().useEffect(w,f)},cE.useEffectEvent=function(w){return o().useEffectEvent(w)},cE.useId=function(){return o().useId()},cE.useImperativeHandle=function(w,f,QZ){return o().useImperativeHandle(w,f,QZ)},cE.useInsertionEffect=function(w,f){return w==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),o().useInsertionEffect(w,f)},cE.useLayoutEffect=function(w,f){return w==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),o().useLayoutEffect(w,f)},cE.useMemo=function(w,f){return o().useMemo(w,f)},cE.useOptimistic=function(w,f){return o().useOptimistic(w,f)},cE.useReducer=function(w,f,QZ){return o().useReducer(w,f,QZ)},cE.useRef=function(w){return o().useRef(w)},cE.useState=function(w){return o().useState(w)},cE.useSyncExternalStore=function(w,f,QZ){return o().useSyncExternalStore(w,f,QZ)},cE.useTransition=function(){return o().useTransition()},cE.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var i_=pq((pE)=>{var Jz=g(ZZ());(function(){function Q(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===o?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case m:return"Fragment";case n:return"Profiler";case b:return"StrictMode";case LZ:return"Suspense";case kZ:return"SuspenseList";case NZ: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 v:return"Portal";case GZ:return V.displayName||"Context";case e:return(V._context.displayName||"Context")+".Consumer";case JZ:var t=V.render;return V=V.displayName,V||(V=t.displayName||t.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case YZ:return t=V.displayName||null,t!==null?t:Q(V.type)||"Memo";case p:t=V._payload,V=V._init;try{return Q(V(t))}catch(IZ){}}return null}function q(V){return""+V}function z(V){try{q(V);var t=!1}catch(yZ){t=!0}if(t){t=console;var IZ=t.error,CZ=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return IZ.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",CZ),q(V)}}function _(V){if(V===m)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===p)return"<...>";try{var t=Q(V);return t?"<"+t+">":"<...>"}catch(IZ){return"<...>"}}function W(){var V=VZ.A;return V===null?null:V.getOwner()}function K(){return Error("react-stack-top-frame")}function A(V){if(WZ.call(V,"key")){var t=Object.getOwnPropertyDescriptor(V,"key").get;if(t&&t.isReactWarning)return!1}return V.key!==void 0}function L(V,t){function IZ(){h||(h=!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)",t))}IZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:IZ,configurable:!0})}function O(){var V=Q(this.type);return u[V]||(u[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 T(V,t,IZ,CZ,yZ,JX){var OZ=IZ.ref;return V={$$typeof:j,type:V,key:t,props:IZ,_owner:CZ},(OZ!==void 0?OZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:O}):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:yZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function N(V,t,IZ,CZ,yZ,JX){var OZ=t.children;if(OZ!==void 0)if(CZ)if(a(OZ)){for(CZ=0;CZ<OZ.length;CZ++)M(OZ[CZ]);Object.freeze&&Object.freeze(OZ)}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(OZ);if(WZ.call(t,"key")){OZ=Q(V);var YX=Object.keys(t).filter(function(BX){return BX!=="key"});CZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",s[OZ+CZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
|
+
let props = %s;
|
|
15
|
+
<%s {...props} />
|
|
16
|
+
React keys must be passed directly to JSX without using spread:
|
|
17
|
+
let props = %s;
|
|
18
|
+
<%s key={someKey} {...props} />`,CZ,OZ,YX,OZ),s[OZ+CZ]=!0)}if(OZ=null,IZ!==void 0&&(z(IZ),OZ=""+IZ),A(t)&&(z(t.key),OZ=""+t.key),"key"in t){IZ={};for(var TX in t)TX!=="key"&&(IZ[TX]=t[TX])}else IZ=t;return OZ&&L(IZ,typeof V==="function"?V.displayName||V.name||"Unknown":V),T(V,OZ,IZ,W(),yZ,JX)}function M(V){R(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===p&&(V._payload.status==="fulfilled"?R(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function R(V){return typeof V==="object"&&V!==null&&V.$$typeof===j}var j=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),e=Symbol.for("react.consumer"),GZ=Symbol.for("react.context"),JZ=Symbol.for("react.forward_ref"),LZ=Symbol.for("react.suspense"),kZ=Symbol.for("react.suspense_list"),YZ=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),NZ=Symbol.for("react.activity"),o=Symbol.for("react.client.reference"),VZ=Jz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,a=Array.isArray,D=console.createTask?console.createTask:function(){return null};Jz={react_stack_bottom_frame:function(V){return V()}};var h,u={},d=Jz.react_stack_bottom_frame.bind(Jz,K)(),_Z=D(_(K)),s={};pE.Fragment=m,pE.jsx=function(V,t,IZ){var CZ=1e4>VZ.recentlyCreatedOwnerStacks++;return N(V,t,IZ,!1,CZ?Error("react-stack-top-frame"):d,CZ?D(_(V)):_Z)},pE.jsxs=function(V,t,IZ){var CZ=1e4>VZ.recentlyCreatedOwnerStacks++;return N(V,t,IZ,!0,CZ?Error("react-stack-top-frame"):d,CZ?D(_(V)):_Z)}})()});class e9{activeUrlHref=null;activeCacheKey=null;activePromise=null;activeResolvedData;hasResolved=!1;pendingBackgroundKey=null;id;constructor(){this.id=lE++}resolve(Q){let{currentUrlHref:q,cacheKey:z,load:_,loaderCache:W,onBackgroundSettled:K}=Q;if(this.handleUrlChange(q,W),this.activeCacheKey===z){if(this.pendingBackgroundKey===z)return{action:"render",data:this.activeResolvedData,isLoading:!0};if(this.hasResolved)return{action:"render",data:this.activeResolvedData,isLoading:!1};return{action:"suspend",promise:this.activePromise}}if(this.hasResolved){let L=_();return this.activeCacheKey=z,this.activePromise=L,this.pendingBackgroundKey=z,L.then((O)=>{if(this.activeCacheKey===z)K({ok:!0,result:O})},()=>{if(this.activeCacheKey===z)K({ok:!1})}),{action:"render",data:this.activeResolvedData,isLoading:!0}}let A=_();return this.activeCacheKey=z,this.activePromise=A,{action:"suspend",promise:A}}commitResult(Q){this.activeResolvedData=Q,this.hasResolved=!0}commitBackgroundResult(Q){this.activeResolvedData=Q,this.pendingBackgroundKey=null}commitBackgroundError(){this.hasResolved=!1,this.pendingBackgroundKey=null}dispose(Q){if(Q&&this.hasResolved&&this.activeResolvedData!==void 0&&this.activeUrlHref)this.saveToStaleCache(Q,this.activeUrlHref,this.activeResolvedData);this.activeUrlHref=null,this.activeCacheKey=null,this.activePromise=null,this.activeResolvedData=void 0,this.hasResolved=!1,this.pendingBackgroundKey=null}handleUrlChange(Q,q){if(this.activeUrlHref!==null&&this.activeUrlHref!==Q){if(q&&this.hasResolved&&this.activeResolvedData!==void 0)this.saveToStaleCache(q,this.activeUrlHref,this.activeResolvedData);let z=q&&this.restoreFromStaleCache(q,Q);if(z?.hit)this.activeResolvedData=z.value,this.hasResolved=!0;else this.hasResolved=!1,this.activeResolvedData=void 0;this.pendingBackgroundKey=null}else if(this.activeUrlHref===null&&q){let z=this.restoreFromStaleCache(q,Q);if(z.hit)this.activeResolvedData=z.value,this.hasResolved=!0}this.activeUrlHref=Q}staleCacheKey(Q){return`${this.id}:${Q}`}restoreFromStaleCache(Q,q){let z=this.staleCacheKey(q);if(!Q.has(z))return{hit:!1};let _=Q.get(z);return Q.delete(z),{hit:!0,value:_}}saveToStaleCache(Q,q,z){Q.set(this.staleCacheKey(q),z)}}var lE=0;var Z3,iG,ZJ;var n_=C(()=>{Z3=g(ZZ(),1),iG=Z3.createContext(null),ZJ=Z3.createContext(null)});var CA,qz;var PA=C(()=>{CA=g(ZZ(),1);qz=class qz extends CA.Component{state={error:null,prevResetKey:void 0};static getDerivedStateFromError(Q){return{error:Q}}static getDerivedStateFromProps(Q,q){if(q.error&&Q.resetKey!==q.prevResetKey)return{error:null,prevResetKey:Q.resetKey};if(Q.resetKey!==q.prevResetKey)return{prevResetKey:Q.resetKey};return null}componentDidCatch(Q,q){console.error("Buzola route error:",Q,q)}render(){if(this.state.error){if(typeof this.props.fallback==="function")return this.props.fallback(this.state.error);if(this.props.fallback)return this.props.fallback;return CA.default.createElement("div",{style:{color:"red"}},`Route error: ${this.state.error.message}`)}return this.props.children}}});function iE(Q){return"~standard"in Q}function nE(Q){if(iE(Q))return{schema:Q,paramsMeta:Q.__buzolaKeys??[]};let q=Q,z=[],_={};for(let[K,A]of Object.entries(q))if(typeof A==="string"){let L=dT(A);_[K]=L.schema,z.push({name:K,optional:L.optional,array:L.array})}else _[K]=A,z.push({name:K,optional:uT(A),array:!1});return{schema:{"~standard":{version:1,vendor:"buzola",validate:(K)=>{let A=K??{},L={};for(let[O,T]of Object.entries(_)){let N=T["~standard"].validate(A[O]);if("issues"in N)return N;L[O]=N.value}return{value:L}}}},paramsMeta:z}}class s_{pageId;params;__buzolaRedirect=!0;constructor(Q,q){this.pageId=Q,this.params=q}}function AK(Q){if(Q.length===0)return;if(Q.length===1)return Q[0];return async(q)=>{let z=await Promise.all(Q.map((W)=>W(q))),_=z.find((W)=>W instanceof s_);if(_)return _;return Object.assign({},...z)}}function OK(Q,q,z,_,W,K){let A=new Set(q.filter((M)=>M.array).map((M)=>M.name)),L=z?new e9:void 0;function O(){let M=OY.use(ZJ);if(!M)throw Error("createPage component must be used within a <BuzolaProvider>");let R=OY.use(iG),j=OY.useMemo(()=>{let{state:LZ,matches:kZ,params:YZ}=M,p=kZ.find((VZ)=>VZ.node.component===O),NZ=new Set(p?LK(p.node.fullPath):[]),o={};if(A.size>0)for(let VZ of A){if(NZ.has(VZ))continue;let WZ=[...LZ.location.searchParams.getAll(VZ),...LZ.location.searchParams.getAll(`${VZ}[]`)];if(WZ.length>0)o[VZ]=WZ}LZ.location.searchParams.forEach((VZ,WZ)=>{let a=WZ.endsWith("[]")?WZ.slice(0,-2):WZ;if(!NZ.has(a)&&!(a in o))o[a]=VZ});for(let[VZ,WZ]of Object.entries(YZ))if(A.has(VZ))o[VZ]=WZ.split(",");else o[VZ]=WZ;if(Q)return t9(Q,o,"Page params validation failed: ");return o},[M]),[v,m]=OY.useState(0),[,b]=OY.useReducer((LZ)=>LZ+1,0),n=OY.useCallback(()=>m((LZ)=>LZ+1),[]);OY.useEffect(()=>{if(!R)return;return R.onInvalidate(()=>m((LZ)=>LZ+1))},[R]);let e,GZ=!1,JZ=!1;if(z&&L){let LZ=M.state.location.href,kZ=`${LZ}:${v}`,YZ=L.resolve({currentUrlHref:LZ,cacheKey:kZ,load:()=>z({params:j,redirect:cT}),loaderCache:R?.loaderCache,onBackgroundSettled:(p)=>{if(p.ok){if(p.result instanceof s_){R?.navigateToPage(p.result.pageId,p.result.params,{replace:!0});return}L.commitBackgroundResult(p.result)}else L.commitBackgroundError();b()}});if(YZ.action==="render")e=YZ.data,GZ=YZ.isLoading;else{let p=OY.use(YZ.promise);if(p instanceof s_)R?.navigateToPage(p.pageId,p.params,{replace:!0}),JZ=!0;else e=p,L.commitResult(e)}}if(OY.useEffect(()=>{return()=>L?.dispose(R?.loaderCache)},[]),JZ)return null;return DA.jsx(W,{params:j,data:e,invalidate:n,isLoading:GZ})}function T(){let M=OY.use(ZJ),[R,j]=OY.useState(0),v=OY.useCallback(()=>j((n)=>n+1),[]),m=`${M?.state.location.href??""}:${R}`;return DA.jsx(qz,{fallback:typeof K==="function"?(n)=>K({error:n,params:M?.params??{},retry:v}):K,resetKey:m,children:DA.jsx(O,{},R)})}return{__buzolaPage:!0,component:K?T:O,route:_,paramsSchema:Q,paramsMeta:q,loader:z}}function sE(Q,q,z,_){return{route(W){return{render(K){return OK(Q,q,AK(z),W,K,_)}}},render(W){return OK(Q,q,AK(z),void 0,W,_)}}}function X3(Q,q,z){return{loader(_){return X3(Q,q,[...z,_])},catch(_){return sE(Q,q,z,_)},route(_){return{catch(W){return{render(K){return OK(Q,q,AK(z),_,K,W)}}},render(W){return OK(Q,q,AK(z),_,W)}}},render(_){return OK(Q,q,AK(z),void 0,_)}}}function EQ(){return{params(Q){let{schema:q,paramsMeta:z}=nE(Q);return X3(q,z,[])},...X3(void 0,[],[])}}var DA,OY,cT=(Q,q)=>{return new s_(Q,q)};var pT=C(()=>{RA();n_();PA();DA=g(i_(),1),OY=g(ZZ(),1)});function oE(){return QQ.default.createElement("div",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem",maxWidth:"600px",margin:"0 auto"}},aE?[QQ.default.createElement("h1",{key:"h"},"404 — Page Not Found"),QQ.default.createElement("p",{key:"p1"},`No route matches "${typeof window<"u"?window.location.pathname:""}".`),QQ.default.createElement("p",{key:"p2",style:{color:"#666",fontSize:"0.9rem"}},"To handle this, add a _404.tsx catch-all route or pass a notFound prop to <Outlet />.")]:[QQ.default.createElement("h1",{key:"h"},"404"),QQ.default.createElement("p",{key:"p"},"Page not found.")])}function a_({fallback:Q,errorFallback:q,notFound:z}){let _=QQ.use(ZJ);if(!_)throw Error("<Outlet /> must be used within a <BuzolaProvider>");let{state:W,depth:K,matches:A}=_,L=K,O=A[L];while(O&&!O.node.component)L++,O=A[L];let T=QQ.useMemo(()=>{if(!O)return null;let M={..._.params};for(let R=K;R<=L;R++)if(A[R])M={...M,...A[R].params};return{state:W,depth:L+1,matches:A,params:M}},[W,K,L,A,O,_.params]);if(!O){if(K===0&&A.length===0){if(z===null)return null;return z??QQ.default.createElement(oE,null)}return null}let N=O.node.component;return FK.jsx(qz,{fallback:q,resetKey:O.node.id,children:FK.jsx(QQ.Suspense,{fallback:Q??null,children:T&&FK.jsx(ZJ,{value:T,children:FK.jsx(N,{})})})})}var FK,QQ,aE;var Y3=C(()=>{n_();PA();FK=g(i_(),1),QQ=g(ZZ(),1),aE=typeof process<"u"&&!0});function $A({routes:Q,children:q,middleware:z,..._}){let W=kQ.useRef(_.router);if(!W.current)W.current=new VA({routes:Q,adapter:r9(),persistentParams:_.persistentParams,pageRegistry:_.pageRegistry});let K=W.current,A=kQ.useCallback((R)=>K.subscribe(R),[K]),L=kQ.useCallback(()=>K.getState(),[K]),O=kQ.useSyncExternalStore(A,L,L);kQ.useLayoutEffect(()=>{return K.start()},[K]);let T=kQ.useMemo(()=>({state:O,depth:0,matches:O.matches,params:{}}),[O]),N=kQ.useMemo(()=>{let R={};for(let j of O.matches)R={...R,...j.params};return R},[O.matches]),M=q??MK.jsx(a_,{});return MK.jsx(iG,{value:K,children:MK.jsx(ZJ,{value:T,children:z?MK.jsx(z,{params:N,matches:O.matches,children:M}):M})})}var MK,kQ;var lT=C(()=>{s9();n_();Y3();MK=g(i_(),1),kQ=g(ZZ(),1)});function NK(){let Q=Gq.use(iG);if(!Q)throw Error("useRouter must be used within a <BuzolaProvider>");return Q}function rE(){let Q=Gq.use(ZJ);if(!Q)throw Error("Route hooks must be used within a <BuzolaProvider>");return Q}function XJ(){let Q=NK();return Gq.useCallback((q,z)=>{Q.navigateToPage(q,z?.params,z)},[Q])}function SA(){let Q=rE(),q=NK(),{state:z,matches:_,params:W,depth:K}=Q;return Gq.useMemo(()=>({params:W,matches:_,depth:K,isPending:z.isPending,pendingLocation:z.pendingLocation?q.stripBasePath(z.pendingLocation.pathname):void 0,pathname:q.stripBasePath(z.location.pathname)}),[W,_,K,z.isPending,z.pendingLocation,z.location.pathname,q])}var Gq;var Q3=C(()=>{RA();n_();Gq=g(ZZ(),1)});var tE,EA;var nT=C(()=>{Q3();tE=g(i_(),1),EA=g(ZZ(),1)});var sT=C(()=>{lT();Y3();nT();PA();Q3();n_()});var Hq=C(()=>{s9();RA();pT();sT()});var aT=pq((qk)=>{(function(){function Q(){if(JZ=!1,p){var h=qk.unstable_now();VZ=h;var u=!0;try{Z:{e=!1,GZ&&(GZ=!1,kZ(NZ),NZ=-1),n=!0;var d=b;try{X:{K(h);for(m=z(R);m!==null&&!(m.expirationTime>h&&L());){var _Z=m.callback;if(typeof _Z==="function"){m.callback=null,b=m.priorityLevel;var s=_Z(m.expirationTime<=h);if(h=qk.unstable_now(),typeof s==="function"){m.callback=s,K(h),u=!0;break X}m===z(R)&&_(R),K(h)}else _(R);m=z(R)}if(m!==null)u=!0;else{var V=z(j);V!==null&&O(A,V.startTime-h),u=!1}}break Z}finally{m=null,b=d,n=!1}u=void 0}}finally{u?WZ():p=!1}}}function q(h,u){var d=h.length;h.push(u);Z:for(;0<d;){var _Z=d-1>>>1,s=h[_Z];if(0<W(s,u))h[_Z]=u,h[d]=s,d=_Z;else break Z}}function z(h){return h.length===0?null:h[0]}function _(h){if(h.length===0)return null;var u=h[0],d=h.pop();if(d!==u){h[0]=d;Z:for(var _Z=0,s=h.length,V=s>>>1;_Z<V;){var t=2*(_Z+1)-1,IZ=h[t],CZ=t+1,yZ=h[CZ];if(0>W(IZ,d))CZ<s&&0>W(yZ,IZ)?(h[_Z]=yZ,h[CZ]=d,_Z=CZ):(h[_Z]=IZ,h[t]=d,_Z=t);else if(CZ<s&&0>W(yZ,d))h[_Z]=yZ,h[CZ]=d,_Z=CZ;else break Z}}return u}function W(h,u){var d=h.sortIndex-u.sortIndex;return d!==0?d:h.id-u.id}function K(h){for(var u=z(j);u!==null;){if(u.callback===null)_(j);else if(u.startTime<=h)_(j),u.sortIndex=u.expirationTime,q(R,u);else break;u=z(j)}}function A(h){if(GZ=!1,K(h),!e)if(z(R)!==null)e=!0,p||(p=!0,WZ());else{var u=z(j);u!==null&&O(A,u.startTime-h)}}function L(){return JZ?!0:qk.unstable_now()-VZ<o?!1:!0}function O(h,u){NZ=LZ(function(){h(qk.unstable_now())},u)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),qk.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var T=performance;qk.unstable_now=function(){return T.now()}}else{var N=Date,M=N.now();qk.unstable_now=function(){return N.now()-M}}var R=[],j=[],v=1,m=null,b=3,n=!1,e=!1,GZ=!1,JZ=!1,LZ=typeof setTimeout==="function"?setTimeout:null,kZ=typeof clearTimeout==="function"?clearTimeout:null,YZ=typeof setImmediate<"u"?setImmediate:null,p=!1,NZ=-1,o=5,VZ=-1;if(typeof YZ==="function")var WZ=function(){YZ(Q)};else if(typeof MessageChannel<"u"){var a=new MessageChannel,D=a.port2;a.port1.onmessage=Q,WZ=function(){D.postMessage(null)}}else WZ=function(){LZ(Q,0)};qk.unstable_IdlePriority=5,qk.unstable_ImmediatePriority=1,qk.unstable_LowPriority=4,qk.unstable_NormalPriority=3,qk.unstable_Profiling=null,qk.unstable_UserBlockingPriority=2,qk.unstable_cancelCallback=function(h){h.callback=null},qk.unstable_forceFrameRate=function(h){0>h||125<h?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):o=0<h?Math.floor(1000/h):5},qk.unstable_getCurrentPriorityLevel=function(){return b},qk.unstable_next=function(h){switch(b){case 1:case 2:case 3:var u=3;break;default:u=b}var d=b;b=u;try{return h()}finally{b=d}},qk.unstable_requestPaint=function(){JZ=!0},qk.unstable_runWithPriority=function(h,u){switch(h){case 1:case 2:case 3:case 4:case 5:break;default:h=3}var d=b;b=h;try{return u()}finally{b=d}},qk.unstable_scheduleCallback=function(h,u,d){var _Z=qk.unstable_now();switch(typeof d==="object"&&d!==null?(d=d.delay,d=typeof d==="number"&&0<d?_Z+d:_Z):d=_Z,h){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5000}return s=d+s,h={id:v++,callback:u,priorityLevel:h,startTime:d,expirationTime:s,sortIndex:-1},d>_Z?(h.sortIndex=d,q(j,h),z(R)===null&&h===z(j)&&(GZ?(kZ(NZ),NZ=-1):GZ=!0,O(A,d-_Z))):(h.sortIndex=s,q(R,h),e||n||(e=!0,p||(p=!0,WZ()))),h},qk.unstable_shouldYield=L,qk.unstable_wrapCallback=function(h){var u=b;return function(){var d=b;b=u;try{return h.apply(this,arguments)}finally{b=d}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var oT=pq((Gk)=>{var J3=g(ZZ());(function(){function Q(){}function q(N){return""+N}function z(N,M,R){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(j);var v=!1}catch(m){v=!0}return v&&(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"),q(j)),{$$typeof:O,key:j==null?null:""+j,children:N,containerInfo:M,implementation:R}}function _(N,M){if(N==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}function W(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":'something with type "'+typeof N+'"'}function K(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":typeof N==="string"?JSON.stringify(N):typeof N==="number"?"`"+N+"`":'something with type "'+typeof N+'"'}function A(){var N=T.H;return N===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:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),N}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},O=Symbol.for("react.portal"),T=J3.__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"),Gk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Gk.createPortal=function(N,M){var R=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 z(N,M,null,R)},Gk.flushSync=function(N){var M=T.T,R=L.p;try{if(T.T=null,L.p=2,N)return N()}finally{T.T=M,L.p=R,L.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.")}},Gk.preconnect=function(N,M){typeof N==="string"&&N?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.",K(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.",W(M.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,L.d.C(N,M))},Gk.prefetchDNS=function(N){if(typeof N!=="string"||!N)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N));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`.",K(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`.",K(M))}typeof N==="string"&&L.d.D(N)},Gk.preinit=function(N,M){if(typeof N==="string"&&N?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.",K(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".',K(M.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&M&&typeof M.as==="string"){var R=M.as,j=_(R,M.crossOrigin),v=typeof M.integrity==="string"?M.integrity:void 0,m=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;R==="style"?L.d.S(N,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:j,integrity:v,fetchPriority:m}):R==="script"&&L.d.X(N,{crossOrigin:j,integrity:v,fetchPriority:m,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},Gk.preinitModule=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&M.as!=="script"&&(R+=" The `as` option encountered was "+K(M.as)+"."),R)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",R);else switch(R=M&&typeof M.as==="string"?M.as:"script",R){case"script":break;default:R=K(R),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)',R,N)}if(typeof N==="string")if(typeof M==="object"&&M!==null){if(M.as==null||M.as==="script")R=_(M.as,M.crossOrigin),L.d.M(N,{crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&L.d.M(N)},Gk.preload=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M==null||typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":typeof M.as==="string"&&M.as||(R+=" The `as` option encountered was "+W(M.as)+"."),R&&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',R),typeof N==="string"&&typeof M==="object"&&M!==null&&typeof M.as==="string"){R=M.as;var j=_(R,M.crossOrigin);L.d.L(N,R,{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})}},Gk.preloadModule=function(N,M){var R="";typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&typeof M.as!=="string"&&(R+=" The `as` option encountered was "+W(M.as)+"."),R&&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',R),typeof N==="string"&&(M?(R=_(M.as,M.crossOrigin),L.d.m(N,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0})):L.d.m(N))},Gk.requestFormReset=function(N){L.d.r(N)},Gk.unstable_batchedUpdates=function(N,M){return N(M)},Gk.useFormState=function(N,M,R){return A().useFormState(N,M,R)},Gk.useFormStatus=function(){return A().useHostTransitionStatus()},Gk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var lq=pq((xg,rT)=>{var Hk=g(oT());rT.exports=Hk});var tT=pq((zk)=>{var UX=g(aT()),o_=g(ZZ()),q3=g(lq());(function(){function Q(Z,X){for(Z=Z.memoizedState;Z!==null&&0<X;)Z=Z.next,X--;return Z}function q(Z,X,Y,J){if(Y>=X.length)return J;var G=X[Y],H=HY(Z)?Z.slice():rZ({},Z);return H[G]=q(Z[G],X,Y+1,J),H}function z(Z,X,Y){if(X.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var J=0;J<Y.length-1;J++)if(X[J]!==Y[J]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _(Z,X,Y,0)}}function _(Z,X,Y,J){var G=X[J],H=HY(Z)?Z.slice():rZ({},Z);return J+1===X.length?(H[Y[J]]=H[G],HY(H)?H.splice(G,1):delete H[G]):H[G]=_(Z[G],X,Y,J+1),H}function W(Z,X,Y){var J=X[Y],G=HY(Z)?Z.slice():rZ({},Z);if(Y+1===X.length)return HY(G)?G.splice(J,1):delete G[J],G;return G[J]=W(Z[J],X,Y+1),G}function K(){return!1}function A(){return null}function L(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function O(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function T(){}function N(){}function M(Z){var X=[];return Z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function R(Z,X,Y,J){return new MD(Z,X,Y,J)}function j(Z,X){Z.context===jG&&(W0(Z.current,2,X,Z,null,null),X_())}function v(Z,X){if(pQ!==null){var Y=X.staleFamilies;X=X.updatedFamilies,_U(),c8(Z.current,X,Y),X_()}}function m(Z){pQ=Z}function b(Z){return!(!Z||Z.nodeType!==1&&Z.nodeType!==9&&Z.nodeType!==11)}function n(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 e(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 GZ(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 JZ(Z){if(n(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function LZ(Z){var X=Z.alternate;if(!X){if(X=n(Z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==Z?null:Z}for(var Y=Z,J=X;;){var G=Y.return;if(G===null)break;var H=G.alternate;if(H===null){if(J=G.return,J!==null){Y=J;continue}break}if(G.child===H.child){for(H=G.child;H;){if(H===Y)return JZ(G),Z;if(H===J)return JZ(G),X;H=H.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==J.return)Y=G,J=H;else{for(var U=!1,B=G.child;B;){if(B===Y){U=!0,Y=G,J=H;break}if(B===J){U=!0,J=G,Y=H;break}B=B.sibling}if(!U){for(B=H.child;B;){if(B===Y){U=!0,Y=H,J=G;break}if(B===J){U=!0,J=H,Y=G;break}B=B.sibling}if(!U)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!==J)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 kZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z;for(Z=Z.child;Z!==null;){if(X=kZ(Z),X!==null)return X;Z=Z.sibling}return null}function YZ(Z){if(Z===null||typeof Z!=="object")return null;return Z=oN&&Z[oN]||Z["@@iterator"],typeof Z==="function"?Z:null}function p(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===m$?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case z_:return"Fragment";case O0:return"Profiler";case OL:return"StrictMode";case M0:return"Suspense";case N0:return"SuspenseList";case I0: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 H_:return"Portal";case aJ:return Z.displayName||"Context";case F0:return(Z._context.displayName||"Context")+".Consumer";case NU:var X=Z.render;return Z=Z.displayName,Z||(Z=X.displayName||X.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case FL:return X=Z.displayName||null,X!==null?X:p(Z.type)||"Memo";case VQ:X=Z._payload,Z=Z._init;try{return p(Z(X))}catch(Y){}}return null}function NZ(Z){return typeof Z.tag==="number"?o(Z):typeof Z.name==="string"?Z.name:null}function o(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===OL?"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 o(Z.return)}return null}function VZ(Z){return{current:Z}}function WZ(Z,X){0>Pq?console.error("Unexpected pop."):(X!==w0[Pq]&&console.error("Unexpected Fiber popped."),Z.current=T0[Pq],T0[Pq]=null,w0[Pq]=null,Pq--)}function a(Z,X,Y){Pq++,T0[Pq]=Z.current,w0[Pq]=Y,Z.current=X}function D(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 h(Z,X){a(NG,X,Z),a(IU,Z,Z),a(MG,null,Z);var Y=X.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?IN(X):uq:uq;break;default:if(Y=X.tagName,X=X.namespaceURI)X=IN(X),X=TN(X,Y);else switch(Y){case"svg":X=d_;break;case"math":X=AA;break;default:X=uq}}Y=Y.toLowerCase(),Y=L8(null,Y),Y={context:X,ancestorInfo:Y},WZ(MG,Z),a(MG,Y,Z)}function u(Z){WZ(MG,Z),WZ(IU,Z),WZ(NG,Z)}function d(){return D(MG.current)}function _Z(Z){Z.memoizedState!==null&&a(ML,Z,Z);var X=D(MG.current),Y=Z.type,J=TN(X.context,Y);Y=L8(X.ancestorInfo,Y),J={context:J,ancestorInfo:Y},X!==J&&(a(IU,Z,Z),a(MG,J,Z))}function s(Z){IU.current===Z&&(WZ(MG,Z),WZ(IU,Z)),ML.current===Z&&(WZ(ML,Z),UK._currentValue=Qz)}function V(){}function t(){if(TU===0){rN=console.log,tN=console.info,eN=console.warn,ZI=console.error,XI=console.group,YI=console.groupCollapsed,QI=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})}TU++}function IZ(){if(TU--,TU===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rZ({},Z,{value:rN}),info:rZ({},Z,{value:tN}),warn:rZ({},Z,{value:eN}),error:rZ({},Z,{value:ZI}),group:rZ({},Z,{value:XI}),groupCollapsed:rZ({},Z,{value:YI}),groupEnd:rZ({},Z,{value:QI})})}0>TU&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function CZ(Z){var X=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,Z=Z.stack,Error.prepareStackTrace=X,Z.startsWith(`Error: react-stack-top-frame
|
|
23
|
+
`)&&(Z=Z.slice(29)),X=Z.indexOf(`
|
|
24
|
+
`),X!==-1&&(Z=Z.slice(X+1)),X=Z.indexOf("react_stack_bottom_frame"),X!==-1&&(X=Z.lastIndexOf(`
|
|
25
|
+
`,X)),X!==-1)Z=Z.slice(0,X);else return"";return Z}function yZ(Z){if(V0===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);V0=X&&X[1]||"",JI=-1<Y.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+V0+Z+JI}function JX(Z,X){if(!Z||R0)return"";var Y=j0.get(Z);if(Y!==void 0)return Y;R0=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var J=null;J=i.H,i.H=null,t();try{var G={DetermineComponentFrameRoot:function(){try{if(X){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(qZ){var c=qZ}Reflect.construct(Z,[],S)}else{try{S.call()}catch(qZ){c=qZ}Z.call(S.prototype)}}else{try{throw Error()}catch(qZ){c=qZ}(S=Z())&&typeof S.catch==="function"&&S.catch(function(){})}}catch(qZ){if(qZ&&c&&typeof qZ.stack==="string")return[qZ.stack,c.stack]}return[null,null]}};G.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var H=Object.getOwnPropertyDescriptor(G.DetermineComponentFrameRoot,"name");H&&H.configurable&&Object.defineProperty(G.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var U=G.DetermineComponentFrameRoot(),B=U[0],F=U[1];if(B&&F){var I=B.split(`
|
|
28
|
+
`),x=F.split(`
|
|
29
|
+
`);for(U=H=0;H<I.length&&!I[H].includes("DetermineComponentFrameRoot");)H++;for(;U<x.length&&!x[U].includes("DetermineComponentFrameRoot");)U++;if(H===I.length||U===x.length)for(H=I.length-1,U=x.length-1;1<=H&&0<=U&&I[H]!==x[U];)U--;for(;1<=H&&0<=U;H--,U--)if(I[H]!==x[U]){if(H!==1||U!==1)do if(H--,U--,0>U||I[H]!==x[U]){var y=`
|
|
30
|
+
`+I[H].replace(" at new "," at ");return Z.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&j0.set(Z,y),y}while(1<=H&&0<=U);break}}}finally{R0=!1,i.H=J,IZ(),Error.prepareStackTrace=Y}return I=(I=Z?Z.displayName||Z.name:"")?yZ(I):"",typeof Z==="function"&&j0.set(Z,I),I}function OZ(Z,X){switch(Z.tag){case 26:case 27:case 5:return yZ(Z.type);case 16:return yZ("Lazy");case 13:return Z.child!==X&&X!==null?yZ("Suspense Fallback"):yZ("Suspense");case 19:return yZ("SuspenseList");case 0:case 15:return JX(Z.type,!1);case 11:return JX(Z.type.render,!1);case 1:return JX(Z.type,!0);case 31:return yZ("Activity");default:return""}}function YX(Z){try{var X="",Y=null;do{X+=OZ(Z,Y);var J=Z._debugInfo;if(J)for(var G=J.length-1;0<=G;G--){var H=J[G];if(typeof H.name==="string"){var U=X;Z:{var{name:B,env:F,debugLocation:I}=H;if(I!=null){var x=CZ(I),y=x.lastIndexOf(`
|
|
31
|
+
`),S=y===-1?x:x.slice(y+1);if(S.indexOf(B)!==-1){var c=`
|
|
32
|
+
`+S;break Z}}c=yZ(B+(F?" ["+F+"]":""))}X=U+c}}Y=Z,Z=Z.return}while(Z);return X}catch(qZ){return`
|
|
33
|
+
Error generating stack: `+qZ.message+`
|
|
34
|
+
`+qZ.stack}}function TX(Z){return(Z=Z?Z.displayName||Z.name:"")?yZ(Z):""}function BX(){if(RQ===null)return null;var Z=RQ._debugOwner;return Z!=null?NZ(Z):null}function Oq(){if(RQ===null)return"";var Z=RQ;try{var X="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:X+=yZ(Z.type);break;case 13:X+=yZ("Suspense");break;case 19:X+=yZ("SuspenseList");break;case 31:X+=yZ("Activity");break;case 30:case 0:case 15:case 1:Z._debugOwner||X!==""||(X+=TX(Z.type));break;case 11:Z._debugOwner||X!==""||(X+=TX(Z.type.render))}for(;Z;)if(typeof Z.tag==="number"){var Y=Z;Z=Y._debugOwner;var J=Y._debugStack;if(Z&&J){var G=CZ(J);G!==""&&(X+=`
|
|
35
|
+
`+G)}}else if(Z.debugStack!=null){var H=Z.debugStack;(Z=Z.owner)&&H&&(X+=`
|
|
36
|
+
`+CZ(H))}else break;var U=X}catch(B){U=`
|
|
37
|
+
Error generating stack: `+B.message+`
|
|
38
|
+
`+B.stack}return U}function UZ(Z,X,Y,J,G,H,U){var B=RQ;KQ(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,Y,J,G,H,U)):X(Y,J,G,H,U)}finally{KQ(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function KQ(Z){i.getCurrentStack=Z===null?null:Oq,oJ=!1,RQ=Z}function BQ(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function yY(Z){try{return oX(Z),!1}catch(X){return!0}}function oX(Z){return""+Z}function PZ(Z,X){if(yY(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,BQ(Z)),oX(Z)}function Fq(Z,X){if(yY(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,BQ(Z)),oX(Z)}function lZ(Z){if(yY(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.",BQ(Z)),oX(Z)}function fz(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{W_=X.inject(Z),bY=X}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return X.checkDCE?!0:!1}function jX(Z){if(typeof i$==="function"&&n$(Z),bY&&typeof bY.setStrictMode==="function")try{bY.setStrictMode(W_,Z)}catch(X){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",X))}}function GB(Z){return Z>>>=0,Z===0?32:31-(s$(Z)/a$|0)|0}function EJ(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 LH(Z,X,Y){var J=Z.pendingLanes;if(J===0)return 0;var G=0,H=Z.suspendedLanes,U=Z.pingedLanes;Z=Z.warmLanes;var B=J&134217727;return B!==0?(J=B&~H,J!==0?G=EJ(J):(U&=B,U!==0?G=EJ(U):Y||(Y=B&~Z,Y!==0&&(G=EJ(Y))))):(B=J&~H,B!==0?G=EJ(B):U!==0?G=EJ(U):Y||(Y=J&~Z,Y!==0&&(G=EJ(Y)))),G===0?0:X!==0&&X!==G&&(X&H)===0&&(H=G&-G,Y=X&-X,H>=Y||H===32&&(Y&4194048)!==0)?X:G}function AH(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function WF(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 uz(){var Z=TL;return TL<<=1,(TL&62914560)===0&&(TL=4194304),Z}function dz(Z){for(var X=[],Y=0;31>Y;Y++)X.push(Z);return X}function QG(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function HB(Z,X,Y,J,G,H){var U=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:B,expirationTimes:F,hiddenUpdates:I}=Z;for(Y=U&~Y;0<Y;){var x=31-fY(Y),y=1<<x;B[x]=0,F[x]=-1;var S=I[x];if(S!==null)for(I[x]=null,x=0;x<S.length;x++){var c=S[x];c!==null&&(c.lane&=-536870913)}Y&=~y}J!==0&&OH(Z,J,0),H!==0&&G===0&&Z.tag!==0&&(Z.suspendedLanes|=H&~(U&~X))}function OH(Z,X,Y){Z.pendingLanes|=X,Z.suspendedLanes&=~X;var J=31-fY(X);Z.entangledLanes|=X,Z.entanglements[J]=Z.entanglements[J]|1073741824|Y&261930}function FH(Z,X){var Y=Z.entangledLanes|=X;for(Z=Z.entanglements;Y;){var J=31-fY(Y),G=1<<J;G&X|Z[J]&X&&(Z[J]|=X),Y&=~G}}function MH(Z,X){var Y=X&-X;return Y=(Y&42)!==0?1:NH(Y),(Y&(Z.suspendedLanes|X))!==0?0:Y}function NH(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 hW(Z,X,Y){if(tJ)for(Z=Z.pendingUpdatersLaneMap;0<Y;){var J=31-fY(Y),G=1<<J;Z[J].add(X),Y&=~G}}function JG(Z,X){if(tJ)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:J}=Z;0<X;){var G=31-fY(X);Z=1<<G,G=Y[G],0<G.size&&(G.forEach(function(H){var U=H.alternate;U!==null&&J.has(U)||J.add(H)}),G.clear()),X&=~Z}}function w(Z){return Z&=-Z,jQ!==0&&jQ<Z?LJ!==0&&LJ<Z?(Z&134217727)!==0?eJ:wL:LJ:jQ}function f(){var Z=OX.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?eJ:cN(Z.type)}function QZ(Z,X){var Y=OX.p;try{return OX.p=Z,X()}finally{OX.p=Y}}function HZ(Z){delete Z[RY],delete Z[uY],delete Z[S0],delete Z[o$],delete Z[r$]}function wZ(Z){var X=Z[RY];if(X)return X;for(var Y=Z.parentNode;Y;){if(X=Y[TG]||Y[RY]){if(Y=X.alternate,X.child!==null||Y!==null&&Y.child!==null)for(Z=$N(Z);Z!==null;){if(Y=Z[RY])return Y;Z=$N(Z)}return X}Z=Y,Y=Z.parentNode}return null}function fZ(Z){if(Z=Z[RY]||Z[TG]){var X=Z.tag;if(X===5||X===6||X===13||X===31||X===26||X===27||X===3)return Z}return null}function uZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function WX(Z){var X=Z[qI];return X||(X=Z[qI]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function SZ(Z){Z[wU]=!0}function vY(Z,X){LQ(Z,X),LQ(Z+"Capture",X)}function LQ(Z,X){vH[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),vH[Z]=X;var Y=Z.toLowerCase();E0[Y]=Z,Z==="onDoubleClick"&&(E0.ondblclick=Z);for(Z=0;Z<X.length;Z++)GI.add(X[Z])}function qG(Z,X){t$[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 bW(Z){if(BJ.call(zI,Z))return!0;if(BJ.call(HI,Z))return!1;if(e$.test(Z))return zI[Z]=!0;return HI[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function e5(Z,X,Y){if(bW(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 PZ(Y,X),Z===""+Y?Y:Z}}function zB(Z,X,Y){if(bW(X))if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":Z.removeAttribute(X);return;case"boolean":var J=X.toLowerCase().slice(0,5);if(J!=="data-"&&J!=="aria-"){Z.removeAttribute(X);return}}PZ(Y,X),Z.setAttribute(X,""+Y)}}function _B(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}PZ(Y,X),Z.setAttribute(X,""+Y)}}function Mq(Z,X,Y,J){if(J===null)Z.removeAttribute(Y);else{switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(Y);return}PZ(J,Y),Z.setAttributeNS(X,Y,""+J)}}function mQ(Z){switch(typeof Z){case"bigint":case"boolean":case"number":case"string":case"undefined":return Z;case"object":return lZ(Z),Z;default:return""}}function Z8(Z){var X=Z.type;return(Z=Z.nodeName)&&Z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function aP(Z,X,Y){var J=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);if(!Z.hasOwnProperty(X)&&typeof J<"u"&&typeof J.get==="function"&&typeof J.set==="function"){var{get:G,set:H}=J;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return G.call(this)},set:function(U){lZ(U),Y=""+U,H.call(this,U)}}),Object.defineProperty(Z,X,{enumerable:J.enumerable}),{getValue:function(){return Y},setValue:function(U){lZ(U),Y=""+U},stopTracking:function(){Z._valueTracker=null,delete Z[X]}}}}function UF(Z){if(!Z._valueTracker){var X=Z8(Z)?"checked":"value";Z._valueTracker=aP(Z,X,""+Z[X])}}function X8(Z){if(!Z)return!1;var X=Z._valueTracker;if(!X)return!0;var Y=X.getValue(),J="";return Z&&(J=Z8(Z)?Z.checked?"true":"false":Z.value),Z=J,Z!==Y?(X.setValue(Z),!0):!1}function WB(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 fQ(Z){return Z.replace(ZS,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function Y8(Z,X){X.checked===void 0||X.defaultChecked===void 0||WI||(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",BX()||"A component",X.type),WI=!0),X.value===void 0||X.defaultValue===void 0||_I||(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",BX()||"A component",X.type),_I=!0)}function KF(Z,X,Y,J,G,H,U,B){if(Z.name="",U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(PZ(U,"type"),Z.type=U):Z.removeAttribute("type"),X!=null)if(U==="number"){if(X===0&&Z.value===""||Z.value!=X)Z.value=""+mQ(X)}else Z.value!==""+mQ(X)&&(Z.value=""+mQ(X));else U!=="submit"&&U!=="reset"||Z.removeAttribute("value");X!=null?BF(Z,U,mQ(X)):Y!=null?BF(Z,U,mQ(Y)):J!=null&&Z.removeAttribute("value"),G==null&&H!=null&&(Z.defaultChecked=!!H),G!=null&&(Z.checked=G&&typeof G!=="function"&&typeof G!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(PZ(B,"name"),Z.name=""+mQ(B)):Z.removeAttribute("name")}function Q8(Z,X,Y,J,G,H,U,B){if(H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&(PZ(H,"type"),Z.type=H),X!=null||Y!=null){if(!(H!=="submit"&&H!=="reset"||X!==void 0&&X!==null)){UF(Z);return}Y=Y!=null?""+mQ(Y):"",X=X!=null?""+mQ(X):Y,B||X===Z.value||(Z.value=X),Z.defaultValue=X}J=J!=null?J:G,J=typeof J!=="function"&&typeof J!=="symbol"&&!!J,Z.checked=B?Z.checked:!!J,Z.defaultChecked=!!J,U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"&&(PZ(U,"name"),Z.name=U),UF(Z)}function BF(Z,X,Y){X==="number"&&WB(Z.ownerDocument)===Z||Z.defaultValue===""+Y||(Z.defaultValue=""+Y)}function J8(Z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?o_.Children.forEach(X.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||KI||(KI=!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||BI||(BI=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||UI||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),UI=!0)}function q8(){var Z=BX();return Z?`
|
|
39
|
+
|
|
40
|
+
Check the render method of \``+Z+"`.":""}function cz(Z,X,Y,J){if(Z=Z.options,X){X={};for(var G=0;G<Y.length;G++)X["$"+Y[G]]=!0;for(Y=0;Y<Z.length;Y++)G=X.hasOwnProperty("$"+Z[Y].value),Z[Y].selected!==G&&(Z[Y].selected=G),G&&J&&(Z[Y].defaultSelected=!0)}else{Y=""+mQ(Y),X=null;for(G=0;G<Z.length;G++){if(Z[G].value===Y){Z[G].selected=!0,J&&(Z[G].defaultSelected=!0);return}X!==null||Z[G].disabled||(X=Z[G])}X!==null&&(X.selected=!0)}}function G8(Z,X){for(Z=0;Z<AI.length;Z++){var Y=AI[Z];if(X[Y]!=null){var J=HY(X[Y]);X.multiple&&!J?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,q8()):!X.multiple&&J&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,q8())}}X.value===void 0||X.defaultValue===void 0||LI||(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"),LI=!0)}function H8(Z,X){X.value===void 0||X.defaultValue===void 0||OI||(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",BX()||"A component"),OI=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function z8(Z,X,Y){if(X!=null&&(X=""+mQ(X),X!==Z.value&&(Z.value=X),Y==null)){Z.defaultValue!==X&&(Z.defaultValue=X);return}Z.defaultValue=Y!=null?""+mQ(Y):""}function _8(Z,X,Y,J){if(X==null){if(J!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(HY(J)){if(1<J.length)throw Error("<textarea> can only have at most one child.");J=J[0]}Y=J}Y==null&&(Y=""),X=Y}Y=mQ(X),Z.defaultValue=Y,J=Z.textContent,J===Y&&J!==""&&J!==null&&(Z.value=J),UF(Z)}function W8(Z,X){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-X?W8(Z.children[0],X):Z}function AQ(Z){return" "+" ".repeat(Z)}function pz(Z){return"+ "+" ".repeat(Z)}function IH(Z){return"- "+" ".repeat(Z)}function U8(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 gW(Z,X){return FI.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 UB(Z,X,Y){var J=120-2*Y;if(X===null)return pz(Y)+gW(Z,J)+`
|
|
41
|
+
`;if(typeof X==="string"){for(var G=0;G<X.length&&G<Z.length&&X.charCodeAt(G)===Z.charCodeAt(G);G++);return G>J-8&&10<G&&(Z="..."+Z.slice(G-8),X="..."+X.slice(G-8)),pz(Y)+gW(Z,J)+`
|
|
42
|
+
`+IH(Y)+gW(X,J)+`
|
|
43
|
+
`}return AQ(Y)+gW(Z,J)+`
|
|
44
|
+
`}function LF(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function mW(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(HY(Z))return"[...]";if(Z.$$typeof===sJ)return(X=p(Z.type))?"<"+X+">":"<...>";var Y=LF(Z);if(Y==="Object"){Y="",X-=2;for(var J in Z)if(Z.hasOwnProperty(J)){var G=JSON.stringify(J);if(G!=='"'+J+'"'&&(J=G),X-=J.length-2,G=mW(Z[J],15>X?X:15),X-=G.length,0>X){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+J+":"+G}return"{"+Y+"}"}return Y;case"function":return(X=Z.displayName||Z.name)?"function "+X:"function";default:return String(Z)}}function lz(Z,X){return typeof Z!=="string"||FI.test(Z)?"{"+mW(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function AF(Z,X,Y){var J=120-Y.length-Z.length,G=[],H;for(H in X)if(X.hasOwnProperty(H)&&H!=="children"){var U=lz(X[H],120-Y.length-H.length-1);J-=H.length+U.length+2,G.push(H+"="+U)}return G.length===0?Y+"<"+Z+`>
|
|
45
|
+
`:0<J?Y+"<"+Z+" "+G.join(" ")+`>
|
|
46
|
+
`:Y+"<"+Z+`
|
|
47
|
+
`+Y+" "+G.join(`
|
|
48
|
+
`+Y+" ")+`
|
|
49
|
+
`+Y+`>
|
|
50
|
+
`}function oP(Z,X,Y){var J="",G=rZ({},X),H;for(H in Z)if(Z.hasOwnProperty(H)){delete G[H];var U=120-2*Y-H.length-2,B=mW(Z[H],U);X.hasOwnProperty(H)?(U=mW(X[H],U),J+=pz(Y)+H+": "+B+`
|
|
51
|
+
`,J+=IH(Y)+H+": "+U+`
|
|
52
|
+
`):J+=pz(Y)+H+": "+B+`
|
|
53
|
+
`}for(var F in G)G.hasOwnProperty(F)&&(Z=mW(G[F],120-2*Y-F.length-2),J+=IH(Y)+F+": "+Z+`
|
|
54
|
+
`);return J}function rP(Z,X,Y,J){var G="",H=new Map;for(I in Y)Y.hasOwnProperty(I)&&H.set(I.toLowerCase(),I);if(H.size===1&&H.has("children"))G+=AF(Z,X,AQ(J));else{for(var U in X)if(X.hasOwnProperty(U)&&U!=="children"){var B=120-2*(J+1)-U.length-1,F=H.get(U.toLowerCase());if(F!==void 0){H.delete(U.toLowerCase());var I=X[U];F=Y[F];var x=lz(I,B);B=lz(F,B),typeof I==="object"&&I!==null&&typeof F==="object"&&F!==null&&LF(I)==="Object"&&LF(F)==="Object"&&(2<Object.keys(I).length||2<Object.keys(F).length||-1<x.indexOf("...")||-1<B.indexOf("..."))?G+=AQ(J+1)+U+`={{
|
|
55
|
+
`+oP(I,F,J+2)+AQ(J+1)+`}}
|
|
56
|
+
`:(G+=pz(J+1)+U+"="+x+`
|
|
57
|
+
`,G+=IH(J+1)+U+"="+B+`
|
|
58
|
+
`)}else G+=AQ(J+1)+U+"="+lz(X[U],B)+`
|
|
59
|
+
`}H.forEach(function(y){if(y!=="children"){var S=120-2*(J+1)-y.length-1;G+=IH(J+1)+y+"="+lz(Y[y],S)+`
|
|
60
|
+
`}}),G=G===""?AQ(J)+"<"+Z+`>
|
|
61
|
+
`:AQ(J)+"<"+Z+`
|
|
62
|
+
`+G+AQ(J)+`>
|
|
63
|
+
`}if(Z=Y.children,X=X.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(H="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")H=""+X;G+=UB(H,""+Z,J+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")G=Z==null?G+UB(""+X,null,J+1):G+UB(""+X,void 0,J+1);return G}function K8(Z,X){var Y=U8(Z);if(Y===null){Y="";for(Z=Z.child;Z;)Y+=K8(Z,X),Z=Z.sibling;return Y}return AQ(X)+"<"+Y+`>
|
|
64
|
+
`}function OF(Z,X){var Y=W8(Z,X);if(Y!==Z&&(Z.children.length!==1||Z.children[0]!==Y))return AQ(X)+`...
|
|
65
|
+
`+OF(Y,X+1);Y="";var J=Z.fiber._debugInfo;if(J)for(var G=0;G<J.length;G++){var H=J[G].name;typeof H==="string"&&(Y+=AQ(X)+"<"+H+`>
|
|
66
|
+
`,X++)}if(J="",G=Z.fiber.pendingProps,Z.fiber.tag===6)J=UB(G,Z.serverProps,X),X++;else if(H=U8(Z.fiber),H!==null)if(Z.serverProps===void 0){J=X;var U=120-2*J-H.length-2,B="";for(I in G)if(G.hasOwnProperty(I)&&I!=="children"){var F=lz(G[I],15);if(U-=I.length+F.length+2,0>U){B+=" ...";break}B+=" "+I+"="+F}J=AQ(J)+"<"+H+B+`>
|
|
67
|
+
`,X++}else Z.serverProps===null?(J=AF(H,G,pz(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."):(J=rP(H,G,Z.serverProps,X),X++);var I="";G=Z.fiber.child;for(H=0;G&&H<Z.children.length;)U=Z.children[H],U.fiber===G?(I+=OF(U,X),H++):I+=K8(G,X),G=G.sibling;G&&0<Z.children.length&&(I+=AQ(X)+`...
|
|
68
|
+
`),G=Z.serverTail,Z.serverProps===null&&X--;for(Z=0;Z<G.length;Z++)H=G[Z],I=typeof H==="string"?I+(IH(X)+gW(H,120-2*X)+`
|
|
69
|
+
`):I+AF(H.type,H.props,IH(X));return Y+J+I}function FF(Z){try{return`
|
|
70
|
+
|
|
71
|
+
`+OF(Z,0)}catch(X){return""}}function B8(Z,X,Y){for(var J=X,G=null,H=0;J;)J===Z&&(H=0),G={fiber:J,children:G!==null?[G]:[],serverProps:J===X?Y:J===Z?null:void 0,serverTail:[],distanceFromLeaf:H},H++,J=J.return;return G!==null?FF(G).replaceAll(/^[+-]/gm,">"):""}function L8(Z,X){var Y=rZ({},Z||NI),J={tag:X};if(MI.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),YS.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),XS.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=J,X==="form"&&(Y.formTag=J),X==="a"&&(Y.aTagInScope=J),X==="button"&&(Y.buttonTagInScope=J),X==="nobr"&&(Y.nobrTagInScope=J),X==="p"&&(Y.pTagInButtonScope=J),X==="li"&&(Y.listItemTagAutoclosing=J),X==="dd"||X==="dt")Y.dlItemTagAutoclosing=J;return X==="#document"||X==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=J),Z!==null||X!=="#document"&&X!=="html"&&X!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function A8(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 QS.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 tP(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 O8(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 MF(Z,X){X=X||NI;var Y=X.current;if(X=(Y=A8(Z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:tP(Z,X),X=Y||X,!X)return!0;var J=X.tag;if(X=String(!!Y)+"|"+Z+"|"+J,VL[X])return!1;VL[X]=!0;var G=(X=RQ)?O8(X.return,J):null,H=X!==null&&G!==null?B8(G,X,null):"",U="<"+Z+">";return Y?(Y="",J==="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
|
|
72
|
+
This will cause a hydration error.%s`,U,J,Y,H)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
+
This will cause a hydration error.%s`,U,J,H),X&&(Z=X.return,G===null||Z===null||G===Z&&Z._debugOwner===X._debugOwner||UZ(G,function(){console.error(`<%s> cannot contain a nested %s.
|
|
74
|
+
See this log for the ancestor stack trace.`,J,U)})),!1}function KB(Z,X,Y){if(Y||A8("#text",X,!1))return!0;if(Y="#text|"+X,VL[Y])return!1;VL[Y]=!0;var J=(Y=RQ)?O8(Y,X):null;return Y=Y!==null&&J!==null?B8(J,Y,Y.tag!==6?{children:null}:null):"",/\S/.test(Z)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
75
|
+
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.
|
|
76
|
+
This will cause a hydration error.%s`,X,Y),!1}function fW(Z,X){if(X){var Y=Z.firstChild;if(Y&&Y===Z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}Z.textContent=X}function eP(Z){return Z.replace(GS,function(X,Y){return Y.toUpperCase()})}function F8(Z,X,Y){var J=X.indexOf("--")===0;J||(-1<X.indexOf("-")?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,eP(X.replace(qS,"ms-")))):JS.test(X)?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!wI.test(Y)||x0.hasOwnProperty(Y)&&x0[Y]||(x0[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,Y.replace(wI,""))),typeof Y==="number"&&(isNaN(Y)?VI||(VI=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(Y)||RI||(RI=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),Y==null||typeof Y==="boolean"||Y===""?J?Z.setProperty(X,""):X==="float"?Z.cssFloat="":Z[X]="":J?Z.setProperty(X,Y):typeof Y!=="number"||Y===0||jI.has(X)?X==="float"?Z.cssFloat=Y:(Fq(Y,X),Z[X]=(""+Y).trim()):Z[X]=Y+"px"}function M8(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 J={};if(Y){for(var G in Y)if(Y.hasOwnProperty(G)&&!X.hasOwnProperty(G))for(var H=k0[G]||[G],U=0;U<H.length;U++)J[H[U]]=G}for(var B in X)if(X.hasOwnProperty(B)&&(!Y||Y[B]!==X[B]))for(G=k0[B]||[B],H=0;H<G.length;H++)J[G[H]]=B;B={};for(var F in X)for(G=k0[F]||[F],H=0;H<G.length;H++)B[G[H]]=F;F={};for(var I in J)if(G=J[I],(H=B[I])&&G!==H&&(U=G+","+H,!F[U])){F[U]=!0,U=console;var x=X[G];U.error.call(U,"%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.",x==null||typeof x==="boolean"||x===""?"Removing":"Updating",G,H)}}for(var y in Y)!Y.hasOwnProperty(y)||X!=null&&X.hasOwnProperty(y)||(y.indexOf("--")===0?Z.setProperty(y,""):y==="float"?Z.cssFloat="":Z[y]="");for(var S in X)I=X[S],X.hasOwnProperty(S)&&Y[S]!==I&&F8(Z,S,I)}else for(J in X)X.hasOwnProperty(J)&&F8(Z,J,X[J])}function uW(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 N8(Z){return HS.get(Z)||Z}function ZD(Z,X){if(BJ.call(B_,X)&&B_[X])return!0;if(_S.test(X)){if(Z="aria-"+X.slice(4).toLowerCase(),Z=CI.hasOwnProperty(Z)?Z:null,Z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),B_[X]=!0;if(X!==Z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0}if(zS.test(X)){if(Z=X.toLowerCase(),Z=CI.hasOwnProperty(Z)?Z:null,Z==null)return B_[X]=!0,!1;X!==Z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0)}return!0}function XD(Z,X){var Y=[],J;for(J in X)ZD(Z,J)||Y.push(J);X=Y.map(function(G){return"`"+G+"`"}).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 YD(Z,X,Y,J){if(BJ.call(dY,X)&&dY[X])return!0;var G=X.toLowerCase();if(G==="onfocusin"||G==="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."),dY[X]=!0;if(typeof Y==="function"&&(Z==="form"&&X==="action"||Z==="input"&&X==="formAction"||Z==="button"&&X==="formAction"))return!0;if(J!=null){if(Z=J.possibleRegistrationNames,J.registrationNameDependencies.hasOwnProperty(X))return!0;if(J=Z.hasOwnProperty(G)?Z[G]:null,J!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,J),dY[X]=!0;if(DI.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),dY[X]=!0}else if(DI.test(X))return WS.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),dY[X]=!0;if(US.test(X)||KS.test(X))return!0;if(G==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dY[X]=!0;if(G==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dY[X]=!0;if(G==="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),dY[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),dY[X]=!0;if(jL.hasOwnProperty(G)){if(G=jL[G],G!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,G),dY[X]=!0}else if(X!==G)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,G),dY[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(G=X.toLowerCase().slice(0,5),G==="data-"||G==="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),dY[X]=!0}case"function":case"symbol":return dY[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),dY[X]=!0}}return!0}function QD(Z,X,Y){var J=[],G;for(G in X)YD(Z,G,X[G],Y)||J.push(G);X=J.map(function(H){return"`"+H+"`"}).join(", "),J.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<J.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 dW(Z){return BS.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function Nq(){}function NF(Z){return Z=Z.target||Z.srcElement||window,Z.correspondingUseElement&&(Z=Z.correspondingUseElement),Z.nodeType===3?Z.parentNode:Z}function I8(Z){var X=fZ(Z);if(X&&(Z=X.stateNode)){var Y=Z[uY]||null;Z:switch(Z=X.stateNode,X.type){case"input":if(KF(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;PZ(X,"name"),Y=Y.querySelectorAll('input[name="'+fQ(""+X)+'"][type="radio"]');for(X=0;X<Y.length;X++){var J=Y[X];if(J!==Z&&J.form===Z.form){var G=J[uY]||null;if(!G)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");KF(J,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name)}}for(X=0;X<Y.length;X++)J=Y[X],J.form===Z.form&&X8(J)}break Z;case"textarea":z8(Z,Y.value,Y.defaultValue);break Z;case"select":X=Y.value,X!=null&&cz(Z,!!Y.multiple,X,!1)}}}function T8(Z,X,Y){if(y0)return Z(X,Y);y0=!0;try{var J=Z(X);return J}finally{if(y0=!1,L_!==null||A_!==null){if(X_(),L_&&(X=L_,Z=A_,A_=L_=null,I8(X),Z))for(X=0;X<Z.length;X++)I8(Z[X])}}}function cW(Z,X){var Y=Z.stateNode;if(Y===null)return null;var J=Y[uY]||null;if(J===null)return null;Y=J[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":(J=!J.disabled)||(Z=Z.type,J=!(Z==="button"||Z==="input"||Z==="select"||Z==="textarea")),Z=!J;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 w8(){if(CL)return CL;var Z,X=h0,Y=X.length,J,G="value"in wG?wG.value:wG.textContent,H=G.length;for(Z=0;Z<Y&&X[Z]===G[Z];Z++);var U=Y-Z;for(J=1;J<=U&&X[Y-J]===G[H-J];J++);return CL=G.slice(Z,1<J?1-J:void 0)}function BB(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 LB(){return!0}function V8(){return!1}function oY(Z){function X(Y,J,G,H,U){this._reactName=Y,this._targetInst=G,this.type=J,this.nativeEvent=H,this.target=U,this.currentTarget=null;for(var B in Z)Z.hasOwnProperty(B)&&(Y=Z[B],this[B]=Y?Y(H):H[B]);return this.isDefaultPrevented=(H.defaultPrevented!=null?H.defaultPrevented:H.returnValue===!1)?LB:V8,this.isPropagationStopped=V8,this}return rZ(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=LB)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=LB)},persist:function(){},isPersistent:LB}),X}function JD(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=CS[Z])?!!X[Z]:!1}function IF(){return JD}function R8(Z,X){switch(Z){case"keyup":return gS.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==kI;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j8(Z){return Z=Z.detail,typeof Z==="object"&&"data"in Z?Z.data:null}function qD(Z,X){switch(Z){case"compositionend":return j8(X);case"keypress":if(X.which!==yI)return null;return hI=!0,vI;case"textInput":return Z=X.data,Z===vI&&hI?null:Z;default:return null}}function GD(Z,X){if(O_)return Z==="compositionend"||!f0&&R8(Z,X)?(Z=w8(),CL=h0=wG=null,O_=!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 xI&&X.locale!=="ko"?null:X.data;default:return null}}function C8(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X==="input"?!!fS[Z.type]:X==="textarea"?!0:!1}function HD(Z){if(!Zq)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 P8(Z,X,Y,J){L_?A_?A_.push(J):A_=[J]:L_=J,X=GL(X,"onChange"),0<X.length&&(Y=new PL("onChange","change",null,Y,J),Z.push({event:Y,listeners:X}))}function zD(Z){_N(Z,0)}function AB(Z){var X=uZ(Z);if(X8(X))return Z}function D8(Z,X){if(Z==="change")return X}function $8(){DU&&(DU.detachEvent("onpropertychange",S8),$U=DU=null)}function S8(Z){if(Z.propertyName==="value"&&AB($U)){var X=[];P8(X,$U,Z,NF(Z)),T8(zD,X)}}function _D(Z,X,Y){Z==="focusin"?($8(),DU=X,$U=Y,DU.attachEvent("onpropertychange",S8)):Z==="focusout"&&$8()}function WD(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return AB($U)}function UD(Z,X){if(Z==="click")return AB(X)}function KD(Z,X){if(Z==="input"||Z==="change")return AB(X)}function BD(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function pW(Z,X){if(cY(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Y=Object.keys(Z),J=Object.keys(X);if(Y.length!==J.length)return!1;for(J=0;J<Y.length;J++){var G=Y[J];if(!BJ.call(X,G)||!cY(Z[G],X[G]))return!1}return!0}function E8(Z){for(;Z&&Z.firstChild;)Z=Z.firstChild;return Z}function k8(Z,X){var Y=E8(Z);Z=0;for(var J;Y;){if(Y.nodeType===3){if(J=Z+Y.textContent.length,Z<=X&&J>=X)return{node:Y,offset:X-Z};Z=J}Z:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break Z}Y=Y.parentNode}Y=void 0}Y=E8(Y)}}function x8(Z,X){return Z&&X?Z===X?!0:Z&&Z.nodeType===3?!1:X&&X.nodeType===3?x8(Z,X.parentNode):("contains"in Z)?Z.contains(X):Z.compareDocumentPosition?!!(Z.compareDocumentPosition(X)&16):!1:!1}function y8(Z){Z=Z!=null&&Z.ownerDocument!=null&&Z.ownerDocument.defaultView!=null?Z.ownerDocument.defaultView:window;for(var X=WB(Z.document);X instanceof Z.HTMLIFrameElement;){try{var Y=typeof X.contentWindow.location.href==="string"}catch(J){Y=!1}if(Y)Z=X.contentWindow;else break;X=WB(Z.document)}return X}function TF(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 v8(Z,X,Y){var J=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;d0||F_==null||F_!==WB(J)||(J=F_,("selectionStart"in J)&&TF(J)?J={start:J.selectionStart,end:J.selectionEnd}:(J=(J.ownerDocument&&J.ownerDocument.defaultView||window).getSelection(),J={anchorNode:J.anchorNode,anchorOffset:J.anchorOffset,focusNode:J.focusNode,focusOffset:J.focusOffset}),SU&&pW(SU,J)||(SU=J,J=GL(u0,"onSelect"),0<J.length&&(X=new PL("onSelect","select",null,X,Y),Z.push({event:X,listeners:J}),X.target=F_)))}function TH(Z,X){var Y={};return Y[Z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+Z]="webkit"+X,Y["Moz"+Z]="moz"+X,Y}function wH(Z){if(c0[Z])return c0[Z];if(!M_[Z])return Z;var X=M_[Z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in gI)return c0[Z]=X[Y];return Z}function WJ(Z,X){cI.set(Z,X),vY(X,[Z])}function LD(Z){for(var X=$L,Y=0;Y<Z.length;Y++){var J=Z[Y];if(typeof J==="object"&&J!==null)if(HY(J)&&J.length===2&&typeof J[0]==="string"){if(X!==$L&&X!==s0)return i0;X=s0}else return i0;else{if(typeof J==="function"||typeof J==="string"&&50<J.length||X!==$L&&X!==n0)return i0;X=n0}}return X}function wF(Z,X,Y,J){for(var G in Z)BJ.call(Z,G)&&G[0]!=="_"&&kJ(G,Z[G],X,Y,J)}function kJ(Z,X,Y,J,G){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===sJ){var H=p(X.type)||"…",U=X.key;X=X.props;var B=Object.keys(X),F=B.length;if(U==null&&F===0){X="<"+H+" />";break}if(3>J||F===1&&B[0]==="children"&&U==null){X="<"+H+" … />";break}Y.push([G+" ".repeat(J)+Z,"<"+H]),U!==null&&kJ("key",U,Y,J+1,G),Z=!1;for(var I in X)I==="children"?X.children!=null&&(!HY(X.children)||0<X.children.length)&&(Z=!0):BJ.call(X,I)&&I[0]!=="_"&&kJ(I,X[I],Y,J+1,G);Y.push(["",Z?">…</"+H+">":"/>"]);return}if(H=Object.prototype.toString.call(X),H=H.slice(8,H.length-1),H==="Array"){if(I=LD(X),I===n0||I===$L){X=JSON.stringify(X);break}else if(I===s0){Y.push([G+" ".repeat(J)+Z,""]);for(Z=0;Z<X.length;Z++)H=X[Z],kJ(H[0],H[1],Y,J+1,G);return}}if(H==="Promise"){if(X.status==="fulfilled"){if(H=Y.length,kJ(Z,X.value,Y,J,G),Y.length>H){Y=Y[H],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&(H=Y.length,kJ(Z,X.reason,Y,J,G),Y.length>H)){Y=Y[H],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push([" ".repeat(J)+Z,"Promise"]);return}H==="Object"&&(I=Object.getPrototypeOf(X))&&typeof I.constructor==="function"&&(H=I.constructor.name),Y.push([G+" ".repeat(J)+Z,H==="Object"?3>J?"":"…":H]),3>J&&wF(X,Y,J+1,G);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===nS?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}Y.push([G+" ".repeat(J)+Z,X])}function h8(Z,X,Y,J){var G=!0;for(U in Z)U in X||(Y.push([SL+" ".repeat(J)+U,"…"]),G=!1);for(var H in X)if(H in Z){var U=Z[H],B=X[H];if(U!==B){if(J===0&&H==="children")G=" ".repeat(J)+H,Y.push([SL+G,"…"],[EL+G,"…"]);else{if(!(3<=J)){if(typeof U==="object"&&typeof B==="object"&&U!==null&&B!==null&&U.$$typeof===B.$$typeof)if(B.$$typeof===sJ){if(U.type===B.type&&U.key===B.key){U=p(B.type)||"…",G=" ".repeat(J)+H,U="<"+U+" … />",Y.push([SL+G,U],[EL+G,U]),G=!1;continue}}else{var F=Object.prototype.toString.call(U),I=Object.prototype.toString.call(B);if(F===I&&(I==="[object Object]"||I==="[object Array]")){F=[iI+" ".repeat(J)+H,I==="[object Array]"?"Array":""],Y.push(F),I=Y.length,h8(U,B,Y,J+1)?I===Y.length&&(F[1]="Referentially unequal but deeply equal objects. Consider memoization."):G=!1;continue}}else if(typeof U==="function"&&typeof B==="function"&&U.name===B.name&&U.length===B.length&&(F=Function.prototype.toString.call(U),I=Function.prototype.toString.call(B),F===I)){U=B.name===""?"() => {}":B.name+"() {}",Y.push([iI+" ".repeat(J)+H,U+" Referentially unequal function closure. Consider memoization."]);continue}}kJ(H,U,Y,J,SL),kJ(H,B,Y,J,EL)}G=!1}}else Y.push([EL+" ".repeat(J)+H,"…"]),G=!1;return G}function OQ(Z){eZ=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function xJ(Z,X,Y,J){DX&&(RG.start=X,RG.end=Y,Dq.color="warning",Dq.tooltipText=J,Dq.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,J,RG)):performance.measure(J,RG))}function OB(Z,X,Y){xJ(Z,X,Y,"Reconnect")}function FB(Z,X,Y,J,G){var H=o(Z);if(H!==null&&DX){var{alternate:U,actualDuration:B}=Z;if(U===null||U.child!==Z.child)for(var F=Z.child;F!==null;F=F.sibling)B-=F.actualDuration;J=0.5>B?J?"tertiary-light":"primary-light":10>B?J?"tertiary":"primary":100>B?J?"tertiary-dark":"primary-dark":"error";var I=Z.memoizedProps;B=Z._debugTask,I!==null&&U!==null&&U.memoizedProps!==I?(F=[sS],I=h8(U.memoizedProps,I,F,0),1<F.length&&(I&&!VG&&(U.lanes&G)===0&&100<Z.actualDuration?(VG=!0,F[0]=aS,Dq.color="warning",Dq.tooltipText=nI):(Dq.color=J,Dq.tooltipText=H),Dq.properties=F,RG.start=X,RG.end=Y,B!=null?B.run(performance.measure.bind(performance,""+H,RG)):performance.measure(""+H,RG))):B!=null?B.run(console.timeStamp.bind(console,H,X,Y,dQ,void 0,J)):console.timeStamp(H,X,Y,dQ,void 0,J)}}function VF(Z,X,Y,J){if(DX){var G=o(Z);if(G!==null){for(var H=null,U=[],B=0;B<J.length;B++){var F=J[B];H==null&&F.source!==null&&(H=F.source._debugTask),F=F.value,U.push(["Error",typeof F==="object"&&F!==null&&typeof F.message==="string"?String(F.message):String(F)])}Z.key!==null&&kJ("key",Z.key,U,0,""),Z.memoizedProps!==null&&wF(Z.memoizedProps,U,0,""),H==null&&(H=Z._debugTask),Z={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:U}}},H?H.run(performance.measure.bind(performance,""+G,Z)):performance.measure(""+G,Z)}}}function yJ(Z,X,Y,J,G){if(G!==null){if(DX){var H=o(Z);if(H!==null){J=[];for(var U=0;U<G.length;U++){var B=G[U].value;J.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z.key!==null&&kJ("key",Z.key,J,0,""),Z.memoizedProps!==null&&wF(Z.memoizedProps,J,0,""),X={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:"A lifecycle or effect errored",properties:J}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,""+H,X)):performance.measure(""+H,X)}}}else H=o(Z),H!==null&&DX&&(G=1>J?"secondary-light":100>J?"secondary":500>J?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,H,X,Y,dQ,void 0,G)):console.timeStamp(H,X,Y,dQ,void 0,G))}function AD(Z,X,Y,J){if(DX&&!(X<=Z)){var G=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,G)):console.timeStamp(Y,Z,X,eZ,tZ,G)}}function b8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Prewarm",Z,X,eZ,tZ,Y)):console.timeStamp("Prewarm",Z,X,eZ,tZ,Y))}function g8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Suspended",Z,X,eZ,tZ,Y)):console.timeStamp("Suspended",Z,X,eZ,tZ,Y))}function OD(Z,X,Y,J,G,H){if(DX&&!(X<=Z)){Y=[];for(var U=0;U<J.length;U++){var B=J[U].value;Y.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"primary-dark",track:eZ,trackGroup:tZ,tooltipText:G?"Hydration Failed":"Recovered after Error",properties:Y}}},H?H.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function RF(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,"Errored",Z,X,eZ,tZ,"error")):console.timeStamp("Errored",Z,X,eZ,tZ,"error"))}function FD(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,"secondary-light")):console.timeStamp(Y,Z,X,eZ,tZ,"secondary-light"))}function m8(Z,X,Y,J,G){if(DX&&!(X<=Z)){for(var H=[],U=0;U<Y.length;U++){var B=Y[U].value;H.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"error",track:eZ,trackGroup:tZ,tooltipText:J?"Remaining Effects Errored":"Commit Errored",properties:H}}},G?G.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function lW(Z,X,Y){!DX||X<=Z||(Y?Y.run(console.timeStamp.bind(console,"Animating",Z,X,eZ,tZ,"secondary-dark")):console.timeStamp("Animating",Z,X,eZ,tZ,"secondary-dark"))}function MB(){for(var Z=N_,X=a0=N_=0;X<Z;){var Y=cQ[X];cQ[X++]=null;var J=cQ[X];cQ[X++]=null;var G=cQ[X];cQ[X++]=null;var H=cQ[X];if(cQ[X++]=null,J!==null&&G!==null){var U=J.pending;U===null?G.next=G:(G.next=U.next,U.next=G),J.pending=G}H!==0&&f8(Y,G,H)}}function NB(Z,X,Y,J){cQ[N_++]=Z,cQ[N_++]=X,cQ[N_++]=Y,cQ[N_++]=J,a0|=J,Z.lanes|=J,Z=Z.alternate,Z!==null&&(Z.lanes|=J)}function jF(Z,X,Y,J){return NB(Z,X,Y,J),IB(Z)}function hY(Z,X){return NB(Z,null,null,X),IB(Z)}function f8(Z,X,Y){Z.lanes|=Y;var J=Z.alternate;J!==null&&(J.lanes|=Y);for(var G=!1,H=Z.return;H!==null;)H.childLanes|=Y,J=H.alternate,J!==null&&(J.childLanes|=Y),H.tag===22&&(Z=H.stateNode,Z===null||Z._visibility&EU||(G=!0)),Z=H,H=H.return;return Z.tag===3?(H=Z.stateNode,G&&X!==null&&(G=31-fY(Y),Z=H.hiddenUpdates,J=Z[G],J===null?Z[G]=[X]:J.push(X),X.lane=Y|536870912),H):null}function IB(Z){if(JK>WE)throw rH=JK=0,qK=D9=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.");rH>UE&&(rH=0,qK=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&&YN(Z);for(var X=Z,Y=X.return;Y!==null;)X.alternate===null&&(X.flags&4098)!==0&&YN(Z),X=Y,Y=X.return;return X.tag===3?X.stateNode:null}function VH(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z:X.current}function CF(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=VH(Z.render),Z.render!==X)?(X={$$typeof:NU,render:X},Z.displayName!==void 0&&(X.displayName=Z.displayName),X):Z:X.current}function u8(Z,X){if(pQ===null)return!1;var Y=Z.elementType;X=X.type;var J=!1,G=typeof X==="object"&&X!==null?X.$$typeof:null;switch(Z.tag){case 1:typeof X==="function"&&(J=!0);break;case 0:typeof X==="function"?J=!0:G===VQ&&(J=!0);break;case 11:G===NU?J=!0:G===VQ&&(J=!0);break;case 14:case 15:G===FL?J=!0:G===VQ&&(J=!0);break;default:return!1}return J&&(Z=pQ(Y),Z!==void 0&&Z===pQ(X))?!0:!1}function d8(Z){pQ!==null&&typeof WeakSet==="function"&&(I_===null&&(I_=new WeakSet),I_.add(Z))}function c8(Z,X,Y){do{var J=Z,G=J.alternate,H=J.child,U=J.sibling,B=J.tag;J=J.type;var F=null;switch(B){case 0:case 15:case 1:F=J;break;case 11:F=J.render}if(pQ===null)throw Error("Expected resolveFamily to be set during hot reload.");var I=!1;if(J=!1,F!==null&&(F=pQ(F),F!==void 0&&(Y.has(F)?J=!0:X.has(F)&&(B===1?J=!0:I=!0))),I_!==null&&(I_.has(Z)||G!==null&&I_.has(G))&&(J=!0),J&&(Z._debugNeedsRemount=!0),J||I)G=hY(Z,2),G!==null&&gX(G,Z,2);if(H===null||J||c8(H,X,Y),U===null)break;Z=U}while(1)}function MD(Z,X,Y,J){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=J,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,sI||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function PF(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function Iq(Z,X){var Y=Z.alternate;switch(Y===null?(Y=R(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=VH(Z.type);break;case 1:Y.type=VH(Z.type);break;case 11:Y.type=CF(Z.type)}return Y}function p8(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 DF(Z,X,Y,J,G,H){var U=0,B=Z;if(typeof Z==="function")PF(Z)&&(U=1),B=VH(B);else if(typeof Z==="string")U=d(),U=P$(Z,Y,U)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else Z:switch(Z){case I0:return X=R(31,Y,X,G),X.elementType=I0,X.lanes=H,X;case z_:return RH(Y.children,G,H,X);case OL:U=8,G|=gY,G|=AJ;break;case O0:return Z=Y,J=G,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=R(12,Z,X,J|iZ),X.elementType=O0,X.lanes=H,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case M0:return X=R(13,Y,X,G),X.elementType=M0,X.lanes=H,X;case N0:return X=R(19,Y,X,G),X.elementType=N0,X.lanes=H,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case aJ:U=10;break Z;case F0:U=9;break Z;case NU:U=11,B=CF(B);break Z;case FL:U=14;break Z;case VQ:U=16,B=null;break Z}if(B="",Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";Z===null?Y="null":HY(Z)?Y="array":Z!==void 0&&Z.$$typeof===sJ?(Y="<"+(p(Z.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof Z,(U=J?NZ(J):null)&&(B+=`
|
|
77
|
+
|
|
78
|
+
Check the render method of \``+U+"`."),U=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+B)),B=null}return X=R(U,Y,X,G),X.elementType=Z,X.type=B,X.lanes=H,X._debugOwner=J,X}function TB(Z,X,Y){return X=DF(Z.type,Z.key,Z.props,Z._owner,X,Y),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function RH(Z,X,Y,J){return Z=R(7,Z,J,X),Z.lanes=Y,Z}function $F(Z,X,Y){return Z=R(6,Z,null,X),Z.lanes=Y,Z}function l8(Z){var X=R(18,null,null,hZ);return X.stateNode=Z,X}function SF(Z,X,Y){return X=R(4,Z.children!==null?Z.children:[],Z.key,X),X.lanes=Y,X.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},X}function FQ(Z,X){if(typeof Z==="object"&&Z!==null){var Y=o0.get(Z);if(Y!==void 0)return Y;return X={value:Z,source:X,stack:YX(X)},o0.set(Z,X),X}return{value:Z,source:X,stack:YX(X)}}function Tq(Z,X){GG(),T_[w_++]=kU,T_[w_++]=kL,kL=Z,kU=X}function i8(Z,X,Y){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bH,bH=Z;var J=Sq;Z=Eq;var G=32-fY(J)-1;J&=~(1<<G),Y+=1;var H=32-fY(X)+G;if(30<H){var U=G-G%5;H=(J&(1<<U)-1).toString(32),J>>=U,G-=U,Sq=1<<32-fY(X)+G|Y<<G|J,Eq=H+Z}else Sq=1<<H|Y<<G|J,Eq=Z}function EF(Z){GG(),Z.return!==null&&(Tq(Z,1),i8(Z,1,0))}function kF(Z){for(;Z===kL;)kL=T_[--w_],T_[w_]=null,kU=T_[--w_],T_[w_]=null;for(;Z===bH;)bH=lQ[--iQ],lQ[iQ]=null,Eq=lQ[--iQ],lQ[iQ]=null,Sq=lQ[--iQ],lQ[iQ]=null}function n8(){return GG(),bH!==null?{id:Sq,overflow:Eq}:null}function s8(Z,X){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bH,Sq=X.id,Eq=X.overflow,bH=Z}function GG(){QX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function jH(Z,X){if(Z.return===null){if(CQ===null)CQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(CQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");CQ.distanceFromLeaf>X&&(CQ.distanceFromLeaf=X)}return CQ}var Y=jH(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 a8(){QX&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function wB(Z,X){Xq||(Z=jH(Z,0),Z.serverProps=null,X!==null&&(X=PN(X),Z.serverTail.push(X)))}function HG(Z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",J=CQ;throw J!==null&&(CQ=null,Y=FF(J)),iW(FQ(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:
|
|
79
|
+
|
|
80
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
81
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
82
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
83
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
84
|
+
- Invalid HTML tag nesting.
|
|
85
|
+
|
|
86
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
87
|
+
|
|
88
|
+
https://react.dev/link/hydration-mismatch`+Y),Z)),r0}function o8(Z){var{stateNode:X,type:Y,memoizedProps:J}=Z;switch(X[RY]=Z,X[uY]=J,tM(Y,J),Y){case"dialog":qX("cancel",X),qX("close",X);break;case"iframe":case"object":case"embed":qX("load",X);break;case"video":case"audio":for(Y=0;Y<GK.length;Y++)qX(GK[Y],X);break;case"source":qX("error",X);break;case"img":case"image":case"link":qX("error",X),qX("load",X);break;case"details":qX("toggle",X);break;case"input":qG("input",J),qX("invalid",X),Y8(X,J),Q8(X,J.value,J.defaultValue,J.checked,J.defaultChecked,J.type,J.name,!0);break;case"option":J8(X,J);break;case"select":qG("select",J),qX("invalid",X),G8(X,J);break;case"textarea":qG("textarea",J),qX("invalid",X),H8(X,J),_8(X,J.value,J.defaultValue,J.children)}Y=J.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||X.textContent===""+Y||J.suppressHydrationWarning===!0||BN(X.textContent,Y)?(J.popover!=null&&(qX("beforetoggle",X),qX("toggle",X)),J.onScroll!=null&&qX("scroll",X),J.onScrollEnd!=null&&qX("scrollend",X),J.onClick!=null&&(X.onclick=Nq),X=!0):X=!1,X||HG(Z,!0)}function r8(Z){for(jY=Z.return;jY;)switch(jY.tag){case 5:case 31:case 13:nQ=!1;return;case 27:case 3:nQ=!0;return;default:jY=jY.return}}function iz(Z){if(Z!==jY)return!1;if(!QX)return r8(Z),QX=!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")||Q0(Z.type,Z.memoizedProps);Y=!Y}if(Y&&$X){for(Y=$X;Y;){var J=jH(Z,0),G=PN(Y);J.serverTail.push(G),Y=G.type==="Suspense"?H0(Y):wQ(Y.nextSibling)}HG(Z)}if(r8(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.");$X=H0(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.");$X=H0(Z)}else X===27?(X=$X,FG(Z.type)?(Z=f9,f9=null,$X=Z):$X=X):$X=jY?wQ(Z.stateNode.nextSibling):null;return!0}function CH(){$X=jY=null,Xq=QX=!1}function xF(){var Z=CG;return Z!==null&&(nY===null?nY=Z:nY.push.apply(nY,Z),CG=null),Z}function iW(Z){CG===null?CG=[Z]:CG.push(Z)}function yF(){var Z=CQ;if(Z!==null){CQ=null;for(var X=FF(Z);0<Z.children.length;)Z=Z.children[0];UZ(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:
|
|
89
|
+
|
|
90
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
91
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
92
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
93
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
94
|
+
- Invalid HTML tag nesting.
|
|
95
|
+
|
|
96
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
97
|
+
|
|
98
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",X)})}}function VB(){V_=xL=null,R_=!1}function zG(Z,X,Y){a(t0,X._currentValue,Z),X._currentValue=Y,a(e0,X._currentRenderer,Z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==oI&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=oI}function wq(Z,X){Z._currentValue=t0.current;var Y=e0.current;WZ(e0,X),Z._currentRenderer=Y,WZ(t0,X)}function vF(Z,X,Y){for(;Z!==null;){var J=Z.alternate;if((Z.childLanes&X)!==X?(Z.childLanes|=X,J!==null&&(J.childLanes|=X)):J!==null&&(J.childLanes&X)!==X&&(J.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 hF(Z,X,Y,J){var G=Z.child;G!==null&&(G.return=Z);for(;G!==null;){var H=G.dependencies;if(H!==null){var U=G.child;H=H.firstContext;Z:for(;H!==null;){var B=H;H=G;for(var F=0;F<X.length;F++)if(B.context===X[F]){H.lanes|=Y,B=H.alternate,B!==null&&(B.lanes|=Y),vF(H.return,Y,Z),J||(U=null);break Z}H=B.next}}else if(G.tag===18){if(U=G.return,U===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes|=Y,H=U.alternate,H!==null&&(H.lanes|=Y),vF(U,Y,Z),U=null}else U=G.child;if(U!==null)U.return=G;else for(U=G;U!==null;){if(U===Z){U=null;break}if(G=U.sibling,G!==null){G.return=U.return,U=G;break}U=U.return}G=U}}function nz(Z,X,Y,J){Z=null;for(var G=X,H=!1;G!==null;){if(!H){if((G.flags&524288)!==0)H=!0;else if((G.flags&262144)!==0)break}if(G.tag===10){var U=G.alternate;if(U===null)throw Error("Should have a current fiber. This is a bug in React.");if(U=U.memoizedProps,U!==null){var B=G.type;cY(G.pendingProps.value,U.value)||(Z!==null?Z.push(B):Z=[B])}}else if(G===ML.current){if(U=G.alternate,U===null)throw Error("Should have a current fiber. This is a bug in React.");U.memoizedState.memoizedState!==G.memoizedState.memoizedState&&(Z!==null?Z.push(UK):Z=[UK])}G=G.return}Z!==null&&hF(X,Z,Y,J),X.flags|=262144}function RB(Z){for(Z=Z.firstContext;Z!==null;){if(!cY(Z.context._currentValue,Z.memoizedValue))return!0;Z=Z.next}return!1}function PH(Z){xL=Z,V_=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function kX(Z){return R_&&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()."),t8(xL,Z)}function jB(Z,X){return xL===null&&PH(Z),t8(Z,X)}function t8(Z,X){var Y=X._currentValue;if(X={context:X,memoizedValue:Y,next:null},V_===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().");V_=X,Z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},Z.flags|=524288}else V_=V_.next=X;return Y}function bF(){return{controller:new tS,data:new Map,refCount:0}}function DH(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 nW(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&&eS(ZE,function(){Z.controller.abort()})}function vJ(Z,X,Y){if((Z&127)!==0)0>Yq&&(Yq=tX(),yU=yL(X),Z9=X,Y!=null&&(X9=o(Y)),(zX&(_Y|$Q))!==AY&&(mX=!0,$G=xU),Z=LU(),X=BU(),Z!==j_||X!==vU?j_=-1.1:X!==null&&($G=xU),mH=Z,vU=X);else if((Z&4194048)!==0&&0>sQ&&(sQ=tX(),hU=yL(X),rI=X,Y!=null&&(tI=o(Y)),0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fH)EG=-1.1;SG=Z,fH=X}}function ND(Z){if(0>Yq){Yq=tX(),yU=Z._debugTask!=null?Z._debugTask:null,(zX&(_Y|$Q))!==AY&&($G=xU);var X=LU(),Y=BU();X!==j_||Y!==vU?j_=-1.1:Y!==null&&($G=xU),mH=X,vU=Y}if(0>sQ&&(sQ=tX(),hU=Z._debugTask!=null?Z._debugTask:null,0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fH)EG=-1.1;SG=Z,fH=X}}function Vq(){var Z=gH;return gH=0,Z}function CB(Z){var X=gH;return gH=Z,X}function sW(Z){var X=gH;return gH+=Z,X}function PB(){xZ=EZ=-1.1}function MQ(){var Z=EZ;return EZ=-1.1,Z}function NQ(Z){0<=Z&&(EZ=Z)}function hJ(){var Z=hX;return hX=-0,Z}function bJ(Z){0<=Z&&(hX=Z)}function gJ(){var Z=xX;return xX=null,Z}function mJ(){var Z=mX;return mX=!1,Z}function gF(Z){pY=tX(),0>Z.actualStartTime&&(Z.actualStartTime=pY)}function mF(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,Z.selfBaseDuration=X,pY=-1}}function e8(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,pY=-1}}function fJ(){if(0<=pY){var Z=tX(),X=Z-pY;pY=-1,gH+=X,hX+=X,xZ=Z}}function Z1(Z){xX===null&&(xX=[]),xX.push(Z),xq===null&&(xq=[]),xq.push(Z)}function uJ(){pY=tX(),0>EZ&&(EZ=pY)}function aW(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function ID(Z,X){if(gU===null){var Y=gU=[];Q9=0,uH=sM(),C_={status:"pending",value:void 0,then:function(J){Y.push(J)}}}return Q9++,X.then(X1,X1),X}function X1(){if(--Q9===0&&(-1<sQ||(yq=-1.1),gU!==null)){C_!==null&&(C_.status="fulfilled");var Z=gU;gU=null,uH=0,C_=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function TD(Z,X){var Y=[],J={status:"pending",value:null,reason:null,then:function(G){Y.push(G)}};return Z.then(function(){J.status="fulfilled",J.value=X;for(var G=0;G<Y.length;G++)(0,Y[G])(X)},function(G){J.status="rejected",J.reason=G;for(G=0;G<Y.length;G++)(0,Y[G])(void 0)}),J}function fF(){var Z=dH.current;return Z!==null?Z:RX.pooledCache}function DB(Z,X){X===null?a(dH,dH.current,Z):a(dH,X.pool,Z)}function Y1(){var Z=fF();return Z===null?null:{parent:rX._currentValue,pool:Z}}function Q1(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function J1(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function q1(Z,X,Y){i.actQueue!==null&&(i.didUsePromise=!0);var J=Z.thenables;if(Y=J[Y],Y===void 0?J.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(Nq,Nq),X=Y),X._debugInfo===void 0){Z=performance.now(),J=X.displayName;var G={name:typeof J==="string"?J:"Promise",start:Z,end:Z,value:X};X._debugInfo=[{awaited:G}],X.status!=="fulfilled"&&X.status!=="rejected"&&(Z=function(){G.end=performance.now()},X.then(Z,Z))}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,H1(Z),Z;default:if(typeof X.status==="string")X.then(Nq,Nq);else{if(Z=RX,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(H){if(X.status==="pending"){var U=X;U.status="fulfilled",U.value=H}},function(H){if(X.status==="pending"){var U=X;U.status="rejected",U.reason=H}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,H1(Z),Z}throw pH=X,lU=!0,P_}}function _G(Z){try{return JE(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw pH=X,lU=!0,P_;throw X}}function G1(){if(pH===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=pH;return pH=null,lU=!1,Z}function H1(Z){if(Z===P_||Z===dL)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 TY(Z){var X=nZ;return Z!=null&&(nZ=X===null?Z:X.concat(Z)),X}function uF(){var Z=nZ;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 $B(Z,X,Y){for(var J=Object.keys(Z.props),G=0;G<J.length;G++){var H=J[G];if(H!=="children"&&H!=="key"){X===null&&(X=TB(Z,Y.mode,0),X._debugInfo=nZ,X.return=Y),UZ(X,function(U){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U)},H);break}}}function SB(Z){var X=iU;return iU+=1,D_===null&&(D_=Q1()),q1(D_,Z,X)}function oW(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function z1(Z,X){if(X.$$typeof===b$)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
99
|
+
- Multiple copies of the "react" package is used.
|
|
100
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
101
|
+
- 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 EB(Z,X){var Y=uF();Y!==null?Y.run(z1.bind(null,Z,X)):z1(Z,X)}function _1(Z,X){var Y=o(Z)||"Component";M7[Y]||(M7[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.
|
|
102
|
+
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.
|
|
103
|
+
<%s>{%s}</%s>`,X,X,Y,X,Y))}function kB(Z,X){var Y=uF();Y!==null?Y.run(_1.bind(null,Z,X)):_1(Z,X)}function W1(Z,X){var Y=o(Z)||"Component";N7[Y]||(N7[Y]=!0,X=String(X),Z.tag===3?console.error(`Symbols are not valid as a React child.
|
|
104
|
+
root.render(%s)`,X):console.error(`Symbols are not valid as a React child.
|
|
105
|
+
<%s>%s</%s>`,Y,X,Y))}function xB(Z,X){var Y=uF();Y!==null?Y.run(W1.bind(null,Z,X)):W1(Z,X)}function U1(Z){function X($,E){if(Z){var k=$.deletions;k===null?($.deletions=[E],$.flags|=16):k.push(E)}}function Y($,E){if(!Z)return null;for(;E!==null;)X($,E),E=E.sibling;return null}function J($){for(var E=new Map;$!==null;)$.key!==null?E.set($.key,$):E.set($.index,$),$=$.sibling;return E}function G($,E){return $=Iq($,E),$.index=0,$.sibling=null,$}function H($,E,k){if($.index=k,!Z)return $.flags|=1048576,E;if(k=$.alternate,k!==null)return k=k.index,k<E?($.flags|=67108866,E):k;return $.flags|=67108866,E}function U($){return Z&&$.alternate===null&&($.flags|=67108866),$}function B($,E,k,r){if(E===null||E.tag!==6)return E=$F(k,$.mode,r),E.return=$,E._debugOwner=$,E._debugTask=$._debugTask,E._debugInfo=nZ,E;return E=G(E,k),E.return=$,E._debugInfo=nZ,E}function F($,E,k,r){var zZ=k.type;if(zZ===z_)return E=x($,E,k.props.children,r,k.key),$B(k,E,$),E;if(E!==null&&(E.elementType===zZ||u8(E,k)||typeof zZ==="object"&&zZ!==null&&zZ.$$typeof===VQ&&_G(zZ)===E.type))return E=G(E,k.props),oW(E,k),E.return=$,E._debugOwner=k._owner,E._debugInfo=nZ,E;return E=TB(k,$.mode,r),oW(E,k),E.return=$,E._debugInfo=nZ,E}function I($,E,k,r){if(E===null||E.tag!==4||E.stateNode.containerInfo!==k.containerInfo||E.stateNode.implementation!==k.implementation)return E=SF(k,$.mode,r),E.return=$,E._debugInfo=nZ,E;return E=G(E,k.children||[]),E.return=$,E._debugInfo=nZ,E}function x($,E,k,r,zZ){if(E===null||E.tag!==7)return E=RH(k,$.mode,r,zZ),E.return=$,E._debugOwner=$,E._debugTask=$._debugTask,E._debugInfo=nZ,E;return E=G(E,k),E.return=$,E._debugInfo=nZ,E}function y($,E,k){if(typeof E==="string"&&E!==""||typeof E==="number"||typeof E==="bigint")return E=$F(""+E,$.mode,k),E.return=$,E._debugOwner=$,E._debugTask=$._debugTask,E._debugInfo=nZ,E;if(typeof E==="object"&&E!==null){switch(E.$$typeof){case sJ:return k=TB(E,$.mode,k),oW(k,E),k.return=$,$=TY(E._debugInfo),k._debugInfo=nZ,nZ=$,k;case H_:return E=SF(E,$.mode,k),E.return=$,E._debugInfo=nZ,E;case VQ:var r=TY(E._debugInfo);return E=_G(E),$=y($,E,k),nZ=r,$}if(HY(E)||YZ(E))return k=RH(E,$.mode,k,null),k.return=$,k._debugOwner=$,k._debugTask=$._debugTask,$=TY(E._debugInfo),k._debugInfo=nZ,nZ=$,k;if(typeof E.then==="function")return r=TY(E._debugInfo),$=y($,SB(E),k),nZ=r,$;if(E.$$typeof===aJ)return y($,jB($,E),k);EB($,E)}return typeof E==="function"&&kB($,E),typeof E==="symbol"&&xB($,E),null}function S($,E,k,r){var zZ=E!==null?E.key:null;if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return zZ!==null?null:B($,E,""+k,r);if(typeof k==="object"&&k!==null){switch(k.$$typeof){case sJ:return k.key===zZ?(zZ=TY(k._debugInfo),$=F($,E,k,r),nZ=zZ,$):null;case H_:return k.key===zZ?I($,E,k,r):null;case VQ:return zZ=TY(k._debugInfo),k=_G(k),$=S($,E,k,r),nZ=zZ,$}if(HY(k)||YZ(k)){if(zZ!==null)return null;return zZ=TY(k._debugInfo),$=x($,E,k,r,null),nZ=zZ,$}if(typeof k.then==="function")return zZ=TY(k._debugInfo),$=S($,E,SB(k),r),nZ=zZ,$;if(k.$$typeof===aJ)return S($,E,jB($,k),r);EB($,k)}return typeof k==="function"&&kB($,k),typeof k==="symbol"&&xB($,k),null}function c($,E,k,r,zZ){if(typeof r==="string"&&r!==""||typeof r==="number"||typeof r==="bigint")return $=$.get(k)||null,B(E,$,""+r,zZ);if(typeof r==="object"&&r!==null){switch(r.$$typeof){case sJ:return k=$.get(r.key===null?k:r.key)||null,$=TY(r._debugInfo),E=F(E,k,r,zZ),nZ=$,E;case H_:return $=$.get(r.key===null?k:r.key)||null,I(E,$,r,zZ);case VQ:var gZ=TY(r._debugInfo);return r=_G(r),E=c($,E,k,r,zZ),nZ=gZ,E}if(HY(r)||YZ(r))return k=$.get(k)||null,$=TY(r._debugInfo),E=x(E,k,r,zZ,null),nZ=$,E;if(typeof r.then==="function")return gZ=TY(r._debugInfo),E=c($,E,k,SB(r),zZ),nZ=gZ,E;if(r.$$typeof===aJ)return c($,E,k,jB(E,r),zZ);EB(E,r)}return typeof r==="function"&&kB(E,r),typeof r==="symbol"&&xB(E,r),null}function qZ($,E,k,r){if(typeof k!=="object"||k===null)return r;switch(k.$$typeof){case sJ:case H_:N($,E,k);var zZ=k.key;if(typeof zZ!=="string")break;if(r===null){r=new Set,r.add(zZ);break}if(!r.has(zZ)){r.add(zZ);break}UZ(E,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.",zZ)});break;case VQ:k=_G(k),qZ($,E,k,r)}return r}function BZ($,E,k,r){for(var zZ=null,gZ=null,DZ=null,RZ=E,pZ=E=0,SX=null;RZ!==null&&pZ<k.length;pZ++){RZ.index>pZ?(SX=RZ,RZ=null):SX=RZ.sibling;var sX=S($,RZ,k[pZ],r);if(sX===null){RZ===null&&(RZ=SX);break}zZ=qZ($,sX,k[pZ],zZ),Z&&RZ&&sX.alternate===null&&X($,RZ),E=H(sX,E,pZ),DZ===null?gZ=sX:DZ.sibling=sX,DZ=sX,RZ=SX}if(pZ===k.length)return Y($,RZ),QX&&Tq($,pZ),gZ;if(RZ===null){for(;pZ<k.length;pZ++)RZ=y($,k[pZ],r),RZ!==null&&(zZ=qZ($,RZ,k[pZ],zZ),E=H(RZ,E,pZ),DZ===null?gZ=RZ:DZ.sibling=RZ,DZ=RZ);return QX&&Tq($,pZ),gZ}for(RZ=J(RZ);pZ<k.length;pZ++)SX=c(RZ,$,pZ,k[pZ],r),SX!==null&&(zZ=qZ($,SX,k[pZ],zZ),Z&&SX.alternate!==null&&RZ.delete(SX.key===null?pZ:SX.key),E=H(SX,E,pZ),DZ===null?gZ=SX:DZ.sibling=SX,DZ=SX);return Z&&RZ.forEach(function(cq){return X($,cq)}),QX&&Tq($,pZ),gZ}function PX($,E,k,r){if(k==null)throw Error("An iterable object provided no iterator.");for(var zZ=null,gZ=null,DZ=E,RZ=E=0,pZ=null,SX=null,sX=k.next();DZ!==null&&!sX.done;RZ++,sX=k.next()){DZ.index>RZ?(pZ=DZ,DZ=null):pZ=DZ.sibling;var cq=S($,DZ,sX.value,r);if(cq===null){DZ===null&&(DZ=pZ);break}SX=qZ($,cq,sX.value,SX),Z&&DZ&&cq.alternate===null&&X($,DZ),E=H(cq,E,RZ),gZ===null?zZ=cq:gZ.sibling=cq,gZ=cq,DZ=pZ}if(sX.done)return Y($,DZ),QX&&Tq($,RZ),zZ;if(DZ===null){for(;!sX.done;RZ++,sX=k.next())DZ=y($,sX.value,r),DZ!==null&&(SX=qZ($,DZ,sX.value,SX),E=H(DZ,E,RZ),gZ===null?zZ=DZ:gZ.sibling=DZ,gZ=DZ);return QX&&Tq($,RZ),zZ}for(DZ=J(DZ);!sX.done;RZ++,sX=k.next())pZ=c(DZ,$,RZ,sX.value,r),pZ!==null&&(SX=qZ($,pZ,sX.value,SX),Z&&pZ.alternate!==null&&DZ.delete(pZ.key===null?RZ:pZ.key),E=H(pZ,E,RZ),gZ===null?zZ=pZ:gZ.sibling=pZ,gZ=pZ);return Z&&DZ.forEach(function(DE){return X($,DE)}),QX&&Tq($,RZ),zZ}function GX($,E,k,r){if(typeof k==="object"&&k!==null&&k.type===z_&&k.key===null&&($B(k,null,$),k=k.props.children),typeof k==="object"&&k!==null){switch(k.$$typeof){case sJ:var zZ=TY(k._debugInfo);Z:{for(var gZ=k.key;E!==null;){if(E.key===gZ){if(gZ=k.type,gZ===z_){if(E.tag===7){Y($,E.sibling),r=G(E,k.props.children),r.return=$,r._debugOwner=k._owner,r._debugInfo=nZ,$B(k,r,$),$=r;break Z}}else if(E.elementType===gZ||u8(E,k)||typeof gZ==="object"&&gZ!==null&&gZ.$$typeof===VQ&&_G(gZ)===E.type){Y($,E.sibling),r=G(E,k.props),oW(r,k),r.return=$,r._debugOwner=k._owner,r._debugInfo=nZ,$=r;break Z}Y($,E);break}else X($,E);E=E.sibling}k.type===z_?(r=RH(k.props.children,$.mode,r,k.key),r.return=$,r._debugOwner=$,r._debugTask=$._debugTask,r._debugInfo=nZ,$B(k,r,$),$=r):(r=TB(k,$.mode,r),oW(r,k),r.return=$,r._debugInfo=nZ,$=r)}return $=U($),nZ=zZ,$;case H_:Z:{zZ=k;for(k=zZ.key;E!==null;){if(E.key===k)if(E.tag===4&&E.stateNode.containerInfo===zZ.containerInfo&&E.stateNode.implementation===zZ.implementation){Y($,E.sibling),r=G(E,zZ.children||[]),r.return=$,$=r;break Z}else{Y($,E);break}else X($,E);E=E.sibling}r=SF(zZ,$.mode,r),r.return=$,$=r}return U($);case VQ:return zZ=TY(k._debugInfo),k=_G(k),$=GX($,E,k,r),nZ=zZ,$}if(HY(k))return zZ=TY(k._debugInfo),$=BZ($,E,k,r),nZ=zZ,$;if(YZ(k)){if(zZ=TY(k._debugInfo),gZ=YZ(k),typeof gZ!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var DZ=gZ.call(k);if(DZ===k){if($.tag!==0||Object.prototype.toString.call($.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(DZ)!=="[object Generator]")O7||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."),O7=!0}else k.entries!==gZ||H9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),H9=!0);return $=PX($,E,DZ,r),nZ=zZ,$}if(typeof k.then==="function")return zZ=TY(k._debugInfo),$=GX($,E,SB(k),r),nZ=zZ,$;if(k.$$typeof===aJ)return GX($,E,jB($,k),r);EB($,k)}if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return zZ=""+k,E!==null&&E.tag===6?(Y($,E.sibling),r=G(E,zZ),r.return=$,$=r):(Y($,E),r=$F(zZ,$.mode,r),r.return=$,r._debugOwner=$,r._debugTask=$._debugTask,r._debugInfo=nZ,$=r),U($);return typeof k==="function"&&kB($,k),typeof k==="symbol"&&xB($,k),Y($,E)}return function($,E,k,r){var zZ=nZ;nZ=null;try{iU=0;var gZ=GX($,E,k,r);return D_=null,gZ}catch(SX){if(SX===P_||SX===dL)throw SX;var DZ=R(29,SX,null,$.mode);DZ.lanes=r,DZ.return=$;var RZ=DZ._debugInfo=nZ;if(DZ._debugOwner=$._debugOwner,DZ._debugTask=$._debugTask,RZ!=null){for(var pZ=RZ.length-1;0<=pZ;pZ--)if(typeof RZ[pZ].stack==="string"){DZ._debugOwner=RZ[pZ],DZ._debugTask=RZ[pZ].debugTask;break}}return DZ}finally{nZ=zZ}}}function K1(Z,X){var Y=HY(Z);return Z=!Y&&typeof YZ(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 dF(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cF(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 WG(Z){return{lane:Z,tag:T7,payload:null,callback:null,next:null}}function UG(Z,X,Y){var J=Z.updateQueue;if(J===null)return null;if(J=J.shared,_9===J&&!R7){var G=o(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.
|
|
106
|
+
|
|
107
|
+
Please update the following component: %s`,G),R7=!0}if((zX&_Y)!==AY)return G=J.pending,G===null?X.next=X:(X.next=G.next,G.next=X),J.pending=X,X=IB(Z),f8(Z,null,Y),X;return NB(Z,J,X,Y),IB(Z)}function rW(Z,X,Y){if(X=X.updateQueue,X!==null&&(X=X.shared,(Y&4194048)!==0)){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,FH(Z,Y)}}function yB(Z,X){var{updateQueue:Y,alternate:J}=Z;if(J!==null&&(J=J.updateQueue,Y===J)){var G=null,H=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var U={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};H===null?G=H=U:H=H.next=U,Y=Y.next}while(Y!==null);H===null?G=H=X:H=H.next=X}else G=H=X;Y={baseState:J.baseState,firstBaseUpdate:G,lastBaseUpdate:H,shared:J.shared,callbacks:J.callbacks},Z.updateQueue=Y;return}Z=Y.lastBaseUpdate,Z===null?Y.firstBaseUpdate=X:Z.next=X,Y.lastBaseUpdate=X}function tW(){if(W9){var Z=C_;if(Z!==null)throw Z}}function eW(Z,X,Y,J){W9=!1;var G=Z.updateQueue;kG=!1,_9=G.shared;var{firstBaseUpdate:H,lastBaseUpdate:U}=G,B=G.shared.pending;if(B!==null){G.shared.pending=null;var F=B,I=F.next;F.next=null,U===null?H=I:U.next=I,U=F;var x=Z.alternate;x!==null&&(x=x.updateQueue,B=x.lastBaseUpdate,B!==U&&(B===null?x.firstBaseUpdate=I:B.next=I,x.lastBaseUpdate=F))}if(H!==null){var y=G.baseState;U=0,x=I=F=null,B=H;do{var S=B.lane&-536870913,c=S!==B.lane;if(c?(sZ&S)===S:(J&S)===S){S!==0&&S===uH&&(W9=!0),x!==null&&(x=x.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});Z:{S=Z;var qZ=B,BZ=X,PX=Y;switch(qZ.tag){case w7:if(qZ=qZ.payload,typeof qZ==="function"){R_=!0;var GX=qZ.call(PX,y,BZ);if(S.mode&gY){jX(!0);try{qZ.call(PX,y,BZ)}finally{jX(!1)}}R_=!1,y=GX;break Z}y=qZ;break Z;case z9:S.flags=S.flags&-65537|128;case T7:if(GX=qZ.payload,typeof GX==="function"){if(R_=!0,qZ=GX.call(PX,y,BZ),S.mode&gY){jX(!0);try{GX.call(PX,y,BZ)}finally{jX(!1)}}R_=!1}else qZ=GX;if(qZ===null||qZ===void 0)break Z;y=rZ({},y,qZ);break Z;case V7:kG=!0}}S=B.callback,S!==null&&(Z.flags|=64,c&&(Z.flags|=8192),c=G.callbacks,c===null?G.callbacks=[S]:c.push(S))}else c={lane:S,tag:B.tag,payload:B.payload,callback:B.callback,next:null},x===null?(I=x=c,F=y):x=x.next=c,U|=S;if(B=B.next,B===null)if(B=G.shared.pending,B===null)break;else c=B,B=c.next,c.next=null,G.lastBaseUpdate=c,G.shared.pending=null}while(1);x===null&&(F=y),G.baseState=F,G.firstBaseUpdate=I,G.lastBaseUpdate=x,H===null&&(G.shared.lanes=0),vG|=U,Z.lanes=U,Z.memoizedState=y}_9=null}function B1(Z,X){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(X)}function wD(Z,X){var Y=Z.shared.hiddenCallbacks;if(Y!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<Y.length;Z++)B1(Y[Z],X)}function L1(Z,X){var Y=Z.callbacks;if(Y!==null)for(Z.callbacks=null,Z=0;Z<Y.length;Z++)B1(Y[Z],X)}function A1(Z,X){var Y=qq;a(pL,Y,Z),a($_,X,Z),qq=Y|X.baseLanes}function pF(Z){a(pL,qq,Z),a($_,$_.current,Z)}function lF(Z){qq=pL.current,WZ($_,Z),WZ(pL,Z)}function KG(Z){var X=Z.alternate;a(nX,nX.current&S_,Z),a(PQ,Z,Z),aQ===null&&(X===null||$_.current!==null?aQ=Z:X.memoizedState!==null&&(aQ=Z))}function iF(Z){a(nX,nX.current,Z),a(PQ,Z,Z),aQ===null&&(aQ=Z)}function O1(Z){Z.tag===22?(a(nX,nX.current,Z),a(PQ,Z,Z),aQ===null&&(aQ=Z)):BG(Z)}function BG(Z){a(nX,nX.current,Z),a(PQ,PQ.current,Z)}function IQ(Z){WZ(PQ,Z),aQ===Z&&(aQ=null),WZ(nX,Z)}function vB(Z){for(var X=Z;X!==null;){if(X.tag===13){var Y=X.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||q0(Y)||G0(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 oZ(){var Z=l;rQ===null?rQ=[Z]:rQ.push(Z)}function XZ(){var Z=l;if(rQ!==null&&(gq++,rQ[gq]!==Z)){var X=o(bZ);if(!j7.has(X)&&(j7.add(X),rQ!==null)){for(var Y="",J=0;J<=gq;J++){var G=rQ[J],H=J===gq?Z:G;for(G=J+1+". "+G;30>G.length;)G+=" ";G+=H+`
|
|
108
|
+
`,Y+=G}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
|
|
109
|
+
|
|
110
|
+
Previous render Next render
|
|
111
|
+
------------------------------------------------------
|
|
112
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
113
|
+
`,X,Y)}}}function sz(Z){Z===void 0||Z===null||HY(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.",l,typeof Z)}function hB(){var Z=o(bZ);P7.has(Z)||(P7.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function pX(){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:
|
|
114
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
115
|
+
2. You might be breaking the Rules of Hooks
|
|
116
|
+
3. You might have more than one copy of React in the same app
|
|
117
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function nF(Z,X){if(aU)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.",l),!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.
|
|
118
|
+
|
|
119
|
+
Previous: %s
|
|
120
|
+
Incoming: %s`,l,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Y=0;Y<X.length&&Y<Z.length;Y++)if(!cY(Z[Y],X[Y]))return!1;return!0}function sF(Z,X,Y,J,G,H){if(hq=H,bZ=X,rQ=Z!==null?Z._debugHookTypes:null,gq=-1,aU=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")H=o(bZ),U9.has(H)||(U9.add(H),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.",H===null?"An unknown Component":"<"+H+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,i.H=Z!==null&&Z.memoizedState!==null?B9:rQ!==null?D7:K9,iH=H=(X.mode&gY)!==hZ;var U=J9(Y,J,G);if(iH=!1,k_&&(U=aF(X,Y,J,G)),H){jX(!0);try{U=aF(X,Y,J,G)}finally{jX(!1)}}return F1(Z,X),U}function F1(Z,X){X._debugHookTypes=rQ,X.dependencies===null?bq!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:bq}):X.dependencies._debugThenableState=bq,i.H=oU;var Y=VX!==null&&VX.next!==null;if(hq=0,rQ=l=eX=VX=bZ=null,gq=-1,Z!==null&&(Z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),iL=!1,sU=0,bq=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||ZY||(Z=Z.dependencies,Z!==null&&RB(Z)&&(ZY=!0)),lU?(lU=!1,Z=!0):Z=!1,Z&&(X=o(X)||"Unknown",C7.has(X)||U9.has(X)||(C7.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 aF(Z,X,Y,J){bZ=Z;var G=0;do{if(k_&&(bq=null),sU=0,k_=!1,G>=GE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(G+=1,aU=!1,eX=VX=null,Z.updateQueue!=null){var H=Z.updateQueue;H.lastEffect=null,H.events=null,H.stores=null,H.memoCache!=null&&(H.memoCache.index=0)}gq=-1,i.H=$7,H=J9(X,Y,J)}while(k_);return H}function VD(){var Z=i.H,X=Z.useState()[0];return X=typeof X.then==="function"?ZU(X):X,Z=Z.useState()[0],(VX!==null?VX.memoizedState:null)!==Z&&(bZ.flags|=1024),X}function oF(){var Z=nL!==0;return nL=0,Z}function rF(Z,X,Y){X.updateQueue=Z.updateQueue,X.flags=(X.mode&AJ)!==hZ?X.flags&-402655237:X.flags&-2053,Z.lanes&=~Y}function tF(Z){if(iL){for(Z=Z.memoizedState;Z!==null;){var X=Z.queue;X!==null&&(X.pending=null),Z=Z.next}iL=!1}hq=0,rQ=eX=VX=bZ=null,gq=-1,l=null,k_=!1,sU=nL=0,bq=null}function mY(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z,eX}function FX(){if(VX===null){var Z=bZ.alternate;Z=Z!==null?Z.memoizedState:null}else Z=VX.next;var X=eX===null?bZ.memoizedState:eX.next;if(X!==null)eX=X,VX=Z;else{if(Z===null){if(bZ.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.")}VX=Z,Z={memoizedState:VX.memoizedState,baseState:VX.baseState,baseQueue:VX.baseQueue,queue:VX.queue,next:null},eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z}return eX}function bB(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ZU(Z){var X=sU;return sU+=1,bq===null&&(bq=Q1()),Z=q1(bq,Z,X),X=bZ,(eX===null?X.memoizedState:eX.next)===null&&(X=X.alternate,i.H=X!==null&&X.memoizedState!==null?B9:K9),Z}function LG(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return ZU(Z);if(Z.$$typeof===aJ)return kX(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function $H(Z){var X=null,Y=bZ.updateQueue;if(Y!==null&&(X=Y.memoCache),X==null){var J=bZ.alternate;J!==null&&(J=J.updateQueue,J!==null&&(J=J.memoCache,J!=null&&(X={data:J.data.map(function(G){return G.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),Y===null&&(Y=bB(),bZ.updateQueue=Y),Y.memoCache=X,Y=X.data[X.index],Y===void 0||aU)for(Y=X.data[X.index]=Array(Z),J=0;J<Z;J++)Y[J]=g$;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 UJ(Z,X){return typeof X==="function"?X(Z):X}function eF(Z,X,Y){var J=mY();if(Y!==void 0){var G=Y(X);if(iH){jX(!0);try{Y(X)}finally{jX(!1)}}}else G=X;return J.memoizedState=J.baseState=G,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:G},J.queue=Z,Z=Z.dispatch=DD.bind(null,bZ,Z),[J.memoizedState,Z]}function az(Z){var X=FX();return ZM(X,VX,Z)}function ZM(Z,X,Y){var J=Z.queue;if(J===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");J.lastRenderedReducer=Y;var G=Z.baseQueue,H=J.pending;if(H!==null){if(G!==null){var U=G.next;G.next=H.next,H.next=U}X.baseQueue!==G&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=G=H,J.pending=null}if(H=Z.baseState,G===null)Z.memoizedState=H;else{X=G.next;var B=U=null,F=null,I=X,x=!1;do{var y=I.lane&-536870913;if(y!==I.lane?(sZ&y)===y:(hq&y)===y){var S=I.revertLane;if(S===0)F!==null&&(F=F.next={lane:0,revertLane:0,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),y===uH&&(x=!0);else if((hq&S)===S){I=I.next,S===uH&&(x=!0);continue}else y={lane:0,revertLane:I.revertLane,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},F===null?(B=F=y,U=H):F=F.next=y,bZ.lanes|=S,vG|=S;y=I.action,iH&&Y(H,y),H=I.hasEagerState?I.eagerState:Y(H,y)}else S={lane:y,revertLane:I.revertLane,gesture:I.gesture,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},F===null?(B=F=S,U=H):F=F.next=S,bZ.lanes|=y,vG|=y;I=I.next}while(I!==null&&I!==X);if(F===null?U=H:F.next=B,!cY(H,Z.memoizedState)&&(ZY=!0,x&&(Y=C_,Y!==null)))throw Y;Z.memoizedState=H,Z.baseState=U,Z.baseQueue=F,J.lastRenderedState=H}return G===null&&(J.lanes=0),[Z.memoizedState,J.dispatch]}function XU(Z){var X=FX(),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:J,pending:G}=Y,H=X.memoizedState;if(G!==null){Y.pending=null;var U=G=G.next;do H=Z(H,U.action),U=U.next;while(U!==G);cY(H,X.memoizedState)||(ZY=!0),X.memoizedState=H,X.baseQueue===null&&(X.baseState=H),Y.lastRenderedState=H}return[H,J]}function XM(Z,X,Y){var J=bZ,G=mY();if(QX){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var H=Y();E_||H===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),E_=!0)}else{if(H=X(),E_||(Y=X(),cY(H,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(sZ&127)!==0||M1(J,X,H)}return G.memoizedState=H,Y={value:H,getSnapshot:X},G.queue=Y,uB(I1.bind(null,J,Y,Z),[Z]),J.flags|=2048,rz(oQ|iY,{destroy:void 0},N1.bind(null,J,Y,H,X),null),H}function gB(Z,X,Y){var J=bZ,G=FX(),H=QX;if(H){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(),!E_){var U=X();cY(Y,U)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)}if(U=!cY((VX||G).memoizedState,Y))G.memoizedState=Y,ZY=!0;G=G.queue;var B=I1.bind(null,J,G,Z);if(rY(2048,iY,B,[Z]),G.getSnapshot!==X||U||eX!==null&&eX.memoizedState.tag&oQ){if(J.flags|=2048,rz(oQ|iY,{destroy:void 0},N1.bind(null,J,G,Y,X),null),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");H||(hq&127)!==0||M1(J,X,Y)}return Y}function M1(Z,X,Y){Z.flags|=16384,Z={getSnapshot:X,value:Y},X=bZ.updateQueue,X===null?(X=bB(),bZ.updateQueue=X,X.stores=[Z]):(Y=X.stores,Y===null?X.stores=[Z]:Y.push(Z))}function N1(Z,X,Y,J){X.value=Y,X.getSnapshot=J,T1(X)&&w1(Z)}function I1(Z,X,Y){return Y(function(){T1(X)&&(vJ(2,"updateSyncExternalStore()",Z),w1(Z))})}function T1(Z){var X=Z.getSnapshot;Z=Z.value;try{var Y=X();return!cY(Z,Y)}catch(J){return!0}}function w1(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)}function YM(Z){var X=mY();if(typeof Z==="function"){var Y=Z;if(Z=Y(),iH){jX(!0);try{Y()}finally{jX(!1)}}}return X.memoizedState=X.baseState=Z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Z},X}function QM(Z){Z=YM(Z);var X=Z.queue,Y=u1.bind(null,bZ,X);return X.dispatch=Y,[Z.memoizedState,Y]}function JM(Z){var X=mY();X.memoizedState=X.baseState=Z;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=Y,X=MM.bind(null,bZ,!0,Y),Y.dispatch=X,[Z,X]}function V1(Z,X){var Y=FX();return R1(Y,VX,Z,X)}function R1(Z,X,Y,J){return Z.baseState=Y,ZM(Z,VX,typeof J==="function"?J:UJ)}function j1(Z,X){var Y=FX();if(VX!==null)return R1(Y,VX,Z,X);return Y.baseState=Z,[Z,Y.queue.dispatch]}function RD(Z,X,Y,J,G){if(nB(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var H={payload:G,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){H.listeners.push(U)}};i.T!==null?Y(!0):H.isTransition=!1,J(H),Y=X.pending,Y===null?(H.next=X.pending=H,C1(X,H)):(H.next=Y.next,X.pending=Y.next=H)}}function C1(Z,X){var{action:Y,payload:J}=X,G=Z.state;if(X.isTransition){var H=i.T,U={};U._updatedFibers=new Set,i.T=U;try{var B=Y(G,J),F=i.S;F!==null&&F(U,B),P1(Z,X,B)}catch(I){qM(Z,X,I)}finally{H!==null&&U.types!==null&&(H.types!==null&&H.types!==U.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=U.types),i.T=H,H===null&&U._updatedFibers&&(Z=U._updatedFibers.size,U._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{U=Y(G,J),P1(Z,X,U)}catch(I){qM(Z,X,I)}}function P1(Z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(i.asyncTransitions++,Y.then(iB,iB),Y.then(function(J){D1(Z,X,J)},function(J){return qM(Z,X,J)}),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.")):D1(Z,X,Y)}function D1(Z,X,Y){X.status="fulfilled",X.value=Y,$1(X),Z.state=Y,X=Z.pending,X!==null&&(Y=X.next,Y===X?Z.pending=null:(Y=Y.next,X.next=Y,C1(Z,Y)))}function qM(Z,X,Y){var J=Z.pending;if(Z.pending=null,J!==null){J=J.next;do X.status="rejected",X.reason=Y,$1(X),X=X.next;while(X!==J)}Z.action=null}function $1(Z){Z=Z.listeners;for(var X=0;X<Z.length;X++)(0,Z[X])()}function S1(Z,X){return X}function oz(Z,X){if(QX){var Y=RX.formState;if(Y!==null){Z:{var J=bZ;if(QX){if($X){X:{var G=$X;for(var H=nQ;G.nodeType!==8;){if(!H){G=null;break X}if(G=wQ(G.nextSibling),G===null){G=null;break X}}H=G.data,G=H===h9||H===LT?G:null}if(G){$X=wQ(G.nextSibling),J=G.data===h9;break Z}}HG(J)}J=!1}J&&(X=Y[0])}}return Y=mY(),Y.memoizedState=Y.baseState=X,J={pending:null,lanes:0,dispatch:null,lastRenderedReducer:S1,lastRenderedState:X},Y.queue=J,Y=u1.bind(null,bZ,J),J.dispatch=Y,J=YM(!1),H=MM.bind(null,bZ,!1,J.queue),J=mY(),G={state:X,dispatch:null,action:Z,pending:null},J.queue=G,Y=RD.bind(null,bZ,G,H,Y),G.dispatch=Y,J.memoizedState=Z,[X,Y,!1]}function mB(Z){var X=FX();return E1(X,VX,Z)}function E1(Z,X,Y){if(X=ZM(Z,X,S1)[0],Z=az(UJ)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var J=ZU(X)}catch(U){if(U===P_)throw dL;throw U}else J=X;X=FX();var G=X.queue,H=G.dispatch;return Y!==X.memoizedState&&(bZ.flags|=2048,rz(oQ|iY,{destroy:void 0},jD.bind(null,G,Y),null)),[J,H,Z]}function jD(Z,X){Z.action=X}function fB(Z){var X=FX(),Y=VX;if(Y!==null)return E1(X,Y,Z);FX(),X=X.memoizedState,Y=FX();var J=Y.queue.dispatch;return Y.memoizedState=Z,[X,J,!1]}function rz(Z,X,Y,J){return Z={tag:Z,create:Y,deps:J,inst:X,next:null},X=bZ.updateQueue,X===null&&(X=bB(),bZ.updateQueue=X),Y=X.lastEffect,Y===null?X.lastEffect=Z.next=Z:(J=Y.next,Y.next=Z,Z.next=J,X.lastEffect=Z),Z}function GM(Z){var X=mY();return Z={current:Z},X.memoizedState=Z}function SH(Z,X,Y,J){var G=mY();bZ.flags|=Z,G.memoizedState=rz(oQ|X,{destroy:void 0},Y,J===void 0?null:J)}function rY(Z,X,Y,J){var G=FX();J=J===void 0?null:J;var H=G.memoizedState.inst;VX!==null&&J!==null&&nF(J,VX.memoizedState.deps)?G.memoizedState=rz(X,H,Y,J):(bZ.flags|=Z,G.memoizedState=rz(oQ|X,H,Y,J))}function uB(Z,X){(bZ.mode&AJ)!==hZ?SH(276826112,iY,Z,X):SH(8390656,iY,Z,X)}function CD(Z){bZ.flags|=4;var X=bZ.updateQueue;if(X===null)X=bB(),bZ.updateQueue=X,X.events=[Z];else{var Y=X.events;Y===null?X.events=[Z]:Y.push(Z)}}function HM(Z){var X=mY(),Y={impl:Z};return X.memoizedState=Y,function(){if((zX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function dB(Z){var X=FX().memoizedState;return CD({ref:X,nextImpl:Z}),function(){if((zX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function zM(Z,X){var Y=4194308;return(bZ.mode&AJ)!==hZ&&(Y|=134217728),SH(Y,DQ,Z,X)}function k1(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 _M(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 J=4194308;(bZ.mode&AJ)!==hZ&&(J|=134217728),SH(J,DQ,k1.bind(null,X,Z),Y)}function cB(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,rY(4,DQ,k1.bind(null,X,Z),Y)}function WM(Z,X){return mY().memoizedState=[Z,X===void 0?null:X],Z}function pB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&nF(X,J[1]))return J[0];return Y.memoizedState=[Z,X],Z}function UM(Z,X){var Y=mY();X=X===void 0?null:X;var J=Z();if(iH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function lB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&nF(X,J[1]))return J[0];if(J=Z(),iH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function KM(Z,X){var Y=mY();return BM(Y,Z,X)}function x1(Z,X){var Y=FX();return v1(Y,VX.memoizedState,Z,X)}function y1(Z,X){var Y=FX();return VX===null?BM(Y,Z,X):v1(Y,VX.memoizedState,Z,X)}function BM(Z,X,Y){if(Y===void 0||(hq&1073741824)!==0&&(sZ&261930)===0)return Z.memoizedState=X;return Z.memoizedState=Y,Z=h4(),bZ.lanes|=Z,vG|=Z,Y}function v1(Z,X,Y,J){if(cY(Y,X))return Y;if($_.current!==null)return Z=BM(Z,Y,J),cY(Z,X)||(ZY=!0),Z;if((hq&42)===0||(hq&1073741824)!==0&&(sZ&261930)===0)return ZY=!0,Z.memoizedState=Y;return Z=h4(),bZ.lanes|=Z,vG|=Z,X}function iB(){i.asyncTransitions--}function h1(Z,X,Y,J,G){var H=OX.p;OX.p=H!==0&&H<LJ?H:LJ;var U=i.T,B={};B._updatedFibers=new Set,i.T=B,MM(Z,!1,X,Y);try{var F=G(),I=i.S;if(I!==null&&I(B,F),F!==null&&typeof F==="object"&&typeof F.then==="function"){i.asyncTransitions++,F.then(iB,iB);var x=TD(F,J);YU(Z,X,x,TQ(Z))}else YU(Z,X,J,TQ(Z))}catch(y){YU(Z,X,{then:function(){},status:"rejected",reason:y},TQ(Z))}finally{OX.p=H,U!==null&&B.types!==null&&(U.types!==null&&U.types!==B.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),U.types=B.types),i.T=U,U===null&&B._updatedFibers&&(Z=B._updatedFibers.size,B._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function LM(Z,X,Y,J){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var G=b1(Z).queue;ND(Z),h1(Z,G,X,Qz,Y===null?T:function(){return g1(Z),Y(J)})}function b1(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:Qz,baseState:Qz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Qz},next:null};var Y={};return X.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Y},next:null},Z.memoizedState=X,Z=Z.alternate,Z!==null&&(Z.memoizedState=X),X}function g1(Z){i.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=b1(Z);X.next===null&&(X=Z.alternate.memoizedState),YU(Z,X.next.queue,{},TQ(Z))}function AM(){var Z=YM(!1);return Z=h1.bind(null,bZ,Z.queue,!0,!1),mY().memoizedState=Z,[!1,Z]}function m1(){var Z=az(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function f1(){var Z=XU(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function EH(){return kX(UK)}function OM(){var Z=mY(),X=RX.identifierPrefix;if(QX){var Y=Eq,J=Sq;Y=(J&~(1<<32-fY(J)-1)).toString(32)+Y,X="_"+X+"R_"+Y,Y=nL++,0<Y&&(X+="H"+Y.toString(32)),X+="_"}else Y=qE++,X="_"+X+"r_"+Y.toString(32)+"_";return Z.memoizedState=X}function FM(){return mY().memoizedState=PD.bind(null,bZ)}function PD(Z,X){for(var Y=Z.return;Y!==null;){switch(Y.tag){case 24:case 3:var J=TQ(Y),G=WG(J),H=UG(Y,G,J);H!==null&&(vJ(J,"refresh()",Z),gX(H,Y,J),rW(H,Y,J)),Z=bF(),X!==null&&X!==void 0&&H!==null&&console.error("The seed argument is not enabled outside experimental channels."),G.payload={cache:Z};return}Y=Y.return}}function DD(Z,X,Y){var J=arguments;typeof J[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()."),J=TQ(Z);var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};nB(Z)?d1(X,G):(G=jF(Z,X,G,J),G!==null&&(vJ(J,"dispatch()",Z),gX(G,Z,J),c1(G,X,J)))}function u1(Z,X,Y){var J=arguments;typeof J[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()."),J=TQ(Z),YU(Z,X,Y,J)&&vJ(J,"setState()",Z)}function YU(Z,X,Y,J){var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(nB(Z))d1(X,G);else{var H=Z.alternate;if(Z.lanes===0&&(H===null||H.lanes===0)&&(H=X.lastRenderedReducer,H!==null)){var U=i.H;i.H=FJ;try{var B=X.lastRenderedState,F=H(B,Y);if(G.hasEagerState=!0,G.eagerState=F,cY(F,B))return NB(Z,X,G,0),RX===null&&MB(),!1}catch(I){}finally{i.H=U}}if(Y=jF(Z,X,G,J),Y!==null)return gX(Y,Z,J),c1(Y,X,J),!0}return!1}function MM(Z,X,Y,J){if(i.T===null&&uH===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."),J={lane:2,revertLane:sM(),gesture:null,action:J,hasEagerState:!1,eagerState:null,next:null},nB(Z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=jF(Z,Y,J,2),X!==null&&(vJ(2,"setOptimistic()",Z),gX(X,Z,2))}function nB(Z){var X=Z.alternate;return Z===bZ||X!==null&&X===bZ}function d1(Z,X){k_=iL=!0;var Y=Z.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),Z.pending=X}function c1(Z,X,Y){if((Y&4194048)!==0){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,FH(Z,Y)}}function NM(Z){if(Z!==null&&typeof Z!=="function"){var X=String(Z);f7.has(X)||(f7.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function IM(Z,X,Y,J){var G=Z.memoizedState,H=Y(J,G);if(Z.mode&gY){jX(!0);try{H=Y(J,G)}finally{jX(!1)}}H===void 0&&(X=p(X)||"Component",h7.has(X)||(h7.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),G=H===null||H===void 0?G:rZ({},G,H),Z.memoizedState=G,Z.lanes===0&&(Z.updateQueue.baseState=G)}function p1(Z,X,Y,J,G,H,U){var B=Z.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(J,H,U),Z.mode&gY){jX(!0);try{Y=B.shouldComponentUpdate(J,H,U)}finally{jX(!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?!pW(Y,J)||!pW(G,H):!0}function l1(Z,X,Y,J){var G=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(Y,J),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(Y,J),X.state!==G&&(Z=o(Z)||"Component",E7.has(Z)||(E7.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),L9.enqueueReplaceState(X,X.state,null))}function kH(Z,X){var Y=X;if("ref"in X){Y={};for(var J in X)J!=="ref"&&(Y[J]=X[J])}if(Z=Z.defaultProps){Y===X&&(Y=rZ({},Y));for(var G in Z)Y[G]===void 0&&(Y[G]=Z[G])}return Y}function i1(Z){l0(Z),console.warn(`%s
|
|
121
|
+
|
|
122
|
+
%s
|
|
123
|
+
`,x_?"An error occurred in the <"+x_+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
124
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function n1(Z){var X=x_?"The above error occurred in the <"+x_+"> 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, "+((A9||"Anonymous")+".");if(typeof Z==="object"&&Z!==null&&typeof Z.environmentName==="string"){var J=Z.environmentName;Z=[`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,Z,X,Y].slice(0),typeof Z[0]==="string"?Z.splice(0,1,wT+" "+Z[0],VT,MA+J+MA,RT):Z.splice(0,0,wT,VT,MA+J+MA,RT),Z.unshift(console),J=CE.apply(console.error,Z),J()}else console.error(`%o
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
`,Z,X,Y)}function s1(Z){l0(Z)}function sB(Z,X){try{x_=X.source?o(X.source):null,A9=null;var Y=X.value;if(i.actQueue!==null)i.thrownErrors.push(Y);else{var J=Z.onUncaughtError;J(Y,{componentStack:X.stack})}}catch(G){setTimeout(function(){throw G})}}function a1(Z,X,Y){try{x_=Y.source?o(Y.source):null,A9=o(X);var J=Z.onCaughtError;J(Y.value,{componentStack:Y.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(G){setTimeout(function(){throw G})}}function TM(Z,X,Y){return Y=WG(Y),Y.tag=z9,Y.payload={element:null},Y.callback=function(){UZ(X.source,sB,Z,X)},Y}function wM(Z){return Z=WG(Z),Z.tag=z9,Z}function VM(Z,X,Y,J){var G=Y.type.getDerivedStateFromError;if(typeof G==="function"){var H=J.value;Z.payload=function(){return G(H)},Z.callback=function(){d8(Y),UZ(J.source,a1,X,Y,J)}}var U=Y.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&(Z.callback=function(){d8(Y),UZ(J.source,a1,X,Y,J),typeof G!=="function"&&(bG===null?bG=new Set([this]):bG.add(this)),XE(this,J),typeof G==="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.",o(Y)||"Unknown")})}function $D(Z,X,Y,J,G){if(Y.flags|=32768,tJ&&WU(Z,G),J!==null&&typeof J==="object"&&typeof J.then==="function"){if(X=Y.alternate,X!==null&&nz(X,Y,G,!0),QX&&(Xq=!0),Y=PQ.current,Y!==null){switch(Y.tag){case 31:case 13:return aQ===null?QL():Y.alternate===null&&bX===fq&&(bX=oL),Y.flags&=-257,Y.flags|=65536,Y.lanes=G,J===cL?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([J]):X.add(J),pM(Z,J,G)),!1;case 22:return Y.flags|=65536,J===cL?Y.flags|=16384:(X=Y.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([J])},Y.updateQueue=X):(Y=X.retryQueue,Y===null?X.retryQueue=new Set([J]):Y.add(J)),pM(Z,J,G)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return pM(Z,J,G),QL(),!1}if(QX)return Xq=!0,X=PQ.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=G,J!==r0&&iW(FQ(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:J}),Y))):(J!==r0&&iW(FQ(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:J}),Y)),Z=Z.current.alternate,Z.flags|=65536,G&=-G,Z.lanes|=G,J=FQ(J,Y),G=TM(Z.stateNode,J,G),yB(Z,G),bX!==xG&&(bX=nH)),!1;var H=FQ(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:J}),Y);if(YK===null?YK=[H]:YK.push(H),bX!==xG&&(bX=nH),X===null)return!0;J=FQ(J,Y),Y=X;do{switch(Y.tag){case 3:return Y.flags|=65536,Z=G&-G,Y.lanes|=Z,Z=TM(Y.stateNode,J,Z),yB(Y,Z),!1;case 1:if(X=Y.type,H=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||H!==null&&typeof H.componentDidCatch==="function"&&(bG===null||!bG.has(H))))return Y.flags|=65536,G&=-G,Y.lanes|=G,G=wM(G),VM(G,Z,Y,J),yB(Y,G),!1}Y=Y.return}while(Y!==null);return!1}function wY(Z,X,Y,J){X.child=Z===null?I7(X,null,Y,J):lH(X,Z.child,Y,J)}function o1(Z,X,Y,J,G){Y=Y.render;var H=X.ref;if("ref"in J){var U={};for(var B in J)B!=="ref"&&(U[B]=J[B])}else U=J;if(PH(X),J=sF(Z,X,Y,U,H,G),B=oF(),Z!==null&&!ZY)return rF(Z,X,G),Rq(Z,X,G);return QX&&B&&EF(X),X.flags|=1,wY(Z,X,J,G),X.child}function r1(Z,X,Y,J,G){if(Z===null){var H=Y.type;if(typeof H==="function"&&!PF(H)&&H.defaultProps===void 0&&Y.compare===null)return Y=VH(H),X.tag=15,X.type=Y,jM(X,H),t1(Z,X,Y,J,G);return Z=DF(Y.type,null,J,X,X.mode,G),Z.ref=X.ref,Z.return=X,X.child=Z}if(H=Z.child,!EM(Z,G)){var U=H.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:pW,Y(U,J)&&Z.ref===X.ref)return Rq(Z,X,G)}return X.flags|=1,Z=Iq(H,J),Z.ref=X.ref,Z.return=X,X.child=Z}function t1(Z,X,Y,J,G){if(Z!==null){var H=Z.memoizedProps;if(pW(H,J)&&Z.ref===X.ref&&X.type===Z.type)if(ZY=!1,X.pendingProps=J=H,EM(Z,G))(Z.flags&131072)!==0&&(ZY=!0);else return X.lanes=Z.lanes,Rq(Z,X,G)}return RM(Z,X,Y,J,G)}function e1(Z,X,Y,J){var G=J.children,H=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.mode==="hidden"){if((X.flags&128)!==0){if(H=H!==null?H.baseLanes|Y:Y,Z!==null){J=X.child=Z.child;for(G=0;J!==null;)G=G|J.lanes|J.childLanes,J=J.sibling;J=G&~H}else J=0,X.child=null;return Z4(Z,X,H,Y,J)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&DB(X,H!==null?H.cachePool:null),H!==null?A1(X,H):pF(X),O1(X);else return J=X.lanes=536870912,Z4(Z,X,H!==null?H.baseLanes|Y:Y,Y,J)}else H!==null?(DB(X,H.cachePool),A1(X,H),BG(X),X.memoizedState=null):(Z!==null&&DB(X,null),pF(X),BG(X));return wY(Z,X,G,Y),X.child}function QU(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function Z4(Z,X,Y,J,G){var H=fF();return H=H===null?null:{parent:rX._currentValue,pool:H},X.memoizedState={baseLanes:Y,cachePool:H},Z!==null&&DB(X,null),pF(X),O1(X),Z!==null&&nz(Z,X,J,!0),X.childLanes=G,null}function aB(Z,X){var Y=X.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
135
|
+
- <Activity %s>
|
|
136
|
+
+ <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),X=rB({mode:X.mode,children:X.children},Z.mode),X.ref=Z.ref,Z.child=X,X.return=Z,X}function X4(Z,X,Y){return lH(X,Z.child,null,Y),Z=aB(X,X.pendingProps),Z.flags|=2,IQ(X),X.memoizedState=null,Z}function SD(Z,X,Y){var J=X.pendingProps,G=(X.flags&128)!==0;if(X.flags&=-129,Z===null){if(QX){if(J.mode==="hidden")return Z=aB(X,J),X.lanes=536870912,QU(null,Z);if(iF(X),(Z=$X)?(Y=CN(Z,nQ),Y=Y!==null&&Y.data===eH?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:n8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=l8(Y),J.return=X,X.child=J,jY=X,$X=null)):Y=null,Y===null)throw wB(X,Z),HG(X);return X.lanes=536870912,null}return aB(X,J)}var H=Z.memoizedState;if(H!==null){var U=H.dehydrated;if(iF(X),G)if(X.flags&256)X.flags&=-257,X=X4(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(a8(),(Y&536870912)!==0&&YL(X),ZY||nz(Z,X,Y,!1),G=(Y&Z.childLanes)!==0,ZY||G){if(J=RX,J!==null&&(U=MH(J,Y),U!==0&&U!==H.retryLane))throw H.retryLane=U,hY(Z,U),gX(J,Z,U),O9;QL(),X=X4(Z,X,Y)}else Z=H.treeContext,$X=wQ(U.nextSibling),jY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!1,Z!==null&&s8(X,Z),X=aB(X,J),X.flags|=4096;return X}return H=Z.child,J={mode:J.mode,children:J.children},(Y&536870912)!==0&&(Y&Z.lanes)!==0&&YL(X),Z=Iq(H,J),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function oB(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 RM(Z,X,Y,J,G){if(Y.prototype&&typeof Y.prototype.render==="function"){var H=p(Y)||"Unknown";u7[H]||(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.",H,H),u7[H]=!0)}if(X.mode&gY&&OJ.recordLegacyContextWarning(X,null),Z===null&&(jM(X,X.type),Y.contextTypes&&(H=p(Y)||"Unknown",c7[H]||(c7[H]=!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)",H)))),PH(X),Y=sF(Z,X,Y,J,void 0,G),J=oF(),Z!==null&&!ZY)return rF(Z,X,G),Rq(Z,X,G);return QX&&J&&EF(X),X.flags|=1,wY(Z,X,Y,G),X.child}function Y4(Z,X,Y,J,G,H){if(PH(X),gq=-1,aU=Z!==null&&Z.type!==X.type,X.updateQueue=null,Y=aF(X,J,Y,G),F1(Z,X),J=oF(),Z!==null&&!ZY)return rF(Z,X,H),Rq(Z,X,H);return QX&&J&&EF(X),X.flags|=1,wY(Z,X,Y,H),X.child}function Q4(Z,X,Y,J,G){switch(A(X)){case!1:var H=X.stateNode,U=new X.type(X.memoizedProps,H.context).state;H.updater.enqueueSetState(H,U,null);break;case!0:X.flags|=128,X.flags|=65536,H=Error("Simulated error coming from DevTools");var B=G&-G;if(X.lanes|=B,U=RX,U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=wM(B),VM(B,U,X,FQ(H,X)),yB(X,B)}if(PH(X),X.stateNode===null){if(U=jG,H=Y.contextType,"contextType"in Y&&H!==null&&(H===void 0||H.$$typeof!==aJ)&&!m7.has(Y)&&(m7.add(Y),B=H===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof H!=="object"?" However, it is set to a "+typeof H+".":H.$$typeof===F0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(H).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",p(Y)||"Component",B)),typeof H==="object"&&H!==null&&(U=kX(H)),H=new Y(J,U),X.mode&gY){jX(!0);try{H=new Y(J,U)}finally{jX(!1)}}if(U=X.memoizedState=H.state!==null&&H.state!==void 0?H.state:null,H.updater=L9,X.stateNode=H,H._reactInternals=X,H._reactInternalInstance=S7,typeof Y.getDerivedStateFromProps==="function"&&U===null&&(U=p(Y)||"Component",k7.has(U)||(k7.add(U),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.",U,H.state===null?"null":"undefined",U))),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"){var F=B=U=null;if(typeof H.componentWillMount==="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof H.UNSAFE_componentWillMount==="function"&&(U="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps==="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate==="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?F="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate==="function"&&(F="UNSAFE_componentWillUpdate"),U!==null||B!==null||F!==null){H=p(Y)||"Component";var I=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";y7.has(H)||(y7.add(H),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
137
|
+
|
|
138
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
139
|
+
|
|
140
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
141
|
+
https://react.dev/link/unsafe-component-lifecycles`,H,I,U!==null?`
|
|
142
|
+
`+U:"",B!==null?`
|
|
143
|
+
`+B:"",F!==null?`
|
|
144
|
+
`+F:""))}}H=X.stateNode,U=p(Y)||"Component",H.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?",U):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",U)),!H.getInitialState||H.getInitialState.isReactClassApproved||H.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?",U),H.getDefaultProps&&!H.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.",U),H.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",U),Y.childContextTypes&&!g7.has(Y)&&(g7.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)",U)),Y.contextTypes&&!b7.has(Y)&&(b7.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)",U)),typeof H.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.",U),Y.prototype&&Y.prototype.isPureReactComponent&&typeof H.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 H.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",U),typeof H.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().",U),typeof H.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof H.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),B=H.props!==J,H.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",U),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.",U,U),typeof H.getSnapshotBeforeUpdate!=="function"||typeof H.componentDidUpdate==="function"||x7.has(Y)||(x7.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",p(Y))),typeof H.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof H.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),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.",U),(B=H.state)&&(typeof B!=="object"||HY(B))&&console.error("%s.state: must be set to an object or null",U),typeof H.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),H=X.stateNode,H.props=J,H.state=X.memoizedState,H.refs={},dF(X),U=Y.contextType,H.context=typeof U==="object"&&U!==null?kX(U):jG,H.state===J&&(U=p(Y)||"Component",v7.has(U)||(v7.add(U),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.",U))),X.mode&gY&&OJ.recordLegacyContextWarning(X,H),OJ.recordUnsafeLifecycleWarnings(X,H),H.state=X.memoizedState,U=Y.getDerivedStateFromProps,typeof U==="function"&&(IM(X,Y,U,J),H.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(U=H.state,typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount(),U!==H.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",o(X)||"Component"),L9.enqueueReplaceState(H,H.state,null)),eW(X,J,H,G),tW(),H.state=X.memoizedState),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),H=!0}else if(Z===null){H=X.stateNode;var x=X.memoizedProps;B=kH(Y,x),H.props=B;var y=H.context;F=Y.contextType,U=jG,typeof F==="object"&&F!==null&&(U=kX(F)),I=Y.getDerivedStateFromProps,F=typeof I==="function"||typeof H.getSnapshotBeforeUpdate==="function",x=X.pendingProps!==x,F||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(x||y!==U)&&l1(X,H,J,U),kG=!1;var S=X.memoizedState;H.state=S,eW(X,J,H,G),tW(),y=X.memoizedState,x||S!==y||kG?(typeof I==="function"&&(IM(X,Y,I,J),y=X.memoizedState),(B=kG||p1(X,Y,B,J,S,y,U))?(F||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount()),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728)):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),X.memoizedProps=J,X.memoizedState=y),H.props=J,H.state=y,H.context=U,H=B):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==hZ&&(X.flags|=134217728),H=!1)}else{H=X.stateNode,cF(Z,X),U=X.memoizedProps,F=kH(Y,U),H.props=F,I=X.pendingProps,S=H.context,y=Y.contextType,B=jG,typeof y==="object"&&y!==null&&(B=kX(y)),x=Y.getDerivedStateFromProps,(y=typeof x==="function"||typeof H.getSnapshotBeforeUpdate==="function")||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(U!==I||S!==B)&&l1(X,H,J,B),kG=!1,S=X.memoizedState,H.state=S,eW(X,J,H,G),tW();var c=X.memoizedState;U!==I||S!==c||kG||Z!==null&&Z.dependencies!==null&&RB(Z.dependencies)?(typeof x==="function"&&(IM(X,Y,x,J),c=X.memoizedState),(F=kG||p1(X,Y,F,J,S,c,B)||Z!==null&&Z.dependencies!==null&&RB(Z.dependencies))?(y||typeof H.UNSAFE_componentWillUpdate!=="function"&&typeof H.componentWillUpdate!=="function"||(typeof H.componentWillUpdate==="function"&&H.componentWillUpdate(J,c,B),typeof H.UNSAFE_componentWillUpdate==="function"&&H.UNSAFE_componentWillUpdate(J,c,B)),typeof H.componentDidUpdate==="function"&&(X.flags|=4),typeof H.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&S===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&S===Z.memoizedState||(X.flags|=1024),X.memoizedProps=J,X.memoizedState=c),H.props=J,H.state=c,H.context=B,H=F):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&S===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&S===Z.memoizedState||(X.flags|=1024),H=!1)}if(B=H,oB(Z,X),U=(X.flags&128)!==0,B||U){if(B=X.stateNode,KQ(X),U&&typeof Y.getDerivedStateFromError!=="function")Y=null,pY=-1;else if(Y=G7(B),X.mode&gY){jX(!0);try{G7(B)}finally{jX(!1)}}X.flags|=1,Z!==null&&U?(X.child=lH(X,Z.child,null,G),X.child=lH(X,null,Y,G)):wY(Z,X,Y,G),X.memoizedState=B.state,Z=X.child}else Z=Rq(Z,X,G);return G=X.stateNode,H&&G.props!==J&&(y_||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",o(X)||"a component"),y_=!0),Z}function J4(Z,X,Y,J){return CH(),X.flags|=256,wY(Z,X,Y,J),X.child}function jM(Z,X){X&&X.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
145
|
+
%s.childContextTypes = ...`,X.displayName||X.name||"Component"),typeof X.getDerivedStateFromProps==="function"&&(Z=p(X)||"Unknown",p7[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),p7[Z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=p(X)||"Unknown",d7[X]||(console.error("%s: Function components do not support contextType.",X),d7[X]=!0))}function CM(Z){return{baseLanes:Z,cachePool:Y1()}}function PM(Z,X,Y){return Z=Z!==null?Z.childLanes&~Y:0,X&&(Z|=YQ),Z}function q4(Z,X,Y){var J,G=X.pendingProps;K(X)&&(X.flags|=128);var H=!1,U=(X.flags&128)!==0;if((J=U)||(J=Z!==null&&Z.memoizedState===null?!1:(nX.current&nU)!==0),J&&(H=!0,X.flags&=-129),J=(X.flags&32)!==0,X.flags&=-33,Z===null){if(QX){if(H?KG(X):BG(X),(Z=$X)?(Y=CN(Z,nQ),Y=Y!==null&&Y.data!==eH?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:n8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=l8(Y),J.return=X,X.child=J,jY=X,$X=null)):Y=null,Y===null)throw wB(X,Z),HG(X);return G0(Y)?X.lanes=32:X.lanes=536870912,null}var B=G.children;if(G=G.fallback,H){BG(X);var F=X.mode;return B=rB({mode:"hidden",children:B},F),G=RH(G,F,Y,null),B.return=X,G.return=X,B.sibling=G,X.child=B,G=X.child,G.memoizedState=CM(Y),G.childLanes=PM(Z,J,Y),X.memoizedState=F9,QU(null,G)}return KG(X),DM(X,B)}var I=Z.memoizedState;if(I!==null){var x=I.dehydrated;if(x!==null){if(U)X.flags&256?(KG(X),X.flags&=-257,X=$M(Z,X,Y)):X.memoizedState!==null?(BG(X),X.child=Z.child,X.flags|=128,X=null):(BG(X),B=G.fallback,F=X.mode,G=rB({mode:"visible",children:G.children},F),B=RH(B,F,Y,null),B.flags|=2,G.return=X,B.return=X,G.sibling=B,X.child=G,lH(X,Z.child,null,Y),G=X.child,G.memoizedState=CM(Y),G.childLanes=PM(Z,J,Y),X.memoizedState=F9,X=QU(null,G));else if(KG(X),a8(),(Y&536870912)!==0&&YL(X),G0(x)){if(J=x.nextSibling&&x.nextSibling.dataset,J){B=J.dgst;var y=J.msg;F=J.stck;var S=J.cstck}H=y,J=B,G=F,x=S,B=H,F=x,B=B?Error(B):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=G||"",B.digest=J,J=F===void 0?null:F,G={value:B,source:null,stack:J},typeof J==="string"&&o0.set(B,G),iW(G),X=$M(Z,X,Y)}else if(ZY||nz(Z,X,Y,!1),J=(Y&Z.childLanes)!==0,ZY||J){if(J=RX,J!==null&&(G=MH(J,Y),G!==0&&G!==I.retryLane))throw I.retryLane=G,hY(Z,G),gX(J,Z,G),O9;q0(x)||QL(),X=$M(Z,X,Y)}else q0(x)?(X.flags|=192,X.child=Z.child,X=null):(Z=I.treeContext,$X=wQ(x.nextSibling),jY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!1,Z!==null&&s8(X,Z),X=DM(X,G.children),X.flags|=4096);return X}}if(H)return BG(X),B=G.fallback,F=X.mode,S=Z.child,x=S.sibling,G=Iq(S,{mode:"hidden",children:G.children}),G.subtreeFlags=S.subtreeFlags&65011712,x!==null?B=Iq(x,B):(B=RH(B,F,Y,null),B.flags|=2),B.return=X,G.return=X,G.sibling=B,X.child=G,QU(null,G),G=X.child,B=Z.child.memoizedState,B===null?B=CM(Y):(F=B.cachePool,F!==null?(S=rX._currentValue,F=F.parent!==S?{parent:S,pool:S}:F):F=Y1(),B={baseLanes:B.baseLanes|Y,cachePool:F}),G.memoizedState=B,G.childLanes=PM(Z,J,Y),X.memoizedState=F9,QU(Z.child,G);return I!==null&&(Y&62914560)===Y&&(Y&Z.lanes)!==0&&YL(X),KG(X),Y=Z.child,Z=Y.sibling,Y=Iq(Y,{mode:"visible",children:G.children}),Y.return=X,Y.sibling=null,Z!==null&&(J=X.deletions,J===null?(X.deletions=[Z],X.flags|=16):J.push(Z)),X.child=Y,X.memoizedState=null,Y}function DM(Z,X){return X=rB({mode:"visible",children:X},Z.mode),X.return=Z,Z.child=X}function rB(Z,X){return Z=R(22,Z,null,X),Z.lanes=0,Z}function $M(Z,X,Y){return lH(X,Z.child,null,Y),Z=DM(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function G4(Z,X,Y){Z.lanes|=X;var J=Z.alternate;J!==null&&(J.lanes|=X),vF(Z.return,X,Y)}function SM(Z,X,Y,J,G,H){var U=Z.memoizedState;U===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:J,tail:Y,tailMode:G,treeForkCount:H}:(U.isBackwards=X,U.rendering=null,U.renderingStartTime=0,U.last=J,U.tail=Y,U.tailMode=G,U.treeForkCount=H)}function H4(Z,X,Y){var J=X.pendingProps,G=J.revealOrder,H=J.tail,U=J.children,B=nX.current;if((J=(B&nU)!==0)?(B=B&S_|nU,X.flags|=128):B&=S_,a(nX,B,X),B=G==null?"null":G,G!=="forwards"&&G!=="unstable_legacy-backwards"&&G!=="together"&&G!=="independent"&&!l7[B])if(l7[B]=!0,G==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(G==="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 G==="string")switch(G.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.',G,G.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.',G,G.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G);if(B=H==null?"null":H,!aL[B])if(H==null){if(G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")aL[B]=!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 H!=="visible"&&H!=="collapsed"&&H!=="hidden"?(aL[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',H)):G!=="forwards"&&G!=="backwards"&&G!=="unstable_legacy-backwards"&&(aL[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',H));Z:if((G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(HY(U)){for(B=0;B<U.length;B++)if(!K1(U[B],B))break Z}else if(B=YZ(U),typeof B==="function"){if(B=B.call(U))for(var F=B.next(),I=0;!F.done;F=B.next()){if(!K1(F.value,I))break Z;I++}}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?',G);if(wY(Z,X,U,Y),QX?(GG(),U=kU):U=0,!J&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&G4(Z,Y,X);else if(Z.tag===19)G4(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(G){case"forwards":Y=X.child;for(G=null;Y!==null;)Z=Y.alternate,Z!==null&&vB(Z)===null&&(G=Y),Y=Y.sibling;Y=G,Y===null?(G=X.child,X.child=null):(G=Y.sibling,Y.sibling=null),SM(X,!1,G,Y,H,U);break;case"backwards":case"unstable_legacy-backwards":Y=null,G=X.child;for(X.child=null;G!==null;){if(Z=G.alternate,Z!==null&&vB(Z)===null){X.child=G;break}Z=G.sibling,G.sibling=Y,Y=G,G=Z}SM(X,!0,Y,null,H,U);break;case"together":SM(X,!1,null,null,void 0,U);break;default:X.memoizedState=null}return X.child}function Rq(Z,X,Y){if(Z!==null&&(X.dependencies=Z.dependencies),pY=-1,vG|=X.lanes,(Y&X.childLanes)===0)if(Z!==null){if(nz(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=Iq(Z,Z.pendingProps),X.child=Y;for(Y.return=X;Z.sibling!==null;)Z=Z.sibling,Y=Y.sibling=Iq(Z,Z.pendingProps),Y.return=X;Y.sibling=null}return X.child}function EM(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&RB(Z)?!0:!1}function ED(Z,X,Y){switch(X.tag){case 3:h(X,X.stateNode.containerInfo),zG(X,rX,Z.memoizedState.cache),CH();break;case 27:case 5:_Z(X);break;case 4:h(X,X.stateNode.containerInfo);break;case 10:zG(X,X.type,X.memoizedProps.value);break;case 12:(Y&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var J=X.stateNode;J.effectDuration=-0,J.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,iF(X),null;break;case 13:if(J=X.memoizedState,J!==null){if(J.dehydrated!==null)return KG(X),X.flags|=128,null;if((Y&X.child.childLanes)!==0)return q4(Z,X,Y);return KG(X),Z=Rq(Z,X,Y),Z!==null?Z.sibling:null}KG(X);break;case 19:var G=(Z.flags&128)!==0;if(J=(Y&X.childLanes)!==0,J||(nz(Z,X,Y,!1),J=(Y&X.childLanes)!==0),G){if(J)return H4(Z,X,Y);X.flags|=128}if(G=X.memoizedState,G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),a(nX,nX.current,X),J)break;else return null;case 22:return X.lanes=0,e1(Z,X,Y,X.pendingProps);case 24:zG(X,rX,Z.memoizedState.cache)}return Rq(Z,X,Y)}function kM(Z,X,Y){if(X._debugNeedsRemount&&Z!==null){Y=DF(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),Y._debugStack=X._debugStack,Y._debugTask=X._debugTask;var J=X.return;if(J===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===J.child)J.child=Y;else{var G=J.child;if(G===null)throw Error("Expected parent to have a child.");for(;G.sibling!==X;)if(G=G.sibling,G===null)throw Error("Expected to find the previous sibling.");G.sibling=Y}return X=J.deletions,X===null?(J.deletions=[Z],J.flags|=16):X.push(Z),Y.flags|=2,Y}if(Z!==null)if(Z.memoizedProps!==X.pendingProps||X.type!==Z.type)ZY=!0;else{if(!EM(Z,Y)&&(X.flags&128)===0)return ZY=!1,ED(Z,X,Y);ZY=(Z.flags&131072)!==0?!0:!1}else{if(ZY=!1,J=QX)GG(),J=(X.flags&1048576)!==0;J&&(J=X.index,GG(),i8(X,kU,J))}switch(X.lanes=0,X.tag){case 16:Z:if(J=X.pendingProps,Z=_G(X.elementType),X.type=Z,typeof Z==="function")PF(Z)?(J=kH(Z,J),X.tag=1,X.type=Z=VH(Z),X=Q4(null,X,Z,J,Y)):(X.tag=0,jM(X,Z),X.type=Z=VH(Z),X=RM(null,X,Z,J,Y));else{if(Z!==void 0&&Z!==null){if(G=Z.$$typeof,G===NU){X.tag=11,X.type=Z=CF(Z),X=o1(null,X,Z,J,Y);break Z}else if(G===FL){X.tag=14,X=r1(null,X,Z,J,Y);break Z}}throw X="",Z!==null&&typeof Z==="object"&&Z.$$typeof===VQ&&(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 RM(Z,X,X.type,X.pendingProps,Y);case 1:return J=X.type,G=kH(J,X.pendingProps),Q4(Z,X,J,G,Y);case 3:Z:{if(h(X,X.stateNode.containerInfo),Z===null)throw Error("Should have a current fiber. This is a bug in React.");J=X.pendingProps;var H=X.memoizedState;G=H.element,cF(Z,X),eW(X,J,null,Y);var U=X.memoizedState;if(J=U.cache,zG(X,rX,J),J!==H.cache&&hF(X,[rX],Y,!0),tW(),J=U.element,H.isDehydrated)if(H={element:J,isDehydrated:!1,cache:U.cache},X.updateQueue.baseState=H,X.memoizedState=H,X.flags&256){X=J4(Z,X,J,Y);break Z}else if(J!==G){G=FQ(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),iW(G),X=J4(Z,X,J,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}$X=wQ(Z.firstChild),jY=X,QX=!0,CG=null,Xq=!1,CQ=null,nQ=!0,Y=I7(X,null,J,Y);for(X.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(CH(),J===G){X=Rq(Z,X,Y);break Z}wY(Z,X,J,Y)}X=X.child}return X;case 26:return oB(Z,X),Z===null?(Y=kN(X.type,null,X.pendingProps,null))?X.memoizedState=Y:QX||(Y=X.type,Z=X.pendingProps,J=D(NG.current),J=HL(J).createElement(Y),J[RY]=X,J[uY]=Z,VY(J,Y,Z),SZ(J),X.stateNode=J):X.memoizedState=kN(X.type,Z.memoizedProps,X.pendingProps,Z.memoizedState),null;case 27:return _Z(X),Z===null&&QX&&(J=D(NG.current),G=d(),J=X.stateNode=SN(X.type,X.pendingProps,J,G,!1),Xq||(G=MN(J,X.type,X.pendingProps,G),G!==null&&(jH(X,0).serverProps=G)),jY=X,nQ=!0,G=$X,FG(X.type)?(f9=G,$X=wQ(J.firstChild)):$X=G),wY(Z,X,X.pendingProps.children,Y),oB(Z,X),Z===null&&(X.flags|=4194304),X.child;case 5:return Z===null&&QX&&(H=d(),J=MF(X.type,H.ancestorInfo),G=$X,(U=!G)||(U=N$(G,X.type,X.pendingProps,nQ),U!==null?(X.stateNode=U,Xq||(H=MN(U,X.type,X.pendingProps,H),H!==null&&(jH(X,0).serverProps=H)),jY=X,$X=wQ(U.firstChild),nQ=!1,H=!0):H=!1,U=!H),U&&(J&&wB(X,G),HG(X))),_Z(X),G=X.type,H=X.pendingProps,U=Z!==null?Z.memoizedProps:null,J=H.children,Q0(G,H)?J=null:U!==null&&Q0(G,U)&&(X.flags|=32),X.memoizedState!==null&&(G=sF(Z,X,VD,null,null,Y),UK._currentValue=G),oB(Z,X),wY(Z,X,J,Y),X.child;case 6:return Z===null&&QX&&(Y=X.pendingProps,Z=d(),J=Z.ancestorInfo.current,Y=J!=null?KB(Y,J.tag,Z.ancestorInfo.implicitRootScope):!0,Z=$X,(J=!Z)||(J=I$(Z,X.pendingProps,nQ),J!==null?(X.stateNode=J,jY=X,$X=null,J=!0):J=!1,J=!J),J&&(Y&&wB(X,Z),HG(X))),null;case 13:return q4(Z,X,Y);case 4:return h(X,X.stateNode.containerInfo),J=X.pendingProps,Z===null?X.child=lH(X,null,J,Y):wY(Z,X,J,Y),X.child;case 11:return o1(Z,X,X.type,X.pendingProps,Y);case 7:return wY(Z,X,X.pendingProps,Y),X.child;case 8:return wY(Z,X,X.pendingProps.children,Y),X.child;case 12:return X.flags|=4,X.flags|=2048,J=X.stateNode,J.effectDuration=-0,J.passiveEffectDuration=-0,wY(Z,X,X.pendingProps.children,Y),X.child;case 10:return J=X.type,G=X.pendingProps,H=G.value,"value"in G||i7||(i7=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),zG(X,J,H),wY(Z,X,G.children,Y),X.child;case 9:return G=X.type._context,J=X.pendingProps.children,typeof J!=="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."),PH(X),G=kX(G),J=J9(J,G,void 0),X.flags|=1,wY(Z,X,J,Y),X.child;case 14:return r1(Z,X,X.type,X.pendingProps,Y);case 15:return t1(Z,X,X.type,X.pendingProps,Y);case 19:return H4(Z,X,Y);case 31:return SD(Z,X,Y);case 22:return e1(Z,X,Y,X.pendingProps);case 24:return PH(X),J=kX(rX),Z===null?(G=fF(),G===null&&(G=RX,H=bF(),G.pooledCache=H,DH(H),H!==null&&(G.pooledCacheLanes|=Y),G=H),X.memoizedState={parent:J,cache:G},dF(X),zG(X,rX,G)):((Z.lanes&Y)!==0&&(cF(Z,X),eW(X,null,null,Y),tW()),G=Z.memoizedState,H=X.memoizedState,G.parent!==J?(G={parent:J,cache:J},X.memoizedState=G,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=G),zG(X,rX,J)):(J=H.cache,zG(X,rX,J),J!==G.cache&&hF(X,[rX],Y,!0))),wY(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 jq(Z){Z.flags|=4}function xM(Z,X,Y,J,G){if(X=(Z.mode&rS)!==hZ)X=!1;if(X){if(Z.flags|=16777216,(G&335544128)===G)if(Z.stateNode.complete)Z.flags|=8192;else if(f4())Z.flags|=8192;else throw pH=cL,G9}else Z.flags&=-16777217}function z4(Z,X){if(X.type!=="stylesheet"||(X.state.loading&tQ)!==Yz)Z.flags&=-16777217;else if(Z.flags|=16777216,!bN(X))if(f4())Z.flags|=8192;else throw pH=cL,G9}function tB(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?uz():536870912,Z.lanes|=X,oH|=X)}function JU(Z,X){if(!QX)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 J=null;Y!==null;)Y.alternate!==null&&(J=Y),Y=Y.sibling;J===null?X||Z.tail===null?Z.tail=null:Z.tail.sibling=null:J.sibling=null}}function CX(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Y=0,J=0;if(X)if((Z.mode&iZ)!==hZ){for(var{selfBaseDuration:G,child:H}=Z;H!==null;)Y|=H.lanes|H.childLanes,J|=H.subtreeFlags&65011712,J|=H.flags&65011712,G+=H.treeBaseDuration,H=H.sibling;Z.treeBaseDuration=G}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags&65011712,J|=G.flags&65011712,G.return=Z,G=G.sibling;else if((Z.mode&iZ)!==hZ){G=Z.actualDuration,H=Z.selfBaseDuration;for(var U=Z.child;U!==null;)Y|=U.lanes|U.childLanes,J|=U.subtreeFlags,J|=U.flags,G+=U.actualDuration,H+=U.treeBaseDuration,U=U.sibling;Z.actualDuration=G,Z.treeBaseDuration=H}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags,J|=G.flags,G.return=Z,G=G.sibling;return Z.subtreeFlags|=J,Z.childLanes=Y,X}function kD(Z,X,Y){var J=X.pendingProps;switch(kF(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return CX(X),null;case 1:return CX(X),null;case 3:if(Y=X.stateNode,J=null,Z!==null&&(J=Z.memoizedState.cache),X.memoizedState.cache!==J&&(X.flags|=2048),wq(rX,X),u(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),Z===null||Z.child===null)iz(X)?(yF(),jq(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,xF());return CX(X),null;case 26:var{type:G,memoizedState:H}=X;return Z===null?(jq(X),H!==null?(CX(X),z4(X,H)):(CX(X),xM(X,G,null,J,Y))):H?H!==Z.memoizedState?(jq(X),CX(X),z4(X,H)):(CX(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==J&&jq(X),CX(X),xM(X,G,Z,J,Y)),null;case 27:if(s(X),Y=D(NG.current),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(!J){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 CX(X),null}Z=d(),iz(X)?o8(X,Z):(Z=SN(G,J,Y,Z,!0),X.stateNode=Z,jq(X))}return CX(X),null;case 5:if(s(X),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(!J){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 CX(X),null}var U=d();if(iz(X))o8(X,U);else{switch(H=D(NG.current),MF(G,U.ancestorInfo),U=U.context,H=HL(H),U){case d_:H=H.createElementNS(K_,G);break;case AA:H=H.createElementNS(RL,G);break;default:switch(G){case"svg":H=H.createElementNS(K_,G);break;case"math":H=H.createElementNS(RL,G);break;case"script":H=H.createElement("div"),H.innerHTML="<script></script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof J.is==="string"?H.createElement("select",{is:J.is}):H.createElement("select"),J.multiple?H.multiple=!0:J.size&&(H.size=J.size);break;default:H=typeof J.is==="string"?H.createElement(G,{is:J.is}):H.createElement(G),G.indexOf("-")===-1&&(G!==G.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",G),Object.prototype.toString.call(H)!=="[object HTMLUnknownElement]"||BJ.call(OT,G)||(OT[G]=!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.",G)))}}H[RY]=X,H[uY]=J;Z:for(U=X.child;U!==null;){if(U.tag===5||U.tag===6)H.appendChild(U.stateNode);else if(U.tag!==4&&U.tag!==27&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===X)break Z;for(;U.sibling===null;){if(U.return===null||U.return===X)break Z;U=U.return}U.sibling.return=U.return,U=U.sibling}X.stateNode=H;Z:switch(VY(H,G,J),G){case"button":case"input":case"select":case"textarea":J=!!J.autoFocus;break Z;case"img":J=!0;break Z;default:J=!1}J&&jq(X)}}return CX(X),xM(X,X.type,Z===null?null:Z.memoizedProps,X.pendingProps,Y),null;case 6:if(Z&&X.stateNode!=null)Z.memoizedProps!==J&&jq(X);else{if(typeof J!=="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=D(NG.current),Y=d(),iz(X)){if(Z=X.stateNode,Y=X.memoizedProps,G=!Xq,J=null,H=jY,H!==null)switch(H.tag){case 3:G&&(G=DN(Z,Y,J),G!==null&&(jH(X,0).serverProps=G));break;case 27:case 5:J=H.memoizedProps,G&&(G=DN(Z,Y,J),G!==null&&(jH(X,0).serverProps=G))}Z[RY]=X,Z=Z.nodeValue===Y||J!==null&&J.suppressHydrationWarning===!0||BN(Z.nodeValue,Y)?!0:!1,Z||HG(X,!0)}else G=Y.ancestorInfo.current,G!=null&&KB(J,G.tag,Y.ancestorInfo.implicitRootScope),Z=HL(Z).createTextNode(J),Z[RY]=X,X.stateNode=Z}return CX(X),null;case 31:if(Y=X.memoizedState,Z===null||Z.memoizedState!==null){if(J=iz(X),Y!==null){if(Z===null){if(!J)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[RY]=X,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else yF(),CH(),(X.flags&128)===0&&(Y=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Y=xF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=Y),Z=!0;if(!Z){if(X.flags&256)return IQ(X),X;return IQ(X),null}if((X.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return CX(X),null;case 13:if(J=X.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(G=J,H=iz(X),G!==null&&G.dehydrated!==null){if(Z===null){if(!H)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(H=X.memoizedState,H=H!==null?H.dehydrated:null,!H)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");H[RY]=X,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration))}else yF(),CH(),(X.flags&128)===0&&(G=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration));G=!1}else G=xF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=G),G=!0;if(!G){if(X.flags&256)return IQ(X),X;return IQ(X),null}}if(IQ(X),(X.flags&128)!==0)return X.lanes=Y,(X.mode&iZ)!==hZ&&aW(X),X;return Y=J!==null,Z=Z!==null&&Z.memoizedState!==null,Y&&(J=X.child,G=null,J.alternate!==null&&J.alternate.memoizedState!==null&&J.alternate.memoizedState.cachePool!==null&&(G=J.alternate.memoizedState.cachePool.pool),H=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(H=J.memoizedState.cachePool.pool),H!==G&&(J.flags|=2048)),Y!==Z&&Y&&(X.child.flags|=8192),tB(X,X.updateQueue),CX(X),(X.mode&iZ)!==hZ&&Y&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return u(X),Z===null&&oM(X.stateNode.containerInfo),CX(X),null;case 10:return wq(X.type,X),CX(X),null;case 19:if(WZ(nX,X),J=X.memoizedState,J===null)return CX(X),null;if(G=(X.flags&128)!==0,H=J.rendering,H===null)if(G)JU(J,!1);else{if(bX!==fq||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(H=vB(Z),H!==null){X.flags|=128,JU(J,!1),Z=H.updateQueue,X.updateQueue=Z,tB(X,Z),X.subtreeFlags=0,Z=Y;for(Y=X.child;Y!==null;)p8(Y,Z),Y=Y.sibling;return a(nX,nX.current&S_|nU,X),QX&&Tq(X,J.treeForkCount),X.child}Z=Z.sibling}J.tail!==null&&KY()>YA&&(X.flags|=128,G=!0,JU(J,!1),X.lanes=4194304)}else{if(!G)if(Z=vB(H),Z!==null){if(X.flags|=128,G=!0,Z=Z.updateQueue,X.updateQueue=Z,tB(X,Z),JU(J,!0),J.tail===null&&J.tailMode==="hidden"&&!H.alternate&&!QX)return CX(X),null}else 2*KY()-J.renderingStartTime>YA&&Y!==536870912&&(X.flags|=128,G=!0,JU(J,!1),X.lanes=4194304);J.isBackwards?(H.sibling=X.child,X.child=H):(Z=J.last,Z!==null?Z.sibling=H:X.child=H,J.last=H)}if(J.tail!==null)return Z=J.tail,J.rendering=Z,J.tail=Z.sibling,J.renderingStartTime=KY(),Z.sibling=null,Y=nX.current,Y=G?Y&S_|nU:Y&S_,a(nX,Y,X),QX&&Tq(X,J.treeForkCount),Z;return CX(X),null;case 22:case 23:return IQ(X),lF(X),J=X.memoizedState!==null,Z!==null?Z.memoizedState!==null!==J&&(X.flags|=8192):J&&(X.flags|=8192),J?(Y&536870912)!==0&&(X.flags&128)===0&&(CX(X),X.subtreeFlags&6&&(X.flags|=8192)):CX(X),Y=X.updateQueue,Y!==null&&tB(X,Y.retryQueue),Y=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),J=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(J=X.memoizedState.cachePool.pool),J!==Y&&(X.flags|=2048),Z!==null&&WZ(dH,X),null;case 24:return Y=null,Z!==null&&(Y=Z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),wq(rX,X),CX(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 xD(Z,X){switch(kF(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 3:return wq(rX,X),u(X),Z=X.flags,(Z&65536)!==0&&(Z&128)===0?(X.flags=Z&-65537|128,X):null;case 26:case 27:case 5:return s(X),null;case 31:if(X.memoizedState!==null){if(IQ(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");CH()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 13:if(IQ(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.");CH()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 19:return WZ(nX,X),null;case 4:return u(X),null;case 10:return wq(X.type,X),null;case 22:case 23:return IQ(X),lF(X),Z!==null&&WZ(dH,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&aW(X),X):null;case 24:return wq(rX,X),null;case 25:return null;default:return null}}function _4(Z,X){switch(kF(X),X.tag){case 3:wq(rX,X),u(X);break;case 26:case 27:case 5:s(X);break;case 4:u(X);break;case 31:X.memoizedState!==null&&IQ(X);break;case 13:IQ(X);break;case 19:WZ(nX,X);break;case 10:wq(X.type,X);break;case 22:case 23:IQ(X),lF(X),Z!==null&&WZ(dH,X);break;case 24:wq(rX,X)}}function dJ(Z){return(Z.mode&iZ)!==hZ}function W4(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function yM(Z,X,Y){dJ(Z)?(uJ(),tz(Y,Z,X),fJ()):tz(Y,Z,X)}function qU(Z,X){try{var Y=X.updateQueue,J=Y!==null?Y.lastEffect:null;if(J!==null){var G=J.next;Y=G;do{if((Y.tag&Z)===Z&&(J=void 0,(Z&lY)!==lL&&(m_=!0),J=UZ(X,YE,Y),(Z&lY)!==lL&&(m_=!1),J!==void 0&&typeof J!=="function")){var H=void 0;H=(Y.tag&DQ)!==0?"useLayoutEffect":(Y.tag&lY)!==0?"useInsertionEffect":"useEffect";var U=void 0;U=J===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof J.then==="function"?`
|
|
146
|
+
|
|
147
|
+
It looks like you wrote `+H+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
+
|
|
149
|
+
`+H+`(() => {
|
|
150
|
+
async function fetchData() {
|
|
151
|
+
// You can await here
|
|
152
|
+
const response = await MyAPI.getData(someId);
|
|
153
|
+
// ...
|
|
154
|
+
}
|
|
155
|
+
fetchData();
|
|
156
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
157
|
+
|
|
158
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+J,UZ(X,function(B,F){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,F)},H,U)}Y=Y.next}while(Y!==G)}}catch(B){AX(X,X.return,B)}}function tz(Z,X,Y){try{var J=X.updateQueue,G=J!==null?J.lastEffect:null;if(G!==null){var H=G.next;J=H;do{if((J.tag&Z)===Z){var U=J.inst,B=U.destroy;B!==void 0&&(U.destroy=void 0,(Z&lY)!==lL&&(m_=!0),G=X,UZ(G,QE,G,Y,B),(Z&lY)!==lL&&(m_=!1))}J=J.next}while(J!==H)}}catch(F){AX(X,X.return,F)}}function U4(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function vM(Z,X,Y){dJ(Z)?(uJ(),tz(Y,Z,X),fJ()):tz(Y,Z,X)}function K4(Z){var X=Z.updateQueue;if(X!==null){var Y=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(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.",o(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.",o(Z)||"instance"));try{UZ(Z,L1,X,Y)}catch(J){AX(Z,Z.return,J)}}}function yD(Z,X,Y){return Z.getSnapshotBeforeUpdate(X,Y)}function vD(Z,X){var{memoizedProps:Y,memoizedState:J}=X;X=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(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.",o(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.",o(Z)||"instance"));try{var G=kH(Z.type,Y),H=UZ(Z,yD,X,G,J);Y=n7,H!==void 0||Y.has(Z.type)||(Y.add(Z.type),UZ(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",o(Z))})),X.__reactInternalSnapshotBeforeUpdate=H}catch(U){AX(Z,Z.return,U)}}function B4(Z,X,Y){Y.props=kH(Z.type,Z.memoizedProps),Y.state=Z.memoizedState,dJ(Z)?(uJ(),UZ(Z,K7,Z,X,Y),fJ()):UZ(Z,K7,Z,X,Y)}function hD(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(dJ(Z))try{uJ(),Z.refCleanup=X(Y)}finally{fJ()}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().",o(Z)),X.current=Y}}function GU(Z,X){try{UZ(Z,hD,Z)}catch(Y){AX(Z,X,Y)}}function cJ(Z,X){var{ref:Y,refCleanup:J}=Z;if(Y!==null)if(typeof J==="function")try{if(dJ(Z))try{uJ(),UZ(Z,J)}finally{fJ(Z)}else UZ(Z,J)}catch(G){AX(Z,X,G)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof Y==="function")try{if(dJ(Z))try{uJ(),UZ(Z,Y,null)}finally{fJ(Z)}else UZ(Z,Y,null)}catch(G){AX(Z,X,G)}else Y.current=null}function L4(Z,X,Y,J){var G=Z.memoizedProps,H=G.id,U=G.onCommit;G=G.onRender,X=X===null?"mount":"update",mL&&(X="nested-update"),typeof G==="function"&&G(H,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,Y),typeof U==="function"&&U(H,X,J,Y)}function bD(Z,X,Y,J){var G=Z.memoizedProps;Z=G.id,G=G.onPostCommit,X=X===null?"mount":"update",mL&&(X="nested-update"),typeof G==="function"&&G(Z,X,J,Y)}function A4(Z){var{type:X,memoizedProps:Y,stateNode:J}=Z;try{UZ(Z,H$,J,X,Y,Z)}catch(G){AX(Z,Z.return,G)}}function hM(Z,X,Y){try{UZ(Z,_$,Z.stateNode,Z.type,Y,X,Z)}catch(J){AX(Z,Z.return,J)}}function O4(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&FG(Z.type)||Z.tag===4}function bM(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||O4(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&&FG(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 gM(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?(VN(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(Z,X)):(VN(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=Nq));else if(J!==4&&(J===27&&FG(Z.type)&&(Y=Z.stateNode,X=null),Z=Z.child,Z!==null))for(gM(Z,X,Y),Z=Z.sibling;Z!==null;)gM(Z,X,Y),Z=Z.sibling}function eB(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?Y.insertBefore(Z,X):Y.appendChild(Z);else if(J!==4&&(J===27&&FG(Z.type)&&(Y=Z.stateNode),Z=Z.child,Z!==null))for(eB(Z,X,Y),Z=Z.sibling;Z!==null;)eB(Z,X,Y),Z=Z.sibling}function gD(Z){for(var X,Y=Z.return;Y!==null;){if(O4(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=bM(Z),eB(Z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(wN(Y),X.flags&=-33),X=bM(Z),eB(Z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=bM(Z),gM(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 F4(Z){var{stateNode:X,memoizedProps:Y}=Z;try{UZ(Z,j$,Z.type,Y,X,Z)}catch(J){AX(Z,Z.return,J)}}function M4(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 mD(Z,X){if(Z=Z.containerInfo,b9=NA,Z=y8(Z),TF(Z)){if("selectionStart"in Z)var Y={start:Z.selectionStart,end:Z.selectionEnd};else Z:{Y=(Y=Z.ownerDocument)&&Y.defaultView||window;var J=Y.getSelection&&Y.getSelection();if(J&&J.rangeCount!==0){Y=J.anchorNode;var{anchorOffset:G,focusNode:H}=J;J=J.focusOffset;try{Y.nodeType,H.nodeType}catch(qZ){Y=null;break Z}var U=0,B=-1,F=-1,I=0,x=0,y=Z,S=null;X:for(;;){for(var c;;){if(y!==Y||G!==0&&y.nodeType!==3||(B=U+G),y!==H||J!==0&&y.nodeType!==3||(F=U+J),y.nodeType===3&&(U+=y.nodeValue.length),(c=y.firstChild)===null)break;S=y,y=c}for(;;){if(y===Z)break X;if(S===Y&&++I===G&&(B=U),S===H&&++x===J&&(F=U),(c=y.nextSibling)!==null)break;y=S,S=y.parentNode}y=c}Y=B===-1||F===-1?null:{start:B,end:F}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;g9={focusedElem:Z,selectionRange:Y},NA=!1;for(LY=X;LY!==null;)if(X=LY,Z=X.child,(X.subtreeFlags&1028)!==0&&Z!==null)Z.return=X,LY=Z;else for(;LY!==null;){switch(Z=X=LY,Y=Z.alternate,G=Z.flags,Z.tag){case 0:if((G&4)!==0&&(Z=Z.updateQueue,Z=Z!==null?Z.events:null,Z!==null))for(Y=0;Y<Z.length;Y++)G=Z[Y],G.ref.impl=G.nextImpl;break;case 11:case 15:break;case 1:(G&1024)!==0&&Y!==null&&vD(Z,Y);break;case 3:if((G&1024)!==0){if(Z=Z.stateNode.containerInfo,Y=Z.nodeType,Y===9)J0(Z);else if(Y===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":J0(Z);break;default:Z.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((G&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,LY=Z;break}LY=X.return}}function N4(Z,X,Y){var J=MQ(),G=hJ(),H=gJ(),U=mJ(),B=Y.flags;switch(Y.tag){case 0:case 11:case 15:pJ(Z,Y),B&4&&W4(Y,DQ|oQ);break;case 1:if(pJ(Z,Y),B&4)if(Z=Y.stateNode,X===null)Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(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.",o(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.",o(Y)||"instance")),dJ(Y)?(uJ(),UZ(Y,q9,Y,Z),fJ()):UZ(Y,q9,Y,Z);else{var F=kH(Y.type,X.memoizedProps);X=X.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(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.",o(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.",o(Y)||"instance")),dJ(Y)?(uJ(),UZ(Y,_7,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate),fJ()):UZ(Y,_7,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate)}B&64&&K4(Y),B&512&&GU(Y,Y.return);break;case 3:if(X=Vq(),pJ(Z,Y),B&64&&(B=Y.updateQueue,B!==null)){if(F=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:F=Y.child.stateNode;break;case 1:F=Y.child.stateNode}try{UZ(Y,L1,B,F)}catch(x){AX(Y,Y.return,x)}}Z.effectDuration+=CB(X);break;case 27:X===null&&B&4&&F4(Y);case 26:case 5:if(pJ(Z,Y),X===null){if(B&4)A4(Y);else if(B&64){Z=Y.type,X=Y.memoizedProps,F=Y.stateNode;try{UZ(Y,z$,F,Z,X,Y)}catch(x){AX(Y,Y.return,x)}}}B&512&&GU(Y,Y.return);break;case 12:if(B&4){B=Vq(),pJ(Z,Y),Z=Y.stateNode,Z.effectDuration+=sW(B);try{UZ(Y,L4,Y,X,PG,Z.effectDuration)}catch(x){AX(Y,Y.return,x)}}else pJ(Z,Y);break;case 31:pJ(Z,Y),B&4&&w4(Z,Y);break;case 13:pJ(Z,Y),B&4&&V4(Z,Y),B&64&&(Z=Y.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(B=sD.bind(null,Y),T$(Z,B))));break;case 22:if(B=Y.memoizedState!==null||mq,!B){X=X!==null&&X.memoizedState!==null||XY,F=mq;var I=XY;mq=B,(XY=X)&&!I?(lJ(Z,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(Y,EZ,xZ)):pJ(Z,Y),mq=F,XY=I}break;case 30:break;default:pJ(Z,Y)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<xZ-EZ&&(M4(Y.return.alternate,Y.return)||xJ(Y,EZ,xZ,"Mount"))),NQ(J),bJ(G),xX=H,mX=U}function I4(Z){var X=Z.alternate;X!==null&&(Z.alternate=null,I4(X)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(X=Z.stateNode,X!==null&&HZ(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 Cq(Z,X,Y){for(Y=Y.child;Y!==null;)T4(Z,X,Y),Y=Y.sibling}function T4(Z,X,Y){if(bY&&typeof bY.onCommitFiberUnmount==="function")try{bY.onCommitFiberUnmount(W_,Y)}catch(I){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",I))}var J=MQ(),G=hJ(),H=gJ(),U=mJ();switch(Y.tag){case 26:XY||cJ(Y,X),Cq(Z,X,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(Z=Y.stateNode,Z.parentNode.removeChild(Z));break;case 27:XY||cJ(Y,X);var B=YY,F=ZQ;FG(Y.type)&&(YY=Y.stateNode,ZQ=!1),Cq(Z,X,Y),UZ(Y,AU,Y.stateNode),YY=B,ZQ=F;break;case 5:XY||cJ(Y,X);case 6:if(B=YY,F=ZQ,YY=null,Cq(Z,X,Y),YY=B,ZQ=F,YY!==null)if(ZQ)try{UZ(Y,K$,YY,Y.stateNode)}catch(I){AX(Y,X,I)}else try{UZ(Y,U$,YY,Y.stateNode)}catch(I){AX(Y,X,I)}break;case 18:YY!==null&&(ZQ?(Z=YY,RN(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z,Y.stateNode),G_(Z)):RN(YY,Y.stateNode));break;case 4:B=YY,F=ZQ,YY=Y.stateNode.containerInfo,ZQ=!0,Cq(Z,X,Y),YY=B,ZQ=F;break;case 0:case 11:case 14:case 15:tz(lY,Y,X),XY||yM(Y,X,DQ),Cq(Z,X,Y);break;case 1:XY||(cJ(Y,X),B=Y.stateNode,typeof B.componentWillUnmount==="function"&&B4(Y,X,B)),Cq(Z,X,Y);break;case 21:Cq(Z,X,Y);break;case 22:XY=(B=XY)||Y.memoizedState!==null,Cq(Z,X,Y),XY=B;break;default:Cq(Z,X,Y)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),NQ(J),bJ(G),xX=H,mX=U}function w4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{UZ(X,V$,Z)}catch(Y){AX(X,X.return,Y)}}}function V4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{UZ(X,R$,Z)}catch(Y){AX(X,X.return,Y)}}function fD(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new s7),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new s7),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function ZL(Z,X){var Y=fD(Z);X.forEach(function(J){if(!Y.has(J)){if(Y.add(J),tJ)if(v_!==null&&h_!==null)WU(h_,v_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var G=aD.bind(null,Z,J);J.then(G,G)}})}function tY(Z,X){var Y=X.deletions;if(Y!==null)for(var J=0;J<Y.length;J++){var G=Z,H=X,U=Y[J],B=MQ(),F=H;Z:for(;F!==null;){switch(F.tag){case 27:if(FG(F.type)){YY=F.stateNode,ZQ=!1;break Z}break;case 5:YY=F.stateNode,ZQ=!1;break Z;case 3:case 4:YY=F.stateNode.containerInfo,ZQ=!0;break Z}F=F.return}if(YY===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");T4(G,H,U),YY=null,ZQ=!1,(U.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(U,EZ,xZ,"Unmount"),NQ(B),G=U,H=G.alternate,H!==null&&(H.return=null),G.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)R4(X,Z),X=X.sibling}function R4(Z,X){var Y=MQ(),J=hJ(),G=gJ(),H=mJ(),U=Z.alternate,B=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:tY(X,Z),eY(Z),B&4&&(tz(lY|oQ,Z,Z.return),qU(lY|oQ,Z),yM(Z,Z.return,DQ|oQ));break;case 1:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&64&&mq&&(B=Z.updateQueue,B!==null&&(U=B.callbacks,U!==null))){var F=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=F===null?U:F.concat(U)}break;case 26:if(F=MJ,tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&4){var I=U!==null?U.memoizedState:null;if(B=Z.memoizedState,U===null)if(B===null)if(Z.stateNode===null){Z:{B=Z.type,U=Z.memoizedProps,F=F.ownerDocument||F;X:switch(B){case"title":if(I=F.getElementsByTagName("title")[0],!I||I[wU]||I[RY]||I.namespaceURI===K_||I.hasAttribute("itemprop"))I=F.createElement(B),F.head.insertBefore(I,F.querySelector("head > title"));VY(I,B,U),I[RY]=Z,SZ(I),B=I;break Z;case"link":var x=vN("link","href",F).get(B+(U.href||""));if(x){for(var y=0;y<x.length;y++)if(I=x[y],I.getAttribute("href")===(U.href==null||U.href===""?null:U.href)&&I.getAttribute("rel")===(U.rel==null?null:U.rel)&&I.getAttribute("title")===(U.title==null?null:U.title)&&I.getAttribute("crossorigin")===(U.crossOrigin==null?null:U.crossOrigin)){x.splice(y,1);break X}}I=F.createElement(B),VY(I,B,U),F.head.appendChild(I);break;case"meta":if(x=vN("meta","content",F).get(B+(U.content||""))){for(y=0;y<x.length;y++)if(I=x[y],PZ(U.content,"content"),I.getAttribute("content")===(U.content==null?null:""+U.content)&&I.getAttribute("name")===(U.name==null?null:U.name)&&I.getAttribute("property")===(U.property==null?null:U.property)&&I.getAttribute("http-equiv")===(U.httpEquiv==null?null:U.httpEquiv)&&I.getAttribute("charset")===(U.charSet==null?null:U.charSet)){x.splice(y,1);break X}}I=F.createElement(B),VY(I,B,U),F.head.appendChild(I);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}I[RY]=Z,SZ(I),B=I}Z.stateNode=B}else hN(F,Z.type,Z.stateNode);else Z.stateNode=yN(F,B,Z.memoizedProps);else I!==B?(I===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):I.count--,B===null?hN(F,Z.type,Z.stateNode):yN(F,B,Z.memoizedProps)):B===null&&Z.stateNode!==null&&hM(Z,Z.memoizedProps,U.memoizedProps)}break;case 27:tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),U!==null&&B&4&&hM(Z,Z.memoizedProps,U.memoizedProps);break;case 5:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),Z.flags&32){F=Z.stateNode;try{UZ(Z,wN,F)}catch(BZ){AX(Z,Z.return,BZ)}}B&4&&Z.stateNode!=null&&(F=Z.memoizedProps,hM(Z,F,U!==null?U.memoizedProps:F)),B&1024&&(M9=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(tY(X,Z),eY(Z),B&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.");B=Z.memoizedProps,U=U!==null?U.memoizedProps:B,F=Z.stateNode;try{UZ(Z,W$,F,U,B)}catch(BZ){AX(Z,Z.return,BZ)}}break;case 3:if(F=Vq(),OA=null,I=MJ,MJ=zL(X.containerInfo),tY(X,Z),MJ=I,eY(Z),B&4&&U!==null&&U.memoizedState.isDehydrated)try{UZ(Z,w$,X.containerInfo)}catch(BZ){AX(Z,Z.return,BZ)}M9&&(M9=!1,j4(Z)),X.effectDuration+=CB(F);break;case 4:B=MJ,MJ=zL(Z.stateNode.containerInfo),tY(X,Z),eY(Z),MJ=B;break;case 12:B=Vq(),tY(X,Z),eY(Z),Z.stateNode.effectDuration+=sW(B);break;case 31:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 13:tY(X,Z),eY(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(XA=KY()),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 22:F=Z.memoizedState!==null;var S=U!==null&&U.memoizedState!==null,c=mq,qZ=XY;if(mq=c||F,XY=qZ||S,tY(X,Z),XY=qZ,mq=c,S&&!F&&!c&&!qZ&&(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(Z,EZ,xZ),eY(Z),B&8192)Z:for(X=Z.stateNode,X._visibility=F?X._visibility&~EU:X._visibility|EU,!F||U===null||S||mq||XY||(xH(Z),(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(Z,EZ,xZ,"Disconnect")),U=null,X=Z;;){if(X.tag===5||X.tag===26){if(U===null){S=U=X;try{I=S.stateNode,F?UZ(S,L$,I):UZ(S,F$,S.stateNode,S.memoizedProps)}catch(BZ){AX(S,S.return,BZ)}}}else if(X.tag===6){if(U===null){S=X;try{x=S.stateNode,F?UZ(S,A$,x):UZ(S,M$,x,S.memoizedProps)}catch(BZ){AX(S,S.return,BZ)}}}else if(X.tag===18){if(U===null){S=X;try{y=S.stateNode,F?UZ(S,B$,y):UZ(S,O$,S.stateNode)}catch(BZ){AX(S,S.return,BZ)}}}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;U===X&&(U=null),X=X.return}U===X&&(U=null),X.sibling.return=X.return,X=X.sibling}B&4&&(B=Z.updateQueue,B!==null&&(U=B.retryQueue,U!==null&&(B.retryQueue=null,ZL(Z,U))));break;case 19:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,ZL(Z,B)));break;case 30:break;case 21:break;default:tY(X,Z),eY(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<xZ-EZ&&(M4(Z.return.alternate,Z.return)||xJ(Z,EZ,xZ,"Mount"))),NQ(Y),bJ(J),xX=G,mX=H}function eY(Z){var X=Z.flags;if(X&2){try{UZ(Z,gD,Z)}catch(Y){AX(Z,Z.return,Y)}Z.flags&=-3}X&4096&&(Z.flags&=-4097)}function j4(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var X=Z;j4(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),Z=Z.sibling}}function pJ(Z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)N4(Z,X.alternate,X),X=X.sibling}function C4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 14:case 15:yM(Z,Z.return,DQ),xH(Z);break;case 1:cJ(Z,Z.return);var H=Z.stateNode;typeof H.componentWillUnmount==="function"&&B4(Z,Z.return,H),xH(Z);break;case 27:UZ(Z,AU,Z.stateNode);case 26:case 5:cJ(Z,Z.return),xH(Z);break;case 22:Z.memoizedState===null&&xH(Z);break;case 30:xH(Z);break;default:xH(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),xX=J,mX=G}function xH(Z){for(Z=Z.child;Z!==null;)C4(Z),Z=Z.sibling}function P4(Z,X,Y,J){var G=MQ(),H=hJ(),U=gJ(),B=mJ(),F=Y.flags;switch(Y.tag){case 0:case 11:case 15:lJ(Z,Y,J),W4(Y,DQ);break;case 1:if(lJ(Z,Y,J),X=Y.stateNode,typeof X.componentDidMount==="function"&&UZ(Y,q9,Y,X),X=Y.updateQueue,X!==null){Z=Y.stateNode;try{UZ(Y,wD,X,Z)}catch(I){AX(Y,Y.return,I)}}J&&F&64&&K4(Y),GU(Y,Y.return);break;case 27:F4(Y);case 26:case 5:lJ(Z,Y,J),J&&X===null&&F&4&&A4(Y),GU(Y,Y.return);break;case 12:if(J&&F&4){F=Vq(),lJ(Z,Y,J),J=Y.stateNode,J.effectDuration+=sW(F);try{UZ(Y,L4,Y,X,PG,J.effectDuration)}catch(I){AX(Y,Y.return,I)}}else lJ(Z,Y,J);break;case 31:lJ(Z,Y,J),J&&F&4&&w4(Z,Y);break;case 13:lJ(Z,Y,J),J&&F&4&&V4(Z,Y);break;case 22:Y.memoizedState===null&&lJ(Z,Y,J),GU(Y,Y.return);break;case 30:break;default:lJ(Z,Y,J)}(Y.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,EZ,xZ,hX,xX),NQ(G),bJ(H),xX=U,mX=B}function lJ(Z,X,Y){Y=Y&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)P4(Z,X.alternate,X,Y),X=X.sibling}function mM(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&&DH(Z),Y!=null&&nW(Y))}function fM(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(DH(X),Z!=null&&nW(Z))}function KJ(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var H=X.sibling;D4(Z,X,Y,J,H!==null?H.actualStartTime:G),X=H}}function D4(Z,X,Y,J,G){var H=MQ(),U=hJ(),B=gJ(),F=mJ(),I=VG,x=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&FB(X,X.actualStartTime,G,zY,Y),KJ(Z,X,Y,J,G),x&2048&&U4(X,iY|oQ);break;case 1:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&((X.flags&128)!==0?VF(X,X.actualStartTime,G,[]):(X.flags&1)!==0&&FB(X,X.actualStartTime,G,zY,Y)),KJ(Z,X,Y,J,G);break;case 3:var y=Vq(),S=zY;zY=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,KJ(Z,X,Y,J,G),zY=S,x&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),J=X.memoizedState.cache,J!==Y&&(DH(J),Y!=null&&nW(Y))),Z.passiveEffectDuration+=CB(y);break;case 12:if(x&2048){x=Vq(),KJ(Z,X,Y,J,G),Z=X.stateNode,Z.passiveEffectDuration+=sW(x);try{UZ(X,bD,X,X.alternate,PG,Z.passiveEffectDuration)}catch(c){AX(X,X.return,c)}}else KJ(Z,X,Y,J,G);break;case 31:x=zY,y=X.alternate!==null?X.alternate.memoizedState:null,S=X.memoizedState,y!==null&&S===null?(S=X.deletions,S!==null&&0<S.length&&S[0].tag===18?(zY=!1,y=y.hydrationErrors,y!==null&&VF(X,X.actualStartTime,G,y)):zY=!0):zY=!1,KJ(Z,X,Y,J,G),zY=x;break;case 13:x=zY,y=X.alternate!==null?X.alternate.memoizedState:null,S=X.memoizedState,y===null||y.dehydrated===null||S!==null&&S.dehydrated!==null?zY=!1:(S=X.deletions,S!==null&&0<S.length&&S[0].tag===18?(zY=!1,y=y.hydrationErrors,y!==null&&VF(X,X.actualStartTime,G,y)):zY=!0),KJ(Z,X,Y,J,G),zY=x;break;case 23:break;case 22:S=X.stateNode,y=X.alternate,X.memoizedState!==null?S._visibility&$q?KJ(Z,X,Y,J,G):HU(Z,X,Y,J,G):S._visibility&$q?KJ(Z,X,Y,J,G):(S._visibility|=$q,ez(Z,X,Y,J,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),G),(X.mode&iZ)===hZ||zY||(Z=X.actualStartTime,0<=Z&&0.05<G-Z&&OB(X,Z,G),0<=EZ&&0<=xZ&&0.05<xZ-EZ&&OB(X,EZ,xZ))),x&2048&&mM(y,X);break;case 24:KJ(Z,X,Y,J,G),x&2048&&fM(X.alternate,X);break;default:KJ(Z,X,Y,J,G)}if((X.mode&iZ)!==hZ){if(Z=!zY&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)Y=X.actualStartTime,0<=Y&&0.05<G-Y&&xJ(X,Y,G,"Mount");0<=EZ&&0<=xZ&&((mX||0.05<hX)&&yJ(X,EZ,xZ,hX,xX),Z&&0.05<xZ-EZ&&xJ(X,EZ,xZ,"Mount"))}NQ(H),bJ(U),xX=B,mX=F,VG=I}function ez(Z,X,Y,J,G,H){G=G&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var U=X.sibling;$4(Z,X,Y,J,G,U!==null?U.actualStartTime:H),X=U}}function $4(Z,X,Y,J,G,H){var U=MQ(),B=hJ(),F=gJ(),I=mJ(),x=VG;G&&(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&FB(X,X.actualStartTime,H,zY,Y);var y=X.flags;switch(X.tag){case 0:case 11:case 15:ez(Z,X,Y,J,G,H),U4(X,iY);break;case 23:break;case 22:var S=X.stateNode;X.memoizedState!==null?S._visibility&$q?ez(Z,X,Y,J,G,H):HU(Z,X,Y,J,H):(S._visibility|=$q,ez(Z,X,Y,J,G,H)),G&&y&2048&&mM(X.alternate,X);break;case 24:ez(Z,X,Y,J,G,H),G&&y&2048&&fM(X.alternate,X);break;default:ez(Z,X,Y,J,G,H)}(X.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(X,EZ,xZ,hX,xX),NQ(U),bJ(B),xX=F,mX=I,VG=x}function HU(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var H=X.child;H!==null;){X=H.sibling;var U=Z,B=Y,F=J,I=X!==null?X.actualStartTime:G,x=VG;(H.mode&iZ)!==hZ&&0<H.actualStartTime&&(H.flags&1)!==0&&FB(H,H.actualStartTime,I,zY,B);var y=H.flags;switch(H.tag){case 22:HU(U,H,B,F,I),y&2048&&mM(H.alternate,H);break;case 24:HU(U,H,B,F,I),y&2048&&fM(H.alternate,H);break;default:HU(U,H,B,F,I)}VG=x,H=X}}function Z_(Z,X,Y){if(Z.subtreeFlags&rU)for(Z=Z.child;Z!==null;)S4(Z,X,Y),Z=Z.sibling}function S4(Z,X,Y){switch(Z.tag){case 26:Z_(Z,X,Y),Z.flags&rU&&Z.memoizedState!==null&&D$(Y,MJ,Z.memoizedState,Z.memoizedProps);break;case 5:Z_(Z,X,Y);break;case 3:case 4:var J=MJ;MJ=zL(Z.stateNode.containerInfo),Z_(Z,X,Y),MJ=J;break;case 22:Z.memoizedState===null&&(J=Z.alternate,J!==null&&J.memoizedState!==null?(J=rU,rU=16777216,Z_(Z,X,Y),rU=J):Z_(Z,X,Y));break;default:Z_(Z,X,Y)}}function E4(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 zU(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=MQ();LY=J,y4(J,Z),(J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(J,EZ,xZ,"Unmount"),NQ(G)}E4(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)k4(Z),Z=Z.sibling}function k4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:zU(Z),Z.flags&2048&&vM(Z,Z.return,iY|oQ);break;case 3:var H=Vq();zU(Z),Z.stateNode.passiveEffectDuration+=CB(H);break;case 12:H=Vq(),zU(Z),Z.stateNode.passiveEffectDuration+=sW(H);break;case 22:H=Z.stateNode,Z.memoizedState!==null&&H._visibility&$q&&(Z.return===null||Z.return.tag!==13)?(H._visibility&=~$q,XL(Z),(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(Z,EZ,xZ,"Disconnect")):zU(Z);break;default:zU(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),mX=G,xX=J}function XL(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=MQ();LY=J,y4(J,Z),(J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&0.05<xZ-EZ&&xJ(J,EZ,xZ,"Unmount"),NQ(G)}E4(Z)}for(Z=Z.child;Z!==null;)x4(Z),Z=Z.sibling}function x4(Z){var X=MQ(),Y=hJ(),J=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:vM(Z,Z.return,iY),XL(Z);break;case 22:var H=Z.stateNode;H._visibility&$q&&(H._visibility&=~$q,XL(Z));break;default:XL(Z)}(Z.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,EZ,xZ,hX,xX),NQ(X),bJ(Y),mX=G,xX=J}function y4(Z,X){for(;LY!==null;){var Y=LY,J=Y,G=X,H=MQ(),U=hJ(),B=gJ(),F=mJ();switch(J.tag){case 0:case 11:case 15:vM(J,G,iY);break;case 23:case 22:J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(G=J.memoizedState.cachePool.pool,G!=null&&DH(G));break;case 24:nW(J.memoizedState.cache)}if((J.mode&iZ)!==hZ&&0<=EZ&&0<=xZ&&(mX||0.05<hX)&&yJ(J,EZ,xZ,hX,xX),NQ(H),bJ(U),mX=F,xX=B,J=Y.child,J!==null)J.return=Y,LY=J;else Z:for(Y=Z;LY!==null;){if(J=LY,H=J.sibling,U=J.return,I4(J),J===Y){LY=null;break Z}if(H!==null){H.return=U,LY=H;break Z}LY=U}}}function uD(){zE.forEach(function(Z){return Z()})}function v4(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||i.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function TQ(Z){if((zX&_Y)!==AY&&sZ!==0)return sZ&-sZ;var X=i.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),sM()):f()}function h4(){if(YQ===0)if((sZ&536870912)===0||QX){var Z=IL;IL<<=1,(IL&3932160)===0&&(IL=262144),YQ=Z}else YQ=536870912;return Z=PQ.current,Z!==null&&(Z.flags|=32),YQ}function gX(Z,X,Y){if(m_&&console.error("useInsertionEffect must not schedule updates."),$9&&(qA=!0),Z===RX&&(MX===sH||MX===aH)||Z.cancelPendingCommit!==null)Y_(Z,0),AG(Z,sZ,YQ,!1);if(QG(Z,Y),(zX&_Y)!==AY&&Z===RX){if(oJ)switch(X.tag){case 0:case 11:case 15:Z=aZ&&o(aZ)||"Unknown",_T.has(Z)||(_T.add(Z),X=o(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:zT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),zT=!0)}}else tJ&&hW(Z,X,Y),rD(X),Z===RX&&((zX&_Y)===AY&&(hG|=Y),bX===xG&&AG(Z,sZ,YQ,!1)),iJ(Z)}function b4(Z,X,Y){if((zX&(_Y|$Q))!==AY)throw Error("Should not already be working.");if(sZ!==0&&aZ!==null){var J=aZ,G=KY();switch(X7){case ZK:case sH:var H=bU;DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Suspended",H,G,dQ,void 0,"primary-light")):console.timeStamp("Suspended",H,G,dQ,void 0,"primary-light"));break;case aH:H=bU,DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Action",H,G,dQ,void 0,"primary-light")):console.timeStamp("Action",H,G,dQ,void 0,"primary-light"));break;default:DX&&(J=G-bU,3>J||console.timeStamp("Blocked",bU,G,dQ,void 0,5>J?"primary-light":10>J?"primary":100>J?"primary-dark":"error"))}}H=(Y=!Y&&(X&127)===0&&(X&Z.expiredLanes)===0||AH(Z,X))?cD(Z,X):dM(Z,X,!0);var U=Y;do{if(H===fq){b_&&!Y&&AG(Z,X,0,!1),X=MX,bU=tX(),X7=X;break}else{if(J=KY(),G=Z.current.alternate,U&&!dD(G)){OQ(X),G=BY,H=J,!DX||H<=G||(lX?lX.run(console.timeStamp.bind(console,"Teared Render",G,H,eZ,tZ,"error")):console.timeStamp("Teared Render",G,H,eZ,tZ,"error")),yH(X,J),H=dM(Z,X,!1),U=!1;continue}if(H===nH){if(U=X,Z.errorRecoveryDisabledLanes&U)var B=0;else B=Z.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){OQ(X),RF(BY,J,X,lX),yH(X,J),X=B;Z:{J=Z,H=U,U=YK;var F=J.current.memoizedState.isDehydrated;if(F&&(Y_(J,B).flags|=256),B=dM(J,B,!1),B!==nH){if(T9&&!F){J.errorRecoveryDisabledLanes|=H,hG|=H,H=xG;break Z}J=nY,nY=U,J!==null&&(nY===null?nY=J:nY.push.apply(nY,J))}H=B}if(U=!1,H!==nH)continue;else J=KY()}}if(H===eU){OQ(X),RF(BY,J,X,lX),yH(X,J),Y_(Z,0),AG(Z,X,0,!0);break}Z:{switch(Y=Z,H){case fq:case eU:throw Error("Root did not complete. This is a bug in React.");case xG:if((X&4194048)!==X)break;case rL:OQ(X),b8(BY,J,X,lX),yH(X,J),G=X,(G&127)!==0?hL=J:(G&4194048)!==0&&(bL=J),AG(Y,X,YQ,!yG);break Z;case nH:nY=null;break;case oL:case a7:break;default:throw Error("Unknown root exit status.")}if(i.actQueue!==null)cM(Y,G,X,nY,QK,ZA,YQ,hG,oH,H,null,null,BY,J);else{if((X&62914560)===X&&(U=XA+t7-KY(),10<U)){if(AG(Y,X,YQ,!yG),LH(Y,0,!0)!==0)break Z;NJ=X,Y.timeoutHandle=FT(g4.bind(null,Y,G,nY,QK,ZA,X,YQ,hG,oH,yG,H,"Throttled",BY,J),U);break Z}g4(Y,G,nY,QK,ZA,X,YQ,hG,oH,yG,H,null,BY,J)}}}break}while(1);iJ(Z)}function g4(Z,X,Y,J,G,H,U,B,F,I,x,y,S,c){Z.timeoutHandle=Xz;var qZ=X.subtreeFlags,BZ=null;if(qZ&8192||(qZ&16785408)===16785408){if(BZ={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Nq},S4(X,H,BZ),qZ=(H&62914560)===H?XA-KY():(H&4194048)===H?r7-KY():0,qZ=$$(BZ,qZ),qZ!==null){NJ=H,Z.cancelPendingCommit=qZ(cM.bind(null,Z,X,H,Y,J,G,U,B,F,x,BZ,BZ.waitingForViewTransition?"Waiting for the previous Animation":0<BZ.count?0<BZ.imgCount?"Suspended on CSS and Images":"Suspended on CSS":BZ.imgCount===1?"Suspended on an Image":0<BZ.imgCount?"Suspended on Images":null,S,c)),AG(Z,H,U,!I);return}}cM(Z,X,H,Y,J,G,U,B,F,x,BZ,y,S,c)}function dD(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 J=0;J<Y.length;J++){var G=Y[J],H=G.getSnapshot;G=G.value;try{if(!cY(H(),G))return!1}catch(U){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 AG(Z,X,Y,J){X&=~w9,X&=~hG,Z.suspendedLanes|=X,Z.pingedLanes&=~X,J&&(Z.warmLanes|=X),J=Z.expirationTimes;for(var G=X;0<G;){var H=31-fY(G),U=1<<H;J[H]=-1,G&=~U}Y!==0&&OH(Z,Y,X)}function X_(){return(zX&(_Y|$Q))===AY?(UU(0,!1),!1):!0}function uM(){if(aZ!==null){if(MX===XQ)var Z=aZ.return;else Z=aZ,VB(),tF(Z),D_=null,iU=0,Z=aZ;for(;Z!==null;)_4(Z.alternate,Z),Z=Z.return;aZ=null}}function yH(Z,X){(Z&127)!==0&&(DG=X),(Z&4194048)!==0&&(Qq=X),(Z&62914560)!==0&&(eI=X),(Z&2080374784)!==0&&(Z7=X)}function Y_(Z,X){DX&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",tZ,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",tZ,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",tZ,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",tZ,"primary-light"));var Y=BY;if(BY=tX(),sZ!==0&&0<Y){if(OQ(sZ),bX===oL||bX===xG)b8(Y,BY,X,lX);else{var J=BY,G=lX;if(DX&&!(J<=Y)){var H=(X&738197653)===X?"tertiary-dark":"primary-dark",U=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";G?G.run(console.timeStamp.bind(console,U,Y,J,eZ,tZ,H)):console.timeStamp(U,Y,J,eZ,tZ,H)}}yH(sZ,BY)}if(Y=lX,lX=null,(X&127)!==0){lX=yU,G=0<=Yq&&Yq<DG?DG:Yq,J=0<=mH&&mH<DG?DG:mH,H=0<=J?J:0<=G?G:BY,0<=hL?(OQ(2),g8(hL,H,X,Y)):(gL&127)!==0&&(OQ(2),lW(DG,H,vq)),Y=G;var B=J,F=vU,I=0<j_,x=$G===xU,y=$G===vL;if(G=BY,J=yU,H=Z9,U=X9,DX){if(eZ="Blocking",0<Y?Y>G&&(Y=G):Y=G,0<B?B>Y&&(B=Y):B=Y,F!==null&&Y>B){var S=I?"secondary-light":"warning";J?J.run(console.timeStamp.bind(console,I?"Consecutive":"Event: "+F,B,Y,eZ,tZ,S)):console.timeStamp(I?"Consecutive":"Event: "+F,B,Y,eZ,tZ,S)}G>Y&&(B=x?"error":(X&738197653)===X?"tertiary-light":"primary-light",x=y?"Promise Resolved":x?"Cascading Update":5<G-Y?"Update Blocked":"Update",y=[],U!=null&&y.push(["Component name",U]),H!=null&&y.push(["Method name",H]),Y={start:Y,end:G,detail:{devtools:{properties:y,track:eZ,trackGroup:tZ,color:B}}},J?J.run(performance.measure.bind(performance,x,Y)):performance.measure(x,Y))}Yq=-1.1,$G=0,X9=Z9=null,hL=-1.1,j_=mH,mH=-1.1,DG=tX()}if((X&4194048)!==0&&(lX=hU,G=0<=yq&&yq<Qq?Qq:yq,Y=0<=sQ&&sQ<Qq?Qq:sQ,J=0<=SG&&SG<Qq?Qq:SG,H=0<=J?J:0<=Y?Y:BY,0<=bL?(OQ(256),g8(bL,H,X,lX)):(gL&4194048)!==0&&(OQ(256),lW(Qq,H,vq)),y=J,B=fH,F=0<EG,I=Y9===vL,H=BY,J=hU,U=rI,x=tI,DX&&(eZ="Transition",0<Y?Y>H&&(Y=H):Y=H,0<G?G>Y&&(G=Y):G=Y,0<y?y>G&&(y=G):y=G,G>y&&B!==null&&(S=F?"secondary-light":"warning",J?J.run(console.timeStamp.bind(console,F?"Consecutive":"Event: "+B,y,G,eZ,tZ,S)):console.timeStamp(F?"Consecutive":"Event: "+B,y,G,eZ,tZ,S)),Y>G&&(J?J.run(console.timeStamp.bind(console,"Action",G,Y,eZ,tZ,"primary-dark")):console.timeStamp("Action",G,Y,eZ,tZ,"primary-dark")),H>Y&&(G=I?"Promise Resolved":5<H-Y?"Update Blocked":"Update",y=[],x!=null&&y.push(["Component name",x]),U!=null&&y.push(["Method name",U]),Y={start:Y,end:H,detail:{devtools:{properties:y,track:eZ,trackGroup:tZ,color:"primary-light"}}},J?J.run(performance.measure.bind(performance,G,Y)):performance.measure(G,Y))),sQ=yq=-1.1,Y9=0,bL=-1.1,EG=SG,SG=-1.1,Qq=tX()),(X&62914560)!==0&&(gL&62914560)!==0&&(OQ(4194304),lW(eI,BY,vq)),(X&2080374784)!==0&&(gL&2080374784)!==0&&(OQ(268435456),lW(Z7,BY,vq)),Y=Z.timeoutHandle,Y!==Xz&&(Z.timeoutHandle=Xz,TE(Y)),Y=Z.cancelPendingCommit,Y!==null&&(Z.cancelPendingCommit=null,Y()),NJ=0,uM(),RX=Z,aZ=Y=Iq(Z.current,null),sZ=X,MX=XQ,SQ=null,yG=!1,b_=AH(Z,X),T9=!1,bX=fq,oH=YQ=w9=hG=vG=0,nY=YK=null,ZA=!1,(X&8)!==0&&(X|=X&32),J=Z.entangledLanes,J!==0)for(Z=Z.entanglements,J&=X;0<J;)G=31-fY(J),H=1<<G,X|=Z[G],J&=~H;return qq=X,MB(),Z=lI(),1000<Z-pI&&(i.recentlyCreatedOwnerStacks=0,pI=Z),OJ.discardPendingWarnings(),Y}function m4(Z,X){bZ=null,i.H=oU,i.getCurrentStack=null,oJ=!1,RQ=null,X===P_||X===dL?(X=G1(),MX=ZK):X===G9?(X=G1(),MX=o7):MX=X===O9?I9:X!==null&&typeof X==="object"&&typeof X.then==="function"?XK:tL,SQ=X;var Y=aZ;Y===null?(bX=eU,sB(Z,FQ(X,Z.current))):Y.mode&iZ&&mF(Y)}function f4(){var Z=PQ.current;return Z===null?!0:(sZ&4194048)===sZ?aQ===null?!0:!1:(sZ&62914560)===sZ||(sZ&536870912)!==0?Z===aQ:!1}function u4(){var Z=i.H;return i.H=oU,Z===null?oU:Z}function d4(){var Z=i.A;return i.A=HE,Z}function YL(Z){lX===null&&(lX=Z._debugTask==null?null:Z._debugTask)}function QL(){bX=xG,yG||(sZ&4194048)!==sZ&&PQ.current!==null||(b_=!0),(vG&134217727)===0&&(hG&134217727)===0||RX===null||AG(RX,sZ,YQ,!1)}function dM(Z,X,Y){var J=zX;zX|=_Y;var G=u4(),H=d4();if(RX!==Z||sZ!==X){if(tJ){var U=Z.memoizedUpdaters;0<U.size&&(WU(Z,sZ),U.clear()),JG(Z,X)}QK=null,Y_(Z,X)}X=!1,U=bX;Z:do try{if(MX!==XQ&&aZ!==null){var B=aZ,F=SQ;switch(MX){case I9:uM(),U=rL;break Z;case ZK:case sH:case aH:case XK:PQ.current===null&&(X=!0);var I=MX;if(MX=XQ,SQ=null,Q_(Z,B,F,I),Y&&b_){U=fq;break Z}break;default:I=MX,MX=XQ,SQ=null,Q_(Z,B,F,I)}}c4(),U=bX;break}catch(x){m4(Z,x)}while(1);return X&&Z.shellSuspendCounter++,VB(),zX=J,i.H=G,i.A=H,aZ===null&&(RX=null,sZ=0,MB()),U}function c4(){for(;aZ!==null;)p4(aZ)}function cD(Z,X){var Y=zX;zX|=_Y;var J=u4(),G=d4();if(RX!==Z||sZ!==X){if(tJ){var H=Z.memoizedUpdaters;0<H.size&&(WU(Z,sZ),H.clear()),JG(Z,X)}QK=null,YA=KY()+e7,Y_(Z,X)}else b_=AH(Z,X);Z:do try{if(MX!==XQ&&aZ!==null)X:switch(X=aZ,H=SQ,MX){case tL:MX=XQ,SQ=null,Q_(Z,X,H,tL);break;case sH:case aH:if(J1(H)){MX=XQ,SQ=null,l4(X);break}X=function(){MX!==sH&&MX!==aH||RX!==Z||(MX=eL),iJ(Z)},H.then(X,X);break Z;case ZK:MX=eL;break Z;case o7:MX=N9;break Z;case eL:J1(H)?(MX=XQ,SQ=null,l4(X)):(MX=XQ,SQ=null,Q_(Z,X,H,eL));break;case N9:var U=null;switch(aZ.tag){case 26:U=aZ.memoizedState;case 5:case 27:var B=aZ;if(U?bN(U):B.stateNode.complete){MX=XQ,SQ=null;var F=B.sibling;if(F!==null)aZ=F;else{var I=B.return;I!==null?(aZ=I,JL(I)):aZ=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}MX=XQ,SQ=null,Q_(Z,X,H,N9);break;case XK:MX=XQ,SQ=null,Q_(Z,X,H,XK);break;case I9:uM(),bX=rL;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}i.actQueue!==null?c4():pD();break}catch(x){m4(Z,x)}while(1);if(VB(),i.H=J,i.A=G,zX=Y,aZ!==null)return fq;return RX=null,sZ=0,MB(),bX}function pD(){for(;aZ!==null&&!d$();)p4(aZ)}function p4(Z){var X=Z.alternate;(Z.mode&iZ)!==hZ?(gF(Z),X=UZ(Z,kM,X,Z,qq),mF(Z)):X=UZ(Z,kM,X,Z,qq),Z.memoizedProps=Z.pendingProps,X===null?JL(Z):aZ=X}function l4(Z){var X=UZ(Z,lD,Z);Z.memoizedProps=Z.pendingProps,X===null?JL(Z):aZ=X}function lD(Z){var X=Z.alternate,Y=(Z.mode&iZ)!==hZ;switch(Y&&gF(Z),Z.tag){case 15:case 0:X=Y4(X,Z,Z.pendingProps,Z.type,void 0,sZ);break;case 11:X=Y4(X,Z,Z.pendingProps,Z.type.render,Z.ref,sZ);break;case 5:tF(Z);default:_4(X,Z),Z=aZ=p8(Z,qq),X=kM(X,Z,qq)}return Y&&mF(Z),X}function Q_(Z,X,Y,J){VB(),tF(X),D_=null,iU=0;var G=X.return;try{if($D(Z,G,X,Y,sZ)){bX=eU,sB(Z,FQ(Y,Z.current)),aZ=null;return}}catch(H){if(G!==null)throw aZ=G,H;bX=eU,sB(Z,FQ(Y,Z.current)),aZ=null;return}if(X.flags&32768){if(QX||J===tL)Z=!0;else if(b_||(sZ&536870912)!==0)Z=!1;else if(yG=Z=!0,J===sH||J===aH||J===ZK||J===XK)J=PQ.current,J!==null&&J.tag===13&&(J.flags|=16384);i4(X,Z)}else JL(X)}function JL(Z){var X=Z;do{if((X.flags&32768)!==0){i4(X,yG);return}var Y=X.alternate;if(Z=X.return,gF(X),Y=UZ(X,kD,Y,X,qq),(X.mode&iZ)!==hZ&&e8(X),Y!==null){aZ=Y;return}if(X=X.sibling,X!==null){aZ=X;return}aZ=X=Z}while(X!==null);bX===fq&&(bX=a7)}function i4(Z,X){do{var Y=xD(Z.alternate,Z);if(Y!==null){Y.flags&=32767,aZ=Y;return}if((Z.mode&iZ)!==hZ){e8(Z),Y=Z.actualDuration;for(var J=Z.child;J!==null;)Y+=J.actualDuration,J=J.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)){aZ=Z;return}aZ=Z=Y}while(Z!==null);bX=rL,aZ=null}function cM(Z,X,Y,J,G,H,U,B,F,I,x,y,S,c){Z.cancelPendingCommit=null;do _U();while(QY!==gG);if(OJ.flushLegacyContextWarning(),OJ.flushPendingUnsafeLifecycleWarnings(),(zX&(_Y|$Q))!==AY)throw Error("Should not already be working.");if(OQ(Y),I===nH?RF(S,c,Y,lX):J!==null?OD(S,c,Y,J,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,lX):AD(S,c,Y,lX),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(H=X.lanes|X.childLanes,H|=a0,HB(Z,Y,H,U,B,F),Z===RX&&(aZ=RX=null,sZ=0),g_=X,mG=Z,NJ=Y,j9=H,P9=G,qT=J,C9=c,GT=y,IJ=QA,HT=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,oD(__,function(){return _K=window.event,IJ===QA&&(IJ=R9),r4(),null})):(Z.callbackNode=null,Z.callbackPriority=0),xq=null,PG=tX(),y!==null&&FD(c,PG,y,lX),J=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||J){J=i.T,i.T=null,G=OX.p,OX.p=jQ,U=zX,zX|=$Q;try{mD(Z,X,Y)}finally{zX=U,OX.p=G,i.T=J}}QY=XT,n4(),s4(),a4()}}function n4(){if(QY===XT){QY=gG;var Z=mG,X=g_,Y=NJ,J=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||J){J=i.T,i.T=null;var G=OX.p;OX.p=jQ;var H=zX;zX|=$Q;try{v_=Y,h_=Z,PB(),R4(X,Z),h_=v_=null,Y=g9;var U=y8(Z.containerInfo),B=Y.focusedElem,F=Y.selectionRange;if(U!==B&&B&&B.ownerDocument&&x8(B.ownerDocument.documentElement,B)){if(F!==null&&TF(B)){var{start:I,end:x}=F;if(x===void 0&&(x=I),"selectionStart"in B)B.selectionStart=I,B.selectionEnd=Math.min(x,B.value.length);else{var y=B.ownerDocument||document,S=y&&y.defaultView||window;if(S.getSelection){var c=S.getSelection(),qZ=B.textContent.length,BZ=Math.min(F.start,qZ),PX=F.end===void 0?BZ:Math.min(F.end,qZ);!c.extend&&BZ>PX&&(U=PX,PX=BZ,BZ=U);var GX=k8(B,BZ),$=k8(B,PX);if(GX&&$&&(c.rangeCount!==1||c.anchorNode!==GX.node||c.anchorOffset!==GX.offset||c.focusNode!==$.node||c.focusOffset!==$.offset)){var E=y.createRange();E.setStart(GX.node,GX.offset),c.removeAllRanges(),BZ>PX?(c.addRange(E),c.extend($.node,$.offset)):(E.setEnd($.node,$.offset),c.addRange(E))}}}}y=[];for(c=B;c=c.parentNode;)c.nodeType===1&&y.push({element:c,left:c.scrollLeft,top:c.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<y.length;B++){var k=y[B];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}NA=!!b9,g9=b9=null}finally{zX=H,OX.p=G,i.T=J}}Z.current=X,QY=YT}}function s4(){if(QY===YT){QY=gG;var Z=HT;if(Z!==null){PG=tX();var X=kq,Y=PG;!DX||Y<=X||(vq?vq.run(console.timeStamp.bind(console,Z,X,Y,eZ,tZ,"secondary-light")):console.timeStamp(Z,X,Y,eZ,tZ,"secondary-light"))}Z=mG,X=g_,Y=NJ;var J=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||J){J=i.T,i.T=null;var G=OX.p;OX.p=jQ;var H=zX;zX|=$Q;try{v_=Y,h_=Z,PB(),N4(Z,X.alternate,X),h_=v_=null}finally{zX=H,OX.p=G,i.T=J}}Z=C9,X=GT,kq=tX(),Z=X===null?Z:PG,X=kq,Y=IJ===V9,J=lX,xq!==null?m8(Z,X,xq,!1,J):!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")),QY=QT}}function a4(){if(QY===JT||QY===QT){if(QY===JT){var Z=kq;kq=tX();var X=kq,Y=IJ===V9;!DX||X<=Z||(vq?vq.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?" error":"secondary-light")),IJ!==V9&&(IJ=ZT)}QY=gG,c$(),Z=mG;var J=g_;X=NJ,Y=qT;var G=J.actualDuration!==0||(J.subtreeFlags&10256)!==0||(J.flags&10256)!==0;G?QY=JA:(QY=gG,g_=mG=null,o4(Z,Z.pendingLanes),rH=0,qK=null);var H=Z.pendingLanes;if(H===0&&(bG=null),G||XN(Z),H=w(X),J=J.stateNode,bY&&typeof bY.onCommitFiberRoot==="function")try{var U=(J.current.flags&128)===128;switch(H){case jQ:var B=P0;break;case LJ:B=D0;break;case eJ:B=__;break;case wL:B=$0;break;default:B=__}bY.onCommitFiberRoot(W_,J,B,U)}catch(y){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",y))}if(tJ&&Z.memoizedUpdaters.clear(),uD(),Y!==null){U=i.T,B=OX.p,OX.p=jQ,i.T=null;try{var F=Z.onRecoverableError;for(J=0;J<Y.length;J++){var I=Y[J],x=iD(I.stack);UZ(I.source,F,I.value,x)}}finally{i.T=U,OX.p=B}}(NJ&3)!==0&&_U(),iJ(Z),H=Z.pendingLanes,(X&261930)!==0&&(H&42)!==0?(fL=!0,Z===D9?JK++:(JK=0,D9=Z)):JK=0,G||yH(X,kq),UU(0,!1)}}function iD(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 o4(Z,X){(Z.pooledCacheLanes&=X)===0&&(X=Z.pooledCache,X!=null&&(Z.pooledCache=null,nW(X)))}function _U(){return n4(),s4(),a4(),r4()}function r4(){if(QY!==JA)return!1;var Z=mG,X=j9;j9=0;var Y=w(NJ),J=eJ===0||eJ>Y?eJ:Y;Y=i.T;var G=OX.p;try{OX.p=J,i.T=null;var H=P9;P9=null,J=mG;var U=NJ;if(QY=gG,g_=mG=null,NJ=0,(zX&(_Y|$Q))!==AY)throw Error("Cannot flush passive effects while already rendering.");OQ(U),$9=!0,qA=!1;var B=0;if(xq=null,B=KY(),IJ===ZT)lW(kq,B,vq);else{var F=kq,I=B,x=IJ===R9;!DX||I<=F||(lX?lX.run(console.timeStamp.bind(console,x?"Waiting for Paint":"Waiting",F,I,eZ,tZ,"secondary-light")):console.timeStamp(x?"Waiting for Paint":"Waiting",F,I,eZ,tZ,"secondary-light"))}F=zX,zX|=$Q;var y=J.current;PB(),k4(y);var S=J.current;y=C9,PB(),D4(J,S,U,H,y),XN(J),zX=F;var c=KY();if(S=B,y=lX,xq!==null?m8(S,c,xq,!0,y):!DX||c<=S||(y?y.run(console.timeStamp.bind(console,"Remaining Effects",S,c,eZ,tZ,"secondary-dark")):console.timeStamp("Remaining Effects",S,c,eZ,tZ,"secondary-dark")),yH(U,c),UU(0,!1),qA?J===qK?rH++:(rH=0,qK=J):rH=0,qA=$9=!1,bY&&typeof bY.onPostCommitFiberRoot==="function")try{bY.onPostCommitFiberRoot(W_,J)}catch(BZ){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",BZ))}var qZ=J.current.stateNode;return qZ.effectDuration=0,qZ.passiveEffectDuration=0,!0}finally{OX.p=G,i.T=Y,o4(Z,X)}}function t4(Z,X,Y){X=FQ(Y,X),Z1(X),X=TM(Z.stateNode,X,2),Z=UG(Z,X,2),Z!==null&&(QG(Z,2),iJ(Z))}function AX(Z,X,Y){if(m_=!1,Z.tag===3)t4(Z,Z,Y);else{for(;X!==null;){if(X.tag===3){t4(X,Z,Y);return}if(X.tag===1){var J=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof J.componentDidCatch==="function"&&(bG===null||!bG.has(J))){Z=FQ(Y,Z),Z1(Z),Y=wM(2),J=UG(X,Y,2),J!==null&&(VM(Y,J,X,Z),QG(J,2),iJ(J));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.
|
|
159
|
+
|
|
160
|
+
Error message:
|
|
161
|
+
|
|
162
|
+
%s`,Y)}}function pM(Z,X,Y){var J=Z.pingCache;if(J===null){J=Z.pingCache=new _E;var G=new Set;J.set(X,G)}else G=J.get(X),G===void 0&&(G=new Set,J.set(X,G));G.has(Y)||(T9=!0,G.add(Y),J=nD.bind(null,Z,X,Y),tJ&&WU(Z,Y),X.then(J,J))}function nD(Z,X,Y){var J=Z.pingCache;J!==null&&J.delete(X),Z.pingedLanes|=Z.suspendedLanes&Y,Z.warmLanes&=~Y,(Y&127)!==0?0>Yq&&(DG=Yq=tX(),yU=yL("Promise Resolved"),$G=vL):(Y&4194048)!==0&&0>sQ&&(Qq=sQ=tX(),hU=yL("Promise Resolved"),Y9=vL),v4()&&i.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
163
|
+
|
|
164
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
165
|
+
|
|
166
|
+
act(() => {
|
|
167
|
+
/* finish loading suspended data */
|
|
168
|
+
});
|
|
169
|
+
/* assert on the output */
|
|
170
|
+
|
|
171
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),RX===Z&&(sZ&Y)===Y&&(bX===xG||bX===oL&&(sZ&62914560)===sZ&&KY()-XA<t7?(zX&_Y)===AY&&Y_(Z,0):w9|=Y,oH===sZ&&(oH=0)),iJ(Z)}function e4(Z,X){X===0&&(X=uz()),Z=hY(Z,X),Z!==null&&(QG(Z,X),iJ(Z))}function sD(Z){var X=Z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),e4(Z,Y)}function aD(Z,X){var Y=0;switch(Z.tag){case 31:case 13:var{stateNode:J,memoizedState:G}=Z;G!==null&&(Y=G.retryLane);break;case 19:J=Z.stateNode;break;case 22:J=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}J!==null&&J.delete(X),e4(Z,Y)}function lM(Z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var J=Z,G=X,H=G.type===OL;H=Y||H,G.tag!==22?G.flags&67108864?H&&UZ(G,ZN,J,G):lM(J,G,H):G.memoizedState===null&&(H&&G.flags&8192?UZ(G,ZN,J,G):G.subtreeFlags&67108864&&UZ(G,lM,J,G,H)),X=X.sibling}}function ZN(Z,X){jX(!0);try{C4(X),x4(X),P4(Z,X.alternate,X,!1),$4(Z,X,0,null,!1,0)}finally{jX(!1)}}function XN(Z){var X=!0;Z.current.mode&(gY|AJ)||(X=!1),lM(Z,Z.current,X)}function YN(Z){if((zX&_Y)===AY){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=o(Z)||"ReactComponent",GA!==null){if(GA.has(X))return;GA.add(X)}else GA=new Set([X]);UZ(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 WU(Z,X){tJ&&Z.memoizedUpdaters.forEach(function(Y){hW(Z,Y,X)})}function oD(Z,X){var Y=i.actQueue;return Y!==null?(Y.push(X),KE):C0(Z,X)}function rD(Z){v4()&&i.actQueue===null&&UZ(Z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
172
|
+
|
|
173
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
174
|
+
|
|
175
|
+
act(() => {
|
|
176
|
+
/* fire events that update state */
|
|
177
|
+
});
|
|
178
|
+
/* assert on the output */
|
|
179
|
+
|
|
180
|
+
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`,o(Z))})}function iJ(Z){Z!==f_&&Z.next===null&&(f_===null?HA=f_=Z:f_=f_.next=Z),zA=!0,i.actQueue!==null?E9||(E9=!0,GN()):S9||(S9=!0,GN())}function UU(Z,X){if(!k9&&zA){k9=!0;do{var Y=!1;for(var J=HA;J!==null;){if(!X)if(Z!==0){var G=J.pendingLanes;if(G===0)var H=0;else{var{suspendedLanes:U,pingedLanes:B}=J;H=(1<<31-fY(42|Z)+1)-1,H&=G&~(U&~B),H=H&201326741?H&201326741|1:H?H|2:0}H!==0&&(Y=!0,qN(J,H))}else H=sZ,H=LH(J,J===RX?H:0,J.cancelPendingCommit!==null||J.timeoutHandle!==Xz),(H&3)===0||AH(J,H)||(Y=!0,qN(J,H));J=J.next}}while(Y);k9=!1}}function tD(){_K=window.event,iM()}function iM(){zA=E9=S9=!1;var Z=0;fG!==0&&q$()&&(Z=fG);for(var X=KY(),Y=null,J=HA;J!==null;){var G=J.next,H=QN(J,X);if(H===0)J.next=null,Y===null?HA=G:Y.next=G,G===null&&(f_=Y);else if(Y=J,Z!==0||(H&3)!==0)zA=!0;J=G}QY!==gG&&QY!==JA||UU(Z,!1),fG!==0&&(fG=0)}function QN(Z,X){for(var{suspendedLanes:Y,pingedLanes:J,expirationTimes:G}=Z,H=Z.pendingLanes&-62914561;0<H;){var U=31-fY(H),B=1<<U,F=G[U];if(F===-1){if((B&Y)===0||(B&J)!==0)G[U]=WF(B,X)}else F<=X&&(Z.expiredLanes|=B);H&=~B}if(X=RX,Y=sZ,Y=LH(Z,Z===X?Y:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Xz),J=Z.callbackNode,Y===0||Z===X&&(MX===sH||MX===aH)||Z.cancelPendingCommit!==null)return J!==null&&nM(J),Z.callbackNode=null,Z.callbackPriority=0;if((Y&3)===0||AH(Z,Y)){if(X=Y&-Y,X!==Z.callbackPriority||i.actQueue!==null&&J!==x9)nM(J);else return X;switch(w(Y)){case jQ:case LJ:Y=D0;break;case eJ:Y=__;break;case wL:Y=$0;break;default:Y=__}return J=JN.bind(null,Z),i.actQueue!==null?(i.actQueue.push(J),Y=x9):Y=C0(Y,J),Z.callbackPriority=X,Z.callbackNode=Y,X}return J!==null&&nM(J),Z.callbackPriority=2,Z.callbackNode=null,2}function JN(Z,X){if(fL=mL=!1,_K=window.event,QY!==gG&&QY!==JA)return Z.callbackNode=null,Z.callbackPriority=0,null;var Y=Z.callbackNode;if(IJ===QA&&(IJ=R9),_U()&&Z.callbackNode!==Y)return null;var J=sZ;if(J=LH(Z,Z===RX?J:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Xz),J===0)return null;return b4(Z,J,X),QN(Z,KY()),Z.callbackNode!=null&&Z.callbackNode===Y?JN.bind(null,Z):null}function qN(Z,X){if(_U())return null;mL=fL,fL=!1,b4(Z,X,!0)}function nM(Z){Z!==x9&&Z!==null&&u$(Z)}function GN(){i.actQueue!==null&&i.actQueue.push(function(){return iM(),null}),wE(function(){(zX&(_Y|$Q))!==AY?C0(P0,tD):iM()})}function sM(){if(fG===0){var Z=uH;Z===0&&(Z=NL,NL<<=1,(NL&261888)===0&&(NL=256)),fG=Z}return fG}function HN(Z){if(Z==null||typeof Z==="symbol"||typeof Z==="boolean")return null;if(typeof Z==="function")return Z;return PZ(Z,"action"),dW(""+Z)}function zN(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 eD(Z,X,Y,J,G){if(X==="submit"&&Y&&Y.stateNode===G){var H=HN((G[uY]||null).action),U=J.submitter;U&&(X=(X=U[uY]||null)?HN(X.formAction):U.getAttribute("formAction"),X!==null&&(H=X,U=null));var B=new PL("action","action",null,J,G);Z.push({event:B,listeners:[{instance:null,listener:function(){if(J.defaultPrevented){if(fG!==0){var F=U?zN(G,U):new FormData(G),I={pending:!0,data:F,method:G.method,action:H};Object.freeze(I),LM(Y,I,null,F)}}else typeof H==="function"&&(B.preventDefault(),F=U?zN(G,U):new FormData(G),I={pending:!0,data:F,method:G.method,action:H},Object.freeze(I),LM(Y,I,H,F))},currentTarget:G}]})}}function qL(Z,X,Y){Z.currentTarget=Y;try{X(Z)}catch(J){l0(J)}Z.currentTarget=null}function _N(Z,X){X=(X&4)!==0;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];Z:{var G=void 0,H=J.event;if(J=J.listeners,X)for(var U=J.length-1;0<=U;U--){var B=J[U],F=B.instance,I=B.currentTarget;if(B=B.listener,F!==G&&H.isPropagationStopped())break Z;F!==null?UZ(F,qL,H,B,I):qL(H,B,I),G=F}else for(U=0;U<J.length;U++){if(B=J[U],F=B.instance,I=B.currentTarget,B=B.listener,F!==G&&H.isPropagationStopped())break Z;F!==null?UZ(F,qL,H,B,I):qL(H,B,I),G=F}}}}function qX(Z,X){y9.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[S0];Y===void 0&&(Y=X[S0]=new Set);var J=Z+"__bubble";Y.has(J)||(WN(X,Z,2,!1),Y.add(J))}function aM(Z,X,Y){y9.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 J=0;X&&(J|=4),WN(Y,Z,J,X)}function oM(Z){if(!Z[_A]){Z[_A]=!0,GI.forEach(function(Y){Y!=="selectionchange"&&(y9.has(Y)||aM(Y,!1,Z),aM(Y,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[_A]||(X[_A]=!0,aM("selectionchange",!1,X))}}function WN(Z,X,Y,J){switch(cN(X)){case jQ:var G=x$;break;case LJ:G=y$;break;default:G=K0}Y=G.bind(null,X,Y,Z),G=void 0,!v0||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(G=!0),J?G!==void 0?Z.addEventListener(X,Y,{capture:!0,passive:G}):Z.addEventListener(X,Y,!0):G!==void 0?Z.addEventListener(X,Y,{passive:G}):Z.addEventListener(X,Y,!1)}function rM(Z,X,Y,J,G){var H=J;if((X&1)===0&&(X&2)===0&&J!==null)Z:for(;;){if(J===null)return;var U=J.tag;if(U===3||U===4){var B=J.stateNode.containerInfo;if(B===G)break;if(U===4)for(U=J.return;U!==null;){var F=U.tag;if((F===3||F===4)&&U.stateNode.containerInfo===G)return;U=U.return}for(;B!==null;){if(U=wZ(B),U===null)return;if(F=U.tag,F===5||F===6||F===26||F===27){J=H=U;continue Z}B=B.parentNode}}J=J.return}T8(function(){var I=H,x=NF(Y),y=[];Z:{var S=cI.get(Z);if(S!==void 0){var c=PL,qZ=Z;switch(Z){case"keypress":if(BB(Y)===0)break Z;case"keydown":case"keyup":c=DS;break;case"focusin":qZ="focus",c=m0;break;case"focusout":qZ="blur",c=m0;break;case"beforeblur":case"afterblur":c=m0;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":c=$I;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=OS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=ES;break;case mI:case fI:case uI:c=NS;break;case dI:c=xS;break;case"scroll":case"scrollend":c=LS;break;case"wheel":c=vS;break;case"copy":case"cut":case"paste":c=TS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=EI;break;case"toggle":case"beforetoggle":c=bS}var BZ=(X&4)!==0,PX=!BZ&&(Z==="scroll"||Z==="scrollend"),GX=BZ?S!==null?S+"Capture":null:S;BZ=[];for(var $=I,E;$!==null;){var k=$;if(E=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||E===null||GX===null||(k=cW($,GX),k!=null&&BZ.push(KU($,k,E))),PX)break;$=$.return}0<BZ.length&&(S=new c(S,qZ,null,Y,x),y.push({event:S,listeners:BZ}))}}if((X&7)===0){Z:{if(S=Z==="mouseover"||Z==="pointerover",c=Z==="mouseout"||Z==="pointerout",S&&Y!==VU&&(qZ=Y.relatedTarget||Y.fromElement)&&(wZ(qZ)||qZ[TG]))break Z;if(c||S){if(S=x.window===x?x:(S=x.ownerDocument)?S.defaultView||S.parentWindow:window,c){if(qZ=Y.relatedTarget||Y.toElement,c=I,qZ=qZ?wZ(qZ):null,qZ!==null&&(PX=n(qZ),BZ=qZ.tag,qZ!==PX||BZ!==5&&BZ!==27&&BZ!==6))qZ=null}else c=null,qZ=I;if(c!==qZ){if(BZ=$I,k="onMouseLeave",GX="onMouseEnter",$="mouse",Z==="pointerout"||Z==="pointerover")BZ=EI,k="onPointerLeave",GX="onPointerEnter",$="pointer";if(PX=c==null?S:uZ(c),E=qZ==null?S:uZ(qZ),S=new BZ(k,$+"leave",c,Y,x),S.target=PX,S.relatedTarget=E,k=null,wZ(x)===I&&(BZ=new BZ(GX,$+"enter",qZ,Y,x),BZ.target=E,BZ.relatedTarget=PX,k=BZ),PX=k,c&&qZ)X:{BZ=Z$,GX=c,$=qZ,E=0;for(k=GX;k;k=BZ(k))E++;k=0;for(var r=$;r;r=BZ(r))k++;for(;0<E-k;)GX=BZ(GX),E--;for(;0<k-E;)$=BZ($),k--;for(;E--;){if(GX===$||$!==null&&GX===$.alternate){BZ=GX;break X}GX=BZ(GX),$=BZ($)}BZ=null}else BZ=null;c!==null&&UN(y,S,c,BZ,!1),qZ!==null&&PX!==null&&UN(y,PX,qZ,BZ,!0)}}}Z:{if(S=I?uZ(I):window,c=S.nodeName&&S.nodeName.toLowerCase(),c==="select"||c==="input"&&S.type==="file")var zZ=D8;else if(C8(S))if(bI)zZ=KD;else{zZ=WD;var gZ=_D}else c=S.nodeName,!c||c.toLowerCase()!=="input"||S.type!=="checkbox"&&S.type!=="radio"?I&&uW(I.elementType)&&(zZ=D8):zZ=UD;if(zZ&&(zZ=zZ(Z,I))){P8(y,zZ,Y,x);break Z}gZ&&gZ(Z,S,I),Z==="focusout"&&I&&S.type==="number"&&I.memoizedProps.value!=null&&BF(S,"number",S.value)}switch(gZ=I?uZ(I):window,Z){case"focusin":if(C8(gZ)||gZ.contentEditable==="true")F_=gZ,u0=I,SU=null;break;case"focusout":SU=u0=F_=null;break;case"mousedown":d0=!0;break;case"contextmenu":case"mouseup":case"dragend":d0=!1,v8(y,Y,x);break;case"selectionchange":if(uS)break;case"keydown":case"keyup":v8(y,Y,x)}var DZ;if(f0)Z:{switch(Z){case"compositionstart":var RZ="onCompositionStart";break Z;case"compositionend":RZ="onCompositionEnd";break Z;case"compositionupdate":RZ="onCompositionUpdate";break Z}RZ=void 0}else O_?R8(Z,Y)&&(RZ="onCompositionEnd"):Z==="keydown"&&Y.keyCode===kI&&(RZ="onCompositionStart");if(RZ&&(xI&&Y.locale!=="ko"&&(O_||RZ!=="onCompositionStart"?RZ==="onCompositionEnd"&&O_&&(DZ=w8()):(wG=x,h0=("value"in wG)?wG.value:wG.textContent,O_=!0)),gZ=GL(I,RZ),0<gZ.length&&(RZ=new SI(RZ,Z,null,Y,x),y.push({event:RZ,listeners:gZ}),DZ?RZ.data=DZ:(DZ=j8(Y),DZ!==null&&(RZ.data=DZ)))),DZ=mS?qD(Z,Y):GD(Z,Y))RZ=GL(I,"onBeforeInput"),0<RZ.length&&(gZ=new VS("onBeforeInput","beforeinput",null,Y,x),y.push({event:gZ,listeners:RZ}),gZ.data=DZ);eD(y,Z,I,Y,x)}_N(y,X)})}function KU(Z,X,Y){return{instance:Z,listener:X,currentTarget:Y}}function GL(Z,X){for(var Y=X+"Capture",J=[];Z!==null;){var G=Z,H=G.stateNode;if(G=G.tag,G!==5&&G!==26&&G!==27||H===null||(G=cW(Z,Y),G!=null&&J.unshift(KU(Z,G,H)),G=cW(Z,X),G!=null&&J.push(KU(Z,G,H))),Z.tag===3)return J;Z=Z.return}return[]}function Z$(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==5&&Z.tag!==27);return Z?Z:null}function UN(Z,X,Y,J,G){for(var H=X._reactName,U=[];Y!==null&&Y!==J;){var B=Y,F=B.alternate,I=B.stateNode;if(B=B.tag,F!==null&&F===J)break;B!==5&&B!==26&&B!==27||I===null||(F=I,G?(I=cW(Y,H),I!=null&&U.unshift(KU(Y,I,F))):G||(I=cW(Y,H),I!=null&&U.push(KU(Y,I,F)))),Y=Y.return}U.length!==0&&Z.push({event:X,listeners:U})}function tM(Z,X){XD(Z,X),Z!=="input"&&Z!=="textarea"&&Z!=="select"||X==null||X.value!==null||PI||(PI=!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:vH,possibleRegistrationNames:E0};uW(Z)||typeof X.is==="string"||QD(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 UY(Z,X,Y,J){X!==Y&&(Y=OG(Y),OG(X)!==Y&&(J[Z]=X))}function X$(Z,X,Y){X.forEach(function(J){Y[LN(J)]=J==="style"?Z0(Z):Z.getAttribute(J)})}function nJ(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 KN(Z,X){return Z=Z.namespaceURI===RL||Z.namespaceURI===K_?Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName):Z.ownerDocument.createElement(Z.tagName),Z.innerHTML=X,Z.innerHTML}function OG(Z){return yY(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.",BQ(Z)),oX(Z)),(typeof Z==="string"?Z:""+Z).replace(BE,`
|
|
181
|
+
`).replace(LE,"")}function BN(Z,X){return X=OG(X),OG(Z)===X?!0:!1}function wX(Z,X,Y,J,G,H){switch(Y){case"children":if(typeof J==="string")KB(J,X,!1),X==="body"||X==="textarea"&&J===""||fW(Z,J);else if(typeof J==="number"||typeof J==="bigint")KB(""+J,X,!1),X!=="body"&&fW(Z,""+J);break;case"className":_B(Z,"class",J);break;case"tabIndex":_B(Z,"tabindex",J);break;case"dir":case"role":case"viewBox":case"width":case"height":_B(Z,Y,J);break;case"style":M8(Z,J,H);break;case"data":if(X!=="object"){_B(Z,"data",J);break}case"src":case"href":if(J===""&&(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(J==null||typeof J==="function"||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}PZ(J,Y),J=dW(""+J),Z.setAttribute(Y,J);break;case"action":case"formAction":if(J!=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 J==="function"&&(G.encType==null&&G.method==null||KA||(KA=!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.")),G.target==null||UA||(UA=!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"||G.type==="submit"||G.type==="image"||WA?X!=="button"||G.type==null||G.type==="submit"||WA?typeof J==="function"&&(G.name==null||KT||(KT=!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.')),G.formEncType==null&&G.formMethod==null||KA||(KA=!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.")),G.formTarget==null||UA||(UA=!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."))):(WA=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(WA=!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 J==="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 H==="function"&&(Y==="formAction"?(X!=="input"&&wX(Z,X,"name",G.name,G,null),wX(Z,X,"formEncType",G.formEncType,G,null),wX(Z,X,"formMethod",G.formMethod,G,null),wX(Z,X,"formTarget",G.formTarget,G,null)):(wX(Z,X,"encType",G.encType,G,null),wX(Z,X,"method",G.method,G,null),wX(Z,X,"target",G.target,G,null)));if(J==null||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}PZ(J,Y),J=dW(""+J),Z.setAttribute(Y,J);break;case"onClick":J!=null&&(typeof J!=="function"&&nJ(Y,J),Z.onclick=Nq);break;case"onScroll":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scrollend",Z));break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))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=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"multiple":Z.multiple=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"muted":Z.muted=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(J==null||typeof J==="function"||typeof J==="boolean"||typeof J==="symbol"){Z.removeAttribute("xlink:href");break}PZ(J,Y),Y=dW(""+J),Z.setAttributeNS(tH,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":J!=null&&typeof J!=="function"&&typeof J!=="symbol"?(PZ(J,Y),Z.setAttribute(Y,""+J)):Z.removeAttribute(Y);break;case"inert":J!==""||BA[Y]||(BA[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":J&&typeof J!=="function"&&typeof J!=="symbol"?Z.setAttribute(Y,""):Z.removeAttribute(Y);break;case"capture":case"download":J===!0?Z.setAttribute(Y,""):J!==!1&&J!=null&&typeof J!=="function"&&typeof J!=="symbol"?(PZ(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&!isNaN(J)&&1<=J?(PZ(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"rowSpan":case"start":J==null||typeof J==="function"||typeof J==="symbol"||isNaN(J)?Z.removeAttribute(Y):(PZ(J,Y),Z.setAttribute(Y,J));break;case"popover":qX("beforetoggle",Z),qX("toggle",Z),zB(Z,"popover",J);break;case"xlinkActuate":Mq(Z,tH,"xlink:actuate",J);break;case"xlinkArcrole":Mq(Z,tH,"xlink:arcrole",J);break;case"xlinkRole":Mq(Z,tH,"xlink:role",J);break;case"xlinkShow":Mq(Z,tH,"xlink:show",J);break;case"xlinkTitle":Mq(Z,tH,"xlink:title",J);break;case"xlinkType":Mq(Z,tH,"xlink:type",J);break;case"xmlBase":Mq(Z,v9,"xml:base",J);break;case"xmlLang":Mq(Z,v9,"xml:lang",J);break;case"xmlSpace":Mq(Z,v9,"xml:space",J);break;case"is":H!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),zB(Z,"is",J);break;case"innerText":case"textContent":break;case"popoverTarget":BT||J==null||typeof J!=="object"||(BT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",J));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=N8(Y),zB(Z,Y,J)):vH.hasOwnProperty(Y)&&J!=null&&typeof J!=="function"&&nJ(Y,J)}}function eM(Z,X,Y,J,G,H){switch(Y){case"style":M8(Z,J,H);break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))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=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"children":typeof J==="string"?fW(Z,J):(typeof J==="number"||typeof J==="bigint")&&fW(Z,""+J);break;case"onScroll":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&nJ(Y,J),qX("scrollend",Z));break;case"onClick":J!=null&&(typeof J!=="function"&&nJ(Y,J),Z.onclick=Nq);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(vH.hasOwnProperty(Y))J!=null&&typeof J!=="function"&&nJ(Y,J);else Z:{if(Y[0]==="o"&&Y[1]==="n"&&(G=Y.endsWith("Capture"),X=Y.slice(2,G?Y.length-7:void 0),H=Z[uY]||null,H=H!=null?H[Y]:null,typeof H==="function"&&Z.removeEventListener(X,H,G),typeof J==="function")){typeof H!=="function"&&H!==null&&(Y in Z?Z[Y]=null:Z.hasAttribute(Y)&&Z.removeAttribute(Y)),Z.addEventListener(X,J,G);break Z}Y in Z?Z[Y]=J:J===!0?Z.setAttribute(Y,""):zB(Z,Y,J)}}}function VY(Z,X,Y){switch(tM(X,Y),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":qX("error",Z),qX("load",Z);var J=!1,G=!1,H;for(H in Y)if(Y.hasOwnProperty(H)){var U=Y[H];if(U!=null)switch(H){case"src":J=!0;break;case"srcSet":G=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,H,U,Y,null)}}G&&wX(Z,X,"srcSet",Y.srcSet,Y,null),J&&wX(Z,X,"src",Y.src,Y,null);return;case"input":qG("input",Y),qX("invalid",Z);var B=H=U=G=null,F=null,I=null;for(J in Y)if(Y.hasOwnProperty(J)){var x=Y[J];if(x!=null)switch(J){case"name":G=x;break;case"type":U=x;break;case"checked":F=x;break;case"defaultChecked":I=x;break;case"value":H=x;break;case"defaultValue":B=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,J,x,Y,null)}}Y8(Z,Y),Q8(Z,H,B,F,I,U,G,!1);return;case"select":qG("select",Y),qX("invalid",Z),J=U=H=null;for(G in Y)if(Y.hasOwnProperty(G)&&(B=Y[G],B!=null))switch(G){case"value":H=B;break;case"defaultValue":U=B;break;case"multiple":J=B;default:wX(Z,X,G,B,Y,null)}G8(Z,Y),X=H,Y=U,Z.multiple=!!J,X!=null?cz(Z,!!J,X,!1):Y!=null&&cz(Z,!!J,Y,!0);return;case"textarea":qG("textarea",Y),qX("invalid",Z),H=G=J=null;for(U in Y)if(Y.hasOwnProperty(U)&&(B=Y[U],B!=null))switch(U){case"value":J=B;break;case"defaultValue":G=B;break;case"children":H=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:wX(Z,X,U,B,Y,null)}H8(Z,Y),_8(Z,J,G,H);return;case"option":J8(Z,Y);for(F in Y)if(Y.hasOwnProperty(F)&&(J=Y[F],J!=null))switch(F){case"selected":Z.selected=J&&typeof J!=="function"&&typeof J!=="symbol";break;default:wX(Z,X,F,J,Y,null)}return;case"dialog":qX("beforetoggle",Z),qX("toggle",Z),qX("cancel",Z),qX("close",Z);break;case"iframe":case"object":qX("load",Z);break;case"video":case"audio":for(J=0;J<GK.length;J++)qX(GK[J],Z);break;case"image":qX("error",Z),qX("load",Z);break;case"details":qX("toggle",Z);break;case"embed":case"source":case"link":qX("error",Z),qX("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(I in Y)if(Y.hasOwnProperty(I)&&(J=Y[I],J!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,I,J,Y,null)}return;default:if(uW(X)){for(x in Y)Y.hasOwnProperty(x)&&(J=Y[x],J!==void 0&&eM(Z,X,x,J,Y,void 0));return}}for(B in Y)Y.hasOwnProperty(B)&&(J=Y[B],J!=null&&wX(Z,X,B,J,Y,null))}function Y$(Z,X,Y,J){switch(tM(X,J),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var G=null,H=null,U=null,B=null,F=null,I=null,x=null;for(c in Y){var y=Y[c];if(Y.hasOwnProperty(c)&&y!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":F=y;default:J.hasOwnProperty(c)||wX(Z,X,c,null,J,y)}}for(var S in J){var c=J[S];if(y=Y[S],J.hasOwnProperty(S)&&(c!=null||y!=null))switch(S){case"type":H=c;break;case"name":G=c;break;case"checked":I=c;break;case"defaultChecked":x=c;break;case"value":U=c;break;case"defaultValue":B=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:c!==y&&wX(Z,X,S,c,J,y)}}X=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,J=J.type==="checkbox"||J.type==="radio"?J.checked!=null:J.value!=null,X||!J||UT||(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"),UT=!0),!X||J||WT||(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"),WT=!0),KF(Z,U,B,F,I,x,H,G);return;case"select":c=U=B=S=null;for(H in Y)if(F=Y[H],Y.hasOwnProperty(H)&&F!=null)switch(H){case"value":break;case"multiple":c=F;default:J.hasOwnProperty(H)||wX(Z,X,H,null,J,F)}for(G in J)if(H=J[G],F=Y[G],J.hasOwnProperty(G)&&(H!=null||F!=null))switch(G){case"value":S=H;break;case"defaultValue":B=H;break;case"multiple":U=H;default:H!==F&&wX(Z,X,G,H,J,F)}J=B,X=U,Y=c,S!=null?cz(Z,!!X,S,!1):!!Y!==!!X&&(J!=null?cz(Z,!!X,J,!0):cz(Z,!!X,X?[]:"",!1));return;case"textarea":c=S=null;for(B in Y)if(G=Y[B],Y.hasOwnProperty(B)&&G!=null&&!J.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:wX(Z,X,B,null,J,G)}for(U in J)if(G=J[U],H=Y[U],J.hasOwnProperty(U)&&(G!=null||H!=null))switch(U){case"value":S=G;break;case"defaultValue":c=G;break;case"children":break;case"dangerouslySetInnerHTML":if(G!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:G!==H&&wX(Z,X,U,G,J,H)}z8(Z,S,c);return;case"option":for(var qZ in Y)if(S=Y[qZ],Y.hasOwnProperty(qZ)&&S!=null&&!J.hasOwnProperty(qZ))switch(qZ){case"selected":Z.selected=!1;break;default:wX(Z,X,qZ,null,J,S)}for(F in J)if(S=J[F],c=Y[F],J.hasOwnProperty(F)&&S!==c&&(S!=null||c!=null))switch(F){case"selected":Z.selected=S&&typeof S!=="function"&&typeof S!=="symbol";break;default:wX(Z,X,F,S,J,c)}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 BZ in Y)S=Y[BZ],Y.hasOwnProperty(BZ)&&S!=null&&!J.hasOwnProperty(BZ)&&wX(Z,X,BZ,null,J,S);for(I in J)if(S=J[I],c=Y[I],J.hasOwnProperty(I)&&S!==c&&(S!=null||c!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,I,S,J,c)}return;default:if(uW(X)){for(var PX in Y)S=Y[PX],Y.hasOwnProperty(PX)&&S!==void 0&&!J.hasOwnProperty(PX)&&eM(Z,X,PX,void 0,J,S);for(x in J)S=J[x],c=Y[x],!J.hasOwnProperty(x)||S===c||S===void 0&&c===void 0||eM(Z,X,x,S,J,c);return}}for(var GX in Y)S=Y[GX],Y.hasOwnProperty(GX)&&S!=null&&!J.hasOwnProperty(GX)&&wX(Z,X,GX,null,J,S);for(y in J)S=J[y],c=Y[y],!J.hasOwnProperty(y)||S===c||S==null&&c==null||wX(Z,X,y,S,J,c)}function LN(Z){switch(Z){case"class":return"className";case"for":return"htmlFor";default:return Z}}function Z0(Z){var X={};Z=Z.style;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];X[J]=Z.getPropertyValue(J)}return X}function AN(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 J,G=J="",H;for(H in X)if(X.hasOwnProperty(H)){var U=X[H];U!=null&&typeof U!=="boolean"&&U!==""&&(H.indexOf("--")===0?(Fq(U,H),J+=G+H+":"+(""+U).trim()):typeof U!=="number"||U===0||jI.has(H)?(Fq(U,H),J+=G+H.replace(II,"-$1").toLowerCase().replace(TI,"-ms-")+":"+(""+U).trim()):J+=G+H.replace(II,"-$1").toLowerCase().replace(TI,"-ms-")+":"+U+"px",G=";")}J=J||null,X=Z.getAttribute("style"),X!==J&&(J=OG(J),OG(X)!==J&&(Y.style=Z0(Z)))}}function uQ(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(PZ(J,X),Z===""+J)return}UY(X,Z,J,H)}function ON(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null){switch(typeof J){case"function":case"symbol":return}if(!J)return}else switch(typeof J){case"function":case"symbol":break;default:if(J)return}UY(X,Z,J,H)}function X0(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":return}else if(J!=null)switch(typeof J){case"function":case"symbol":break;default:if(PZ(J,Y),Z===""+J)return}UY(X,Z,J,H)}function FN(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(J))return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(!isNaN(J)&&(PZ(J,X),Z===""+J))return}UY(X,Z,J,H)}function Y0(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(PZ(J,X),Y=dW(""+J),Z===Y)return}UY(X,Z,J,H)}function MN(Z,X,Y,J){for(var G={},H=new Set,U=Z.attributes,B=0;B<U.length;B++)switch(U[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:H.add(U[B].name)}if(uW(X)){for(var F in Y)if(Y.hasOwnProperty(F)){var I=Y[F];if(I!=null){if(vH.hasOwnProperty(F))typeof I!=="function"&&nJ(F,I);else if(Y.suppressHydrationWarning!==!0)switch(F){case"children":typeof I!=="string"&&typeof I!=="number"||UY("children",Z.textContent,I,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,I=I?I.__html:void 0,I!=null&&(I=KN(Z,I),UY(F,U,I,G));continue;case"style":H.delete(F),AN(Z,I,G);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":H.delete(F.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",F);continue;case"className":H.delete("class"),U=e5(Z,"class",I),UY("className",U,I,G);continue;default:J.context===uq&&X!=="svg"&&X!=="math"?H.delete(F.toLowerCase()):H.delete(F),U=e5(Z,F,I),UY(F,U,I,G)}}}}else for(I in Y)if(Y.hasOwnProperty(I)&&(F=Y[I],F!=null)){if(vH.hasOwnProperty(I))typeof F!=="function"&&nJ(I,F);else if(Y.suppressHydrationWarning!==!0)switch(I){case"children":typeof F!=="string"&&typeof F!=="number"||UY("children",Z.textContent,F,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,F=F?F.__html:void 0,F!=null&&(F=KN(Z,F),U!==F&&(G[I]={__html:U}));continue;case"className":uQ(Z,I,"class",F,H,G);continue;case"tabIndex":uQ(Z,I,"tabindex",F,H,G);continue;case"style":H.delete(I),AN(Z,F,G);continue;case"multiple":H.delete(I),UY(I,Z.multiple,F,G);continue;case"muted":H.delete(I),UY(I,Z.muted,F,G);continue;case"autoFocus":H.delete("autofocus"),UY(I,Z.autofocus,F,G);continue;case"data":if(X!=="object"){H.delete(I),U=Z.getAttribute("data"),UY(I,U,F,G);continue}case"src":case"href":if(!(F!==""||X==="a"&&I==="href"||X==="object"&&I==="data")){I==="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.',I,I):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.',I,I);continue}Y0(Z,I,I,F,H,G);continue;case"action":case"formAction":if(U=Z.getAttribute(I),typeof F==="function"){H.delete(I.toLowerCase()),I==="formAction"?(H.delete("name"),H.delete("formenctype"),H.delete("formmethod"),H.delete("formtarget")):(H.delete("enctype"),H.delete("method"),H.delete("target"));continue}else if(U===AE){H.delete(I.toLowerCase()),UY(I,"function",F,G);continue}Y0(Z,I,I.toLowerCase(),F,H,G);continue;case"xlinkHref":Y0(Z,I,"xlink:href",F,H,G);continue;case"contentEditable":X0(Z,I,"contenteditable",F,H,G);continue;case"spellCheck":X0(Z,I,"spellcheck",F,H,G);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":X0(Z,I,I,F,H,G);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":ON(Z,I,I.toLowerCase(),F,H,G);continue;case"capture":case"download":Z:{B=Z;var x=U=I,y=G;if(H.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":break Z;default:if(F===!1)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":break;case"boolean":if(F===!0&&B==="")break Z;break;default:if(PZ(F,U),B===""+F)break Z}UY(U,B,F,y)}continue;case"cols":case"rows":case"size":case"span":Z:{if(B=Z,x=U=I,y=G,H.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":break Z;default:if(isNaN(F)||1>F)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(F)||1>F)&&(PZ(F,U),B===""+F))break Z}UY(U,B,F,y)}continue;case"rowSpan":FN(Z,I,"rowspan",F,H,G);continue;case"start":FN(Z,I,I,F,H,G);continue;case"xHeight":uQ(Z,I,"x-height",F,H,G);continue;case"xlinkActuate":uQ(Z,I,"xlink:actuate",F,H,G);continue;case"xlinkArcrole":uQ(Z,I,"xlink:arcrole",F,H,G);continue;case"xlinkRole":uQ(Z,I,"xlink:role",F,H,G);continue;case"xlinkShow":uQ(Z,I,"xlink:show",F,H,G);continue;case"xlinkTitle":uQ(Z,I,"xlink:title",F,H,G);continue;case"xlinkType":uQ(Z,I,"xlink:type",F,H,G);continue;case"xmlBase":uQ(Z,I,"xml:base",F,H,G);continue;case"xmlLang":uQ(Z,I,"xml:lang",F,H,G);continue;case"xmlSpace":uQ(Z,I,"xml:space",F,H,G);continue;case"inert":F!==""||BA[I]||(BA[I]=!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.",I)),ON(Z,I,I,F,H,G);continue;default:if(!(2<I.length)||I[0]!=="o"&&I[0]!=="O"||I[1]!=="n"&&I[1]!=="N"){B=N8(I),U=!1,J.context===uq&&X!=="svg"&&X!=="math"?H.delete(B.toLowerCase()):(x=I.toLowerCase(),x=jL.hasOwnProperty(x)?jL[x]||null:null,x!==null&&x!==I&&(U=!0,H.delete(x)),H.delete(B));Z:if(x=Z,y=B,B=F,bW(y))if(x.hasAttribute(y))x=x.getAttribute(y),PZ(B,y),B=x===""+B?B:x;else{switch(typeof B){case"function":case"symbol":break Z;case"boolean":if(x=y.toLowerCase().slice(0,5),x!=="data-"&&x!=="aria-")break Z}B=B===void 0?void 0:null}else B=void 0;U||UY(I,B,F,G)}}}return 0<H.size&&Y.suppressHydrationWarning!==!0&&X$(Z,H,G),Object.keys(G).length===0?null:G}function Q$(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 NN(Z){switch(Z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function J$(){if(typeof performance.getEntriesByType==="function"){for(var Z=0,X=0,Y=performance.getEntriesByType("resource"),J=0;J<Y.length;J++){var G=Y[J],H=G.transferSize,U=G.initiatorType,B=G.duration;if(H&&B&&NN(U)){U=0,B=G.responseEnd;for(J+=1;J<Y.length;J++){var F=Y[J],I=F.startTime;if(I>B)break;var{transferSize:x,initiatorType:y}=F;x&&NN(y)&&(F=F.responseEnd,U+=x*(F<B?1:(B-I)/(F-I)))}if(--J,X+=8*(H+U)/(G.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 HL(Z){return Z.nodeType===9?Z:Z.ownerDocument}function IN(Z){switch(Z){case K_:return d_;case RL:return AA;default:return uq}}function TN(Z,X){if(Z===uq)switch(X){case"svg":return d_;case"math":return AA;default:return uq}return Z===d_&&X==="foreignObject"?uq:Z}function Q0(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 q$(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===m9)return!1;return m9=Z,!0}return m9=null,!1}function BU(){var Z=window.event;return Z&&Z!==_K?Z.type:null}function LU(){var Z=window.event;return Z&&Z!==_K?Z.timeStamp:-1.1}function G$(Z){setTimeout(function(){throw Z})}function H$(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 z$(){}function _$(Z,X,Y,J){Y$(Z,X,Y,J),Z[uY]=J}function wN(Z){fW(Z,"")}function W$(Z,X,Y){Z.nodeValue=Y}function VN(Z){if(!Z.__reactWarnedAboutChildrenConflict){var X=Z[uY]||null;if(X!==null){var Y=fZ(Z);Y!==null&&(typeof X.children==="string"||typeof X.children==="number"?(Z.__reactWarnedAboutChildrenConflict=!0,UZ(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,UZ(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 FG(Z){return Z==="head"}function U$(Z,X){Z.removeChild(X)}function K$(Z,X){(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z).removeChild(X)}function RN(Z,X){var Y=X,J=0;do{var G=Y.nextSibling;if(Z.removeChild(Y),G&&G.nodeType===8)if(Y=G.data,Y===zK||Y===LA){if(J===0){Z.removeChild(G),G_(X);return}J--}else if(Y===HK||Y===uG||Y===Zz||Y===u_||Y===eH)J++;else if(Y===FE)AU(Z.ownerDocument.documentElement);else if(Y===NE){Y=Z.ownerDocument.head,AU(Y);for(var H=Y.firstChild;H;){var{nextSibling:U,nodeName:B}=H;H[wU]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&H.rel.toLowerCase()==="stylesheet"||Y.removeChild(H),H=U}}else Y===ME&&AU(Z.ownerDocument.body);Y=G}while(Y);G_(X)}function jN(Z,X){var Y=Z;Z=0;do{var J=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||""),J&&J.nodeType===8)if(Y=J.data,Y===zK)if(Z===0)break;else Z--;else Y!==HK&&Y!==uG&&Y!==Zz&&Y!==u_||Z++;Y=J}while(Y)}function B$(Z){jN(Z,!0)}function L$(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function A$(Z){Z.nodeValue=""}function O$(Z){jN(Z,!1)}function F$(Z,X){X=X[IE],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function M$(Z,X){Z.nodeValue=X}function J0(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":J0(Y),HZ(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(Y)}}function N$(Z,X,Y,J){for(;Z.nodeType===1;){var G=Y;if(Z.nodeName.toLowerCase()!==X.toLowerCase()){if(!J&&(Z.nodeName!=="INPUT"||Z.type!=="hidden"))break}else if(!J)if(X==="input"&&Z.type==="hidden"){PZ(G.name,"name");var H=G.name==null?null:""+G.name;if(G.type==="hidden"&&Z.getAttribute("name")===H)return Z}else return Z;else if(!Z[wU])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(H=Z.getAttribute("rel"),H==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(H!==G.rel||Z.getAttribute("href")!==(G.href==null||G.href===""?null:G.href)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin)||Z.getAttribute("title")!==(G.title==null?null:G.title))break;return Z;case"style":if(Z.hasAttribute("data-precedence"))break;return Z;case"script":if(H=Z.getAttribute("src"),(H!==(G.src==null?null:G.src)||Z.getAttribute("type")!==(G.type==null?null:G.type)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin))&&H&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=wQ(Z.nextSibling),Z===null)break}return null}function I$(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=wQ(Z.nextSibling),Z===null)return null}return Z}function CN(Z,X){for(;Z.nodeType!==8;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!X)return null;if(Z=wQ(Z.nextSibling),Z===null)return null}return Z}function q0(Z){return Z.data===uG||Z.data===Zz}function G0(Z){return Z.data===u_||Z.data===uG&&Z.ownerDocument.readyState!==AT}function T$(Z,X){var Y=Z.ownerDocument;if(Z.data===Zz)Z._reactRetry=X;else if(Z.data!==uG||Y.readyState!==AT)X();else{var J=function(){X(),Y.removeEventListener("DOMContentLoaded",J)};Y.addEventListener("DOMContentLoaded",J),Z._reactRetry=J}}function wQ(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===HK||X===u_||X===uG||X===Zz||X===eH||X===h9||X===LT)break;if(X===zK||X===LA)return null}}return Z}function PN(Z){if(Z.nodeType===1){for(var X=Z.nodeName.toLowerCase(),Y={},J=Z.attributes,G=0;G<J.length;G++){var H=J[G];Y[LN(H.name)]=H.name.toLowerCase()==="style"?Z0(Z):H.value}return{type:X,props:Y}}return Z.nodeType===8?Z.data===eH?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function DN(Z,X,Y){return Y===null||Y[OE]!==!0?(Z.nodeValue===X?Z=null:(X=OG(X),Z=OG(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function H0(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===zK||Y===LA){if(X===0)return wQ(Z.nextSibling);X--}else Y!==HK&&Y!==u_&&Y!==uG&&Y!==Zz&&Y!==eH||X++}Z=Z.nextSibling}return null}function $N(Z){Z=Z.previousSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===HK||Y===u_||Y===uG||Y===Zz||Y===eH){if(X===0)return Z;X--}else Y!==zK&&Y!==LA||X++}Z=Z.previousSibling}return null}function w$(Z){G_(Z)}function V$(Z){G_(Z)}function R$(Z){G_(Z)}function SN(Z,X,Y,J,G){switch(G&&MF(Z,J.ancestorInfo),X=HL(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 j$(Z,X,Y,J){if(!Y[TG]&&fZ(Y)){var G=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.",G,G,G)}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(G=Y.attributes;G.length;)Y.removeAttributeNode(G[0]);VY(Y,Z,X),Y[RY]=J,Y[uY]=X}function AU(Z){for(var X=Z.attributes;X.length;)Z.removeAttributeNode(X[0]);HZ(Z)}function zL(Z){return typeof Z.getRootNode==="function"?Z.getRootNode():Z.nodeType===9?Z:Z.ownerDocument}function EN(Z,X,Y){var J=c_;if(J&&typeof X==="string"&&X){var G=fQ(X);G='link[rel="'+Z+'"][href="'+G+'"]',typeof Y==="string"&&(G+='[crossorigin="'+Y+'"]'),TT.has(G)||(TT.add(G),Z={rel:Z,crossOrigin:Y,href:X},J.querySelector(G)===null&&(X=J.createElement("link"),VY(X,"link",Z),SZ(X),J.head.appendChild(X)))}}function kN(Z,X,Y,J){var G=(G=NG.current)?zL(G):null;if(!G)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=J_(Y.href),X=WX(G).hoistableStyles,J=X.get(Y),J||(J={type:"style",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){Z=J_(Y.href);var H=WX(G).hoistableStyles,U=H.get(Z);if(!U&&(G=G.ownerDocument||G,U={type:"stylesheet",instance:null,count:0,state:{loading:Yz,preload:null}},H.set(Z,U),(H=G.querySelector(OU(Z)))&&!H._p&&(U.instance=H,U.state.loading=WK|tQ),!eQ.has(Z))){var B={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};eQ.set(Z,B),H||C$(G,Z,B,U.state)}if(X&&J===null)throw Y=`
|
|
182
|
+
|
|
183
|
+
- `+_L(X)+`
|
|
184
|
+
+ `+_L(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 U}if(X&&J!==null)throw Y=`
|
|
185
|
+
|
|
186
|
+
- `+_L(X)+`
|
|
187
|
+
+ `+_L(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=q_(Y),X=WX(G).hoistableScripts,J=X.get(Y),J||(J={type:"script",instance:null,count:0,state:null},X.set(Y,J)),J):{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 _L(Z){var X=0,Y="<link";return typeof Z.rel==="string"?(X++,Y+=' rel="'+Z.rel+'"'):BJ.call(Z,"rel")&&(X++,Y+=' rel="'+(Z.rel===null?"null":"invalid type "+typeof Z.rel)+'"'),typeof Z.href==="string"?(X++,Y+=' href="'+Z.href+'"'):BJ.call(Z,"href")&&(X++,Y+=' href="'+(Z.href===null?"null":"invalid type "+typeof Z.href)+'"'),typeof Z.precedence==="string"?(X++,Y+=' precedence="'+Z.precedence+'"'):BJ.call(Z,"precedence")&&(X++,Y+=" precedence={"+(Z.precedence===null?"null":"invalid type "+typeof Z.precedence)+"}"),Object.getOwnPropertyNames(Z).length>X&&(Y+=" ..."),Y+" />"}function J_(Z){return'href="'+fQ(Z)+'"'}function OU(Z){return'link[rel="stylesheet"]['+Z+"]"}function xN(Z){return rZ({},Z,{"data-precedence":Z.precedence,precedence:null})}function C$(Z,X,Y,J){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?J.loading=WK:(X=Z.createElement("link"),J.preload=X,X.addEventListener("load",function(){return J.loading|=WK}),X.addEventListener("error",function(){return J.loading|=NT}),VY(X,"link",Y),SZ(X),Z.head.appendChild(X))}function q_(Z){return'[src="'+fQ(Z)+'"]'}function FU(Z){return"script[async]"+Z}function yN(Z,X,Y){if(X.count++,X.instance===null)switch(X.type){case"style":var J=Z.querySelector('style[data-href~="'+fQ(Y.href)+'"]');if(J)return X.instance=J,SZ(J),J;var G=rZ({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return J=(Z.ownerDocument||Z).createElement("style"),SZ(J),VY(J,"style",G),WL(J,Y.precedence,Z),X.instance=J;case"stylesheet":G=J_(Y.href);var H=Z.querySelector(OU(G));if(H)return X.state.loading|=tQ,X.instance=H,SZ(H),H;J=xN(Y),(G=eQ.get(G))&&z0(J,G),H=(Z.ownerDocument||Z).createElement("link"),SZ(H);var U=H;return U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),VY(H,"link",J),X.state.loading|=tQ,WL(H,Y.precedence,Z),X.instance=H;case"script":if(H=q_(Y.src),G=Z.querySelector(FU(H)))return X.instance=G,SZ(G),G;if(J=Y,G=eQ.get(H))J=rZ({},Y),_0(J,G);return Z=Z.ownerDocument||Z,G=Z.createElement("script"),SZ(G),VY(G,"link",J),Z.head.appendChild(G),X.instance=G;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&tQ)===Yz&&(J=X.instance,X.state.loading|=tQ,WL(J,Y.precedence,Z));return X.instance}function WL(Z,X,Y){for(var J=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),G=J.length?J[J.length-1]:null,H=G,U=0;U<J.length;U++){var B=J[U];if(B.dataset.precedence===X)H=B;else if(H!==G)break}H?H.parentNode.insertBefore(Z,H.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(Z,X.firstChild))}function z0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function _0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.integrity==null&&(Z.integrity=X.integrity)}function vN(Z,X,Y){if(OA===null){var J=new Map,G=OA=new Map;G.set(Y,J)}else G=OA,J=G.get(Y),J||(J=new Map,G.set(Y,J));if(J.has(Z))return J;J.set(Z,null),Y=Y.getElementsByTagName(Z);for(G=0;G<Y.length;G++){var H=Y[G];if(!(H[wU]||H[RY]||Z==="link"&&H.getAttribute("rel")==="stylesheet")&&H.namespaceURI!==K_){var U=H.getAttribute(X)||"";U=Z+U;var B=J.get(U);B?B.push(H):J.set(U,[H])}}return J}function hN(Z,X,Y){Z=Z.ownerDocument||Z,Z.head.insertBefore(Y,X==="title"?Z.querySelector("head > title"):null)}function P$(Z,X,Y){var J=!Y.ancestorInfo.containerTagInScope;if(Y.context===d_||X.itemProp!=null)return!J||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===""){J&&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:G,disabled:H}=X;Y=[],X.onLoad&&Y.push("`onLoad`"),G&&Y.push("`onError`"),H!=null&&Y.push("`disabled`"),G=Q$(Y,"and"),G+=Y.length===1?" prop":" props",H=Y.length===1?"an "+G:"the "+G,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,H,G)}J&&(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"&&J&&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"){J&&(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":J&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",Z)}return!1}function bN(Z){return Z.type==="stylesheet"&&(Z.state.loading&IT)===Yz?!1:!0}function D$(Z,X,Y,J){if(Y.type==="stylesheet"&&(typeof J.media!=="string"||matchMedia(J.media).matches!==!1)&&(Y.state.loading&tQ)===Yz){if(Y.instance===null){var G=J_(J.href),H=X.querySelector(OU(G));if(H){X=H._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=UL.bind(Z),X.then(Z,Z)),Y.state.loading|=tQ,Y.instance=H,SZ(H);return}H=X.ownerDocument||X,J=xN(J),(G=eQ.get(G))&&z0(J,G),H=H.createElement("link"),SZ(H);var U=H;U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),VY(H,"link",J),Y.instance=H}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&IT)===Yz&&(Z.count++,Y=UL.bind(Z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function $$(Z,X){return Z.stylesheets&&Z.count===0&&KL(Z,Z.stylesheets),0<Z.count||0<Z.imgCount?function(Y){var J=setTimeout(function(){if(Z.stylesheets&&KL(Z,Z.stylesheets),Z.unsuspend){var H=Z.unsuspend;Z.unsuspend=null,H()}},VE+X);0<Z.imgBytes&&u9===0&&(u9=125*J$()*jE);var G=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&KL(Z,Z.stylesheets),Z.unsuspend)){var H=Z.unsuspend;Z.unsuspend=null,H()}},(Z.imgBytes>u9?50:RE)+X);return Z.unsuspend=Y,function(){Z.unsuspend=null,clearTimeout(J),clearTimeout(G)}}:null}function UL(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)KL(this,this.stylesheets);else if(this.unsuspend){var Z=this.unsuspend;this.unsuspend=null,Z()}}}function KL(Z,X){Z.stylesheets=null,Z.unsuspend!==null&&(Z.count++,FA=new Map,X.forEach(S$,Z),FA=null,UL.call(Z))}function S$(Z,X){if(!(X.state.loading&tQ)){var Y=FA.get(Z);if(Y)var J=Y.get(d9);else{Y=new Map,FA.set(Z,Y);for(var G=Z.querySelectorAll("link[data-precedence],style[data-precedence]"),H=0;H<G.length;H++){var U=G[H];if(U.nodeName==="LINK"||U.getAttribute("media")!=="not all")Y.set(U.dataset.precedence,U),J=U}J&&Y.set(d9,J)}G=X.instance,U=G.getAttribute("data-precedence"),H=Y.get(U)||J,H===J&&Y.set(d9,G),Y.set(U,G),this.count++,J=UL.bind(this),G.addEventListener("load",J),G.addEventListener("error",J),H?H.parentNode.insertBefore(G,H.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(G,Z.firstChild)),X.state.loading|=tQ}}function E$(Z,X,Y,J,G,H,U,B,F){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Xz,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=dz(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dz(0),this.hiddenUpdates=dz(null),this.identifierPrefix=J,this.onUncaughtError=G,this.onCaughtError=H,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,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 gN(Z,X,Y,J,G,H,U,B,F,I,x,y){return Z=new E$(Z,X,Y,U,F,I,x,y,B),X=oS,H===!0&&(X|=gY|AJ),X|=iZ,H=R(3,null,null,X),Z.current=H,H.stateNode=Z,X=bF(),DH(X),Z.pooledCache=X,DH(X),H.memoizedState={element:J,isDehydrated:Y,cache:X},dF(H),Z}function mN(Z){if(!Z)return jG;return Z=jG,Z}function W0(Z,X,Y,J,G,H){if(bY&&typeof bY.onScheduleFiberRoot==="function")try{bY.onScheduleFiberRoot(W_,J,Y)}catch(U){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",U))}G=mN(G),J.context===null?J.context=G:J.pendingContext=G,oJ&&RQ!==null&&!jT&&(jT=!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.
|
|
188
|
+
|
|
189
|
+
Check the render method of %s.`,o(RQ)||"Unknown")),J=WG(X),J.payload={element:Y},H=H===void 0?null:H,H!==null&&(typeof H!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",H),J.callback=H),Y=UG(Z,J,X),Y!==null&&(vJ(X,"root.render()",null),gX(Y,Z,X),rW(Y,Z,X))}function fN(Z,X){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var Y=Z.retryLane;Z.retryLane=Y!==0&&Y<X?Y:X}}function U0(Z,X){fN(Z,X),(Z=Z.alternate)&&fN(Z,X)}function uN(Z){if(Z.tag===13||Z.tag===31){var X=hY(Z,67108864);X!==null&&gX(X,Z,67108864),U0(Z,67108864)}}function dN(Z){if(Z.tag===13||Z.tag===31){var X=TQ(Z);X=NH(X);var Y=hY(Z,X);Y!==null&&gX(Y,Z,X),U0(Z,X)}}function k$(){return RQ}function x$(Z,X,Y,J){var G=i.T;i.T=null;var H=OX.p;try{OX.p=jQ,K0(Z,X,Y,J)}finally{OX.p=H,i.T=G}}function y$(Z,X,Y,J){var G=i.T;i.T=null;var H=OX.p;try{OX.p=LJ,K0(Z,X,Y,J)}finally{OX.p=H,i.T=G}}function K0(Z,X,Y,J){if(NA){var G=B0(J);if(G===null)rM(Z,X,J,IA,Y),pN(Z,J);else if(v$(G,Z,X,Y,J))J.stopPropagation();else if(pN(Z,J),X&4&&-1<PE.indexOf(Z)){for(;G!==null;){var H=fZ(G);if(H!==null)switch(H.tag){case 3:if(H=H.stateNode,H.current.memoizedState.isDehydrated){var U=EJ(H.pendingLanes);if(U!==0){var B=H;B.pendingLanes|=2;for(B.entangledLanes|=2;U;){var F=1<<31-fY(U);B.entanglements[1]|=F,U&=~F}iJ(H),(zX&(_Y|$Q))===AY&&(YA=KY()+e7,UU(0,!1))}}break;case 31:case 13:B=hY(H,2),B!==null&&gX(B,H,2),X_(),U0(H,2)}if(H=B0(J),H===null&&rM(Z,X,J,IA,Y),H===G)break;G=H}G!==null&&J.stopPropagation()}else rM(Z,X,J,null,Y)}}function B0(Z){return Z=NF(Z),L0(Z)}function L0(Z){if(IA=null,Z=wZ(Z),Z!==null){var X=n(Z);if(X===null)Z=null;else{var Y=X.tag;if(Y===13){if(Z=e(X),Z!==null)return Z;Z=null}else if(Y===31){if(Z=GZ(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 IA=Z,null}function cN(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 jQ;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 LJ;case"message":switch(p$()){case P0:return jQ;case D0:return LJ;case __:case l$:return eJ;case $0:return wL;default:return eJ}default:return eJ}}function pN(Z,X){switch(Z){case"focusin":case"focusout":dG=null;break;case"dragenter":case"dragleave":cG=null;break;case"mouseover":case"mouseout":pG=null;break;case"pointerover":case"pointerout":KK.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":BK.delete(X.pointerId)}}function MU(Z,X,Y,J,G,H){if(Z===null||Z.nativeEvent!==H)return Z={blockedOn:X,domEventName:Y,eventSystemFlags:J,nativeEvent:H,targetContainers:[G]},X!==null&&(X=fZ(X),X!==null&&uN(X)),Z;return Z.eventSystemFlags|=J,X=Z.targetContainers,G!==null&&X.indexOf(G)===-1&&X.push(G),Z}function v$(Z,X,Y,J,G){switch(X){case"focusin":return dG=MU(dG,Z,X,Y,J,G),!0;case"dragenter":return cG=MU(cG,Z,X,Y,J,G),!0;case"mouseover":return pG=MU(pG,Z,X,Y,J,G),!0;case"pointerover":var H=G.pointerId;return KK.set(H,MU(KK.get(H)||null,Z,X,Y,J,G)),!0;case"gotpointercapture":return H=G.pointerId,BK.set(H,MU(BK.get(H)||null,Z,X,Y,J,G)),!0}return!1}function lN(Z){var X=wZ(Z.target);if(X!==null){var Y=n(X);if(Y!==null){if(X=Y.tag,X===13){if(X=e(Y),X!==null){Z.blockedOn=X,QZ(Z.priority,function(){dN(Y)});return}}else if(X===31){if(X=GZ(Y),X!==null){Z.blockedOn=X,QZ(Z.priority,function(){dN(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 BL(Z){if(Z.blockedOn!==null)return!1;for(var X=Z.targetContainers;0<X.length;){var Y=B0(Z.nativeEvent);if(Y===null){Y=Z.nativeEvent;var J=new Y.constructor(Y.type,Y),G=J;VU!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),VU=G,Y.target.dispatchEvent(J),VU===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."),VU=null}else return X=fZ(Y),X!==null&&uN(X),Z.blockedOn=Y,!1;X.shift()}return!0}function iN(Z,X,Y){BL(Z)&&Y.delete(X)}function h$(){c9=!1,dG!==null&&BL(dG)&&(dG=null),cG!==null&&BL(cG)&&(cG=null),pG!==null&&BL(pG)&&(pG=null),KK.forEach(iN),BK.forEach(iN)}function LL(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,c9||(c9=!0,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,h$)))}function nN(Z){TA!==Z&&(TA=Z,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,function(){TA===Z&&(TA=null);for(var X=0;X<Z.length;X+=3){var Y=Z[X],J=Z[X+1],G=Z[X+2];if(typeof J!=="function")if(L0(J||Y)===null)continue;else break;var H=fZ(Y);H!==null&&(Z.splice(X,3),X-=3,Y={pending:!0,data:G,method:Y.method,action:J},Object.freeze(Y),LM(H,Y,J,G))}}))}function G_(Z){function X(F){return LL(F,Z)}dG!==null&&LL(dG,Z),cG!==null&&LL(cG,Z),pG!==null&&LL(pG,Z),KK.forEach(X),BK.forEach(X);for(var Y=0;Y<lG.length;Y++){var J=lG[Y];J.blockedOn===Z&&(J.blockedOn=null)}for(;0<lG.length&&(Y=lG[0],Y.blockedOn===null);)lN(Y),Y.blockedOn===null&&lG.shift();if(Y=(Z.ownerDocument||Z).$$reactFormReplay,Y!=null)for(J=0;J<Y.length;J+=3){var G=Y[J],H=Y[J+1],U=G[uY]||null;if(typeof H==="function")U||nN(Y);else if(U){var B=null;if(H&&H.hasAttribute("formAction")){if(G=H,U=H[uY]||null)B=U.formAction;else if(L0(G)!==null)continue}else B=U.action;typeof B==="function"?Y[J+1]=B:(Y.splice(J,3),J-=3),nN(Y)}}}function sN(){function Z(H){H.canIntercept&&H.info==="react-transition"&&H.intercept({handler:function(){return new Promise(function(U){return G=U})},focusReset:"manual",scroll:"manual"})}function X(){G!==null&&(G(),G=null),J||setTimeout(Y,20)}function Y(){if(!J&&!navigation.transition){var H=navigation.currentEntry;H&&H.url!=null&&navigation.navigate(H.url,{state:H.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var J=!1,G=null;return navigation.addEventListener("navigate",Z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(Y,100),function(){J=!0,navigation.removeEventListener("navigate",Z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),G!==null&&(G(),G=null)}}}function A0(Z){this._internalRoot=Z}function AL(Z){this._internalRoot=Z}function aN(Z){Z[TG]&&(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 rZ=Object.assign,b$=Symbol.for("react.element"),sJ=Symbol.for("react.transitional.element"),H_=Symbol.for("react.portal"),z_=Symbol.for("react.fragment"),OL=Symbol.for("react.strict_mode"),O0=Symbol.for("react.profiler"),F0=Symbol.for("react.consumer"),aJ=Symbol.for("react.context"),NU=Symbol.for("react.forward_ref"),M0=Symbol.for("react.suspense"),N0=Symbol.for("react.suspense_list"),FL=Symbol.for("react.memo"),VQ=Symbol.for("react.lazy"),I0=Symbol.for("react.activity"),g$=Symbol.for("react.memo_cache_sentinel"),oN=Symbol.iterator,m$=Symbol.for("react.client.reference"),HY=Array.isArray,i=o_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,OX=q3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,f$=Object.freeze({pending:!1,data:null,method:null,action:null}),T0=[],w0=[],Pq=-1,MG=VZ(null),IU=VZ(null),NG=VZ(null),ML=VZ(null),TU=0,rN,tN,eN,ZI,XI,YI,QI;V.__reactDisabledLog=!0;var V0,JI,R0=!1,j0=new(typeof WeakMap==="function"?WeakMap:Map),RQ=null,oJ=!1,BJ=Object.prototype.hasOwnProperty,C0=UX.unstable_scheduleCallback,u$=UX.unstable_cancelCallback,d$=UX.unstable_shouldYield,c$=UX.unstable_requestPaint,KY=UX.unstable_now,p$=UX.unstable_getCurrentPriorityLevel,P0=UX.unstable_ImmediatePriority,D0=UX.unstable_UserBlockingPriority,__=UX.unstable_NormalPriority,l$=UX.unstable_LowPriority,$0=UX.unstable_IdlePriority,i$=UX.log,n$=UX.unstable_setDisableYieldValue,W_=null,bY=null,rJ=!1,tJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",fY=Math.clz32?Math.clz32:GB,s$=Math.log,a$=Math.LN2,NL=256,IL=262144,TL=4194304,jQ=2,LJ=8,eJ=32,wL=268435456,IG=Math.random().toString(36).slice(2),RY="__reactFiber$"+IG,uY="__reactProps$"+IG,TG="__reactContainer$"+IG,S0="__reactEvents$"+IG,o$="__reactListeners$"+IG,r$="__reactHandles$"+IG,qI="__reactResources$"+IG,wU="__reactMarker$"+IG,GI=new Set,vH={},E0={},t$={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},e$=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]*$"),HI={},zI={},ZS=/[\n"\\]/g,_I=!1,WI=!1,UI=!1,KI=!1,BI=!1,LI=!1,AI=["value","defaultValue"],OI=!1,FI=/["'&<>\n\t]|^\s|\s$/,XS="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(" "),MI="applet caption html table td th marquee object template foreignObject desc title".split(" "),YS=MI.concat(["button"]),QS="dd dt li option optgroup p rp rt".split(" "),NI={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},VL={},k0={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"]},II=/([A-Z])/g,TI=/^ms-/,JS=/^(?:webkit|moz|o)[A-Z]/,qS=/^-ms-/,GS=/-(.)/g,wI=/;\s*$/,U_={},x0={},VI=!1,RI=!1,jI=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(" ")),RL="http://www.w3.org/1998/Math/MathML",K_="http://www.w3.org/2000/svg",HS=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"]]),jL={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"},CI={"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},B_={},zS=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]*$"),_S=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]*$"),PI=!1,dY={},DI=/^on./,WS=/^on[^A-Z]/,US=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]*$"),KS=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]*$"),BS=/^[\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,VU=null,L_=null,A_=null,y0=!1,Zq=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),v0=!1;if(Zq)try{var RU={};Object.defineProperty(RU,"passive",{get:function(){v0=!0}}),window.addEventListener("test",RU,RU),window.removeEventListener("test",RU,RU)}catch(Z){v0=!1}var wG=null,h0=null,CL=null,hH={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},PL=oY(hH),jU=rZ({},hH,{view:0,detail:0}),LS=oY(jU),b0,g0,CU,DL=rZ({},jU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:IF,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!==CU&&(CU&&Z.type==="mousemove"?(b0=Z.screenX-CU.screenX,g0=Z.screenY-CU.screenY):g0=b0=0,CU=Z),b0},movementY:function(Z){return"movementY"in Z?Z.movementY:g0}}),$I=oY(DL),AS=rZ({},DL,{dataTransfer:0}),OS=oY(AS),FS=rZ({},jU,{relatedTarget:0}),m0=oY(FS),MS=rZ({},hH,{animationName:0,elapsedTime:0,pseudoElement:0}),NS=oY(MS),IS=rZ({},hH,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),TS=oY(IS),wS=rZ({},hH,{data:0}),SI=oY(wS),VS=SI,RS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jS={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"},CS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},PS=rZ({},jU,{key:function(Z){if(Z.key){var X=RS[Z.key]||Z.key;if(X!=="Unidentified")return X}return Z.type==="keypress"?(Z=BB(Z),Z===13?"Enter":String.fromCharCode(Z)):Z.type==="keydown"||Z.type==="keyup"?jS[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:IF,charCode:function(Z){return Z.type==="keypress"?BB(Z):0},keyCode:function(Z){return Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0},which:function(Z){return Z.type==="keypress"?BB(Z):Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0}}),DS=oY(PS),$S=rZ({},DL,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),EI=oY($S),SS=rZ({},jU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:IF}),ES=oY(SS),kS=rZ({},hH,{propertyName:0,elapsedTime:0,pseudoElement:0}),xS=oY(kS),yS=rZ({},DL,{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}),vS=oY(yS),hS=rZ({},hH,{newState:0,oldState:0}),bS=oY(hS),gS=[9,13,27,32],kI=229,f0=Zq&&"CompositionEvent"in window,PU=null;Zq&&"documentMode"in document&&(PU=document.documentMode);var mS=Zq&&"TextEvent"in window&&!PU,xI=Zq&&(!f0||PU&&8<PU&&11>=PU),yI=32,vI=String.fromCharCode(yI),hI=!1,O_=!1,fS={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},DU=null,$U=null,bI=!1;Zq&&(bI=HD("input")&&(!document.documentMode||9<document.documentMode));var cY=typeof Object.is==="function"?Object.is:BD,uS=Zq&&"documentMode"in document&&11>=document.documentMode,F_=null,u0=null,SU=null,d0=!1,M_={animationend:TH("Animation","AnimationEnd"),animationiteration:TH("Animation","AnimationIteration"),animationstart:TH("Animation","AnimationStart"),transitionrun:TH("Transition","TransitionRun"),transitionstart:TH("Transition","TransitionStart"),transitioncancel:TH("Transition","TransitionCancel"),transitionend:TH("Transition","TransitionEnd")},c0={},gI={};Zq&&(gI=document.createElement("div").style,("AnimationEvent"in window)||(delete M_.animationend.animation,delete M_.animationiteration.animation,delete M_.animationstart.animation),("TransitionEvent"in window)||delete M_.transitionend.transition);var mI=wH("animationend"),fI=wH("animationiteration"),uI=wH("animationstart"),dS=wH("transitionrun"),cS=wH("transitionstart"),pS=wH("transitioncancel"),dI=wH("transitionend"),cI=new Map,p0="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(" ");p0.push("scrollEnd");var pI=0;if(typeof performance==="object"&&typeof performance.now==="function")var lS=performance,lI=function(){return lS.now()};else{var iS=Date;lI=function(){return iS.now()}}var l0=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)},nS="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.",$L=0,i0=1,n0=2,s0=3,SL="– ",EL="+ ",iI=" ",DX=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",dQ="Components ⚛",tZ="Scheduler ⚛",eZ="Blocking",VG=!1,Dq={color:"primary",properties:null,tooltipText:"",track:dQ},RG={start:-0,end:-0,detail:{devtools:Dq}},sS=["Changed Props",""],nI="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",aS=["Changed Props",nI],EU=1,$q=2,cQ=[],N_=0,a0=0,jG={};Object.freeze(jG);var pQ=null,I_=null,hZ=0,oS=1,iZ=2,gY=8,AJ=16,rS=32,sI=!1;try{var aI=Object.preventExtensions({})}catch(Z){sI=!0}var o0=new WeakMap,T_=[],w_=0,kL=null,kU=0,lQ=[],iQ=0,bH=null,Sq=1,Eq="",jY=null,$X=null,QX=!1,Xq=!1,CQ=null,CG=null,nQ=!1,r0=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."),t0=VZ(null),e0=VZ(null),oI={},xL=null,V_=null,R_=!1,tS=typeof AbortController<"u"?AbortController:function(){var Z=[],X=this.signal={aborted:!1,addEventListener:function(Y,J){Z.push(J)}};this.abort=function(){X.aborted=!0,Z.forEach(function(Y){return Y()})}},eS=UX.unstable_scheduleCallback,ZE=UX.unstable_NormalPriority,rX={$$typeof:aJ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},tX=UX.unstable_now,yL=console.createTask?console.createTask:function(){return null},xU=1,vL=2,BY=-0,PG=-0,kq=-0,xq=null,pY=-1.1,gH=-0,hX=-0,EZ=-1.1,xZ=-1.1,xX=null,mX=!1,DG=-0,Yq=-1.1,yU=null,$G=0,Z9=null,X9=null,mH=-1.1,vU=null,j_=-1.1,hL=-1.1,Qq=-0,yq=-1.1,sQ=-1.1,Y9=0,hU=null,rI=null,tI=null,SG=-1.1,fH=null,EG=-1.1,bL=-1.1,eI=-0,Z7=-0,gL=0,vq=null,X7=0,bU=-1.1,mL=!1,fL=!1,gU=null,Q9=0,uH=0,C_=null,Y7=i.S;i.S=function(Z,X){if(r7=KY(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>yq&&0>sQ){yq=tX();var Y=LU(),J=BU();if(Y!==EG||J!==fH)EG=-1.1;SG=Y,fH=J}ID(Z,X)}Y7!==null&&Y7(Z,X)};var dH=VZ(null),OJ={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],cH=new Set;OJ.recordUnsafeLifecycleWarnings=function(Z,X){cH.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&mU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillMount==="function"&&fU.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&uU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&dU.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&cU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillUpdate==="function"&&pU.push(Z))},OJ.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<mU.length&&(mU.forEach(function(B){Z.add(o(B)||"Component"),cH.add(B.type)}),mU=[]);var X=new Set;0<fU.length&&(fU.forEach(function(B){X.add(o(B)||"Component"),cH.add(B.type)}),fU=[]);var Y=new Set;0<uU.length&&(uU.forEach(function(B){Y.add(o(B)||"Component"),cH.add(B.type)}),uU=[]);var J=new Set;0<dU.length&&(dU.forEach(function(B){J.add(o(B)||"Component"),cH.add(B.type)}),dU=[]);var G=new Set;0<cU.length&&(cU.forEach(function(B){G.add(o(B)||"Component"),cH.add(B.type)}),cU=[]);var H=new Set;if(0<pU.length&&(pU.forEach(function(B){H.add(o(B)||"Component"),cH.add(B.type)}),pU=[]),0<X.size){var U=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.
|
|
190
|
+
|
|
191
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,U)}0<J.size&&(U=M(J),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.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
* 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
|
|
197
|
+
|
|
198
|
+
Please update the following components: %s`,U)),0<H.size&&(U=M(H),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.
|
|
199
|
+
|
|
200
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,U)),0<Z.size&&(U=M(Z),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
205
|
+
* 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.
|
|
206
|
+
|
|
207
|
+
Please update the following components: %s`,U)),0<Y.size&&(U=M(Y),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
208
|
+
|
|
209
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
210
|
+
* 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
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,U)),0<G.size&&(U=M(G),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
214
|
+
|
|
215
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
216
|
+
* 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.
|
|
217
|
+
|
|
218
|
+
Please update the following components: %s`,U))};var uL=new Map,Q7=new Set;OJ.recordLegacyContextWarning=function(Z,X){var Y=null;for(var J=Z;J!==null;)J.mode&gY&&(Y=J),J=J.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."):!Q7.has(Z.type)&&(J=uL.get(Y),Z.type.contextTypes!=null||Z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function")&&(J===void 0&&(J=[],uL.set(Y,J)),J.push(Z))},OJ.flushLegacyContextWarning=function(){uL.forEach(function(Z){if(Z.length!==0){var X=Z[0],Y=new Set;Z.forEach(function(G){Y.add(o(G)||"Component"),Q7.add(G.type)});var J=M(Y);UZ(X,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
219
|
+
|
|
220
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
221
|
+
|
|
222
|
+
Please update the following components: %s
|
|
223
|
+
|
|
224
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,J)})}})},OJ.discardPendingWarnings=function(){mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],uL=new Map};var J7={react_stack_bottom_frame:function(Z,X,Y){var J=oJ;oJ=!0;try{return Z(X,Y)}finally{oJ=J}}},J9=J7.react_stack_bottom_frame.bind(J7),q7={react_stack_bottom_frame:function(Z){var X=oJ;oJ=!0;try{return Z.render()}finally{oJ=X}}},G7=q7.react_stack_bottom_frame.bind(q7),H7={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(Y){AX(Z,Z.return,Y)}}},q9=H7.react_stack_bottom_frame.bind(H7),z7={react_stack_bottom_frame:function(Z,X,Y,J,G){try{X.componentDidUpdate(Y,J,G)}catch(H){AX(Z,Z.return,H)}}},_7=z7.react_stack_bottom_frame.bind(z7),W7={react_stack_bottom_frame:function(Z,X){var Y=X.stack;Z.componentDidCatch(X.value,{componentStack:Y!==null?Y:""})}},XE=W7.react_stack_bottom_frame.bind(W7),U7={react_stack_bottom_frame:function(Z,X,Y){try{Y.componentWillUnmount()}catch(J){AX(Z,X,J)}}},K7=U7.react_stack_bottom_frame.bind(U7),B7={react_stack_bottom_frame:function(Z){var X=Z.create;return Z=Z.inst,X=X(),Z.destroy=X}},YE=B7.react_stack_bottom_frame.bind(B7),L7={react_stack_bottom_frame:function(Z,X,Y){try{Y()}catch(J){AX(Z,X,J)}}},QE=L7.react_stack_bottom_frame.bind(L7),A7={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},JE=A7.react_stack_bottom_frame.bind(A7),P_=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`."),G9=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."),dL=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."),cL={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.')}},pH=null,lU=!1,D_=null,iU=0,nZ=null,H9,O7=H9=!1,F7={},M7={},N7={};N=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 J=o(Z),G=J||"null";if(!F7[G]){F7[G]=!0,Y=Y._owner,Z=Z._debugOwner;var H="";Z&&typeof Z.tag==="number"&&(G=o(Z))&&(H=`
|
|
225
|
+
|
|
226
|
+
Check the render method of \``+G+"`."),H||J&&(H=`
|
|
227
|
+
|
|
228
|
+
Check the top-level render call using <`+J+">.");var U="";Y!=null&&Z!==Y&&(J=null,typeof Y.tag==="number"?J=o(Y):typeof Y.name==="string"&&(J=Y.name),J&&(U=" It was passed a child from "+J+".")),UZ(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,U)})}}};var lH=U1(!0),I7=U1(!1),T7=0,w7=1,V7=2,z9=3,kG=!1,R7=!1,_9=null,W9=!1,$_=VZ(null),pL=VZ(0),PQ=VZ(null),aQ=null,S_=1,nU=2,nX=VZ(0),lL=0,oQ=1,lY=2,DQ=4,iY=8,E_,j7=new Set,C7=new Set,U9=new Set,P7=new Set,hq=0,bZ=null,VX=null,eX=null,iL=!1,k_=!1,iH=!1,nL=0,sU=0,bq=null,qE=0,GE=25,l=null,rQ=null,gq=-1,aU=!1,oU={readContext:kX,use:LG,useCallback:pX,useContext:pX,useEffect:pX,useImperativeHandle:pX,useLayoutEffect:pX,useInsertionEffect:pX,useMemo:pX,useReducer:pX,useRef:pX,useState:pX,useDebugValue:pX,useDeferredValue:pX,useTransition:pX,useSyncExternalStore:pX,useId:pX,useHostTransitionStatus:pX,useFormState:pX,useActionState:pX,useOptimistic:pX,useMemoCache:pX,useCacheRefresh:pX};oU.useEffectEvent=pX;var K9=null,D7=null,B9=null,$7=null,Jq=null,FJ=null,sL=null;K9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",oZ(),sz(X),WM(Z,X)},useContext:function(Z){return l="useContext",oZ(),kX(Z)},useEffect:function(Z,X){return l="useEffect",oZ(),sz(X),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",oZ(),sz(Y),_M(Z,X,Y)},useInsertionEffect:function(Z,X){l="useInsertionEffect",oZ(),sz(X),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",oZ(),sz(X),zM(Z,X)},useMemo:function(Z,X){l="useMemo",oZ(),sz(X);var Y=i.H;i.H=Jq;try{return UM(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",oZ();var J=i.H;i.H=Jq;try{return eF(Z,X,Y)}finally{i.H=J}},useRef:function(Z){return l="useRef",oZ(),GM(Z)},useState:function(Z){l="useState",oZ();var X=i.H;i.H=Jq;try{return QM(Z)}finally{i.H=X}},useDebugValue:function(){l="useDebugValue",oZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",oZ(),KM(Z,X)},useTransition:function(){return l="useTransition",oZ(),AM()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",oZ(),XM(Z,X,Y)},useId:function(){return l="useId",oZ(),OM()},useFormState:function(Z,X){return l="useFormState",oZ(),hB(),oz(Z,X)},useActionState:function(Z,X){return l="useActionState",oZ(),oz(Z,X)},useOptimistic:function(Z){return l="useOptimistic",oZ(),JM(Z)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",oZ(),FM()},useEffectEvent:function(Z){return l="useEffectEvent",oZ(),HM(Z)}},D7={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",XZ(),WM(Z,X)},useContext:function(Z){return l="useContext",XZ(),kX(Z)},useEffect:function(Z,X){return l="useEffect",XZ(),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",XZ(),_M(Z,X,Y)},useInsertionEffect:function(Z,X){l="useInsertionEffect",XZ(),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",XZ(),zM(Z,X)},useMemo:function(Z,X){l="useMemo",XZ();var Y=i.H;i.H=Jq;try{return UM(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",XZ();var J=i.H;i.H=Jq;try{return eF(Z,X,Y)}finally{i.H=J}},useRef:function(Z){return l="useRef",XZ(),GM(Z)},useState:function(Z){l="useState",XZ();var X=i.H;i.H=Jq;try{return QM(Z)}finally{i.H=X}},useDebugValue:function(){l="useDebugValue",XZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",XZ(),KM(Z,X)},useTransition:function(){return l="useTransition",XZ(),AM()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",XZ(),XM(Z,X,Y)},useId:function(){return l="useId",XZ(),OM()},useActionState:function(Z,X){return l="useActionState",XZ(),oz(Z,X)},useFormState:function(Z,X){return l="useFormState",XZ(),hB(),oz(Z,X)},useOptimistic:function(Z){return l="useOptimistic",XZ(),JM(Z)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",XZ(),FM()},useEffectEvent:function(Z){return l="useEffectEvent",XZ(),HM(Z)}},B9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",XZ(),pB(Z,X)},useContext:function(Z){return l="useContext",XZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",XZ();var Y=i.H;i.H=FJ;try{return lB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",XZ();var J=i.H;i.H=FJ;try{return az(Z,X,Y)}finally{i.H=J}},useRef:function(){return l="useRef",XZ(),FX().memoizedState},useState:function(){l="useState",XZ();var Z=i.H;i.H=FJ;try{return az(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",XZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",XZ(),x1(Z,X)},useTransition:function(){return l="useTransition",XZ(),m1()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",XZ(),gB(Z,X,Y)},useId:function(){return l="useId",XZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",XZ(),hB(),mB(Z)},useActionState:function(Z){return l="useActionState",XZ(),mB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",XZ(),V1(Z,X)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",XZ(),dB(Z)}},$7={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",XZ(),pB(Z,X)},useContext:function(Z){return l="useContext",XZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",XZ();var Y=i.H;i.H=sL;try{return lB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",XZ();var J=i.H;i.H=sL;try{return XU(Z,X,Y)}finally{i.H=J}},useRef:function(){return l="useRef",XZ(),FX().memoizedState},useState:function(){l="useState",XZ();var Z=i.H;i.H=sL;try{return XU(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",XZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",XZ(),y1(Z,X)},useTransition:function(){return l="useTransition",XZ(),f1()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",XZ(),gB(Z,X,Y)},useId:function(){return l="useId",XZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",XZ(),hB(),fB(Z)},useActionState:function(Z){return l="useActionState",XZ(),fB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",XZ(),j1(Z,X)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",XZ(),dB(Z)}},Jq={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return l="useCallback",L(),oZ(),WM(Z,X)},useContext:function(Z){return l="useContext",L(),oZ(),kX(Z)},useEffect:function(Z,X){return l="useEffect",L(),oZ(),uB(Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",L(),oZ(),_M(Z,X,Y)},useInsertionEffect:function(Z,X){l="useInsertionEffect",L(),oZ(),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",L(),oZ(),zM(Z,X)},useMemo:function(Z,X){l="useMemo",L(),oZ();var Y=i.H;i.H=Jq;try{return UM(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",L(),oZ();var J=i.H;i.H=Jq;try{return eF(Z,X,Y)}finally{i.H=J}},useRef:function(Z){return l="useRef",L(),oZ(),GM(Z)},useState:function(Z){l="useState",L(),oZ();var X=i.H;i.H=Jq;try{return QM(Z)}finally{i.H=X}},useDebugValue:function(){l="useDebugValue",L(),oZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",L(),oZ(),KM(Z,X)},useTransition:function(){return l="useTransition",L(),oZ(),AM()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",L(),oZ(),XM(Z,X,Y)},useId:function(){return l="useId",L(),oZ(),OM()},useFormState:function(Z,X){return l="useFormState",L(),oZ(),oz(Z,X)},useActionState:function(Z,X){return l="useActionState",L(),oZ(),oz(Z,X)},useOptimistic:function(Z){return l="useOptimistic",L(),oZ(),JM(Z)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return l="useCacheRefresh",oZ(),FM()},useEffectEvent:function(Z){return l="useEffectEvent",L(),oZ(),HM(Z)}},FJ={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return l="useCallback",L(),XZ(),pB(Z,X)},useContext:function(Z){return l="useContext",L(),XZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",L(),XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",L(),XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",L(),XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",L(),XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",L(),XZ();var Y=i.H;i.H=FJ;try{return lB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",L(),XZ();var J=i.H;i.H=FJ;try{return az(Z,X,Y)}finally{i.H=J}},useRef:function(){return l="useRef",L(),XZ(),FX().memoizedState},useState:function(){l="useState",L(),XZ();var Z=i.H;i.H=FJ;try{return az(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",L(),XZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",L(),XZ(),x1(Z,X)},useTransition:function(){return l="useTransition",L(),XZ(),m1()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",L(),XZ(),gB(Z,X,Y)},useId:function(){return l="useId",L(),XZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",L(),XZ(),mB(Z)},useActionState:function(Z){return l="useActionState",L(),XZ(),mB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",L(),XZ(),V1(Z,X)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return l="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",L(),XZ(),dB(Z)}},sL={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return l="useCallback",L(),XZ(),pB(Z,X)},useContext:function(Z){return l="useContext",L(),XZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",L(),XZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",L(),XZ(),cB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",L(),XZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",L(),XZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",L(),XZ();var Y=i.H;i.H=FJ;try{return lB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",L(),XZ();var J=i.H;i.H=FJ;try{return XU(Z,X,Y)}finally{i.H=J}},useRef:function(){return l="useRef",L(),XZ(),FX().memoizedState},useState:function(){l="useState",L(),XZ();var Z=i.H;i.H=FJ;try{return XU(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",L(),XZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",L(),XZ(),y1(Z,X)},useTransition:function(){return l="useTransition",L(),XZ(),f1()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",L(),XZ(),gB(Z,X,Y)},useId:function(){return l="useId",L(),XZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",L(),XZ(),fB(Z)},useActionState:function(Z){return l="useActionState",L(),XZ(),fB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",L(),XZ(),j1(Z,X)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return l="useCacheRefresh",XZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",L(),XZ(),dB(Z)}};var S7={},E7=new Set,k7=new Set,x7=new Set,y7=new Set,v7=new Set,h7=new Set,b7=new Set,g7=new Set,m7=new Set,f7=new Set;Object.freeze(S7);var L9={enqueueSetState:function(Z,X,Y){Z=Z._reactInternals;var J=TQ(Z),G=WG(J);G.payload=X,Y!==void 0&&Y!==null&&(NM(Y),G.callback=Y),X=UG(Z,G,J),X!==null&&(vJ(J,"this.setState()",Z),gX(X,Z,J),rW(X,Z,J))},enqueueReplaceState:function(Z,X,Y){Z=Z._reactInternals;var J=TQ(Z),G=WG(J);G.tag=w7,G.payload=X,Y!==void 0&&Y!==null&&(NM(Y),G.callback=Y),X=UG(Z,G,J),X!==null&&(vJ(J,"this.replaceState()",Z),gX(X,Z,J),rW(X,Z,J))},enqueueForceUpdate:function(Z,X){Z=Z._reactInternals;var Y=TQ(Z),J=WG(Y);J.tag=V7,X!==void 0&&X!==null&&(NM(X),J.callback=X),X=UG(Z,J,Y),X!==null&&(vJ(Y,"this.forceUpdate()",Z),gX(X,Z,Y),rW(X,Z,Y))}},x_=null,A9=null,O9=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."),ZY=!1,u7={},d7={},c7={},p7={},y_=!1,l7={},aL={},F9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},i7=!1,n7=null;n7=new Set;var mq=!1,XY=!1,M9=!1,s7=typeof WeakSet==="function"?WeakSet:Set,LY=null,v_=null,h_=null,YY=null,ZQ=!1,MJ=null,zY=!1,rU=8192,HE={getCacheForType:function(Z){var X=kX(rX),Y=X.data.get(Z);return Y===void 0&&(Y=Z(),X.data.set(Z,Y)),Y},cacheSignal:function(){return kX(rX).controller.signal},getOwner:function(){return RQ}};if(typeof Symbol==="function"&&Symbol.for){var tU=Symbol.for;tU("selector.component"),tU("selector.has_pseudo_class"),tU("selector.role"),tU("selector.test_id"),tU("selector.text")}var zE=[],_E=typeof WeakMap==="function"?WeakMap:Map,AY=0,_Y=2,$Q=4,fq=0,eU=1,nH=2,oL=3,xG=4,rL=6,a7=5,zX=AY,RX=null,aZ=null,sZ=0,XQ=0,tL=1,sH=2,ZK=3,o7=4,N9=5,XK=6,eL=7,I9=8,aH=9,MX=XQ,SQ=null,yG=!1,b_=!1,T9=!1,qq=0,bX=fq,vG=0,hG=0,w9=0,YQ=0,oH=0,YK=null,nY=null,ZA=!1,XA=0,r7=0,t7=300,YA=1/0,e7=500,QK=null,lX=null,bG=null,QA=0,V9=1,R9=2,ZT=3,gG=0,XT=1,YT=2,QT=3,JT=4,JA=5,QY=0,mG=null,g_=null,NJ=0,j9=0,C9=-0,P9=null,qT=null,GT=null,IJ=QA,HT=null,WE=50,JK=0,D9=null,$9=!1,qA=!1,UE=50,rH=0,qK=null,m_=!1,GA=null,zT=!1,_T=new Set,KE={},HA=null,f_=null,S9=!1,E9=!1,zA=!1,k9=!1,fG=0,x9={};(function(){for(var Z=0;Z<p0.length;Z++){var X=p0[Z],Y=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),WJ(Y,"on"+X)}WJ(mI,"onAnimationEnd"),WJ(fI,"onAnimationIteration"),WJ(uI,"onAnimationStart"),WJ("dblclick","onDoubleClick"),WJ("focusin","onFocus"),WJ("focusout","onBlur"),WJ(dS,"onTransitionRun"),WJ(cS,"onTransitionStart"),WJ(pS,"onTransitionCancel"),WJ(dI,"onTransitionEnd")})(),LQ("onMouseEnter",["mouseout","mouseover"]),LQ("onMouseLeave",["mouseout","mouseover"]),LQ("onPointerEnter",["pointerout","pointerover"]),LQ("onPointerLeave",["pointerout","pointerover"]),vY("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vY("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vY("onBeforeInput",["compositionend","keypress","textInput","paste"]),vY("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var GK="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(" "),y9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(GK)),_A="_reactListening"+Math.random().toString(36).slice(2),WT=!1,UT=!1,WA=!1,KT=!1,UA=!1,KA=!1,BT=!1,BA={},BE=/\r\n?/g,LE=/\u0000|\uFFFD/g,tH="http://www.w3.org/1999/xlink",v9="http://www.w3.org/XML/1998/namespace",AE="javascript:throw new Error('React form unexpectedly submitted.')",OE="suppressHydrationWarning",eH="&",LA="/&",HK="$",zK="/$",uG="$?",Zz="$~",u_="$!",FE="html",ME="body",NE="head",h9="F!",LT="F",AT="loading",IE="style",uq=0,d_=1,AA=2,b9=null,g9=null,OT={dialog:!0,webview:!0},m9=null,_K=void 0,FT=typeof setTimeout==="function"?setTimeout:void 0,TE=typeof clearTimeout==="function"?clearTimeout:void 0,Xz=-1,MT=typeof Promise==="function"?Promise:void 0,wE=typeof queueMicrotask==="function"?queueMicrotask:typeof MT<"u"?function(Z){return MT.resolve(null).then(Z).catch(G$)}:FT,f9=null,Yz=0,WK=1,NT=2,IT=3,tQ=4,eQ=new Map,TT=new Set,dq=OX.d;OX.d={f:function(){var Z=dq.f(),X=X_();return Z||X},r:function(Z){var X=fZ(Z);X!==null&&X.tag===5&&X.type==="form"?g1(X):dq.r(Z)},D:function(Z){dq.D(Z),EN("dns-prefetch",Z,null)},C:function(Z,X){dq.C(Z,X),EN("preconnect",Z,X)},L:function(Z,X,Y){dq.L(Z,X,Y);var J=c_;if(J&&Z&&X){var G='link[rel="preload"][as="'+fQ(X)+'"]';X==="image"?Y&&Y.imageSrcSet?(G+='[imagesrcset="'+fQ(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(G+='[imagesizes="'+fQ(Y.imageSizes)+'"]')):G+='[href="'+fQ(Z)+'"]':G+='[href="'+fQ(Z)+'"]';var H=G;switch(X){case"style":H=J_(Z);break;case"script":H=q_(Z)}eQ.has(H)||(Z=rZ({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:Z,as:X},Y),eQ.set(H,Z),J.querySelector(G)!==null||X==="style"&&J.querySelector(OU(H))||X==="script"&&J.querySelector(FU(H))||(X=J.createElement("link"),VY(X,"link",Z),SZ(X),J.head.appendChild(X)))}},m:function(Z,X){dq.m(Z,X);var Y=c_;if(Y&&Z){var J=X&&typeof X.as==="string"?X.as:"script",G='link[rel="modulepreload"][as="'+fQ(J)+'"][href="'+fQ(Z)+'"]',H=G;switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":H=q_(Z)}if(!eQ.has(H)&&(Z=rZ({rel:"modulepreload",href:Z},X),eQ.set(H,Z),Y.querySelector(G)===null)){switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(FU(H)))return}J=Y.createElement("link"),VY(J,"link",Z),SZ(J),Y.head.appendChild(J)}}},X:function(Z,X){dq.X(Z,X);var Y=c_;if(Y&&Z){var J=WX(Y).hoistableScripts,G=q_(Z),H=J.get(G);H||(H=Y.querySelector(FU(G)),H||(Z=rZ({src:Z,async:!0},X),(X=eQ.get(G))&&_0(Z,X),H=Y.createElement("script"),SZ(H),VY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},J.set(G,H))}},S:function(Z,X,Y){dq.S(Z,X,Y);var J=c_;if(J&&Z){var G=WX(J).hoistableStyles,H=J_(Z);X=X||"default";var U=G.get(H);if(!U){var B={loading:Yz,preload:null};if(U=J.querySelector(OU(H)))B.loading=WK|tQ;else{Z=rZ({rel:"stylesheet",href:Z,"data-precedence":X},Y),(Y=eQ.get(H))&&z0(Z,Y);var F=U=J.createElement("link");SZ(F),VY(F,"link",Z),F._p=new Promise(function(I,x){F.onload=I,F.onerror=x}),F.addEventListener("load",function(){B.loading|=WK}),F.addEventListener("error",function(){B.loading|=NT}),B.loading|=tQ,WL(U,X,J)}U={type:"stylesheet",instance:U,count:1,state:B},G.set(H,U)}}},M:function(Z,X){dq.M(Z,X);var Y=c_;if(Y&&Z){var J=WX(Y).hoistableScripts,G=q_(Z),H=J.get(G);H||(H=Y.querySelector(FU(G)),H||(Z=rZ({src:Z,async:!0,type:"module"},X),(X=eQ.get(G))&&_0(Z,X),H=Y.createElement("script"),SZ(H),VY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},J.set(G,H))}}};var c_=typeof document>"u"?null:document,OA=null,VE=60000,RE=800,jE=500,u9=0,d9=null,FA=null,Qz=f$,UK={$$typeof:aJ,Provider:null,Consumer:null,_currentValue:Qz,_currentValue2:Qz,_threadCount:0},wT="%c%s%c",VT="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",RT="",MA=" ",CE=Function.prototype.bind,jT=!1,CT=null,PT=null,DT=null,$T=null,ST=null,ET=null,kT=null,xT=null,yT=null,vT=null;CT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=q(X.memoizedState,Y,0,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},PT=function(Z,X,Y){X=Q(Z,X),X!==null&&(Y=W(X.memoizedState,Y,0),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},DT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=z(X.memoizedState,Y,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},$T=function(Z,X,Y){Z.pendingProps=q(Z.memoizedProps,X,0,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},ST=function(Z,X){Z.pendingProps=W(Z.memoizedProps,X,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},ET=function(Z,X,Y){Z.pendingProps=z(Z.memoizedProps,X,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},kT=function(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)},xT=function(Z){var X=uz(),Y=hY(Z,X);Y!==null&&gX(Y,Z,X)},yT=function(Z){A=Z},vT=function(Z){K=Z};var NA=!0,IA=null,c9=!1,dG=null,cG=null,pG=null,KK=new Map,BK=new Map,lG=[],PE="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(" "),TA=null;if(AL.prototype.render=A0.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()."):b(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 J=X.current,G=TQ(J);W0(J,G,Y,X,null,null)},AL.prototype.unmount=A0.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;(zX&(_Y|$Q))!==AY&&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."),W0(Z.current,2,null,Z,null,null),X_(),X[TG]=null}},AL.prototype.unstable_scheduleHydration=function(Z){if(Z){var X=f();Z={blockedOn:null,target:Z,priority:X};for(var Y=0;Y<lG.length&&X!==0&&X<lG[Y].priority;Y++);lG.splice(Y,0,Z),Y===0&&lN(Z)}},function(){var Z=o_.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:
|
|
229
|
+
- react: `+(Z+`
|
|
230
|
+
- react-dom: 19.2.7
|
|
231
|
+
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"),OX.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=LZ(X),Z=Z!==null?kZ(Z):null,Z=Z===null?null:Z.stateNode,Z},!function(){var Z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:i,reconcilerVersion:"19.2.7"};return Z.overrideHookState=CT,Z.overrideHookStateDeletePath=PT,Z.overrideHookStateRenamePath=DT,Z.overrideProps=$T,Z.overridePropsDeletePath=ST,Z.overridePropsRenamePath=ET,Z.scheduleUpdate=kT,Z.scheduleRetry=xT,Z.setErrorHandler=yT,Z.setSuspenseHandler=vT,Z.scheduleRefresh=v,Z.scheduleRoot=j,Z.setRefreshHandler=m,Z.getCurrentFiber=k$,fz(Z)}()&&Zq&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var hT=window.location.protocol;/^(https?|file):$/.test(hT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(hT==="file:"?`
|
|
232
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}zk.createRoot=function(Z,X){if(!b(Z))throw Error("Target container is not a DOM element.");aN(Z);var Y=!1,J="",G=i1,H=n1,U=s1;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===sJ&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
233
|
+
|
|
234
|
+
let root = createRoot(domContainer);
|
|
235
|
+
root.render(<App />);`),X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(J=X.identifierPrefix),X.onUncaughtError!==void 0&&(G=X.onUncaughtError),X.onCaughtError!==void 0&&(H=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError)),X=gN(Z,1,!1,null,null,Y,J,null,G,H,U,sN),Z[TG]=X.current,oM(Z),new A0(X)},zk.hydrateRoot=function(Z,X,Y){if(!b(Z))throw Error("Target container is not a DOM element.");aN(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var J=!1,G="",H=i1,U=n1,B=s1,F=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(J=!0),Y.identifierPrefix!==void 0&&(G=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(H=Y.onUncaughtError),Y.onCaughtError!==void 0&&(U=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(F=Y.formState)),X=gN(Z,1,!0,X,Y!=null?Y:null,J,G,F,H,U,B,sN),X.context=mN(null),Y=X.current,J=TQ(Y),J=NH(J),G=WG(J),G.callback=null,UG(Y,G,J),vJ(J,"hydrateRoot()",null),Y=J,X.current.lanes=Y,QG(X,Y),iJ(X),Z[TG]=X.current,oM(Z),new AL(X)},zk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Z2=pq((ug,eT)=>{var _k=g(tT());eT.exports=_k});function X2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!==null&&Q!==void 0)Q.current=q}function Y2(...Q){return(q)=>{let z=!1,_=Q.map((W)=>{let K=X2(W,q);if(!z&&typeof K=="function")z=!0;return K});if(z)return()=>{for(let W=0;W<_.length;W++){let K=_[W];if(typeof K=="function")K();else X2(Q[W],null)}}}}var Wk;var Q2=C(()=>{Wk=g(ZZ(),1)});function Kk(Q){return typeof Q==="object"&&Q!==null&&"then"in Q}function J2(Q){return Q!=null&&typeof Q==="object"&&"$$typeof"in Q&&Q.$$typeof===Uk&&"_payload"in Q&&Kk(Q._payload)}function Bk(Q){let q=Lk(Q),z=JY.forwardRef((_,W)=>{let{children:K,...A}=_;if(J2(K)&&typeof xA==="function")K=xA(K._payload);let L=JY.Children.toArray(K),O=L.find(Ok);if(O){let T=O.props.children,N=L.map((M)=>{if(M===O){if(JY.Children.count(T)>1)return JY.Children.only(null);return JY.isValidElement(T)?T.props.children:null}else return M});return kA.jsx(q,{...A,ref:W,children:JY.isValidElement(T)?JY.cloneElement(T,void 0,N):null})}return kA.jsx(q,{...A,ref:W,children:K})});return z.displayName=`${Q}.Slot`,z}function Lk(Q){let q=JY.forwardRef((z,_)=>{let{children:W,...K}=z;if(J2(W)&&typeof xA==="function")W=xA(W._payload);if(JY.isValidElement(W)){let A=Mk(W),L=Fk(K,W.props);if(W.type!==JY.Fragment)L.ref=_?Y2(_,A):A;return JY.cloneElement(W,L)}return JY.Children.count(W)>1?JY.Children.only(null):null});return q.displayName=`${Q}.SlotClone`,q}function Ok(Q){return JY.isValidElement(Q)&&typeof Q.type==="function"&&"__radixId"in Q.type&&Q.type.__radixId===Ak}function Fk(Q,q){let z={...q};for(let _ in q){let W=Q[_],K=q[_];if(/^on[A-Z]/.test(_)){if(W&&K)z[_]=(...L)=>{let O=K(...L);return W(...L),O};else if(W)z[_]=W}else if(_==="style")z[_]={...W,...K};else if(_==="className")z[_]=[W,K].filter(Boolean).join(" ")}return{...Q,...z}}function Mk(Q){let q=Object.getOwnPropertyDescriptor(Q.props,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning;if(z)return Q.ref;if(q=Object.getOwnPropertyDescriptor(Q,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning,z)return Q.props.ref;return Q.props.ref||Q.ref}var JY,kA,Uk,xA,q2,Ak;var G2=C(()=>{Q2();JY=g(ZZ(),1),kA=g(i_(),1),Uk=Symbol.for("react.lazy"),xA=JY[" use ".trim().toString()];q2=Bk("Slot");Ak=Symbol("radix.slottable")});function H2(Q){var q,z,_="";if(typeof Q=="string"||typeof Q=="number")_+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var W=Q.length;for(q=0;q<W;q++)Q[q]&&(z=H2(Q[q]))&&(_&&(_+=" "),_+=z)}else for(z in Q)Q[z]&&(_&&(_+=" "),_+=z);return _}function IK(){for(var Q,q,z=0,_="",W=arguments.length;z<W;z++)(Q=arguments[z])&&(q=H2(Q))&&(_&&(_+=" "),_+=q);return _}var z2;var yA=C(()=>{z2=IK});var _2=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,W2,U2=(Q,q)=>(z)=>{var _;if((q===null||q===void 0?void 0:q.variants)==null)return W2(Q,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className);let{variants:W,defaultVariants:K}=q,A=Object.keys(W).map((T)=>{let N=z===null||z===void 0?void 0:z[T],M=K===null||K===void 0?void 0:K[T];if(N===null)return null;let R=_2(N)||_2(M);return W[T][R]}),L=z&&Object.entries(z).reduce((T,N)=>{let[M,R]=N;if(R===void 0)return T;return T[M]=R,T},{}),O=q===null||q===void 0?void 0:(_=q.compoundVariants)===null||_===void 0?void 0:_.reduce((T,N)=>{let{class:M,className:R,...j}=N;return Object.entries(j).every((v)=>{let[m,b]=v;return Array.isArray(b)?b.includes({...K,...L}[m]):{...K,...L}[m]===b})?[...T,M,R]:T},[]);return W2(Q,A,O,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className)};var K2=C(()=>{yA();W2=IK});var Nk=(Q,q)=>{let z=Array(Q.length+q.length);for(let _=0;_<Q.length;_++)z[_]=Q[_];for(let _=0;_<q.length;_++)z[Q.length+_]=q[_];return z},Ik=(Q,q)=>({classGroupId:Q,validator:q}),I2=(Q=new Map,q=null,z)=>({nextPart:Q,validators:q,classGroupId:z}),B2,Tk=(Q)=>{let q=Vk(Q),{conflictingClassGroups:z,conflictingClassGroupModifiers:_}=Q;return{getClassGroupId:(A)=>{if(A.startsWith("[")&&A.endsWith("]"))return wk(A);let L=A.split("-"),O=L[0]===""&&L.length>1?1:0;return T2(L,O,q)},getConflictingClassGroupIds:(A,L)=>{if(L){let O=_[A],T=z[A];if(O){if(T)return Nk(T,O);return O}return T||B2}return z[A]||B2}}},T2=(Q,q,z)=>{if(Q.length-q===0)return z.classGroupId;let W=Q[q],K=z.nextPart.get(W);if(K){let T=T2(Q,q+1,K);if(T)return T}let A=z.validators;if(A===null)return;let L=q===0?Q.join("-"):Q.slice(q).join("-"),O=A.length;for(let T=0;T<O;T++){let N=A[T];if(N.validator(L))return N.classGroupId}return},wk=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let q=Q.slice(1,-1),z=q.indexOf(":"),_=q.slice(0,z);return _?"arbitrary.."+_:void 0})(),Vk=(Q)=>{let{theme:q,classGroups:z}=Q;return Rk(z,q)},Rk=(Q,q)=>{let z=I2();for(let _ in Q){let W=Q[_];z3(W,z,_,q)}return z},z3=(Q,q,z,_)=>{let W=Q.length;for(let K=0;K<W;K++){let A=Q[K];jk(A,q,z,_)}},jk=(Q,q,z,_)=>{if(typeof Q==="string"){Ck(Q,q,z);return}if(typeof Q==="function"){Pk(Q,q,z,_);return}Dk(Q,q,z,_)},Ck=(Q,q,z)=>{let _=Q===""?q:w2(q,Q);_.classGroupId=z},Pk=(Q,q,z,_)=>{if($k(Q)){z3(Q(_),q,z,_);return}if(q.validators===null)q.validators=[];q.validators.push(Ik(z,Q))},Dk=(Q,q,z,_)=>{let W=Object.entries(Q),K=W.length;for(let A=0;A<K;A++){let[L,O]=W[A];z3(O,w2(q,L),z,_)}},w2=(Q,q)=>{let z=Q,_=q.split("-"),W=_.length;for(let K=0;K<W;K++){let A=_[K],L=z.nextPart.get(A);if(!L)L=I2(),z.nextPart.set(A,L);z=L}return z},$k=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,Sk=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let q=0,z=Object.create(null),_=Object.create(null),W=(K,A)=>{if(z[K]=A,q++,q>Q)q=0,_=z,z=Object.create(null)};return{get(K){let A=z[K];if(A!==void 0)return A;if((A=_[K])!==void 0)return W(K,A),A},set(K,A){if(K in z)z[K]=A;else W(K,A)}}},Ek,L2=(Q,q,z,_,W)=>({modifiers:Q,hasImportantModifier:q,baseClassName:z,maybePostfixModifierPosition:_,isExternal:W}),kk=(Q)=>{let{prefix:q,experimentalParseClassName:z}=Q,_=(W)=>{let K=[],A=0,L=0,O=0,T,N=W.length;for(let m=0;m<N;m++){let b=W[m];if(A===0&&L===0){if(b===":"){K.push(W.slice(O,m)),O=m+1;continue}if(b==="/"){T=m;continue}}if(b==="[")A++;else if(b==="]")A--;else if(b==="(")L++;else if(b===")")L--}let M=K.length===0?W:W.slice(O),R=M,j=!1;if(M.endsWith("!"))R=M.slice(0,-1),j=!0;else if(M.startsWith("!"))R=M.slice(1),j=!0;let v=T&&T>O?T-O:void 0;return L2(K,j,R,v)};if(q){let W=q+":",K=_;_=(A)=>A.startsWith(W)?K(A.slice(W.length)):L2(Ek,!1,A,void 0,!0)}if(z){let W=_;_=(K)=>z({className:K,parseClassName:W})}return _},xk=(Q)=>{let q=new Map;return Q.orderSensitiveModifiers.forEach((z,_)=>{q.set(z,1e6+_)}),(z)=>{let _=[],W=[];for(let K=0;K<z.length;K++){let A=z[K],L=A[0]==="[",O=q.has(A);if(L||O){if(W.length>0)W.sort(),_.push(...W),W=[];_.push(A)}else W.push(A)}if(W.length>0)W.sort(),_.push(...W);return _}},yk=(Q)=>({cache:Sk(Q.cacheSize),parseClassName:kk(Q),sortModifiers:xk(Q),postfixLookupClassGroupIds:vk(Q),...Tk(Q)}),vk=(Q)=>{let q=Object.create(null),z=Q.postfixLookupClassGroups;if(z)for(let _=0;_<z.length;_++)q[z[_]]=!0;return q},hk,bk=(Q,q)=>{let{parseClassName:z,getClassGroupId:_,getConflictingClassGroupIds:W,sortModifiers:K,postfixLookupClassGroupIds:A}=q,L=[],O=Q.trim().split(hk),T="";for(let N=O.length-1;N>=0;N-=1){let M=O[N],{isExternal:R,modifiers:j,hasImportantModifier:v,baseClassName:m,maybePostfixModifierPosition:b}=z(M);if(R){T=M+(T.length>0?" "+T:T);continue}let n=!!b,e;if(n){let YZ=m.substring(0,b);e=_(YZ);let p=e&&A[e]?_(m):void 0;if(p&&p!==e)e=p,n=!1}else e=_(m);if(!e){if(!n){T=M+(T.length>0?" "+T:T);continue}if(e=_(m),!e){T=M+(T.length>0?" "+T:T);continue}n=!1}let GZ=j.length===0?"":j.length===1?j[0]:K(j).join(":"),JZ=v?GZ+"!":GZ,LZ=JZ+e;if(L.indexOf(LZ)>-1)continue;L.push(LZ);let kZ=W(e,n);for(let YZ=0;YZ<kZ.length;++YZ){let p=kZ[YZ];L.push(JZ+p)}T=M+(T.length>0?" "+T:T)}return T},gk=(...Q)=>{let q=0,z,_,W="";while(q<Q.length)if(z=Q[q++]){if(_=V2(z))W&&(W+=" "),W+=_}return W},V2=(Q)=>{if(typeof Q==="string")return Q;let q,z="";for(let _=0;_<Q.length;_++)if(Q[_]){if(q=V2(Q[_]))z&&(z+=" "),z+=q}return z},A2=(Q,...q)=>{let z,_,W,K,A=(O)=>{let T=q.reduce((N,M)=>M(N),Q());return z=yk(T),_=z.cache.get,W=z.cache.set,K=L,L(O)},L=(O)=>{let T=_(O);if(T)return T;let N=bk(O,z);return W(O,N),N};return K=A,(...O)=>K(gk(...O))},mk,WY=(Q)=>{let q=(z)=>z[Q]||mk;return q.isThemeGetter=!0,q},R2,j2,fk,uk,dk,ck,pk,lk,nG=(Q)=>fk.test(Q),ZX=(Q)=>!!Q&&!Number.isNaN(Number(Q)),zq=(Q)=>!!Q&&Number.isInteger(Number(Q)),G3=(Q)=>Q.endsWith("%")&&ZX(Q.slice(0,-1)),iq=(Q)=>uk.test(Q),C2=()=>!0,ik=(Q)=>dk.test(Q)&&!ck.test(Q),_3=()=>!1,nk=(Q)=>pk.test(Q),sk=(Q)=>lk.test(Q),ak=(Q)=>!AZ(Q)&&!FZ(Q),ok=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),rk=(Q)=>sG(Q,$2,_3),AZ=(Q)=>R2.test(Q),Hz=(Q)=>sG(Q,S2,ik),O2=(Q)=>sG(Q,qx,ZX),tk=(Q)=>sG(Q,k2,C2),ek=(Q)=>sG(Q,E2,_3),F2=(Q)=>sG(Q,P2,_3),Zx=(Q)=>sG(Q,D2,sk),vA=(Q)=>sG(Q,x2,nk),FZ=(Q)=>j2.test(Q),TK=(Q)=>zz(Q,S2),Xx=(Q)=>zz(Q,E2),M2=(Q)=>zz(Q,P2),Yx=(Q)=>zz(Q,$2),Qx=(Q)=>zz(Q,D2),hA=(Q)=>zz(Q,x2,!0),Jx=(Q)=>zz(Q,k2,!0),sG=(Q,q,z)=>{let _=R2.exec(Q);if(_){if(_[1])return q(_[1]);return z(_[2])}return!1},zz=(Q,q,z=!1)=>{let _=j2.exec(Q);if(_){if(_[1])return q(_[1]);return z}return!1},P2=(Q)=>Q==="position"||Q==="percentage",D2=(Q)=>Q==="image"||Q==="url",$2=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",S2=(Q)=>Q==="length",qx=(Q)=>Q==="number",E2=(Q)=>Q==="family-name",k2=(Q)=>Q==="number"||Q==="weight",x2=(Q)=>Q==="shadow",N2=()=>{let Q=WY("color"),q=WY("font"),z=WY("text"),_=WY("font-weight"),W=WY("tracking"),K=WY("leading"),A=WY("breakpoint"),L=WY("container"),O=WY("spacing"),T=WY("radius"),N=WY("shadow"),M=WY("inset-shadow"),R=WY("text-shadow"),j=WY("drop-shadow"),v=WY("blur"),m=WY("perspective"),b=WY("aspect"),n=WY("ease"),e=WY("animate"),GZ=()=>["auto","avoid","all","avoid-page","page","left","right","column"],JZ=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],LZ=()=>[...JZ(),FZ,AZ],kZ=()=>["auto","hidden","clip","visible","scroll"],YZ=()=>["auto","contain","none"],p=()=>[FZ,AZ,O],NZ=()=>[nG,"full","auto",...p()],o=()=>[zq,"none","subgrid",FZ,AZ],VZ=()=>["auto",{span:["full",zq,FZ,AZ]},zq,FZ,AZ],WZ=()=>[zq,"auto",FZ,AZ],a=()=>["auto","min","max","fr",FZ,AZ],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],h=()=>["start","end","center","stretch","center-safe","end-safe"],u=()=>["auto",...p()],d=()=>[nG,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...p()],_Z=()=>[nG,"screen","full","dvw","lvw","svw","min","max","fit",...p()],s=()=>[nG,"screen","full","lh","dvh","lvh","svh","min","max","fit",...p()],V=()=>[Q,FZ,AZ],t=()=>[...JZ(),M2,F2,{position:[FZ,AZ]}],IZ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],CZ=()=>["auto","cover","contain",Yx,rk,{size:[FZ,AZ]}],yZ=()=>[G3,TK,Hz],JX=()=>["","none","full",T,FZ,AZ],OZ=()=>["",ZX,TK,Hz],YX=()=>["solid","dashed","dotted","double"],TX=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],BX=()=>[ZX,G3,M2,F2],Oq=()=>["","none",v,FZ,AZ],UZ=()=>["none",ZX,FZ,AZ],KQ=()=>["none",ZX,FZ,AZ],BQ=()=>[ZX,FZ,AZ],yY=()=>[nG,"full",...p()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[iq],breakpoint:[iq],color:[C2],container:[iq],"drop-shadow":[iq],ease:["in","out","in-out"],font:[ak],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[iq],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[iq],shadow:[iq],spacing:["px",ZX],text:[iq],"text-shadow":[iq],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nG,AZ,FZ,b]}],container:["container"],"container-type":[{"@container":["","normal","size",FZ,AZ]}],"container-named":[ok],columns:[{columns:[ZX,AZ,FZ,L]}],"break-after":[{"break-after":GZ()}],"break-before":[{"break-before":GZ()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:LZ()}],overflow:[{overflow:kZ()}],"overflow-x":[{"overflow-x":kZ()}],"overflow-y":[{"overflow-y":kZ()}],overscroll:[{overscroll:YZ()}],"overscroll-x":[{"overscroll-x":YZ()}],"overscroll-y":[{"overscroll-y":YZ()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:NZ()}],"inset-x":[{"inset-x":NZ()}],"inset-y":[{"inset-y":NZ()}],start:[{"inset-s":NZ(),start:NZ()}],end:[{"inset-e":NZ(),end:NZ()}],"inset-bs":[{"inset-bs":NZ()}],"inset-be":[{"inset-be":NZ()}],top:[{top:NZ()}],right:[{right:NZ()}],bottom:[{bottom:NZ()}],left:[{left:NZ()}],visibility:["visible","invisible","collapse"],z:[{z:[zq,"auto",FZ,AZ]}],basis:[{basis:[nG,"full","auto",L,...p()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ZX,nG,"auto","initial","none",AZ]}],grow:[{grow:["",ZX,FZ,AZ]}],shrink:[{shrink:["",ZX,FZ,AZ]}],order:[{order:[zq,"first","last","none",FZ,AZ]}],"grid-cols":[{"grid-cols":o()}],"col-start-end":[{col:VZ()}],"col-start":[{"col-start":WZ()}],"col-end":[{"col-end":WZ()}],"grid-rows":[{"grid-rows":o()}],"row-start-end":[{row:VZ()}],"row-start":[{"row-start":WZ()}],"row-end":[{"row-end":WZ()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":a()}],"auto-rows":[{"auto-rows":a()}],gap:[{gap:p()}],"gap-x":[{"gap-x":p()}],"gap-y":[{"gap-y":p()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...h(),"normal"]}],"justify-self":[{"justify-self":["auto",...h()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...h(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...h(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...h(),"baseline"]}],"place-self":[{"place-self":["auto",...h()]}],p:[{p:p()}],px:[{px:p()}],py:[{py:p()}],ps:[{ps:p()}],pe:[{pe:p()}],pbs:[{pbs:p()}],pbe:[{pbe:p()}],pt:[{pt:p()}],pr:[{pr:p()}],pb:[{pb:p()}],pl:[{pl:p()}],m:[{m:u()}],mx:[{mx:u()}],my:[{my:u()}],ms:[{ms:u()}],me:[{me:u()}],mbs:[{mbs:u()}],mbe:[{mbe:u()}],mt:[{mt:u()}],mr:[{mr:u()}],mb:[{mb:u()}],ml:[{ml:u()}],"space-x":[{"space-x":p()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":p()}],"space-y-reverse":["space-y-reverse"],size:[{size:d()}],"inline-size":[{inline:["auto",..._Z()]}],"min-inline-size":[{"min-inline":["auto",..._Z()]}],"max-inline-size":[{"max-inline":["none",..._Z()]}],"block-size":[{block:["auto",...s()]}],"min-block-size":[{"min-block":["auto",...s()]}],"max-block-size":[{"max-block":["none",...s()]}],w:[{w:[L,"screen",...d()]}],"min-w":[{"min-w":[L,"screen","none",...d()]}],"max-w":[{"max-w":[L,"screen","none","prose",{screen:[A]},...d()]}],h:[{h:["screen","lh",...d()]}],"min-h":[{"min-h":["screen","lh","none",...d()]}],"max-h":[{"max-h":["screen","lh",...d()]}],"font-size":[{text:["base",z,TK,Hz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[_,Jx,tk]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",G3,AZ]}],"font-family":[{font:[Xx,ek,q]}],"font-features":[{"font-features":[AZ]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[W,FZ,AZ]}],"line-clamp":[{"line-clamp":[ZX,"none",FZ,O2]}],leading:[{leading:[K,...p()]}],"list-image":[{"list-image":["none",FZ,AZ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",FZ,AZ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...YX(),"wavy"]}],"text-decoration-thickness":[{decoration:[ZX,"from-font","auto",FZ,Hz]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[ZX,"auto",FZ,AZ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"tab-size":[{tab:[zq,FZ,AZ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",FZ,AZ]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",FZ,AZ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:t()}],"bg-repeat":[{bg:IZ()}],"bg-size":[{bg:CZ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zq,FZ,AZ],radial:["",FZ,AZ],conic:[zq,FZ,AZ]},Qx,Zx]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:yZ()}],"gradient-via-pos":[{via:yZ()}],"gradient-to-pos":[{to:yZ()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:JX()}],"rounded-s":[{"rounded-s":JX()}],"rounded-e":[{"rounded-e":JX()}],"rounded-t":[{"rounded-t":JX()}],"rounded-r":[{"rounded-r":JX()}],"rounded-b":[{"rounded-b":JX()}],"rounded-l":[{"rounded-l":JX()}],"rounded-ss":[{"rounded-ss":JX()}],"rounded-se":[{"rounded-se":JX()}],"rounded-ee":[{"rounded-ee":JX()}],"rounded-es":[{"rounded-es":JX()}],"rounded-tl":[{"rounded-tl":JX()}],"rounded-tr":[{"rounded-tr":JX()}],"rounded-br":[{"rounded-br":JX()}],"rounded-bl":[{"rounded-bl":JX()}],"border-w":[{border:OZ()}],"border-w-x":[{"border-x":OZ()}],"border-w-y":[{"border-y":OZ()}],"border-w-s":[{"border-s":OZ()}],"border-w-e":[{"border-e":OZ()}],"border-w-bs":[{"border-bs":OZ()}],"border-w-be":[{"border-be":OZ()}],"border-w-t":[{"border-t":OZ()}],"border-w-r":[{"border-r":OZ()}],"border-w-b":[{"border-b":OZ()}],"border-w-l":[{"border-l":OZ()}],"divide-x":[{"divide-x":OZ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":OZ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...YX(),"hidden","none"]}],"divide-style":[{divide:[...YX(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...YX(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ZX,FZ,AZ]}],"outline-w":[{outline:["",ZX,TK,Hz]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",N,hA,vA]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",M,hA,vA]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:OZ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[ZX,Hz]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":OZ()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",R,hA,vA]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[ZX,FZ,AZ]}],"mix-blend":[{"mix-blend":[...TX(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":TX()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ZX]}],"mask-image-linear-from-pos":[{"mask-linear-from":BX()}],"mask-image-linear-to-pos":[{"mask-linear-to":BX()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":BX()}],"mask-image-t-to-pos":[{"mask-t-to":BX()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":BX()}],"mask-image-r-to-pos":[{"mask-r-to":BX()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":BX()}],"mask-image-b-to-pos":[{"mask-b-to":BX()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":BX()}],"mask-image-l-to-pos":[{"mask-l-to":BX()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":BX()}],"mask-image-x-to-pos":[{"mask-x-to":BX()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":BX()}],"mask-image-y-to-pos":[{"mask-y-to":BX()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[FZ,AZ]}],"mask-image-radial-from-pos":[{"mask-radial-from":BX()}],"mask-image-radial-to-pos":[{"mask-radial-to":BX()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":JZ()}],"mask-image-conic-pos":[{"mask-conic":[ZX]}],"mask-image-conic-from-pos":[{"mask-conic-from":BX()}],"mask-image-conic-to-pos":[{"mask-conic-to":BX()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:t()}],"mask-repeat":[{mask:IZ()}],"mask-size":[{mask:CZ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",FZ,AZ]}],filter:[{filter:["","none",FZ,AZ]}],blur:[{blur:Oq()}],brightness:[{brightness:[ZX,FZ,AZ]}],contrast:[{contrast:[ZX,FZ,AZ]}],"drop-shadow":[{"drop-shadow":["","none",j,hA,vA]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",ZX,FZ,AZ]}],"hue-rotate":[{"hue-rotate":[ZX,FZ,AZ]}],invert:[{invert:["",ZX,FZ,AZ]}],saturate:[{saturate:[ZX,FZ,AZ]}],sepia:[{sepia:["",ZX,FZ,AZ]}],"backdrop-filter":[{"backdrop-filter":["","none",FZ,AZ]}],"backdrop-blur":[{"backdrop-blur":Oq()}],"backdrop-brightness":[{"backdrop-brightness":[ZX,FZ,AZ]}],"backdrop-contrast":[{"backdrop-contrast":[ZX,FZ,AZ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ZX,FZ,AZ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ZX,FZ,AZ]}],"backdrop-invert":[{"backdrop-invert":["",ZX,FZ,AZ]}],"backdrop-opacity":[{"backdrop-opacity":[ZX,FZ,AZ]}],"backdrop-saturate":[{"backdrop-saturate":[ZX,FZ,AZ]}],"backdrop-sepia":[{"backdrop-sepia":["",ZX,FZ,AZ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":p()}],"border-spacing-x":[{"border-spacing-x":p()}],"border-spacing-y":[{"border-spacing-y":p()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",FZ,AZ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ZX,"initial",FZ,AZ]}],ease:[{ease:["linear","initial",n,FZ,AZ]}],delay:[{delay:[ZX,FZ,AZ]}],animate:[{animate:["none",e,FZ,AZ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,FZ,AZ]}],"perspective-origin":[{"perspective-origin":LZ()}],rotate:[{rotate:UZ()}],"rotate-x":[{"rotate-x":UZ()}],"rotate-y":[{"rotate-y":UZ()}],"rotate-z":[{"rotate-z":UZ()}],scale:[{scale:KQ()}],"scale-x":[{"scale-x":KQ()}],"scale-y":[{"scale-y":KQ()}],"scale-z":[{"scale-z":KQ()}],"scale-3d":["scale-3d"],skew:[{skew:BQ()}],"skew-x":[{"skew-x":BQ()}],"skew-y":[{"skew-y":BQ()}],transform:[{transform:[FZ,AZ,"","none","gpu","cpu"]}],"transform-origin":[{origin:LZ()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yY()}],"translate-x":[{"translate-x":yY()}],"translate-y":[{"translate-y":yY()}],"translate-z":[{"translate-z":yY()}],"translate-none":["translate-none"],zoom:[{zoom:[zq,FZ,AZ]}],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",FZ,AZ]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":V()}],"scrollbar-track-color":[{"scrollbar-track":V()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mbs":[{"scroll-mbs":p()}],"scroll-mbe":[{"scroll-mbe":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pbs":[{"scroll-pbs":p()}],"scroll-pbe":[{"scroll-pbe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",FZ,AZ]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[ZX,TK,Hz,O2]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Gx=(Q,{cacheSize:q,prefix:z,experimentalParseClassName:_,extend:W={},override:K={}})=>{return r_(Q,"cacheSize",q),r_(Q,"prefix",z),r_(Q,"experimentalParseClassName",_),bA(Q.theme,K.theme),bA(Q.classGroups,K.classGroups),bA(Q.conflictingClassGroups,K.conflictingClassGroups),bA(Q.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),r_(Q,"postfixLookupClassGroups",K.postfixLookupClassGroups),r_(Q,"orderSensitiveModifiers",K.orderSensitiveModifiers),gA(Q.theme,W.theme),gA(Q.classGroups,W.classGroups),gA(Q.conflictingClassGroups,W.conflictingClassGroups),gA(Q.conflictingClassGroupModifiers,W.conflictingClassGroupModifiers),H3(Q,W,"postfixLookupClassGroups"),H3(Q,W,"orderSensitiveModifiers"),Q},r_=(Q,q,z)=>{if(z!==void 0)Q[q]=z},bA=(Q,q)=>{if(q)for(let z in q)r_(Q,z,q[z])},gA=(Q,q)=>{if(q)for(let z in q)H3(Q,q,z)},H3=(Q,q,z)=>{let _=q[z];if(_!==void 0)Q[z]=Q[z]?Q[z].concat(_):_},y2=(Q,...q)=>typeof Q==="function"?A2(N2,Q,...q):A2(()=>Gx(N2(),Q),...q);var v2=C(()=>{B2=[],Ek=[],hk=/\s+/,mk=[],R2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dk=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ck=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/});var nq,Hx,zx=(Q)=>{if(typeof Q==="boolean")return Q?"":void 0;if(Q===void 0||Q===null)return;return String(Q)},_x=(Q)=>{let q=JSON.stringify(Q),z=nq.useRef({signature:q,value:Q});if(z.current.signature!==q)z.current={signature:q,value:Q};return z.current.value},mZ=(Q,q)=>{let z=U2(q?.baseClass,{variants:q?.variants,defaultVariants:q?.defaultVariants,compoundVariants:q?.compoundVariants}),_=q?.passVariantProps?new Set(q.passVariantProps):void 0,W=nq.forwardRef((K,A)=>{let{children:L,...O}=K,T=O.className;delete O.className;let N={};for(let n in q?.variants)if(N[n]=O[n],n in O&&!_?.has(n))delete O[n];let M=_x(N),R={};if(q?.variantsAsDataAttrs&&q.variants)for(let n of q.variantsAsDataAttrs){let e=n.toString(),GZ=K[e]??q.defaultVariants?.[n];R[`data-${e}`]=zx(GZ)}let j=O.style,v=nq.useMemo(()=>q?.style?{...q.style,...j}:j,[j]),m=nq.useMemo(()=>Hx(IK(z(M),T)),[M,T]),b=Q;if(K.asChild&&typeof Q==="string")b=q2,delete O.asChild;return nq.createElement(b,{ref:A,className:m,...q.defaultProps,...R,...O,style:v},L)});return W.displayName=q?.displayName??"uic",W};var FY=C(()=>{G2();K2();yA();v2();nq=g(ZZ(),1),Hx=y2({extend:{classGroups:{"font-size":[{text:["micro","caption","label","compact","callout","body","subtitle","title","headline","display","heading1","heading2","heading3","heading4","heading5"]}]},theme:{spacing:["nav-x"],radius:["panel"]}}})});function wJ(...Q){return(...q)=>{for(let z of Q)if(typeof z==="function")z(...q)}}var t_=()=>{};var h2,dZ;var CY=C(()=>{h2=g(ZZ(),1),dZ=typeof document<"u"?h2.default.useLayoutEffect:()=>{}});function Kx(Q=!1){let q=MY.useContext(b2),z=MY.useRef(null);if(z.current===null&&!Q){let _=MY.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(_){let W=W3.get(_);if(W==null)W3.set(_,{id:q.current,state:_.memoizedState});else if(_.memoizedState!==W.state)q.current=W.id,W3.delete(_)}z.current=++q.current}return z.current}function Bx(Q){let q=MY.useContext(b2);if(q===mA&&!Ux)console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let z=Kx(!!Q),_=`react-aria${q.prefix}`;return Q||`${_}-${z}`}function Lx(Q){let q=MY.default.useId(),[z]=MY.useState(sY()),_=z?"react-aria":`react-aria${mA.prefix}`;return Q||`${_}-${q}`}function Ax(){return!1}function Ox(){return!0}function Fx(Q){return()=>{}}function sY(){if(typeof MY.default.useSyncExternalStore==="function")return MY.default.useSyncExternalStore(Fx,Ax,Ox);return MY.useContext(Wx)}var MY,mA,b2,Wx,Ux,W3,g2;var aG=C(()=>{MY=g(ZZ(),1),mA={prefix:String(Math.round(Math.random()*10000000000)),current:0},b2=MY.default.createContext(mA),Wx=MY.default.createContext(!1),Ux=Boolean(typeof window<"u"&&window.document&&window.document.createElement),W3=new WeakMap;g2=typeof MY.default.useId==="function"?Lx:Bx});function m2(Q){let[q,z]=oG.useState(Q),_=oG.useRef(q),W=oG.useRef(null),K=oG.useRef(()=>{if(!W.current)return;let L=W.current.next();if(L.done){W.current=null;return}if(_.current===L.value)K.current();else z(L.value)});dZ(()=>{if(_.current=q,W.current)K.current()});let A=oG.useCallback((L)=>{W.current=L(_.current),K.current()},[K]);return[q,A]}var oG;var f2=C(()=>{CY();oG=g(ZZ(),1)});function aX(Q){let[q,z]=sq.useState(Q),_=sq.useRef(null),W=g2(q),K=sq.useRef(null);if(wK)wK.register(K,W);if(Mx){let A=e_.get(W);if(A&&!A.includes(_))A.push(_);else e_.set(W,[_])}return dZ(()=>{let A=W;return()=>{if(wK)wK.unregister(K);e_.delete(A)}},[W]),sq.useEffect(()=>{let A=_.current;if(A)z(A);return()=>{if(A)_.current=null}}),W}function u2(Q,q){if(Q===q)return Q;let z=e_.get(Q);if(z)return z.forEach((W)=>W.current=q),q;let _=e_.get(q);if(_)return _.forEach((W)=>W.current=Q),Q;return q}function _q(Q=[]){let q=aX(),[z,_]=m2(q),W=sq.useCallback(()=>{_(function*(){yield q,yield document.getElementById(q)?q:void 0})},[q,_]);return dZ(W,[q,W,...Q]),z}var sq,Mx,e_,wK;var YJ=C(()=>{CY();aG();f2();sq=g(ZZ(),1),Mx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),e_=new Map;if(typeof FinalizationRegistry<"u")wK=new FinalizationRegistry((Q)=>{e_.delete(Q)})});function Wq(...Q){if(Q.length===1&&Q[0])return Q[0];return(q)=>{let z=!1,_=Q.map((W)=>{let K=d2(W,q);return z||=typeof K=="function",K});if(z)return()=>{_.forEach((W,K)=>{if(typeof W==="function")W();else d2(Q[K],null)})}}}function d2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!=null)Q.current=q}var U3=()=>{};function jZ(...Q){let q={...Q[0]};for(let z=1;z<Q.length;z++){let _=Q[z];for(let W in _){let K=q[W],A=_[W];if(typeof K==="function"&&typeof A==="function"&&W[0]==="o"&&W[1]==="n"&&W.charCodeAt(2)>=65&&W.charCodeAt(2)<=90)q[W]=wJ(K,A);else if((W==="className"||W==="UNSAFE_className")&&typeof K==="string"&&typeof A==="string")q[W]=z2(K,A);else if(W==="id"&&K&&A)q.id=u2(K,A);else if(W==="ref"&&K&&A)q.ref=Wq(K,A);else q[W]=A!==void 0?A:K}}return q}var PY=C(()=>{t_();YJ();U3();yA()});var VJ=C(()=>{PY()});var fA=C(()=>{U3()});var c2=C(()=>{CY()});function JQ(Q){let q=_z.useRef(null),z=_z.useRef(void 0),_=_z.useCallback((W)=>{if(typeof Q==="function"){let K=Q,A=K(W);return()=>{if(typeof A==="function")A();else K(null)}}else if(Q)return Q.current=W,()=>{Q.current=null}},[Q]);return _z.useMemo(()=>({get current(){return q.current},set current(W){if(q.current=W,z.current)z.current(),z.current=void 0;if(W!=null)z.current=_(W)}}),[_])}var _z;var p2=C(()=>{_z=g(ZZ(),1)});var ZW=C(()=>{p2()});function xQ({values:Q,children:q}){for(let[z,_]of Q)q=NY.default.createElement(z.Provider,{value:_},q);return q}function yX(Q){let{className:q,style:z,children:_,defaultClassName:W,defaultChildren:K,defaultStyle:A,values:L,render:O}=Q;return NY.useMemo(()=>{let T,N,M;if(typeof q==="function")T=q({...L,defaultClassName:W});else T=q;if(typeof z==="function")N=z({...L,defaultStyle:A||{}});else N=z;if(typeof _==="function")M=_({...L,defaultChildren:K});else if(_==null)M=K;else M=_;return{className:T??W,style:N||A?{...A,...N}:void 0,children:M??K,"data-rac":"",render:O?(R)=>O(R,L):void 0}},[q,z,_,W,K,A,L,O])}function Uz(Q,q){let z=NY.useContext(Q);if(q===null)return null;if(z&&typeof z==="object"&&"slots"in z&&z.slots){let _=q||Wz;if(!z.slots[_]){let W=new Intl.ListFormat().format(Object.keys(z.slots).map((A)=>`"${A}"`)),K=q?`Invalid slot "${q}".`:"A slot prop is required.";throw Error(`${K} Valid slot names are ${W}.`)}return z.slots[_]}return z}function fX(Q,q,z){let _=Uz(z,Q.slot)||{},{ref:W,...K}=_,A=JQ(NY.useMemo(()=>Wq(q,W),[q,W])),L=jZ(K,Q);if("style"in K&&K.style&&"style"in Q&&Q.style)if(typeof K.style==="function"||typeof Q.style==="function")L.style=(O)=>{let T=typeof K.style==="function"?K.style(O):K.style,N={...O.defaultStyle,...T},M=typeof Q.style==="function"?Q.style({...O,defaultStyle:N}):Q.style;return{...N,...M}};else L.style={...K.style,...Q.style};return[L,A]}function uA(Q=!0){let[q,z]=NY.useState(Q),_=NY.useRef(!1),W=NY.useCallback((K)=>{_.current=!0,z(!!K)},[]);return dZ(()=>{if(!_.current)z(!1)},[]),[W,q]}function i2(Q){let q=/^(data-.*)$/,z={};for(let _ in Q)if(!q.test(_))z[_]=Q[_];return z}function Nx(Q,q,z){let{render:_,...W}=q,K=NY.useRef(null),A=NY.useMemo(()=>Wq(z,K),[z,K]);dZ(()=>{if(_){if(!K.current)console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?");else if(K.current.localName!==Q)console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${Q}>, got <${K.current.localName}>. This may break the component behavior and accessibility.`)}},[Q,_]);let L={...W,ref:A};if(_)return _(L,void 0);return NY.default.createElement(Q,L)}var NY,Wz,l2,LX;var qQ=C(()=>{VJ();fA();c2();ZW();NY=g(ZZ(),1),Wz=Symbol("default");l2={},LX=new Proxy({},{get(Q,q){if(typeof q!=="string")return;let z=l2[q];if(!z)z=NY.forwardRef(Nx.bind(null,q)),l2[q]=z;return z}})});function RJ(Q){let q=(z,_)=>{if(Kz.useContext(Ix))return null;return Q(z,_)};return q.displayName=Q.displayName||Q.name,Kz.forwardRef(q)}var Kz,Ix;var n2=C(()=>{Kz=g(ZZ(),1);if(typeof HTMLTemplateElement<"u")Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.appendChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.removeChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(Q,q){return this.content.insertBefore(Q,q)}});Ix=Kz.createContext(!1)});var XW=C(()=>{n2()});var dA,cA,Bz;var K3=C(()=>{qQ();XW();dA=g(ZZ(),1),cA=dA.createContext({}),Bz=RJ(function(q,z){[q,z]=fX(q,z,cA);let{elementType:_="label",...W}=q,K=LX[_];return dA.default.createElement(K,{className:"react-aria-Label",...W,ref:z})})});function HX(Q,q={}){let{labelable:z,isLink:_,global:W,events:K=W,propNames:A}=q,L={};for(let O in Q)if(Object.prototype.hasOwnProperty.call(Q,O)&&(Tx.has(O)||z&&wx.has(O)||_&&Vx.has(O)||W&&Rx.has(O)||K&&(s2.has(O)||O.endsWith("Capture")&&s2.has(O.slice(0,-7)))||A?.has(O)||jx.test(O)))L[O]=Q[O];return L}var Tx,wx,Vx,Rx,s2,jx;var rG=C(()=>{Tx=new Set(["id"]),wx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Vx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Rx=new Set(["dir","lang","hidden","inert","translate"]),s2=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),jx=/^(data-.*)$/});function tG(Q,q){let{id:z,"aria-label":_,"aria-labelledby":W}=Q;if(z=aX(z),W&&_)W=[...new Set([z,...W.trim().split(/\s+/)])].join(" ");else if(W)W=W.trim().split(/\s+/).join(" ");if(!_&&!W&&q)_=q;return{id:z,"aria-label":_,"aria-labelledby":W}}var VK=C(()=>{YJ()});function a2(Q){let{id:q,label:z,"aria-labelledby":_,"aria-label":W,labelElementType:K="label"}=Q;q=aX(q);let A=aX(),L={};if(z)_=_?`${A} ${_}`:A,L={id:A,htmlFor:K==="label"?q:void 0};else if(!_&&!W)console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let O=tG({id:q,"aria-label":W,"aria-labelledby":_});return{labelProps:L,fieldProps:O}}var o2=C(()=>{YJ();VK()});function r2(Q){if(Intl.Locale){let z=new Intl.Locale(Q).maximize(),_=typeof z.getTextInfo==="function"?z.getTextInfo():z.textInfo;if(_)return _.direction==="rtl";if(z.script)return Cx.has(z.script)}let q=Q.split("-")[0];return Px.has(q)}var Cx,Px;var t2=C(()=>{Cx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Px=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"])});function Xw(){let Q=typeof window<"u"&&window[Zw]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([Q])}catch{Q="en-US"}return{locale:Q,direction:r2(Q)?"rtl":"ltr"}}function e2(){B3=Xw();for(let Q of RK)Q(B3)}function Yw(){let Q=sY(),[q,z]=pA.useState(B3);if(pA.useEffect(()=>{if(RK.size===0)window.addEventListener("languagechange",e2);return RK.add(z),()=>{if(RK.delete(z),RK.size===0)window.removeEventListener("languagechange",e2)}},[]),Q)return{locale:typeof window<"u"&&window[Zw]||"en-US",direction:"ltr"};return q}var pA,Zw,B3,RK;var Qw=C(()=>{t2();aG();pA=g(ZZ(),1),Zw=Symbol.for("react-aria.i18n.locale");B3=Xw(),RK=new Set});function YW(){let Q=Yw();return lA.useContext(Dx)||Q}var lA,Dx;var iA=C(()=>{Qw();lA=g(ZZ(),1),Dx=lA.default.createContext(null)});var Uq=C(()=>{rG()});var nA,Jw;var qw=C(()=>{nA=g(ZZ(),1),Jw=nA.createContext(null)});function sA(Q,q="assertive",z=7000){if(!QW)if(QW=new Gw,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(QW?.isAttached())QW?.announce(Q,q,z)},100);else QW.announce(Q,q,z);else QW.announce(Q,q,z)}class Gw{constructor(){if(this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u")this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}isAttached(){return this.node?.isConnected}createLog(Q){let q=document.createElement("div");return q.setAttribute("role","log"),q.setAttribute("aria-live",Q),q.setAttribute("aria-relevant","additions"),q}destroy(){if(!this.node)return;document.body.removeChild(this.node),this.node=null}announce(Q,q="assertive",z=7000){if(!this.node)return;let _=document.createElement("div");if(typeof Q==="object")_.setAttribute("role","img"),_.setAttribute("aria-labelledby",Q["aria-labelledby"]);else _.textContent=Q;if(q==="assertive")this.assertiveLog?.appendChild(_);else this.politeLog?.appendChild(_);if(Q!=="")setTimeout(()=>{_.remove()},z)}clear(Q){if(!this.node)return;if((!Q||Q==="assertive")&&this.assertiveLog)this.assertiveLog.innerHTML="";if((!Q||Q==="polite")&&this.politeLog)this.politeLog.innerHTML=""}}var QW=null;var Hw=()=>{};var zw=C(()=>{Hw()});function aY(Q){if($x())Q.focus({preventScroll:!0});else{let q=Sx(Q);Q.focus(),Ex(q)}}function $x(){if(aA==null){aA=!1;try{document.createElement("div").focus({get preventScroll(){return aA=!0,!0}})}catch{}}return aA}function Sx(Q){let q=Q.parentNode,z=[],_=document.scrollingElement||document.documentElement;while(q instanceof HTMLElement&&q!==_){if(q.offsetHeight<q.scrollHeight||q.offsetWidth<q.scrollWidth)z.push({element:q,scrollTop:q.scrollTop,scrollLeft:q.scrollLeft});q=q.parentNode}if(_ instanceof HTMLElement)z.push({element:_,scrollTop:_.scrollTop,scrollLeft:_.scrollLeft});return z}function Ex(Q){for(let{element:q,scrollTop:z,scrollLeft:_}of Q)q.scrollTop=z,q.scrollLeft=_}var aA=null;var Lz=()=>{};function kx(Q){return Q!==null&&typeof Q==="object"&&"nodeType"in Q&&typeof Q.nodeType==="number"}function _w(Q){return kx(Q)&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in Q}var cZ=(Q)=>{return Q?.ownerDocument??document},uX=(Q)=>{if(Q&&"window"in Q&&Q.window===Q)return Q;return cZ(Q).defaultView||window};var DY=()=>{};function yQ(){return xx}var xx=!1;var Ww=()=>{};var oA=C(()=>{Ww()});function XX(Q,q){if(!yQ())return q&&Q?Q.contains(q):!1;if(!Q||!q)return!1;let z=q;while(z!==null){if(z===Q)return!0;if(z.tagName==="SLOT"&&z.assignedSlot)z=z.assignedSlot.parentNode;else if(_w(z))z=z.host;else z=z.parentNode}return!1}function KZ(Q){if(yQ()&&Q.target instanceof Element&&Q.target.shadowRoot){if("composedPath"in Q)return Q.composedPath()[0]??null;else if("composedPath"in Q.nativeEvent)return Q.nativeEvent.composedPath()[0]??null}return Q.target}function L3(Q){if(!Q)return!1;let q=Q.getRootNode(),z=uX(Q);if(!(q instanceof z.Document||q instanceof z.ShadowRoot))return!1;let _=q.activeElement;return _!=null&&Q.contains(_)}var KX=(Q=document)=>{if(!yQ())return Q.activeElement;let q=Q.activeElement;while(q&&"shadowRoot"in q&&q.shadowRoot?.activeElement)q=q.shadowRoot.activeElement;return q};var dX=C(()=>{DY();oA()});function vx(Q){let q=uX(Q);if(!(Q instanceof q.HTMLElement)&&!(Q instanceof q.SVGElement))return!1;let{display:z,visibility:_}=Q.style,W=z!=="none"&&_!=="hidden"&&_!=="collapse";if(W){let{getComputedStyle:K}=Q.ownerDocument.defaultView,{display:A,visibility:L}=K(Q);W=A!=="none"&&L!=="hidden"&&L!=="collapse"}return W}function hx(Q,q){return!Q.hasAttribute("hidden")&&!Q.hasAttribute("data-react-aria-prevent-focus")&&(Q.nodeName==="DETAILS"&&q&&q.nodeName!=="SUMMARY"?Q.hasAttribute("open"):!0)}function rA(Q,q){if(yx)return Q.checkVisibility({visibilityProperty:!0})&&!Q.closest("[data-react-aria-prevent-focus]");return Q.nodeName!=="#comment"&&vx(Q)&&hx(Q,q)&&(!Q.parentElement||rA(Q.parentElement,Q))}var yx;var Uw=C(()=>{DY();yx=typeof Element<"u"&&"checkVisibility"in Element.prototype});function tA(Q,q){return Q.matches(bx)&&!Kw(Q)&&(q?.skipVisibilityCheck||rA(Q))}function eA(Q){return Q.matches(gx)&&rA(Q)&&!Kw(Q)}function Kw(Q){let q=Q;while(q!=null){if(q instanceof q.ownerDocument.defaultView.HTMLElement&&q.inert)return!0;q=q.parentElement}return!1}var A3,bx,gx;var ZO=C(()=>{Uw();A3=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],bx=A3.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";A3.push('[tabindex]:not([tabindex="-1"]):not([disabled])');gx=A3.join(':not([hidden]):not([tabindex="-1"]),')});function CK(Q){let q=Q;return q.nativeEvent=Q,q.isDefaultPrevented=()=>q.defaultPrevented,q.isPropagationStopped=()=>q.cancelBubble,q.persist=()=>{},q}function YO(Q,q){Object.defineProperty(Q,"target",{value:q}),Object.defineProperty(Q,"currentTarget",{value:q})}function QO(Q){let q=XO.useRef({isFocused:!1,observer:null});return dZ(()=>{let z=q.current;return()=>{if(z.observer)z.observer.disconnect(),z.observer=null}},[]),XO.useCallback((z)=>{let _=KZ(z);if(_ instanceof HTMLButtonElement||_ instanceof HTMLInputElement||_ instanceof HTMLTextAreaElement||_ instanceof HTMLSelectElement){q.current.isFocused=!0;let W=_,K=(A)=>{if(q.current.isFocused=!1,W.disabled){let L=CK(A);Q?.(L)}if(q.current.observer)q.current.observer.disconnect(),q.current.observer=null};W.addEventListener("focusout",K,{once:!0}),q.current.observer=new MutationObserver(()=>{if(q.current.isFocused&&W.disabled){q.current.observer?.disconnect();let A=W===KX()?null:KX();W.dispatchEvent(new FocusEvent("blur",{relatedTarget:A})),W.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:A}))}}),q.current.observer.observe(W,{attributes:!0,attributeFilter:["disabled"]})}},[Q])}function Bw(Q){while(Q&&!tA(Q,{skipVisibilityCheck:!0}))Q=Q.parentElement;let q=uX(Q),z=q.document.activeElement;if(!z||z===Q)return;jK=!0;let _=!1,W=(N)=>{if(KZ(N)===z||_)N.stopImmediatePropagation()},K=(N)=>{if(KZ(N)===z||_){if(N.stopImmediatePropagation(),!Q&&!_)_=!0,aY(z),O()}},A=(N)=>{if(KZ(N)===Q||_)N.stopImmediatePropagation()},L=(N)=>{if(KZ(N)===Q||_){if(N.stopImmediatePropagation(),!_)_=!0,aY(z),O()}};q.addEventListener("blur",W,!0),q.addEventListener("focusout",K,!0),q.addEventListener("focusin",L,!0),q.addEventListener("focus",A,!0);let O=()=>{cancelAnimationFrame(T),q.removeEventListener("blur",W,!0),q.removeEventListener("focusout",K,!0),q.removeEventListener("focusin",L,!0),q.removeEventListener("focus",A,!0),jK=!1,_=!1},T=requestAnimationFrame(O);return O}var XO,jK=!1;var PK=C(()=>{Lz();dX();DY();ZO();CY();XO=g(ZZ(),1)});function JO(Q){if(typeof window>"u"||window.navigator==null)return!1;let q=window.navigator.userAgentData?.brands;return Array.isArray(q)&&q.some((z)=>Q.test(z.brand))||Q.test(window.navigator.userAgent)}function O3(Q){return typeof window<"u"&&window.navigator!=null?Q.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function aq(Q){let q=null;return()=>{if(q==null)q=Q();return q}}var jJ,mx,F3,CJ,Lw,Aw,M3,DK,Ow;var QJ=C(()=>{jJ=aq(function(){return O3(/^Mac/i)}),mx=aq(function(){return O3(/^iPhone/i)}),F3=aq(function(){return O3(/^iPad/i)||jJ()&&navigator.maxTouchPoints>1}),CJ=aq(function(){return mx()||F3()}),Lw=aq(function(){return jJ()||CJ()}),Aw=aq(function(){return JO(/AppleWebKit/i)&&!M3()}),M3=aq(function(){return JO(/Chrome/i)}),DK=aq(function(){return JO(/Android/i)}),Ow=aq(function(){return JO(/Firefox/i)})});function qO(Q){if(Q.pointerType===""&&Q.isTrusted)return!0;if(DK()&&Q.pointerType)return Q.type==="click"&&Q.buttons===1;return Q.detail===0&&!Q.pointerType}function Fw(Q){return!DK()&&Q.width===0&&Q.height===0||Q.width===1&&Q.height===1&&Q.pressure===0&&Q.detail===0&&Q.pointerType==="mouse"}var N3=C(()=>{QJ()});function Az(){return JW.useContext(fx)}function ux(Q,q){let z=Q.getAttribute("target");return(!z||z==="_self")&&Q.origin===location.origin&&!Q.hasAttribute("download")&&!q.metaKey&&!q.ctrlKey&&!q.altKey&&!q.shiftKey}function JJ(Q,q,z=!0){let{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}=q;if(Ow()&&window.event?.type?.startsWith("key")&&Q.target==="_blank")if(jJ())_=!0;else W=!0;let L=Aw()&&jJ()&&!F3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}):new MouseEvent("click",{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A,detail:1,bubbles:!0,cancelable:!0});JJ.isOpening=z,aY(Q),Q.dispatchEvent(L),JJ.isOpening=!1}function dx(Q,q){if(Q instanceof HTMLAnchorElement)q(Q);else if(Q.hasAttribute("data-href")){let z=document.createElement("a");if(z.href=Q.getAttribute("data-href"),Q.hasAttribute("data-target"))z.target=Q.getAttribute("data-target");if(Q.hasAttribute("data-rel"))z.rel=Q.getAttribute("data-rel");if(Q.hasAttribute("data-download"))z.download=Q.getAttribute("data-download");if(Q.hasAttribute("data-ping"))z.ping=Q.getAttribute("data-ping");if(Q.hasAttribute("data-referrer-policy"))z.referrerPolicy=Q.getAttribute("data-referrer-policy");Q.appendChild(z),q(z),Q.removeChild(z)}}function cx(Q,q){dx(Q,(z)=>JJ(z,q))}function qW(Q){let z=Az().useHref(Q?.href??""),_={};if(Q){for(let W of["href","target","rel","download","ping","referrerPolicy"])if(W in Q)_[W]=W==="href"?z:Q[W]}return _}function Mw(Q,q,z,_){if(!q.isNative&&Q.currentTarget instanceof HTMLAnchorElement&&Q.currentTarget.href&&!Q.isDefaultPrevented()&&ux(Q.currentTarget,Q)&&z)Q.preventDefault(),q.open(Q.currentTarget,Q,z,_)}var JW,fx;var eG=C(()=>{Lz();QJ();JW=g(ZZ(),1),fx=JW.createContext({isNative:!0,open:cx,useHref:(Q)=>Q});JJ.isOpening=!1});function HO(Q,q){for(let z of I3)z(Q,q)}function lx(Q){return!(Q.metaKey||!jJ()&&Q.altKey||Q.ctrlKey||Q.key==="Control"||Q.key==="Shift"||Q.key==="Meta")}function GO(Q){if(Oz=!0,!JJ.isOpening&&lx(Q))Fz="keyboard",SK="keyboard",HO("keyboard",Q)}function GW(Q){if(Fz="pointer",SK="pointerType"in Q?Q.pointerType:"mouse",Q.type==="mousedown"||Q.type==="pointerdown")Oz=!0,HO("pointer",Q)}function Nw(Q){if(!JJ.isOpening&&qO(Q))Oz=!0,Fz="virtual",SK="virtual"}function Iw(Q){let q=uX(KZ(Q)),z=cZ(KZ(Q));if(KZ(Q)===q||KZ(Q)===z||jK||!Q.isTrusted)return;if(!Oz&&!T3)Fz="virtual",SK="virtual",HO("virtual",Q);Oz=!1,T3=!1}function Tw(){if(jK)return;Oz=!1,T3=!0}function w3(Q){if(typeof window>"u"||typeof document>"u")return;let q=uX(Q),z=cZ(Q);if($K.get(q))return;let _=q.HTMLElement.prototype.focus;if(q.HTMLElement.prototype.focus=function(){Oz=!0,_.apply(this,arguments)},z.addEventListener("keydown",GO,!0),z.addEventListener("keyup",GO,!0),z.addEventListener("click",Nw,!0),q.addEventListener("focus",Iw,!0),q.addEventListener("blur",Tw,!1),typeof PointerEvent<"u")z.addEventListener("pointerdown",GW,!0),z.addEventListener("pointermove",GW,!0),z.addEventListener("pointerup",GW,!0);q.addEventListener("beforeunload",()=>{ww(Q)},{once:!0}),$K.set(q,{focus:_})}function ix(Q){let q=cZ(Q),z;if(q.readyState!=="loading")w3(Q);else z=()=>{w3(Q)},q.addEventListener("DOMContentLoaded",z);return()=>ww(Q,z)}function Kq(){return Fz!=="pointer"}function Mz(){return Fz}function EK(Q){Fz=Q,SK=Q==="pointer"?"mouse":Q,HO(Q,null)}function sx(Q,q,z){let _=z?KZ(z):void 0,W=cZ(_),K=uX(_),A=typeof K<"u"?K.HTMLInputElement:HTMLInputElement,L=typeof K<"u"?K.HTMLTextAreaElement:HTMLTextAreaElement,O=typeof K<"u"?K.HTMLElement:HTMLElement,T=typeof K<"u"?K.KeyboardEvent:KeyboardEvent,N=KX(W);return Q=Q||N instanceof A&&!nx.has(N.type)||N instanceof L||N instanceof O&&N.isContentEditable,!(Q&&q==="keyboard"&&z instanceof T&&!px[z.key])}function Vw(Q,q,z){w3(),V3.useEffect(()=>{if(z?.enabled===!1)return;let _=(W,K)=>{if(!sx(!!z?.isTextInput,W,K))return;Q(Kq())};return I3.add(_),()=>{I3.delete(_)}},q)}var V3,Fz=null,SK="keyboard",I3,$K,Oz=!1,T3=!1,px,ww=(Q,q)=>{let z=uX(Q),_=cZ(Q);if(q)_.removeEventListener("DOMContentLoaded",q);if(!$K.has(z))return;if(z.HTMLElement.prototype.focus=$K.get(z).focus,_.removeEventListener("keydown",GO,!0),_.removeEventListener("keyup",GO,!0),_.removeEventListener("click",Nw,!0),z.removeEventListener("focus",Iw,!0),z.removeEventListener("blur",Tw,!1),typeof PointerEvent<"u")_.removeEventListener("pointerdown",GW,!0),_.removeEventListener("pointermove",GW,!0),_.removeEventListener("pointerup",GW,!0);$K.delete(z)},nx;var ZH=C(()=>{dX();DY();PK();QJ();N3();eG();V3=g(ZZ(),1),I3=new Set,$K=new Map,px={Tab:!0,Escape:!0};if(typeof document<"u")ix();nx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Rw(){if(typeof window>"u")return;function Q(_){return"propertyName"in _}let q=(_)=>{let W=KZ(_);if(!Q(_)||!W)return;let K=XH.get(W);if(!K)K=new Set,XH.set(W,K),W.addEventListener("transitioncancel",z,{once:!0});K.add(_.propertyName)},z=(_)=>{let W=KZ(_);if(!Q(_)||!W)return;let K=XH.get(W);if(!K)return;if(K.delete(_.propertyName),K.size===0)W.removeEventListener("transitioncancel",z),XH.delete(W);if(XH.size===0){for(let A of R3)A();R3.clear()}};document.body.addEventListener("transitionrun",q),document.body.addEventListener("transitionend",z)}function ax(){for(let[Q]of XH)if("isConnected"in Q&&!Q.isConnected)XH.delete(Q)}function zO(Q){requestAnimationFrame(()=>{if(ax(),XH.size===0)Q();else R3.add(Q)})}var XH,R3;var j3=C(()=>{dX();XH=new Map,R3=new Set;if(typeof document<"u")if(document.readyState!=="loading")Rw();else document.addEventListener("DOMContentLoaded",Rw)});function oq(Q){if(!Q.isConnected)return;let q=cZ(Q);if(Mz()==="virtual"){let z=KX(q);zO(()=>{let _=KX(q);if((_===z||_===q.body)&&Q.isConnected)aY(Q)})}else aY(Q)}var kK=C(()=>{Lz();dX();ZH();DY();j3()});function Nz(Q){let{isDisabled:q,onFocus:z,onBlur:_,onFocusChange:W}=Q,K=C3.useCallback((O)=>{if(KZ(O)===O.currentTarget){if(_)_(O);if(W)W(!1);return!0}},[_,W]),A=QO(K),L=C3.useCallback((O)=>{let T=KZ(O),N=cZ(T),M=N?KX(N):KX();if(T===O.currentTarget&&T===M){if(z)z(O);if(W)W(!0);A(O)}},[W,z,A]);return{focusProps:{onFocus:!q&&(z||W||_)?L:void 0,onBlur:!q&&(_||W)?K:void 0}}}var C3;var _O=C(()=>{dX();DY();PK();C3=g(ZZ(),1)});function P3(Q){if(!Q)return;let q=!0;return(z)=>{let _={...z,preventDefault(){z.preventDefault()},isDefaultPrevented(){return z.isDefaultPrevented()},stopPropagation(){if(q)console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");else q=!0},continuePropagation(){q=!1},isPropagationStopped(){return q}};if(Q(_),q)z.stopPropagation()}}var jw=()=>{};function Iz(Q){return{keyboardProps:Q.isDisabled?{}:{onKeyDown:P3(Q.onKeyDown),onKeyUp:P3(Q.onKeyUp)}}}var WO=C(()=>{jw()});function UO(Q,q){dZ(()=>{if(Q&&Q.ref&&q)return Q.ref.current=q.current,()=>{if(Q.ref)Q.ref.current=null}})}var D3=C(()=>{CY()});function ox(Q){let q=rq.useContext(KO)||{};UO(q,Q);let{ref:z,..._}=q;return _}function YH(Q,q){let{focusProps:z}=Nz(Q),{keyboardProps:_}=Iz(Q),W=jZ(z,_),K=ox(q),A=Q.isDisabled?{}:K,L=rq.useRef(Q.autoFocus);rq.useEffect(()=>{if(L.current&&q.current)oq(q.current);L.current=!1},[q]);let O=Q.excludeFromTabOrder?-1:0;if(Q.isDisabled)O=void 0;return{focusableProps:jZ({...W,tabIndex:O},A)}}var rq,KO;var HW=C(()=>{kK();PY();_O();WO();D3();rq=g(ZZ(),1),KO=rq.default.createContext(null)});function Cw(Q){if(CJ()){if(zW==="default"){let q=cZ(Q);$3=q.documentElement.style.webkitUserSelect,q.documentElement.style.webkitUserSelect="none"}zW="disabled"}else if(Q instanceof HTMLElement||Q instanceof SVGElement){let q="userSelect"in Q.style?"userSelect":"webkitUserSelect";BO.set(Q,Q.style[q]),Q.style[q]="none"}}function S3(Q){if(CJ()){if(zW!=="disabled")return;zW="restoring",setTimeout(()=>{zO(()=>{if(zW==="restoring"){let q=cZ(Q);if(q.documentElement.style.webkitUserSelect==="none")q.documentElement.style.webkitUserSelect=$3||"";$3="",zW="default"}})},300)}else if(Q instanceof HTMLElement||Q instanceof SVGElement){if(Q&&BO.has(Q)){let q=BO.get(Q),z="userSelect"in Q.style?"userSelect":"webkitUserSelect";if(Q.style[z]==="none")Q.style[z]=q;if(Q.getAttribute("style")==="")Q.removeAttribute("style");BO.delete(Q)}}}var zW="default",$3="",BO;var Pw=C(()=>{DY();QJ();j3();BO=new WeakMap});function Dw(Q){return Q?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}function LO(Q){let q=Q??(typeof document<"u"?document:void 0);if(!q)return Dw(q);if(E3.has(q))return E3.get(q);let z=q.querySelector('meta[property="csp-nonce"]'),_=z&&z instanceof uX(z).HTMLMetaElement&&(z.nonce||z.content)||Dw(q)||void 0;if(_!==void 0)E3.set(q,_);return _}var E3;var k3=C(()=>{DY();E3=new WeakMap});var $w,xK;var x3=C(()=>{$w=g(ZZ(),1),xK=$w.default.createContext({register:()=>{}});xK.displayName="PressResponderContext"});function $Y(Q){let q=_W.useRef(null);return rx(()=>{q.current=Q},[Q]),_W.useCallback((...z)=>{let _=q.current;return _?.(...z)},[])}var _W,rx;var Tz=C(()=>{CY();_W=g(ZZ(),1),rx=_W.default.useInsertionEffect??dZ});function JH(){let Q=QH.useRef(new Map),q=QH.useCallback((W,K,A,L)=>{let O=L?.once?(...T)=>{Q.current.delete(A),A(...T)}:A;Q.current.set(A,{type:K,eventTarget:W,fn:O,options:L}),W.addEventListener(K,O,L)},[]),z=QH.useCallback((W,K,A,L)=>{let O=Q.current.get(A)?.fn||A;W.removeEventListener(K,O,L),Q.current.delete(A)},[]),_=QH.useCallback(()=>{Q.current.forEach((W,K)=>{z(W.eventTarget,W.type,K,W.options)})},[z]);return QH.useEffect(()=>{return _},[_]),{addGlobalListener:q,removeGlobalListener:z,removeAllGlobalListeners:_}}var QH;var yK=C(()=>{QH=g(ZZ(),1)});function ex(Q){let q=qY.useContext(xK);if(q){let{register:z,ref:_,...W}=q;Q=jZ(W,Q),z()}return UO(q,Q.ref),Q}class vK{#Z;constructor(Q,q,z,_){this.#Z=!0;let K=(_?.target??z.currentTarget)?.getBoundingClientRect(),A,L=0,O,T=null;if(z.clientX!=null&&z.clientY!=null)O=z.clientX,T=z.clientY;if(K)if(O!=null&&T!=null)A=O-K.left,L=T-K.top;else A=K.width/2,L=K.height/2;this.type=Q,this.pointerType=q,this.target=z.currentTarget,this.shiftKey=z.shiftKey,this.metaKey=z.metaKey,this.ctrlKey=z.ctrlKey,this.altKey=z.altKey,this.x=A,this.y=L,this.key=z.key}continuePropagation(){this.#Z=!1}get shouldStopPropagation(){return this.#Z}}function qH(Q){let{onPress:q,onPressChange:z,onPressStart:_,onPressEnd:W,onPressUp:K,onClick:A,isDisabled:L,isPressed:O,preventFocusOnPress:T,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:M,ref:R,...j}=ex(Q),[v,m]=qY.useState(!1),b=qY.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:n,removeAllGlobalListeners:e}=JH(),GZ=qY.useCallback((D,h)=>{let u=b.current;if(L||u.didFirePressStart)return!1;let d=!0;if(u.isTriggeringEvent=!0,_){let _Z=new vK("pressstart",h,D);_(_Z),d=_Z.shouldStopPropagation}if(z)z(!0);return u.isTriggeringEvent=!1,u.didFirePressStart=!0,m(!0),d},[L,_,z]),JZ=qY.useCallback((D,h,u=!0)=>{let d=b.current;if(!d.didFirePressStart)return!1;d.didFirePressStart=!1,d.isTriggeringEvent=!0;let _Z=!0;if(W){let s=new vK("pressend",h,D);W(s),_Z=s.shouldStopPropagation}if(z)z(!1);if(m(!1),q&&u&&!L){let s=new vK("press",h,D);q(s),_Z&&=s.shouldStopPropagation}return d.isTriggeringEvent=!1,_Z},[L,W,z,q]),LZ=$Y(JZ),kZ=qY.useCallback((D,h)=>{let u=b.current;if(L)return!1;if(K){u.isTriggeringEvent=!0;let d=new vK("pressup",h,D);return K(d),u.isTriggeringEvent=!1,d.shouldStopPropagation}return!0},[L,K]),YZ=$Y(kZ),p=qY.useCallback((D)=>{let h=b.current;if(h.isPressed&&h.target){if(h.didFirePressStart&&h.pointerType!=null)JZ(wz(h.target,D),h.pointerType,!1);if(h.isPressed=!1,h.isOverTarget=!1,h.activePointerId=null,h.pointerType=null,e(),!M)S3(h.target);for(let u of h.disposables)u();h.disposables=[]}},[M,e,JZ]),NZ=$Y(p);qY.useEffect(()=>{if(L&&b.current.isPressed)NZ({currentTarget:b.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[L]);let o=qY.useCallback((D)=>{if(N)p(D)},[N,p]),VZ=qY.useCallback((D)=>{if(L)return;A?.(D)},[L,A]),WZ=qY.useCallback((D,h)=>{if(L)return;if(A){let u=new MouseEvent("click",D);YO(u,h),A(CK(u))}},[L,A]),a=qY.useMemo(()=>{let D=b.current,h={onKeyDown(d){if(y3(d.nativeEvent,d.currentTarget)&&XX(d.currentTarget,KZ(d))){if(xw(KZ(d),d.key))d.preventDefault();let _Z=!0;if(!D.isPressed&&!d.repeat)D.target=d.currentTarget,D.isPressed=!0,D.pointerType="keyboard",_Z=GZ(d,"keyboard");let s=d.currentTarget,V=(t)=>{if(y3(t,s)&&!t.repeat&&XX(s,KZ(t))&&D.target)YZ(wz(D.target,t),"keyboard")};if(n(cZ(d.currentTarget),"keyup",wJ(V,u),!0),_Z)d.stopPropagation();if(d.metaKey&&jJ())D.metaKeyEvents?.set(d.key,d.nativeEvent)}else if(d.key==="Meta")D.metaKeyEvents=new Map},onClick(d){if(d&&!XX(d.currentTarget,KZ(d)))return;if(d&&d.button===0&&!D.isTriggeringEvent&&!JJ.isOpening){let _Z=!0;if(L)d.preventDefault();if(!D.ignoreEmulatedMouseEvents&&!D.isPressed&&(D.pointerType==="virtual"||qO(d.nativeEvent))){let s=GZ(d,"virtual"),V=YZ(d,"virtual"),t=LZ(d,"virtual");VZ(d),_Z=s&&V&&t}else if(D.isPressed&&D.pointerType!=="keyboard"){let s=D.pointerType||d.nativeEvent.pointerType||"virtual",V=YZ(wz(d.currentTarget,d),s),t=LZ(wz(d.currentTarget,d),s,!0);_Z=V&&t,D.isOverTarget=!1,VZ(d),NZ(d)}if(D.ignoreEmulatedMouseEvents=!1,_Z)d.stopPropagation()}}},u=(d)=>{if(D.isPressed&&D.target&&y3(d,D.target)){if(xw(KZ(d),d.key))d.preventDefault();let _Z=KZ(d),s=XX(D.target,_Z);if(LZ(wz(D.target,d),"keyboard",s),s)WZ(d,D.target);if(e(),d.key!=="Enter"&&v3(D.target)&&XX(D.target,_Z)&&!d[Sw])d[Sw]=!0,JJ(D.target,d,!1);D.isPressed=!1,D.metaKeyEvents?.delete(d.key)}else if(d.key==="Meta"&&D.metaKeyEvents?.size){let _Z=D.metaKeyEvents;D.metaKeyEvents=void 0;for(let s of _Z.values())D.target?.dispatchEvent(new KeyboardEvent("keyup",s))}};if(typeof PointerEvent<"u"){h.onPointerDown=(s)=>{if(s.button!==0||!XX(s.currentTarget,KZ(s)))return;if(Fw(s.nativeEvent)){D.pointerType="virtual";return}D.pointerType=s.pointerType;let V=!0;if(!D.isPressed){if(D.isPressed=!0,D.isOverTarget=!0,D.activePointerId=s.pointerId,D.target=s.currentTarget,!M)Cw(D.target);V=GZ(s,D.pointerType);let t=KZ(s);if("releasePointerCapture"in t)if("hasPointerCapture"in t){if(t.hasPointerCapture(s.pointerId))t.releasePointerCapture(s.pointerId)}else t.releasePointerCapture(s.pointerId);n(cZ(s.currentTarget),"pointerup",d,!1),n(cZ(s.currentTarget),"pointercancel",_Z,!1)}if(V)s.stopPropagation()},h.onMouseDown=(s)=>{if(!XX(s.currentTarget,KZ(s)))return;if(s.button===0){if(T){let V=Bw(s.target);if(V)D.disposables.push(V)}s.stopPropagation()}},h.onPointerUp=(s)=>{if(!XX(s.currentTarget,KZ(s))||D.pointerType==="virtual")return;if(s.button===0&&!D.isPressed)YZ(s,D.pointerType||s.pointerType)},h.onPointerEnter=(s)=>{if(s.pointerId===D.activePointerId&&D.target&&!D.isOverTarget&&D.pointerType!=null)D.isOverTarget=!0,GZ(wz(D.target,s),D.pointerType)},h.onPointerLeave=(s)=>{if(s.pointerId===D.activePointerId&&D.target&&D.isOverTarget&&D.pointerType!=null)D.isOverTarget=!1,LZ(wz(D.target,s),D.pointerType,!1),o(s)};let d=(s)=>{if(s.pointerId===D.activePointerId&&D.isPressed&&s.button===0&&D.target){if(XX(D.target,KZ(s))&&D.pointerType!=null){let V=!1,t=setTimeout(()=>{if(D.isPressed&&D.target instanceof HTMLElement)if(V)NZ(s);else aY(D.target),D.target.click()},80);n(s.currentTarget,"click",()=>V=!0,!0),D.disposables.push(()=>clearTimeout(t))}else NZ(s);D.isOverTarget=!1}},_Z=(s)=>{NZ(s)};h.onDragStart=(s)=>{if(!XX(s.currentTarget,KZ(s)))return;NZ(s)}}return h},[n,L,T,e,M,o,GZ,VZ,WZ]);return qY.useEffect(()=>{if(!R)return;let D=cZ(R.current);if(!D||!D.head||D.getElementById(Ew))return;let h=D.createElement("style");h.id=Ew;let u=LO(D);if(u)h.nonce=u;h.textContent=`
|
|
236
|
+
@layer {
|
|
237
|
+
[${kw}] {
|
|
238
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
`.trim(),D.head.prepend(h)},[R]),qY.useEffect(()=>{let D=b.current;return()=>{if(!M)S3(D.target??void 0);for(let h of D.disposables)h();D.disposables=[]}},[M]),{isPressed:O||v,pressProps:jZ(j,a,{[kw]:!0})}}function v3(Q){return Q.tagName==="A"&&Q.hasAttribute("href")}function y3(Q,q){let{key:z,code:_}=Q,W=q,K=W.getAttribute("role");return(z==="Enter"||z===" "||z==="Spacebar"||_==="Space")&&!(W instanceof uX(W).HTMLInputElement&&!yw(W,z)||W instanceof uX(W).HTMLTextAreaElement||W.isContentEditable)&&!((K==="link"||!K&&v3(W))&&z!=="Enter")}function wz(Q,q){let{clientX:z,clientY:_}=q;return{currentTarget:Q,shiftKey:q.shiftKey,ctrlKey:q.ctrlKey,metaKey:q.metaKey,altKey:q.altKey,clientX:z,clientY:_,key:q.key}}function Zy(Q){if(Q instanceof HTMLInputElement)return!1;if(Q instanceof HTMLButtonElement)return Q.type!=="submit"&&Q.type!=="reset";if(v3(Q))return!1;return!0}function xw(Q,q){if(Q instanceof HTMLInputElement)return!yw(Q,q);return Zy(Q)}function yw(Q,q){return Q.type==="checkbox"||Q.type==="radio"?q===" ":Xy.has(Q.type)}var tx,qY,Sw,Ew="react-aria-pressable-style",kw="data-react-aria-pressable",Xy;var hK=C(()=>{t_();PK();Pw();Lz();dX();k3();DY();QJ();N3();PY();eG();x3();Tz();yK();D3();tx=g(lq(),1),qY=g(ZZ(),1);Sw=Symbol("linkClicked");Xy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function h3(Q,q){let{elementType:z="button",isDisabled:_,onPress:W,onPressStart:K,onPressEnd:A,onPressUp:L,onPressChange:O,preventFocusOnPress:T,allowFocusWhenDisabled:N,onClick:M,href:R,target:j,rel:v,type:m="button"}=Q,b;if(z==="button")b={type:m,disabled:_,form:Q.form,formAction:Q.formAction,formEncType:Q.formEncType,formMethod:Q.formMethod,formNoValidate:Q.formNoValidate,formTarget:Q.formTarget,name:Q.name,value:Q.value};else b={role:"button",href:z==="a"&&!_?R:void 0,target:z==="a"?j:void 0,type:z==="input"?m:void 0,disabled:z==="input"?_:void 0,"aria-disabled":!_||z==="input"?void 0:_,rel:z==="a"?v:void 0};let{pressProps:n,isPressed:e}=qH({onPressStart:K,onPressEnd:A,onPressChange:O,onPress:W,onPressUp:L,onClick:M,isDisabled:_,preventFocusOnPress:T,ref:q}),{focusableProps:GZ}=YH(Q,q);if(N)GZ.tabIndex=_?-1:GZ.tabIndex;let JZ=jZ(GZ,n,HX(Q,{labelable:!0}));return{isPressed:e,buttonProps:jZ(b,JZ,{"aria-haspopup":Q["aria-haspopup"],"aria-expanded":Q["aria-expanded"],"aria-controls":Q["aria-controls"],"aria-pressed":Q["aria-pressed"],"aria-current":Q["aria-current"],"aria-disabled":Q["aria-disabled"]})}}var vw=C(()=>{rG();PY();HW();hK()});var hw=C(()=>{vw()});function WW(Q){let{isDisabled:q,onBlurWithin:z,onFocusWithin:_,onFocusWithinChange:W}=Q,K=bK.useRef({isFocusWithin:!1}),{addGlobalListener:A,removeAllGlobalListeners:L}=JH(),O=bK.useCallback((M)=>{if(!XX(M.currentTarget,KZ(M)))return;if(K.current.isFocusWithin&&!XX(M.currentTarget,M.relatedTarget)){if(K.current.isFocusWithin=!1,L(),z)z(M);if(W)W(!1)}},[z,W,K,L]),T=QO(O),N=bK.useCallback((M)=>{if(!XX(M.currentTarget,KZ(M)))return;let R=KZ(M),j=cZ(R),v=KX(j);if(!K.current.isFocusWithin&&v===R){if(_)_(M);if(W)W(!0);K.current.isFocusWithin=!0,T(M);let m=M.currentTarget;A(j,"focus",(b)=>{let n=KZ(b);if(K.current.isFocusWithin&&!XX(m,n)){let e=new j.defaultView.FocusEvent("blur",{relatedTarget:n});YO(e,m);let GZ=CK(e);O(GZ)}},{capture:!0})}},[_,W,T,A,O]);if(q)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:N,onBlur:O}}}var bK;var AO=C(()=>{PK();dX();DY();yK();bK=g(ZZ(),1)});function vQ(Q={}){let{autoFocus:q=!1,isTextInput:z,within:_}=Q,W=GH.useRef({isFocused:!1,isFocusVisible:q||Kq()}),[K,A]=GH.useState(!1),[L,O]=GH.useState(()=>W.current.isFocused&&W.current.isFocusVisible),T=GH.useCallback(()=>O(W.current.isFocused&&W.current.isFocusVisible),[]),N=GH.useCallback((j)=>{W.current.isFocused=j,W.current.isFocusVisible=Kq(),A(j),T()},[T]);Vw((j)=>{W.current.isFocusVisible=j,T()},[z,K],{enabled:K,isTextInput:z});let{focusProps:M}=Nz({isDisabled:_,onFocusChange:N}),{focusWithinProps:R}=WW({isDisabled:!_,onFocusWithinChange:N});return{isFocused:K,isFocusVisible:L,focusProps:_?R:M}}var GH;var bw=C(()=>{ZH();_O();AO();GH=g(ZZ(),1)});var UW=C(()=>{bw()});function Yy(){b3=!0,setTimeout(()=>{b3=!1},500)}function gw(Q){if(Q.pointerType==="touch")Yy()}function Qy(){let Q=cZ(null);if(typeof Q>"u")return;if(OO===0){if(typeof PointerEvent<"u")Q.addEventListener("pointerup",gw)}return OO++,()=>{if(OO--,OO>0)return;if(typeof PointerEvent<"u")Q.removeEventListener("pointerup",gw)}}function SY(Q){let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,isDisabled:W}=Q,[K,A]=tq.useState(!1),L=tq.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;tq.useEffect(Qy,[]);let{addGlobalListener:O,removeAllGlobalListeners:T}=JH(),{hoverProps:N,triggerHoverEnd:M}=tq.useMemo(()=>{let R=(m,b)=>{if(L.pointerType=b,W||b==="touch"||L.isHovered||!XX(m.currentTarget,KZ(m)))return;L.isHovered=!0;let n=m.currentTarget;if(L.target=n,O(cZ(KZ(m)),"pointerover",(e)=>{if(L.isHovered&&L.target&&!XX(L.target,KZ(e)))j(e,e.pointerType)},{capture:!0}),q)q({type:"hoverstart",target:n,pointerType:b});if(z)z(!0);A(!0)},j=(m,b)=>{let n=L.target;if(L.pointerType="",L.target=null,b==="touch"||!L.isHovered||!n)return;if(L.isHovered=!1,T(),_)_({type:"hoverend",target:n,pointerType:b});if(z)z(!1);A(!1)},v={};if(typeof PointerEvent<"u")v.onPointerEnter=(m)=>{if(b3&&m.pointerType==="mouse")return;R(m,m.pointerType)},v.onPointerLeave=(m)=>{if(!W&&XX(m.currentTarget,KZ(m)))j(m,m.pointerType)};return{hoverProps:v,triggerHoverEnd:j}},[q,z,_,W,L,O,T]);return tq.useEffect(()=>{if(W)M({currentTarget:L.target},L.pointerType)},[W]),{hoverProps:N,isHovered:K}}var tq,b3=!1,OO=0;var FO=C(()=>{dX();DY();yK();tq=g(ZZ(),1)});var Vz=C(()=>{FO()});var g3=C(()=>{YJ()});function qy(Q,q){if(q){for(let z in Q)if(z.startsWith("on")&&!Jy.test(z))Q[z]=void 0;Q.href=void 0,Q.target=void 0}return Q}var eq,gK,Rz,Jy;var m3=C(()=>{qQ();qw();zw();hw();XW();Uq();VJ();UW();Vz();g3();eq=g(ZZ(),1),gK=eq.createContext({}),Rz=RJ(function(q,z){[q,z]=fX(q,z,gK);let _=q,{isPending:W}=_,{buttonProps:K,isPressed:A}=h3(q,z);K=qy(K,W);let{focusProps:L,isFocused:O,isFocusVisible:T}=vQ(q),{hoverProps:N,isHovered:M}=SY({...q,isDisabled:q.isDisabled||W}),R={isHovered:M,isPressed:(_.isPressed||A)&&!W,isFocused:O,isFocusVisible:T,isDisabled:q.isDisabled||!1,isPending:W??!1},j=yX({...q,values:R,defaultClassName:"react-aria-Button"}),v=aX(K.id),m=aX(),b=K["aria-labelledby"];if(W){if(b)b=`${b} ${m}`;else if(K["aria-label"])b=`${v} ${m}`}let n=eq.useRef(W);eq.useEffect(()=>{let GZ={"aria-labelledby":b||v};if(!n.current&&O&&W)sA(GZ,"assertive");else if(n.current&&O&&!W)sA(GZ,"assertive");n.current=W},[W,O,b,v]);let e=HX(q,{global:!0});return delete e.onClick,eq.default.createElement(LX.button,{...jZ(e,j,K,L,N),type:K.type==="submit"&&W?"button":K.type,id:v,ref:z,"aria-labelledby":b,slot:q.slot||void 0,"aria-disabled":W?"true":K["aria-disabled"],"data-disabled":q.isDisabled||void 0,"data-pressed":R.isPressed||void 0,"data-hovered":M||void 0,"data-focused":O||void 0,"data-pending":W||void 0,"data-focus-visible":T||void 0},eq.default.createElement(Jw.Provider,{value:{id:m}},j.children))}),Jy=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/});var KW,HH,ZG;var BW=C(()=>{qQ();KW=g(ZZ(),1),HH=KW.createContext({}),ZG=KW.forwardRef(function(q,z){[q,z]=fX(q,z,HH);let{elementType:_="span",...W}=q,K=LX[_];return KW.default.createElement(K,{className:"react-aria-Text",...W,ref:z})})});var PJ,mK,LW,Gy;var f3=C(()=>{qQ();BW();Uq();PJ=g(ZZ(),1),mK=PJ.createContext(null),LW=PJ.forwardRef(function(q,z){if(!PJ.useContext(mK)?.isInvalid)return null;return PJ.default.createElement(Gy,{...q,ref:z})}),Gy=PJ.forwardRef((Q,q)=>{let z=PJ.useContext(mK),{elementType:_,...W}=Q,K=HX(W,{global:!0}),A=yX({...W,defaultClassName:"react-aria-FieldError",defaultChildren:z.validationErrors.length===0?void 0:z.validationErrors.join(" "),values:z});if(A.children==null)return null;return PJ.default.createElement(ZG,{slot:"errorMessage",elementType:_,...K,...A,ref:q})})});function l3(Q){if(Q[d3]){let{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}=Q[d3];return{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}}return Hy(Q)}function Hy(Q){let{isInvalid:q,validationState:z,name:_,value:W,builtinValidation:K,validate:A,validationBehavior:L="aria"}=Q;if(z)q||=z==="invalid";let O=q!==void 0?{isInvalid:q,validationErrors:[],validationDetails:fw}:null,T=IY.useMemo(()=>{if(!A||W==null)return null;let o=zy(A,W);return mw(o)},[A,W]);if(K?.validationDetails.valid)K=void 0;let N=IY.useContext(uw),M=IY.useMemo(()=>{if(_)return Array.isArray(_)?_.flatMap((o)=>c3(N[o])):c3(N[_]);return[]},[N,_]),[R,j]=IY.useState(N),[v,m]=IY.useState(!1);if(N!==R)j(N),m(!1);let b=IY.useMemo(()=>mw(v?[]:M),[v,M]),n=IY.useRef(AW),[e,GZ]=IY.useState(AW),JZ=IY.useRef(AW),LZ=()=>{if(!kZ)return;YZ(!1);let o=T||K||n.current;if(!u3(o,JZ.current))JZ.current=o,GZ(o)},[kZ,YZ]=IY.useState(!1);return IY.useEffect(LZ),{realtimeValidation:O||b||T||K||AW,displayValidation:L==="native"?O||b||e:O||b||T||K||e,updateValidation(o){if(L==="aria"&&!u3(e,o))GZ(o);else n.current=o},resetValidation(){let o=AW;if(!u3(o,JZ.current))JZ.current=o,GZ(o);if(L==="native")YZ(!1);m(!0)},commitValidation(){if(L==="native")YZ(!0);m(!0)}}}function c3(Q){if(!Q)return[];return Array.isArray(Q)?Q:[Q]}function zy(Q,q){if(typeof Q==="function"){let z=Q(q);if(z&&typeof z!=="boolean")return c3(z)}return[]}function mw(Q){return Q.length?{isInvalid:!0,validationErrors:Q,validationDetails:fw}:null}function u3(Q,q){if(Q===q)return!0;return!!Q&&!!q&&Q.isInvalid===q.isInvalid&&Q.validationErrors.length===q.validationErrors.length&&Q.validationErrors.every((z,_)=>z===q.validationErrors[_])&&Object.entries(Q.validationDetails).every(([z,_])=>q.validationDetails[z]===_)}var IY,p3,fw,AW,uw,d3="__reactAriaFormValidationState";var dw=C(()=>{IY=g(ZZ(),1),p3={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},fw={...p3,customError:!0,valid:!1},AW={isInvalid:!1,validationDetails:p3,validationErrors:[]},uw=IY.createContext({})});var cw=C(()=>{dw()});var MO,pw;var lw=C(()=>{MO=g(ZZ(),1),pw=MO.createContext(null)});function iw(Q){let{description:q,errorMessage:z,isInvalid:_,validationState:W}=Q,{labelProps:K,fieldProps:A}=a2(Q),L=_q([Boolean(q),Boolean(z),_,W]),O=_q([Boolean(q),Boolean(z),_,W]);return A=jZ(A,{"aria-describedby":[L,O,Q["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:K,fieldProps:A,descriptionProps:{id:L},errorMessageProps:{id:O}}}var nw=C(()=>{o2();PY();YJ()});function aw(Q,q,z){let _=$Y((W)=>{if(z&&!W.defaultPrevented)z(q)});sw.useEffect(()=>{let W=Q?.current?.form;return W?.addEventListener("reset",_),()=>{W?.removeEventListener("reset",_)}},[Q])}var sw;var ow=C(()=>{Tz();sw=g(ZZ(),1)});function rw(Q,q,z){let{validationBehavior:_,focus:W}=Q;dZ(()=>{if(_==="native"&&z?.current&&!z.current.disabled){let T=q.realtimeValidation.isInvalid?q.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(z.current.setCustomValidity(T),!z.current.hasAttribute("title"))z.current.title="";if(!q.realtimeValidation.isInvalid)q.updateValidation(Wy(z.current))}});let K=NO.useRef(!1),A=$Y(()=>{if(!K.current)q.resetValidation()}),L=$Y((T)=>{if(!q.displayValidation.isInvalid)q.commitValidation();let N=z?.current?.form;if(!T.defaultPrevented&&z&&N&&Uy(N)===z.current){if(W)W();else z.current?.focus();EK("keyboard")}T.preventDefault()}),O=$Y(()=>{q.commitValidation()});NO.useEffect(()=>{let T=z?.current;if(!T)return;let N=T.form,M=N?.reset;if(N)N.reset=()=>{K.current=!window.event||window.event.type==="message"&&KZ(window.event)instanceof MessagePort,M?.call(N),K.current=!1};return T.addEventListener("invalid",L),T.addEventListener("change",O),N?.addEventListener("reset",A),()=>{if(T.removeEventListener("invalid",L),T.removeEventListener("change",O),N?.removeEventListener("reset",A),N)N.reset=M}},[z,_])}function _y(Q){let q=Q.validity;return{badInput:q.badInput,customError:q.customError,patternMismatch:q.patternMismatch,rangeOverflow:q.rangeOverflow,rangeUnderflow:q.rangeUnderflow,stepMismatch:q.stepMismatch,tooLong:q.tooLong,tooShort:q.tooShort,typeMismatch:q.typeMismatch,valueMissing:q.valueMissing,valid:q.valid}}function Wy(Q){return{isInvalid:!Q.validity.valid,validationDetails:_y(Q),validationErrors:Q.validationMessage?[Q.validationMessage]:[]}}function Uy(Q){for(let q=0;q<Q.elements.length;q++){let z=Q.elements[q];if(z.validity?.valid===!1)return z}return null}var NO;var tw=C(()=>{dX();ZH();Tz();CY();NO=g(ZZ(),1)});function jz(Q,q,z){let[_,W]=GQ.useState(Q||q),K=GQ.useRef(_),A=GQ.useRef(Q!==void 0),L=Q!==void 0;GQ.useEffect(()=>{let M=A.current;if(M!==L)console.warn(`WARN: A component changed from ${M?"controlled":"uncontrolled"} to ${L?"controlled":"uncontrolled"}.`);A.current=L},[L]);let O=L?Q:_;Ky(()=>{K.current=O});let[,T]=GQ.useReducer(()=>({}),{}),N=GQ.useCallback((M,...R)=>{let j=typeof M==="function"?M(K.current):M;if(!Object.is(K.current,j))K.current=j,W(j),T(),z?.(j,...R)},[z]);return[O,N]}var GQ,Ky;var IO=C(()=>{GQ=g(ZZ(),1),Ky=typeof document<"u"?GQ.default.useInsertionEffect??GQ.default.useLayoutEffect:()=>{}});function By(Q={}){let{style:q,isFocusable:z}=Q,[_,W]=OW.useState(!1),{focusWithinProps:K}=WW({isDisabled:!z,onFocusWithinChange:(L)=>W(L)}),A=OW.useMemo(()=>{if(_)return q;else if(q)return{...ew,...q};else return ew},[_]);return{visuallyHiddenProps:{...K,style:A}}}function ZV(Q){let{children:q,elementType:z="div",isFocusable:_,style:W,...K}=Q,{visuallyHiddenProps:A}=By(Q);return OW.default.createElement(z,jZ(K,A),q)}var OW,ew;var XV=C(()=>{PY();AO();OW=g(ZZ(),1),ew={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}});var TO,YV;var QV=C(()=>{TO=g(ZZ(),1),YV=TO.createContext({})});var wO,VO,Ly=(Q)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=Q;return W},RO;var i3=C(()=>{qQ();XW();VJ();UW();Vz();wO=g(ZZ(),1),VO=wO.createContext({}),RO=RJ(function(q,z){[q,z]=fX(q,z,VO);let{hoverProps:_,isHovered:W}=SY({...q,isDisabled:q.disabled}),{isFocused:K,isFocusVisible:A,focusProps:L}=vQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",T=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-Input"});return wO.default.createElement(LX.input,{...jZ(Ly(q),L,_),...T,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});class hQ{constructor(Q){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=Q}get childNodes(){throw Error("childNodes is not supported")}clone(){let Q=new this.constructor(this.key);return Q.value=this.value,Q.level=this.level,Q.hasChildNodes=this.hasChildNodes,Q.rendered=this.rendered,Q.textValue=this.textValue,Q["aria-label"]=this["aria-label"],Q.index=this.index,Q.parentKey=this.parentKey,Q.prevKey=this.prevKey,Q.nextKey=this.nextKey,Q.firstChildKey=this.firstChildKey,Q.lastChildKey=this.lastChildKey,Q.props=this.props,Q.render=this.render,Q.colSpan=this.colSpan,Q.colIndex=this.colIndex,Q}filter(Q,q,z){let _=this.clone();return q.addDescendants(_,Q),_}}function Ay(Q,q,z,_){if(z==null)return[null,null];let W=null,K=null,A=Q.getItem(z);while(A!=null){let L=A.filter(Q,q,_);if(L!=null){if(L.nextKey=null,K)L.prevKey=K.key,K.nextKey=L.key;if(W==null)W=L;q.addNode(L),K=L}A=A.nextKey!=null?Q.getItem(A.nextKey):null}if(K&&K.type==="separator"){let L=K.prevKey;if(q.removeNode(K.key),L!=null)K=q.getItem(L),K.nextKey=null;else K=null}return[W?.key??null,K?.key??null]}var jO,JV,CO,FW,PO;var n3=C(()=>{jO=class jO extends hQ{filter(Q,q,z){let[_,W]=Ay(Q,q,this.firstChildKey,z),K=this.clone();return K.firstChildKey=_,K.lastChildKey=W,K}};JV=class JV extends hQ{static{this.type="header"}};CO=class CO extends hQ{static{this.type="loader"}};FW=class FW extends jO{static{this.type="item"}filter(Q,q,z){if(z(this.textValue,this)){let _=this.clone();return q.addDescendants(_,Q),_}return null}};PO=class PO extends jO{static{this.type="section"}filter(Q,q,z){let _=super.filter(Q,q,z);if(_){if(_.lastChildKey!==null){let W=Q.getItem(_.lastChildKey);if(W&&W.type!=="header")return _}}return null}}});function fK(Q){let{children:q,items:z,idScope:_,addIdAndValue:W,dependencies:K=[]}=Q,A=MW.useMemo(()=>typeof q==="function"?q.toString():void 0,[q]),L=MW.useMemo(()=>new WeakMap,[...K,A]);return MW.useMemo(()=>{if(z&&typeof q==="function"){let O=[];for(let T of z){let N=Oy(T)?T:null,M=N?L.get(N):null;if(!M){M=q(T);let R=M.props.id??T?.key??T?.id;if(_!=null&&M.props.id==null&&R!=null)R=_+":"+R;let j=R??O.length;if(M=MW.cloneElement(M,W?{key:j,id:R,value:T}:{key:j}),N)L.set(N,M)}O.push(M)}return O}else if(typeof q!=="function")return q},[q,z,L,_,W])}function Oy(Q){switch(typeof Q){case"object":return Q!=null;case"function":case"symbol":return!0;default:return!1}}var MW;var s3=C(()=>{MW=g(ZZ(),1)});var a3=pq((Fy)=>{var bQ=g(ZZ());(function(){function Q(R,j){return R===j&&(R!==0||1/R===1/j)||R!==R&&j!==j}function q(R,j){T||bQ.startTransition===void 0||(T=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var v=j();if(!N){var m=j();W(v,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N=!0)}m=K({inst:{value:v,getSnapshot:j}});var b=m[0].inst,n=m[1];return L(function(){b.value=v,b.getSnapshot=j,z(b)&&n({inst:b})},[R,v,j]),A(function(){return z(b)&&n({inst:b}),R(function(){z(b)&&n({inst:b})})},[R]),O(v),v}function z(R){var j=R.getSnapshot;R=R.value;try{var v=j();return!W(R,v)}catch(m){return!0}}function _(R,j){return j()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W=typeof Object.is==="function"?Object.is:Q,K=bQ.useState,A=bQ.useEffect,L=bQ.useLayoutEffect,O=bQ.useDebugValue,T=!1,N=!1,M=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:q;Fy.useSyncExternalStore=bQ.useSyncExternalStore!==void 0?bQ.useSyncExternalStore:M,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});function Ny(Q,q,z){let _=sY(),W=_X.useRef(_);W.current=_;let K=_X.useCallback(()=>{return W.current?z():q()},[q,z]);return HV.useSyncExternalStore(Q,K)}function Iy(Q){return class extends hQ{static{this.type=Q}}}function Ty(Q,q,z,_,W,K){if(typeof Q==="string")Q=Iy(Q);let A=_X.useCallback((O)=>{O?.setProps(q,z,Q,_,K)},[q,z,_,K,Q]),L=_X.useContext(r3);if(L){let O=L.ownerDocument.nodesByProps.get(q);if(!O)O=L.ownerDocument.createElement(Q.type),O.setProps(q,z,Q,_,K),L.appendChild(O),L.ownerDocument.updateCollection(),L.ownerDocument.nodesByProps.set(q,O);return W?_X.default.createElement(r3.Provider,{value:O},W):null}return _X.default.createElement(Q.type,{ref:A},W)}function Bq(Q,q){let z=({node:W})=>q(W.props,W.props.ref,W),_=_X.forwardRef((W,K)=>{let A=_X.useContext(KO);if(!_X.useContext(zV)){if(q.length>=3)throw Error(q.name+" cannot be rendered outside a collection.");return q(W,K)}return Ty(Q,W,K,"children"in W?W.children:null,null,(O)=>_X.default.createElement(KO.Provider,{value:A},_X.default.createElement(z,{node:O})))});return _.displayName=q.name,_}function wy(Q){return fK({...Q,addIdAndValue:!0})}function t3(Q){let q=_X.useContext(qV),z=(q?.dependencies||[]).concat(Q.dependencies),_=Q.idScope??q?.idScope,W=wy({...Q,idScope:_,dependencies:z});if(_X.useContext(o3))W=_X.default.createElement(Vy,null,W);return q=_X.useMemo(()=>({dependencies:z,idScope:_}),[_,...z]),_X.default.createElement(qV.Provider,{value:q},W)}function Vy({children:Q}){let q=_X.useContext(o3),z=_X.useMemo(()=>_X.default.createElement(o3.Provider,{value:null},_X.default.createElement(zV.Provider,{value:!0},Q)),[Q]);return sY()?_X.default.createElement(r3.Provider,{value:q},z):GV.createPortal(z,q)}var GV,_X,HV,zV,o3,Qc,r3,qV;var e3=C(()=>{n3();s3();HW();aG();GV=g(lq(),1),_X=g(ZZ(),1),HV=g(a3(),1),zV=_X.createContext(!1),o3=_X.createContext(null);Qc=typeof _X.default.useSyncExternalStore==="function"?_X.default.useSyncExternalStore:Ny,r3=_X.createContext(null);qV=_X.createContext(null)});var uK=C(()=>{e3()});var WV=C(()=>{s3()});function UV(Q,q,z){return fK({items:q?Q.getChildren(q.key):Q,dependencies:[z],children(_){if(_.type==="content")return HQ.default.createElement(HQ.default.Fragment,null);let W=_.render(_);if(!z||_.type!=="item")return W;return HQ.default.createElement(HQ.default.Fragment,null,z({type:"item",key:_.key,dropPosition:"before"}),W,Ry(Q,_,z))}})}function Ry(Q,q,z){let _=q.key,W=Q.getKeyAfter(_),K=W!=null?Q.getItem(W):null;while(K!=null&&K.type!=="item")W=Q.getKeyAfter(K.key),K=W!=null?Q.getItem(W):null;let A=q.nextKey!=null?Q.getItem(q.nextKey):null;while(A!=null&&A.type!=="item")A=A.nextKey!=null?Q.getItem(A.nextKey):null;let L=[];if(A==null){let O=q;while(O?.type==="item"&&(!K||O.parentKey!==K.parentKey&&K.level<O.level)){let T=z({type:"item",key:O.key,dropPosition:"after"});if(HQ.isValidElement(T))L.push(HQ.cloneElement(T,{key:`${O.key}-after`}));O=O.parentKey!=null?Q.getItem(O.parentKey):null}}return L}function Y6(Q){return HQ.useMemo(()=>Q!=null?new Set([Q]):null,[Q])}var HQ,X6,dK;var Q6=C(()=>{WV();HQ=g(ZZ(),1),X6={CollectionRoot({collection:Q,renderDropIndicator:q}){return UV(Q,null,q)},CollectionBranch({collection:Q,parent:q,renderDropIndicator:z}){return UV(Q,q,z)}};dK=HQ.createContext(X6)});var Cz,KV;var BV=C(()=>{Cz=g(ZZ(),1),KV=Cz.createContext({})});var cK=C(()=>{n3()});var LV="react-aria-clear-focus",AV="react-aria-focus";var OV=()=>{};function DO(Q){let q=Cy(cZ(Q));if(q!==Q){if(q)jy(q,Q);if(Q)J6(Q,q)}}function jy(Q,q){Q.dispatchEvent(new FocusEvent("blur",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:q}))}function J6(Q,q){Q.dispatchEvent(new FocusEvent("focus",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:q}))}function Cy(Q){let q=KX(Q),z=q?.getAttribute("aria-activedescendant");if(z)return Q.getElementById(z)||q;return q}var q6=C(()=>{dX();DY()});function zH(Q){if(jJ())return Q.metaKey;return Q.ctrlKey}function Pz(Q){return Q instanceof HTMLInputElement&&!Py.has(Q.type)||Q instanceof HTMLTextAreaElement||Q instanceof HTMLElement&&Q.isContentEditable}var Py;var pK=C(()=>{QJ();Py=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Dz(Q,q,z,_){let W=$Y(z),K=z==null;FV.useEffect(()=>{if(K||!Q.current)return;let A=Q.current;return A.addEventListener(q,W,_),()=>{A.removeEventListener(q,W,_)}},[Q,q,_,K])}var FV;var G6=C(()=>{Tz();FV=g(ZZ(),1)});class NW{constructor(Q,q="en-US"){this.strings=Object.fromEntries(Object.entries(Q).filter(([,z])=>z)),this.defaultLocale=q}getStringForLocale(Q,q){let _=this.getStringsForLocale(q)[Q];if(!_)throw Error(`Could not find intl message ${Q} in ${q} locale`);return _}getStringsForLocale(Q){let q=this.strings[Q];if(!q)q=Sy(Q,this.strings,this.defaultLocale),this.strings[Q]=q;return q}static getGlobalDictionaryForPackage(Q){if(typeof window>"u")return null;let q=window[Dy];if($O===void 0){let _=window[$y];if(!_)return null;$O={};for(let W in _)$O[W]=new NW({[q]:_[W]},q)}let z=$O?.[Q];if(!z)throw Error(`Strings for package "${Q}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return z}}function Sy(Q,q,z="en-US"){if(q[Q])return q[Q];let _=Ey(Q);if(q[_])return q[_];for(let W in q)if(W.startsWith(_+"-"))return q[W];return q[z]}function Ey(Q){if(Intl.Locale)return new Intl.Locale(Q).language;return Q.split("-")[0]}var Dy,$y,$O=void 0;var MV=C(()=>{Dy=Symbol.for("react-aria.i18n.locale"),$y=Symbol.for("react-aria.i18n.strings")});class SO{constructor(Q,q){this.locale=Q,this.strings=q}format(Q,q){let z=this.strings.getStringForLocale(Q,this.locale);return typeof z==="function"?z(q,this):z}plural(Q,q,z="cardinal"){let _=q["="+Q];if(_)return typeof _==="function"?_():_;let W=this.locale+":"+z,K=NV.get(W);if(!K)K=new Intl.PluralRules(this.locale,{type:z}),NV.set(W,K);let A=K.select(Q);return _=q[A]||q.other,typeof _==="function"?_():_}number(Q){let q=IV.get(this.locale);if(!q)q=new Intl.NumberFormat(this.locale),IV.set(this.locale,q);return q.format(Q)}select(Q,q){let z=Q[q]||Q.other;return typeof z==="function"?z():z}}var NV,IV;var TV=C(()=>{NV=new Map,IV=new Map});var wV=C(()=>{MV();TV()});function ky(Q){let q=VV.get(Q);if(!q)q=new NW(Q),VV.set(Q,q);return q}function xy(Q,q){return q&&NW.getGlobalDictionaryForPackage(q)||ky(Q)}function jV(Q,q){let{locale:z}=YW(),_=xy(Q,q);return RV.useMemo(()=>new SO(z,_),[z,_])}var RV,VV;var CV=C(()=>{iA();wV();RV=g(ZZ(),1),VV=new WeakMap});var EO,PV;var DV=C(()=>{EO=g(ZZ(),1),PV=EO.createContext(null)});function $V(Q){let q=XG.useRef({});return XG.default.createElement(vy.Provider,{value:q},Q.children)}var yy,XG,vy;var SV=C(()=>{yy=g(lq(),1),XG=g(ZZ(),1),vy=XG.createContext(null)});var kO,IW;var xO=C(()=>{kO=g(ZZ(),1),IW=kO.createContext({isSelected:!1})});function H6(Q){let q=HX(Q,{labelable:!0}),z;if(Q.orientation==="vertical")z="vertical";if(Q.elementType!=="hr")return{separatorProps:{...q,role:"separator","aria-orientation":z}};return{separatorProps:q}}var EV=C(()=>{rG()});var kV=C(()=>{EV()});var yO,xV,yV,z6;var vV=C(()=>{qQ();kV();cK();uK();Uq();VJ();yO=g(ZZ(),1),xV=yO.createContext({});yV=class yV extends hQ{static{this.type="separator"}filter(Q,q){let z=q.getItem(this.prevKey);if(z&&z.type!=="separator"){let _=this.clone();return q.addDescendants(_,Q),_}return null}};z6=Bq(yV,function(q,z){[q,z]=fX(q,z,xV);let{elementType:_,orientation:W,style:K,className:A,slot:L,...O}=q,T=_||"hr";if(T==="hr"&&W==="vertical")T="div";let N=LX[T],{separatorProps:M}=H6({...O,elementType:_,orientation:W}),R=HX(q,{global:!0});return yO.default.createElement(N,{render:q.render,...jZ(R,M),style:K,className:A??"react-aria-Separator",ref:z,slot:L||void 0})})});function hy(Q){if(typeof Q==="string")return Q.replace(/\s*/g,"");return""+Q}function hV(Q,q){let z=_6.get(Q);if(!z)throw Error("Unknown list");return`${z.id}-option-${hy(q)}`}var _6;var bV=C(()=>{_6=new WeakMap});class gV{constructor(Q,q,z,_){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=(K)=>{if(K.nodeType===Node.ELEMENT_NODE){let A=K.shadowRoot;if(A){let L=this._doc.createTreeWalker(A,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(L),NodeFilter.FILTER_ACCEPT}else if(typeof this.filter==="function")return this.filter(K);else if(this.filter?.acceptNode)return this.filter.acceptNode(K);else if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=Q,this.root=q,this.filter=_??null,this.whatToShow=z??NodeFilter.SHOW_ALL,this._currentNode=q,this._walkerStack.unshift(Q.createTreeWalker(q,z,this._acceptNode));let W=q.shadowRoot;if(W){let K=this._doc.createTreeWalker(W,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(K)}}get currentNode(){return this._currentNode}set currentNode(Q){if(!XX(this.root,Q))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let q=[],z=Q,_=Q;this._currentNode=Q;while(z&&z!==this.root)if(z.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let K=z,A=this._doc.createTreeWalker(K,this.whatToShow,{acceptNode:this._acceptNode});q.push(A),A.currentNode=_,this._currentSetFor.add(A),z=_=K.host}else z=z.parentNode;let W=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});q.push(W),W.currentNode=_,this._currentSetFor.add(W),this._walkerStack=q}get doc(){return this._doc}firstChild(){let Q=this.currentNode,q=this.nextNode();if(!XX(Q,q))return this.currentNode=Q,null;if(q)this.currentNode=q;return q}lastChild(){let q=this._walkerStack[0].lastChild();if(q)this.currentNode=q;return q}nextNode(){let Q=this._walkerStack[0].nextNode();if(Q){if(Q.shadowRoot){let z;if(typeof this.filter==="function")z=this.filter(Q);else if(this.filter?.acceptNode)z=this.filter.acceptNode(Q);if(z===NodeFilter.FILTER_ACCEPT)return this.currentNode=Q,Q;let _=this.nextNode();if(_)this.currentNode=_;return _}if(Q)this.currentNode=Q;return Q}else if(this._walkerStack.length>1){this._walkerStack.shift();let q=this.nextNode();if(q)this.currentNode=q;return q}else return null}previousNode(){let Q=this._walkerStack[0];if(Q.currentNode===Q.root){if(this._currentSetFor.has(Q))if(this._currentSetFor.delete(Q),this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null;return null}let q=Q.previousNode();if(q){if(q.shadowRoot){let _;if(typeof this.filter==="function")_=this.filter(q);else if(this.filter?.acceptNode)_=this.filter.acceptNode(q);if(_===NodeFilter.FILTER_ACCEPT){if(q)this.currentNode=q;return q}let W=this.lastChild();if(W)this.currentNode=W;return W}if(q)this.currentNode=q;return q}else if(this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function vO(Q,q,z,_){if(yQ())return new gV(Q,q,z,_);return Q.createTreeWalker(q,z,_)}var W6=C(()=>{dX();oA()});function dV(Q){let{children:q,contain:z,restoreFocus:_,autoFocus:W}=Q,K=iX.useRef(null),A=iX.useRef(null),L=iX.useRef([]),{parentNode:O}=iX.useContext(mV)||{},T=iX.useMemo(()=>new bO({scopeRef:L}),[L]);dZ(()=>{let R=O||GY.root;if(GY.getTreeNode(R.scopeRef)&&EX&&!hO(EX,R.scopeRef)){let j=GY.getTreeNode(EX);if(j)R=j}R.addChild(T),GY.addNode(T)},[T,O]),dZ(()=>{let R=GY.getTreeNode(L);if(R)R.contain=!!z},[z]),dZ(()=>{let R=K.current?.nextSibling,j=[],v=(m)=>m.stopPropagation();while(R&&R!==A.current)j.push(R),R.addEventListener(U6,v),R=R.nextSibling;return L.current=j,()=>{for(let m of j)m.removeEventListener(U6,v)}},[q]),dy(L,_,z),fy(L,z),cy(L,_,z),uy(L,W),iX.useEffect(()=>{let R=KX(cZ(L.current?L.current[0]:void 0)),j=null;if(GJ(R,L.current)){for(let v of GY.traverse())if(v.scopeRef&&GJ(R,v.scopeRef.current))j=v;if(j===GY.getTreeNode(L))EX=j.scopeRef}},[L]),dZ(()=>{return()=>{let R=GY.getTreeNode(L)?.parent?.scopeRef??null;if((L===EX||hO(L,EX))&&(!R||GY.getTreeNode(R)))EX=R;GY.removeTreeNode(L)}},[L]);let N=iX.useMemo(()=>by(L),[]),M=iX.useMemo(()=>({focusManager:N,parentNode:T}),[T,N]);return iX.default.createElement(mV.Provider,{value:M},iX.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:K}),q,iX.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:A}))}function by(Q){return{focusNext(q={}){let z=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(z[0]??void 0)),O=z[0].previousElementSibling,T=$z(z),N=qJ(T,{tabbable:W,accept:A},z);N.currentNode=GJ(L,z)?L:O;let M=N.nextNode();if(!M&&K)N.currentNode=O,M=N.nextNode();if(M)YG(M,!0);return M},focusPrevious(q={}){let z=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(z[0]??void 0)),O=z[z.length-1].nextElementSibling,T=$z(z),N=qJ(T,{tabbable:W,accept:A},z);N.currentNode=GJ(L,z)?L:O;let M=N.previousNode();if(!M&&K)N.currentNode=O,M=N.previousNode();if(M)YG(M,!0);return M},focusFirst(q={}){let z=Q.current,{tabbable:_,accept:W}=q,K=$z(z),A=qJ(K,{tabbable:_,accept:W},z);A.currentNode=z[0].previousElementSibling;let L=A.nextNode();if(L)YG(L,!0);return L},focusLast(q={}){let z=Q.current,{tabbable:_,accept:W}=q,K=$z(z),A=qJ(K,{tabbable:_,accept:W},z);A.currentNode=z[z.length-1].nextElementSibling;let L=A.previousNode();if(L)YG(L,!0);return L}}}function $z(Q){return Q[0].parentElement}function lK(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.contain)return!1;q=q.parent}return!0}function gy(Q){if(!Q.form)return Array.from(cZ(Q).querySelectorAll(`input[type="radio"][name="${CSS.escape(Q.name)}"]`)).filter((_)=>!_.form);let q=Q.form.elements.namedItem(Q.name),z=uX(Q);if(q instanceof z.RadioNodeList)return Array.from(q).filter((_)=>_ instanceof z.HTMLInputElement);if(q instanceof z.HTMLInputElement)return[q];return[]}function my(Q){if(Q.checked)return!0;let q=gy(Q);return q.length>0&&!q.some((z)=>z.checked)}function fy(Q,q){let z=iX.useRef(void 0),_=iX.useRef(void 0);dZ(()=>{let W=Q.current;if(!q){if(_.current)cancelAnimationFrame(_.current),_.current=void 0;return}let K=cZ(W?W[0]:void 0),A=(T)=>{if(T.key!=="Tab"||T.altKey||T.ctrlKey||T.metaKey||!lK(Q)||T.isComposing)return;let N=KX(K),M=Q.current;if(!M||!GJ(N,M))return;let R=$z(M),j=qJ(R,{tabbable:!0},M);if(!N)return;j.currentNode=N;let v=T.shiftKey?j.previousNode():j.nextNode();if(!v)j.currentNode=T.shiftKey?M[M.length-1].nextElementSibling:M[0].previousElementSibling,v=T.shiftKey?j.previousNode():j.nextNode();if(T.preventDefault(),v){if(YG(v,!0),v instanceof uX(v).HTMLInputElement)v.select()}},L=(T)=>{if((!EX||hO(EX,Q))&&GJ(KZ(T),Q.current))EX=Q,z.current=KZ(T);else if(lK(Q)&&!_H(KZ(T),Q)){if(z.current)z.current.focus();else if(EX&&EX.current)K6(EX.current)}else if(lK(Q))z.current=KZ(T)},O=(T)=>{if(_.current)cancelAnimationFrame(_.current);_.current=requestAnimationFrame(()=>{let N=Mz(),M=(N==="virtual"||N===null)&&DK()&&M3(),R=KX(K);if(!M&&R&&lK(Q)&&!_H(R,Q)){EX=Q;let j=KZ(T);if(j&&j.isConnected)z.current=j,z.current?.focus();else if(EX.current)K6(EX.current)}})};return K.addEventListener("keydown",A,!1),K.addEventListener("focusin",L,!1),W?.forEach((T)=>T.addEventListener("focusin",L,!1)),W?.forEach((T)=>T.addEventListener("focusout",O,!1)),()=>{K.removeEventListener("keydown",A,!1),K.removeEventListener("focusin",L,!1),W?.forEach((T)=>T.removeEventListener("focusin",L,!1)),W?.forEach((T)=>T.removeEventListener("focusout",O,!1))}},[Q,q]),dZ(()=>{return()=>{if(_.current)cancelAnimationFrame(_.current)}},[_])}function cV(Q){return _H(Q)}function GJ(Q,q){if(!Q)return!1;if(!q)return!1;return q.some((z)=>XX(z,Q))}function _H(Q,q=null){if(Q instanceof Element&&Q.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:z}of GY.traverse(GY.getTreeNode(q)))if(z&&GJ(Q,z.current))return!0;return!1}function pV(Q){return _H(Q,EX)}function hO(Q,q){let z=GY.getTreeNode(q)?.parent;while(z){if(z.scopeRef===Q)return!0;z=z.parent}return!1}function YG(Q,q=!1){if(Q!=null&&!q)try{oq(Q)}catch{}else if(Q!=null)try{Q.focus()}catch{}}function lV(Q,q=!0){let z=Q[0].previousElementSibling,_=$z(Q),W=qJ(_,{tabbable:q},Q);W.currentNode=z;let K=W.nextNode();if(q&&!K)_=$z(Q),W=qJ(_,{tabbable:!1},Q),W.currentNode=z,K=W.nextNode();return K}function K6(Q,q=!0){YG(lV(Q,q))}function uy(Q,q){let z=iX.default.useRef(q);iX.useEffect(()=>{if(z.current){EX=Q;let _=cZ(Q.current?Q.current[0]:void 0);if(!GJ(KX(_),EX.current)&&Q.current)K6(Q.current)}z.current=!1},[Q])}function dy(Q,q,z){dZ(()=>{if(q||z)return;let _=Q.current,W=cZ(_?_[0]:void 0),K=(A)=>{let L=KZ(A);if(GJ(L,Q.current))EX=Q;else if(!cV(L))EX=null};return W.addEventListener("focusin",K,!1),_?.forEach((A)=>A.addEventListener("focusin",K,!1)),()=>{W.removeEventListener("focusin",K,!1),_?.forEach((A)=>A.removeEventListener("focusin",K,!1))}},[Q,q,z])}function fV(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.nodeToRestore)return!1;q=q.parent}return q?.scopeRef===Q}function cy(Q,q,z){let _=iX.useRef(typeof document<"u"?KX(cZ(Q.current?Q.current[0]:void 0)):null);dZ(()=>{let W=Q.current,K=cZ(W?W[0]:void 0);if(!q||z)return;let A=()=>{if((!EX||hO(EX,Q))&&GJ(KX(K),Q.current))EX=Q};return K.addEventListener("focusin",A,!1),W?.forEach((L)=>L.addEventListener("focusin",A,!1)),()=>{K.removeEventListener("focusin",A,!1),W?.forEach((L)=>L.removeEventListener("focusin",A,!1))}},[Q,z]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=(A)=>{if(A.key!=="Tab"||A.altKey||A.ctrlKey||A.metaKey||!lK(Q)||A.isComposing)return;let L=W.activeElement;if(!_H(L,Q)||!fV(Q))return;let O=GY.getTreeNode(Q);if(!O)return;let T=O.nodeToRestore,N=qJ(W.body,{tabbable:!0});N.currentNode=L;let M=A.shiftKey?N.previousNode():N.nextNode();if(!T||!T.isConnected||T===W.body)T=void 0,O.nodeToRestore=void 0;if((!M||!_H(M,Q))&&T){N.currentNode=T;do M=A.shiftKey?N.previousNode():N.nextNode();while(_H(M,Q));if(A.preventDefault(),A.stopPropagation(),M)YG(M,!0);else if(!cV(T))L.blur();else YG(T,!0)}};if(!z)W.addEventListener("keydown",K,!0);return()=>{if(!z)W.removeEventListener("keydown",K,!0)}},[Q,q,z]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=GY.getTreeNode(Q);if(!K)return;return K.nodeToRestore=_.current??void 0,()=>{let A=GY.getTreeNode(Q);if(!A)return;let L=A.nodeToRestore,O=KX(W);if(q&&L&&(O&&_H(O,Q)||O===W.body&&fV(Q))){let T=GY.clone();requestAnimationFrame(()=>{if(W.activeElement===W.body){let N=T.getTreeNode(Q);while(N){if(N.nodeToRestore&&N.nodeToRestore.isConnected){uV(N.nodeToRestore);return}N=N.parent}N=T.getTreeNode(Q);while(N){if(N.scopeRef&&N.scopeRef.current&&GY.getTreeNode(N.scopeRef)){let M=lV(N.scopeRef.current,!0);uV(M);return}N=N.parent}}})}}},[Q,q])}function uV(Q){if(Q.dispatchEvent(new CustomEvent(U6,{bubbles:!0,cancelable:!0})))YG(Q)}function qJ(Q,q,z){let _=q?.tabbable?eA:tA,W=Q?.nodeType===Node.ELEMENT_NODE?Q:null,K=cZ(W),A=vO(K,Q||K,NodeFilter.SHOW_ELEMENT,{acceptNode(L){if(XX(q?.from,L))return NodeFilter.FILTER_REJECT;if(q?.tabbable&&L.tagName==="INPUT"&&L.getAttribute("type")==="radio"){if(!my(L))return NodeFilter.FILTER_REJECT;if(A.currentNode.tagName==="INPUT"&&A.currentNode.type==="radio"&&A.currentNode.name===L.name)return NodeFilter.FILTER_REJECT}if(_(L)&&(!z||GJ(L,z))&&(!q?.accept||q.accept(L)))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}});if(q?.from)A.currentNode=q.from;return A}class B6{constructor(){this.fastMap=new Map,this.root=new bO({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(Q){return this.fastMap.get(Q)}addTreeNode(Q,q,z){let _=this.fastMap.get(q??null);if(!_)return;let W=new bO({scopeRef:Q});if(_.addChild(W),W.parent=_,this.fastMap.set(Q,W),z)W.nodeToRestore=z}addNode(Q){this.fastMap.set(Q.scopeRef,Q)}removeTreeNode(Q){if(Q===null)return;let q=this.fastMap.get(Q);if(!q)return;let z=q.parent;for(let W of this.traverse())if(W!==q&&q.nodeToRestore&&W.nodeToRestore&&q.scopeRef&&q.scopeRef.current&&GJ(W.nodeToRestore,q.scopeRef.current))W.nodeToRestore=q.nodeToRestore;let _=q.children;if(z){if(z.removeChild(q),_.size>0)_.forEach((W)=>z&&z.addChild(W))}this.fastMap.delete(q.scopeRef)}*traverse(Q=this.root){if(Q.scopeRef!=null)yield Q;if(Q.children.size>0)for(let q of Q.children)yield*this.traverse(q)}clone(){let Q=new B6;for(let q of this.traverse())Q.addTreeNode(q.scopeRef,q.parent?.scopeRef??null,q.nodeToRestore);return Q}}class bO{constructor(Q){this.children=new Set,this.contain=!1,this.scopeRef=Q.scopeRef}addChild(Q){this.children.add(Q),Q.parent=this}removeChild(Q){this.children.delete(Q),Q.parent=void 0}}var iX,mV,U6="react-aria-focus-scope-restore",EX=null,GY;var iK=C(()=>{W6();kK();dX();ZH();DY();QJ();ZO();CY();iX=g(ZZ(),1),mV=iX.default.createContext(null);GY=new B6});function nK(Q){return Lw()?Q.altKey:Q.ctrlKey}function gO(Q,q){let z=`[data-key="${CSS.escape(String(q))}"]`,_=Q.current?.dataset.collection;if(_)z=`[data-collection="${CSS.escape(_)}"]${z}`;return Q.current?.querySelector(z)}function nV(Q){let q=aX();return iV.set(Q,q),q}function sV(Q){return iV.get(Q)}var iV;var L6=C(()=>{QJ();YJ();iV=new WeakMap});function Lq(Q,q){if(!Q)return!1;let z=window.getComputedStyle(Q),_=document.scrollingElement||document.documentElement,W=/(auto|scroll)/.test(z.overflow+z.overflowX+z.overflowY);if(Q===_&&z.overflow!=="hidden")W=!0;if(W&&q)W=Q.scrollHeight!==Q.clientHeight||Q.scrollWidth!==Q.clientWidth;return W}var sK=()=>{};function mO(Q,q){let z=[],_=document.scrollingElement||document.documentElement;while(Q){if(Lq(Q,q))z.push(Q);if(Q===_)break;Q=Q.parentElement}return z}var aV=C(()=>{sK()});function aK(Q,q,z={}){let{block:_="nearest",inline:W="nearest"}=z;if(Q===q)return;let{scrollTop:K,scrollLeft:A}=Q,L=q.getBoundingClientRect(),O=Q.getBoundingClientRect(),T=window.getComputedStyle(q),N=window.getComputedStyle(Q),M=document.scrollingElement||document.documentElement,R=Q===M,j=Q===M?0:O.top,v=Q===M?Q.clientHeight:O.bottom,m=Q===M?0:O.left,b=Q===M?Q.clientWidth:O.right,n=parseFloat(T.scrollMarginTop)||0,e=parseFloat(T.scrollMarginBottom)||0,GZ=parseFloat(T.scrollMarginLeft)||0,JZ=parseFloat(T.scrollMarginRight)||0,LZ=parseFloat(N.scrollPaddingTop)||0,kZ=parseFloat(N.scrollPaddingBottom)||0,YZ=parseFloat(N.scrollPaddingLeft)||0,p=parseFloat(N.scrollPaddingRight)||0,NZ=parseFloat(N.borderTopWidth)||0,o=parseFloat(N.borderBottomWidth)||0,VZ=parseFloat(N.borderLeftWidth)||0,WZ=parseFloat(N.borderRightWidth)||0,a=L.top-n,D=L.bottom+e,h=L.left-GZ,u=L.right+JZ,d=Q===M?0:VZ+WZ,_Z=Q===M?0:NZ+o,s=Q===M?0:Q.offsetWidth-Q.clientWidth-d,V=Q===M?0:Q.offsetHeight-Q.clientHeight-_Z,t=j+(R?0:NZ)+LZ,IZ=v-(R?0:o)-kZ-V,CZ=m+(R?0:VZ)+YZ,yZ=b-(R?0:WZ)-p;if(N.direction==="rtl"&&!CJ())CZ+=s;else yZ-=s;let JX=a<t||D>IZ,OZ=h<CZ||u>yZ;if(JX&&_==="start")K+=a-t;else if(JX&&_==="center")K+=(a+D)/2-(t+IZ)/2;else if(JX&&_==="end")K+=D-IZ;else if(JX&&_==="nearest"){let YX=a-t,TX=D-IZ;K+=Math.abs(YX)<=Math.abs(TX)?YX:TX}if(OZ&&W==="start")A+=h-CZ;else if(OZ&&W==="center")A+=(h+u)/2-(CZ+yZ)/2;else if(OZ&&W==="end")A+=u-yZ;else if(OZ&&W==="nearest"){let YX=h-CZ,TX=u-yZ;A+=Math.abs(YX)<=Math.abs(TX)?YX:TX}Q.scrollTo({left:A,top:K})}function A6(Q,q={}){let{containingElement:z}=q;if(Q&&Q.isConnected){let _=document.scrollingElement||document.documentElement;if(window.getComputedStyle(_).overflow!=="hidden"){let{left:K,top:A}=Q.getBoundingClientRect();Q?.scrollIntoView?.({block:"nearest"});let{left:L,top:O}=Q.getBoundingClientRect();if(Math.abs(K-L)>1||Math.abs(A-O)>1)z?.scrollIntoView?.({block:"center",inline:"center"}),Q.scrollIntoView?.({block:"nearest"})}else{let{left:K,top:A}=Q.getBoundingClientRect(),L=mO(Q,!0);for(let N of L)aK(N,Q);let{left:O,top:T}=Q.getBoundingClientRect();if(Math.abs(K-O)>1||Math.abs(A-T)>1){L=z?mO(z,!0):[];for(let N of L)aK(N,z,{block:"center",inline:"center"});for(let N of mO(Q,!0))aK(N,Q)}}}}var oV=C(()=>{aV();QJ()});function tV(Q){let{keyboardDelegate:q,selectionManager:z,onTypeSelect:_}=Q,W=rV.useRef({search:"",timeout:void 0}).current,K=(A)=>{let L=ly(A.key);if(!L||A.ctrlKey||A.metaKey||!XX(A.currentTarget,KZ(A))||W.search.length===0&&L===" ")return;if(L===" "&&W.search.trim().length>0){if(A.preventDefault(),!("continuePropagation"in A))A.stopPropagation()}if(W.search+=L,q.getKeyForSearch!=null){let O=q.getKeyForSearch(W.search,z.focusedKey);if(O==null)O=q.getKeyForSearch(W.search);if(O!=null){if(z.setFocusedKey(O),_)_(O)}}clearTimeout(W.timeout),W.timeout=setTimeout(()=>{W.search=""},py)};return{typeSelectProps:{onKeyDownCapture:q.getKeyForSearch?K:void 0}}}function ly(Q){if(Q.length===1||!/^[A-Z]/i.test(Q))return Q;return""}var rV,py=1000;var eV=C(()=>{dX();rV=g(ZZ(),1)});function F6(Q,q){let z=O6.useRef(!0),_=O6.useRef(null);dZ(()=>{return z.current=!0,()=>{z.current=!1}},[]),dZ(()=>{if(z.current)z.current=!1;else if(!_.current||q.some((W,K)=>!Object.is(W,_[K])))Q();_.current=q},q)}var O6;var ZR=C(()=>{CY();O6=g(ZZ(),1)});function YR(Q){let{selectionManager:q,keyboardDelegate:z,ref:_,autoFocus:W=!1,shouldFocusWrap:K=!1,disallowEmptySelection:A=!1,disallowSelectAll:L=!1,escapeKeyBehavior:O="clearSelection",selectOnFocus:T=q.selectionBehavior==="replace",disallowTypeAhead:N=!1,shouldUseVirtualFocus:M,allowsTabNavigation:R=!1,scrollRef:j=_,linkBehavior:v="action"}=Q,{direction:m}=YW(),b=Az(),n=(D)=>{if(D.altKey&&D.key==="Tab")D.preventDefault();if(!_.current||!XX(_.current,KZ(D)))return;let h=(u,d)=>{if(u!=null){if(q.isLink(u)&&v==="selection"&&T&&!nK(D)){XR.flushSync(()=>{q.setFocusedKey(u,d)});let _Z=gO(_,u),s=q.getItemProps(u);if(_Z)b.open(_Z,D,s.href,s.routerOptions);return}if(q.setFocusedKey(u,d),q.isLink(u)&&v==="override")return;if(D.shiftKey&&q.selectionMode==="multiple")q.extendSelection(u);else if(T&&!nK(D))q.replaceSelection(u)}};switch(D.key){case"ArrowDown":if(z.getKeyBelow){let u=q.focusedKey!=null?z.getKeyBelow?.(q.focusedKey):z.getFirstKey?.();if(u==null&&K)u=z.getFirstKey?.(q.focusedKey);if(u!=null)D.preventDefault(),h(u)}break;case"ArrowUp":if(z.getKeyAbove){let u=q.focusedKey!=null?z.getKeyAbove?.(q.focusedKey):z.getLastKey?.();if(u==null&&K)u=z.getLastKey?.(q.focusedKey);if(u!=null)D.preventDefault(),h(u)}break;case"ArrowLeft":if(z.getKeyLeftOf){let u=q.focusedKey!=null?z.getKeyLeftOf?.(q.focusedKey):z.getFirstKey?.();if(u==null&&K)u=m==="rtl"?z.getFirstKey?.(q.focusedKey):z.getLastKey?.(q.focusedKey);if(u!=null)D.preventDefault(),h(u,m==="rtl"?"first":"last")}break;case"ArrowRight":if(z.getKeyRightOf){let u=q.focusedKey!=null?z.getKeyRightOf?.(q.focusedKey):z.getFirstKey?.();if(u==null&&K)u=m==="rtl"?z.getLastKey?.(q.focusedKey):z.getFirstKey?.(q.focusedKey);if(u!=null)D.preventDefault(),h(u,m==="rtl"?"last":"first")}break;case"Home":if(z.getFirstKey){if(q.focusedKey===null&&D.shiftKey)return;D.preventDefault();let u=z.getFirstKey(q.focusedKey,zH(D));if(q.setFocusedKey(u),u!=null){if(zH(D)&&D.shiftKey&&q.selectionMode==="multiple")q.extendSelection(u);else if(T)q.replaceSelection(u)}}break;case"End":if(z.getLastKey){if(q.focusedKey===null&&D.shiftKey)return;D.preventDefault();let u=z.getLastKey(q.focusedKey,zH(D));if(q.setFocusedKey(u),u!=null){if(zH(D)&&D.shiftKey&&q.selectionMode==="multiple")q.extendSelection(u);else if(T)q.replaceSelection(u)}}break;case"PageDown":if(z.getKeyPageBelow&&q.focusedKey!=null){let u=z.getKeyPageBelow(q.focusedKey);if(u!=null)D.preventDefault(),h(u)}break;case"PageUp":if(z.getKeyPageAbove&&q.focusedKey!=null){let u=z.getKeyPageAbove(q.focusedKey);if(u!=null)D.preventDefault(),h(u)}break;case"a":if(zH(D)&&q.selectionMode==="multiple"&&L!==!0)D.preventDefault(),q.selectAll();break;case"Escape":if(O==="clearSelection"&&!A&&q.selectedKeys.size!==0)D.stopPropagation(),D.preventDefault(),q.clearSelection();break;case"Tab":if(!R){if(D.shiftKey)_.current.focus();else{let u=qJ(_.current,{tabbable:!0}),d=void 0,_Z;do if(_Z=u.lastChild(),_Z)d=_Z;while(_Z);let s=KX();if(d&&(!L3(d)||s&&!eA(s)))aY(d)}break}}},e=DJ.useRef({top:0,left:0});Dz(j,"scroll",()=>{e.current={top:j.current?.scrollTop??0,left:j.current?.scrollLeft??0}});let GZ=(D)=>{if(q.isFocused){if(!XX(D.currentTarget,KZ(D)))q.setFocused(!1);return}if(!XX(D.currentTarget,KZ(D)))return;if(q.setFocused(!0),q.focusedKey==null){let h=(d)=>{if(d!=null){if(q.setFocusedKey(d),T&&!q.isSelected(d))q.replaceSelection(d)}},u=D.relatedTarget;if(u&&D.currentTarget.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING)h(q.lastSelectedKey??z.getLastKey?.());else h(q.firstSelectedKey??z.getFirstKey?.())}else if(j.current)j.current.scrollTop=e.current.top,j.current.scrollLeft=e.current.left;if(q.focusedKey!=null&&j.current){let h=gO(_,q.focusedKey);if(h instanceof HTMLElement){if(!L3(h)&&!M)aY(h);if(Mz()==="keyboard")A6(h,{containingElement:_.current})}}},JZ=(D)=>{if(!XX(D.currentTarget,D.relatedTarget))q.setFocused(!1)},LZ=DJ.useRef(!1);Dz(_,AV,!M?void 0:(D)=>{let{detail:h}=D;if(D.stopPropagation(),q.setFocused(!0),h?.focusStrategy==="first")LZ.current=!0}),F6(()=>{if(LZ.current){let D=z.getFirstKey?.()??null;if(D==null){let h=KX();if(DO(_.current),J6(h,null),q.collection.size>0)LZ.current=!1}else q.setFocusedKey(D),LZ.current=!1}},[q.collection]),F6(()=>{if(q.collection.size>0)LZ.current=!1},[q.focusedKey]),Dz(_,LV,!M?void 0:(D)=>{if(D.stopPropagation(),q.setFocused(!1),D.detail?.clearFocusKey)q.setFocusedKey(null)});let kZ=DJ.useRef(W),YZ=DJ.useRef(!1);DJ.useEffect(()=>{if(kZ.current){let D=null;if(W==="first")D=z.getFirstKey?.()??null;if(W==="last")D=z.getLastKey?.()??null;let h=q.selectedKeys;if(h.size){for(let u of h)if(q.canSelectItem(u)){D=u;break}}if(q.setFocused(!0),q.setFocusedKey(D),D==null&&!M&&_.current)oq(_.current);if(q.collection.size>0)kZ.current=!1,YZ.current=!0}});let p=DJ.useRef(q.focusedKey),NZ=DJ.useRef(null);DJ.useEffect(()=>{if(q.isFocused&&q.focusedKey!=null&&(q.focusedKey!==p.current||YZ.current)&&j.current&&_.current){let D=Mz(),h=gO(_,q.focusedKey);if(!(h instanceof HTMLElement))return;if(D==="keyboard"||YZ.current){if(NZ.current)cancelAnimationFrame(NZ.current);NZ.current=requestAnimationFrame(()=>{if(j.current){if(aK(j.current,h),D!=="virtual")A6(h,{containingElement:_.current})}})}}if(!M&&q.isFocused&&q.focusedKey==null&&p.current!=null&&_.current)oq(_.current);p.current=q.focusedKey,YZ.current=!1}),DJ.useEffect(()=>{return()=>{if(NZ.current)cancelAnimationFrame(NZ.current)}},[]),Dz(_,"react-aria-focus-scope-restore",(D)=>{D.preventDefault(),q.setFocused(!0)});let o={onKeyDown:n,onFocus:GZ,onBlur:JZ,onMouseDown(D){if(j.current===KZ(D))D.preventDefault()}},{typeSelectProps:VZ}=tV({keyboardDelegate:z,selectionManager:q});if(!N)o=jZ(VZ,o);let WZ=void 0;if(!M)WZ=q.focusedKey==null?0:-1;let a=nV(q.collection);return{collectionProps:jZ(o,{tabIndex:WZ,"data-collection":a})}}var XR,DJ;var QR=C(()=>{OV();q6();kK();Lz();dX();iK();ZH();L6();pK();ZO();PY();oV();G6();iA();eG();eV();ZR();XR=g(lq(),1),DJ=g(ZZ(),1)});function qR(Q){let[q,z]=JR.useState();return dZ(()=>{if(!Q)return;let _=M6.get(Q);if(!_){let W=`react-aria-description-${iy++}`;z(W);let K=document.createElement("div");K.id=W,K.style.display="none",K.textContent=Q,document.body.appendChild(K),_={refCount:0,element:K},M6.set(Q,_)}else z(_.element.id);return _.refCount++,()=>{if(_&&--_.refCount===0)_.element.remove(),M6.delete(Q)}},[Q]),{"aria-describedby":Q?q:void 0}}var JR,iy=0,M6;var GR=C(()=>{CY();JR=g(ZZ(),1),M6=new Map});function zR(Q){let{isDisabled:q,onLongPressStart:z,onLongPressEnd:_,onLongPress:W,threshold:K=ny,accessibilityDescription:A}=Q,L=HR.useRef(void 0),{addGlobalListener:O,removeGlobalListener:T}=JH(),{pressProps:N}=qH({isDisabled:q,onPressStart(R){if(R.continuePropagation(),R.pointerType==="mouse"||R.pointerType==="touch"){if(z)z({...R,type:"longpressstart"});if(L.current=setTimeout(()=>{if(R.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),cZ(R.target).activeElement!==R.target)aY(R.target);if(W)W({...R,type:"longpress"});L.current=void 0},K),R.pointerType==="touch"){let j=(m)=>{m.preventDefault()},v=uX(R.target);O(R.target,"contextmenu",j,{once:!0}),O(v,"pointerup",()=>{setTimeout(()=>{T(R.target,"contextmenu",j)},30)},{once:!0})}}},onPressEnd(R){if(L.current)clearTimeout(L.current);if(_&&(R.pointerType==="mouse"||R.pointerType==="touch"))_({...R,type:"longpressend"})}}),M=qR(W&&!q?A:void 0);return{longPressProps:jZ(N,M)}}var HR,ny=500;var _R=C(()=>{Lz();DY();PY();GR();yK();hK();HR=g(ZZ(),1)});function TW(Q){let{id:q,selectionManager:z,key:_,ref:W,shouldSelectOnPressUp:K,shouldUseVirtualFocus:A,focus:L,isDisabled:O,onAction:T,allowsDifferentPressOrigin:N,linkBehavior:M="action"}=Q,R=Az();q=aX(q);let j=(V)=>{if(V.pointerType==="keyboard"&&nK(V))z.toggleSelection(_);else{if(z.selectionMode==="none")return;if(z.isLink(_)){if(M==="selection"&&W.current){let t=z.getItemProps(_);R.open(W.current,V,t.href,t.routerOptions),z.setSelectedKeys(z.selectedKeys);return}else if(M==="override"||M==="none")return}if(z.selectionMode==="single")if(z.isSelected(_)&&!z.disallowEmptySelection)z.toggleSelection(_);else z.replaceSelection(_);else if(V&&V.shiftKey)z.extendSelection(_);else if(z.selectionBehavior==="toggle"||V&&(zH(V)||V.pointerType==="touch"||V.pointerType==="virtual"))z.toggleSelection(_);else z.replaceSelection(_)}};Sz.useEffect(()=>{if(_===z.focusedKey&&z.isFocused)if(!A){if(L)L();else if(KX()!==W.current&&W.current)oq(W.current)}else DO(W.current)},[W,_,z.focusedKey,z.childFocusStrategy,z.isFocused,A]),O=O||z.isDisabled(_);let v={};if(!A&&!O)v={tabIndex:_===z.focusedKey?0:-1,onFocus(V){if(KZ(V)===W.current)z.setFocusedKey(_)}};else if(O)v.onMouseDown=(V)=>{V.preventDefault()};Sz.useEffect(()=>{if(O&&z.focusedKey===_)z.setFocusedKey(null)},[z,O,_]);let m=z.isLink(_)&&M==="override",b=T&&Q.UNSTABLE_itemBehavior==="action",n=z.isLink(_)&&M!=="selection"&&M!=="none",e=!O&&z.canSelectItem(_)&&!m&&!b,GZ=(T||n)&&!O,JZ=GZ&&(z.selectionBehavior==="replace"?!e:!e||z.isEmpty),LZ=GZ&&e&&z.selectionBehavior==="replace",kZ=JZ||LZ,YZ=Sz.useRef(null),p=kZ&&e,NZ=Sz.useRef(!1),o=Sz.useRef(!1),VZ=z.getItemProps(_),WZ=(V)=>{if(T)T(),W.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(n&&W.current)R.open(W.current,V,VZ.href,VZ.routerOptions)},a={ref:W};if(K)if(a.onPressStart=(V)=>{if(YZ.current=V.pointerType,NZ.current=p,V.pointerType==="keyboard"&&(!kZ||UR(V.key)))j(V)},!N)a.onPress=(V)=>{if(JZ||LZ&&V.pointerType!=="mouse"){if(V.pointerType==="keyboard"&&!WR(V.key))return;WZ(V)}else if(V.pointerType!=="keyboard"&&e)j(V)};else a.onPressUp=JZ?void 0:(V)=>{if(V.pointerType==="mouse"&&e)j(V)},a.onPress=JZ?WZ:(V)=>{if(V.pointerType!=="keyboard"&&V.pointerType!=="mouse"&&e)j(V)};else a.onPressStart=(V)=>{if(YZ.current=V.pointerType,NZ.current=p,o.current=JZ,e&&(V.pointerType==="mouse"&&!JZ||V.pointerType==="keyboard"&&(!GZ||UR(V.key))))j(V)},a.onPress=(V)=>{if(V.pointerType==="touch"||V.pointerType==="pen"||V.pointerType==="virtual"||V.pointerType==="keyboard"&&kZ&&WR(V.key)||V.pointerType==="mouse"&&o.current){if(kZ)WZ(V);else if(e)j(V)}};if(v["data-collection"]=sV(z.collection),v["data-key"]=_,a.preventFocusOnPress=A,A)a=jZ(a,{onPressStart(V){if(V.pointerType!=="touch")z.setFocused(!0),z.setFocusedKey(_)},onPress(V){if(V.pointerType==="touch")z.setFocused(!0),z.setFocusedKey(_)}});if(VZ){for(let V of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(VZ[V])a[V]=wJ(a[V],VZ[V])}let{pressProps:D,isPressed:h}=qH(a),u=LZ?(V)=>{if(YZ.current==="mouse")V.stopPropagation(),V.preventDefault(),WZ(V)}:void 0,{longPressProps:d}=zR({isDisabled:!p,onLongPress(V){if(V.pointerType==="touch")j(V),z.setSelectionBehavior("toggle")}}),_Z=(V)=>{if(YZ.current==="touch"&&NZ.current)V.preventDefault()},s=M!=="none"&&z.isLink(_)?(V)=>{if(!JJ.isOpening)V.preventDefault()}:void 0;return{itemProps:jZ(v,e||JZ||A&&!O?D:{},p?d:{},{onDoubleClick:u,onDragStartCapture:_Z,onClick:s,id:q},A?{onMouseDown:(V)=>V.preventDefault()}:void 0),isPressed:h,isSelected:z.isSelected(_),isFocused:z.isFocused&&z.focusedKey===_,isDisabled:O,allowsSelection:e,hasAction:kZ}}function WR(Q){return Q==="Enter"}function UR(Q){return Q===" "}var Sz;var fO=C(()=>{t_();kK();dX();L6();pK();PY();q6();eG();hK();YJ();_R();Sz=g(ZZ(),1)});function KR(Q,q){if(typeof q.getChildren==="function")return q.getChildren(Q.key);return Q.childNodes}var BR=()=>{};function oK(Q){let q=LR.get(Q);if(q!=null)return q;let z=0,_=(W)=>{for(let K of W)if(K.type==="section")_(KR(K,Q));else if(K.type==="item")z++};return _(Q),LR.set(Q,z),z}var LR;var AR=C(()=>{BR();LR=new WeakMap});var N6=C(()=>{AR()});function I6(Q,q,z){let{key:_}=Q,W=_6.get(q),K=Q.isDisabled??q.selectionManager.isDisabled(_),A=Q.isSelected??q.selectionManager.isSelected(_),L=Q.shouldSelectOnPressUp??W?.shouldSelectOnPressUp,O=Q.shouldFocusOnHover??W?.shouldFocusOnHover,T=Q.shouldUseVirtualFocus??W?.shouldUseVirtualFocus,N=Q.isVirtualized??W?.isVirtualized,M=_q(),R=_q(),j={role:"option","aria-disabled":K||void 0,"aria-selected":q.selectionManager.selectionMode!=="none"?A:void 0,"aria-label":Q["aria-label"],"aria-labelledby":M,"aria-describedby":R},v=q.collection.getItem(_);if(N){let NZ=Number(v?.index);j["aria-posinset"]=Number.isNaN(NZ)?void 0:NZ+1,j["aria-setsize"]=oK(q.collection)}let m=W?.onAction?()=>W?.onAction?.(_):void 0,b=hV(q,_),{itemProps:n,isPressed:e,isFocused:GZ,hasAction:JZ,allowsSelection:LZ}=TW({selectionManager:q.selectionManager,key:_,ref:z,shouldSelectOnPressUp:L,allowsDifferentPressOrigin:L&&O,isVirtualized:N,shouldUseVirtualFocus:T,isDisabled:K,onAction:m||v?.props?.onAction?wJ(v?.props?.onAction,m):void 0,linkBehavior:W?.linkBehavior,UNSTABLE_itemBehavior:W?.UNSTABLE_itemBehavior,id:b}),{hoverProps:kZ}=SY({isDisabled:K||!O,onHoverStart(){if(!Kq())q.selectionManager.setFocused(!0),q.selectionManager.setFocusedKey(_)}}),YZ=HX(v?.props);delete YZ.id;let p=qW(v?.props);return{optionProps:{...j,...jZ(YZ,n,kZ,p),id:b},labelProps:{id:M},descriptionProps:{id:R},isFocused:GZ,isFocusVisible:GZ&&q.selectionManager.isFocused&&Kq(),isSelected:A,isDisabled:K,isPressed:e,allowsSelection:LZ,hasAction:JZ}}var OR=C(()=>{t_();rG();bV();ZH();PY();fO();FO();eG();YJ();N6()});var FR=C(()=>{OR()});var MR=C(()=>{e3()});function wW(Q){let q=NR.version.split(".");if(parseInt(q[0],10)>=19)return Q;return Q?"true":void 0}var NR;var IR=C(()=>{NR=g(ZZ(),1)});var T6=C(()=>{IR()});function rK(Q,q){let z=Q;if(Lq(z,q))z=z.parentElement;while(z&&!Lq(z,q))z=z.parentElement;return z||document.scrollingElement||document.documentElement}var w6=C(()=>{sK()});function V6(Q,q){let{collection:z,onLoadMore:_,scrollOffset:W=1}=Q,K=TR.useRef(null),A=$Y((L)=>{for(let O of L)if(O.isIntersecting&&_)_()});dZ(()=>{if(q.current)K.current=new IntersectionObserver(A,{root:rK(q?.current),rootMargin:`0px ${100*W}% ${100*W}% ${100*W}%`}),K.current.observe(q.current);return()=>{if(K.current)K.current.disconnect()}},[z,q,W])}var TR;var wR=C(()=>{w6();Tz();CY();TR=g(ZZ(),1)});var VR=C(()=>{wR()});var RR=C(()=>{_O()});var jR=C(()=>{WO()});var cX,R6,tK,sy;var CR=C(()=>{qQ();BV();xO();BW();FR();uK();Uq();T6();cK();VR();VJ();RR();Vz();jR();ZW();cX=g(ZZ(),1),R6=cX.createContext(null),tK=Bq(FW,function(q,z,_){let W=JQ(z),K=cX.useContext(R6),{dragAndDropHooks:A,dragState:L,dropState:O}=cX.useContext(KV),T=L&&!(L.isDisabled||L.selectionManager.isDisabled(_.key)),{optionProps:N,labelProps:M,descriptionProps:R,...j}=I6({key:_.key,"aria-label":q?.["aria-label"]},K,W),{hoverProps:v,isHovered:m}=SY({isDisabled:!j.allowsSelection&&!j.hasAction&&!T,onHoverStart:_.props.onHoverStart,onHoverChange:_.props.onHoverChange,onHoverEnd:_.props.onHoverEnd}),{keyboardProps:b}=Iz(q),{focusProps:n}=Nz(q),e=null;if(L&&A)e=A.useDraggableItem({key:_.key,hasAction:j.hasAction},L);let GZ=null;if(O&&A)GZ=A.useDroppableItem({target:{type:"item",key:_.key,dropPosition:"on"}},O,W);let JZ=L&&L.isDragging(_.key),LZ=yX({...q,id:void 0,children:q.children,defaultClassName:"react-aria-ListBoxItem",values:{...j,isHovered:m,selectionMode:K.selectionManager.selectionMode,selectionBehavior:K.selectionManager.selectionBehavior,allowsDragging:!!L,isDragging:JZ,isDropTarget:GZ?.isDropTarget}});cX.useEffect(()=>{if(!_.textValue)console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[_.textValue]);let kZ=q.href?LX.a:LX.div,YZ=HX(q,{global:!0});if(delete YZ.id,delete YZ.onClick,q.href&&N.tabIndex==null)N.tabIndex=-1;return cX.default.createElement(kZ,{...jZ(YZ,LZ,N,v,b,n,e?.dragProps,GZ?.dropProps),ref:W,"data-allows-dragging":!!L||void 0,"data-selected":j.isSelected||void 0,"data-disabled":j.isDisabled||void 0,"data-hovered":m||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-dragging":JZ||void 0,"data-drop-target":GZ?.isDropTarget||void 0,"data-selection-mode":K.selectionManager.selectionMode==="none"?void 0:K.selectionManager.selectionMode},cX.default.createElement(xQ,{values:[[HH,{slots:{[Wz]:M,label:M,description:R}}],[IW,{isSelected:j.isSelected}]]},LZ.children))}),sy=Bq(CO,function(q,z,_){let W=cX.useContext(R6),{isLoading:K,onLoadMore:A,scrollOffset:L,...O}=q,T=cX.useRef(null),N=cX.useMemo(()=>({onLoadMore:A,collection:W?.collection,sentinelRef:T,scrollOffset:L}),[A,L,W?.collection]);V6(N,T);let M=yX({...O,id:void 0,children:_.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),R={tabIndex:-1};return cX.default.createElement(cX.default.Fragment,null,cX.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:wW(!0)},cX.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:T,style:{position:"absolute",height:1,width:1}})),K&&M.children&&cX.default.createElement(cX.default.Fragment,null,cX.default.createElement(LX.div,{...jZ(HX(q,{global:!0}),R),...M,role:"option",ref:z},M.children)))})});function PR(Q){return Q.dataset.liveAnnouncer==="true"||Q.dataset.reactAriaTopLayer!==void 0}function DR(Q,q){let z=uX(Q?.[0]),_=q instanceof z.Element?{root:q}:q,W=_?.root??document.body,K=_?.shouldUseInert&&ay,A=new Set(Q),L=new Set,O=(b)=>{return K&&b instanceof z.HTMLElement?b.inert:b.getAttribute("aria-hidden")==="true"},T=(b,n)=>{if(K&&b instanceof z.HTMLElement)b.inert=n;else if(n)b.setAttribute("aria-hidden","true");else if(b.removeAttribute("aria-hidden"),b instanceof z.HTMLElement)b.inert=!1},N=new Set;if(yQ())for(let b of Q){let n=b;while(n&&n!==W){let e=n.getRootNode();if("shadowRoot"in e)N.add(e.shadowRoot);n=e.parentNode}}let M=(b)=>{for(let JZ of b.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))A.add(JZ);let n=(JZ)=>{if(L.has(JZ)||A.has(JZ)||JZ.parentElement&&L.has(JZ.parentElement)&&JZ.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let LZ of A)if(XX(JZ,LZ))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},e=vO(cZ(b),b,NodeFilter.SHOW_ELEMENT,{acceptNode:n}),GZ=n(b);if(GZ===NodeFilter.FILTER_ACCEPT)R(b);if(GZ!==NodeFilter.FILTER_REJECT){let JZ=e.nextNode();while(JZ!=null)R(JZ),JZ=e.nextNode()}},R=(b)=>{let n=eK.get(b)??0;if(O(b)&&n===0)return;if(n===0)T(b,!0);L.add(b),eK.set(b,n+1)};if(HJ.length)HJ[HJ.length-1].disconnect();M(W);let j=new MutationObserver((b)=>{for(let n of b){if(n.type!=="childList")continue;if(n.target.isConnected&&![...A,...L].some((e)=>XX(e,n.target))){for(let e of n.addedNodes)if((e instanceof HTMLElement||e instanceof SVGElement)&&PR(e))A.add(e);else if(e instanceof Element)M(e)}if(yQ()){for(let e of N)if(!e.isConnected){j.disconnect();break}}}});j.observe(W,{childList:!0,subtree:!0});let v=new Set;if(yQ())for(let b of N){let n=new MutationObserver((e)=>{for(let GZ of e){if(GZ.type!=="childList")continue;if(GZ.target.isConnected&&![...A,...L].some((JZ)=>XX(JZ,GZ.target))){for(let JZ of GZ.addedNodes)if((JZ instanceof HTMLElement||JZ instanceof SVGElement)&&PR(JZ))A.add(JZ);else if(JZ instanceof Element)M(JZ)}if(yQ()){for(let JZ of N)if(!JZ.isConnected){j.disconnect();break}}}});n.observe(b,{childList:!0,subtree:!0}),v.add(n)}let m={visibleNodes:A,hiddenNodes:L,observe(){j.observe(W,{childList:!0,subtree:!0})},disconnect(){j.disconnect()}};return HJ.push(m),()=>{if(j.disconnect(),yQ())for(let b of v)b.disconnect();for(let b of L){let n=eK.get(b);if(n==null)continue;if(n===1)T(b,!1),eK.delete(b);else eK.set(b,n-1)}if(m===HJ[HJ.length-1]){if(HJ.pop(),HJ.length)HJ[HJ.length-1].observe()}else HJ.splice(HJ.indexOf(m),1)}}var ay,eK,HJ;var $R=C(()=>{W6();DY();dX();oA();ay=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;eK=new WeakMap,HJ=[]});function ER(Q){let{ref:q,onInteractOutside:z,isDisabled:_,onInteractOutsideStart:W}=Q,K=uO.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),A=$Y((O)=>{if(z&&SR(O,q)){if(W)W(O);K.current.isPointerDown=!0}}),L=$Y((O)=>{if(z)z(O)});uO.useEffect(()=>{let O=K.current;if(_)return;let T=q.current,N=cZ(T);if(typeof PointerEvent<"u"){let M=(R)=>{if(O.isPointerDown&&SR(R,q))L(R);O.isPointerDown=!1};return N.addEventListener("pointerdown",A,!0),N.addEventListener("click",M,!0),()=>{N.removeEventListener("pointerdown",A,!0),N.removeEventListener("click",M,!0)}}},[q,_])}function SR(Q,q){if(Q.button>0)return!1;let z=KZ(Q);if(z){let _=z.ownerDocument;if(!_||!XX(_.documentElement,z))return!1;if(z.closest("[data-react-aria-top-layer]"))return!1}if(!q.current)return!1;return!Q.composedPath().includes(q.current)}var uO;var kR=C(()=>{dX();DY();Tz();uO=g(ZZ(),1)});function xR(Q,q){let{onClose:z,shouldCloseOnBlur:_,isOpen:W,isDismissable:K=!1,isKeyboardDismissDisabled:A=!1,shouldCloseOnInteractOutside:L}=Q,O=dO.useRef(void 0);dO.useEffect(()=>{if(W&&!Aq.includes(q))return Aq.push(q),()=>{let v=Aq.indexOf(q);if(v>=0)Aq.splice(v,1)}},[W,q]);let T=()=>{if(Aq[Aq.length-1]===q&&z)z()},N=(v)=>{let m=Aq[Aq.length-1];if(O.current=m,!L||L(KZ(v))){if(m===q)v.stopPropagation()}},M=(v)=>{if(!L||L(KZ(v))){if(Aq[Aq.length-1]===q)v.stopPropagation();if(O.current===q)T()}O.current=void 0},R=(v)=>{if(v.key==="Escape"&&!A&&!v.nativeEvent.isComposing)v.stopPropagation(),v.preventDefault(),T()};ER({ref:q,onInteractOutside:K&&W?M:void 0,onInteractOutsideStart:N});let{focusWithinProps:j}=WW({isDisabled:!_,onBlurWithin:(v)=>{if(!v.relatedTarget||pV(v.relatedTarget))return;if(!L||L(v.relatedTarget))z?.()}});return{overlayProps:{onKeyDown:R,...j},underlayProps:{}}}var dO,Aq;var yR=C(()=>{dX();iK();AO();kR();dO=g(ZZ(),1),Aq=[]});function bR(Q={}){let{isDisabled:q}=Q;dZ(()=>{if(q)return;if(cO++,cO===1)if(CJ())j6=ry();else j6=oy();return()=>{if(cO--,cO===0)j6()}},[q])}function oy(){let Q=window.innerWidth-document.documentElement.clientWidth;return wJ(Q>0&&("scrollbarGutter"in document.documentElement.style?pO(document.documentElement,"scrollbarGutter","stable"):pO(document.documentElement,"paddingRight",`${Q}px`)),pO(document.documentElement,"overflow","hidden"))}function ry(){let Q=pO(document.documentElement,"overflow","hidden"),q,z=!1,_=(N)=>{let M=KZ(N);q=Lq(M)?M:rK(M,!0),z=!1;let R=M.ownerDocument.defaultView.getSelection();if(R&&!R.isCollapsed&&R.containsNode(M,!0))z=!0;if(N.composedPath().some((j)=>j instanceof HTMLInputElement&&j.type==="range"))z=!0;if("selectionStart"in M&&"selectionEnd"in M&&M.selectionStart<M.selectionEnd&&M.ownerDocument.activeElement===M)z=!0},W=document.createElement("style"),K=LO();if(K)W.nonce=K;W.textContent=`
|
|
242
|
+
@layer {
|
|
243
|
+
* {
|
|
244
|
+
overscroll-behavior: contain;
|
|
245
|
+
}
|
|
246
|
+
}`.trim(),document.head.prepend(W);let A=(N)=>{if(N.touches.length===2||z)return;if(!q||q===document.documentElement||q===document.body){N.preventDefault();return}if(q.scrollHeight===q.clientHeight&&q.scrollWidth===q.clientWidth)N.preventDefault()},L=(N)=>{let M=KZ(N),R=N.relatedTarget;if(R&&Pz(R))R.focus({preventScroll:!0}),vR(R,Pz(M));else if(!R)M.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},O=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(N){let M=KX(),R=M!=null&&Pz(M);if(O.call(this,{...N,preventScroll:!0}),!N||!N.preventScroll)vR(this,R)};let T=wJ(C6(document,"touchstart",_,{passive:!1,capture:!0}),C6(document,"touchmove",A,{passive:!1,capture:!0}),C6(document,"blur",L,!0));return()=>{Q(),T(),W.remove(),HTMLElement.prototype.focus=O}}function pO(Q,q,z){let _=Q.style[q];return Q.style[q]=z,()=>{Q.style[q]=_}}function C6(Q,q,z,_){return Q.addEventListener(q,z,_),()=>{Q.removeEventListener(q,z,_)}}function vR(Q,q){if(q||!ZB)hR(Q);else ZB.addEventListener("resize",()=>hR(Q),{once:!0})}function hR(Q){let q=document.scrollingElement||document.documentElement,z=Q;while(z&&z!==q){let _=rK(z);if(_!==document.documentElement&&_!==document.body&&_!==z){let W=_.getBoundingClientRect(),K=z.getBoundingClientRect();if(K.top<W.top||K.bottom>W.top+z.clientHeight){let A=W.bottom;if(ZB)A=Math.min(A,ZB.offsetTop+ZB.height);let L=K.top-W.top-((A-W.top)/2-K.height/2);_.scrollTo({top:Math.max(0,Math.min(_.scrollHeight-_.clientHeight,_.scrollTop+L)),behavior:"smooth"})}}z=_.parentElement}}var ZB,cO=0,j6;var gR=C(()=>{t_();dX();k3();w6();QJ();sK();CY();pK();ZB=typeof document<"u"&&window.visualViewport});var P6;var mR=C(()=>{P6={};P6={dismiss:"تجاهل"}});var D6;var fR=C(()=>{D6={};D6={dismiss:"Отхвърляне"}});var $6;var uR=C(()=>{$6={};$6={dismiss:"Odstranit"}});var S6;var dR=C(()=>{S6={};S6={dismiss:"Luk"}});var E6;var cR=C(()=>{E6={};E6={dismiss:"Schließen"}});var k6;var pR=C(()=>{k6={};k6={dismiss:"Απόρριψη"}});var x6;var lR=C(()=>{x6={};x6={dismiss:"Dismiss"}});var y6;var iR=C(()=>{y6={};y6={dismiss:"Descartar"}});var v6;var nR=C(()=>{v6={};v6={dismiss:"Lõpeta"}});var h6;var sR=C(()=>{h6={};h6={dismiss:"Hylkää"}});var b6;var aR=C(()=>{b6={};b6={dismiss:"Rejeter"}});var g6;var oR=C(()=>{g6={};g6={dismiss:"התעלם"}});var m6;var rR=C(()=>{m6={};m6={dismiss:"Odbaci"}});var f6;var tR=C(()=>{f6={};f6={dismiss:"Elutasítás"}});var u6;var eR=C(()=>{u6={};u6={dismiss:"Ignora"}});var d6;var Zj=C(()=>{d6={};d6={dismiss:"閉じる"}});var c6;var Xj=C(()=>{c6={};c6={dismiss:"무시"}});var p6;var Yj=C(()=>{p6={};p6={dismiss:"Atmesti"}});var l6;var Qj=C(()=>{l6={};l6={dismiss:"Nerādīt"}});var i6;var Jj=C(()=>{i6={};i6={dismiss:"Lukk"}});var n6;var qj=C(()=>{n6={};n6={dismiss:"Negeren"}});var s6;var Gj=C(()=>{s6={};s6={dismiss:"Zignoruj"}});var a6;var Hj=C(()=>{a6={};a6={dismiss:"Descartar"}});var o6;var zj=C(()=>{o6={};o6={dismiss:"Dispensar"}});var r6;var _j=C(()=>{r6={};r6={dismiss:"Revocare"}});var t6;var Wj=C(()=>{t6={};t6={dismiss:"Пропустить"}});var e6;var Uj=C(()=>{e6={};e6={dismiss:"Zrušiť"}});var Z5;var Kj=C(()=>{Z5={};Z5={dismiss:"Opusti"}});var X5;var Bj=C(()=>{X5={};X5={dismiss:"Odbaci"}});var Y5;var Lj=C(()=>{Y5={};Y5={dismiss:"Avvisa"}});var Q5;var Aj=C(()=>{Q5={};Q5={dismiss:"Kapat"}});var J5;var Oj=C(()=>{J5={};J5={dismiss:"Скасувати"}});var q5;var Fj=C(()=>{q5={};q5={dismiss:"取消"}});var G5;var Mj=C(()=>{G5={};G5={dismiss:"關閉"}});var H5;var Nj=C(()=>{mR();fR();uR();dR();cR();pR();lR();iR();nR();sR();aR();oR();rR();tR();eR();Zj();Xj();Yj();Qj();Jj();qj();Gj();Hj();zj();_j();Wj();Uj();Kj();Bj();Lj();Aj();Oj();Fj();Mj();H5={};H5={"ar-AE":P6,"bg-BG":D6,"cs-CZ":$6,"da-DK":S6,"de-DE":E6,"el-GR":k6,"en-US":x6,"es-ES":y6,"et-EE":v6,"fi-FI":h6,"fr-FR":b6,"he-IL":g6,"hr-HR":m6,"hu-HU":f6,"it-IT":u6,"ja-JP":d6,"ko-KR":c6,"lt-LT":p6,"lv-LV":l6,"nb-NO":i6,"nl-NL":n6,"pl-PL":s6,"pt-BR":a6,"pt-PT":o6,"ro-RO":r6,"ru-RU":t6,"sk-SK":e6,"sl-SI":Z5,"sr-SP":X5,"sv-SE":Y5,"tr-TR":Q5,"uk-UA":J5,"zh-CN":q5,"zh-TW":G5}});function ty(Q){return Q&&Q.__esModule?Q.default:Q}function _5(Q){let{onDismiss:q,...z}=Q,_=jV(ty(H5),"@react-aria/overlays"),W=tG(z,_.format("dismiss")),K=()=>{if(q)q()};return z5.default.createElement(ZV,null,z5.default.createElement("button",{...W,tabIndex:-1,onClick:K,style:{width:1,height:1}}))}var z5;var Ij=C(()=>{Nj();VK();CV();XV();z5=g(ZZ(),1)});function Tj({children:Q}){let q=Ez.useMemo(()=>({register:()=>{}}),[]);return Ez.default.createElement(xK.Provider,{value:q},Q)}var Ez;var wj=C(()=>{x3();Ez=g(ZZ(),1)});function Vj(){return XB.useContext(ey)??{}}var XB,ey;var Rj=C(()=>{XB=g(ZZ(),1),ey=XB.createContext({})});function W5(Q){let q=sY(),{portalContainer:z=q?null:document.body,isExiting:_}=Q,[W,K]=$J.useState(!1),A=$J.useMemo(()=>({contain:W,setContain:K}),[W,K]),{getContainer:L}=Vj();if(!Q.portalContainer&&L)z=L();if(!z)return null;let O=Q.children;if(!Q.disableFocusManagement)O=$J.default.createElement(dV,{restoreFocus:!0,contain:(Q.shouldContainFocus||W)&&!_},O);return O=$J.default.createElement(Cj.Provider,{value:A},$J.default.createElement(Tj,null,O)),jj.default.createPortal(O,z)}function Pj(){let q=$J.useContext(Cj)?.setContain;dZ(()=>{q?.(!0)},[q])}var $J,jj,Cj;var U5=C(()=>{wj();iK();aG();CY();Rj();$J=g(ZZ(),1),jj=g(lq(),1),Cj=$J.default.createContext(null)});var Dj=C(()=>{Ij();U5()});function K5(Q){let[q,z]=jz(Q.isOpen,Q.defaultOpen||!1,Q.onOpenChange),_=lO.useCallback(()=>{z(!0)},[z]),W=lO.useCallback(()=>{z(!1)},[z]),K=lO.useCallback(()=>{z(!q)},[z,q]);return{isOpen:q,setOpen:z,open:_,close:W,toggle:K}}var lO;var $j=C(()=>{IO();lO=g(ZZ(),1)});var Sj=C(()=>{$j()});function RW(Q,q=!0){let[z,_]=VW.useState(!0),W=z&&q;return dZ(()=>{if(W&&Q.current&&"getAnimations"in Q.current){for(let K of Q.current.getAnimations())if(K instanceof CSSTransition)K.cancel()}},[Q,W]),kj(Q,W,VW.useCallback(()=>_(!1),[])),W}function jW(Q,q){let[z,_]=VW.useState(q?"open":"closed");switch(z){case"open":if(!q)_("exiting");break;case"closed":case"exiting":if(q)_("open");break}let W=z==="exiting";return kj(Q,W,VW.useCallback(()=>{_((K)=>K==="exiting"?"closed":K)},[])),W}function kj(Q,q,z){dZ(()=>{if(q&&Q.current){if(!("getAnimations"in Q.current)){z();return}let _=Q.current.getAnimations();if(_.length===0){z();return}let W=!1;return Promise.allSettled(_.map((K)=>K.finished)).then(()=>{if(!W)Ej.flushSync(()=>{z()})}),()=>{W=!0}}},[Q,q,z])}var Ej,VW;var xj=C(()=>{CY();Ej=g(lq(),1),VW=g(ZZ(),1)});var B5=C(()=>{xj()});var iO,yj;var vj=C(()=>{iO=g(ZZ(),1),yj=iO.createContext({})});var hj;var bj=C(()=>{hj=new WeakMap});function A5(Q,q,z){let{id:_,key:W,closeOnSelect:K,shouldCloseOnSelect:A,isVirtualized:L,"aria-haspopup":O,onPressStart:T,onPressUp:N,onPress:M,onPressChange:R,onPressEnd:j,onClick:v,onHoverStart:m,onHoverChange:b,onHoverEnd:n,onKeyDown:e,onKeyUp:GZ,onFocus:JZ,onFocusChange:LZ,onBlur:kZ,selectionManager:YZ=q.selectionManager}=Q,p=!!O,NZ=p&&Q["aria-expanded"]==="true",o=Q.isDisabled??YZ.isDisabled(W),VZ=Q.isSelected??YZ.isSelected(W),WZ=hj.get(q),a=q.collection.getItem(W),D=Q.onClose||WZ.onClose,h=Az(),u=()=>{if(p)return;if(a?.props?.onAction)a.props.onAction();else if(Q.onAction)Q.onAction(W);if(WZ.onAction){let PZ=WZ.onAction;PZ(W)}},d="menuitem";if(!p){if(YZ.selectionMode==="single")d="menuitemradio";else if(YZ.selectionMode==="multiple")d="menuitemcheckbox"}let _Z=_q(),s=_q(),V=_q(),t={id:_,"aria-disabled":o||void 0,role:d,"aria-label":Q["aria-label"],"aria-labelledby":_Z,"aria-describedby":[Q["aria-describedby"],s,V].filter(Boolean).join(" ")||void 0,"aria-controls":Q["aria-controls"],"aria-haspopup":O,"aria-expanded":Q["aria-expanded"]};if(YZ.selectionMode!=="none"&&!p)t["aria-checked"]=VZ;if(L){let PZ=Number(a?.index);t["aria-posinset"]=Number.isNaN(PZ)?void 0:PZ+1,t["aria-setsize"]=oK(q.collection)}let IZ=L5.useRef(!1),CZ=(PZ)=>{R?.(PZ),IZ.current=PZ},yZ=L5.useRef(null),JX=(PZ)=>{if(PZ.pointerType!=="keyboard")yZ.current={pointerType:PZ.pointerType};if(PZ.pointerType==="mouse"){if(!IZ.current)PZ.target.click()}N?.(PZ)},OZ=(PZ)=>{v?.(PZ),u(),Mw(PZ,h,a.props.href,a?.props.routerOptions);let Fq=yZ.current?.pointerType==="keyboard"?yZ.current?.key==="Enter"||YZ.selectionMode==="none"||YZ.isLink(W):YZ.selectionMode!=="multiple"||YZ.isLink(W);if(Fq=A??K??Fq,D&&!p&&Fq)D();yZ.current=null},{itemProps:YX,isFocused:TX}=TW({id:_,selectionManager:YZ,key:W,ref:z,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:WZ.shouldUseVirtualFocus}),{pressProps:BX,isPressed:Oq}=qH({onPressStart:T,onPress:M,onPressUp:JX,onPressChange:CZ,onPressEnd:j,isDisabled:o}),{hoverProps:UZ}=SY({isDisabled:o,onHoverStart(PZ){if(!Kq()&&!(NZ&&O))YZ.setFocused(!0),YZ.setFocusedKey(W);m?.(PZ)},onHoverChange:b,onHoverEnd:n}),{keyboardProps:KQ}=Iz({onKeyDown:(PZ)=>{if(PZ.repeat){PZ.continuePropagation();return}switch(PZ.key){case" ":yZ.current={pointerType:"keyboard",key:" "},KZ(PZ).click(),EK("keyboard");break;case"Enter":if(yZ.current={pointerType:"keyboard",key:"Enter"},KZ(PZ).tagName!=="A")KZ(PZ).click();EK("keyboard");break;default:if(!p)PZ.continuePropagation();e?.(PZ);break}},onKeyUp:GZ}),{focusableProps:BQ}=YH({onBlur:kZ,onFocus:JZ,onFocusChange:LZ},z),yY=HX(a?.props);delete yY.id;let oX=qW(a?.props);return{menuItemProps:{...t,...jZ(yY,oX,p?{onFocus:YX.onFocus,"data-collection":YX["data-collection"],"data-key":YX["data-key"]}:YX,BX,UZ,KQ,BQ,WZ.shouldUseVirtualFocus||p?{onMouseDown:(PZ)=>PZ.preventDefault()}:void 0,o?void 0:{onClick:OZ}),tabIndex:YX.tabIndex!=null&&NZ&&!WZ.shouldUseVirtualFocus?-1:YX.tabIndex},labelProps:{id:_Z},descriptionProps:{id:s},keyboardShortcutProps:{id:V},isFocused:TX,isFocusVisible:TX&&YZ.isFocused&&Kq()&&!NZ,isSelected:VZ,isPressed:Oq,isDisabled:o}}var L5;var gj=C(()=>{rG();dX();eG();ZH();bj();PY();HW();FO();WO();hK();fO();YJ();N6();L5=g(ZZ(),1)});var mj=C(()=>{gj()});var zQ,uj,Zv,Xv,fj,kz;var dj=C(()=>{qQ();Q6();vj();xO();BW();mj();cK();uK();Uq();VJ();Vz();ZW();zQ=g(ZZ(),1),uj=zQ.createContext(null),Zv=zQ.createContext(null);Xv=class Xv extends hQ{static{this.type="submenutrigger"}filter(Q,q,z){let _=Q.getItem(this.firstChildKey);if(_&&z(_.textValue,this)){let W=this.clone();return q.addDescendants(W,Q),W}return null}};fj=zQ.createContext(null),kz=Bq(FW,function(q,z,_){[q,z]=fX(q,z,fj);let W=Uz(fj)?.id,K=zQ.useContext(uj),A=JQ(z),L=zQ.useContext(Zv),{isVirtualized:O}=zQ.useContext(dK),{menuItemProps:T,labelProps:N,descriptionProps:M,keyboardShortcutProps:R,...j}=A5({...q,id:W,key:_.key,selectionManager:L,isVirtualized:O},K,A),{hoverProps:v,isHovered:m}=SY({isDisabled:j.isDisabled}),b=yX({...q,id:void 0,children:_.rendered,defaultClassName:"react-aria-MenuItem",values:{...j,isHovered:m,isFocusVisible:j.isFocusVisible,selectionMode:L.selectionMode,selectionBehavior:L.selectionBehavior,hasSubmenu:!!q["aria-haspopup"],isOpen:q["aria-expanded"]==="true"}}),n=q.href?LX.a:LX.div,e=HX(q,{global:!0});return delete e.id,delete e.onClick,zQ.default.createElement(n,{...jZ(e,b,T,v),ref:A,"data-disabled":j.isDisabled||void 0,"data-hovered":m||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-selected":j.isSelected||void 0,"data-selection-mode":L.selectionMode==="none"?void 0:L.selectionMode,"data-has-submenu":!!q["aria-haspopup"]||void 0,"data-open":q["aria-expanded"]==="true"||void 0},zQ.default.createElement(xQ,{values:[[HH,{slots:{[Wz]:N,label:N,description:M}}],[yj,R],[IW,{isSelected:j.isSelected}]]},b.children))})});var CW,nO;var cj=C(()=>{CW=g(ZZ(),1),nO=CW.createContext(null)});var pj=C(()=>{IO()});function O5(Q,q){let{inputElementType:z="input",isDisabled:_=!1,isRequired:W=!1,isReadOnly:K=!1,type:A="text",validationBehavior:L="aria"}=Q,[O,T]=jz(Q.value,Q.defaultValue||"",Q.onChange),{focusableProps:N}=YH(Q,q),M=l3({...Q,value:O}),{isInvalid:R,validationErrors:j,validationDetails:v}=M.displayValidation,{labelProps:m,fieldProps:b,descriptionProps:n,errorMessageProps:e}=iw({...Q,isInvalid:R,errorMessage:Q.errorMessage||j}),GZ=HX(Q,{labelable:!0}),JZ={type:A,pattern:Q.pattern},[LZ]=sO.useState(O);return aw(q,Q.defaultValue??LZ,T),rw(Q,M,q),{labelProps:m,inputProps:jZ(GZ,z==="input"?JZ:void 0,{disabled:_,readOnly:K,required:W&&L==="native","aria-required":W&&L==="aria"||void 0,"aria-invalid":R||void 0,"aria-errormessage":Q["aria-errormessage"],"aria-activedescendant":Q["aria-activedescendant"],"aria-autocomplete":Q["aria-autocomplete"],"aria-haspopup":Q["aria-haspopup"],"aria-controls":Q["aria-controls"],value:O,onChange:(kZ)=>T(KZ(kZ).value),autoComplete:Q.autoComplete,autoCapitalize:Q.autoCapitalize,maxLength:Q.maxLength,minLength:Q.minLength,name:Q.name,form:Q.form,placeholder:Q.placeholder,inputMode:Q.inputMode,autoCorrect:Q.autoCorrect,spellCheck:Q.spellCheck,[parseInt(sO.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q.enterKeyHint,onCopy:Q.onCopy,onCut:Q.onCut,onPaste:Q.onPaste,onCompositionEnd:Q.onCompositionEnd,onCompositionStart:Q.onCompositionStart,onCompositionUpdate:Q.onCompositionUpdate,onSelect:Q.onSelect,onBeforeInput:Q.onBeforeInput,onInput:Q.onInput,...N,...b}),descriptionProps:n,errorMessageProps:e,isInvalid:R,validationErrors:j,validationDetails:v}}var sO;var lj=C(()=>{rG();dX();PY();nw();HW();ow();tw();pj();cw();sO=g(ZZ(),1)});function F5(Q,q,z){let{isDisabled:_}=Q,W=aX(),K=aX(),A=sY(),L=xz.useRef(null),O=xz.useCallback(()=>{L.current=requestAnimationFrame(()=>{if(z.current)z.current.setAttribute("hidden","until-found")}),ij.flushSync(()=>{q.toggle()})},[z,q]);Dz(z,"beforematch",O);let T=xz.useRef(null);return dZ(()=>{if(L.current)cancelAnimationFrame(L.current);if(z.current&&!A){let N=z.current;if(T.current==null||typeof N.getAnimations!=="function")if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto");else N.setAttribute("hidden","until-found"),N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px");else if(q.isExpanded!==T.current)if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),Promise.all(N.getAnimations().map((M)=>M.finished)).then(()=>{N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{});else N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),window.getComputedStyle(N).height,N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px"),Promise.all(N.getAnimations().map((M)=>M.finished)).then(()=>N.setAttribute("hidden","until-found")).catch(()=>{});T.current=q.isExpanded}},[_,z,q.isExpanded,A]),xz.useEffect(()=>{return()=>{if(L.current)cancelAnimationFrame(L.current)}},[]),{buttonProps:{id:W,"aria-expanded":q.isExpanded,"aria-controls":K,onPress:(N)=>{if(!_&&N.pointerType!=="keyboard")q.toggle()},isDisabled:_,onPressStart(N){if(N.pointerType==="keyboard"&&!_)q.toggle()}},panelProps:{id:K,role:"group","aria-labelledby":W,"aria-hidden":!q.isExpanded,hidden:A?!q.isExpanded:void 0}}}var ij,xz;var nj=C(()=>{G6();YJ();aG();CY();ij=g(lq(),1),xz=g(ZZ(),1)});var sj=C(()=>{nj()});function M5(Q){let[q,z]=jz(Q.isExpanded,Q.defaultExpanded||!1,Q.onExpandedChange),_=aO.useCallback(()=>{z(!0)},[z]),W=aO.useCallback(()=>{z(!1)},[z]),K=aO.useCallback(()=>{z(!q)},[z,q]);return{isExpanded:q,setExpanded:z,expand:_,collapse:W,toggle:K}}var aO;var aj=C(()=>{IO();aO=g(ZZ(),1)});var oj=C(()=>{aj()});var EY,rj,tj,ej,ZC,N5,I5;var XC=C(()=>{m3();qQ();sj();oj();Uq();VJ();fA();UW();g3();EY=g(ZZ(),1),rj=EY.createContext(null),tj=EY.createContext(null),ej=EY.createContext(null),ZC=EY.createContext(null),N5=EY.forwardRef(function(q,z){[q,z]=fX(q,z,tj);let _=EY.useContext(rj),{id:W,...K}=q,A=aX();W||=A;let L=_?_.expandedKeys.has(W):q.isExpanded,O=M5({...q,isExpanded:L,onExpandedChange(n){if(_)_.toggleKey(W);q.onExpandedChange?.(n)}}),T=EY.default.useRef(null),N=q.isDisabled||_?.isDisabled||!1,{buttonProps:M,panelProps:R}=F5({...q,isExpanded:L,isDisabled:N},O,T),{isFocusVisible:j,focusProps:v}=vQ({within:!0}),m=yX({...q,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:O.isExpanded,isDisabled:N,isFocusVisibleWithin:j,state:O}}),b=HX(K,{global:!0});return EY.default.createElement(xQ,{values:[[gK,{slots:{[Wz]:{},trigger:M}}],[ZC,{panelProps:R,panelRef:T}],[ej,O]]},EY.default.createElement(LX.div,{...jZ(b,m,v),ref:z,"data-expanded":O.isExpanded||void 0,"data-disabled":N||void 0,"data-focus-visible-within":j||void 0},m.children))}),I5=EY.forwardRef(function(q,z){let{role:_="group"}=q,{panelProps:W,panelRef:K}=EY.useContext(ZC),{isFocusVisible:A,focusProps:L}=vQ({within:!0}),O=yX({...q,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:A}}),T=HX(q,{global:!0,labelable:!0});return EY.default.createElement(LX.div,{...jZ(T,O,W,L),ref:Wq(z,K),role:_,"data-focus-visible-within":A||void 0},EY.default.createElement(xQ,{values:[[gK,null]]},q.children))})});function T5(Q,q,z){let{overlayProps:_,underlayProps:W}=xR({...Q,isOpen:q.isOpen,onClose:q.close},z);return bR({isDisabled:!q.isOpen}),Pj(),YC.useEffect(()=>{if(q.isOpen&&z.current)return DR([z.current],{shouldUseInert:!0})},[q.isOpen,z]),{modalProps:jZ(_),underlayProps:W}}var YC;var QC=C(()=>{$R();yR();PY();U5();gR();YC=g(ZZ(),1)});var JC=C(()=>{QC()});var qC=C(()=>{sK()});var GC=C(()=>{aG()});function V5(){let Q=sY(),[q,z]=oO.useState(()=>Q?{width:0,height:0}:w5());return oO.useEffect(()=>{let _=(L)=>{z((O)=>{if(L.width===O.width&&L.height===O.height)return O;return L})},W=()=>{if(_Q&&_Q.scale>1)return;_(w5())},K,A=(L)=>{if(_Q&&_Q.scale>1)return;if(Pz(KZ(L)))K=requestAnimationFrame(()=>{let O=KX();if(!O||!Pz(O))_({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})};if(_(w5()),CJ())window.addEventListener("blur",A,!0);if(!_Q)window.addEventListener("resize",W);else _Q.addEventListener("resize",W);return()=>{if(cancelAnimationFrame(K),CJ())window.removeEventListener("blur",A,!0);if(!_Q)window.removeEventListener("resize",W);else _Q.removeEventListener("resize",W)}},[]),q}function w5(){return{width:_Q?Math.min(_Q.width*_Q.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:_Q?_Q.height*_Q.scale:document.documentElement.clientHeight}}var oO,_Q;var HC=C(()=>{dX();QJ();aG();pK();oO=g(ZZ(),1),_Q=typeof document<"u"&&window.visualViewport});var zC=C(()=>{HC()});function Yv(Q,q){[Q,q]=fX(Q,q,WC);let z=vX.useContext(nO),_=K5(Q),W=Q.isOpen!=null||Q.defaultOpen!=null||!z?_:z;if(W===z){if(Q.onOpenChange||Q.defaultOpen!==void 0||Q.isOpen!==void 0)console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.")}let K=JQ(q),A=vX.useRef(null),L=jW(K,W.isOpen),O=jW(A,W.isOpen),T=L||O||Q.isExiting||!1,N=sY();if(!W.isOpen&&!T||N)return null;return vX.default.createElement(Qv,{...Q,state:W,isExiting:T,overlayRef:K,modalRef:A})}function Qv({UNSTABLE_portalContainer:Q,...q}){let z=q.modalRef,{state:_}=q,{modalProps:W,underlayProps:K}=T5(q,_,z),A=RW(q.overlayRef)||q.isEntering||!1,L=yX({...q,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:A,isExiting:q.isExiting,state:_}}),O=V5(),T=void 0,N=void 0;if(typeof document<"u"){let R=Lq(document.body)?document.body:document.scrollingElement||document.documentElement,j=R.getBoundingClientRect().width%1,v=R.getBoundingClientRect().height%1;T=R.scrollWidth-j,N=R.scrollHeight-v}let M={...L.style,"--visual-viewport-width":O.width+"px","--visual-viewport-height":O.height+"px","--page-width":T!==void 0?T+"px":void 0,"--page-height":N!==void 0?N+"px":void 0};return vX.default.createElement(W5,{isExiting:q.isExiting,portalContainer:Q},vX.default.createElement(LX.div,{...jZ(HX(q,{global:!0}),K),...L,style:M,ref:q.overlayRef,"data-entering":A||void 0,"data-exiting":q.isExiting||void 0},vX.default.createElement(xQ,{values:[[R5,{modalProps:W,modalRef:z,isExiting:q.isExiting,isDismissable:q.isDismissable}],[nO,_]]},L.children)))}function _C(Q){let{modalProps:q,modalRef:z,isExiting:_,isDismissable:W}=vX.useContext(R5),K=vX.useContext(nO),A=vX.useMemo(()=>Wq(Q.modalRef,z),[Q.modalRef,z]),L=JQ(A),O=RW(L),T=yX({...Q,defaultClassName:"react-aria-Modal",values:{isEntering:O,isExiting:_,state:K}});return vX.default.createElement(LX.div,{...jZ(HX(Q,{global:!0}),q),...T,ref:L,"data-entering":O||void 0,"data-exiting":_||void 0},W&&vX.default.createElement(_5,{onDismiss:K.close}),T.children)}var vX,WC,R5,j5,rO;var UC=C(()=>{qQ();cj();JC();Dj();Uq();qC();VJ();fA();Sj();B5();GC();ZW();zC();vX=g(ZZ(),1),WC=vX.createContext(null),R5=vX.createContext(null),j5=vX.forwardRef(function(q,z){if(vX.useContext(R5)){if(q.onOpenChange||q.defaultOpen!==void 0||q.isOpen!==void 0){let m=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),b=Object.keys(q).filter((n)=>m.has(n));console.warn(`This modal is already wrapped in a ModalOverlay, props [${b.join(", ")}] should be placed on the ModalOverlay instead.`)}return vX.default.createElement(_C,{...q,modalRef:z},q.children)}let{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,children:T,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j,...v}=q;return vX.default.createElement(rO,{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j},vX.default.createElement(_C,{...v,modalRef:z},T))});rO=vX.forwardRef(Yv)});function PW(Q,q,z){if(!Q)return"";if(typeof q==="string")q=q.replace(/\s+/g,"");let _=C5.get(Q);if(!_)console.error("There is no tab id, please check if you have rendered the tab panel before the tab list.");return`${_}-${z}-${q}`}var C5;var tO=C(()=>{C5=new WeakMap});function P5(Q,q,z){let{key:_,isDisabled:W,shouldSelectOnPressUp:K}=Q,{selectionManager:A,selectedKey:L}=q,O=_===L,T=W||q.isDisabled||q.selectionManager.isDisabled(_),N=q.collection.getItem(_),{itemProps:M,isPressed:R}=TW({selectionManager:A,key:_,ref:z,isDisabled:T,shouldSelectOnPressUp:K??N?.props.href!=null,linkBehavior:"selection"}),j=PW(q,_,"tab"),v=PW(q,_,"tabpanel"),{tabIndex:m}=M,b=HX(N?.props,{labelable:!0});delete b.id;let n=qW(N?.props),{focusableProps:e}=YH({...N?.props,isDisabled:T},z);return{tabProps:jZ(b,e,n,M,{id:j,"aria-selected":O,"aria-disabled":T||void 0,"aria-controls":O?v:void 0,tabIndex:T?void 0:m,role:"tab"}),isSelected:O,isDisabled:T,isPressed:R}}var KC=C(()=>{rG();tO();PY();HW();eG();fO()});function LC(Q,q){let z=q?.isDisabled,[_,W]=BC.useState(!1);return dZ(()=>{if(Q?.current&&!z){let K=()=>{if(Q.current){let L=qJ(Q.current,{tabbable:!0});W(!!L.nextNode())}};K();let A=new MutationObserver(K);return A.observe(Q.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{A.disconnect()}}}),z?!1:_}var BC;var AC=C(()=>{iK();CY();BC=g(ZZ(),1)});function D5(Q,q,z){let _=LC(z)?void 0:0,W=PW(q,Q.id??q?.selectedKey,"tabpanel"),K=tG({...Q,id:W,"aria-labelledby":PW(q,q?.selectedKey,"tab")});return{tabPanelProps:jZ(K,{tabIndex:_,role:"tabpanel","aria-describedby":Q["aria-describedby"],"aria-details":Q["aria-details"]})}}var OC=C(()=>{tO();PY();AC();VK()});class $5{constructor(Q,q,z,_=new Set){this.collection=Q,this.flipDirection=q==="rtl"&&z==="horizontal",this.disabledKeys=_,this.tabDirection=z==="horizontal"}getKeyLeftOf(Q){if(this.flipDirection)return this.getNextKey(Q);return this.getPreviousKey(Q)}getKeyRightOf(Q){if(this.flipDirection)return this.getPreviousKey(Q);return this.getNextKey(Q)}isDisabled(Q){return this.disabledKeys.has(Q)||!!this.collection.getItem(Q)?.props?.isDisabled}getFirstKey(){let Q=this.collection.getFirstKey();if(Q!=null&&this.isDisabled(Q))Q=this.getNextKey(Q);return Q}getLastKey(){let Q=this.collection.getLastKey();if(Q!=null&&this.isDisabled(Q))Q=this.getPreviousKey(Q);return Q}getKeyAbove(Q){if(this.tabDirection)return null;return this.getPreviousKey(Q)}getKeyBelow(Q){if(this.tabDirection)return null;return this.getNextKey(Q)}getNextKey(Q){let q=Q;do if(q=this.collection.getKeyAfter(q),q==null)q=this.collection.getFirstKey();while(q!=null&&this.isDisabled(q));return q}getPreviousKey(Q){let q=Q;do if(q=this.collection.getKeyBefore(q),q==null)q=this.collection.getLastKey();while(q!=null&&this.isDisabled(q));return q}}var FC=()=>{};function S5(Q,q,z){let{orientation:_="horizontal",keyboardActivation:W="automatic"}=Q,{collection:K,selectionManager:A,disabledKeys:L}=q,{direction:O}=YW(),T=MC.useMemo(()=>new $5(K,O,_,L),[K,L,_,O]),{collectionProps:N}=YR({ref:z,selectionManager:A,keyboardDelegate:T,selectOnFocus:W==="automatic",disallowEmptySelection:!0,scrollRef:z,linkBehavior:"selection"}),M=aX();C5.set(q,M);let R=tG({...Q,id:M});return{tabListProps:{...jZ(N,R),role:"tablist","aria-orientation":_,tabIndex:void 0}}}var MC;var NC=C(()=>{PY();tO();FC();YJ();VK();iA();QR();MC=g(ZZ(),1)});var IC=C(()=>{KC();OC();NC()});function Jv({props:Q,forwardedRef:q}){let z=NX.useContext(yz),{CollectionRoot:_}=NX.useContext(dK),{orientation:W="horizontal",keyboardActivation:K="automatic"}=Uz(E5),A=JQ(q),{tabListProps:L}=S5({...Q,orientation:W,keyboardActivation:K},z,A),O=yX({...Q,children:null,defaultClassName:"react-aria-TabList",values:{orientation:W,state:z}}),T=HX(Q,{global:!0});return delete T.id,NX.default.createElement(LX.div,{...jZ(T,O,L),ref:A,"data-orientation":W||void 0},NX.default.createElement($V,null,NX.default.createElement(_,{collection:z.collection,persistedKeys:Y6(z.selectionManager.focusedKey)})))}function qv(Q){let q=NX.useContext(yz),{id:z,tabPanelRef:_,isInitiallySelected:W,isExiting:K,...A}=Q,{tabPanelProps:L}=D5(Q,q,_),{focusProps:O,isFocused:T,isFocusVisible:N}=vQ(),M=q.selectedKey===Q.id,R=RW(_)&&!W,j=yX({...Q,defaultClassName:"react-aria-TabPanel",values:{isFocused:T,isFocusVisible:N,isInert:wW(!M),isEntering:R,isExiting:K,state:q}}),v=HX(A,{global:!0});delete v.id;let m=M?jZ(v,L,O,j):jZ(v,j);return NX.default.createElement(LX.div,{...m,ref:_,"data-focused":T||void 0,"data-focus-visible":N||void 0,inert:wW(!M||Q.inert),"data-inert":!M?"true":void 0,"data-entering":R||void 0,"data-exiting":K||void 0},NX.default.createElement(xQ,{values:[[E5,null],[yz,null]]},NX.default.createElement(dK.Provider,{value:X6},j.children)))}var NX,E5,yz,k5,TC,x5,y5;var wC=C(()=>{qQ();Q6();xO();SV();IC();MR();uK();cK();XW();Uq();T6();VJ();B5();UW();Vz();ZW();NX=g(ZZ(),1),E5=NX.createContext(null),yz=NX.createContext(null),k5=NX.forwardRef(function(q,z){return NX.useContext(yz)?NX.default.createElement(Jv,{props:q,forwardedRef:z}):NX.default.createElement(t3,q)});TC=class TC extends hQ{static{this.type="item"}};x5=Bq(TC,(Q,q,z)=>{let _=NX.useContext(yz),W=JQ(q),{tabProps:K,isSelected:A,isDisabled:L,isPressed:O}=P5({key:z.key,...Q},_,W),{focusProps:T,isFocused:N,isFocusVisible:M}=vQ(),{hoverProps:R,isHovered:j}=SY({isDisabled:L,onHoverStart:Q.onHoverStart,onHoverEnd:Q.onHoverEnd,onHoverChange:Q.onHoverChange}),v=yX({...Q,id:void 0,children:z.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:A,isDisabled:L,isFocused:N,isFocusVisible:M,isPressed:O,isHovered:j}}),m=z.props.href?LX.a:LX.div,b=HX(Q,{global:!0});return delete b.id,delete b.onClick,NX.default.createElement(m,{...jZ(b,v,K,T,R),ref:W,"data-selected":A||void 0,"data-disabled":L||void 0,"data-focused":N||void 0,"data-focus-visible":M||void 0,"data-pressed":O||void 0,"data-hovered":j||void 0},NX.default.createElement(IW.Provider,{value:{isSelected:A}},v.children))}),y5=RJ(function(q,z){let _=NX.useContext(yz),W=JQ(z),K=_.selectedKey===q.id,[A,L]=NX.useState(_.selectedKey!=null?K:null);if(A==null&&_.selectedKey!=null)L(K);else if(!K&&A)L(!1);let O=jW(W,K);if(!K&&!q.shouldForceMount&&!O)return null;return NX.default.createElement(qv,{...q,tabPanelRef:W,isInitiallySelected:A||!1,isExiting:O})})});var DW,eO,Gv=(Q)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=Q;return W},v5;var h5=C(()=>{qQ();VJ();UW();Vz();DW=g(ZZ(),1),eO=DW.createContext({}),v5=DW.forwardRef(function(q,z){[q,z]=fX(q,z,eO);let{hoverProps:_,isHovered:W}=SY(q),{isFocused:K,isFocusVisible:A,focusProps:L}=vQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",T=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-TextArea"});return DW.default.createElement(LX.textarea,{...jZ(Gv(q),L,_),...T,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});var VC=C(()=>{lj()});var SJ,RC,YB;var jC=C(()=>{qQ();f3();DV();lw();QV();i3();K3();h5();BW();VC();XW();Uq();SJ=g(ZZ(),1),RC=SJ.createContext(null),YB=RJ(function(q,z){[q,z]=fX(q,z,RC);let{validationBehavior:_}=Uz(pw)||{},W=q.validationBehavior??_??"native",K=SJ.useRef(null);[q,K]=fX(q,K,PV);let[A,L]=uA(!q["aria-label"]&&!q["aria-labelledby"]),[O,T]=SJ.useState("input"),{labelProps:N,inputProps:M,descriptionProps:R,errorMessageProps:j,...v}=O5({...i2(q),inputElementType:O,label:L,validationBehavior:W},K),m=SJ.useCallback((e)=>{if(K.current=e,e)T(e instanceof HTMLTextAreaElement?"textarea":"input")},[K]),b=yX({...q,values:{isDisabled:q.isDisabled||!1,isInvalid:v.isInvalid,isReadOnly:q.isReadOnly||!1,isRequired:q.isRequired||!1},defaultClassName:"react-aria-TextField"}),n=HX(q,{global:!0});return delete n.id,SJ.default.createElement(LX.div,{...n,...b,ref:z,slot:q.slot||void 0,"data-disabled":q.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-readonly":q.isReadOnly||void 0,"data-required":q.isRequired||void 0},SJ.default.createElement(xQ,{values:[[cA,{...N,ref:A}],[VO,{...M,ref:m}],[eO,{...M,ref:m}],[YV,{role:"presentation",isInvalid:v.isInvalid,isDisabled:q.isDisabled||!1}],[HH,{slots:{description:R,errorMessage:j}}],[mK,v]]},b.children))})});class QB{constructor(Q){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=Q?.maxVisibleToasts??1/0,this.wrapUpdate=Q?.wrapUpdate}runWithWrapUpdate(Q,q){if(this.wrapUpdate)this.wrapUpdate(Q,q);else Q()}subscribe(Q){return this.subscriptions.add(Q),()=>this.subscriptions.delete(Q)}add(Q,q={}){let z="_"+Math.random().toString(36).slice(2),_={...q,content:Q,key:z,timer:q.timeout?new PC(()=>this.close(z),q.timeout):void 0};return this.queue.unshift(_),this.updateVisibleToasts("add"),z}close(Q){let q=this.queue.findIndex((z)=>z.key===Q);if(q>=0)this.queue[q].onClose?.(),this.queue.splice(q,1);this.updateVisibleToasts("remove")}updateVisibleToasts(Q){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let q of this.subscriptions)q()},Q)}pauseAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.pause()}resumeAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class PC{constructor(Q,q){this.startTime=null,this.remaining=q,this.callback=Q}reset(Q){this.remaining=Q,this.resume()}pause(){if(this.timerId==null)return;clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime}resume(){if(this.remaining<=0)return;this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining)}}var CC,Hv;var DC=C(()=>{CC=g(ZZ(),1),Hv=g(a3(),1)});var $C=C(()=>{DC()});var SC=()=>{};var zJ=C(()=>{m3();XC();f3();i3();K3();CR();dj();UC();vV();wC();BW();h5();jC();SC();$C()});var vZ;var g5=C(()=>{zJ();FY();vZ=mZ(Rz,{displayName:"Button",baseClass:"inline-flex items-center justify-center gap-2 rounded-full text-compact leading-4 transition-all duration-200 ease-in-out outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[focus-visible]:ring-offset-2 data-[disabled]:opacity-50 data-[disabled]:pointer-events-none data-[pending]:opacity-70 data-[pending]:cursor-progress",variants:{variant:{primary:"bg-surface-inverted text-fg-inverted hover:bg-neutral-600 hover:shadow-[0_0_5px_0_rgba(0,0,0,0.5)] data-[pressed]:bg-surface-inverted data-[pressed]:shadow-none",secondary:"bg-surface-card text-fg border border-border hover:bg-surface-muted hover:border-fg-subtle data-[pressed]:bg-surface-muted",ghost:"bg-transparent text-fg hover:bg-surface-muted data-[pressed]:bg-surface-muted",destructive:"bg-danger text-danger-fg hover:opacity-90 data-[pressed]:opacity-80"},size:{sm:"py-2 px-4",md:"py-3 px-6",lg:"py-4 px-8"}},defaultVariants:{variant:"primary",size:"md"}})});var $Z=pq((_v)=>{var vz=g(ZZ());(function(){function Q(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===o?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case m:return"Fragment";case n:return"Profiler";case b:return"StrictMode";case LZ:return"Suspense";case kZ:return"SuspenseList";case NZ: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 v:return"Portal";case GZ:return V.displayName||"Context";case e:return(V._context.displayName||"Context")+".Consumer";case JZ:var t=V.render;return V=V.displayName,V||(V=t.displayName||t.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case YZ:return t=V.displayName||null,t!==null?t:Q(V.type)||"Memo";case p:t=V._payload,V=V._init;try{return Q(V(t))}catch(IZ){}}return null}function q(V){return""+V}function z(V){try{q(V);var t=!1}catch(yZ){t=!0}if(t){t=console;var IZ=t.error,CZ=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return IZ.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",CZ),q(V)}}function _(V){if(V===m)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===p)return"<...>";try{var t=Q(V);return t?"<"+t+">":"<...>"}catch(IZ){return"<...>"}}function W(){var V=VZ.A;return V===null?null:V.getOwner()}function K(){return Error("react-stack-top-frame")}function A(V){if(WZ.call(V,"key")){var t=Object.getOwnPropertyDescriptor(V,"key").get;if(t&&t.isReactWarning)return!1}return V.key!==void 0}function L(V,t){function IZ(){h||(h=!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)",t))}IZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:IZ,configurable:!0})}function O(){var V=Q(this.type);return u[V]||(u[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 T(V,t,IZ,CZ,yZ,JX){var OZ=IZ.ref;return V={$$typeof:j,type:V,key:t,props:IZ,_owner:CZ},(OZ!==void 0?OZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:O}):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:yZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function N(V,t,IZ,CZ,yZ,JX){var OZ=t.children;if(OZ!==void 0)if(CZ)if(a(OZ)){for(CZ=0;CZ<OZ.length;CZ++)M(OZ[CZ]);Object.freeze&&Object.freeze(OZ)}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(OZ);if(WZ.call(t,"key")){OZ=Q(V);var YX=Object.keys(t).filter(function(BX){return BX!=="key"});CZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",s[OZ+CZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
247
|
+
let props = %s;
|
|
248
|
+
<%s {...props} />
|
|
249
|
+
React keys must be passed directly to JSX without using spread:
|
|
250
|
+
let props = %s;
|
|
251
|
+
<%s key={someKey} {...props} />`,CZ,OZ,YX,OZ),s[OZ+CZ]=!0)}if(OZ=null,IZ!==void 0&&(z(IZ),OZ=""+IZ),A(t)&&(z(t.key),OZ=""+t.key),"key"in t){IZ={};for(var TX in t)TX!=="key"&&(IZ[TX]=t[TX])}else IZ=t;return OZ&&L(IZ,typeof V==="function"?V.displayName||V.name||"Unknown":V),T(V,OZ,IZ,W(),yZ,JX)}function M(V){R(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===p&&(V._payload.status==="fulfilled"?R(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function R(V){return typeof V==="object"&&V!==null&&V.$$typeof===j}var j=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),e=Symbol.for("react.consumer"),GZ=Symbol.for("react.context"),JZ=Symbol.for("react.forward_ref"),LZ=Symbol.for("react.suspense"),kZ=Symbol.for("react.suspense_list"),YZ=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),NZ=Symbol.for("react.activity"),o=Symbol.for("react.client.reference"),VZ=vz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,a=Array.isArray,D=console.createTask?console.createTask:function(){return null};vz={react_stack_bottom_frame:function(V){return V()}};var h,u={},d=vz.react_stack_bottom_frame.bind(vz,K)(),_Z=D(_(K)),s={};_v.Fragment=m,_v.jsxDEV=function(V,t,IZ,CZ){var yZ=1e4>VZ.recentlyCreatedOwnerStacks++;return N(V,t,IZ,CZ,yZ?Error("react-stack-top-frame"):d,yZ?D(_(V)):_Z)}})()});var $W,Wv,kY=({label:Q,description:q,errorMessage:z,placeholder:_,size:W,...K})=>$W.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[$W.jsxDEV(Bz,{className:"text-heading5 font-medium text-fg",children:Q},void 0,!1,void 0,this),$W.jsxDEV(Wv,{placeholder:_,fieldSize:W},void 0,!1,void 0,this),q?$W.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,$W.jsxDEV(LW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var yC=C(()=>{zJ();FY();$W=g($Z(),1),Wv=mZ(RO,{displayName:"InputControl",baseClass:"w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none",variants:{fieldSize:{sm:"h-8",md:"h-10",lg:"h-12"}},defaultVariants:{fieldSize:"md"}})});var SW,Uv,ZF=({label:Q,description:q,errorMessage:z,placeholder:_,rows:W,...K})=>SW.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[SW.jsxDEV(Bz,{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),SW.jsxDEV(Uv,{placeholder:_,rows:W},void 0,!1,void 0,this),q?SW.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,SW.jsxDEV(LW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var vC=C(()=>{zJ();FY();SW=g($Z(),1),Uv=mZ(v5,{displayName:"TextAreaControl",baseClass:"min-h-[120px] w-full resize-y rounded-lg border border-border bg-surface-card px-4 py-3 text-sm text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var hC;var bC=C(()=>{hC=g($Z(),1)});var Kv;var gC=C(()=>{Kv=g($Z(),1)});var Bv;var mC=C(()=>{Bv=g($Z(),1)});var Lv,vYZ,hYZ;var fC=C(()=>{zJ();FY();Lv=g($Z(),1),vYZ=mZ(Rz,{displayName:"SelectTrigger",baseClass:"flex min-h-[58px] w-full items-center justify-between gap-2.5 rounded-lg bg-surface-card p-5 text-sm text-fg outline-none transition-colors data-[hovered]:bg-surface-muted data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring group-data-[invalid]:ring-2 group-data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),hYZ=mZ(tK,{displayName:"SelectItem",baseClass:"flex cursor-pointer select-none items-center rounded-md px-5 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var uC,cYZ,pYZ;var dC=C(()=>{zJ();FY();uC=g($Z(),1),cYZ=mZ(rO,{displayName:"DialogOverlay",baseClass:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-[rgba(179,179,179,0.5)] backdrop-blur-[2px] data-[entering]:animate-in data-[exiting]:animate-out"}),pYZ=mZ(j5,{displayName:"DialogModal",baseClass:"rounded-lg bg-surface p-5 outline-none shadow-[0px_2px_8px_0px_rgba(0,0,0,0.06)]"})});var Ov,sYZ,aYZ;var cC=C(()=>{zJ();FY();Ov=g($Z(),1),sYZ=mZ(kz,{displayName:"DropdownMenuItem",baseClass:"flex cursor-pointer select-none items-center gap-2.5 rounded-md px-4 py-3 text-sm text-fg outline-none data-[focused]:bg-surface-card data-[hovered]:bg-surface-card data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",variants:{destructive:{true:"text-danger data-[focused]:text-danger data-[hovered]:text-danger"}}}),aYZ=mZ(z6,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"})});var XF,pC,eYZ;var lC=C(()=>{zJ();FY();XF=g(ZZ(),1),pC=g($Z(),1),eYZ=mZ(kz,{displayName:"ContextMenuItem",baseClass:"flex min-h-[34px] cursor-pointer select-none items-center gap-2.5 rounded-[10px] px-3 py-1.5 text-compact text-white outline-none data-[focused]:bg-[#2f2f2f] data-[focused]:font-medium data-[hovered]:bg-[#2f2f2f] data-[hovered]:font-medium data-[disabled]:cursor-not-allowed data-[disabled]:opacity-45",variants:{destructive:{true:"text-[#ffb5b5] data-[focused]:text-[#ffb5b5]"}}})});var Fv;var f5=C(()=>{Fv=g($Z(),1)});var iC,GQZ;var nC=C(()=>{zJ();iC=g($Z(),1),GQZ=new QB({maxVisibleToasts:5})});var WQZ,UQZ;var sC=C(()=>{zJ();FY();WQZ=mZ(N5,{displayName:"Disclosure"}),UQZ=mZ(I5,{displayName:"DisclosurePanel"})});var AQZ,OQZ,FQZ;var aC=C(()=>{zJ();FY();AQZ=mZ(k5,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),OQZ=mZ(x5,{displayName:"Tab",baseClass:"cursor-pointer select-none border-b-2 border-transparent px-4 py-3 text-sm font-medium text-fg-muted outline-none transition-colors data-[hovered]:text-fg data-[selected]:border-brand-primary data-[selected]:text-fg data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),FQZ=mZ(y5,{displayName:"TabPanel",baseClass:"py-4 text-sm text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"})});var Mv;var oC=C(()=>{g5();Mv=g($Z(),1)});var Nv;var rC=C(()=>{Nv=g($Z(),1)});var VQZ,RQZ;var tC=C(()=>{FY();VQZ=mZ("span",{displayName:"Text",baseClass:"text-fg",variants:{size:{micro:"text-micro",caption:"text-caption",label:"text-label",compact:"text-compact",callout:"text-callout",body:"text-body",subtitle:"text-subtitle",title:"text-title",headline:"text-headline",display:"text-display"},weight:{regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},tone:{default:"text-fg",muted:"text-fg-muted",subtle:"text-fg-subtle",inverted:"text-fg-inverted"}},defaultVariants:{size:"body",weight:"regular",tone:"default"}}),RQZ=mZ("h2",{displayName:"Heading",baseClass:"font-medium tracking-tight text-fg",variants:{level:{"1":"text-heading1","2":"text-heading2","3":"text-heading3","4":"text-heading4","5":"text-heading5"}},defaultVariants:{level:"2"}})});var Iv;var eC=C(()=>{f5();Iv=g($Z(),1)});var EQZ;var ZP=C(()=>{FY();EQZ=mZ("div",{displayName:"Card",baseClass:"relative rounded-lg bg-surface-card",variants:{variant:{plain:"",outlined:"border border-border",elevated:"shadow-md"},padding:{none:"p-0",sm:"p-4",md:"p-6",lg:"p-8"}},defaultVariants:{variant:"plain",padding:"md"}})});var yQZ;var XP=C(()=>{FY();yQZ=mZ("section",{displayName:"Section",baseClass:"w-full",variants:{padding:{none:"py-0",sm:"py-4",md:"py-6 sm:py-8",lg:"py-8 sm:py-12",xl:"py-12 sm:py-16"}},defaultVariants:{padding:"md"}})});var bQZ;var YP=C(()=>{FY();bQZ=mZ("div",{displayName:"PageContainer",baseClass:"w-full",variants:{size:{sm:"max-w-screen-sm mx-auto",md:"max-w-screen-md mx-auto",lg:"max-w-screen-lg mx-auto",xl:"max-w-screen-xl ml-0 mr-0 min-[1200px]:max-w-full","2xl":"max-w-screen-2xl mx-auto min-[1600px]:max-w-full min-[1600px]:mx-0",full:"max-w-full"}}})});var QP,Tv,fQZ,uQZ,dQZ;var JP=C(()=>{FY();QP=g(ZZ(),1),Tv=g($Z(),1),fQZ=mZ("div",{displayName:"AppShell",baseClass:"grid h-screen w-full overflow-hidden bg-surface grid-rows-[100%] grid-cols-[1fr] md:grid-cols-[auto_1fr]"}),uQZ=mZ("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),dQZ=mZ("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"})});var qP,wv,Vv,Rv,jv=(Q)=>qP.jsxDEV(Rv,{...Q},void 0,!1,void 0,this),Cv,Pv,nQZ,sQZ,aQZ;var GP=C(()=>{zJ();FY();qP=g($Z(),1),wv=mZ("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),Vv=mZ("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),Rv=mZ("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),Cv=mZ("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),Pv=mZ("a",{displayName:"Topbar.NavLink",baseClass:"inline-flex items-center rounded-sm px-[13px] py-[6px] text-compact leading-4 whitespace-nowrap text-fg no-underline transition-colors hover:bg-surface-muted hover:text-fg outline-none focus-visible:ring-2 focus-visible:ring-ring data-[active]:bg-surface-muted data-[active]:text-fg",variants:{active:{true:"",false:""}},variantsAsDataAttrs:["active"]}),nQZ=mZ(tK,{displayName:"WorkspaceSwitcher.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium"}),sQZ=mZ(kz,{displayName:"UserMenu.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),aQZ=Object.assign(wv,{Brand:Vv,Nav:jv,NavLink:Pv,Actions:Cv})});var Dv,$v,tQZ;var HP=C(()=>{FY();Dv=g(ZZ(),1),$v=g($Z(),1),tQZ=mZ("header",{displayName:"PersistentPageShell.Header",baseClass:"flex w-full flex-col gap-6 bg-surface",variants:{sticky:{true:"sticky top-0 z-[1]",false:""}},defaultVariants:{sticky:!1}})});var WH=C(()=>{FY();g5();yC();vC();bC();gC();mC();fC();dC();cC();lC();f5();nC();sC();aC();oC();rC();tC();eC();ZP();XP();YP();JP();GP();HP()});function YF(Q){try{let q=String(Q).split(".")[1];if(!q)return!1;let z=JSON.parse(atob(q.replace(/-/g,"+").replace(/_/g,"/")));return typeof z.exp==="number"&&Date.now()>=z.exp*1000}catch{return!1}}function zP(){try{let Q=localStorage.getItem(u5);if(Q)return JSON.parse(Q)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function _P(Q){localStorage.setItem(u5,JSON.stringify(Q))}function WP(){try{localStorage.removeItem(u5)}catch{}}class d5{cfg;onExpired;constructor(Q,q){this.cfg=Q;this.onExpired=q}setConfig(Q){this.cfg=Q}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(Q,q){if(this.onExpired&&this.cfg.token&&YF(this.cfg.token))return this.onExpired(),new Promise(()=>{});let z=await fetch(`${this.base()}/rpc/${Q}`,{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(q??{})}),_;try{_=await z.json()}catch{throw new EW(`non-JSON response (HTTP ${z.status})`,"bad_response",z.status)}if(_.ok!==!0){let W=_.error??`request failed (HTTP ${z.status})`,K=z.status===403?" — check your token has an editor/reviewer role":"";throw new EW(W+K,_.code??"error",z.status)}return _.result}async put(Q,q,z){let _=Q.startsWith("http")?Q:`${this.base()}${Q}`,W=await fetch(_,{method:"PUT",headers:{"content-type":z},body:q});if(!W.ok)throw new EW(`upload failed (HTTP ${W.status})`,"upload_failed",W.status)}resolve(Q){return Q.startsWith("http")?Q:`${this.base()}${Q}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(Q)=>this.call("getContentType",{id:Q});listPages=()=>this.call("listPages");getPagePreview=(Q,q)=>this.call("getPage",{slug:Q,locale:q,preview:!0});listPageAudit=(Q)=>this.call("listPageAudit",{pageId:Q});listMedia=(Q=50,q=0)=>this.call("listMedia",{limit:Q,offset:q});getMedia=(Q)=>this.call("getMedia",{id:Q});updateMedia=(Q,q)=>this.call("updateMedia",{id:Q,alt:q});deleteMedia=(Q)=>this.call("deleteMedia",{id:Q});async uploadMedia(Q){let q=Q.type||"application/octet-stream",z=await this.call("signMediaUpload",{contentType:q,filename:Q.name});return await this.put(z.url,await Q.arrayBuffer(),q),this.call("createMedia",{ref:z.ref,alt:Q.name})}}var EW,u5="pramen.cmsEditor";var c5=C(()=>{EW=class EW extends Error{code;status;constructor(Q,q,z){super(Q);this.code=q;this.status=z;this.name="ApiError"}}});function p5(){WP(),location.replace(JB)}function _J(){let Q=UQ.use(UP);if(!Q)throw Error("useApp must be used within <AppProvider>");return Q}function KP({children:Q}){let[q,z]=UQ.useState(zP()),[_,W]=UQ.useState(null),[K,A]=UQ.useState(""),L=Boolean(q.baseUrl&&q.token)&&!YF(q.token),O=UQ.useMemo(()=>new d5(q,JB?p5:void 0),[q]);if(UQ.useEffect(()=>{if(!JB)return;let N=()=>{if(!q.token||YF(q.token))p5()};N();let M=()=>{if(!document.hidden)N()},R=window.setInterval(N,30000);return window.addEventListener("visibilitychange",M),window.addEventListener("focus",N),()=>{window.clearInterval(R),window.removeEventListener("visibilitychange",M),window.removeEventListener("focus",N)}},[q.token]),UQ.useEffect(()=>{if(!L)return;O.call("me").then(W).catch(()=>W({}))},[O,L]),!L)return JB?null:WQ.jsxDEV(Sv,{cfg:q,onSave:(N)=>{_P(N),z(N)}},void 0,!1,void 0,this);let T={api:O,cfg:q,me:_,isAdmin:(_?.roles??[]).includes("admin"),error:K,setError:A,reconfigure:()=>{if(JB){p5();return}W(null),A(""),z({...q,token:""})}};return WQ.jsxDEV(UP,{value:T,children:Q},void 0,!1,void 0,this)}function Sv({cfg:Q,onSave:q}){let[z,_]=UQ.useState(Q);return WQ.jsxDEV("div",{className:"mx-auto mt-[14vh] w-full max-w-[520px] px-6",children:WQ.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card px-10 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.08)]",children:[WQ.jsxDEV("h1",{className:"mb-4 text-display text-fg",children:["pramen ",WQ.jsxDEV("span",{className:"text-fg-subtle",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),WQ.jsxDEV("p",{className:"mb-6 text-sm text-fg-muted",children:["Point at your Worker and paste an editor/reviewer JWT. CORS must allow this origin (",WQ.jsxDEV("code",{children:"CORS_ORIGINS"},void 0,!1,void 0,this),")."]},void 0,!0,void 0,this),WQ.jsxDEV("div",{className:"flex flex-col gap-4",children:[WQ.jsxDEV(kY,{label:"Worker base URL",value:z.baseUrl,onChange:(W)=>_({...z,baseUrl:W}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this),WQ.jsxDEV(kY,{label:"Tenant",value:z.tenant,onChange:(W)=>_({...z,tenant:W}),placeholder:"main"},void 0,!1,void 0,this),WQ.jsxDEV(kY,{label:"Bearer token (editor or reviewer)",value:z.token,onChange:(W)=>_({...z,token:W}),placeholder:"eyJ…"},void 0,!1,void 0,this),WQ.jsxDEV(vZ,{className:"mt-2 w-full",onPress:()=>q(z),isDisabled:!z.baseUrl||!z.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var UQ,WQ,JB,UP;var UH=C(()=>{WH();c5();UQ=g(ZZ(),1),WQ=g($Z(),1),JB=typeof window<"u"&&!new URLSearchParams(window.location.search).has("setup")?window.PRAMEN_CMS_EDITOR?.signInUrl:void 0;UP=UQ.createContext(null)});function kW({label:Q,children:q}){return MZ.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[MZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),q]},void 0,!0,void 0,this)}function QF({schema:Q,value:q,onChange:z,api:_}){let W=(K,A)=>z({...q,[K]:A});return MZ.jsxDEV("div",{className:"flex flex-col gap-4",children:Q.map((K)=>MZ.jsxDEV(Ev,{def:K,value:q[K.name],onChange:(A)=>W(K.name,A),api:_},K.name,!1,void 0,this))},void 0,!1,void 0,this)}function Ev({def:Q,value:q,onChange:z,api:_}){let W=MZ.jsxDEV(MZ.Fragment,{children:[Q.label??Q.name," ",Q.required?MZ.jsxDEV("span",{className:"text-danger",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(Q.type){case"text":case"url":return MZ.jsxDEV(kY,{label:W,value:q??"",onChange:z,placeholder:Q.type==="url"?"https://…":""},void 0,!1,void 0,this);case"textarea":return MZ.jsxDEV(ZF,{label:W,value:typeof q==="string"?q:q==null?"":JSON.stringify(q),onChange:z},void 0,!1,void 0,this);case"richtext":return MZ.jsxDEV(kW,{label:W,children:MZ.jsxDEV(yv,{value:typeof q==="string"?q:"",onChange:z},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"number":return MZ.jsxDEV(kW,{label:W,children:MZ.jsxDEV("input",{className:i5,type:"number",value:q==null?"":String(q),onChange:(K)=>z(K.target.value===""?null:Number(K.target.value))},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"date":case"datetime":return MZ.jsxDEV(kW,{label:W,children:MZ.jsxDEV("input",{className:i5,type:Q.type==="date"?"date":"datetime-local",value:q??"",onChange:(K)=>z(K.target.value||null)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"boolean":return MZ.jsxDEV("label",{className:"flex items-center gap-2",children:[MZ.jsxDEV("input",{type:"checkbox",checked:Boolean(q),onChange:(K)=>z(K.target.checked)},void 0,!1,void 0,this),MZ.jsxDEV("span",{className:"text-sm text-fg",children:Q.label??Q.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return MZ.jsxDEV(kW,{label:W,children:MZ.jsxDEV("select",{className:i5,value:q??"",onChange:(K)=>z(K.target.value||null),children:[MZ.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(Q.options??[]).map((K)=>MZ.jsxDEV("option",{value:K,children:K},K,!1,void 0,this))]},void 0,!0,void 0,this)},void 0,!1,void 0,this);case"media":return MZ.jsxDEV(kW,{label:W,children:MZ.jsxDEV(hv,{value:q,onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"group":return MZ.jsxDEV(kW,{label:W,children:MZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:MZ.jsxDEV(QF,{schema:Q.fields??[],value:q??{},onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"repeater":return MZ.jsxDEV(vv,{def:Q,value:q??[],onChange:z,api:_,label:W},void 0,!1,void 0,this);default:return null}}function xv(Q){let q=Q.trim();return/^(https?:\/\/|mailto:|tel:|\/|#)/i.test(q)?q:null}function BP(Q){return Q.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 yv({value:Q,onChange:q}){let z=gQ.useRef(null),_=gQ.useRef("");gQ.useEffect(()=>{let L=z.current;if(L&&Q!==_.current)L.innerHTML=BP(Q||""),_.current=Q||""},[Q]);let W=()=>{let L=BP(z.current?.innerHTML??"");_.current=L,q(L)},K=(L,O)=>{z.current?.focus(),document.execCommand(L,!1,O),W()},A=(L)=>{L.preventDefault(),document.execCommand("insertText",!1,L.clipboardData.getData("text/plain"))};return MZ.jsxDEV("div",{className:"overflow-hidden rounded-lg border border-border bg-surface-card",children:[MZ.jsxDEV("div",{className:"flex flex-wrap gap-0.5 border-b border-border bg-surface-muted px-2 py-1.5",children:kv.map((L)=>MZ.jsxDEV("button",{type:"button",className:"rounded border-0 bg-transparent px-2.5 py-0.5 text-xs text-fg-muted hover:bg-surface-card hover:text-fg",title:L.title,onMouseDown:(O)=>O.preventDefault(),onClick:()=>L.run(K),children:L.label},L.label,!1,void 0,this))},void 0,!1,void 0,this),MZ.jsxDEV("div",{ref:z,className:"prose prose-sm min-h-[180px] max-w-none px-4 py-3.5 text-sm leading-relaxed text-fg outline-none empty:before:text-fg-subtle empty:before:content-[attr(data-placeholder)]",contentEditable:!0,suppressContentEditableWarning:!0,"data-placeholder":"Write…",onInput:W,onBlur:W,onPaste:A},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function vv({def:Q,value:q,onChange:z,api:_,label:W}){let K=Array.isArray(q)?q:[],A=(N,M)=>z(K.map((R,j)=>j===N?M:R)),L=()=>z([...K,{}]),O=(N)=>z(K.filter((M,R)=>R!==N)),T=(N,M)=>{let R=N+M;if(R<0||R>=K.length)return;let j=K.slice();[j[N],j[R]]=[j[R],j[N]],z(j)};return MZ.jsxDEV("div",{className:"flex flex-col gap-2",children:[MZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:W},void 0,!1,void 0,this),K.map((N,M)=>MZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:[MZ.jsxDEV("div",{className:"mb-2 flex justify-end gap-1",children:[MZ.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:()=>T(M,-1),children:"↑"},void 0,!1,void 0,this),MZ.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:()=>T(M,1),children:"↓"},void 0,!1,void 0,this),MZ.jsxDEV(vZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>O(M),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),MZ.jsxDEV(QF,{schema:Q.fields??[],value:N,onChange:(R)=>A(M,R),api:_},void 0,!1,void 0,this)]},M,!0,void 0,this)),MZ.jsxDEV(vZ,{variant:"secondary",size:"sm",className:"self-start",onPress:L,isDisabled:Q.max!=null&&K.length>=Q.max,children:["+ add ",Q.label??Q.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function hv({value:Q,onChange:q,api:z}){let[_,W]=gQ.useState(!1),[K,A]=gQ.useState(null);return gQ.useEffect(()=>{if(Q)z.call("getMedia",{id:Q}).then(A).catch(()=>A(null));else A(null)},[Q,z]),MZ.jsxDEV("div",{children:[MZ.jsxDEV("div",{className:"flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",children:[K?MZ.jsxDEV("img",{className:"h-10 w-10 rounded object-cover",src:z.resolve(`/media/${K.file.key}`),alt:""},void 0,!1,void 0,this):MZ.jsxDEV("span",{className:"text-fg-subtle",children:"no media"},void 0,!1,void 0,this),MZ.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:K?.file.filename??Q??""},void 0,!1,void 0,this),MZ.jsxDEV(vZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"pick"},void 0,!1,void 0,this),Q?MZ.jsxDEV(vZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>q(null),children:"clear"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),_?MZ.jsxDEV(bv,{api:z,onClose:()=>W(!1),onPick:(L)=>{q(L),W(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function bv({api:Q,onClose:q,onPick:z}){let[_,W]=gQ.useState([]),[K,A]=gQ.useState(!1),[L,O]=gQ.useState(""),T=()=>Q.listMedia().then(W).catch((M)=>O(String(M.message??M)));gQ.useEffect(()=>{T()},[]);let N=async(M)=>{A(!0),O("");try{let R=await Q.uploadMedia(M);z(R.id)}catch(R){O(String(R.message??R))}finally{A(!1)}};return MZ.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:q,children:MZ.jsxDEV("div",{className:"max-h-[86vh] w-full max-w-[680px] overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)]",onClick:(M)=>M.stopPropagation(),children:[MZ.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal text-fg",children:["Choose ",MZ.jsxDEV("span",{className:"text-fg-subtle",children:"a file"},void 0,!1,void 0,this)," from the library"]},void 0,!0,void 0,this),L?MZ.jsxDEV("div",{className:"my-2 rounded-lg border border-danger bg-surface-card px-3.5 py-2.5 text-[13px] text-danger",children:L},void 0,!1,void 0,this):null,MZ.jsxDEV("label",{className:"mb-4 flex w-full flex-col gap-2",children:[MZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Upload a new file"},void 0,!1,void 0,this),MZ.jsxDEV("input",{type:"file",className:"text-sm text-fg-muted",disabled:K,onChange:(M)=>M.target.files?.[0]&&N(M.target.files[0])},void 0,!1,void 0,this)]},void 0,!0,void 0,this),MZ.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:_.map((M)=>MZ.jsxDEV("div",{className:"cursor-pointer overflow-hidden rounded-lg border border-border bg-surface-card",onClick:()=>z(M.id),children:[(M.file.contentType??"").startsWith("image/")?MZ.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${M.file.key}`),alt:""},void 0,!1,void 0,this):MZ.jsxDEV("div",{className:"h-[130px] bg-surface-muted"},void 0,!1,void 0,this),MZ.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:M.file.filename??M.id},void 0,!1,void 0,this)]},M.id,!0,void 0,this))},void 0,!1,void 0,this),MZ.jsxDEV("div",{className:"mt-3 text-right",children:MZ.jsxDEV(vZ,{variant:"ghost",onPress:q,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 gQ,MZ,i5="h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors placeholder:text-fg-muted focus:border-brand-green",kv;var LP=C(()=>{WH();gQ=g(ZZ(),1),MZ=g($Z(),1);kv=[{label:"B",title:"Bold",run:(Q)=>Q("bold")},{label:"I",title:"Italic",run:(Q)=>Q("italic")},{label:"H2",title:"Heading",run:(Q)=>Q("formatBlock","H2")},{label:"H3",title:"Subheading",run:(Q)=>Q("formatBlock","H3")},{label:"¶",title:"Paragraph",run:(Q)=>Q("formatBlock","P")},{label:"• List",title:"Bulleted list",run:(Q)=>Q("insertUnorderedList")},{label:"1. List",title:"Numbered list",run:(Q)=>Q("insertOrderedList")},{label:"Link",title:"Add link",run:(Q)=>{let q=window.prompt("Link URL (https://, mailto:, /path)","https://");if(!q)return;let z=xv(q);if(!z){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}Q("createLink",z)}},{label:"Unlink",title:"Remove link",run:(Q)=>Q("unlink")},{label:"Clear",title:"Clear formatting",run:(Q)=>Q("removeFormat")}]});function HF({lead:Q,em:q,children:z}){return P.jsxDEV("div",{className:"mx-auto grid max-w-[1200px] grid-cols-[1fr_auto] items-center gap-6 px-7 pb-6 pt-8 max-[820px]:grid-cols-1",children:[P.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[P.jsxDEV("span",{className:"block text-fg-subtle",children:Q},void 0,!1,void 0,this),P.jsxDEV("span",{className:"block text-fg",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function s5({text:Q,em:q,children:z}){return P.jsxDEV("div",{className:"flex min-w-[360px] items-center gap-4 rounded-full bg-brand-green py-3 pl-7 pr-3 max-[820px]:min-w-0",children:[P.jsxDEV("span",{className:"text-lg text-[#0f3a25]",children:[Q," ",P.jsxDEV("span",{className:"font-semibold",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function KH({children:Q}){return P.jsxDEV("div",{className:"mb-2 mt-[18px] text-sm text-fg-subtle first:mt-0",children:Q},void 0,!1,void 0,this)}function hz({status:Q,children:q}){return P.jsxDEV("span",{className:`inline-block whitespace-nowrap rounded-full border px-2.5 py-0.5 text-[11px] font-medium ${Q==="published"||Q==="active"?"bg-brand-green text-[#0f3a25] border-transparent":Q==="in_review"||Q==="review"?"bg-accent-yellow text-[#4a3512] border-transparent":Q==="rejected"||Q==="archived"||Q==="inactive"?"border-danger text-danger bg-surface-card":"border-border text-fg-muted bg-surface-card"}`,children:q},void 0,!1,void 0,this)}function a5({onClose:Q,wide:q,children:z}){return P.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:Q,children:P.jsxDEV("div",{className:`max-h-[86vh] w-full overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)] ${q?"max-w-[680px]":"max-w-[520px]"}`,onClick:(_)=>_.stopPropagation(),children:z},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function o5({children:Q}){return P.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal leading-[1.15] text-fg",children:Q},void 0,!1,void 0,this)}function zF({children:Q,className:q}){return P.jsxDEV("div",{className:`grid grid-cols-[auto_1fr] gap-x-3.5 gap-y-2 text-[13px] text-fg-muted [&>span:nth-child(odd)]:text-fg-subtle ${q??""}`,children:Q},void 0,!1,void 0,this)}function FP({children:Q}){return P.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-6",children:Q},void 0,!1,void 0,this)}function JF({ok:Q,children:q}){return P.jsxDEV("div",{className:`my-2 rounded-lg border px-3.5 py-2.5 text-[13px] ${Q?"border-brand-green bg-brand-green/20 text-[#0f3a25]":"border-danger bg-surface-card text-danger"}`,children:q},void 0,!1,void 0,this)}function MP({api:Q,pages:q,blockTypes:z,onOpen:_,onCreated:W,onError:K}){let[A,L]=TZ.useState(!1);return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(HF,{lead:"Pages",em:q.length===0?"None yet":q.length===1?"1 page total":`${q.length} pages total`,children:P.jsxDEV(s5,{text:"Let's",em:"create something",children:P.jsxDEV(vZ,{className:"shrink-0",onPress:()=>L(!0),children:"+ New page"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:GF,children:P.jsxDEV("div",{className:"flex flex-col gap-2",children:[q.map((O)=>P.jsxDEV("div",{className:`${xW} cursor-pointer hover:bg-surface-muted`,onClick:()=>_(O),children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:O.title},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:["/",O.slug]},void 0,!0,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:O.locale},void 0,!1,void 0,this),P.jsxDEV(hz,{status:O.status,children:O.status},void 0,!1,void 0,this)]},O.id,!0,void 0,this)),q.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:["No pages yet. ",z.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),A?P.jsxDEV(gv,{api:Q,onClose:()=>L(!1),onCreated:()=>{L(!1),W()},onError:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function gv({api:Q,onClose:q,onCreated:z,onError:_}){let[W,K]=TZ.useState([]),[A,L]=TZ.useState(""),[O,T]=TZ.useState(""),[N,M]=TZ.useState("");TZ.useEffect(()=>{Q.listContentTypes().then((j)=>{if(K(j),j[0])L(j[0].id)}).catch((j)=>_(IX(j)))},[Q,_]);let R=async()=>{try{await Q.call("createPage",{typeId:A,title:O,slug:N||OP(O)}),z()}catch(j){_(IX(j))}};return P.jsxDEV(a5,{onClose:q,children:[P.jsxDEV(o5,{children:["Create a ",P.jsxDEV(qF,{children:"new page"},void 0,!1,void 0,this)," and define the essentials",P.jsxDEV(qF,{children:"."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[P.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Content type"},void 0,!1,void 0,this),P.jsxDEV("select",{className:"h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:A,onChange:(j)=>L(j.target.value),children:W.map((j)=>P.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),P.jsxDEV(kY,{label:"Title",value:O,onChange:T},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"Slug",value:N,onChange:M,placeholder:OP(O)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[P.jsxDEV(vZ,{variant:"ghost",onPress:q,children:"cancel"},void 0,!1,void 0,this),P.jsxDEV(vZ,{onPress:R,isDisabled:!A||!O,children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function NP({api:Q,page:q,blockTypes:z,tab:_,onTab:W,onBack:K,onChange:A}){let[L,O]=TZ.useState(null),[T,N]=TZ.useState(null),[M,R]=TZ.useState(""),[j,v]=TZ.useState(""),m=TZ.useMemo(()=>new Map(z.map((a)=>[a.slug,a])),[z]),b=TZ.useCallback(async()=>{try{let[a,D]=await Promise.all([Q.getContentType(q.typeId),Q.getPagePreview(q.slug,q.locale)]);O(a??null),N(D)}catch(a){R(IX(a))}},[Q,q.typeId,q.slug,q.locale]);TZ.useEffect(()=>{b()},[b]);let n=L?.regions??[],e=(a)=>{v(a),setTimeout(()=>v(""),1800)},GZ=async(a,D)=>{try{await Q.call("addBlock",{pageId:q.id,blockTypeSlug:D,region:a,fields:{}}),await b(),e("block added")}catch(h){R(IX(h))}},JZ=async(a)=>{try{await Q.call("removeBlock",{pageBlockId:a.id}),await b()}catch(D){R(IX(D))}},LZ=async(a,D)=>{try{await Q.call("reorderRegion",{pageId:q.id,region:a,order:D}),await b()}catch(h){R(IX(h))}},kZ=TZ.useCallback((a,D)=>{N((h)=>{if(!h)return h;let u={};for(let[d,_Z]of Object.entries(h.regions))u[d]=_Z.map((s)=>s.id===a?{...s,fields:D}:s);return{...h,regions:u}})},[]),[YZ,p]=TZ.useState(null),NZ=(a,D)=>p({region:a,from:D,over:D}),o=(a,D)=>p((h)=>h&&h.region===a&&h.over!==D?{...h,over:D}:h),VZ=()=>p(null),WZ=(a)=>{if(p(null),!YZ||YZ.region!==a||YZ.from===YZ.over)return;let D=(T?.regions[a]??[]).map((u)=>u.id),[h]=D.splice(YZ.from,1);D.splice(YZ.over,0,h),LZ(a,D)};return P.jsxDEV("div",{className:"grid min-h-[calc(100vh-68px)] grid-cols-[260px_1fr_400px] gap-5 px-7 pb-7 pt-2 max-[820px]:grid-cols-1",children:[P.jsxDEV("div",{className:"overflow-auto rounded-panel bg-surface-muted p-[18px]",children:[P.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:K,children:"← all pages"},void 0,!1,void 0,this),P.jsxDEV(KH,{children:"Regions"},void 0,!1,void 0,this),n.map((a)=>P.jsxDEV("div",{className:`${xW} mb-2`,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:a.label??a.name},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:(T?.regions[a.name]??[]).length},void 0,!1,void 0,this)]},a.name,!0,void 0,this)),P.jsxDEV(KH,{children:"Status"},void 0,!1,void 0,this),P.jsxDEV("div",{className:xW,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:q.title},void 0,!1,void 0,this),P.jsxDEV(hz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"overflow-auto py-1.5",children:[M?P.jsxDEV(JF,{children:M},void 0,!1,void 0,this):null,j?P.jsxDEV(JF,{ok:!0,children:j},void 0,!1,void 0,this):null,n.map((a)=>{let D=T?.regions[a.name]??[],h=a.allowedTypes&&a.allowedTypes.length?a.allowedTypes:z.map((u)=>u.slug);return P.jsxDEV("div",{className:"mb-8",children:[P.jsxDEV("h3",{className:"m-0 mb-3 text-[22px] font-normal text-fg",children:a.label??a.name},void 0,!1,void 0,this),D.length===0?P.jsxDEV("p",{className:"mb-3 text-sm text-fg-subtle",children:"No blocks yet — add one below."},void 0,!1,void 0,this):null,D.map((u,d)=>P.jsxDEV(mv,{api:Q,block:u,blockType:m.get(u.block_type),isFirst:d===0,isLast:d===D.length-1,onMove:(_Z)=>Xh(D,a.name,d,_Z,LZ),onRemove:()=>JZ(u),onPatch:kZ,onError:R,dragging:YZ?.region===a.name&&YZ.from===d,isOver:!!YZ&&YZ.region===a.name&&YZ.over===d&&YZ.from!==d,onDragStartBlock:()=>NZ(a.name,d),onDragOverBlock:()=>o(a.name,d),onDropBlock:()=>WZ(a.name),onDragEndBlock:VZ},u.id,!1,void 0,this)),P.jsxDEV(fv,{allowed:h,btBySlug:m,onAdd:(u)=>GZ(a.name,u)},void 0,!1,void 0,this)]},a.name,!0,void 0,this)}),n.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"This page's content type has no regions."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-5",children:[P.jsxDEV("div",{className:"mb-3 flex gap-1",children:n5.map((a)=>P.jsxDEV(vZ,{variant:"ghost",size:"sm",className:_===a?"bg-surface-muted text-fg":"text-fg-muted",onPress:()=>W(a),children:a},a,!1,void 0,this))},void 0,!1,void 0,this),_==="settings"?P.jsxDEV(uv,{page:q},void 0,!1,void 0,this):null,_==="seo"?P.jsxDEV(dv,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="workflow"?P.jsxDEV(cv,{api:Q,page:q,onChanged:(a)=>{A(a)},onError:R},void 0,!1,void 0,this):null,_==="i18n"?P.jsxDEV(pv,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="audit"?P.jsxDEV(lv,{api:Q,pageId:q.id,onError:R},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function mv({api:Q,block:q,blockType:z,isFirst:_,isLast:W,onMove:K,onRemove:A,onPatch:L,onError:O,dragging:T,isOver:N,onDragStartBlock:M,onDragOverBlock:R,onDropBlock:j,onDragEndBlock:v}){let[m,b]=TZ.useState(null),[n,e]=TZ.useState(!1),[GZ,JZ]=TZ.useState("idle"),LZ=TZ.useRef(null),kZ=TZ.useRef(void 0),YZ=TZ.useRef(null),p=q.block_id,NZ=q.id;TZ.useEffect(()=>{let D=!0;return Q.call("getBlock",{blockId:p}).then((h)=>{if(D)b(h?.fields??{})}).catch((h)=>O(IX(h))),()=>{D=!1}},[Q,p,O]);let o=TZ.useCallback(async()=>{if(kZ.current)clearTimeout(kZ.current),kZ.current=void 0;let D=LZ.current;if(!D)return;LZ.current=null,JZ("saving");try{await Q.call("updateBlock",{blockId:p,fields:D}),L(NZ,D),JZ("saved"),setTimeout(()=>JZ((h)=>h==="saved"?"idle":h),1200)}catch(h){O(IX(h)),JZ("idle")}},[Q,p,NZ,L,O]);TZ.useEffect(()=>()=>{if(LZ.current)o()},[o]);let VZ=(D)=>{if(b(D),LZ.current=D,kZ.current)clearTimeout(kZ.current);kZ.current=setTimeout(()=>void o(),700)},WZ=z?.fieldsSchema??[],a=z?.name??q.block_type;return P.jsxDEV("div",{ref:YZ,className:`mb-2.5 rounded-panel border bg-surface-card transition-colors ${N?"border-brand-green":"border-border"} ${T?"opacity-40":""}`,onDragOver:(D)=>{D.preventDefault(),R()},onDrop:(D)=>{D.preventDefault(),j()},children:[P.jsxDEV("div",{className:"flex items-center gap-2.5 px-3.5 py-2.5",children:[P.jsxDEV("span",{draggable:!0,onDragStart:(D)=>{if(YZ.current)D.dataTransfer.setDragImage(YZ.current,12,12);D.dataTransfer.effectAllowed="move",D.dataTransfer.setData("text/plain",""),M()},onDragEnd:v,className:"shrink-0 cursor-grab select-none px-0.5 text-fg-subtle hover:text-fg active:cursor-grabbing",title:"Drag to reorder",children:"⠿"},void 0,!1,void 0,this),P.jsxDEV("button",{type:"button",className:"w-4 shrink-0 text-fg-subtle hover:text-fg",title:n?"Expand":"Collapse",onClick:()=>e((D)=>!D),children:n?"▸":"▾"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"font-medium text-fg",children:a},void 0,!1,void 0,this),q.is_shared?P.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"shared"},void 0,!1,void 0,this):null,P.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:GZ==="saving"?"saving…":GZ==="saved"?"saved ✓":""},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",size:"sm",isDisabled:_,onPress:()=>K(-1),children:"↑"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",size:"sm",isDisabled:W,onPress:()=>K(1),children:"↓"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:A,children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),n?P.jsxDEV("div",{className:"cursor-pointer truncate px-3.5 pb-3 text-sm text-fg-subtle",onClick:()=>e(!1),children:m==null?"…":Zh(m)||P.jsxDEV("span",{className:"italic",children:"empty"},void 0,!1,void 0,this)},void 0,!1,void 0,this):P.jsxDEV("div",{className:"border-t border-border px-3.5 py-3.5",onBlur:()=>void o(),children:m==null?P.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"loading…"},void 0,!1,void 0,this):WZ.length===0?P.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"This block has no editable fields."},void 0,!1,void 0,this):P.jsxDEV(QF,{schema:WZ,value:m,onChange:VZ,api:Q},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function fv({allowed:Q,btBySlug:q,onAdd:z}){let[_,W]=TZ.useState(!1);if(!_)return P.jsxDEV(vZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"+ Add block"},void 0,!1,void 0,this);return P.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card p-2.5",children:[P.jsxDEV("div",{className:"mb-1.5 px-1 text-[11px] text-fg-subtle",children:"Add a block"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-wrap gap-1.5",children:Q.map((K)=>P.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:()=>{z(K),W(!1)},children:q.get(K)?.name??K},K,!1,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-1.5 text-right",children:P.jsxDEV(vZ,{variant:"ghost",size:"sm",className:"text-fg-subtle",onPress:()=>W(!1),children:"cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uv({page:Q}){return P.jsxDEV(zF,{children:[P.jsxDEV("span",{children:"Title"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.title},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Slug"},void 0,!1,void 0,this),P.jsxDEV("span",{children:["/",Q.slug]},void 0,!0,void 0,this),P.jsxDEV("span",{children:"Locale"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.locale},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function dv({api:Q,page:q,onError:z}){let[_,W]=TZ.useState({metaTitle:q.metaTitle??"",metaDescription:q.metaDescription??"",canonicalUrl:q.canonicalUrl??"",robots:q.robots??"",ogTitle:q.ogTitle??"",ogDescription:q.ogDescription??""}),[K,A]=TZ.useState(!1),L=async()=>{try{await Q.call("updatePageSeo",{pageId:q.id,..._}),A(!0),setTimeout(()=>A(!1),1500)}catch(T){z(IX(T))}},O=(T,N,M=!1)=>M?P.jsxDEV(ZF,{label:N,value:_[T],onChange:(R)=>W({..._,[T]:R})},void 0,!1,void 0,this):P.jsxDEV(kY,{label:N,value:_[T],onChange:(R)=>W({..._,[T]:R})},void 0,!1,void 0,this);return P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(KH,{children:"SEO"},void 0,!1,void 0,this),K?P.jsxDEV(JF,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,O("metaTitle","Meta title"),O("metaDescription","Meta description",!0),O("canonicalUrl","Canonical URL"),O("robots","Robots (e.g. noindex)"),O("ogTitle","OG title"),O("ogDescription","OG description",!0),P.jsxDEV(vZ,{className:"w-full",onPress:L,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function cv({api:Q,page:q,onChanged:z,onError:_}){let W=async(L,O)=>{try{let T=await Q.call(L,{pageId:q.id,...O});if(T?.page)z(T.page)}catch(T){_(IX(T))}},K=String(q.status),A=K==="review"?[{label:"Approve (publish)",action:"approve"},{label:"Reject",action:"reject",variant:"secondary"},{label:"Publish directly",action:"publishPage",variant:"secondary"}]:K==="published"?[{label:"Unpublish",action:"unpublishPage",variant:"secondary"}]:[{label:"Publish",action:"publishPage"},{label:"Submit for review",action:"submitForReview",variant:"secondary"}];return P.jsxDEV("div",{children:[P.jsxDEV(KH,{children:"Workflow"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mb-3 flex items-center gap-2 text-[13px] text-fg-muted",children:[P.jsxDEV("span",{className:"text-fg-subtle",children:"Status"},void 0,!1,void 0,this),P.jsxDEV(hz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:A.map((L)=>P.jsxDEV(vZ,{variant:L.variant,onPress:()=>W(L.action),children:L.label},L.action,!1,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("p",{className:"mt-2.5 text-fg-subtle",children:"Publish needs a reviewer/admin role; submit-for-review is editor-gated."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function pv({api:Q,page:q,onError:z}){let[_,W]=TZ.useState([]),[K,A]=TZ.useState(""),L=TZ.useCallback(()=>Q.call("listTranslations",{pageId:q.id}).then(W).catch((T)=>z(IX(T))),[Q,q.id,z]);TZ.useEffect(()=>{L()},[L]);let O=async()=>{try{await Q.call("createTranslation",{pageId:q.id,locale:K}),A(""),L()}catch(T){z(IX(T))}};return P.jsxDEV("div",{children:[P.jsxDEV(KH,{children:"Translations"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:_.map((T)=>P.jsxDEV("div",{className:xW,children:[P.jsxDEV("span",{className:"flex-1 truncate font-medium",children:T.locale},void 0,!1,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:["/",T.slug]},void 0,!0,void 0,this),P.jsxDEV(hz,{status:T.status,children:T.status},void 0,!1,void 0,this)]},T.id,!0,void 0,this))},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex items-end gap-1.5",children:[P.jsxDEV(kY,{label:"",value:K,onChange:A,placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"secondary",onPress:O,isDisabled:!K,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function lv({api:Q,pageId:q,onError:z}){let[_,W]=TZ.useState([]);return TZ.useEffect(()=>{Q.listPageAudit(q).then(W).catch((K)=>z(IX(K)))},[Q,q,z]),P.jsxDEV("div",{children:[P.jsxDEV(KH,{children:"Audit trail"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((K)=>P.jsxDEV("div",{className:`${xW} text-xs`,children:[P.jsxDEV("span",{className:"rounded-full bg-surface-muted px-2 py-0.5 font-mono text-xs text-fg-muted",children:K.action},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:[K.fromStatus," → ",K.toStatus]},void 0,!0,void 0,this),P.jsxDEV("span",{className:"text-fg-subtle",children:K.actor??"system"},void 0,!1,void 0,this)]},K.id,!0,void 0,this)),_.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No history yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function IP({api:Q,onError:q}){let[z,_]=TZ.useState([]),[W,K]=TZ.useState(0),[A,L]=TZ.useState(!1),[O,T]=TZ.useState(null),[N,M]=TZ.useState(!1),R=TZ.useCallback((v)=>{Q.listMedia(AP,v).then((m)=>{_((b)=>v===0?m:[...b,...m]),L(m.length===AP),K(v+m.length)}).catch((m)=>q(IX(m)))},[Q,q]);TZ.useEffect(()=>{R(0)},[R]);let j=async(v)=>{if(!v?.length)return;M(!0),q("");try{for(let m of Array.from(v))await Q.uploadMedia(m);R(0)}catch(m){q(IX(m))}finally{M(!1)}};return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(HF,{lead:"Media",em:z.length===0?"None yet":z.length===1?"1 file":`${z.length}${A?"+":""} files`,children:P.jsxDEV(s5,{text:"Let's",em:"upload something",children:P.jsxDEV("label",{className:`inline-flex shrink-0 cursor-pointer items-center rounded-full bg-surface-inverted px-6 py-3 text-compact text-fg-inverted ${N?"pointer-events-none opacity-50":""}`,children:[N?"Uploading…":"+ Upload",P.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:N,onChange:(v)=>{j(v.target.files),v.target.value=""}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:GF,children:[z.length===0?P.jsxDEV("p",{className:"text-fg-subtle",children:"No media yet. Upload images to use them in blocks and SEO."},void 0,!1,void 0,this):P.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:z.map((v)=>P.jsxDEV("div",{className:`cursor-pointer overflow-hidden rounded-lg border bg-surface-card ${O?.id===v.id?"border-fg":"border-border"}`,onClick:()=>T(v),children:[VP(v)?P.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${v.file.key}`),alt:v.alt??""},void 0,!1,void 0,this):P.jsxDEV("div",{className:"flex h-[130px] items-center justify-center bg-surface-muted font-mono text-xs text-fg-subtle",children:RP(v)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:v.file.filename??v.id},void 0,!1,void 0,this)]},v.id,!0,void 0,this))},void 0,!1,void 0,this),A?P.jsxDEV("div",{className:"mt-3.5 text-center",children:P.jsxDEV(vZ,{variant:"secondary",size:"sm",onPress:()=>R(W),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,O?P.jsxDEV(iv,{api:Q,media:O,onClose:()=>T(null),onSaved:(v)=>{T(v),_((m)=>m.map((b)=>b.id===v.id?v:b))},onDeleted:(v)=>{T(null),_((m)=>m.filter((b)=>b.id!==v))},onError:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function iv({api:Q,media:q,onClose:z,onSaved:_,onDeleted:W,onError:K}){let[A,L]=TZ.useState(q.alt??""),[O,T]=TZ.useState(!1);TZ.useEffect(()=>L(q.alt??""),[q]);let N=Q.resolve(`/media/${q.file.key}`),M=async()=>{T(!0);try{_(await Q.updateMedia(q.id,A||null))}catch(j){K(IX(j))}finally{T(!1)}},R=async()=>{if(!confirm("Delete this file permanently? If a block or page still references it, that image will break — this cannot be undone."))return;T(!0);try{await Q.deleteMedia(q.id),W(q.id)}catch(j){K(IX(j))}finally{T(!1)}};return P.jsxDEV(a5,{onClose:z,wide:!0,children:[P.jsxDEV(o5,{children:[P.jsxDEV(qF,{children:"Media"},void 0,!1,void 0,this)," ",q.file.filename??""]},void 0,!0,void 0,this),VP(q)?P.jsxDEV("img",{className:"mx-auto mb-3.5 block max-h-[340px] max-w-full rounded-lg bg-surface-muted object-contain",src:N,alt:q.alt??""},void 0,!1,void 0,this):P.jsxDEV("div",{className:"mb-3.5 flex h-[200px] items-center justify-center rounded-lg bg-surface-muted font-mono text-fg-subtle",children:RP(q)},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mb-4",children:P.jsxDEV(kY,{label:"Alt text (for accessibility & SEO)",value:A,onChange:L,placeholder:"Describe the image…"},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV(zF,{children:[P.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q.file.contentType??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),P.jsxDEV("span",{children:tv(q.file.size)},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q.file.uploadedAt?new Date(q.file.uploadedAt).toLocaleString():q.createdAt??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"break-all",children:P.jsxDEV("a",{className:"underline underline-offset-2",href:N,target:"_blank",rel:"noreferrer",children:["/media/",q.file.key]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2",children:[P.jsxDEV(vZ,{onPress:M,isDisabled:O||A===(q.alt??""),children:"Save"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"secondary",size:"sm",onPress:()=>navigator.clipboard?.writeText(N),children:"Copy URL"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",className:"text-danger",onPress:R,isDisabled:O,children:"Delete"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",onPress:z,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function nv(Q){let q=Q.roles;if(Array.isArray(q))return q.filter((z)=>typeof z==="string");if(typeof q==="string")try{let z=JSON.parse(q);return Array.isArray(z)?z:[]}catch{return[]}return[]}function TP({api:Q,me:q,onError:z}){let[_,W]=TZ.useState([]),[K,A]=TZ.useState(!1),[L,O]=TZ.useState(""),T=TZ.useCallback(()=>{Q.call("listUsers",{limit:200}).then(W).catch((j)=>z(IX(j)))},[Q,z]);TZ.useEffect(()=>{T()},[T]);let N=async(j,v)=>{O(j.username);try{await Q.call("setUserRoles",{username:j.username,roles:v}),T()}catch(m){z(IX(m))}finally{O("")}},M=async(j,v)=>{O(j.username);try{await Q.call("setUserActive",{username:j.username,active:v}),T()}catch(m){z(IX(m))}finally{O("")}},R=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;O(j.username);try{await Q.call("deleteUser",{username:j.username}),T()}catch(v){z(IX(v))}finally{O("")}};return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(HF,{lead:"Users",em:_.length===0?"None yet":_.length===1?"1 account":`${_.length} accounts`,children:P.jsxDEV(s5,{text:"Let's",em:"invite someone",children:P.jsxDEV(vZ,{className:"shrink-0",onPress:()=>A(!0),children:"+ Invite"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),P.jsxDEV("div",{className:GF,children:P.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((j)=>{let v=nv(j),m=q?.userId===j.username,b=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return P.jsxDEV("div",{className:`${xW} flex-wrap items-start`,children:[P.jsxDEV("div",{className:"flex min-w-[200px] flex-1 flex-col gap-0.5",children:[P.jsxDEV("span",{className:"font-semibold",children:[j.username,m?P.jsxDEV("span",{className:"ml-1.5 font-normal text-fg-subtle",children:"(you)"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),j.email&&j.email!==j.username?P.jsxDEV("span",{className:"text-xs text-fg-subtle",children:j.email},void 0,!1,void 0,this):null,j.createdAt?P.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:["joined ",new Date(Number(j.createdAt)).toLocaleDateString()]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),P.jsxDEV(sv,{value:v,disabled:L===j.username,onSave:(n)=>N(j,n)},void 0,!1,void 0,this),P.jsxDEV(hz,{status:b?"active":"inactive",children:b?"active":"inactive"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",size:"sm",isDisabled:L===j.username||m,onPress:()=>M(j,!b),children:b?"Deactivate":"Activate"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",size:"sm",className:"text-danger",isDisabled:L===j.username||m,onPress:()=>R(j),children:"Delete"},void 0,!1,void 0,this)]},j.username,!0,void 0,this)}),_.length===0?P.jsxDEV("p",{className:"text-fg-subtle",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),K?P.jsxDEV(av,{api:Q,onClose:()=>A(!1),onInvited:()=>{A(!1),T()},onError:z},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function sv({value:Q,disabled:q,onSave:z}){let[_,W]=TZ.useState(Q.join(", ")),[K,A]=TZ.useState(!1);TZ.useEffect(()=>{W(Q.join(", "))},[Q]);let L=()=>{A(!1);let O=_.split(",").map((T)=>T.trim()).filter(Boolean);if(O.length===0){W(Q.join(", "));return}if(O.length===Q.length&&O.every((T,N)=>T===Q[N]))return;z(O)};if(K)return P.jsxDEV("input",{autoFocus:!0,className:"h-10 w-[220px] rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:_,disabled:q,onChange:(O)=>W(O.target.value),onBlur:L,onKeyDown:(O)=>{if(O.key==="Enter")L();if(O.key==="Escape")W(Q.join(", ")),A(!1)}},void 0,!1,void 0,this);return P.jsxDEV("span",{className:"flex cursor-pointer flex-wrap gap-1",onClick:()=>A(!0),title:"Click to edit",children:Q.length===0?P.jsxDEV(hz,{children:"no roles"},void 0,!1,void 0,this):Q.map((O)=>P.jsxDEV(hz,{status:O==="admin"?"published":void 0,children:O},O,!1,void 0,this))},void 0,!1,void 0,this)}function av({api:Q,onClose:q,onInvited:z,onError:_}){let[W,K]=TZ.useState(""),[A,L]=TZ.useState("editor"),[O,T]=TZ.useState(!1);return P.jsxDEV(a5,{onClose:q,children:[P.jsxDEV(o5,{children:["Invite an ",P.jsxDEV(qF,{children:"editor"},void 0,!1,void 0,this)," or teammate"]},void 0,!0,void 0,this),P.jsxDEV("p",{className:"-mt-2 mb-4 text-fg-subtle",children:"They'll get a one-time magic link that logs them in and creates their account."},void 0,!1,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(kY,{label:"Email",type:"email",autoFocus:!0,value:W,onChange:K,placeholder:"them@example.com"},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"Roles (comma-separated — e.g. editor, reviewer, admin)",value:A,onChange:L,placeholder:"editor"},void 0,!1,void 0,this),P.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[P.jsxDEV(vZ,{variant:"ghost",onPress:q,children:"Cancel"},void 0,!1,void 0,this),P.jsxDEV(vZ,{onPress:async()=>{T(!0);try{let M=A.split(",").map((R)=>R.trim()).filter(Boolean);await Q.call("inviteUser",{email:W,roles:M}),z()}catch(M){_(IX(M))}finally{T(!1)}},isDisabled:O||!W,children:O?"Sending…":"Send invite"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function wP({api:Q,cfg:q,me:z,onSignOut:_,onError:W}){return P.jsxDEV(P.Fragment,{children:[P.jsxDEV(HF,{lead:"Settings",em:z?.userId??"your account"},void 0,!1,void 0,this),P.jsxDEV("div",{className:`${GF} grid grid-cols-2 gap-5 max-[820px]:grid-cols-1`,children:[P.jsxDEV(ov,{api:Q,me:z,onError:W,onSignOut:_},void 0,!1,void 0,this),P.jsxDEV(rv,{cfg:q,me:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ov({api:Q,me:q,onError:z,onSignOut:_}){let[W,K]=TZ.useState(""),[A,L]=TZ.useState(""),[O,T]=TZ.useState(""),[N,M]=TZ.useState(""),[R,j]=TZ.useState(!1),v=(n)=>{M(n),setTimeout(()=>M(""),1800)},m=async()=>{j(!0);try{await Q.call("changeEmail",{email:W}),K(""),v("Contact email updated")}catch(n){z(IX(n))}finally{j(!1)}},b=async()=>{j(!0);try{await Q.call("changePassword",{currentPassword:A,newPassword:O}),L(""),T(""),v("Password updated")}catch(n){z(IX(n))}finally{j(!1)}};return P.jsxDEV(FP,{children:[P.jsxDEV(KH,{children:"My account"},void 0,!1,void 0,this),N?P.jsxDEV(JF,{ok:!0,children:N},void 0,!1,void 0,this):null,P.jsxDEV(zF,{className:"mb-4",children:[P.jsxDEV("span",{children:"Username"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Roles"},void 0,!1,void 0,this),P.jsxDEV("span",{children:(q?.roles??[]).join(", ")||"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P.jsxDEV("div",{className:"flex flex-col gap-4",children:[P.jsxDEV(kY,{label:"Change contact email",type:"email",value:W,onChange:K,placeholder:"you@example.com"},void 0,!1,void 0,this),P.jsxDEV(vZ,{className:"w-full",onPress:m,isDisabled:R||!W,children:"Save email"},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"Current password",type:"password",value:A,onChange:L,autoComplete:"current-password"},void 0,!1,void 0,this),P.jsxDEV(kY,{label:"New password (at least 8 characters)",type:"password",value:O,onChange:T,autoComplete:"new-password"},void 0,!1,void 0,this),P.jsxDEV(vZ,{className:"w-full",onPress:b,isDisabled:R||O.length<8||A.length===0,children:"Change password"},void 0,!1,void 0,this),P.jsxDEV(vZ,{variant:"ghost",className:"mt-2 w-full text-danger",onPress:_,children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function rv({cfg:Q,me:q}){return P.jsxDEV(FP,{children:[P.jsxDEV(KH,{children:"About"},void 0,!1,void 0,this),P.jsxDEV(zF,{children:[P.jsxDEV("span",{children:"Tenant"},void 0,!1,void 0,this),P.jsxDEV("span",{children:Q.tenant||"main"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"API"},void 0,!1,void 0,this),P.jsxDEV("span",{className:"break-all",children:Q.baseUrl},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Signed in as"},void 0,!1,void 0,this),P.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"Editor"},void 0,!1,void 0,this),P.jsxDEV("span",{children:"pramen · cms-editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function VP(Q){return(Q.file.contentType??"").startsWith("image/")}function RP(Q){let q=(Q.file.contentType??"").split("/")[1];return(Q.file.filename?.split(".").pop()??q??"file").slice(0,5).toUpperCase()}function tv(Q){if(!Q||Q<=0)return"—";let q=["B","KB","MB","GB"],z=0,_=Q;while(_>=1024&&z<q.length-1)_/=1024,z++;return`${_<10&&z>0?_.toFixed(1):Math.round(_)} ${q[z]}`}function IX(Q){if(Q instanceof EW)return Q.message;return Q instanceof Error?Q.message:String(Q)}function OP(Q){return Q.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function ev(Q){return Q.replace(/<[^>]*>/g," ").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\s+/g," ").trim()}function Zh(Q){let q=Object.values(Q).find((_)=>typeof _==="string"&&_.trim());if(typeof q!=="string")return"";let z=ev(q);return z.length>90?z.slice(0,90)+"…":z}function Xh(Q,q,z,_,W){let K=z+_;if(K<0||K>=Q.length)return;let A=Q.map((L)=>L.id);[A[z],A[K]]=[A[K],A[z]],W(q,A)}var TZ,P,n5,xW="flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",GF="mx-auto max-w-[1200px] px-7 pb-8 pt-2",qF=({children:Q})=>P.jsxDEV("span",{className:"text-fg-subtle",children:Q},void 0,!1,void 0,this),AP=60;var yW=C(()=>{WH();c5();LP();TZ=g(ZZ(),1),P=g($Z(),1),n5=["settings","seo","workflow","i18n","audit"]});var jP={};p_(jP,{default:()=>Yh});var qB,CP,Yh;var PP=C(()=>{Hq();UH();yW();qB=g(ZZ(),1),CP=g($Z(),1),Yh=EQ().route("/").render(function(){let{api:q,setError:z}=_J(),_=XJ(),[W,K]=qB.useState([]),[A,L]=qB.useState([]),O=()=>q.listPages().then(K).catch((T)=>z(IX(T)));return qB.useEffect(()=>{O(),q.listBlockTypes().then(L).catch((T)=>z(IX(T)))},[q]),CP.jsxDEV(MP,{api:q,pages:W,blockTypes:A,onOpen:(T)=>_("page",{params:{pageId:T.id}}),onCreated:O,onError:z},void 0,!1,void 0,this)})});var DP={};p_(DP,{default:()=>Qh});var $P,Qh;var SP=C(()=>{Hq();UH();yW();$P=g($Z(),1),Qh=EQ().route("/media").render(function(){let{api:q,setError:z}=_J();return $P.jsxDEV(IP,{api:q,onError:z},void 0,!1,void 0,this)})});var EP={};p_(EP,{default:()=>Jh});var vW,bz,Jh;var kP=C(()=>{Hq();WH();UH();yW();vW=g(ZZ(),1),bz=g($Z(),1),Jh=EQ().params({pageId:"string",tab:"?string"}).route("/pages/:pageId").render(function({params:q}){let{api:z,setError:_}=_J(),W=XJ(),[K,A]=vW.useState(null),[L,O]=vW.useState([]),[T,N]=vW.useState(!1);vW.useEffect(()=>{let j=!0;return N(!1),z.listPages().then((v)=>{if(!j)return;let m=v.find((b)=>b.id===q.pageId)??null;A(m),N(!m)}).catch((v)=>_(IX(v))),z.listBlockTypes().then((v)=>j&&O(v)).catch((v)=>_(IX(v))),()=>{j=!1}},[z,q.pageId,_]);let M=n5.includes(q.tab)?q.tab:"settings",R=(j)=>W("page",{params:{pageId:q.pageId,tab:j},replace:!0});if(T)return bz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[bz.jsxDEV("p",{className:"text-fg-subtle",children:"Page not found."},void 0,!1,void 0,this),bz.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:()=>W("home"),children:"← all pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!K)return bz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:bz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return bz.jsxDEV(NP,{api:z,page:K,blockTypes:L,tab:M,onTab:R,onBack:()=>W("home"),onChange:A},void 0,!1,void 0,this)})});var xP={};p_(xP,{default:()=>qh});var yP,qh;var vP=C(()=>{Hq();UH();yW();yP=g($Z(),1),qh=EQ().route("/settings").render(function(){let{api:q,cfg:z,me:_,setError:W,reconfigure:K}=_J();return yP.jsxDEV(wP,{api:q,cfg:z,me:_,onSignOut:K,onError:W},void 0,!1,void 0,this)})});var hP={};p_(hP,{default:()=>Gh});var gz,Gh;var bP=C(()=>{Hq();WH();UH();yW();gz=g($Z(),1),Gh=EQ().route("/users").render(function(){let{api:q,me:z,isAdmin:_,setError:W}=_J(),K=XJ();if(z===null)return gz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:gz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!_)return gz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[gz.jsxDEV("p",{className:"text-fg-subtle",children:"Admins only."},void 0,!1,void 0,this),gz.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return gz.jsxDEV(TP,{api:q,me:z,onError:W},void 0,!1,void 0,this)})});var gP={};p_(gP,{default:()=>Hh});var BH,Hh;var mP=C(()=>{Hq();WH();BH=g($Z(),1),Hh=EQ().render(function(){let q=XJ();return BH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:[BH.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[BH.jsxDEV("span",{className:"block text-fg-subtle",children:"Not found"},void 0,!1,void 0,this),BH.jsxDEV("span",{className:"block text-fg",children:"Nothing lives here"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),BH.jsxDEV("div",{className:"mt-4 flex items-center gap-2",children:[BH.jsxDEV("p",{className:"text-fg-subtle",children:"That page doesn't exist."},void 0,!1,void 0,this),BH.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:()=>q("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)})});Hq();var nP=g(ZZ(),1),sP=g(Z2(),1);Hq();var mz=g(ZZ(),1);Hq();WH();UH();var xY=g($Z(),1);function l5(){let{cfg:Q,isAdmin:q,error:z,reconfigure:_}=_J(),W=XJ(),{pathname:K}=SA(),A=K.startsWith("/pages")||K==="/"?"pages":K.startsWith("/media")?"media":K.startsWith("/users")?"users":K.startsWith("/settings")?"settings":"",L=(O)=>A===O?"bg-surface-muted text-fg":"text-fg-muted";return xY.jsxDEV(xY.Fragment,{children:[xY.jsxDEV("div",{className:"sticky top-0 z-10 flex items-center gap-4 bg-surface px-7 py-4",children:[xY.jsxDEV("span",{className:"text-[15px] font-bold tracking-[0.01em] text-fg",children:["pramen ",xY.jsxDEV("span",{className:"font-normal text-fg-subtle",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),xY.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),xY.jsxDEV("nav",{className:"flex items-center gap-0.5",children:[xY.jsxDEV(vZ,{variant:"ghost",size:"sm",className:L("pages"),onPress:()=>W("home"),children:"Pages"},void 0,!1,void 0,this),xY.jsxDEV(vZ,{variant:"ghost",size:"sm",className:L("media"),onPress:()=>W("media"),children:"Media"},void 0,!1,void 0,this),q?xY.jsxDEV(vZ,{variant:"ghost",size:"sm",className:L("users"),onPress:()=>W("users"),children:"Users"},void 0,!1,void 0,this):null,xY.jsxDEV(vZ,{variant:"ghost",size:"sm",className:L("settings"),onPress:()=>W("settings"),children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),xY.jsxDEV("span",{className:"ml-3 text-fg-subtle",children:Q.tenant},void 0,!1,void 0,this),xY.jsxDEV(vZ,{variant:"ghost",size:"sm",onPress:_,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z?xY.jsxDEV("div",{className:"mx-7 mt-2 rounded-lg border border-danger bg-surface-card px-4 py-2.5 text-sm text-danger",children:z},void 0,!1,void 0,this):null,xY.jsxDEV(a_,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var fP=()=>Promise.resolve().then(() => (PP(),jP)).then((Q)=>({default:Q.default.component})),uP=()=>Promise.resolve().then(() => (SP(),DP)).then((Q)=>({default:Q.default.component})),dP=()=>Promise.resolve().then(() => (kP(),EP)).then((Q)=>({default:Q.default.component})),cP=()=>Promise.resolve().then(() => (vP(),xP)).then((Q)=>({default:Q.default.component})),pP=()=>Promise.resolve().then(() => (bP(),hP)).then((Q)=>({default:Q.default.component})),lP=()=>Promise.resolve().then(() => (mP(),gP)).then((Q)=>({default:Q.default.component})),r5={home:"/",media:"/media",page:"/pages/:pageId",settings:"/settings",users:"/users"},zh=[{path:"/",component:l5,isLayout:!0,children:[{path:"/home",matchPath:"/",component:mz.lazy(fP),preload:fP},{path:"/media",component:mz.lazy(uP),preload:uP},{path:"/page",matchPath:"/pages/:pageId",component:mz.lazy(dP),preload:dP},{path:"/settings",component:mz.lazy(cP),preload:cP},{path:"/users",component:mz.lazy(pP),preload:pP},{path:"/:__notFound+",component:mz.lazy(lP),preload:lP}]}],t5=o9(zh);UH();var _F=g($Z(),1),iP=document.getElementById("app");if(iP)sP.createRoot(iP).render(_F.jsxDEV(nP.StrictMode,{children:_F.jsxDEV(KP,{children:_F.jsxDEV($A,{routes:t5,pageRegistry:r5},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|