firestore-schema-viewer-dist 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fsv.umd.js +44 -44
- package/index.html +1 -3
- package/package.json +1 -1
package/fsv.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(on,la){typeof exports=="object"&&typeof module<"u"?la(exports):typeof define=="function"&&define.amd?define(["exports"],la):(on=typeof globalThis<"u"?globalThis:on||self,la(on.FirestoreSchemaViewer={}))})(this,(function(on){"use strict";function la(u,c){for(var r=0;r<c.length;r++){const o=c[r];if(typeof o!="string"&&!Array.isArray(o)){for(const f in o)if(f!=="default"&&!(f in u)){const
|
|
1
|
+
(function(on,la){typeof exports=="object"&&typeof module<"u"?la(exports):typeof define=="function"&&define.amd?define(["exports"],la):(on=typeof globalThis<"u"?globalThis:on||self,la(on.FirestoreSchemaViewer={}))})(this,(function(on){"use strict";function la(u,c){for(var r=0;r<c.length;r++){const o=c[r];if(typeof o!="string"&&!Array.isArray(o)){for(const f in o)if(f!=="default"&&!(f in u)){const d=Object.getOwnPropertyDescriptor(o,f);d&&Object.defineProperty(u,f,d.get?d:{enumerable:!0,get:()=>o[f]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}function Jr(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var Bi={exports:{}},te={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var kr;function hy(){if(kr)return te;kr=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),C=Symbol.iterator;function j(x){return x===null||typeof x!="object"?null:(x=C&&x[C]||x["@@iterator"],typeof x=="function"?x:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,q={};function Y(x,L,Q){this.props=x,this.context=L,this.refs=q,this.updater=Q||H}Y.prototype.isReactComponent={},Y.prototype.setState=function(x,L){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,L,"setState")},Y.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function X(){}X.prototype=Y.prototype;function k(x,L,Q){this.props=x,this.context=L,this.refs=q,this.updater=Q||H}var W=k.prototype=new X;W.constructor=k,R(W,Y.prototype),W.isPureReactComponent=!0;var P=Array.isArray;function oe(){}var V={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function ne(x,L,Q){var K=Q.ref;return{$$typeof:u,type:x,key:L,ref:K!==void 0?K:null,props:Q}}function be(x,L){return ne(x.type,L,x.props)}function xe(x){return typeof x=="object"&&x!==null&&x.$$typeof===u}function ee(x){var L={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Q){return L[Q]})}var Nt=/\/+/g;function at(x,L){return typeof x=="object"&&x!==null&&x.key!=null?ee(""+x.key):L.toString(36)}function lt(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(oe,oe):(x.status="pending",x.then(function(L){x.status==="pending"&&(x.status="fulfilled",x.value=L)},function(L){x.status==="pending"&&(x.status="rejected",x.reason=L)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function D(x,L,Q,K,ae){var re=typeof x;(re==="undefined"||re==="boolean")&&(x=null);var Te=!1;if(x===null)Te=!0;else switch(re){case"bigint":case"string":case"number":Te=!0;break;case"object":switch(x.$$typeof){case u:case c:Te=!0;break;case A:return Te=x._init,D(Te(x._payload),L,Q,K,ae)}}if(Te)return ae=ae(x),Te=K===""?"."+at(x,0):K,P(ae)?(Q="",Te!=null&&(Q=Te.replace(Nt,"$&/")+"/"),D(ae,L,Q,"",function(fa){return fa})):ae!=null&&(xe(ae)&&(ae=be(ae,Q+(ae.key==null||x&&x.key===ae.key?"":(""+ae.key).replace(Nt,"$&/")+"/")+Te)),L.push(ae)),1;Te=0;var ut=K===""?".":K+":";if(P(x))for(var Le=0;Le<x.length;Le++)K=x[Le],re=ut+at(K,Le),Te+=D(K,L,Q,re,ae);else if(Le=j(x),typeof Le=="function")for(x=Le.call(x),Le=0;!(K=x.next()).done;)K=K.value,re=ut+at(K,Le++),Te+=D(K,L,Q,re,ae);else if(re==="object"){if(typeof x.then=="function")return D(lt(x),L,Q,K,ae);throw L=String(x),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return Te}function G(x,L,Q){if(x==null)return x;var K=[],ae=0;return D(x,K,"","",function(re){return L.call(Q,re,ae++)}),K}function $(x){if(x._status===-1){var L=x._result;L=L(),L.then(function(Q){(x._status===0||x._status===-1)&&(x._status=1,x._result=Q)},function(Q){(x._status===0||x._status===-1)&&(x._status=2,x._result=Q)}),x._status===-1&&(x._status=0,x._result=L)}if(x._status===1)return x._result.default;throw x._result}var ve=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Ee={map:G,forEach:function(x,L,Q){G(x,function(){L.apply(this,arguments)},Q)},count:function(x){var L=0;return G(x,function(){L++}),L},toArray:function(x){return G(x,function(L){return L})||[]},only:function(x){if(!xe(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};return te.Activity=T,te.Children=Ee,te.Component=Y,te.Fragment=r,te.Profiler=f,te.PureComponent=k,te.StrictMode=o,te.Suspense=S,te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,te.__COMPILER_RUNTIME={__proto__:null,c:function(x){return V.H.useMemoCache(x)}},te.cache=function(x){return function(){return x.apply(null,arguments)}},te.cacheSignal=function(){return null},te.cloneElement=function(x,L,Q){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var K=R({},x.props),ae=x.key;if(L!=null)for(re in L.key!==void 0&&(ae=""+L.key),L)!le.call(L,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&L.ref===void 0||(K[re]=L[re]);var re=arguments.length-2;if(re===1)K.children=Q;else if(1<re){for(var Te=Array(re),ut=0;ut<re;ut++)Te[ut]=arguments[ut+2];K.children=Te}return ne(x.type,ae,K)},te.createContext=function(x){return x={$$typeof:g,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:d,_context:x},x},te.createElement=function(x,L,Q){var K,ae={},re=null;if(L!=null)for(K in L.key!==void 0&&(re=""+L.key),L)le.call(L,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(ae[K]=L[K]);var Te=arguments.length-2;if(Te===1)ae.children=Q;else if(1<Te){for(var ut=Array(Te),Le=0;Le<Te;Le++)ut[Le]=arguments[Le+2];ae.children=ut}if(x&&x.defaultProps)for(K in Te=x.defaultProps,Te)ae[K]===void 0&&(ae[K]=Te[K]);return ne(x,re,ae)},te.createRef=function(){return{current:null}},te.forwardRef=function(x){return{$$typeof:h,render:x}},te.isValidElement=xe,te.lazy=function(x){return{$$typeof:A,_payload:{_status:-1,_result:x},_init:$}},te.memo=function(x,L){return{$$typeof:y,type:x,compare:L===void 0?null:L}},te.startTransition=function(x){var L=V.T,Q={};V.T=Q;try{var K=x(),ae=V.S;ae!==null&&ae(Q,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(oe,ve)}catch(re){ve(re)}finally{L!==null&&Q.types!==null&&(L.types=Q.types),V.T=L}},te.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},te.use=function(x){return V.H.use(x)},te.useActionState=function(x,L,Q){return V.H.useActionState(x,L,Q)},te.useCallback=function(x,L){return V.H.useCallback(x,L)},te.useContext=function(x){return V.H.useContext(x)},te.useDebugValue=function(){},te.useDeferredValue=function(x,L){return V.H.useDeferredValue(x,L)},te.useEffect=function(x,L){return V.H.useEffect(x,L)},te.useEffectEvent=function(x){return V.H.useEffectEvent(x)},te.useId=function(){return V.H.useId()},te.useImperativeHandle=function(x,L,Q){return V.H.useImperativeHandle(x,L,Q)},te.useInsertionEffect=function(x,L){return V.H.useInsertionEffect(x,L)},te.useLayoutEffect=function(x,L){return V.H.useLayoutEffect(x,L)},te.useMemo=function(x,L){return V.H.useMemo(x,L)},te.useOptimistic=function(x,L){return V.H.useOptimistic(x,L)},te.useReducer=function(x,L,Q){return V.H.useReducer(x,L,Q)},te.useRef=function(x){return V.H.useRef(x)},te.useState=function(x){return V.H.useState(x)},te.useSyncExternalStore=function(x,L,Q){return V.H.useSyncExternalStore(x,L,Q)},te.useTransition=function(){return V.H.useTransition()},te.version="19.2.4",te}var Wr;function Li(){return Wr||(Wr=1,Bi.exports=hy()),Bi.exports}var p=Li();const Kt=Jr(p),vy=la({__proto__:null,default:Kt},[p]);var qi={exports:{}},na={},Yi={exports:{}},Gi={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* scheduler.production.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var Fr;function yy(){return Fr||(Fr=1,(function(u){function c(D,G){var $=D.length;D.push(G);e:for(;0<$;){var ve=$-1>>>1,Ee=D[ve];if(0<f(Ee,G))D[ve]=G,D[$]=Ee,$=ve;else break e}}function r(D){return D.length===0?null:D[0]}function o(D){if(D.length===0)return null;var G=D[0],$=D.pop();if($!==G){D[0]=$;e:for(var ve=0,Ee=D.length,x=Ee>>>1;ve<x;){var L=2*(ve+1)-1,Q=D[L],K=L+1,ae=D[K];if(0>f(Q,$))K<Ee&&0>f(ae,Q)?(D[ve]=ae,D[K]=$,ve=K):(D[ve]=Q,D[L]=$,ve=L);else if(K<Ee&&0>f(ae,$))D[ve]=ae,D[K]=$,ve=K;else break e}}return G}function f(D,G){var $=D.sortIndex-G.sortIndex;return $!==0?$:D.id-G.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;u.unstable_now=function(){return d.now()}}else{var g=Date,h=g.now();u.unstable_now=function(){return g.now()-h}}var S=[],y=[],A=1,T=null,C=3,j=!1,H=!1,R=!1,q=!1,Y=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function W(D){for(var G=r(y);G!==null;){if(G.callback===null)o(y);else if(G.startTime<=D)o(y),G.sortIndex=G.expirationTime,c(S,G);else break;G=r(y)}}function P(D){if(R=!1,W(D),!H)if(r(S)!==null)H=!0,oe||(oe=!0,ee());else{var G=r(y);G!==null&<(P,G.startTime-D)}}var oe=!1,V=-1,le=5,ne=-1;function be(){return q?!0:!(u.unstable_now()-ne<le)}function xe(){if(q=!1,oe){var D=u.unstable_now();ne=D;var G=!0;try{e:{H=!1,R&&(R=!1,X(V),V=-1),j=!0;var $=C;try{t:{for(W(D),T=r(S);T!==null&&!(T.expirationTime>D&&be());){var ve=T.callback;if(typeof ve=="function"){T.callback=null,C=T.priorityLevel;var Ee=ve(T.expirationTime<=D);if(D=u.unstable_now(),typeof Ee=="function"){T.callback=Ee,W(D),G=!0;break t}T===r(S)&&o(S),W(D)}else o(S);T=r(S)}if(T!==null)G=!0;else{var x=r(y);x!==null&<(P,x.startTime-D),G=!1}}break e}finally{T=null,C=$,j=!1}G=void 0}}finally{G?ee():oe=!1}}}var ee;if(typeof k=="function")ee=function(){k(xe)};else if(typeof MessageChannel<"u"){var Nt=new MessageChannel,at=Nt.port2;Nt.port1.onmessage=xe,ee=function(){at.postMessage(null)}}else ee=function(){Y(xe,0)};function lt(D,G){V=Y(function(){D(u.unstable_now())},G)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(D){D.callback=null},u.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<D?Math.floor(1e3/D):5},u.unstable_getCurrentPriorityLevel=function(){return C},u.unstable_next=function(D){switch(C){case 1:case 2:case 3:var G=3;break;default:G=C}var $=C;C=G;try{return D()}finally{C=$}},u.unstable_requestPaint=function(){q=!0},u.unstable_runWithPriority=function(D,G){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var $=C;C=D;try{return G()}finally{C=$}},u.unstable_scheduleCallback=function(D,G,$){var ve=u.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?ve+$:ve):$=ve,D){case 1:var Ee=-1;break;case 2:Ee=250;break;case 5:Ee=1073741823;break;case 4:Ee=1e4;break;default:Ee=5e3}return Ee=$+Ee,D={id:A++,callback:G,priorityLevel:D,startTime:$,expirationTime:Ee,sortIndex:-1},$>ve?(D.sortIndex=$,c(y,D),r(S)===null&&D===r(y)&&(R?(X(V),V=-1):R=!0,lt(P,$-ve))):(D.sortIndex=Ee,c(S,D),H||j||(H=!0,oe||(oe=!0,ee()))),D},u.unstable_shouldYield=be,u.unstable_wrapCallback=function(D){var G=C;return function(){var $=C;C=G;try{return D.apply(this,arguments)}finally{C=$}}}})(Gi)),Gi}var $r;function gy(){return $r||($r=1,Yi.exports=yy()),Yi.exports}var Xi={exports:{}},et={};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react-dom.production.js
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var
|
|
25
|
+
*/var Ir;function py(){if(Ir)return et;Ir=1;var u=Li();function c(S){var y="https://react.dev/errors/"+S;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)y+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+S+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(S,y,A){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:T==null?null:""+T,children:S,containerInfo:y,implementation:A}}var g=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(S,y){if(S==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,et.createPortal=function(S,y){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return d(S,y,null,A)},et.flushSync=function(S){var y=g.T,A=o.p;try{if(g.T=null,o.p=2,S)return S()}finally{g.T=y,o.p=A,o.d.f()}},et.preconnect=function(S,y){typeof S=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(S,y))},et.prefetchDNS=function(S){typeof S=="string"&&o.d.D(S)},et.preinit=function(S,y){if(typeof S=="string"&&y&&typeof y.as=="string"){var A=y.as,T=h(A,y.crossOrigin),C=typeof y.integrity=="string"?y.integrity:void 0,j=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;A==="style"?o.d.S(S,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:T,integrity:C,fetchPriority:j}):A==="script"&&o.d.X(S,{crossOrigin:T,integrity:C,fetchPriority:j,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},et.preinitModule=function(S,y){if(typeof S=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var A=h(y.as,y.crossOrigin);o.d.M(S,{crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(S)},et.preload=function(S,y){if(typeof S=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var A=y.as,T=h(A,y.crossOrigin);o.d.L(S,A,{crossOrigin:T,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},et.preloadModule=function(S,y){if(typeof S=="string")if(y){var A=h(y.as,y.crossOrigin);o.d.m(S,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(S)},et.requestFormReset=function(S){o.d.r(S)},et.unstable_batchedUpdates=function(S,y){return S(y)},et.useFormState=function(S,y,A){return g.H.useFormState(S,y,A)},et.useFormStatus=function(){return g.H.useHostTransitionStatus()},et.version="19.2.4",et}var Pr;function es(){if(Pr)return Xi.exports;Pr=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Xi.exports=py(),Xi.exports}/**
|
|
26
26
|
* @license React
|
|
27
27
|
* react-dom-client.production.js
|
|
28
28
|
*
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var
|
|
33
|
+
*/var ts;function by(){if(ts)return na;ts=1;var u=gy(),c=Li(),r=es();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function g(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function S(e){if(d(e)!==e)throw Error(o(188))}function y(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(o(188));return t!==e?null:e}for(var l=e,n=t;;){var a=l.return;if(a===null)break;var i=a.alternate;if(i===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===l)return S(a),e;if(i===n)return S(a),t;i=i.sibling}throw Error(o(188))}if(l.return!==n.return)l=a,n=i;else{for(var s=!1,m=a.child;m;){if(m===l){s=!0,l=a,n=i;break}if(m===n){s=!0,n=a,l=i;break}m=m.sibling}if(!s){for(m=i.child;m;){if(m===l){s=!0,l=i,n=a;break}if(m===n){s=!0,n=i,l=a;break}m=m.sibling}if(!s)throw Error(o(189))}}if(l.alternate!==n)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function A(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=A(e),t!==null)return t;e=e.sibling}return null}var T=Object.assign,C=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),k=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),ne=Symbol.for("react.activity"),be=Symbol.for("react.memo_cache_sentinel"),xe=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=xe&&e[xe]||e["@@iterator"],typeof e=="function"?e:null)}var Nt=Symbol.for("react.client.reference");function at(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Nt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case R:return"Fragment";case Y:return"Profiler";case q:return"StrictMode";case P:return"Suspense";case oe:return"SuspenseList";case ne:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case H:return"Portal";case k:return e.displayName||"Context";case X:return(e._context.displayName||"Context")+".Consumer";case W:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return t=e.displayName||null,t!==null?t:at(e.type)||"Memo";case le:t=e._payload,e=e._init;try{return at(e(t))}catch{}}return null}var lt=Array.isArray,D=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},ve=[],Ee=-1;function x(e){return{current:e}}function L(e){0>Ee||(e.current=ve[Ee],ve[Ee]=null,Ee--)}function Q(e,t){Ee++,ve[Ee]=e.current,e.current=t}var K=x(null),ae=x(null),re=x(null),Te=x(null);function ut(e,t){switch(Q(re,t),Q(ae,e),Q(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Bv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Bv(t),e=Lv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(K),Q(K,e)}function Le(){L(K),L(ae),L(re)}function fa(e){e.memoizedState!==null&&Q(Te,e);var t=K.current,l=Lv(t,e.type);t!==l&&(Q(ae,e),Q(K,l))}function bu(e){ae.current===e&&(L(K),L(ae)),Te.current===e&&(L(Te),eu._currentValue=$)}var zc,md;function Xl(e){if(zc===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);zc=t&&t[1]||"",md=-1<l.stack.indexOf(`
|
|
34
34
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
35
|
-
`+
|
|
36
|
-
`),
|
|
37
|
-
`);for(a=n=0;n<b.length&&!b[n].includes("DetermineComponentFrameRoot");)n++;for(;a<
|
|
38
|
-
`+b[n].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=n&&0<=a);break}}}finally{
|
|
35
|
+
`+zc+e+md}var Mc=!1;function Oc(e,t){if(!e||Mc)return"";Mc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(O){var M=O}Reflect.construct(e,[],B)}else{try{B.call()}catch(O){M=O}e.call(B.prototype)}}else{try{throw Error()}catch(O){M=O}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(O){if(O&&M&&typeof O.stack=="string")return[O.stack,M.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),s=i[0],m=i[1];if(s&&m){var b=s.split(`
|
|
36
|
+
`),z=m.split(`
|
|
37
|
+
`);for(a=n=0;n<b.length&&!b[n].includes("DetermineComponentFrameRoot");)n++;for(;a<z.length&&!z[a].includes("DetermineComponentFrameRoot");)a++;if(n===b.length||a===z.length)for(n=b.length-1,a=z.length-1;1<=n&&0<=a&&b[n]!==z[a];)a--;for(;1<=n&&0<=a;n--,a--)if(b[n]!==z[a]){if(n!==1||a!==1)do if(n--,a--,0>a||b[n]!==z[a]){var w=`
|
|
38
|
+
`+b[n].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=n&&0<=a);break}}}finally{Mc=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Xl(l):""}function Pp(e,t){switch(e.tag){case 26:case 27:case 5:return Xl(e.type);case 16:return Xl("Lazy");case 13:return e.child!==t&&t!==null?Xl("Suspense Fallback"):Xl("Suspense");case 19:return Xl("SuspenseList");case 0:case 15:return Oc(e.type,!1);case 11:return Oc(e.type.render,!1);case 1:return Oc(e.type,!0);case 31:return Xl("Activity");default:return""}}function hd(e){try{var t="",l=null;do t+=Pp(e,l),l=e,e=e.return;while(e);return t}catch(n){return`
|
|
39
39
|
Error generating stack: `+n.message+`
|
|
40
|
-
`+n.stack}}var Oc=Object.prototype.hasOwnProperty,jc=u.unstable_scheduleCallback,Rc=u.unstable_cancelCallback,$p=u.unstable_shouldYield,Ip=u.unstable_requestPaint,ht=u.unstable_now,Pp=u.unstable_getCurrentPriorityLevel,hd=u.unstable_ImmediatePriority,vd=u.unstable_UserBlockingPriority,Su=u.unstable_NormalPriority,eb=u.unstable_LowPriority,gd=u.unstable_IdlePriority,tb=u.log,lb=u.unstable_setDisableYieldValue,da=null,vt=null;function gl(e){if(typeof tb=="function"&&lb(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(da,e)}catch{}}var gt=Math.clz32?Math.clz32:ub,nb=Math.log,ab=Math.LN2;function ub(e){return e>>>=0,e===0?32:31-(nb(e)/ab|0)|0}var xu=256,Eu=262144,Tu=4194304;function Vl(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Au(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var d=n&134217727;return d!==0?(n=d&~i,n!==0?a=Vl(n):(s&=d,s!==0?a=Vl(s):l||(l=d&~e,l!==0&&(a=Vl(l))))):(d=n&~i,d!==0?a=Vl(d):s!==0?a=Vl(s):l||(l=n&~e,l!==0&&(a=Vl(l)))),a===0?0:t!==0&&t!==a&&(t&i)===0&&(i=a&-a,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:a}function ma(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ib(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yd(){var e=Tu;return Tu<<=1,(Tu&62914560)===0&&(Tu=4194304),e}function Dc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function ha(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cb(e,t,l,n,a,i){var s=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var d=e.entanglements,b=e.expirationTimes,_=e.hiddenUpdates;for(l=s&~l;0<l;){var w=31-gt(l),B=1<<w;d[w]=0,b[w]=-1;var M=_[w];if(M!==null)for(_[w]=null,w=0;w<M.length;w++){var O=M[w];O!==null&&(O.lane&=-536870913)}l&=~B}n!==0&&pd(e,n,0),i!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function pd(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-gt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function bd(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-gt(l),a=1<<n;a&t|e[n]&t&&(e[n]|=t),l&=~a}}function Sd(e,t){var l=t&-t;return l=(l&42)!==0?1:wc(l),(l&(e.suspendedLanes|t))!==0?0:l}function wc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Uc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function xd(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:i0(e.type))}function Ed(e,t){var l=G.p;try{return G.p=e,t()}finally{G.p=l}}var yl=Math.random().toString(36).slice(2),We="__reactFiber$"+yl,ct="__reactProps$"+yl,pn="__reactContainer$"+yl,Hc="__reactEvents$"+yl,ob="__reactListeners$"+yl,rb="__reactHandles$"+yl,Td="__reactResources$"+yl,va="__reactMarker$"+yl;function Bc(e){delete e[We],delete e[ct],delete e[Hc],delete e[ob],delete e[rb]}function bn(e){var t=e[We];if(t)return t;for(var l=e.parentNode;l;){if(t=l[pn]||l[We]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Qv(e);e!==null;){if(l=e[We])return l;e=Qv(e)}return t}e=l,l=e.parentNode}return null}function Sn(e){if(e=e[We]||e[pn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ga(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function xn(e){var t=e[Td];return t||(t=e[Td]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[va]=!0}var Ad=new Set,Nd={};function Ql(e,t){En(e,t),En(e+"Capture",t)}function En(e,t){for(Nd[e]=t,e=0;e<t.length;e++)Ad.add(t[e])}var sb=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]*$"),Cd={},_d={};function fb(e){return Oc.call(_d,e)?!0:Oc.call(Cd,e)?!1:sb.test(e)?_d[e]=!0:(Cd[e]=!0,!1)}function Nu(e,t,l){if(fb(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function Cu(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function Wt(e,t,l,n){if(n===null)e.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+n)}}function Ct(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function db(e,t,l){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(s){l=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lc(e){if(!e._valueTracker){var t=zd(e)?"checked":"value";e._valueTracker=db(e,t,""+e[t])}}function Md(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),n="";return e&&(n=zd(e)?e.checked?"true":"false":e.value),e=n,e!==l?(t.setValue(e),!0):!1}function _u(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var mb=/[\n"\\]/g;function _t(e){return e.replace(mb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function qc(e,t,l,n,a,i,s,d){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ct(t)):e.value!==""+Ct(t)&&(e.value=""+Ct(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?Yc(e,s,Ct(t)):l!=null?Yc(e,s,Ct(l)):n!=null&&e.removeAttribute("value"),a==null&&i!=null&&(e.defaultChecked=!!i),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+Ct(d):e.removeAttribute("name")}function Od(e,t,l,n,a,i,s,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Lc(e);return}l=l!=null?""+Ct(l):"",t=t!=null?""+Ct(t):l,d||t===e.value||(e.value=t),e.defaultValue=t}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=d?e.checked:!!n,e.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Lc(e)}function Yc(e,t,l){t==="number"&&_u(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Tn(e,t,l,n){if(e=e.options,t){t={};for(var a=0;a<l.length;a++)t["$"+l[a]]=!0;for(l=0;l<e.length;l++)a=t.hasOwnProperty("$"+e[l].value),e[l].selected!==a&&(e[l].selected=a),a&&n&&(e[l].defaultSelected=!0)}else{for(l=""+Ct(l),t=null,a=0;a<e.length;a++){if(e[a].value===l){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function jd(e,t,l){if(t!=null&&(t=""+Ct(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Ct(l):""}function Rd(e,t,l,n){if(t==null){if(n!=null){if(l!=null)throw Error(o(92));if(lt(n)){if(1<n.length)throw Error(o(93));n=n[0]}l=n}l==null&&(l=""),t=l}l=Ct(t),e.defaultValue=l,n=e.textContent,n===l&&n!==""&&n!==null&&(e.value=n),Lc(e)}function An(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var hb=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(" "));function Dd(e,t,l){var n=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,l):typeof l!="number"||l===0||hb.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function wd(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var a in t)n=t[a],t.hasOwnProperty(a)&&l[a]!==n&&Dd(e,a,n)}else for(var i in t)t.hasOwnProperty(i)&&Dd(e,i,t[i])}function Gc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vb=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"]]),gb=/^[\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;function zu(e){return gb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ft(){}var Xc=null;function Vc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nn=null,Cn=null;function Ud(e){var t=Sn(e);if(t&&(e=t.stateNode)){var l=e[ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(qc(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+_t(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var n=l[t];if(n!==e&&n.form===e.form){var a=n[ct]||null;if(!a)throw Error(o(90));qc(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<l.length;t++)n=l[t],n.form===e.form&&Md(n)}break e;case"textarea":jd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Tn(e,!!l.multiple,t,!1)}}}var Qc=!1;function Hd(e,t,l){if(Qc)return e(t,l);Qc=!0;try{var n=e(t);return n}finally{if(Qc=!1,(Nn!==null||Cn!==null)&&(vi(),Nn&&(t=Nn,e=Cn,Cn=Nn=null,Ud(t),e)))for(t=0;t<e.length;t++)Ud(e[t])}}function ya(e,t){var l=e.stateNode;if(l===null)return null;var n=l[ct]||null;if(n===null)return null;l=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(o(231,t,typeof l));return l}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zc=!1;if($t)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){Zc=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{Zc=!1}var pl=null,Kc=null,Mu=null;function Bd(){if(Mu)return Mu;var e,t=Kc,l=t.length,n,a="value"in pl?pl.value:pl.textContent,i=a.length;for(e=0;e<l&&t[e]===a[e];e++);var s=l-e;for(n=1;n<=s&&t[l-n]===a[i-n];n++);return Mu=a.slice(e,1<n?1-n:void 0)}function Ou(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ju(){return!0}function Ld(){return!1}function ot(e){function t(l,n,a,i,s){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(l=e[d],this[d]=l?l(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ju:Ld,this.isPropagationStopped=Ld,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ju)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ju)},persist:function(){},isPersistent:ju}),t}var Zl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ru=ot(Zl),ba=T({},Zl,{view:0,detail:0}),yb=ot(ba),Jc,kc,Sa,Du=T({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Sa&&(Sa&&e.type==="mousemove"?(Jc=e.screenX-Sa.screenX,kc=e.screenY-Sa.screenY):kc=Jc=0,Sa=e),Jc)},movementY:function(e){return"movementY"in e?e.movementY:kc}}),qd=ot(Du),pb=T({},Du,{dataTransfer:0}),bb=ot(pb),Sb=T({},ba,{relatedTarget:0}),Wc=ot(Sb),xb=T({},Zl,{animationName:0,elapsedTime:0,pseudoElement:0}),Eb=ot(xb),Tb=T({},Zl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ab=ot(Tb),Nb=T({},Zl,{data:0}),Yd=ot(Nb),Cb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_b={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"},zb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zb[e])?!!t[e]:!1}function Fc(){return Mb}var Ob=T({},ba,{key:function(e){if(e.key){var t=Cb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ou(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?_b[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fc,charCode:function(e){return e.type==="keypress"?Ou(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ou(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jb=ot(Ob),Rb=T({},Du,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gd=ot(Rb),Db=T({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fc}),wb=ot(Db),Ub=T({},Zl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hb=ot(Ub),Bb=T({},Du,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lb=ot(Bb),qb=T({},Zl,{newState:0,oldState:0}),Yb=ot(qb),Gb=[9,13,27,32],$c=$t&&"CompositionEvent"in window,xa=null;$t&&"documentMode"in document&&(xa=document.documentMode);var Xb=$t&&"TextEvent"in window&&!xa,Xd=$t&&(!$c||xa&&8<xa&&11>=xa),Vd=" ",Qd=!1;function Zd(e,t){switch(e){case"keyup":return Gb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _n=!1;function Vb(e,t){switch(e){case"compositionend":return Kd(t);case"keypress":return t.which!==32?null:(Qd=!0,Vd);case"textInput":return e=t.data,e===Vd&&Qd?null:e;default:return null}}function Qb(e,t){if(_n)return e==="compositionend"||!$c&&Zd(e,t)?(e=Bd(),Mu=Kc=pl=null,_n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xd&&t.locale!=="ko"?null:t.data;default:return null}}var Zb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Jd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zb[e.type]:t==="textarea"}function kd(e,t,l,n){Nn?Cn?Cn.push(n):Cn=[n]:Nn=n,t=Ei(t,"onChange"),0<t.length&&(l=new Ru("onChange","change",null,l,n),e.push({event:l,listeners:t}))}var Ea=null,Ta=null;function Kb(e){Ov(e,0)}function wu(e){var t=ga(e);if(Md(t))return e}function Wd(e,t){if(e==="change")return t}var Fd=!1;if($t){var Ic;if($t){var Pc="oninput"in document;if(!Pc){var $d=document.createElement("div");$d.setAttribute("oninput","return;"),Pc=typeof $d.oninput=="function"}Ic=Pc}else Ic=!1;Fd=Ic&&(!document.documentMode||9<document.documentMode)}function Id(){Ea&&(Ea.detachEvent("onpropertychange",Pd),Ta=Ea=null)}function Pd(e){if(e.propertyName==="value"&&wu(Ta)){var t=[];kd(t,Ta,e,Vc(e)),Hd(Kb,t)}}function Jb(e,t,l){e==="focusin"?(Id(),Ea=t,Ta=l,Ea.attachEvent("onpropertychange",Pd)):e==="focusout"&&Id()}function kb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wu(Ta)}function Wb(e,t){if(e==="click")return wu(t)}function Fb(e,t){if(e==="input"||e==="change")return wu(t)}function $b(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yt=typeof Object.is=="function"?Object.is:$b;function Aa(e,t){if(yt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),n=Object.keys(t);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!Oc.call(t,a)||!yt(e[a],t[a]))return!1}return!0}function em(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tm(e,t){var l=em(e);e=0;for(var n;l;){if(l.nodeType===3){if(n=e+l.textContent.length,e<=t&&n>=t)return{node:l,offset:t-e};e=n}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=em(l)}}function lm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=_u(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=_u(e.document)}return t}function eo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ib=$t&&"documentMode"in document&&11>=document.documentMode,zn=null,to=null,Na=null,lo=!1;function am(e,t,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;lo||zn==null||zn!==_u(n)||(n=zn,"selectionStart"in n&&eo(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Na&&Aa(Na,n)||(Na=n,n=Ei(to,"onSelect"),0<n.length&&(t=new Ru("onSelect","select",null,t,l),e.push({event:t,listeners:n}),t.target=zn)))}function Kl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Mn={animationend:Kl("Animation","AnimationEnd"),animationiteration:Kl("Animation","AnimationIteration"),animationstart:Kl("Animation","AnimationStart"),transitionrun:Kl("Transition","TransitionRun"),transitionstart:Kl("Transition","TransitionStart"),transitioncancel:Kl("Transition","TransitionCancel"),transitionend:Kl("Transition","TransitionEnd")},no={},um={};$t&&(um=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);function Jl(e){if(no[e])return no[e];if(!Mn[e])return e;var t=Mn[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in um)return no[e]=t[l];return e}var im=Jl("animationend"),cm=Jl("animationiteration"),om=Jl("animationstart"),Pb=Jl("transitionrun"),e1=Jl("transitionstart"),t1=Jl("transitioncancel"),rm=Jl("transitionend"),sm=new Map,ao="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(" ");ao.push("scrollEnd");function Bt(e,t){sm.set(e,t),Ql(t,[e])}var Uu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},zt=[],On=0,uo=0;function Hu(){for(var e=On,t=uo=On=0;t<e;){var l=zt[t];zt[t++]=null;var n=zt[t];zt[t++]=null;var a=zt[t];zt[t++]=null;var i=zt[t];if(zt[t++]=null,n!==null&&a!==null){var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}i!==0&&fm(l,a,i)}}function Bu(e,t,l,n){zt[On++]=e,zt[On++]=t,zt[On++]=l,zt[On++]=n,uo|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function io(e,t,l,n){return Bu(e,t,l,n),Lu(e)}function kl(e,t){return Bu(e,null,null,t),Lu(e)}function fm(e,t,l){e.lanes|=l;var n=e.alternate;n!==null&&(n.lanes|=l);for(var a=!1,i=e.return;i!==null;)i.childLanes|=l,n=i.alternate,n!==null&&(n.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(a=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,a&&t!==null&&(a=31-gt(l),e=i.hiddenUpdates,n=e[a],n===null?e[a]=[t]:n.push(t),t.lane=l|536870912),i):null}function Lu(e){if(50<Ja)throw Ja=0,gr=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var jn={};function l1(e,t,l,n){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pt(e,t,l,n){return new l1(e,t,l,n)}function co(e){return e=e.prototype,!(!e||!e.isReactComponent)}function It(e,t){var l=e.alternate;return l===null?(l=pt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function dm(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qu(e,t,l,n,a,i){var s=0;if(n=e,typeof e=="function")co(e)&&(s=1);else if(typeof e=="string")s=cS(e,l,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ne:return e=pt(31,l,t,a),e.elementType=ne,e.lanes=i,e;case j:return Wl(l.children,a,i,t);case q:s=8,a|=24;break;case Y:return e=pt(12,l,t,a|2),e.elementType=Y,e.lanes=i,e;case P:return e=pt(13,l,t,a),e.elementType=P,e.lanes=i,e;case oe:return e=pt(19,l,t,a),e.elementType=oe,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k:s=10;break e;case X:s=9;break e;case W:s=11;break e;case V:s=14;break e;case le:s=16,n=null;break e}s=29,l=Error(o(130,e===null?"null":typeof e,"")),n=null}return t=pt(s,l,t,a),t.elementType=e,t.type=n,t.lanes=i,t}function Wl(e,t,l,n){return e=pt(7,e,n,t),e.lanes=l,e}function oo(e,t,l){return e=pt(6,e,null,t),e.lanes=l,e}function mm(e){var t=pt(18,null,null,0);return t.stateNode=e,t}function ro(e,t,l){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var hm=new WeakMap;function Mt(e,t){if(typeof e=="object"&&e!==null){var l=hm.get(e);return l!==void 0?l:(t={value:e,source:t,stack:md(t)},hm.set(e,t),t)}return{value:e,source:t,stack:md(t)}}var Rn=[],Dn=0,Yu=null,Ca=0,Ot=[],jt=0,bl=null,Xt=1,Vt="";function Pt(e,t){Rn[Dn++]=Ca,Rn[Dn++]=Yu,Yu=e,Ca=t}function vm(e,t,l){Ot[jt++]=Xt,Ot[jt++]=Vt,Ot[jt++]=bl,bl=e;var n=Xt;e=Vt;var a=32-gt(n)-1;n&=~(1<<a),l+=1;var i=32-gt(t)+a;if(30<i){var s=a-a%5;i=(n&(1<<s)-1).toString(32),n>>=s,a-=s,Xt=1<<32-gt(t)+a|l<<a|n,Vt=i+e}else Xt=1<<i|l<<a|n,Vt=e}function so(e){e.return!==null&&(Pt(e,1),vm(e,1,0))}function fo(e){for(;e===Yu;)Yu=Rn[--Dn],Rn[Dn]=null,Ca=Rn[--Dn],Rn[Dn]=null;for(;e===bl;)bl=Ot[--jt],Ot[jt]=null,Vt=Ot[--jt],Ot[jt]=null,Xt=Ot[--jt],Ot[jt]=null}function gm(e,t){Ot[jt++]=Xt,Ot[jt++]=Vt,Ot[jt++]=bl,Xt=t.id,Vt=t.overflow,bl=e}var Fe=null,Re=null,he=!1,Sl=null,Rt=!1,mo=Error(o(519));function xl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _a(Mt(t,e)),mo}function ym(e){var t=e.stateNode,l=e.type,n=e.memoizedProps;switch(t[We]=e,t[ct]=n,l){case"dialog":fe("cancel",t),fe("close",t);break;case"iframe":case"object":case"embed":fe("load",t);break;case"video":case"audio":for(l=0;l<Wa.length;l++)fe(Wa[l],t);break;case"source":fe("error",t);break;case"img":case"image":case"link":fe("error",t),fe("load",t);break;case"details":fe("toggle",t);break;case"input":fe("invalid",t),Od(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":fe("invalid",t);break;case"textarea":fe("invalid",t),Rd(t,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||n.suppressHydrationWarning===!0||wv(t.textContent,l)?(n.popover!=null&&(fe("beforetoggle",t),fe("toggle",t)),n.onScroll!=null&&fe("scroll",t),n.onScrollEnd!=null&&fe("scrollend",t),n.onClick!=null&&(t.onclick=Ft),t=!0):t=!1,t||xl(e,!0)}function pm(e){for(Fe=e.return;Fe;)switch(Fe.tag){case 5:case 31:case 13:Rt=!1;return;case 27:case 3:Rt=!0;return;default:Fe=Fe.return}}function wn(e){if(e!==Fe)return!1;if(!he)return pm(e),he=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||jr(e.type,e.memoizedProps)),l=!l),l&&Re&&xl(e),pm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Re=Vv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Re=Vv(e)}else t===27?(t=Re,Ul(e.type)?(e=Hr,Hr=null,Re=e):Re=t):Re=Fe?wt(e.stateNode.nextSibling):null;return!0}function Fl(){Re=Fe=null,he=!1}function ho(){var e=Sl;return e!==null&&(dt===null?dt=e:dt.push.apply(dt,e),Sl=null),e}function _a(e){Sl===null?Sl=[e]:Sl.push(e)}var vo=x(null),$l=null,el=null;function El(e,t,l){Q(vo,t._currentValue),t._currentValue=l}function tl(e){e._currentValue=vo.current,L(vo)}function go(e,t,l){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===l)break;e=e.return}}function yo(e,t,l,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var i=a.dependencies;if(i!==null){var s=a.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=a;for(var b=0;b<t.length;b++)if(d.context===t[b]){i.lanes|=l,d=i.alternate,d!==null&&(d.lanes|=l),go(i.return,l,e),n||(s=null);break e}i=d.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(o(341));s.lanes|=l,i=s.alternate,i!==null&&(i.lanes|=l),go(s,l,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Un(e,t,l,n){e=null;for(var a=t,i=!1;a!==null;){if(!i){if((a.flags&524288)!==0)i=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var d=a.type;yt(a.pendingProps.value,s.value)||(e!==null?e.push(d):e=[d])}}else if(a===Te.current){if(s=a.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e!==null?e.push(eu):e=[eu])}a=a.return}e!==null&&yo(t,e,l,n),t.flags|=262144}function Gu(e){for(e=e.firstContext;e!==null;){if(!yt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Il(e){$l=e,el=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $e(e){return bm($l,e)}function Xu(e,t){return $l===null&&Il(e),bm(e,t)}function bm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},el===null){if(e===null)throw Error(o(308));el=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else el=el.next=t;return l}var n1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},a1=u.unstable_scheduleCallback,u1=u.unstable_NormalPriority,Xe={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function po(){return{controller:new n1,data:new Map,refCount:0}}function za(e){e.refCount--,e.refCount===0&&a1(u1,function(){e.controller.abort()})}var Ma=null,bo=0,Hn=0,Bn=null;function i1(e,t){if(Ma===null){var l=Ma=[];bo=0,Hn=Er(),Bn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return bo++,t.then(Sm,Sm),t}function Sm(){if(--bo===0&&Ma!==null){Bn!==null&&(Bn.status="fulfilled");var e=Ma;Ma=null,Hn=0,Bn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function c1(e,t){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var a=0;a<l.length;a++)(0,l[a])(t)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var xm=R.S;R.S=function(e,t){av=ht(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&i1(e,t),xm!==null&&xm(e,t)};var Pl=x(null);function So(){var e=Pl.current;return e!==null?e:Me.pooledCache}function Vu(e,t){t===null?Q(Pl,Pl.current):Q(Pl,t.pool)}function Em(){var e=So();return e===null?null:{parent:Xe._currentValue,pool:e}}var Ln=Error(o(460)),xo=Error(o(474)),Qu=Error(o(542)),Zu={then:function(){}};function Tm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Am(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Ft,Ft),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Cm(e),e;default:if(typeof t.status=="string")t.then(Ft,Ft);else{if(e=Me,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var a=t;a.status="fulfilled",a.value=n}},function(n){if(t.status==="pending"){var a=t;a.status="rejected",a.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Cm(e),e}throw tn=t,Ln}}function en(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(tn=l,Ln):l}}var tn=null;function Nm(){if(tn===null)throw Error(o(459));var e=tn;return tn=null,e}function Cm(e){if(e===Ln||e===Qu)throw Error(o(483))}var qn=null,Oa=0;function Ku(e){var t=Oa;return Oa+=1,qn===null&&(qn=[]),Am(qn,e,t)}function ja(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ju(e,t){throw t.$$typeof===z?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function _m(e){function t(N,E){if(e){var C=N.deletions;C===null?(N.deletions=[E],N.flags|=16):C.push(E)}}function l(N,E){if(!e)return null;for(;E!==null;)t(N,E),E=E.sibling;return null}function n(N){for(var E=new Map;N!==null;)N.key!==null?E.set(N.key,N):E.set(N.index,N),N=N.sibling;return E}function a(N,E){return N=It(N,E),N.index=0,N.sibling=null,N}function i(N,E,C){return N.index=C,e?(C=N.alternate,C!==null?(C=C.index,C<E?(N.flags|=67108866,E):C):(N.flags|=67108866,E)):(N.flags|=1048576,E)}function s(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function d(N,E,C,U){return E===null||E.tag!==6?(E=oo(C,N.mode,U),E.return=N,E):(E=a(E,C),E.return=N,E)}function b(N,E,C,U){var F=C.type;return F===j?w(N,E,C.props.children,U,C.key):E!==null&&(E.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===le&&en(F)===E.type)?(E=a(E,C.props),ja(E,C),E.return=N,E):(E=qu(C.type,C.key,C.props,null,N.mode,U),ja(E,C),E.return=N,E)}function _(N,E,C,U){return E===null||E.tag!==4||E.stateNode.containerInfo!==C.containerInfo||E.stateNode.implementation!==C.implementation?(E=ro(C,N.mode,U),E.return=N,E):(E=a(E,C.children||[]),E.return=N,E)}function w(N,E,C,U,F){return E===null||E.tag!==7?(E=Wl(C,N.mode,U,F),E.return=N,E):(E=a(E,C),E.return=N,E)}function B(N,E,C){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=oo(""+E,N.mode,C),E.return=N,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case D:return C=qu(E.type,E.key,E.props,null,N.mode,C),ja(C,E),C.return=N,C;case H:return E=ro(E,N.mode,C),E.return=N,E;case le:return E=en(E),B(N,E,C)}if(lt(E)||ee(E))return E=Wl(E,N.mode,C,null),E.return=N,E;if(typeof E.then=="function")return B(N,Ku(E),C);if(E.$$typeof===k)return B(N,Xu(N,E),C);Ju(N,E)}return null}function M(N,E,C,U){var F=E!==null?E.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return F!==null?null:d(N,E,""+C,U);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case D:return C.key===F?b(N,E,C,U):null;case H:return C.key===F?_(N,E,C,U):null;case le:return C=en(C),M(N,E,C,U)}if(lt(C)||ee(C))return F!==null?null:w(N,E,C,U,null);if(typeof C.then=="function")return M(N,E,Ku(C),U);if(C.$$typeof===k)return M(N,E,Xu(N,C),U);Ju(N,C)}return null}function O(N,E,C,U,F){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return N=N.get(C)||null,d(E,N,""+U,F);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case D:return N=N.get(U.key===null?C:U.key)||null,b(E,N,U,F);case H:return N=N.get(U.key===null?C:U.key)||null,_(E,N,U,F);case le:return U=en(U),O(N,E,C,U,F)}if(lt(U)||ee(U))return N=N.get(C)||null,w(E,N,U,F,null);if(typeof U.then=="function")return O(N,E,C,Ku(U),F);if(U.$$typeof===k)return O(N,E,C,Xu(E,U),F);Ju(E,U)}return null}function Z(N,E,C,U){for(var F=null,ye=null,J=E,ce=E=0,me=null;J!==null&&ce<C.length;ce++){J.index>ce?(me=J,J=null):me=J.sibling;var pe=M(N,J,C[ce],U);if(pe===null){J===null&&(J=me);break}e&&J&&pe.alternate===null&&t(N,J),E=i(pe,E,ce),ye===null?F=pe:ye.sibling=pe,ye=pe,J=me}if(ce===C.length)return l(N,J),he&&Pt(N,ce),F;if(J===null){for(;ce<C.length;ce++)J=B(N,C[ce],U),J!==null&&(E=i(J,E,ce),ye===null?F=J:ye.sibling=J,ye=J);return he&&Pt(N,ce),F}for(J=n(J);ce<C.length;ce++)me=O(J,N,ce,C[ce],U),me!==null&&(e&&me.alternate!==null&&J.delete(me.key===null?ce:me.key),E=i(me,E,ce),ye===null?F=me:ye.sibling=me,ye=me);return e&&J.forEach(function(Yl){return t(N,Yl)}),he&&Pt(N,ce),F}function I(N,E,C,U){if(C==null)throw Error(o(151));for(var F=null,ye=null,J=E,ce=E=0,me=null,pe=C.next();J!==null&&!pe.done;ce++,pe=C.next()){J.index>ce?(me=J,J=null):me=J.sibling;var Yl=M(N,J,pe.value,U);if(Yl===null){J===null&&(J=me);break}e&&J&&Yl.alternate===null&&t(N,J),E=i(Yl,E,ce),ye===null?F=Yl:ye.sibling=Yl,ye=Yl,J=me}if(pe.done)return l(N,J),he&&Pt(N,ce),F;if(J===null){for(;!pe.done;ce++,pe=C.next())pe=B(N,pe.value,U),pe!==null&&(E=i(pe,E,ce),ye===null?F=pe:ye.sibling=pe,ye=pe);return he&&Pt(N,ce),F}for(J=n(J);!pe.done;ce++,pe=C.next())pe=O(J,N,ce,pe.value,U),pe!==null&&(e&&pe.alternate!==null&&J.delete(pe.key===null?ce:pe.key),E=i(pe,E,ce),ye===null?F=pe:ye.sibling=pe,ye=pe);return e&&J.forEach(function(pS){return t(N,pS)}),he&&Pt(N,ce),F}function ze(N,E,C,U){if(typeof C=="object"&&C!==null&&C.type===j&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case D:e:{for(var F=C.key;E!==null;){if(E.key===F){if(F=C.type,F===j){if(E.tag===7){l(N,E.sibling),U=a(E,C.props.children),U.return=N,N=U;break e}}else if(E.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===le&&en(F)===E.type){l(N,E.sibling),U=a(E,C.props),ja(U,C),U.return=N,N=U;break e}l(N,E);break}else t(N,E);E=E.sibling}C.type===j?(U=Wl(C.props.children,N.mode,U,C.key),U.return=N,N=U):(U=qu(C.type,C.key,C.props,null,N.mode,U),ja(U,C),U.return=N,N=U)}return s(N);case H:e:{for(F=C.key;E!==null;){if(E.key===F)if(E.tag===4&&E.stateNode.containerInfo===C.containerInfo&&E.stateNode.implementation===C.implementation){l(N,E.sibling),U=a(E,C.children||[]),U.return=N,N=U;break e}else{l(N,E);break}else t(N,E);E=E.sibling}U=ro(C,N.mode,U),U.return=N,N=U}return s(N);case le:return C=en(C),ze(N,E,C,U)}if(lt(C))return Z(N,E,C,U);if(ee(C)){if(F=ee(C),typeof F!="function")throw Error(o(150));return C=F.call(C),I(N,E,C,U)}if(typeof C.then=="function")return ze(N,E,Ku(C),U);if(C.$$typeof===k)return ze(N,E,Xu(N,C),U);Ju(N,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,E!==null&&E.tag===6?(l(N,E.sibling),U=a(E,C),U.return=N,N=U):(l(N,E),U=oo(C,N.mode,U),U.return=N,N=U),s(N)):l(N,E)}return function(N,E,C,U){try{Oa=0;var F=ze(N,E,C,U);return qn=null,F}catch(J){if(J===Ln||J===Qu)throw J;var ye=pt(29,J,null,N.mode);return ye.lanes=U,ye.return=N,ye}finally{}}}var ln=_m(!0),zm=_m(!1),Tl=!1;function Eo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function To(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Al(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Nl(e,t,l){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Se&2)!==0){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=Lu(e),fm(e,null,l),t}return Bu(e,n,t,l),Lu(e)}function Ra(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,bd(e,l)}}function Ao(e,t){var l=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?a=i=s:i=i.next=s,l=l.next}while(l!==null);i===null?a=i=t:i=i.next=t}else a=i=t;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var No=!1;function Da(){if(No){var e=Bn;if(e!==null)throw e}}function wa(e,t,l,n){No=!1;var a=e.updateQueue;Tl=!1;var i=a.firstBaseUpdate,s=a.lastBaseUpdate,d=a.shared.pending;if(d!==null){a.shared.pending=null;var b=d,_=b.next;b.next=null,s===null?i=_:s.next=_,s=b;var w=e.alternate;w!==null&&(w=w.updateQueue,d=w.lastBaseUpdate,d!==s&&(d===null?w.firstBaseUpdate=_:d.next=_,w.lastBaseUpdate=b))}if(i!==null){var B=a.baseState;s=0,w=_=b=null,d=i;do{var M=d.lane&-536870913,O=M!==d.lane;if(O?(de&M)===M:(n&M)===M){M!==0&&M===Hn&&(No=!0),w!==null&&(w=w.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var Z=e,I=d;M=t;var ze=l;switch(I.tag){case 1:if(Z=I.payload,typeof Z=="function"){B=Z.call(ze,B,M);break e}B=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=I.payload,M=typeof Z=="function"?Z.call(ze,B,M):Z,M==null)break e;B=T({},B,M);break e;case 2:Tl=!0}}M=d.callback,M!==null&&(e.flags|=64,O&&(e.flags|=8192),O=a.callbacks,O===null?a.callbacks=[M]:O.push(M))}else O={lane:M,tag:d.tag,payload:d.payload,callback:d.callback,next:null},w===null?(_=w=O,b=B):w=w.next=O,s|=M;if(d=d.next,d===null){if(d=a.shared.pending,d===null)break;O=d,d=O.next,O.next=null,a.lastBaseUpdate=O,a.shared.pending=null}}while(!0);w===null&&(b=B),a.baseState=b,a.firstBaseUpdate=_,a.lastBaseUpdate=w,i===null&&(a.shared.lanes=0),Ol|=s,e.lanes=s,e.memoizedState=B}}function Mm(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Om(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Mm(l[e],t)}var Yn=x(null),ku=x(0);function jm(e,t){e=sl,Q(ku,e),Q(Yn,t),sl=e|t.baseLanes}function Co(){Q(ku,sl),Q(Yn,Yn.current)}function _o(){sl=ku.current,L(Yn),L(ku)}var bt=x(null),Dt=null;function Cl(e){var t=e.alternate;Q(qe,qe.current&1),Q(bt,e),Dt===null&&(t===null||Yn.current!==null||t.memoizedState!==null)&&(Dt=e)}function zo(e){Q(qe,qe.current),Q(bt,e),Dt===null&&(Dt=e)}function Rm(e){e.tag===22?(Q(qe,qe.current),Q(bt,e),Dt===null&&(Dt=e)):_l()}function _l(){Q(qe,qe.current),Q(bt,bt.current)}function St(e){L(bt),Dt===e&&(Dt=null),L(qe)}var qe=x(0);function Wu(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||wr(l)||Ur(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ll=0,ue=null,Ce=null,Ve=null,Fu=!1,Gn=!1,nn=!1,$u=0,Ua=0,Xn=null,o1=0;function He(){throw Error(o(321))}function Mo(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!yt(e[l],t[l]))return!1;return!0}function Oo(e,t,l,n,a,i){return ll=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?vh:Zo,nn=!1,i=l(n,a),nn=!1,Gn&&(i=wm(t,l,n,a)),Dm(e),i}function Dm(e){R.H=La;var t=Ce!==null&&Ce.next!==null;if(ll=0,Ve=Ce=ue=null,Fu=!1,Ua=0,Xn=null,t)throw Error(o(300));e===null||Qe||(e=e.dependencies,e!==null&&Gu(e)&&(Qe=!0))}function wm(e,t,l,n){ue=e;var a=0;do{if(Gn&&(Xn=null),Ua=0,Gn=!1,25<=a)throw Error(o(301));if(a+=1,Ve=Ce=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}R.H=gh,i=t(l,n)}while(Gn);return i}function r1(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?Ha(t):t,e=e.useState()[0],(Ce!==null?Ce.memoizedState:null)!==e&&(ue.flags|=1024),t}function jo(){var e=$u!==0;return $u=0,e}function Ro(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Do(e){if(Fu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Fu=!1}ll=0,Ve=Ce=ue=null,Gn=!1,Ua=$u=0,Xn=null}function it(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ve===null?ue.memoizedState=Ve=e:Ve=Ve.next=e,Ve}function Ye(){if(Ce===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Ve===null?ue.memoizedState:Ve.next;if(t!==null)Ve=t,Ce=e;else{if(e===null)throw ue.alternate===null?Error(o(467)):Error(o(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Ve===null?ue.memoizedState=Ve=e:Ve=Ve.next=e}return Ve}function Iu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ha(e){var t=Ua;return Ua+=1,Xn===null&&(Xn=[]),e=Am(Xn,e,t),t=ue,(Ve===null?t.memoizedState:Ve.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?vh:Zo),e}function Pu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ha(e);if(e.$$typeof===k)return $e(e)}throw Error(o(438,String(e)))}function wo(e){var t=null,l=ue.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var n=ue.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(a){return a.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Iu(),ue.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),n=0;n<e;n++)l[n]=be;return t.index++,l}function nl(e,t){return typeof t=="function"?t(e):t}function ei(e){var t=Ye();return Uo(t,Ce,e)}function Uo(e,t,l){var n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=l;var a=e.baseQueue,i=n.pending;if(i!==null){if(a!==null){var s=a.next;a.next=i.next,i.next=s}t.baseQueue=a=i,n.pending=null}if(i=e.baseState,a===null)e.memoizedState=i;else{t=a.next;var d=s=null,b=null,_=t,w=!1;do{var B=_.lane&-536870913;if(B!==_.lane?(de&B)===B:(ll&B)===B){var M=_.revertLane;if(M===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),B===Hn&&(w=!0);else if((ll&M)===M){_=_.next,M===Hn&&(w=!0);continue}else B={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},b===null?(d=b=B,s=i):b=b.next=B,ue.lanes|=M,Ol|=M;B=_.action,nn&&l(i,B),i=_.hasEagerState?_.eagerState:l(i,B)}else M={lane:B,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},b===null?(d=b=M,s=i):b=b.next=M,ue.lanes|=B,Ol|=B;_=_.next}while(_!==null&&_!==t);if(b===null?s=i:b.next=d,!yt(i,e.memoizedState)&&(Qe=!0,w&&(l=Bn,l!==null)))throw l;e.memoizedState=i,e.baseState=s,e.baseQueue=b,n.lastRenderedState=i}return a===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Ho(e){var t=Ye(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var n=l.dispatch,a=l.pending,i=t.memoizedState;if(a!==null){l.pending=null;var s=a=a.next;do i=e(i,s.action),s=s.next;while(s!==a);yt(i,t.memoizedState)||(Qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,n]}function Um(e,t,l){var n=ue,a=Ye(),i=he;if(i){if(l===void 0)throw Error(o(407));l=l()}else l=t();var s=!yt((Ce||a).memoizedState,l);if(s&&(a.memoizedState=l,Qe=!0),a=a.queue,qo(Lm.bind(null,n,a,e),[e]),a.getSnapshot!==t||s||Ve!==null&&Ve.memoizedState.tag&1){if(n.flags|=2048,Vn(9,{destroy:void 0},Bm.bind(null,n,a,l,t),null),Me===null)throw Error(o(349));i||(ll&127)!==0||Hm(n,t,l)}return l}function Hm(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ue.updateQueue,t===null?(t=Iu(),ue.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Bm(e,t,l,n){t.value=l,t.getSnapshot=n,qm(t)&&Ym(e)}function Lm(e,t,l){return l(function(){qm(t)&&Ym(e)})}function qm(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!yt(e,l)}catch{return!0}}function Ym(e){var t=kl(e,2);t!==null&&mt(t,e,2)}function Bo(e){var t=it();if(typeof e=="function"){var l=e;if(e=l(),nn){gl(!0);try{l()}finally{gl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:e},t}function Gm(e,t,l,n){return e.baseState=l,Uo(e,Ce,typeof n=="function"?n:nl)}function s1(e,t,l,n,a){if(ni(e))throw Error(o(485));if(e=t.action,e!==null){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};R.T!==null?l(!0):i.isTransition=!1,n(i),l=t.pending,l===null?(i.next=t.pending=i,Xm(t,i)):(i.next=l.next,t.pending=l.next=i)}}function Xm(e,t){var l=t.action,n=t.payload,a=e.state;if(t.isTransition){var i=R.T,s={};R.T=s;try{var d=l(a,n),b=R.S;b!==null&&b(s,d),Vm(e,t,d)}catch(_){Lo(e,t,_)}finally{i!==null&&s.types!==null&&(i.types=s.types),R.T=i}}else try{i=l(a,n),Vm(e,t,i)}catch(_){Lo(e,t,_)}}function Vm(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Qm(e,t,n)},function(n){return Lo(e,t,n)}):Qm(e,t,l)}function Qm(e,t,l){t.status="fulfilled",t.value=l,Zm(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Xm(e,l)))}function Lo(e,t,l){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=l,Zm(t),t=t.next;while(t!==n)}e.action=null}function Zm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Km(e,t){return t}function Jm(e,t){if(he){var l=Me.formState;if(l!==null){e:{var n=ue;if(he){if(Re){t:{for(var a=Re,i=Rt;a.nodeType!==8;){if(!i){a=null;break t}if(a=wt(a.nextSibling),a===null){a=null;break t}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){Re=wt(a.nextSibling),n=a.data==="F!";break e}}xl(n)}n=!1}n&&(t=l[0])}}return l=it(),l.memoizedState=l.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Km,lastRenderedState:t},l.queue=n,l=dh.bind(null,ue,n),n.dispatch=l,n=Bo(!1),i=Qo.bind(null,ue,!1,n.queue),n=it(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,l=s1.bind(null,ue,a,i,l),a.dispatch=l,n.memoizedState=e,[t,l,!1]}function km(e){var t=Ye();return Wm(t,Ce,e)}function Wm(e,t,l){if(t=Uo(e,t,Km)[0],e=ei(nl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Ha(t)}catch(s){throw s===Ln?Qu:s}else n=t;t=Ye();var a=t.queue,i=a.dispatch;return l!==t.memoizedState&&(ue.flags|=2048,Vn(9,{destroy:void 0},f1.bind(null,a,l),null)),[n,i,e]}function f1(e,t){e.action=t}function Fm(e){var t=Ye(),l=Ce;if(l!==null)return Wm(t,l,e);Ye(),t=t.memoizedState,l=Ye();var n=l.queue.dispatch;return l.memoizedState=e,[t,n,!1]}function Vn(e,t,l,n){return e={tag:e,create:l,deps:n,inst:t,next:null},t=ue.updateQueue,t===null&&(t=Iu(),ue.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(n=l.next,l.next=e,e.next=n,t.lastEffect=e),e}function $m(){return Ye().memoizedState}function ti(e,t,l,n){var a=it();ue.flags|=e,a.memoizedState=Vn(1|t,{destroy:void 0},l,n===void 0?null:n)}function li(e,t,l,n){var a=Ye();n=n===void 0?null:n;var i=a.memoizedState.inst;Ce!==null&&n!==null&&Mo(n,Ce.memoizedState.deps)?a.memoizedState=Vn(t,i,l,n):(ue.flags|=e,a.memoizedState=Vn(1|t,i,l,n))}function Im(e,t){ti(8390656,8,e,t)}function qo(e,t){li(2048,8,e,t)}function d1(e){ue.flags|=4;var t=ue.updateQueue;if(t===null)t=Iu(),ue.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Pm(e){var t=Ye().memoizedState;return d1({ref:t,nextImpl:e}),function(){if((Se&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function eh(e,t){return li(4,2,e,t)}function th(e,t){return li(4,4,e,t)}function lh(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function nh(e,t,l){l=l!=null?l.concat([e]):null,li(4,4,lh.bind(null,t,e),l)}function Yo(){}function ah(e,t){var l=Ye();t=t===void 0?null:t;var n=l.memoizedState;return t!==null&&Mo(t,n[1])?n[0]:(l.memoizedState=[e,t],e)}function uh(e,t){var l=Ye();t=t===void 0?null:t;var n=l.memoizedState;if(t!==null&&Mo(t,n[1]))return n[0];if(n=e(),nn){gl(!0);try{e()}finally{gl(!1)}}return l.memoizedState=[n,t],n}function Go(e,t,l){return l===void 0||(ll&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=iv(),ue.lanes|=e,Ol|=e,l)}function ih(e,t,l,n){return yt(l,t)?l:Yn.current!==null?(e=Go(e,l,n),yt(e,t)||(Qe=!0),e):(ll&42)===0||(ll&1073741824)!==0&&(de&261930)===0?(Qe=!0,e.memoizedState=l):(e=iv(),ue.lanes|=e,Ol|=e,t)}function ch(e,t,l,n,a){var i=G.p;G.p=i!==0&&8>i?i:8;var s=R.T,d={};R.T=d,Qo(e,!1,t,l);try{var b=a(),_=R.S;if(_!==null&&_(d,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var w=c1(b,n);Ba(e,t,w,Tt(e))}else Ba(e,t,n,Tt(e))}catch(B){Ba(e,t,{then:function(){},status:"rejected",reason:B},Tt())}finally{G.p=i,s!==null&&d.types!==null&&(s.types=d.types),R.T=s}}function m1(){}function Xo(e,t,l,n){if(e.tag!==5)throw Error(o(476));var a=oh(e).queue;ch(e,a,t,$,l===null?m1:function(){return rh(e),l(n)})}function oh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:$},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rh(e){var t=oh(e);t.next===null&&(t=e.alternate.memoizedState),Ba(e,t.next.queue,{},Tt())}function Vo(){return $e(eu)}function sh(){return Ye().memoizedState}function fh(){return Ye().memoizedState}function h1(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Tt();e=Al(l);var n=Nl(t,e,l);n!==null&&(mt(n,t,l),Ra(n,t,l)),t={cache:po()},e.payload=t;return}t=t.return}}function v1(e,t,l){var n=Tt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ni(e)?mh(t,l):(l=io(e,t,l,n),l!==null&&(mt(l,e,n),hh(l,t,n)))}function dh(e,t,l){var n=Tt();Ba(e,t,l,n)}function Ba(e,t,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(ni(e))mh(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,d=i(s,l);if(a.hasEagerState=!0,a.eagerState=d,yt(d,s))return Bu(e,t,a,0),Me===null&&Hu(),!1}catch{}finally{}if(l=io(e,t,a,n),l!==null)return mt(l,e,n),hh(l,t,n),!0}return!1}function Qo(e,t,l,n){if(n={lane:2,revertLane:Er(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ni(e)){if(t)throw Error(o(479))}else t=io(e,l,n,2),t!==null&&mt(t,e,2)}function ni(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function mh(e,t){Gn=Fu=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function hh(e,t,l){if((l&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,bd(e,l)}}var La={readContext:$e,use:Pu,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He};La.useEffectEvent=He;var vh={readContext:$e,use:Pu,useCallback:function(e,t){return it().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:Im,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ti(4194308,4,lh.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ti(4194308,4,e,t)},useInsertionEffect:function(e,t){ti(4,2,e,t)},useMemo:function(e,t){var l=it();t=t===void 0?null:t;var n=e();if(nn){gl(!0);try{e()}finally{gl(!1)}}return l.memoizedState=[n,t],n},useReducer:function(e,t,l){var n=it();if(l!==void 0){var a=l(t);if(nn){gl(!0);try{l(t)}finally{gl(!1)}}}else a=t;return n.memoizedState=n.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},n.queue=e,e=e.dispatch=v1.bind(null,ue,e),[n.memoizedState,e]},useRef:function(e){var t=it();return e={current:e},t.memoizedState=e},useState:function(e){e=Bo(e);var t=e.queue,l=dh.bind(null,ue,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Yo,useDeferredValue:function(e,t){var l=it();return Go(l,e,t)},useTransition:function(){var e=Bo(!1);return e=ch.bind(null,ue,e.queue,!0,!1),it().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var n=ue,a=it();if(he){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),Me===null)throw Error(o(349));(de&127)!==0||Hm(n,t,l)}a.memoizedState=l;var i={value:l,getSnapshot:t};return a.queue=i,Im(Lm.bind(null,n,i,e),[e]),n.flags|=2048,Vn(9,{destroy:void 0},Bm.bind(null,n,i,l,t),null),l},useId:function(){var e=it(),t=Me.identifierPrefix;if(he){var l=Vt,n=Xt;l=(n&~(1<<32-gt(n)-1)).toString(32)+l,t="_"+t+"R_"+l,l=$u++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=o1++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Vo,useFormState:Jm,useActionState:Jm,useOptimistic:function(e){var t=it();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Qo.bind(null,ue,!0,l),l.dispatch=t,[e,t]},useMemoCache:wo,useCacheRefresh:function(){return it().memoizedState=h1.bind(null,ue)},useEffectEvent:function(e){var t=it(),l={impl:e};return t.memoizedState=l,function(){if((Se&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},Zo={readContext:$e,use:Pu,useCallback:ah,useContext:$e,useEffect:qo,useImperativeHandle:nh,useInsertionEffect:eh,useLayoutEffect:th,useMemo:uh,useReducer:ei,useRef:$m,useState:function(){return ei(nl)},useDebugValue:Yo,useDeferredValue:function(e,t){var l=Ye();return ih(l,Ce.memoizedState,e,t)},useTransition:function(){var e=ei(nl)[0],t=Ye().memoizedState;return[typeof e=="boolean"?e:Ha(e),t]},useSyncExternalStore:Um,useId:sh,useHostTransitionStatus:Vo,useFormState:km,useActionState:km,useOptimistic:function(e,t){var l=Ye();return Gm(l,Ce,e,t)},useMemoCache:wo,useCacheRefresh:fh};Zo.useEffectEvent=Pm;var gh={readContext:$e,use:Pu,useCallback:ah,useContext:$e,useEffect:qo,useImperativeHandle:nh,useInsertionEffect:eh,useLayoutEffect:th,useMemo:uh,useReducer:Ho,useRef:$m,useState:function(){return Ho(nl)},useDebugValue:Yo,useDeferredValue:function(e,t){var l=Ye();return Ce===null?Go(l,e,t):ih(l,Ce.memoizedState,e,t)},useTransition:function(){var e=Ho(nl)[0],t=Ye().memoizedState;return[typeof e=="boolean"?e:Ha(e),t]},useSyncExternalStore:Um,useId:sh,useHostTransitionStatus:Vo,useFormState:Fm,useActionState:Fm,useOptimistic:function(e,t){var l=Ye();return Ce!==null?Gm(l,Ce,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:wo,useCacheRefresh:fh};gh.useEffectEvent=Pm;function Ko(e,t,l,n){t=e.memoizedState,l=l(n,t),l=l==null?t:T({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Jo={enqueueSetState:function(e,t,l){e=e._reactInternals;var n=Tt(),a=Al(n);a.payload=t,l!=null&&(a.callback=l),t=Nl(e,a,n),t!==null&&(mt(t,e,n),Ra(t,e,n))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var n=Tt(),a=Al(n);a.tag=1,a.payload=t,l!=null&&(a.callback=l),t=Nl(e,a,n),t!==null&&(mt(t,e,n),Ra(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Tt(),n=Al(l);n.tag=2,t!=null&&(n.callback=t),t=Nl(e,n,l),t!==null&&(mt(t,e,l),Ra(t,e,l))}};function yh(e,t,l,n,a,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,s):t.prototype&&t.prototype.isPureReactComponent?!Aa(l,n)||!Aa(a,i):!0}function ph(e,t,l,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,n),t.state!==e&&Jo.enqueueReplaceState(t,t.state,null)}function an(e,t){var l=t;if("ref"in t){l={};for(var n in t)n!=="ref"&&(l[n]=t[n])}if(e=e.defaultProps){l===t&&(l=T({},l));for(var a in e)l[a]===void 0&&(l[a]=e[a])}return l}function bh(e){Uu(e)}function Sh(e){console.error(e)}function xh(e){Uu(e)}function ai(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Eh(e,t,l){try{var n=e.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function ko(e,t,l){return l=Al(l),l.tag=3,l.payload={element:null},l.callback=function(){ai(e,t)},l}function Th(e){return e=Al(e),e.tag=3,e}function Ah(e,t,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var i=n.value;e.payload=function(){return a(i)},e.callback=function(){Eh(t,l,n)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){Eh(t,l,n),typeof a!="function"&&(jl===null?jl=new Set([this]):jl.add(this));var d=n.stack;this.componentDidCatch(n.value,{componentStack:d!==null?d:""})})}function g1(e,t,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=l.alternate,t!==null&&Un(t,l,a,!0),l=bt.current,l!==null){switch(l.tag){case 31:case 13:return Dt===null?gi():l.alternate===null&&Be===0&&(Be=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Zu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([n]):t.add(n),br(e,n,a)),!1;case 22:return l.flags|=65536,n===Zu?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([n]):l.add(n)),br(e,n,a)),!1}throw Error(o(435,l.tag))}return br(e,n,a),gi(),!1}if(he)return t=bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==mo&&(e=Error(o(422),{cause:n}),_a(Mt(e,l)))):(n!==mo&&(t=Error(o(423),{cause:n}),_a(Mt(t,l))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=Mt(n,l),a=ko(e.stateNode,n,a),Ao(e,a),Be!==4&&(Be=2)),!1;var i=Error(o(520),{cause:n});if(i=Mt(i,l),Ka===null?Ka=[i]:Ka.push(i),Be!==4&&(Be=2),t===null)return!0;n=Mt(n,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=a&-a,l.lanes|=e,e=ko(l.stateNode,n,e),Ao(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(jl===null||!jl.has(i))))return l.flags|=65536,a&=-a,l.lanes|=a,a=Th(a),Ah(a,e,l,n),Ao(l,a),!1}l=l.return}while(l!==null);return!1}var Wo=Error(o(461)),Qe=!1;function Ie(e,t,l,n){t.child=e===null?zm(t,null,l,n):ln(t,e.child,l,n)}function Nh(e,t,l,n,a){l=l.render;var i=t.ref;if("ref"in n){var s={};for(var d in n)d!=="ref"&&(s[d]=n[d])}else s=n;return Il(t),n=Oo(e,t,l,s,i,a),d=jo(),e!==null&&!Qe?(Ro(e,t,a),al(e,t,a)):(he&&d&&so(t),t.flags|=1,Ie(e,t,n,a),t.child)}function Ch(e,t,l,n,a){if(e===null){var i=l.type;return typeof i=="function"&&!co(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,_h(e,t,i,n,a)):(e=qu(l.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!nr(e,a)){var s=i.memoizedProps;if(l=l.compare,l=l!==null?l:Aa,l(s,n)&&e.ref===t.ref)return al(e,t,a)}return t.flags|=1,e=It(i,n),e.ref=t.ref,e.return=t,t.child=e}function _h(e,t,l,n,a){if(e!==null){var i=e.memoizedProps;if(Aa(i,n)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=n=i,nr(e,a))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,al(e,t,a)}return Fo(e,t,l,n,a)}function zh(e,t,l,n){var a=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,e!==null){for(n=t.child=e.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~i}else n=0,t.child=null;return Mh(e,t,i,l,n)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Vu(t,i!==null?i.cachePool:null),i!==null?jm(t,i):Co(),Rm(t);else return n=t.lanes=536870912,Mh(e,t,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Vu(t,i.cachePool),jm(t,i),_l(),t.memoizedState=null):(e!==null&&Vu(t,null),Co(),_l());return Ie(e,t,a,l),t.child}function qa(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Mh(e,t,l,n,a){var i=So();return i=i===null?null:{parent:Xe._currentValue,pool:i},t.memoizedState={baseLanes:l,cachePool:i},e!==null&&Vu(t,null),Co(),Rm(t),e!==null&&Un(e,t,n,!0),t.childLanes=a,null}function ui(e,t){return t=ci({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Oh(e,t,l){return ln(t,e.child,null,l),e=ui(t,t.pendingProps),e.flags|=2,St(t),t.memoizedState=null,e}function y1(e,t,l){var n=t.pendingProps,a=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(he){if(n.mode==="hidden")return e=ui(t,n),t.lanes=536870912,qa(null,e);if(zo(t),(e=Re)?(e=Xv(e,Rt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bl!==null?{id:Xt,overflow:Vt}:null,retryLane:536870912,hydrationErrors:null},l=mm(e),l.return=t,t.child=l,Fe=t,Re=null)):e=null,e===null)throw xl(t);return t.lanes=536870912,null}return ui(t,n)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if(zo(t),a)if(t.flags&256)t.flags&=-257,t=Oh(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Qe||Un(e,t,l,!1),a=(l&e.childLanes)!==0,Qe||a){if(n=Me,n!==null&&(s=Sd(n,l),s!==0&&s!==i.retryLane))throw i.retryLane=s,kl(e,s),mt(n,e,s),Wo;gi(),t=Oh(e,t,l)}else e=i.treeContext,Re=wt(s.nextSibling),Fe=t,he=!0,Sl=null,Rt=!1,e!==null&&gm(t,e),t=ui(t,n),t.flags|=4096;return t}return e=It(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ii(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Fo(e,t,l,n,a){return Il(t),l=Oo(e,t,l,n,void 0,a),n=jo(),e!==null&&!Qe?(Ro(e,t,a),al(e,t,a)):(he&&n&&so(t),t.flags|=1,Ie(e,t,l,a),t.child)}function jh(e,t,l,n,a,i){return Il(t),t.updateQueue=null,l=wm(t,n,l,a),Dm(e),n=jo(),e!==null&&!Qe?(Ro(e,t,i),al(e,t,i)):(he&&n&&so(t),t.flags|=1,Ie(e,t,l,i),t.child)}function Rh(e,t,l,n,a){if(Il(t),t.stateNode===null){var i=jn,s=l.contextType;typeof s=="object"&&s!==null&&(i=$e(s)),i=new l(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Jo,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Eo(t),s=l.contextType,i.context=typeof s=="object"&&s!==null?$e(s):jn,i.state=t.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Ko(t,l,s,n),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&Jo.enqueueReplaceState(i,i.state,null),wa(t,n,i,a),Da(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,b=an(l,d);i.props=b;var _=i.context,w=l.contextType;s=jn,typeof w=="object"&&w!==null&&(s=$e(w));var B=l.getDerivedStateFromProps;w=typeof B=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,w||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||_!==s)&&ph(t,i,n,s),Tl=!1;var M=t.memoizedState;i.state=M,wa(t,n,i,a),Da(),_=t.memoizedState,d||M!==_||Tl?(typeof B=="function"&&(Ko(t,l,B,n),_=t.memoizedState),(b=Tl||yh(t,l,b,n,M,_,s))?(w||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=_),i.props=n,i.state=_,i.context=s,n=b):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,To(e,t),s=t.memoizedProps,w=an(l,s),i.props=w,B=t.pendingProps,M=i.context,_=l.contextType,b=jn,typeof _=="object"&&_!==null&&(b=$e(_)),d=l.getDerivedStateFromProps,(_=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==B||M!==b)&&ph(t,i,n,b),Tl=!1,M=t.memoizedState,i.state=M,wa(t,n,i,a),Da();var O=t.memoizedState;s!==B||M!==O||Tl||e!==null&&e.dependencies!==null&&Gu(e.dependencies)?(typeof d=="function"&&(Ko(t,l,d,n),O=t.memoizedState),(w=Tl||yh(t,l,w,n,M,O,b)||e!==null&&e.dependencies!==null&&Gu(e.dependencies))?(_||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,O,b),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,O,b)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=O),i.props=n,i.state=O,i.context=b,n=w):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,ii(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=ln(t,e.child,null,a),t.child=ln(t,null,l,a)):Ie(e,t,l,a),t.memoizedState=i.state,e=t.child):e=al(e,t,a),e}function Dh(e,t,l,n){return Fl(),t.flags|=256,Ie(e,t,l,n),t.child}var $o={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Io(e){return{baseLanes:e,cachePool:Em()}}function Po(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Et),e}function wh(e,t,l){var n=t.pendingProps,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(qe.current&2)!==0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(he){if(a?Cl(t):_l(),(e=Re)?(e=Xv(e,Rt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bl!==null?{id:Xt,overflow:Vt}:null,retryLane:536870912,hydrationErrors:null},l=mm(e),l.return=t,t.child=l,Fe=t,Re=null)):e=null,e===null)throw xl(t);return Ur(e)?t.lanes=32:t.lanes=536870912,null}var d=n.children;return n=n.fallback,a?(_l(),a=t.mode,d=ci({mode:"hidden",children:d},a),n=Wl(n,a,l,null),d.return=t,n.return=t,d.sibling=n,t.child=d,n=t.child,n.memoizedState=Io(l),n.childLanes=Po(e,s,l),t.memoizedState=$o,qa(null,n)):(Cl(t),er(t,d))}var b=e.memoizedState;if(b!==null&&(d=b.dehydrated,d!==null)){if(i)t.flags&256?(Cl(t),t.flags&=-257,t=tr(e,t,l)):t.memoizedState!==null?(_l(),t.child=e.child,t.flags|=128,t=null):(_l(),d=n.fallback,a=t.mode,n=ci({mode:"visible",children:n.children},a),d=Wl(d,a,l,null),d.flags|=2,n.return=t,d.return=t,n.sibling=d,t.child=n,ln(t,e.child,null,l),n=t.child,n.memoizedState=Io(l),n.childLanes=Po(e,s,l),t.memoizedState=$o,t=qa(null,n));else if(Cl(t),Ur(d)){if(s=d.nextSibling&&d.nextSibling.dataset,s)var _=s.dgst;s=_,n=Error(o(419)),n.stack="",n.digest=s,_a({value:n,source:null,stack:null}),t=tr(e,t,l)}else if(Qe||Un(e,t,l,!1),s=(l&e.childLanes)!==0,Qe||s){if(s=Me,s!==null&&(n=Sd(s,l),n!==0&&n!==b.retryLane))throw b.retryLane=n,kl(e,n),mt(s,e,n),Wo;wr(d)||gi(),t=tr(e,t,l)}else wr(d)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,Re=wt(d.nextSibling),Fe=t,he=!0,Sl=null,Rt=!1,e!==null&&gm(t,e),t=er(t,n.children),t.flags|=4096);return t}return a?(_l(),d=n.fallback,a=t.mode,b=e.child,_=b.sibling,n=It(b,{mode:"hidden",children:n.children}),n.subtreeFlags=b.subtreeFlags&65011712,_!==null?d=It(_,d):(d=Wl(d,a,l,null),d.flags|=2),d.return=t,n.return=t,n.sibling=d,t.child=n,qa(null,n),n=t.child,d=e.child.memoizedState,d===null?d=Io(l):(a=d.cachePool,a!==null?(b=Xe._currentValue,a=a.parent!==b?{parent:b,pool:b}:a):a=Em(),d={baseLanes:d.baseLanes|l,cachePool:a}),n.memoizedState=d,n.childLanes=Po(e,s,l),t.memoizedState=$o,qa(e.child,n)):(Cl(t),l=e.child,e=l.sibling,l=It(l,{mode:"visible",children:n.children}),l.return=t,l.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=l,t.memoizedState=null,l)}function er(e,t){return t=ci({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ci(e,t){return e=pt(22,e,null,t),e.lanes=0,e}function tr(e,t,l){return ln(t,e.child,null,l),e=er(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Uh(e,t,l){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),go(e.return,t,l)}function lr(e,t,l,n,a,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=l,s.tailMode=a,s.treeForkCount=i)}function Hh(e,t,l){var n=t.pendingProps,a=n.revealOrder,i=n.tail;n=n.children;var s=qe.current,d=(s&2)!==0;if(d?(s=s&1|2,t.flags|=128):s&=1,Q(qe,s),Ie(e,t,n,l),n=he?Ca:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Uh(e,l,t);else if(e.tag===19)Uh(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(l=t.child,a=null;l!==null;)e=l.alternate,e!==null&&Wu(e)===null&&(a=l),l=l.sibling;l=a,l===null?(a=t.child,t.child=null):(a=l.sibling,l.sibling=null),lr(t,!1,a,l,i,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Wu(e)===null){t.child=a;break}e=a.sibling,a.sibling=l,l=a,a=e}lr(t,!0,l,null,i,n);break;case"together":lr(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function al(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Ol|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Un(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=It(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=It(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function nr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Gu(e)))}function p1(e,t,l){switch(t.tag){case 3:ut(t,t.stateNode.containerInfo),El(t,Xe,e.memoizedState.cache),Fl();break;case 27:case 5:fa(t);break;case 4:ut(t,t.stateNode.containerInfo);break;case 10:El(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,zo(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Cl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?wh(e,t,l):(Cl(t),e=al(e,t,l),e!==null?e.sibling:null);Cl(t);break;case 19:var a=(e.flags&128)!==0;if(n=(l&t.childLanes)!==0,n||(Un(e,t,l,!1),n=(l&t.childLanes)!==0),a){if(n)return Hh(e,t,l);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Q(qe,qe.current),n)break;return null;case 22:return t.lanes=0,zh(e,t,l,t.pendingProps);case 24:El(t,Xe,e.memoizedState.cache)}return al(e,t,l)}function Bh(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!nr(e,l)&&(t.flags&128)===0)return Qe=!1,p1(e,t,l);Qe=(e.flags&131072)!==0}else Qe=!1,he&&(t.flags&1048576)!==0&&vm(t,Ca,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=en(t.elementType),t.type=e,typeof e=="function")co(e)?(n=an(e,n),t.tag=1,t=Rh(null,t,e,n,l)):(t.tag=0,t=Fo(null,t,e,n,l));else{if(e!=null){var a=e.$$typeof;if(a===W){t.tag=11,t=Nh(null,t,e,n,l);break e}else if(a===V){t.tag=14,t=Ch(null,t,e,n,l);break e}}throw t=at(e)||e,Error(o(306,t,""))}}return t;case 0:return Fo(e,t,t.type,t.pendingProps,l);case 1:return n=t.type,a=an(n,t.pendingProps),Rh(e,t,n,a,l);case 3:e:{if(ut(t,t.stateNode.containerInfo),e===null)throw Error(o(387));n=t.pendingProps;var i=t.memoizedState;a=i.element,To(e,t),wa(t,n,null,l);var s=t.memoizedState;if(n=s.cache,El(t,Xe,n),n!==i.cache&&yo(t,[Xe],l,!0),Da(),n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Dh(e,t,n,l);break e}else if(n!==a){a=Mt(Error(o(424)),t),_a(a),t=Dh(e,t,n,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Re=wt(e.firstChild),Fe=t,he=!0,Sl=null,Rt=!0,l=zm(t,null,n,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Fl(),n===a){t=al(e,t,l);break e}Ie(e,t,n,l)}t=t.child}return t;case 26:return ii(e,t),e===null?(l=kv(t.type,null,t.pendingProps,null))?t.memoizedState=l:he||(l=t.type,e=t.pendingProps,n=Ti(re.current).createElement(l),n[We]=t,n[ct]=e,Pe(n,l,e),Je(n),t.stateNode=n):t.memoizedState=kv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fa(t),e===null&&he&&(n=t.stateNode=Zv(t.type,t.pendingProps,re.current),Fe=t,Rt=!0,a=Re,Ul(t.type)?(Hr=a,Re=wt(n.firstChild)):Re=a),Ie(e,t,t.pendingProps.children,l),ii(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&he&&((a=n=Re)&&(n=k1(n,t.type,t.pendingProps,Rt),n!==null?(t.stateNode=n,Fe=t,Re=wt(n.firstChild),Rt=!1,a=!0):a=!1),a||xl(t)),fa(t),a=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,n=i.children,jr(a,i)?n=null:s!==null&&jr(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Oo(e,t,r1,null,null,l),eu._currentValue=a),ii(e,t),Ie(e,t,n,l),t.child;case 6:return e===null&&he&&((e=l=Re)&&(l=W1(l,t.pendingProps,Rt),l!==null?(t.stateNode=l,Fe=t,Re=null,e=!0):e=!1),e||xl(t)),null;case 13:return wh(e,t,l);case 4:return ut(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ln(t,null,n,l):Ie(e,t,n,l),t.child;case 11:return Nh(e,t,t.type,t.pendingProps,l);case 7:return Ie(e,t,t.pendingProps,l),t.child;case 8:return Ie(e,t,t.pendingProps.children,l),t.child;case 12:return Ie(e,t,t.pendingProps.children,l),t.child;case 10:return n=t.pendingProps,El(t,t.type,n.value),Ie(e,t,n.children,l),t.child;case 9:return a=t.type._context,n=t.pendingProps.children,Il(t),a=$e(a),n=n(a),t.flags|=1,Ie(e,t,n,l),t.child;case 14:return Ch(e,t,t.type,t.pendingProps,l);case 15:return _h(e,t,t.type,t.pendingProps,l);case 19:return Hh(e,t,l);case 31:return y1(e,t,l);case 22:return zh(e,t,l,t.pendingProps);case 24:return Il(t),n=$e(Xe),e===null?(a=So(),a===null&&(a=Me,i=po(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=l),a=i),t.memoizedState={parent:n,cache:a},Eo(t),El(t,Xe,a)):((e.lanes&l)!==0&&(To(e,t),wa(t,null,null,l),Da()),a=e.memoizedState,i=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),El(t,Xe,n)):(n=i.cache,El(t,Xe,n),n!==a.cache&&yo(t,[Xe],l,!0))),Ie(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function ul(e){e.flags|=4}function ar(e,t,l,n,a){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(a&335544128)===a)if(e.stateNode.complete)e.flags|=8192;else if(sv())e.flags|=8192;else throw tn=Zu,xo}else e.flags&=-16777217}function Lh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Pv(t))if(sv())e.flags|=8192;else throw tn=Zu,xo}function oi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?yd():536870912,e.lanes|=t,Jn|=t)}function Ya(e,t){if(!he)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function De(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,n=0;if(t)for(var a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=l,t}function b1(e,t,l){var n=t.pendingProps;switch(fo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return De(t),null;case 3:return l=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),tl(Xe),Le(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(wn(t)?ul(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ho())),De(t),null;case 26:var a=t.type,i=t.memoizedState;return e===null?(ul(t),i!==null?(De(t),Lh(t,i)):(De(t),ar(t,a,null,n,l))):i?i!==e.memoizedState?(ul(t),De(t),Lh(t,i)):(De(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&ul(t),De(t),ar(t,a,e,n,l)),null;case 27:if(bu(t),l=re.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ul(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return De(t),null}e=K.current,wn(t)?ym(t):(e=Zv(a,n,l),t.stateNode=e,ul(t))}return De(t),null;case 5:if(bu(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ul(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return De(t),null}if(i=K.current,wn(t))ym(t);else{var s=Ti(re.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?s.createElement(a,{is:n.is}):s.createElement(a)}}i[We]=t,i[ct]=n;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(Pe(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&ul(t)}}return De(t),ar(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ul(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=re.current,wn(t)){if(e=t.stateNode,l=t.memoizedProps,n=null,a=Fe,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}e[We]=t,e=!!(e.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||wv(e.nodeValue,l)),e||xl(t,!0)}else e=Ti(e).createTextNode(n),e[We]=t,t.stateNode=e}return De(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(n=wn(t),l!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[We]=t}else Fl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),e=!1}else l=ho(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(St(t),t):(St(t),null);if((t.flags&128)!==0)throw Error(o(558))}return De(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=wn(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(o(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));a[We]=t}else Fl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),a=!1}else a=ho(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(St(t),t):(St(t),null)}return St(t),(t.flags&128)!==0?(t.lanes=l,t):(l=n!==null,e=e!==null&&e.memoizedState!==null,l&&(n=t.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),oi(t,t.updateQueue),De(t),null);case 4:return Le(),e===null&&Cr(t.stateNode.containerInfo),De(t),null;case 10:return tl(t.type),De(t),null;case 19:if(L(qe),n=t.memoizedState,n===null)return De(t),null;if(a=(t.flags&128)!==0,i=n.rendering,i===null)if(a)Ya(n,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Wu(e),i!==null){for(t.flags|=128,Ya(n,!1),e=i.updateQueue,t.updateQueue=e,oi(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)dm(l,e),l=l.sibling;return Q(qe,qe.current&1|2),he&&Pt(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&ht()>mi&&(t.flags|=128,a=!0,Ya(n,!1),t.lanes=4194304)}else{if(!a)if(e=Wu(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,oi(t,e),Ya(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!he)return De(t),null}else 2*ht()-n.renderingStartTime>mi&&l!==536870912&&(t.flags|=128,a=!0,Ya(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ht(),e.sibling=null,l=qe.current,Q(qe,a?l&1|2:l&1),he&&Pt(t,n.treeForkCount),e):(De(t),null);case 22:case 23:return St(t),_o(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(l&536870912)!==0&&(t.flags&128)===0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),l=t.updateQueue,l!==null&&oi(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==l&&(t.flags|=2048),e!==null&&L(Pl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),tl(Xe),De(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function S1(e,t){switch(fo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tl(Xe),Le(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return bu(t),null;case 31:if(t.memoizedState!==null){if(St(t),t.alternate===null)throw Error(o(340));Fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(St(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(qe),null;case 4:return Le(),null;case 10:return tl(t.type),null;case 22:case 23:return St(t),_o(),e!==null&&L(Pl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return tl(Xe),null;case 25:return null;default:return null}}function qh(e,t){switch(fo(t),t.tag){case 3:tl(Xe),Le();break;case 26:case 27:case 5:bu(t);break;case 4:Le();break;case 31:t.memoizedState!==null&&St(t);break;case 13:St(t);break;case 19:L(qe);break;case 10:tl(t.type);break;case 22:case 23:St(t),_o(),e!==null&&L(Pl);break;case 24:tl(Xe)}}function Ga(e,t){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&e)===e){n=void 0;var i=l.create,s=l.inst;n=i(),s.destroy=n}l=l.next}while(l!==a)}}catch(d){Ne(t,t.return,d)}}function zl(e,t,l){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){var s=n.inst,d=s.destroy;if(d!==void 0){s.destroy=void 0,a=t;var b=l,_=d;try{_()}catch(w){Ne(a,b,w)}}}n=n.next}while(n!==i)}}catch(w){Ne(t,t.return,w)}}function Yh(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Om(t,l)}catch(n){Ne(e,e.return,n)}}}function Gh(e,t,l){l.props=an(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(n){Ne(e,t,n)}}function Xa(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof l=="function"?e.refCleanup=l(n):l.current=n}}catch(a){Ne(e,t,a)}}function Qt(e,t){var l=e.ref,n=e.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){Ne(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){Ne(e,t,a)}else l.current=null}function Xh(e){var t=e.type,l=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break e;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){Ne(e,e.return,a)}}function ur(e,t,l){try{var n=e.stateNode;X1(n,e.type,l,t),n[ct]=t}catch(a){Ne(e,e.return,a)}}function Vh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ul(e.type)||e.tag===4}function ir(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ul(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function cr(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Ft));else if(n!==4&&(n===27&&Ul(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(cr(e,t,l),e=e.sibling;e!==null;)cr(e,t,l),e=e.sibling}function ri(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(n!==4&&(n===27&&Ul(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(ri(e,t,l),e=e.sibling;e!==null;)ri(e,t,l),e=e.sibling}function Qh(e){var t=e.stateNode,l=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);Pe(t,n,l),t[We]=e,t[ct]=l}catch(i){Ne(e,e.return,i)}}var il=!1,Ze=!1,or=!1,Zh=typeof WeakSet=="function"?WeakSet:Set,ke=null;function x1(e,t){if(e=e.containerInfo,Mr=Oi,e=nm(e),eo(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break e}var s=0,d=-1,b=-1,_=0,w=0,B=e,M=null;t:for(;;){for(var O;B!==l||a!==0&&B.nodeType!==3||(d=s+a),B!==i||n!==0&&B.nodeType!==3||(b=s+n),B.nodeType===3&&(s+=B.nodeValue.length),(O=B.firstChild)!==null;)M=B,B=O;for(;;){if(B===e)break t;if(M===l&&++_===a&&(d=s),M===i&&++w===n&&(b=s),(O=B.nextSibling)!==null)break;B=M,M=B.parentNode}B=O}l=d===-1||b===-1?null:{start:d,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(Or={focusedElem:e,selectionRange:l},Oi=!1,ke=t;ke!==null;)if(t=ke,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ke=e;else for(;ke!==null;){switch(t=ke,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)a=e[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,a=i.memoizedProps,i=i.memoizedState,n=l.stateNode;try{var Z=an(l.type,a);e=n.getSnapshotBeforeUpdate(Z,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(I){Ne(l,l.return,I)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Dr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Dr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,ke=e;break}ke=t.return}}function Kh(e,t,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:ol(e,l),n&4&&Ga(5,l);break;case 1:if(ol(e,l),n&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(s){Ne(l,l.return,s)}else{var a=an(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Ne(l,l.return,s)}}n&64&&Yh(l),n&512&&Xa(l,l.return);break;case 3:if(ol(e,l),n&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Om(e,t)}catch(s){Ne(l,l.return,s)}}break;case 27:t===null&&n&4&&Qh(l);case 26:case 5:ol(e,l),t===null&&n&4&&Xh(l),n&512&&Xa(l,l.return);break;case 12:ol(e,l);break;case 31:ol(e,l),n&4&&Wh(e,l);break;case 13:ol(e,l),n&4&&Fh(e,l),n&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=O1.bind(null,l),F1(e,l))));break;case 22:if(n=l.memoizedState!==null||il,!n){t=t!==null&&t.memoizedState!==null||Ze,a=il;var i=Ze;il=n,(Ze=t)&&!i?rl(e,l,(l.subtreeFlags&8772)!==0):ol(e,l),il=a,Ze=i}break;case 30:break;default:ol(e,l)}}function Jh(e){var t=e.alternate;t!==null&&(e.alternate=null,Jh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Bc(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ue=null,rt=!1;function cl(e,t,l){for(l=l.child;l!==null;)kh(e,t,l),l=l.sibling}function kh(e,t,l){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(da,l)}catch{}switch(l.tag){case 26:Ze||Qt(l,t),cl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Ze||Qt(l,t);var n=Ue,a=rt;Ul(l.type)&&(Ue=l.stateNode,rt=!1),cl(e,t,l),$a(l.stateNode),Ue=n,rt=a;break;case 5:Ze||Qt(l,t);case 6:if(n=Ue,a=rt,Ue=null,cl(e,t,l),Ue=n,rt=a,Ue!==null)if(rt)try{(Ue.nodeType===9?Ue.body:Ue.nodeName==="HTML"?Ue.ownerDocument.body:Ue).removeChild(l.stateNode)}catch(i){Ne(l,t,i)}else try{Ue.removeChild(l.stateNode)}catch(i){Ne(l,t,i)}break;case 18:Ue!==null&&(rt?(e=Ue,Yv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),ta(e)):Yv(Ue,l.stateNode));break;case 4:n=Ue,a=rt,Ue=l.stateNode.containerInfo,rt=!0,cl(e,t,l),Ue=n,rt=a;break;case 0:case 11:case 14:case 15:zl(2,l,t),Ze||zl(4,l,t),cl(e,t,l);break;case 1:Ze||(Qt(l,t),n=l.stateNode,typeof n.componentWillUnmount=="function"&&Gh(l,t,n)),cl(e,t,l);break;case 21:cl(e,t,l);break;case 22:Ze=(n=Ze)||l.memoizedState!==null,cl(e,t,l),Ze=n;break;default:cl(e,t,l)}}function Wh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ta(e)}catch(l){Ne(t,t.return,l)}}}function Fh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ta(e)}catch(l){Ne(t,t.return,l)}}function E1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Zh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Zh),t;default:throw Error(o(435,e.tag))}}function si(e,t){var l=E1(e);t.forEach(function(n){if(!l.has(n)){l.add(n);var a=j1.bind(null,e,n);n.then(a,a)}})}function st(e,t){var l=t.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],i=e,s=t,d=s;e:for(;d!==null;){switch(d.tag){case 27:if(Ul(d.type)){Ue=d.stateNode,rt=!1;break e}break;case 5:Ue=d.stateNode,rt=!1;break e;case 3:case 4:Ue=d.stateNode.containerInfo,rt=!0;break e}d=d.return}if(Ue===null)throw Error(o(160));kh(i,s,a),Ue=null,rt=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)$h(t,e),t=t.sibling}var Lt=null;function $h(e,t){var l=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:st(t,e),ft(e),n&4&&(zl(3,e,e.return),Ga(3,e),zl(5,e,e.return));break;case 1:st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),n&64&&il&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=Lt;if(st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),n&4){var i=l!==null?l.memoizedState:null;if(n=e.memoizedState,l===null)if(n===null)if(e.stateNode===null){e:{n=e.type,l=e.memoizedProps,a=a.ownerDocument||a;t:switch(n){case"title":i=a.getElementsByTagName("title")[0],(!i||i[va]||i[We]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(n),a.head.insertBefore(i,a.querySelector("head > title"))),Pe(i,n,l),i[We]=e,Je(i),n=i;break e;case"link":var s=$v("link","href",a).get(n+(l.href||""));if(s){for(var d=0;d<s.length;d++)if(i=s[d],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(d,1);break t}}i=a.createElement(n),Pe(i,n,l),a.head.appendChild(i);break;case"meta":if(s=$v("meta","content",a).get(n+(l.content||""))){for(d=0;d<s.length;d++)if(i=s[d],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(d,1);break t}}i=a.createElement(n),Pe(i,n,l),a.head.appendChild(i);break;default:throw Error(o(468,n))}i[We]=e,Je(i),n=i}e.stateNode=n}else Iv(a,e.type,e.stateNode);else e.stateNode=Fv(a,n,e.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?Iv(a,e.type,e.stateNode):Fv(a,n,e.memoizedProps)):n===null&&e.stateNode!==null&&ur(e,e.memoizedProps,l.memoizedProps)}break;case 27:st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),l!==null&&n&4&&ur(e,e.memoizedProps,l.memoizedProps);break;case 5:if(st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),e.flags&32){a=e.stateNode;try{An(a,"")}catch(Z){Ne(e,e.return,Z)}}n&4&&e.stateNode!=null&&(a=e.memoizedProps,ur(e,a,l!==null?l.memoizedProps:a)),n&1024&&(or=!0);break;case 6:if(st(t,e),ft(e),n&4){if(e.stateNode===null)throw Error(o(162));n=e.memoizedProps,l=e.stateNode;try{l.nodeValue=n}catch(Z){Ne(e,e.return,Z)}}break;case 3:if(Ci=null,a=Lt,Lt=Ai(t.containerInfo),st(t,e),Lt=a,ft(e),n&4&&l!==null&&l.memoizedState.isDehydrated)try{ta(t.containerInfo)}catch(Z){Ne(e,e.return,Z)}or&&(or=!1,Ih(e));break;case 4:n=Lt,Lt=Ai(e.stateNode.containerInfo),st(t,e),ft(e),Lt=n;break;case 12:st(t,e),ft(e);break;case 31:st(t,e),ft(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 13:st(t,e),ft(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(di=ht()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 22:a=e.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,_=il,w=Ze;if(il=_||a,Ze=w||b,st(t,e),Ze=w,il=_,ft(e),n&8192)e:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(l===null||b||il||Ze||un(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){b=l=t;try{if(i=b.stateNode,a)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{d=b.stateNode;var B=b.memoizedProps.style,M=B!=null&&B.hasOwnProperty("display")?B.display:null;d.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(Z){Ne(b,b.return,Z)}}}else if(t.tag===6){if(l===null){b=t;try{b.stateNode.nodeValue=a?"":b.memoizedProps}catch(Z){Ne(b,b.return,Z)}}}else if(t.tag===18){if(l===null){b=t;try{var O=b.stateNode;a?Gv(O,!0):Gv(b.stateNode,!1)}catch(Z){Ne(b,b.return,Z)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,si(e,l))));break;case 19:st(t,e),ft(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 30:break;case 21:break;default:st(t,e),ft(e)}}function ft(e){var t=e.flags;if(t&2){try{for(var l,n=e.return;n!==null;){if(Vh(n)){l=n;break}n=n.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var a=l.stateNode,i=ir(e);ri(e,i,a);break;case 5:var s=l.stateNode;l.flags&32&&(An(s,""),l.flags&=-33);var d=ir(e);ri(e,d,s);break;case 3:case 4:var b=l.stateNode.containerInfo,_=ir(e);cr(e,_,b);break;default:throw Error(o(161))}}catch(w){Ne(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ih(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ih(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ol(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Kh(e,t.alternate,t),t=t.sibling}function un(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:zl(4,t,t.return),un(t);break;case 1:Qt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Gh(t,t.return,l),un(t);break;case 27:$a(t.stateNode);case 26:case 5:Qt(t,t.return),un(t);break;case 22:t.memoizedState===null&&un(t);break;case 30:un(t);break;default:un(t)}e=e.sibling}}function rl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,a=e,i=t,s=i.flags;switch(i.tag){case 0:case 11:case 15:rl(a,i,l),Ga(4,i);break;case 1:if(rl(a,i,l),n=i,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(_){Ne(n,n.return,_)}if(n=i,a=n.updateQueue,a!==null){var d=n.stateNode;try{var b=a.shared.hiddenCallbacks;if(b!==null)for(a.shared.hiddenCallbacks=null,a=0;a<b.length;a++)Mm(b[a],d)}catch(_){Ne(n,n.return,_)}}l&&s&64&&Yh(i),Xa(i,i.return);break;case 27:Qh(i);case 26:case 5:rl(a,i,l),l&&n===null&&s&4&&Xh(i),Xa(i,i.return);break;case 12:rl(a,i,l);break;case 31:rl(a,i,l),l&&s&4&&Wh(a,i);break;case 13:rl(a,i,l),l&&s&4&&Fh(a,i);break;case 22:i.memoizedState===null&&rl(a,i,l),Xa(i,i.return);break;case 30:break;default:rl(a,i,l)}t=t.sibling}}function rr(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&za(l))}function sr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&za(e))}function qt(e,t,l,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ph(e,t,l,n),t=t.sibling}function Ph(e,t,l,n){var a=t.flags;switch(t.tag){case 0:case 11:case 15:qt(e,t,l,n),a&2048&&Ga(9,t);break;case 1:qt(e,t,l,n);break;case 3:qt(e,t,l,n),a&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&za(e)));break;case 12:if(a&2048){qt(e,t,l,n),e=t.stateNode;try{var i=t.memoizedProps,s=i.id,d=i.onPostCommit;typeof d=="function"&&d(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(b){Ne(t,t.return,b)}}else qt(e,t,l,n);break;case 31:qt(e,t,l,n);break;case 13:qt(e,t,l,n);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,t.memoizedState!==null?i._visibility&2?qt(e,t,l,n):Va(e,t):i._visibility&2?qt(e,t,l,n):(i._visibility|=2,Qn(e,t,l,n,(t.subtreeFlags&10256)!==0||!1)),a&2048&&rr(s,t);break;case 24:qt(e,t,l,n),a&2048&&sr(t.alternate,t);break;default:qt(e,t,l,n)}}function Qn(e,t,l,n,a){for(a=a&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,d=l,b=n,_=s.flags;switch(s.tag){case 0:case 11:case 15:Qn(i,s,d,b,a),Ga(8,s);break;case 23:break;case 22:var w=s.stateNode;s.memoizedState!==null?w._visibility&2?Qn(i,s,d,b,a):Va(i,s):(w._visibility|=2,Qn(i,s,d,b,a)),a&&_&2048&&rr(s.alternate,s);break;case 24:Qn(i,s,d,b,a),a&&_&2048&&sr(s.alternate,s);break;default:Qn(i,s,d,b,a)}t=t.sibling}}function Va(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,n=t,a=n.flags;switch(n.tag){case 22:Va(l,n),a&2048&&rr(n.alternate,n);break;case 24:Va(l,n),a&2048&&sr(n.alternate,n);break;default:Va(l,n)}t=t.sibling}}var Qa=8192;function Zn(e,t,l){if(e.subtreeFlags&Qa)for(e=e.child;e!==null;)ev(e,t,l),e=e.sibling}function ev(e,t,l){switch(e.tag){case 26:Zn(e,t,l),e.flags&Qa&&e.memoizedState!==null&&oS(l,Lt,e.memoizedState,e.memoizedProps);break;case 5:Zn(e,t,l);break;case 3:case 4:var n=Lt;Lt=Ai(e.stateNode.containerInfo),Zn(e,t,l),Lt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Qa,Qa=16777216,Zn(e,t,l),Qa=n):Zn(e,t,l));break;default:Zn(e,t,l)}}function tv(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Za(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];ke=n,nv(n,e)}tv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)lv(e),e=e.sibling}function lv(e){switch(e.tag){case 0:case 11:case 15:Za(e),e.flags&2048&&zl(9,e,e.return);break;case 3:Za(e);break;case 12:Za(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,fi(e)):Za(e);break;default:Za(e)}}function fi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];ke=n,nv(n,e)}tv(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:zl(8,t,t.return),fi(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,fi(t));break;default:fi(t)}e=e.sibling}}function nv(e,t){for(;ke!==null;){var l=ke;switch(l.tag){case 0:case 11:case 15:zl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:za(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,ke=n;else e:for(l=e;ke!==null;){n=ke;var a=n.sibling,i=n.return;if(Jh(n),n===l){ke=null;break e}if(a!==null){a.return=i,ke=a;break e}ke=i}}}var T1={getCacheForType:function(e){var t=$e(Xe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return $e(Xe).controller.signal}},A1=typeof WeakMap=="function"?WeakMap:Map,Se=0,Me=null,se=null,de=0,Ae=0,xt=null,Ml=!1,Kn=!1,fr=!1,sl=0,Be=0,Ol=0,cn=0,dr=0,Et=0,Jn=0,Ka=null,dt=null,mr=!1,di=0,av=0,mi=1/0,hi=null,jl=null,Ke=0,Rl=null,kn=null,fl=0,hr=0,vr=null,uv=null,Ja=0,gr=null;function Tt(){return(Se&2)!==0&&de!==0?de&-de:R.T!==null?Er():xd()}function iv(){if(Et===0)if((de&536870912)===0||he){var e=Eu;Eu<<=1,(Eu&3932160)===0&&(Eu=262144),Et=e}else Et=536870912;return e=bt.current,e!==null&&(e.flags|=32),Et}function mt(e,t,l){(e===Me&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)&&(Wn(e,0),Dl(e,de,Et,!1)),ha(e,l),((Se&2)===0||e!==Me)&&(e===Me&&((Se&2)===0&&(cn|=l),Be===4&&Dl(e,de,Et,!1)),Zt(e))}function cv(e,t,l){if((Se&6)!==0)throw Error(o(327));var n=!l&&(t&127)===0&&(t&e.expiredLanes)===0||ma(e,t),a=n?_1(e,t):pr(e,t,!0),i=n;do{if(a===0){Kn&&!n&&Dl(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!N1(l)){a=pr(e,t,!1),i=!1;continue}if(a===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var d=e;a=Ka;var b=d.current.memoizedState.isDehydrated;if(b&&(Wn(d,s).flags|=256),s=pr(d,s,!1),s!==2){if(fr&&!b){d.errorRecoveryDisabledLanes|=i,cn|=i,a=4;break e}i=dt,dt=a,i!==null&&(dt===null?dt=i:dt.push.apply(dt,i))}a=s}if(i=!1,a!==2)continue}}if(a===1){Wn(e,0),Dl(e,t,0,!0);break}e:{switch(n=e,i=a,i){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Dl(n,t,Et,!Ml);break e;case 2:dt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(a=di+300-ht(),10<a)){if(Dl(n,t,Et,!Ml),Au(n,0,!0)!==0)break e;fl=t,n.timeoutHandle=Lv(ov.bind(null,n,l,dt,hi,mr,t,Et,cn,Jn,Ml,i,"Throttled",-0,0),a);break e}ov(n,l,dt,hi,mr,t,Et,cn,Jn,Ml,i,null,-0,0)}}break}while(!0);Zt(e)}function ov(e,t,l,n,a,i,s,d,b,_,w,B,M,O){if(e.timeoutHandle=-1,B=t.subtreeFlags,B&8192||(B&16785408)===16785408){B={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ft},ev(t,i,B);var Z=(i&62914560)===i?di-ht():(i&4194048)===i?av-ht():0;if(Z=rS(B,Z),Z!==null){fl=i,e.cancelPendingCommit=Z(gv.bind(null,e,t,i,l,n,a,s,d,b,w,B,null,M,O)),Dl(e,i,s,!_);return}}gv(e,t,i,l,n,a,s,d,b)}function N1(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],i=a.getSnapshot;a=a.value;try{if(!yt(i(),a))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dl(e,t,l,n){t&=~dr,t&=~cn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var i=31-gt(a),s=1<<i;n[i]=-1,a&=~s}l!==0&&pd(e,l,t)}function vi(){return(Se&6)===0?(ka(0),!1):!0}function yr(){if(se!==null){if(Ae===0)var e=se.return;else e=se,el=$l=null,Do(e),qn=null,Oa=0,e=se;for(;e!==null;)qh(e.alternate,e),e=e.return;se=null}}function Wn(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Z1(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),fl=0,yr(),Me=e,se=l=It(e.current,null),de=t,Ae=0,xt=null,Ml=!1,Kn=ma(e,t),fr=!1,Jn=Et=dr=cn=Ol=Be=0,dt=Ka=null,mr=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-gt(n),i=1<<a;t|=e[a],n&=~i}return sl=t,Hu(),l}function rv(e,t){ue=null,R.H=La,t===Ln||t===Qu?(t=Nm(),Ae=3):t===xo?(t=Nm(),Ae=4):Ae=t===Wo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,xt=t,se===null&&(Be=1,ai(e,Mt(t,e.current)))}function sv(){var e=bt.current;return e===null?!0:(de&4194048)===de?Dt===null:(de&62914560)===de||(de&536870912)!==0?e===Dt:!1}function fv(){var e=R.H;return R.H=La,e===null?La:e}function dv(){var e=R.A;return R.A=T1,e}function gi(){Be=4,Ml||(de&4194048)!==de&&bt.current!==null||(Kn=!0),(Ol&134217727)===0&&(cn&134217727)===0||Me===null||Dl(Me,de,Et,!1)}function pr(e,t,l){var n=Se;Se|=2;var a=fv(),i=dv();(Me!==e||de!==t)&&(hi=null,Wn(e,t)),t=!1;var s=Be;e:do try{if(Ae!==0&&se!==null){var d=se,b=xt;switch(Ae){case 8:yr(),s=6;break e;case 3:case 2:case 9:case 6:bt.current===null&&(t=!0);var _=Ae;if(Ae=0,xt=null,Fn(e,d,b,_),l&&Kn){s=0;break e}break;default:_=Ae,Ae=0,xt=null,Fn(e,d,b,_)}}C1(),s=Be;break}catch(w){rv(e,w)}while(!0);return t&&e.shellSuspendCounter++,el=$l=null,Se=n,R.H=a,R.A=i,se===null&&(Me=null,de=0,Hu()),s}function C1(){for(;se!==null;)mv(se)}function _1(e,t){var l=Se;Se|=2;var n=fv(),a=dv();Me!==e||de!==t?(hi=null,mi=ht()+500,Wn(e,t)):Kn=ma(e,t);e:do try{if(Ae!==0&&se!==null){t=se;var i=xt;t:switch(Ae){case 1:Ae=0,xt=null,Fn(e,t,i,1);break;case 2:case 9:if(Tm(i)){Ae=0,xt=null,hv(t);break}t=function(){Ae!==2&&Ae!==9||Me!==e||(Ae=7),Zt(e)},i.then(t,t);break e;case 3:Ae=7;break e;case 4:Ae=5;break e;case 7:Tm(i)?(Ae=0,xt=null,hv(t)):(Ae=0,xt=null,Fn(e,t,i,7));break;case 5:var s=null;switch(se.tag){case 26:s=se.memoizedState;case 5:case 27:var d=se;if(s?Pv(s):d.stateNode.complete){Ae=0,xt=null;var b=d.sibling;if(b!==null)se=b;else{var _=d.return;_!==null?(se=_,yi(_)):se=null}break t}}Ae=0,xt=null,Fn(e,t,i,5);break;case 6:Ae=0,xt=null,Fn(e,t,i,6);break;case 8:yr(),Be=6;break e;default:throw Error(o(462))}}z1();break}catch(w){rv(e,w)}while(!0);return el=$l=null,R.H=n,R.A=a,Se=l,se!==null?0:(Me=null,de=0,Hu(),Be)}function z1(){for(;se!==null&&!$p();)mv(se)}function mv(e){var t=Bh(e.alternate,e,sl);e.memoizedProps=e.pendingProps,t===null?yi(e):se=t}function hv(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=jh(l,t,t.pendingProps,t.type,void 0,de);break;case 11:t=jh(l,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:Do(t);default:qh(l,t),t=se=dm(t,sl),t=Bh(l,t,sl)}e.memoizedProps=e.pendingProps,t===null?yi(e):se=t}function Fn(e,t,l,n){el=$l=null,Do(t),qn=null,Oa=0;var a=t.return;try{if(g1(e,a,t,l,de)){Be=1,ai(e,Mt(l,e.current)),se=null;return}}catch(i){if(a!==null)throw se=a,i;Be=1,ai(e,Mt(l,e.current)),se=null;return}t.flags&32768?(he||n===1?e=!0:Kn||(de&536870912)!==0?e=!1:(Ml=e=!0,(n===2||n===9||n===3||n===6)&&(n=bt.current,n!==null&&n.tag===13&&(n.flags|=16384))),vv(t,e)):yi(t)}function yi(e){var t=e;do{if((t.flags&32768)!==0){vv(t,Ml);return}e=t.return;var l=b1(t.alternate,t,sl);if(l!==null){se=l;return}if(t=t.sibling,t!==null){se=t;return}se=t=e}while(t!==null);Be===0&&(Be=5)}function vv(e,t){do{var l=S1(e.alternate,e);if(l!==null){l.flags&=32767,se=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){se=e;return}se=e=l}while(e!==null);Be=6,se=null}function gv(e,t,l,n,a,i,s,d,b){e.cancelPendingCommit=null;do pi();while(Ke!==0);if((Se&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,i|=uo,cb(e,l,i,s,d,b),e===Me&&(se=Me=null,de=0),kn=t,Rl=e,fl=l,hr=i,vr=a,uv=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,R1(Su,function(){return xv(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null,a=G.p,G.p=2,s=Se,Se|=4;try{x1(e,t,l)}finally{Se=s,G.p=a,R.T=n}}Ke=1,yv(),pv(),bv()}}function yv(){if(Ke===1){Ke=0;var e=Rl,t=kn,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=R.T,R.T=null;var n=G.p;G.p=2;var a=Se;Se|=4;try{$h(t,e);var i=Or,s=nm(e.containerInfo),d=i.focusedElem,b=i.selectionRange;if(s!==d&&d&&d.ownerDocument&&lm(d.ownerDocument.documentElement,d)){if(b!==null&&eo(d)){var _=b.start,w=b.end;if(w===void 0&&(w=_),"selectionStart"in d)d.selectionStart=_,d.selectionEnd=Math.min(w,d.value.length);else{var B=d.ownerDocument||document,M=B&&B.defaultView||window;if(M.getSelection){var O=M.getSelection(),Z=d.textContent.length,I=Math.min(b.start,Z),ze=b.end===void 0?I:Math.min(b.end,Z);!O.extend&&I>ze&&(s=ze,ze=I,I=s);var N=tm(d,I),E=tm(d,ze);if(N&&E&&(O.rangeCount!==1||O.anchorNode!==N.node||O.anchorOffset!==N.offset||O.focusNode!==E.node||O.focusOffset!==E.offset)){var C=B.createRange();C.setStart(N.node,N.offset),O.removeAllRanges(),I>ze?(O.addRange(C),O.extend(E.node,E.offset)):(C.setEnd(E.node,E.offset),O.addRange(C))}}}}for(B=[],O=d;O=O.parentNode;)O.nodeType===1&&B.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<B.length;d++){var U=B[d];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}Oi=!!Mr,Or=Mr=null}finally{Se=a,G.p=n,R.T=l}}e.current=t,Ke=2}}function pv(){if(Ke===2){Ke=0;var e=Rl,t=kn,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=R.T,R.T=null;var n=G.p;G.p=2;var a=Se;Se|=4;try{Kh(e,t.alternate,t)}finally{Se=a,G.p=n,R.T=l}}Ke=3}}function bv(){if(Ke===4||Ke===3){Ke=0,Ip();var e=Rl,t=kn,l=fl,n=uv;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ke=5:(Ke=0,kn=Rl=null,Sv(e,e.pendingLanes));var a=e.pendingLanes;if(a===0&&(jl=null),Uc(l),t=t.stateNode,vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(da,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=R.T,a=G.p,G.p=2,R.T=null;try{for(var i=e.onRecoverableError,s=0;s<n.length;s++){var d=n[s];i(d.value,{componentStack:d.stack})}}finally{R.T=t,G.p=a}}(fl&3)!==0&&pi(),Zt(e),a=e.pendingLanes,(l&261930)!==0&&(a&42)!==0?e===gr?Ja++:(Ja=0,gr=e):Ja=0,ka(0)}}function Sv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,za(t)))}function pi(){return yv(),pv(),bv(),xv()}function xv(){if(Ke!==5)return!1;var e=Rl,t=hr;hr=0;var l=Uc(fl),n=R.T,a=G.p;try{G.p=32>l?32:l,R.T=null,l=vr,vr=null;var i=Rl,s=fl;if(Ke=0,kn=Rl=null,fl=0,(Se&6)!==0)throw Error(o(331));var d=Se;if(Se|=4,lv(i.current),Ph(i,i.current,s,l),Se=d,ka(0,!1),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(da,i)}catch{}return!0}finally{G.p=a,R.T=n,Sv(e,t)}}function Ev(e,t,l){t=Mt(l,t),t=ko(e.stateNode,t,2),e=Nl(e,t,2),e!==null&&(ha(e,2),Zt(e))}function Ne(e,t,l){if(e.tag===3)Ev(e,e,l);else for(;t!==null;){if(t.tag===3){Ev(t,e,l);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(jl===null||!jl.has(n))){e=Mt(l,e),l=Th(2),n=Nl(t,l,2),n!==null&&(Ah(l,n,t,e),ha(n,2),Zt(n));break}}t=t.return}}function br(e,t,l){var n=e.pingCache;if(n===null){n=e.pingCache=new A1;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(l)||(fr=!0,a.add(l),e=M1.bind(null,e,t,l),t.then(e,e))}function M1(e,t,l){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Me===e&&(de&l)===l&&(Be===4||Be===3&&(de&62914560)===de&&300>ht()-di?(Se&2)===0&&Wn(e,0):dr|=l,Jn===de&&(Jn=0)),Zt(e)}function Tv(e,t){t===0&&(t=yd()),e=kl(e,t),e!==null&&(ha(e,t),Zt(e))}function O1(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Tv(e,l)}function j1(e,t){var l=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),Tv(e,l)}function R1(e,t){return jc(e,t)}var bi=null,$n=null,Sr=!1,Si=!1,xr=!1,wl=0;function Zt(e){e!==$n&&e.next===null&&($n===null?bi=$n=e:$n=$n.next=e),Si=!0,Sr||(Sr=!0,w1())}function ka(e,t){if(!xr&&Si){xr=!0;do for(var l=!1,n=bi;n!==null;){if(e!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var s=n.suspendedLanes,d=n.pingedLanes;i=(1<<31-gt(42|e)+1)-1,i&=a&~(s&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,_v(n,i))}else i=de,i=Au(n,n===Me?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||ma(n,i)||(l=!0,_v(n,i));n=n.next}while(l);xr=!1}}function D1(){Av()}function Av(){Si=Sr=!1;var e=0;wl!==0&&Q1()&&(e=wl);for(var t=ht(),l=null,n=bi;n!==null;){var a=n.next,i=Nv(n,t);i===0?(n.next=null,l===null?bi=a:l.next=a,a===null&&($n=l)):(l=n,(e!==0||(i&3)!==0)&&(Si=!0)),n=a}Ke!==0&&Ke!==5||ka(e),wl!==0&&(wl=0)}function Nv(e,t){for(var l=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-gt(i),d=1<<s,b=a[s];b===-1?((d&l)===0||(d&n)!==0)&&(a[s]=ib(d,t)):b<=t&&(e.expiredLanes|=d),i&=~d}if(t=Me,l=de,l=Au(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,l===0||e===t&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Rc(n),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||ma(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(n!==null&&Rc(n),Uc(l)){case 2:case 8:l=vd;break;case 32:l=Su;break;case 268435456:l=gd;break;default:l=Su}return n=Cv.bind(null,e),l=jc(l,n),e.callbackPriority=t,e.callbackNode=l,t}return n!==null&&n!==null&&Rc(n),e.callbackPriority=2,e.callbackNode=null,2}function Cv(e,t){if(Ke!==0&&Ke!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(pi()&&e.callbackNode!==l)return null;var n=de;return n=Au(e,e===Me?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(cv(e,n,t),Nv(e,ht()),e.callbackNode!=null&&e.callbackNode===l?Cv.bind(null,e):null)}function _v(e,t){if(pi())return null;cv(e,t,!0)}function w1(){K1(function(){(Se&6)!==0?jc(hd,D1):Av()})}function Er(){if(wl===0){var e=Hn;e===0&&(e=xu,xu<<=1,(xu&261888)===0&&(xu=256)),wl=e}return wl}function zv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:zu(""+e)}function Mv(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function U1(e,t,l,n,a){if(t==="submit"&&l&&l.stateNode===a){var i=zv((a[ct]||null).action),s=n.submitter;s&&(t=(t=s[ct]||null)?zv(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var d=new Ru("action","action",null,n,a);e.push({event:d,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(wl!==0){var b=s?Mv(a,s):new FormData(a);Xo(l,{pending:!0,data:b,method:a.method,action:i},null,b)}}else typeof i=="function"&&(d.preventDefault(),b=s?Mv(a,s):new FormData(a),Xo(l,{pending:!0,data:b,method:a.method,action:i},i,b))},currentTarget:a}]})}}for(var Tr=0;Tr<ao.length;Tr++){var Ar=ao[Tr],H1=Ar.toLowerCase(),B1=Ar[0].toUpperCase()+Ar.slice(1);Bt(H1,"on"+B1)}Bt(im,"onAnimationEnd"),Bt(cm,"onAnimationIteration"),Bt(om,"onAnimationStart"),Bt("dblclick","onDoubleClick"),Bt("focusin","onFocus"),Bt("focusout","onBlur"),Bt(Pb,"onTransitionRun"),Bt(e1,"onTransitionStart"),Bt(t1,"onTransitionCancel"),Bt(rm,"onTransitionEnd"),En("onMouseEnter",["mouseout","mouseover"]),En("onMouseLeave",["mouseout","mouseover"]),En("onPointerEnter",["pointerout","pointerover"]),En("onPointerLeave",["pointerout","pointerover"]),Ql("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ql("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ql("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ql("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ql("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ql("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wa="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(" "),L1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wa));function Ov(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var n=e[l],a=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var s=n.length-1;0<=s;s--){var d=n[s],b=d.instance,_=d.currentTarget;if(d=d.listener,b!==i&&a.isPropagationStopped())break e;i=d,a.currentTarget=_;try{i(a)}catch(w){Uu(w)}a.currentTarget=null,i=b}else for(s=0;s<n.length;s++){if(d=n[s],b=d.instance,_=d.currentTarget,d=d.listener,b!==i&&a.isPropagationStopped())break e;i=d,a.currentTarget=_;try{i(a)}catch(w){Uu(w)}a.currentTarget=null,i=b}}}}function fe(e,t){var l=t[Hc];l===void 0&&(l=t[Hc]=new Set);var n=e+"__bubble";l.has(n)||(jv(t,e,2,!1),l.add(n))}function Nr(e,t,l){var n=0;t&&(n|=4),jv(l,e,n,t)}var xi="_reactListening"+Math.random().toString(36).slice(2);function Cr(e){if(!e[xi]){e[xi]=!0,Ad.forEach(function(l){l!=="selectionchange"&&(L1.has(l)||Nr(l,!1,e),Nr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xi]||(t[xi]=!0,Nr("selectionchange",!1,t))}}function jv(e,t,l,n){switch(i0(t)){case 2:var a=dS;break;case 8:a=mS;break;default:a=Gr}l=a.bind(null,t,l,e),a=void 0,!Zc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),n?a!==void 0?e.addEventListener(t,l,{capture:!0,passive:a}):e.addEventListener(t,l,!0):a!==void 0?e.addEventListener(t,l,{passive:a}):e.addEventListener(t,l,!1)}function _r(e,t,l,n,a){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var d=n.stateNode.containerInfo;if(d===a)break;if(s===4)for(s=n.return;s!==null;){var b=s.tag;if((b===3||b===4)&&s.stateNode.containerInfo===a)return;s=s.return}for(;d!==null;){if(s=bn(d),s===null)return;if(b=s.tag,b===5||b===6||b===26||b===27){n=i=s;continue e}d=d.parentNode}}n=n.return}Hd(function(){var _=i,w=Vc(l),B=[];e:{var M=sm.get(e);if(M!==void 0){var O=Ru,Z=e;switch(e){case"keypress":if(Ou(l)===0)break e;case"keydown":case"keyup":O=jb;break;case"focusin":Z="focus",O=Wc;break;case"focusout":Z="blur",O=Wc;break;case"beforeblur":case"afterblur":O=Wc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=bb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=wb;break;case im:case cm:case om:O=Eb;break;case rm:O=Hb;break;case"scroll":case"scrollend":O=yb;break;case"wheel":O=Lb;break;case"copy":case"cut":case"paste":O=Ab;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=Gd;break;case"toggle":case"beforetoggle":O=Yb}var I=(t&4)!==0,ze=!I&&(e==="scroll"||e==="scrollend"),N=I?M!==null?M+"Capture":null:M;I=[];for(var E=_,C;E!==null;){var U=E;if(C=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||C===null||N===null||(U=ya(E,N),U!=null&&I.push(Fa(E,U,C))),ze)break;E=E.return}0<I.length&&(M=new O(M,Z,null,l,w),B.push({event:M,listeners:I}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",M&&l!==Xc&&(Z=l.relatedTarget||l.fromElement)&&(bn(Z)||Z[pn]))break e;if((O||M)&&(M=w.window===w?w:(M=w.ownerDocument)?M.defaultView||M.parentWindow:window,O?(Z=l.relatedTarget||l.toElement,O=_,Z=Z?bn(Z):null,Z!==null&&(ze=m(Z),I=Z.tag,Z!==ze||I!==5&&I!==27&&I!==6)&&(Z=null)):(O=null,Z=_),O!==Z)){if(I=qd,U="onMouseLeave",N="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(I=Gd,U="onPointerLeave",N="onPointerEnter",E="pointer"),ze=O==null?M:ga(O),C=Z==null?M:ga(Z),M=new I(U,E+"leave",O,l,w),M.target=ze,M.relatedTarget=C,U=null,bn(w)===_&&(I=new I(N,E+"enter",Z,l,w),I.target=C,I.relatedTarget=ze,U=I),ze=U,O&&Z)t:{for(I=q1,N=O,E=Z,C=0,U=N;U;U=I(U))C++;U=0;for(var F=E;F;F=I(F))U++;for(;0<C-U;)N=I(N),C--;for(;0<U-C;)E=I(E),U--;for(;C--;){if(N===E||E!==null&&N===E.alternate){I=N;break t}N=I(N),E=I(E)}I=null}else I=null;O!==null&&Rv(B,M,O,I,!1),Z!==null&&ze!==null&&Rv(B,ze,Z,I,!0)}}e:{if(M=_?ga(_):window,O=M.nodeName&&M.nodeName.toLowerCase(),O==="select"||O==="input"&&M.type==="file")var ye=Wd;else if(Jd(M))if(Fd)ye=Fb;else{ye=kb;var J=Jb}else O=M.nodeName,!O||O.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?_&&Gc(_.elementType)&&(ye=Wd):ye=Wb;if(ye&&(ye=ye(e,_))){kd(B,ye,l,w);break e}J&&J(e,M,_),e==="focusout"&&_&&M.type==="number"&&_.memoizedProps.value!=null&&Yc(M,"number",M.value)}switch(J=_?ga(_):window,e){case"focusin":(Jd(J)||J.contentEditable==="true")&&(zn=J,to=_,Na=null);break;case"focusout":Na=to=zn=null;break;case"mousedown":lo=!0;break;case"contextmenu":case"mouseup":case"dragend":lo=!1,am(B,l,w);break;case"selectionchange":if(Ib)break;case"keydown":case"keyup":am(B,l,w)}var ce;if($c)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else _n?Zd(e,l)&&(me="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(me="onCompositionStart");me&&(Xd&&l.locale!=="ko"&&(_n||me!=="onCompositionStart"?me==="onCompositionEnd"&&_n&&(ce=Bd()):(pl=w,Kc="value"in pl?pl.value:pl.textContent,_n=!0)),J=Ei(_,me),0<J.length&&(me=new Yd(me,e,null,l,w),B.push({event:me,listeners:J}),ce?me.data=ce:(ce=Kd(l),ce!==null&&(me.data=ce)))),(ce=Xb?Vb(e,l):Qb(e,l))&&(me=Ei(_,"onBeforeInput"),0<me.length&&(J=new Yd("onBeforeInput","beforeinput",null,l,w),B.push({event:J,listeners:me}),J.data=ce)),U1(B,e,_,l,w)}Ov(B,t)})}function Fa(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Ei(e,t){for(var l=t+"Capture",n=[];e!==null;){var a=e,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=ya(e,l),a!=null&&n.unshift(Fa(e,a,i)),a=ya(e,t),a!=null&&n.push(Fa(e,a,i))),e.tag===3)return n;e=e.return}return[]}function q1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Rv(e,t,l,n,a){for(var i=t._reactName,s=[];l!==null&&l!==n;){var d=l,b=d.alternate,_=d.stateNode;if(d=d.tag,b!==null&&b===n)break;d!==5&&d!==26&&d!==27||_===null||(b=_,a?(_=ya(l,i),_!=null&&s.unshift(Fa(l,_,b))):a||(_=ya(l,i),_!=null&&s.push(Fa(l,_,b)))),l=l.return}s.length!==0&&e.push({event:t,listeners:s})}var Y1=/\r\n?/g,G1=/\u0000|\uFFFD/g;function Dv(e){return(typeof e=="string"?e:""+e).replace(Y1,`
|
|
41
|
-
`).replace(G1,"")}function wv(e,t){return t=Dv(t),Dv(e)===t}function _e(e,t,l,n,a,i){switch(l){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||An(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&An(e,""+n);break;case"className":Cu(e,"class",n);break;case"tabIndex":Cu(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Cu(e,l,n);break;case"style":wd(e,n,i);break;case"data":if(t!=="object"){Cu(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=zu(""+n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"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 i=="function"&&(l==="formAction"?(t!=="input"&&_e(e,t,"name",a.name,a,null),_e(e,t,"formEncType",a.formEncType,a,null),_e(e,t,"formMethod",a.formMethod,a,null),_e(e,t,"formTarget",a.formTarget,a,null)):(_e(e,t,"encType",a.encType,a,null),_e(e,t,"method",a.method,a,null),_e(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=zu(""+n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=Ft);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=zu(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""+n):e.removeAttribute(l);break;case"inert":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":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":fe("beforetoggle",e),fe("toggle",e),Nu(e,"popover",n);break;case"xlinkActuate":Wt(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Wt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Wt(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Wt(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Wt(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Wt(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Nu(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=vb.get(l)||l,Nu(e,l,n))}}function zr(e,t,l,n,a,i){switch(l){case"style":wd(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof n=="string"?An(e,n):(typeof n=="number"||typeof n=="bigint")&&An(e,""+n);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=Ft);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nd.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),t=l.slice(2,a?l.length-7:void 0),i=e[ct]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,a),typeof n=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,n,a);break e}l in e?e[l]=n:n===!0?e.setAttribute(l,""):Nu(e,l,n)}}}function Pe(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",e),fe("load",e);var n=!1,a=!1,i;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];if(s!=null)switch(i){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:_e(e,t,i,s,l,null)}}a&&_e(e,t,"srcSet",l.srcSet,l,null),n&&_e(e,t,"src",l.src,l,null);return;case"input":fe("invalid",e);var d=i=s=a=null,b=null,_=null;for(n in l)if(l.hasOwnProperty(n)){var w=l[n];if(w!=null)switch(n){case"name":a=w;break;case"type":s=w;break;case"checked":b=w;break;case"defaultChecked":_=w;break;case"value":i=w;break;case"defaultValue":d=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(o(137,t));break;default:_e(e,t,n,w,l,null)}}Od(e,i,d,b,_,s,a,!1);return;case"select":fe("invalid",e),n=s=i=null;for(a in l)if(l.hasOwnProperty(a)&&(d=l[a],d!=null))switch(a){case"value":i=d;break;case"defaultValue":s=d;break;case"multiple":n=d;default:_e(e,t,a,d,l,null)}t=i,l=s,e.multiple=!!n,t!=null?Tn(e,!!n,t,!1):l!=null&&Tn(e,!!n,l,!0);return;case"textarea":fe("invalid",e),i=a=n=null;for(s in l)if(l.hasOwnProperty(s)&&(d=l[s],d!=null))switch(s){case"value":n=d;break;case"defaultValue":a=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(o(91));break;default:_e(e,t,s,d,l,null)}Rd(e,n,a,i);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(n=l[b],n!=null))switch(b){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:_e(e,t,b,n,l,null)}return;case"dialog":fe("beforetoggle",e),fe("toggle",e),fe("cancel",e),fe("close",e);break;case"iframe":case"object":fe("load",e);break;case"video":case"audio":for(n=0;n<Wa.length;n++)fe(Wa[n],e);break;case"image":fe("error",e),fe("load",e);break;case"details":fe("toggle",e);break;case"embed":case"source":case"link":fe("error",e),fe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in l)if(l.hasOwnProperty(_)&&(n=l[_],n!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:_e(e,t,_,n,l,null)}return;default:if(Gc(t)){for(w in l)l.hasOwnProperty(w)&&(n=l[w],n!==void 0&&zr(e,t,w,n,l,void 0));return}}for(d in l)l.hasOwnProperty(d)&&(n=l[d],n!=null&&_e(e,t,d,n,l,null))}function X1(e,t,l,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,s=null,d=null,b=null,_=null,w=null;for(O in l){var B=l[O];if(l.hasOwnProperty(O)&&B!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":b=B;default:n.hasOwnProperty(O)||_e(e,t,O,null,n,B)}}for(var M in n){var O=n[M];if(B=l[M],n.hasOwnProperty(M)&&(O!=null||B!=null))switch(M){case"type":i=O;break;case"name":a=O;break;case"checked":_=O;break;case"defaultChecked":w=O;break;case"value":s=O;break;case"defaultValue":d=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,t));break;default:O!==B&&_e(e,t,M,O,n,B)}}qc(e,s,d,b,_,w,i,a);return;case"select":O=s=d=M=null;for(i in l)if(b=l[i],l.hasOwnProperty(i)&&b!=null)switch(i){case"value":break;case"multiple":O=b;default:n.hasOwnProperty(i)||_e(e,t,i,null,n,b)}for(a in n)if(i=n[a],b=l[a],n.hasOwnProperty(a)&&(i!=null||b!=null))switch(a){case"value":M=i;break;case"defaultValue":d=i;break;case"multiple":s=i;default:i!==b&&_e(e,t,a,i,n,b)}t=d,l=s,n=O,M!=null?Tn(e,!!l,M,!1):!!n!=!!l&&(t!=null?Tn(e,!!l,t,!0):Tn(e,!!l,l?[]:"",!1));return;case"textarea":O=M=null;for(d in l)if(a=l[d],l.hasOwnProperty(d)&&a!=null&&!n.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:_e(e,t,d,null,n,a)}for(s in n)if(a=n[s],i=l[s],n.hasOwnProperty(s)&&(a!=null||i!=null))switch(s){case"value":M=a;break;case"defaultValue":O=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(o(91));break;default:a!==i&&_e(e,t,s,a,n,i)}jd(e,M,O);return;case"option":for(var Z in l)if(M=l[Z],l.hasOwnProperty(Z)&&M!=null&&!n.hasOwnProperty(Z))switch(Z){case"selected":e.selected=!1;break;default:_e(e,t,Z,null,n,M)}for(b in n)if(M=n[b],O=l[b],n.hasOwnProperty(b)&&M!==O&&(M!=null||O!=null))switch(b){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:_e(e,t,b,M,n,O)}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 I in l)M=l[I],l.hasOwnProperty(I)&&M!=null&&!n.hasOwnProperty(I)&&_e(e,t,I,null,n,M);for(_ in n)if(M=n[_],O=l[_],n.hasOwnProperty(_)&&M!==O&&(M!=null||O!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(o(137,t));break;default:_e(e,t,_,M,n,O)}return;default:if(Gc(t)){for(var ze in l)M=l[ze],l.hasOwnProperty(ze)&&M!==void 0&&!n.hasOwnProperty(ze)&&zr(e,t,ze,void 0,n,M);for(w in n)M=n[w],O=l[w],!n.hasOwnProperty(w)||M===O||M===void 0&&O===void 0||zr(e,t,w,M,n,O);return}}for(var N in l)M=l[N],l.hasOwnProperty(N)&&M!=null&&!n.hasOwnProperty(N)&&_e(e,t,N,null,n,M);for(B in n)M=n[B],O=l[B],!n.hasOwnProperty(B)||M===O||M==null&&O==null||_e(e,t,B,M,n,O)}function Uv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function V1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],i=a.transferSize,s=a.initiatorType,d=a.duration;if(i&&d&&Uv(s)){for(s=0,d=a.responseEnd,n+=1;n<l.length;n++){var b=l[n],_=b.startTime;if(_>d)break;var w=b.transferSize,B=b.initiatorType;w&&Uv(B)&&(b=b.responseEnd,s+=w*(b<d?1:(d-_)/(b-_)))}if(--n,t+=8*(i+s)/(a.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Mr=null,Or=null;function Ti(e){return e.nodeType===9?e:e.ownerDocument}function Hv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Bv(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function jr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Rr=null;function Q1(){var e=window.event;return e&&e.type==="popstate"?e===Rr?!1:(Rr=e,!0):(Rr=null,!1)}var Lv=typeof setTimeout=="function"?setTimeout:void 0,Z1=typeof clearTimeout=="function"?clearTimeout:void 0,qv=typeof Promise=="function"?Promise:void 0,K1=typeof queueMicrotask=="function"?queueMicrotask:typeof qv<"u"?function(e){return qv.resolve(null).then(e).catch(J1)}:Lv;function J1(e){setTimeout(function(){throw e})}function Ul(e){return e==="head"}function Yv(e,t){var l=t,n=0;do{var a=l.nextSibling;if(e.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){e.removeChild(a),ta(t);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")$a(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,$a(l);for(var i=l.firstChild;i;){var s=i.nextSibling,d=i.nodeName;i[va]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=s}}else l==="body"&&$a(e.ownerDocument.body);l=a}while(l);ta(t)}function Gv(e,t){var l=e;e=0;do{var n=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=n}while(l)}function Dr(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Dr(l),Bc(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function k1(e,t,l,n){for(;e.nodeType===1;){var a=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[va])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==a.rel||e.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||e.getAttribute("title")!==(a.title==null?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(a.src==null?null:a.src)||e.getAttribute("type")!==(a.type==null?null:a.type)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=wt(e.nextSibling),e===null)break}return null}function W1(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=wt(e.nextSibling),e===null))return null;return e}function Xv(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=wt(e.nextSibling),e===null))return null;return e}function wr(e){return e.data==="$?"||e.data==="$~"}function Ur(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function F1(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var n=function(){t(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function wt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Hr=null;function Vv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return wt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Qv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Zv(e,t,l){switch(t=Ti(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function $a(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Bc(e)}var Ut=new Map,Kv=new Set;function Ai(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var dl=G.d;G.d={f:$1,r:I1,D:P1,C:eS,L:tS,m:lS,X:aS,S:nS,M:uS};function $1(){var e=dl.f(),t=vi();return e||t}function I1(e){var t=Sn(e);t!==null&&t.tag===5&&t.type==="form"?rh(t):dl.r(e)}var In=typeof document>"u"?null:document;function Jv(e,t,l){var n=In;if(n&&typeof t=="string"&&t){var a=_t(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),Kv.has(a)||(Kv.add(a),e={rel:e,crossOrigin:l,href:t},n.querySelector(a)===null&&(t=n.createElement("link"),Pe(t,"link",e),Je(t),n.head.appendChild(t)))}}function P1(e){dl.D(e),Jv("dns-prefetch",e,null)}function eS(e,t){dl.C(e,t),Jv("preconnect",e,t)}function tS(e,t,l){dl.L(e,t,l);var n=In;if(n&&e&&t){var a='link[rel="preload"][as="'+_t(t)+'"]';t==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+_t(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+_t(l.imageSizes)+'"]')):a+='[href="'+_t(e)+'"]';var i=a;switch(t){case"style":i=Pn(e);break;case"script":i=ea(e)}Ut.has(i)||(e=T({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Ut.set(i,e),n.querySelector(a)!==null||t==="style"&&n.querySelector(Ia(i))||t==="script"&&n.querySelector(Pa(i))||(t=n.createElement("link"),Pe(t,"link",e),Je(t),n.head.appendChild(t)))}}function lS(e,t){dl.m(e,t);var l=In;if(l&&e){var n=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+_t(n)+'"][href="'+_t(e)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=ea(e)}if(!Ut.has(i)&&(e=T({rel:"modulepreload",href:e},t),Ut.set(i,e),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Pa(i)))return}n=l.createElement("link"),Pe(n,"link",e),Je(n),l.head.appendChild(n)}}}function nS(e,t,l){dl.S(e,t,l);var n=In;if(n&&e){var a=xn(n).hoistableStyles,i=Pn(e);t=t||"default";var s=a.get(i);if(!s){var d={loading:0,preload:null};if(s=n.querySelector(Ia(i)))d.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Ut.get(i))&&Br(e,l);var b=s=n.createElement("link");Je(b),Pe(b,"link",e),b._p=new Promise(function(_,w){b.onload=_,b.onerror=w}),b.addEventListener("load",function(){d.loading|=1}),b.addEventListener("error",function(){d.loading|=2}),d.loading|=4,Ni(s,t,n)}s={type:"stylesheet",instance:s,count:1,state:d},a.set(i,s)}}}function aS(e,t){dl.X(e,t);var l=In;if(l&&e){var n=xn(l).hoistableScripts,a=ea(e),i=n.get(a);i||(i=l.querySelector(Pa(a)),i||(e=T({src:e,async:!0},t),(t=Ut.get(a))&&Lr(e,t),i=l.createElement("script"),Je(i),Pe(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function uS(e,t){dl.M(e,t);var l=In;if(l&&e){var n=xn(l).hoistableScripts,a=ea(e),i=n.get(a);i||(i=l.querySelector(Pa(a)),i||(e=T({src:e,async:!0,type:"module"},t),(t=Ut.get(a))&&Lr(e,t),i=l.createElement("script"),Je(i),Pe(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function kv(e,t,l,n){var a=(a=re.current)?Ai(a):null;if(!a)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Pn(l.href),l=xn(a).hoistableStyles,n=l.get(t),n||(n={type:"style",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Pn(l.href);var i=xn(a).hoistableStyles,s=i.get(e);if(s||(a=a.ownerDocument||a,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=a.querySelector(Ia(e)))&&!i._p&&(s.instance=i,s.state.loading=5),Ut.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ut.set(e,l),i||iS(a,e,l,s.state))),t&&n===null)throw Error(o(528,""));return s}if(t&&n!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ea(l),l=xn(a).hoistableScripts,n=l.get(t),n||(n={type:"script",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Pn(e){return'href="'+_t(e)+'"'}function Ia(e){return'link[rel="stylesheet"]['+e+"]"}function Wv(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function iS(e,t,l,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),Pe(t,"link",l),Je(t),e.head.appendChild(t))}function ea(e){return'[src="'+_t(e)+'"]'}function Pa(e){return"script[async]"+e}function Fv(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+_t(l.href)+'"]');if(n)return t.instance=n,Je(n),n;var a=T({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Je(n),Pe(n,"style",a),Ni(n,l.precedence,e),t.instance=n;case"stylesheet":a=Pn(l.href);var i=e.querySelector(Ia(a));if(i)return t.state.loading|=4,t.instance=i,Je(i),i;n=Wv(l),(a=Ut.get(a))&&Br(n,a),i=(e.ownerDocument||e).createElement("link"),Je(i);var s=i;return s._p=new Promise(function(d,b){s.onload=d,s.onerror=b}),Pe(i,"link",n),t.state.loading|=4,Ni(i,l.precedence,e),t.instance=i;case"script":return i=ea(l.src),(a=e.querySelector(Pa(i)))?(t.instance=a,Je(a),a):(n=l,(a=Ut.get(i))&&(n=T({},l),Lr(n,a)),e=e.ownerDocument||e,a=e.createElement("script"),Je(a),Pe(a,"link",n),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,Ni(n,l.precedence,e));return t.instance}function Ni(e,t,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,s=0;s<n.length;s++){var d=n[s];if(d.dataset.precedence===t)i=d;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Br(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Lr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ci=null;function $v(e,t,l){if(Ci===null){var n=new Map,a=Ci=new Map;a.set(l,n)}else a=Ci,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(e))return n;for(n.set(e,null),l=l.getElementsByTagName(e),a=0;a<l.length;a++){var i=l[a];if(!(i[va]||i[We]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var d=n.get(s);d?d.push(i):n.set(s,[i])}}return n}function Iv(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function cS(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Pv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function oS(e,t,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Pn(n.href),i=t.querySelector(Ia(a));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_i.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=i,Je(i);return}i=t.ownerDocument||t,n=Wv(n),(a=Ut.get(a))&&Br(n,a),i=i.createElement("link"),Je(i);var s=i;s._p=new Promise(function(d,b){s.onload=d,s.onerror=b}),Pe(i,"link",n),l.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=_i.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var qr=0;function rS(e,t){return e.stylesheets&&e.count===0&&Mi(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var n=setTimeout(function(){if(e.stylesheets&&Mi(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&qr===0&&(qr=62500*V1());var a=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Mi(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>qr?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function _i(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Mi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var zi=null;function Mi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,zi=new Map,t.forEach(sS,e),zi=null,_i.call(e))}function sS(e,t){if(!(t.state.loading&4)){var l=zi.get(e);if(l)var n=l.get(null);else{l=new Map,zi.set(e,l);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var s=a[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),n=s)}n&&l.set(null,n)}a=t.instance,s=a.getAttribute("data-precedence"),i=l.get(s)||n,i===n&&l.set(null,a),l.set(s,a),this.count++,n=_i.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),i?i.parentNode.insertBefore(a,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(a,e.firstChild)),t.state.loading|=4}}var eu={$$typeof:k,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function fS(e,t,l,n,a,i,s,d,b){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Dc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dc(0),this.hiddenUpdates=Dc(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function e0(e,t,l,n,a,i,s,d,b,_,w,B){return e=new fS(e,t,l,s,b,_,w,B,d),t=1,i===!0&&(t|=24),i=pt(3,null,null,t),e.current=i,i.stateNode=e,t=po(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:t},Eo(i),e}function t0(e){return e?(e=jn,e):jn}function l0(e,t,l,n,a,i){a=t0(a),n.context===null?n.context=a:n.pendingContext=a,n=Al(t),n.payload={element:l},i=i===void 0?null:i,i!==null&&(n.callback=i),l=Nl(e,n,t),l!==null&&(mt(l,e,t),Ra(l,e,t))}function n0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Yr(e,t){n0(e,t),(e=e.alternate)&&n0(e,t)}function a0(e){if(e.tag===13||e.tag===31){var t=kl(e,67108864);t!==null&&mt(t,e,67108864),Yr(e,67108864)}}function u0(e){if(e.tag===13||e.tag===31){var t=Tt();t=wc(t);var l=kl(e,t);l!==null&&mt(l,e,t),Yr(e,t)}}var Oi=!0;function dS(e,t,l,n){var a=R.T;R.T=null;var i=G.p;try{G.p=2,Gr(e,t,l,n)}finally{G.p=i,R.T=a}}function mS(e,t,l,n){var a=R.T;R.T=null;var i=G.p;try{G.p=8,Gr(e,t,l,n)}finally{G.p=i,R.T=a}}function Gr(e,t,l,n){if(Oi){var a=Xr(n);if(a===null)_r(e,t,n,ji,l),c0(e,n);else if(vS(a,e,t,l,n))n.stopPropagation();else if(c0(e,n),t&4&&-1<hS.indexOf(e)){for(;a!==null;){var i=Sn(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Vl(i.pendingLanes);if(s!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;s;){var b=1<<31-gt(s);d.entanglements[1]|=b,s&=~b}Zt(i),(Se&6)===0&&(mi=ht()+500,ka(0))}}break;case 31:case 13:d=kl(i,2),d!==null&&mt(d,i,2),vi(),Yr(i,2)}if(i=Xr(n),i===null&&_r(e,t,n,ji,l),i===a)break;a=i}a!==null&&n.stopPropagation()}else _r(e,t,n,null,l)}}function Xr(e){return e=Vc(e),Vr(e)}var ji=null;function Vr(e){if(ji=null,e=bn(e),e!==null){var t=m(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=y(t),e!==null)return e;e=null}else if(l===31){if(e=h(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ji=e,null}function i0(e){switch(e){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 2;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 8;case"message":switch(Pp()){case hd:return 2;case vd:return 8;case Su:case eb:return 32;case gd:return 268435456;default:return 32}default:return 32}}var Qr=!1,Hl=null,Bl=null,Ll=null,tu=new Map,lu=new Map,ql=[],hS="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(" ");function c0(e,t){switch(e){case"focusin":case"focusout":Hl=null;break;case"dragenter":case"dragleave":Bl=null;break;case"mouseover":case"mouseout":Ll=null;break;case"pointerover":case"pointerout":tu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lu.delete(t.pointerId)}}function nu(e,t,l,n,a,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},t!==null&&(t=Sn(t),t!==null&&a0(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function vS(e,t,l,n,a){switch(t){case"focusin":return Hl=nu(Hl,e,t,l,n,a),!0;case"dragenter":return Bl=nu(Bl,e,t,l,n,a),!0;case"mouseover":return Ll=nu(Ll,e,t,l,n,a),!0;case"pointerover":var i=a.pointerId;return tu.set(i,nu(tu.get(i)||null,e,t,l,n,a)),!0;case"gotpointercapture":return i=a.pointerId,lu.set(i,nu(lu.get(i)||null,e,t,l,n,a)),!0}return!1}function o0(e){var t=bn(e.target);if(t!==null){var l=m(t);if(l!==null){if(t=l.tag,t===13){if(t=y(l),t!==null){e.blockedOn=t,Ed(e.priority,function(){u0(l)});return}}else if(t===31){if(t=h(l),t!==null){e.blockedOn=t,Ed(e.priority,function(){u0(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ri(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Xr(e.nativeEvent);if(l===null){l=e.nativeEvent;var n=new l.constructor(l.type,l);Xc=n,l.target.dispatchEvent(n),Xc=null}else return t=Sn(l),t!==null&&a0(t),e.blockedOn=l,!1;t.shift()}return!0}function r0(e,t,l){Ri(e)&&l.delete(t)}function gS(){Qr=!1,Hl!==null&&Ri(Hl)&&(Hl=null),Bl!==null&&Ri(Bl)&&(Bl=null),Ll!==null&&Ri(Ll)&&(Ll=null),tu.forEach(r0),lu.forEach(r0)}function Di(e,t){e.blockedOn===t&&(e.blockedOn=null,Qr||(Qr=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,gS)))}var wi=null;function s0(e){wi!==e&&(wi=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){wi===e&&(wi=null);for(var t=0;t<e.length;t+=3){var l=e[t],n=e[t+1],a=e[t+2];if(typeof n!="function"){if(Vr(n||l)===null)continue;break}var i=Sn(l);i!==null&&(e.splice(t,3),t-=3,Xo(i,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function ta(e){function t(b){return Di(b,e)}Hl!==null&&Di(Hl,e),Bl!==null&&Di(Bl,e),Ll!==null&&Di(Ll,e),tu.forEach(t),lu.forEach(t);for(var l=0;l<ql.length;l++){var n=ql[l];n.blockedOn===e&&(n.blockedOn=null)}for(;0<ql.length&&(l=ql[0],l.blockedOn===null);)o0(l),l.blockedOn===null&&ql.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],i=l[n+1],s=a[ct]||null;if(typeof i=="function")s||s0(l);else if(s){var d=null;if(i&&i.hasAttribute("formAction")){if(a=i,s=i[ct]||null)d=s.formAction;else if(Vr(a)!==null)continue}else d=s.action;typeof d=="function"?l[n+1]=d:(l.splice(n,3),n-=3),s0(l)}}}function f0(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return a=s})},focusReset:"manual",scroll:"manual"})}function t(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),a!==null&&(a(),a=null)}}}function Zr(e){this._internalRoot=e}Ui.prototype.render=Zr.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,n=Tt();l0(l,n,e,t,null,null)},Ui.prototype.unmount=Zr.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;l0(e.current,2,null,e,null,null),vi(),t[pn]=null}};function Ui(e){this._internalRoot=e}Ui.prototype.unstable_scheduleHydration=function(e){if(e){var t=xd();e={blockedOn:null,target:e,priority:t};for(var l=0;l<ql.length&&t!==0&&t<ql[l].priority;l++);ql.splice(l,0,e),l===0&&o0(e)}};var d0=c.version;if(d0!=="19.2.4")throw Error(o(527,d0,"19.2.4"));G.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=g(t),e=e!==null?A(e):null,e=e===null?null:e.stateNode,e};var yS={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Hi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hi.isDisabled&&Hi.supportsFiber)try{da=Hi.inject(yS),vt=Hi}catch{}}return na.createRoot=function(e,t){if(!f(e))throw Error(o(299));var l=!1,n="",a=bh,i=Sh,s=xh;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(a=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=e0(e,1,!1,null,null,l,n,null,a,i,s,f0),e[pn]=t.current,Cr(e),new Zr(t)},na.hydrateRoot=function(e,t,l){if(!f(e))throw Error(o(299));var n=!1,a="",i=bh,s=Sh,d=xh,b=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(d=l.onRecoverableError),l.formState!==void 0&&(b=l.formState)),t=e0(e,1,!0,t,l??null,n,a,b,i,s,d,f0),t.context=t0(null),l=t.current,n=Tt(),n=wc(n),a=Al(n),a.callback=null,Nl(l,a,n),l=n,t.current.lanes=l,ha(t,l),Zt(t),e[pn]=t.current,Cr(e),new Ui(t)},na.version="19.2.4",na}var ts;function b0(){if(ts)return qi.exports;ts=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),qi.exports=p0(),qi.exports}var S0=b0(),Vi={exports:{}},aa={};/**
|
|
40
|
+
`+n.stack}}var jc=Object.prototype.hasOwnProperty,Rc=u.unstable_scheduleCallback,Dc=u.unstable_cancelCallback,eb=u.unstable_shouldYield,tb=u.unstable_requestPaint,ht=u.unstable_now,lb=u.unstable_getCurrentPriorityLevel,vd=u.unstable_ImmediatePriority,yd=u.unstable_UserBlockingPriority,Su=u.unstable_NormalPriority,nb=u.unstable_LowPriority,gd=u.unstable_IdlePriority,ab=u.log,ub=u.unstable_setDisableYieldValue,da=null,vt=null;function yl(e){if(typeof ab=="function"&&ub(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(da,e)}catch{}}var yt=Math.clz32?Math.clz32:ob,ib=Math.log,cb=Math.LN2;function ob(e){return e>>>=0,e===0?32:31-(ib(e)/cb|0)|0}var xu=256,Eu=262144,Tu=4194304;function Vl(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Au(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var m=n&134217727;return m!==0?(n=m&~i,n!==0?a=Vl(n):(s&=m,s!==0?a=Vl(s):l||(l=m&~e,l!==0&&(a=Vl(l))))):(m=n&~i,m!==0?a=Vl(m):s!==0?a=Vl(s):l||(l=n&~e,l!==0&&(a=Vl(l)))),a===0?0:t!==0&&t!==a&&(t&i)===0&&(i=a&-a,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:a}function ma(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rb(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function pd(){var e=Tu;return Tu<<=1,(Tu&62914560)===0&&(Tu=4194304),e}function wc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function ha(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function sb(e,t,l,n,a,i){var s=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var m=e.entanglements,b=e.expirationTimes,z=e.hiddenUpdates;for(l=s&~l;0<l;){var w=31-yt(l),B=1<<w;m[w]=0,b[w]=-1;var M=z[w];if(M!==null)for(z[w]=null,w=0;w<M.length;w++){var O=M[w];O!==null&&(O.lane&=-536870913)}l&=~B}n!==0&&bd(e,n,0),i!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function bd(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-yt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function Sd(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-yt(l),a=1<<n;a&t|e[n]&t&&(e[n]|=t),l&=~a}}function xd(e,t){var l=t&-t;return l=(l&42)!==0?1:Uc(l),(l&(e.suspendedLanes|t))!==0?0:l}function Uc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Hc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ed(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:cy(e.type))}function Td(e,t){var l=G.p;try{return G.p=e,t()}finally{G.p=l}}var gl=Math.random().toString(36).slice(2),We="__reactFiber$"+gl,ct="__reactProps$"+gl,pn="__reactContainer$"+gl,Bc="__reactEvents$"+gl,fb="__reactListeners$"+gl,db="__reactHandles$"+gl,Ad="__reactResources$"+gl,va="__reactMarker$"+gl;function Lc(e){delete e[We],delete e[ct],delete e[Bc],delete e[fb],delete e[db]}function bn(e){var t=e[We];if(t)return t;for(var l=e.parentNode;l;){if(t=l[pn]||l[We]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Zv(e);e!==null;){if(l=e[We])return l;e=Zv(e)}return t}e=l,l=e.parentNode}return null}function Sn(e){if(e=e[We]||e[pn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ya(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function xn(e){var t=e[Ad];return t||(t=e[Ad]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[va]=!0}var Nd=new Set,Cd={};function Ql(e,t){En(e,t),En(e+"Capture",t)}function En(e,t){for(Cd[e]=t,e=0;e<t.length;e++)Nd.add(t[e])}var mb=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]*$"),_d={},zd={};function hb(e){return jc.call(zd,e)?!0:jc.call(_d,e)?!1:mb.test(e)?zd[e]=!0:(_d[e]=!0,!1)}function Nu(e,t,l){if(hb(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function Cu(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function Wt(e,t,l,n){if(n===null)e.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+n)}}function Ct(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Md(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vb(e,t,l){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(s){l=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qc(e){if(!e._valueTracker){var t=Md(e)?"checked":"value";e._valueTracker=vb(e,t,""+e[t])}}function Od(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),n="";return e&&(n=Md(e)?e.checked?"true":"false":e.value),e=n,e!==l?(t.setValue(e),!0):!1}function _u(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var yb=/[\n"\\]/g;function _t(e){return e.replace(yb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Yc(e,t,l,n,a,i,s,m){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ct(t)):e.value!==""+Ct(t)&&(e.value=""+Ct(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?Gc(e,s,Ct(t)):l!=null?Gc(e,s,Ct(l)):n!=null&&e.removeAttribute("value"),a==null&&i!=null&&(e.defaultChecked=!!i),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Ct(m):e.removeAttribute("name")}function jd(e,t,l,n,a,i,s,m){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){qc(e);return}l=l!=null?""+Ct(l):"",t=t!=null?""+Ct(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=m?e.checked:!!n,e.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),qc(e)}function Gc(e,t,l){t==="number"&&_u(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Tn(e,t,l,n){if(e=e.options,t){t={};for(var a=0;a<l.length;a++)t["$"+l[a]]=!0;for(l=0;l<e.length;l++)a=t.hasOwnProperty("$"+e[l].value),e[l].selected!==a&&(e[l].selected=a),a&&n&&(e[l].defaultSelected=!0)}else{for(l=""+Ct(l),t=null,a=0;a<e.length;a++){if(e[a].value===l){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function Rd(e,t,l){if(t!=null&&(t=""+Ct(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Ct(l):""}function Dd(e,t,l,n){if(t==null){if(n!=null){if(l!=null)throw Error(o(92));if(lt(n)){if(1<n.length)throw Error(o(93));n=n[0]}l=n}l==null&&(l=""),t=l}l=Ct(t),e.defaultValue=l,n=e.textContent,n===l&&n!==""&&n!==null&&(e.value=n),qc(e)}function An(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var gb=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(" "));function wd(e,t,l){var n=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,l):typeof l!="number"||l===0||gb.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Ud(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var a in t)n=t[a],t.hasOwnProperty(a)&&l[a]!==n&&wd(e,a,n)}else for(var i in t)t.hasOwnProperty(i)&&wd(e,i,t[i])}function Xc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pb=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"]]),bb=/^[\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;function zu(e){return bb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ft(){}var Vc=null;function Qc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nn=null,Cn=null;function Hd(e){var t=Sn(e);if(t&&(e=t.stateNode)){var l=e[ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(Yc(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+_t(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var n=l[t];if(n!==e&&n.form===e.form){var a=n[ct]||null;if(!a)throw Error(o(90));Yc(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<l.length;t++)n=l[t],n.form===e.form&&Od(n)}break e;case"textarea":Rd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Tn(e,!!l.multiple,t,!1)}}}var Zc=!1;function Bd(e,t,l){if(Zc)return e(t,l);Zc=!0;try{var n=e(t);return n}finally{if(Zc=!1,(Nn!==null||Cn!==null)&&(vi(),Nn&&(t=Nn,e=Cn,Cn=Nn=null,Hd(t),e)))for(t=0;t<e.length;t++)Hd(e[t])}}function ga(e,t){var l=e.stateNode;if(l===null)return null;var n=l[ct]||null;if(n===null)return null;l=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(o(231,t,typeof l));return l}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kc=!1;if($t)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){Kc=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{Kc=!1}var pl=null,Jc=null,Mu=null;function Ld(){if(Mu)return Mu;var e,t=Jc,l=t.length,n,a="value"in pl?pl.value:pl.textContent,i=a.length;for(e=0;e<l&&t[e]===a[e];e++);var s=l-e;for(n=1;n<=s&&t[l-n]===a[i-n];n++);return Mu=a.slice(e,1<n?1-n:void 0)}function Ou(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ju(){return!0}function qd(){return!1}function ot(e){function t(l,n,a,i,s){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(l=e[m],this[m]=l?l(i):i[m]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ju:qd,this.isPropagationStopped=qd,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ju)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ju)},persist:function(){},isPersistent:ju}),t}var Zl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ru=ot(Zl),ba=T({},Zl,{view:0,detail:0}),Sb=ot(ba),kc,Wc,Sa,Du=T({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$c,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Sa&&(Sa&&e.type==="mousemove"?(kc=e.screenX-Sa.screenX,Wc=e.screenY-Sa.screenY):Wc=kc=0,Sa=e),kc)},movementY:function(e){return"movementY"in e?e.movementY:Wc}}),Yd=ot(Du),xb=T({},Du,{dataTransfer:0}),Eb=ot(xb),Tb=T({},ba,{relatedTarget:0}),Fc=ot(Tb),Ab=T({},Zl,{animationName:0,elapsedTime:0,pseudoElement:0}),Nb=ot(Ab),Cb=T({},Zl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_b=ot(Cb),zb=T({},Zl,{data:0}),Gd=ot(zb),Mb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ob={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"},jb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=jb[e])?!!t[e]:!1}function $c(){return Rb}var Db=T({},ba,{key:function(e){if(e.key){var t=Mb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ou(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ob[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$c,charCode:function(e){return e.type==="keypress"?Ou(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ou(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wb=ot(Db),Ub=T({},Du,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xd=ot(Ub),Hb=T({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$c}),Bb=ot(Hb),Lb=T({},Zl,{propertyName:0,elapsedTime:0,pseudoElement:0}),qb=ot(Lb),Yb=T({},Du,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Gb=ot(Yb),Xb=T({},Zl,{newState:0,oldState:0}),Vb=ot(Xb),Qb=[9,13,27,32],Ic=$t&&"CompositionEvent"in window,xa=null;$t&&"documentMode"in document&&(xa=document.documentMode);var Zb=$t&&"TextEvent"in window&&!xa,Vd=$t&&(!Ic||xa&&8<xa&&11>=xa),Qd=" ",Zd=!1;function Kd(e,t){switch(e){case"keyup":return Qb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _n=!1;function Kb(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(Zd=!0,Qd);case"textInput":return e=t.data,e===Qd&&Zd?null:e;default:return null}}function Jb(e,t){if(_n)return e==="compositionend"||!Ic&&Kd(e,t)?(e=Ld(),Mu=Jc=pl=null,_n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vd&&t.locale!=="ko"?null:t.data;default:return null}}var kb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function kd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!kb[e.type]:t==="textarea"}function Wd(e,t,l,n){Nn?Cn?Cn.push(n):Cn=[n]:Nn=n,t=Ei(t,"onChange"),0<t.length&&(l=new Ru("onChange","change",null,l,n),e.push({event:l,listeners:t}))}var Ea=null,Ta=null;function Wb(e){jv(e,0)}function wu(e){var t=ya(e);if(Od(t))return e}function Fd(e,t){if(e==="change")return t}var $d=!1;if($t){var Pc;if($t){var eo="oninput"in document;if(!eo){var Id=document.createElement("div");Id.setAttribute("oninput","return;"),eo=typeof Id.oninput=="function"}Pc=eo}else Pc=!1;$d=Pc&&(!document.documentMode||9<document.documentMode)}function Pd(){Ea&&(Ea.detachEvent("onpropertychange",em),Ta=Ea=null)}function em(e){if(e.propertyName==="value"&&wu(Ta)){var t=[];Wd(t,Ta,e,Qc(e)),Bd(Wb,t)}}function Fb(e,t,l){e==="focusin"?(Pd(),Ea=t,Ta=l,Ea.attachEvent("onpropertychange",em)):e==="focusout"&&Pd()}function $b(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wu(Ta)}function Ib(e,t){if(e==="click")return wu(t)}function Pb(e,t){if(e==="input"||e==="change")return wu(t)}function e1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:e1;function Aa(e,t){if(gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),n=Object.keys(t);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!jc.call(t,a)||!gt(e[a],t[a]))return!1}return!0}function tm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lm(e,t){var l=tm(e);e=0;for(var n;l;){if(l.nodeType===3){if(n=e+l.textContent.length,e<=t&&n>=t)return{node:l,offset:t-e};e=n}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=tm(l)}}function nm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function am(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=_u(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=_u(e.document)}return t}function to(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var t1=$t&&"documentMode"in document&&11>=document.documentMode,zn=null,lo=null,Na=null,no=!1;function um(e,t,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;no||zn==null||zn!==_u(n)||(n=zn,"selectionStart"in n&&to(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Na&&Aa(Na,n)||(Na=n,n=Ei(lo,"onSelect"),0<n.length&&(t=new Ru("onSelect","select",null,t,l),e.push({event:t,listeners:n}),t.target=zn)))}function Kl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Mn={animationend:Kl("Animation","AnimationEnd"),animationiteration:Kl("Animation","AnimationIteration"),animationstart:Kl("Animation","AnimationStart"),transitionrun:Kl("Transition","TransitionRun"),transitionstart:Kl("Transition","TransitionStart"),transitioncancel:Kl("Transition","TransitionCancel"),transitionend:Kl("Transition","TransitionEnd")},ao={},im={};$t&&(im=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);function Jl(e){if(ao[e])return ao[e];if(!Mn[e])return e;var t=Mn[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in im)return ao[e]=t[l];return e}var cm=Jl("animationend"),om=Jl("animationiteration"),rm=Jl("animationstart"),l1=Jl("transitionrun"),n1=Jl("transitionstart"),a1=Jl("transitioncancel"),sm=Jl("transitionend"),fm=new Map,uo="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(" ");uo.push("scrollEnd");function Bt(e,t){fm.set(e,t),Ql(t,[e])}var Uu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},zt=[],On=0,io=0;function Hu(){for(var e=On,t=io=On=0;t<e;){var l=zt[t];zt[t++]=null;var n=zt[t];zt[t++]=null;var a=zt[t];zt[t++]=null;var i=zt[t];if(zt[t++]=null,n!==null&&a!==null){var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}i!==0&&dm(l,a,i)}}function Bu(e,t,l,n){zt[On++]=e,zt[On++]=t,zt[On++]=l,zt[On++]=n,io|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function co(e,t,l,n){return Bu(e,t,l,n),Lu(e)}function kl(e,t){return Bu(e,null,null,t),Lu(e)}function dm(e,t,l){e.lanes|=l;var n=e.alternate;n!==null&&(n.lanes|=l);for(var a=!1,i=e.return;i!==null;)i.childLanes|=l,n=i.alternate,n!==null&&(n.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(a=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,a&&t!==null&&(a=31-yt(l),e=i.hiddenUpdates,n=e[a],n===null?e[a]=[t]:n.push(t),t.lane=l|536870912),i):null}function Lu(e){if(50<Ja)throw Ja=0,gr=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var jn={};function u1(e,t,l,n){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pt(e,t,l,n){return new u1(e,t,l,n)}function oo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function It(e,t){var l=e.alternate;return l===null?(l=pt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function mm(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qu(e,t,l,n,a,i){var s=0;if(n=e,typeof e=="function")oo(e)&&(s=1);else if(typeof e=="string")s=sS(e,l,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ne:return e=pt(31,l,t,a),e.elementType=ne,e.lanes=i,e;case R:return Wl(l.children,a,i,t);case q:s=8,a|=24;break;case Y:return e=pt(12,l,t,a|2),e.elementType=Y,e.lanes=i,e;case P:return e=pt(13,l,t,a),e.elementType=P,e.lanes=i,e;case oe:return e=pt(19,l,t,a),e.elementType=oe,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k:s=10;break e;case X:s=9;break e;case W:s=11;break e;case V:s=14;break e;case le:s=16,n=null;break e}s=29,l=Error(o(130,e===null?"null":typeof e,"")),n=null}return t=pt(s,l,t,a),t.elementType=e,t.type=n,t.lanes=i,t}function Wl(e,t,l,n){return e=pt(7,e,n,t),e.lanes=l,e}function ro(e,t,l){return e=pt(6,e,null,t),e.lanes=l,e}function hm(e){var t=pt(18,null,null,0);return t.stateNode=e,t}function so(e,t,l){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var vm=new WeakMap;function Mt(e,t){if(typeof e=="object"&&e!==null){var l=vm.get(e);return l!==void 0?l:(t={value:e,source:t,stack:hd(t)},vm.set(e,t),t)}return{value:e,source:t,stack:hd(t)}}var Rn=[],Dn=0,Yu=null,Ca=0,Ot=[],jt=0,bl=null,Xt=1,Vt="";function Pt(e,t){Rn[Dn++]=Ca,Rn[Dn++]=Yu,Yu=e,Ca=t}function ym(e,t,l){Ot[jt++]=Xt,Ot[jt++]=Vt,Ot[jt++]=bl,bl=e;var n=Xt;e=Vt;var a=32-yt(n)-1;n&=~(1<<a),l+=1;var i=32-yt(t)+a;if(30<i){var s=a-a%5;i=(n&(1<<s)-1).toString(32),n>>=s,a-=s,Xt=1<<32-yt(t)+a|l<<a|n,Vt=i+e}else Xt=1<<i|l<<a|n,Vt=e}function fo(e){e.return!==null&&(Pt(e,1),ym(e,1,0))}function mo(e){for(;e===Yu;)Yu=Rn[--Dn],Rn[Dn]=null,Ca=Rn[--Dn],Rn[Dn]=null;for(;e===bl;)bl=Ot[--jt],Ot[jt]=null,Vt=Ot[--jt],Ot[jt]=null,Xt=Ot[--jt],Ot[jt]=null}function gm(e,t){Ot[jt++]=Xt,Ot[jt++]=Vt,Ot[jt++]=bl,Xt=t.id,Vt=t.overflow,bl=e}var Fe=null,Re=null,he=!1,Sl=null,Rt=!1,ho=Error(o(519));function xl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _a(Mt(t,e)),ho}function pm(e){var t=e.stateNode,l=e.type,n=e.memoizedProps;switch(t[We]=e,t[ct]=n,l){case"dialog":fe("cancel",t),fe("close",t);break;case"iframe":case"object":case"embed":fe("load",t);break;case"video":case"audio":for(l=0;l<Wa.length;l++)fe(Wa[l],t);break;case"source":fe("error",t);break;case"img":case"image":case"link":fe("error",t),fe("load",t);break;case"details":fe("toggle",t);break;case"input":fe("invalid",t),jd(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":fe("invalid",t);break;case"textarea":fe("invalid",t),Dd(t,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||n.suppressHydrationWarning===!0||Uv(t.textContent,l)?(n.popover!=null&&(fe("beforetoggle",t),fe("toggle",t)),n.onScroll!=null&&fe("scroll",t),n.onScrollEnd!=null&&fe("scrollend",t),n.onClick!=null&&(t.onclick=Ft),t=!0):t=!1,t||xl(e,!0)}function bm(e){for(Fe=e.return;Fe;)switch(Fe.tag){case 5:case 31:case 13:Rt=!1;return;case 27:case 3:Rt=!0;return;default:Fe=Fe.return}}function wn(e){if(e!==Fe)return!1;if(!he)return bm(e),he=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Rr(e.type,e.memoizedProps)),l=!l),l&&Re&&xl(e),bm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Re=Qv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Re=Qv(e)}else t===27?(t=Re,Ul(e.type)?(e=Br,Br=null,Re=e):Re=t):Re=Fe?wt(e.stateNode.nextSibling):null;return!0}function Fl(){Re=Fe=null,he=!1}function vo(){var e=Sl;return e!==null&&(dt===null?dt=e:dt.push.apply(dt,e),Sl=null),e}function _a(e){Sl===null?Sl=[e]:Sl.push(e)}var yo=x(null),$l=null,el=null;function El(e,t,l){Q(yo,t._currentValue),t._currentValue=l}function tl(e){e._currentValue=yo.current,L(yo)}function go(e,t,l){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===l)break;e=e.return}}function po(e,t,l,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var i=a.dependencies;if(i!==null){var s=a.child;i=i.firstContext;e:for(;i!==null;){var m=i;i=a;for(var b=0;b<t.length;b++)if(m.context===t[b]){i.lanes|=l,m=i.alternate,m!==null&&(m.lanes|=l),go(i.return,l,e),n||(s=null);break e}i=m.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(o(341));s.lanes|=l,i=s.alternate,i!==null&&(i.lanes|=l),go(s,l,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Un(e,t,l,n){e=null;for(var a=t,i=!1;a!==null;){if(!i){if((a.flags&524288)!==0)i=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var m=a.type;gt(a.pendingProps.value,s.value)||(e!==null?e.push(m):e=[m])}}else if(a===Te.current){if(s=a.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e!==null?e.push(eu):e=[eu])}a=a.return}e!==null&&po(t,e,l,n),t.flags|=262144}function Gu(e){for(e=e.firstContext;e!==null;){if(!gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Il(e){$l=e,el=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $e(e){return Sm($l,e)}function Xu(e,t){return $l===null&&Il(e),Sm(e,t)}function Sm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},el===null){if(e===null)throw Error(o(308));el=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else el=el.next=t;return l}var i1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},c1=u.unstable_scheduleCallback,o1=u.unstable_NormalPriority,Xe={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bo(){return{controller:new i1,data:new Map,refCount:0}}function za(e){e.refCount--,e.refCount===0&&c1(o1,function(){e.controller.abort()})}var Ma=null,So=0,Hn=0,Bn=null;function r1(e,t){if(Ma===null){var l=Ma=[];So=0,Hn=Tr(),Bn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return So++,t.then(xm,xm),t}function xm(){if(--So===0&&Ma!==null){Bn!==null&&(Bn.status="fulfilled");var e=Ma;Ma=null,Hn=0,Bn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function s1(e,t){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var a=0;a<l.length;a++)(0,l[a])(t)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var Em=D.S;D.S=function(e,t){uv=ht(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&r1(e,t),Em!==null&&Em(e,t)};var Pl=x(null);function xo(){var e=Pl.current;return e!==null?e:Me.pooledCache}function Vu(e,t){t===null?Q(Pl,Pl.current):Q(Pl,t.pool)}function Tm(){var e=xo();return e===null?null:{parent:Xe._currentValue,pool:e}}var Ln=Error(o(460)),Eo=Error(o(474)),Qu=Error(o(542)),Zu={then:function(){}};function Am(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Nm(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Ft,Ft),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_m(e),e;default:if(typeof t.status=="string")t.then(Ft,Ft);else{if(e=Me,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var a=t;a.status="fulfilled",a.value=n}},function(n){if(t.status==="pending"){var a=t;a.status="rejected",a.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_m(e),e}throw tn=t,Ln}}function en(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(tn=l,Ln):l}}var tn=null;function Cm(){if(tn===null)throw Error(o(459));var e=tn;return tn=null,e}function _m(e){if(e===Ln||e===Qu)throw Error(o(483))}var qn=null,Oa=0;function Ku(e){var t=Oa;return Oa+=1,qn===null&&(qn=[]),Nm(qn,e,t)}function ja(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ju(e,t){throw t.$$typeof===C?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function zm(e){function t(N,E){if(e){var _=N.deletions;_===null?(N.deletions=[E],N.flags|=16):_.push(E)}}function l(N,E){if(!e)return null;for(;E!==null;)t(N,E),E=E.sibling;return null}function n(N){for(var E=new Map;N!==null;)N.key!==null?E.set(N.key,N):E.set(N.index,N),N=N.sibling;return E}function a(N,E){return N=It(N,E),N.index=0,N.sibling=null,N}function i(N,E,_){return N.index=_,e?(_=N.alternate,_!==null?(_=_.index,_<E?(N.flags|=67108866,E):_):(N.flags|=67108866,E)):(N.flags|=1048576,E)}function s(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function m(N,E,_,U){return E===null||E.tag!==6?(E=ro(_,N.mode,U),E.return=N,E):(E=a(E,_),E.return=N,E)}function b(N,E,_,U){var F=_.type;return F===R?w(N,E,_.props.children,U,_.key):E!==null&&(E.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===le&&en(F)===E.type)?(E=a(E,_.props),ja(E,_),E.return=N,E):(E=qu(_.type,_.key,_.props,null,N.mode,U),ja(E,_),E.return=N,E)}function z(N,E,_,U){return E===null||E.tag!==4||E.stateNode.containerInfo!==_.containerInfo||E.stateNode.implementation!==_.implementation?(E=so(_,N.mode,U),E.return=N,E):(E=a(E,_.children||[]),E.return=N,E)}function w(N,E,_,U,F){return E===null||E.tag!==7?(E=Wl(_,N.mode,U,F),E.return=N,E):(E=a(E,_),E.return=N,E)}function B(N,E,_){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=ro(""+E,N.mode,_),E.return=N,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case j:return _=qu(E.type,E.key,E.props,null,N.mode,_),ja(_,E),_.return=N,_;case H:return E=so(E,N.mode,_),E.return=N,E;case le:return E=en(E),B(N,E,_)}if(lt(E)||ee(E))return E=Wl(E,N.mode,_,null),E.return=N,E;if(typeof E.then=="function")return B(N,Ku(E),_);if(E.$$typeof===k)return B(N,Xu(N,E),_);Ju(N,E)}return null}function M(N,E,_,U){var F=E!==null?E.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return F!==null?null:m(N,E,""+_,U);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case j:return _.key===F?b(N,E,_,U):null;case H:return _.key===F?z(N,E,_,U):null;case le:return _=en(_),M(N,E,_,U)}if(lt(_)||ee(_))return F!==null?null:w(N,E,_,U,null);if(typeof _.then=="function")return M(N,E,Ku(_),U);if(_.$$typeof===k)return M(N,E,Xu(N,_),U);Ju(N,_)}return null}function O(N,E,_,U,F){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return N=N.get(_)||null,m(E,N,""+U,F);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case j:return N=N.get(U.key===null?_:U.key)||null,b(E,N,U,F);case H:return N=N.get(U.key===null?_:U.key)||null,z(E,N,U,F);case le:return U=en(U),O(N,E,_,U,F)}if(lt(U)||ee(U))return N=N.get(_)||null,w(E,N,U,F,null);if(typeof U.then=="function")return O(N,E,_,Ku(U),F);if(U.$$typeof===k)return O(N,E,_,Xu(E,U),F);Ju(E,U)}return null}function Z(N,E,_,U){for(var F=null,ge=null,J=E,ce=E=0,me=null;J!==null&&ce<_.length;ce++){J.index>ce?(me=J,J=null):me=J.sibling;var pe=M(N,J,_[ce],U);if(pe===null){J===null&&(J=me);break}e&&J&&pe.alternate===null&&t(N,J),E=i(pe,E,ce),ge===null?F=pe:ge.sibling=pe,ge=pe,J=me}if(ce===_.length)return l(N,J),he&&Pt(N,ce),F;if(J===null){for(;ce<_.length;ce++)J=B(N,_[ce],U),J!==null&&(E=i(J,E,ce),ge===null?F=J:ge.sibling=J,ge=J);return he&&Pt(N,ce),F}for(J=n(J);ce<_.length;ce++)me=O(J,N,ce,_[ce],U),me!==null&&(e&&me.alternate!==null&&J.delete(me.key===null?ce:me.key),E=i(me,E,ce),ge===null?F=me:ge.sibling=me,ge=me);return e&&J.forEach(function(Yl){return t(N,Yl)}),he&&Pt(N,ce),F}function I(N,E,_,U){if(_==null)throw Error(o(151));for(var F=null,ge=null,J=E,ce=E=0,me=null,pe=_.next();J!==null&&!pe.done;ce++,pe=_.next()){J.index>ce?(me=J,J=null):me=J.sibling;var Yl=M(N,J,pe.value,U);if(Yl===null){J===null&&(J=me);break}e&&J&&Yl.alternate===null&&t(N,J),E=i(Yl,E,ce),ge===null?F=Yl:ge.sibling=Yl,ge=Yl,J=me}if(pe.done)return l(N,J),he&&Pt(N,ce),F;if(J===null){for(;!pe.done;ce++,pe=_.next())pe=B(N,pe.value,U),pe!==null&&(E=i(pe,E,ce),ge===null?F=pe:ge.sibling=pe,ge=pe);return he&&Pt(N,ce),F}for(J=n(J);!pe.done;ce++,pe=_.next())pe=O(J,N,ce,pe.value,U),pe!==null&&(e&&pe.alternate!==null&&J.delete(pe.key===null?ce:pe.key),E=i(pe,E,ce),ge===null?F=pe:ge.sibling=pe,ge=pe);return e&&J.forEach(function(xS){return t(N,xS)}),he&&Pt(N,ce),F}function ze(N,E,_,U){if(typeof _=="object"&&_!==null&&_.type===R&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case j:e:{for(var F=_.key;E!==null;){if(E.key===F){if(F=_.type,F===R){if(E.tag===7){l(N,E.sibling),U=a(E,_.props.children),U.return=N,N=U;break e}}else if(E.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===le&&en(F)===E.type){l(N,E.sibling),U=a(E,_.props),ja(U,_),U.return=N,N=U;break e}l(N,E);break}else t(N,E);E=E.sibling}_.type===R?(U=Wl(_.props.children,N.mode,U,_.key),U.return=N,N=U):(U=qu(_.type,_.key,_.props,null,N.mode,U),ja(U,_),U.return=N,N=U)}return s(N);case H:e:{for(F=_.key;E!==null;){if(E.key===F)if(E.tag===4&&E.stateNode.containerInfo===_.containerInfo&&E.stateNode.implementation===_.implementation){l(N,E.sibling),U=a(E,_.children||[]),U.return=N,N=U;break e}else{l(N,E);break}else t(N,E);E=E.sibling}U=so(_,N.mode,U),U.return=N,N=U}return s(N);case le:return _=en(_),ze(N,E,_,U)}if(lt(_))return Z(N,E,_,U);if(ee(_)){if(F=ee(_),typeof F!="function")throw Error(o(150));return _=F.call(_),I(N,E,_,U)}if(typeof _.then=="function")return ze(N,E,Ku(_),U);if(_.$$typeof===k)return ze(N,E,Xu(N,_),U);Ju(N,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,E!==null&&E.tag===6?(l(N,E.sibling),U=a(E,_),U.return=N,N=U):(l(N,E),U=ro(_,N.mode,U),U.return=N,N=U),s(N)):l(N,E)}return function(N,E,_,U){try{Oa=0;var F=ze(N,E,_,U);return qn=null,F}catch(J){if(J===Ln||J===Qu)throw J;var ge=pt(29,J,null,N.mode);return ge.lanes=U,ge.return=N,ge}finally{}}}var ln=zm(!0),Mm=zm(!1),Tl=!1;function To(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Al(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Nl(e,t,l){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Se&2)!==0){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=Lu(e),dm(e,null,l),t}return Bu(e,n,t,l),Lu(e)}function Ra(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,Sd(e,l)}}function No(e,t){var l=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?a=i=s:i=i.next=s,l=l.next}while(l!==null);i===null?a=i=t:i=i.next=t}else a=i=t;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Co=!1;function Da(){if(Co){var e=Bn;if(e!==null)throw e}}function wa(e,t,l,n){Co=!1;var a=e.updateQueue;Tl=!1;var i=a.firstBaseUpdate,s=a.lastBaseUpdate,m=a.shared.pending;if(m!==null){a.shared.pending=null;var b=m,z=b.next;b.next=null,s===null?i=z:s.next=z,s=b;var w=e.alternate;w!==null&&(w=w.updateQueue,m=w.lastBaseUpdate,m!==s&&(m===null?w.firstBaseUpdate=z:m.next=z,w.lastBaseUpdate=b))}if(i!==null){var B=a.baseState;s=0,w=z=b=null,m=i;do{var M=m.lane&-536870913,O=M!==m.lane;if(O?(de&M)===M:(n&M)===M){M!==0&&M===Hn&&(Co=!0),w!==null&&(w=w.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var Z=e,I=m;M=t;var ze=l;switch(I.tag){case 1:if(Z=I.payload,typeof Z=="function"){B=Z.call(ze,B,M);break e}B=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=I.payload,M=typeof Z=="function"?Z.call(ze,B,M):Z,M==null)break e;B=T({},B,M);break e;case 2:Tl=!0}}M=m.callback,M!==null&&(e.flags|=64,O&&(e.flags|=8192),O=a.callbacks,O===null?a.callbacks=[M]:O.push(M))}else O={lane:M,tag:m.tag,payload:m.payload,callback:m.callback,next:null},w===null?(z=w=O,b=B):w=w.next=O,s|=M;if(m=m.next,m===null){if(m=a.shared.pending,m===null)break;O=m,m=O.next,O.next=null,a.lastBaseUpdate=O,a.shared.pending=null}}while(!0);w===null&&(b=B),a.baseState=b,a.firstBaseUpdate=z,a.lastBaseUpdate=w,i===null&&(a.shared.lanes=0),Ol|=s,e.lanes=s,e.memoizedState=B}}function Om(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function jm(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Om(l[e],t)}var Yn=x(null),ku=x(0);function Rm(e,t){e=sl,Q(ku,e),Q(Yn,t),sl=e|t.baseLanes}function _o(){Q(ku,sl),Q(Yn,Yn.current)}function zo(){sl=ku.current,L(Yn),L(ku)}var bt=x(null),Dt=null;function Cl(e){var t=e.alternate;Q(qe,qe.current&1),Q(bt,e),Dt===null&&(t===null||Yn.current!==null||t.memoizedState!==null)&&(Dt=e)}function Mo(e){Q(qe,qe.current),Q(bt,e),Dt===null&&(Dt=e)}function Dm(e){e.tag===22?(Q(qe,qe.current),Q(bt,e),Dt===null&&(Dt=e)):_l()}function _l(){Q(qe,qe.current),Q(bt,bt.current)}function St(e){L(bt),Dt===e&&(Dt=null),L(qe)}var qe=x(0);function Wu(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ur(l)||Hr(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ll=0,ue=null,Ce=null,Ve=null,Fu=!1,Gn=!1,nn=!1,$u=0,Ua=0,Xn=null,f1=0;function He(){throw Error(o(321))}function Oo(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!gt(e[l],t[l]))return!1;return!0}function jo(e,t,l,n,a,i){return ll=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?yh:Ko,nn=!1,i=l(n,a),nn=!1,Gn&&(i=Um(t,l,n,a)),wm(e),i}function wm(e){D.H=La;var t=Ce!==null&&Ce.next!==null;if(ll=0,Ve=Ce=ue=null,Fu=!1,Ua=0,Xn=null,t)throw Error(o(300));e===null||Qe||(e=e.dependencies,e!==null&&Gu(e)&&(Qe=!0))}function Um(e,t,l,n){ue=e;var a=0;do{if(Gn&&(Xn=null),Ua=0,Gn=!1,25<=a)throw Error(o(301));if(a+=1,Ve=Ce=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}D.H=gh,i=t(l,n)}while(Gn);return i}function d1(){var e=D.H,t=e.useState()[0];return t=typeof t.then=="function"?Ha(t):t,e=e.useState()[0],(Ce!==null?Ce.memoizedState:null)!==e&&(ue.flags|=1024),t}function Ro(){var e=$u!==0;return $u=0,e}function Do(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function wo(e){if(Fu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Fu=!1}ll=0,Ve=Ce=ue=null,Gn=!1,Ua=$u=0,Xn=null}function it(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ve===null?ue.memoizedState=Ve=e:Ve=Ve.next=e,Ve}function Ye(){if(Ce===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Ve===null?ue.memoizedState:Ve.next;if(t!==null)Ve=t,Ce=e;else{if(e===null)throw ue.alternate===null?Error(o(467)):Error(o(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Ve===null?ue.memoizedState=Ve=e:Ve=Ve.next=e}return Ve}function Iu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ha(e){var t=Ua;return Ua+=1,Xn===null&&(Xn=[]),e=Nm(Xn,e,t),t=ue,(Ve===null?t.memoizedState:Ve.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?yh:Ko),e}function Pu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ha(e);if(e.$$typeof===k)return $e(e)}throw Error(o(438,String(e)))}function Uo(e){var t=null,l=ue.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var n=ue.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(a){return a.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Iu(),ue.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),n=0;n<e;n++)l[n]=be;return t.index++,l}function nl(e,t){return typeof t=="function"?t(e):t}function ei(e){var t=Ye();return Ho(t,Ce,e)}function Ho(e,t,l){var n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=l;var a=e.baseQueue,i=n.pending;if(i!==null){if(a!==null){var s=a.next;a.next=i.next,i.next=s}t.baseQueue=a=i,n.pending=null}if(i=e.baseState,a===null)e.memoizedState=i;else{t=a.next;var m=s=null,b=null,z=t,w=!1;do{var B=z.lane&-536870913;if(B!==z.lane?(de&B)===B:(ll&B)===B){var M=z.revertLane;if(M===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),B===Hn&&(w=!0);else if((ll&M)===M){z=z.next,M===Hn&&(w=!0);continue}else B={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},b===null?(m=b=B,s=i):b=b.next=B,ue.lanes|=M,Ol|=M;B=z.action,nn&&l(i,B),i=z.hasEagerState?z.eagerState:l(i,B)}else M={lane:B,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},b===null?(m=b=M,s=i):b=b.next=M,ue.lanes|=B,Ol|=B;z=z.next}while(z!==null&&z!==t);if(b===null?s=i:b.next=m,!gt(i,e.memoizedState)&&(Qe=!0,w&&(l=Bn,l!==null)))throw l;e.memoizedState=i,e.baseState=s,e.baseQueue=b,n.lastRenderedState=i}return a===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Bo(e){var t=Ye(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var n=l.dispatch,a=l.pending,i=t.memoizedState;if(a!==null){l.pending=null;var s=a=a.next;do i=e(i,s.action),s=s.next;while(s!==a);gt(i,t.memoizedState)||(Qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,n]}function Hm(e,t,l){var n=ue,a=Ye(),i=he;if(i){if(l===void 0)throw Error(o(407));l=l()}else l=t();var s=!gt((Ce||a).memoizedState,l);if(s&&(a.memoizedState=l,Qe=!0),a=a.queue,Yo(qm.bind(null,n,a,e),[e]),a.getSnapshot!==t||s||Ve!==null&&Ve.memoizedState.tag&1){if(n.flags|=2048,Vn(9,{destroy:void 0},Lm.bind(null,n,a,l,t),null),Me===null)throw Error(o(349));i||(ll&127)!==0||Bm(n,t,l)}return l}function Bm(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ue.updateQueue,t===null?(t=Iu(),ue.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Lm(e,t,l,n){t.value=l,t.getSnapshot=n,Ym(t)&&Gm(e)}function qm(e,t,l){return l(function(){Ym(t)&&Gm(e)})}function Ym(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!gt(e,l)}catch{return!0}}function Gm(e){var t=kl(e,2);t!==null&&mt(t,e,2)}function Lo(e){var t=it();if(typeof e=="function"){var l=e;if(e=l(),nn){yl(!0);try{l()}finally{yl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:e},t}function Xm(e,t,l,n){return e.baseState=l,Ho(e,Ce,typeof n=="function"?n:nl)}function m1(e,t,l,n,a){if(ni(e))throw Error(o(485));if(e=t.action,e!==null){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};D.T!==null?l(!0):i.isTransition=!1,n(i),l=t.pending,l===null?(i.next=t.pending=i,Vm(t,i)):(i.next=l.next,t.pending=l.next=i)}}function Vm(e,t){var l=t.action,n=t.payload,a=e.state;if(t.isTransition){var i=D.T,s={};D.T=s;try{var m=l(a,n),b=D.S;b!==null&&b(s,m),Qm(e,t,m)}catch(z){qo(e,t,z)}finally{i!==null&&s.types!==null&&(i.types=s.types),D.T=i}}else try{i=l(a,n),Qm(e,t,i)}catch(z){qo(e,t,z)}}function Qm(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Zm(e,t,n)},function(n){return qo(e,t,n)}):Zm(e,t,l)}function Zm(e,t,l){t.status="fulfilled",t.value=l,Km(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Vm(e,l)))}function qo(e,t,l){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=l,Km(t),t=t.next;while(t!==n)}e.action=null}function Km(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jm(e,t){return t}function km(e,t){if(he){var l=Me.formState;if(l!==null){e:{var n=ue;if(he){if(Re){t:{for(var a=Re,i=Rt;a.nodeType!==8;){if(!i){a=null;break t}if(a=wt(a.nextSibling),a===null){a=null;break t}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){Re=wt(a.nextSibling),n=a.data==="F!";break e}}xl(n)}n=!1}n&&(t=l[0])}}return l=it(),l.memoizedState=l.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jm,lastRenderedState:t},l.queue=n,l=mh.bind(null,ue,n),n.dispatch=l,n=Lo(!1),i=Zo.bind(null,ue,!1,n.queue),n=it(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,l=m1.bind(null,ue,a,i,l),a.dispatch=l,n.memoizedState=e,[t,l,!1]}function Wm(e){var t=Ye();return Fm(t,Ce,e)}function Fm(e,t,l){if(t=Ho(e,t,Jm)[0],e=ei(nl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Ha(t)}catch(s){throw s===Ln?Qu:s}else n=t;t=Ye();var a=t.queue,i=a.dispatch;return l!==t.memoizedState&&(ue.flags|=2048,Vn(9,{destroy:void 0},h1.bind(null,a,l),null)),[n,i,e]}function h1(e,t){e.action=t}function $m(e){var t=Ye(),l=Ce;if(l!==null)return Fm(t,l,e);Ye(),t=t.memoizedState,l=Ye();var n=l.queue.dispatch;return l.memoizedState=e,[t,n,!1]}function Vn(e,t,l,n){return e={tag:e,create:l,deps:n,inst:t,next:null},t=ue.updateQueue,t===null&&(t=Iu(),ue.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(n=l.next,l.next=e,e.next=n,t.lastEffect=e),e}function Im(){return Ye().memoizedState}function ti(e,t,l,n){var a=it();ue.flags|=e,a.memoizedState=Vn(1|t,{destroy:void 0},l,n===void 0?null:n)}function li(e,t,l,n){var a=Ye();n=n===void 0?null:n;var i=a.memoizedState.inst;Ce!==null&&n!==null&&Oo(n,Ce.memoizedState.deps)?a.memoizedState=Vn(t,i,l,n):(ue.flags|=e,a.memoizedState=Vn(1|t,i,l,n))}function Pm(e,t){ti(8390656,8,e,t)}function Yo(e,t){li(2048,8,e,t)}function v1(e){ue.flags|=4;var t=ue.updateQueue;if(t===null)t=Iu(),ue.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function eh(e){var t=Ye().memoizedState;return v1({ref:t,nextImpl:e}),function(){if((Se&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function th(e,t){return li(4,2,e,t)}function lh(e,t){return li(4,4,e,t)}function nh(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ah(e,t,l){l=l!=null?l.concat([e]):null,li(4,4,nh.bind(null,t,e),l)}function Go(){}function uh(e,t){var l=Ye();t=t===void 0?null:t;var n=l.memoizedState;return t!==null&&Oo(t,n[1])?n[0]:(l.memoizedState=[e,t],e)}function ih(e,t){var l=Ye();t=t===void 0?null:t;var n=l.memoizedState;if(t!==null&&Oo(t,n[1]))return n[0];if(n=e(),nn){yl(!0);try{e()}finally{yl(!1)}}return l.memoizedState=[n,t],n}function Xo(e,t,l){return l===void 0||(ll&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=cv(),ue.lanes|=e,Ol|=e,l)}function ch(e,t,l,n){return gt(l,t)?l:Yn.current!==null?(e=Xo(e,l,n),gt(e,t)||(Qe=!0),e):(ll&42)===0||(ll&1073741824)!==0&&(de&261930)===0?(Qe=!0,e.memoizedState=l):(e=cv(),ue.lanes|=e,Ol|=e,t)}function oh(e,t,l,n,a){var i=G.p;G.p=i!==0&&8>i?i:8;var s=D.T,m={};D.T=m,Zo(e,!1,t,l);try{var b=a(),z=D.S;if(z!==null&&z(m,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var w=s1(b,n);Ba(e,t,w,Tt(e))}else Ba(e,t,n,Tt(e))}catch(B){Ba(e,t,{then:function(){},status:"rejected",reason:B},Tt())}finally{G.p=i,s!==null&&m.types!==null&&(s.types=m.types),D.T=s}}function y1(){}function Vo(e,t,l,n){if(e.tag!==5)throw Error(o(476));var a=rh(e).queue;oh(e,a,t,$,l===null?y1:function(){return sh(e),l(n)})}function rh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:$},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function sh(e){var t=rh(e);t.next===null&&(t=e.alternate.memoizedState),Ba(e,t.next.queue,{},Tt())}function Qo(){return $e(eu)}function fh(){return Ye().memoizedState}function dh(){return Ye().memoizedState}function g1(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Tt();e=Al(l);var n=Nl(t,e,l);n!==null&&(mt(n,t,l),Ra(n,t,l)),t={cache:bo()},e.payload=t;return}t=t.return}}function p1(e,t,l){var n=Tt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ni(e)?hh(t,l):(l=co(e,t,l,n),l!==null&&(mt(l,e,n),vh(l,t,n)))}function mh(e,t,l){var n=Tt();Ba(e,t,l,n)}function Ba(e,t,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(ni(e))hh(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,m=i(s,l);if(a.hasEagerState=!0,a.eagerState=m,gt(m,s))return Bu(e,t,a,0),Me===null&&Hu(),!1}catch{}finally{}if(l=co(e,t,a,n),l!==null)return mt(l,e,n),vh(l,t,n),!0}return!1}function Zo(e,t,l,n){if(n={lane:2,revertLane:Tr(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ni(e)){if(t)throw Error(o(479))}else t=co(e,l,n,2),t!==null&&mt(t,e,2)}function ni(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function hh(e,t){Gn=Fu=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function vh(e,t,l){if((l&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,Sd(e,l)}}var La={readContext:$e,use:Pu,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He};La.useEffectEvent=He;var yh={readContext:$e,use:Pu,useCallback:function(e,t){return it().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:Pm,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ti(4194308,4,nh.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ti(4194308,4,e,t)},useInsertionEffect:function(e,t){ti(4,2,e,t)},useMemo:function(e,t){var l=it();t=t===void 0?null:t;var n=e();if(nn){yl(!0);try{e()}finally{yl(!1)}}return l.memoizedState=[n,t],n},useReducer:function(e,t,l){var n=it();if(l!==void 0){var a=l(t);if(nn){yl(!0);try{l(t)}finally{yl(!1)}}}else a=t;return n.memoizedState=n.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},n.queue=e,e=e.dispatch=p1.bind(null,ue,e),[n.memoizedState,e]},useRef:function(e){var t=it();return e={current:e},t.memoizedState=e},useState:function(e){e=Lo(e);var t=e.queue,l=mh.bind(null,ue,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Go,useDeferredValue:function(e,t){var l=it();return Xo(l,e,t)},useTransition:function(){var e=Lo(!1);return e=oh.bind(null,ue,e.queue,!0,!1),it().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var n=ue,a=it();if(he){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),Me===null)throw Error(o(349));(de&127)!==0||Bm(n,t,l)}a.memoizedState=l;var i={value:l,getSnapshot:t};return a.queue=i,Pm(qm.bind(null,n,i,e),[e]),n.flags|=2048,Vn(9,{destroy:void 0},Lm.bind(null,n,i,l,t),null),l},useId:function(){var e=it(),t=Me.identifierPrefix;if(he){var l=Vt,n=Xt;l=(n&~(1<<32-yt(n)-1)).toString(32)+l,t="_"+t+"R_"+l,l=$u++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=f1++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Qo,useFormState:km,useActionState:km,useOptimistic:function(e){var t=it();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Zo.bind(null,ue,!0,l),l.dispatch=t,[e,t]},useMemoCache:Uo,useCacheRefresh:function(){return it().memoizedState=g1.bind(null,ue)},useEffectEvent:function(e){var t=it(),l={impl:e};return t.memoizedState=l,function(){if((Se&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},Ko={readContext:$e,use:Pu,useCallback:uh,useContext:$e,useEffect:Yo,useImperativeHandle:ah,useInsertionEffect:th,useLayoutEffect:lh,useMemo:ih,useReducer:ei,useRef:Im,useState:function(){return ei(nl)},useDebugValue:Go,useDeferredValue:function(e,t){var l=Ye();return ch(l,Ce.memoizedState,e,t)},useTransition:function(){var e=ei(nl)[0],t=Ye().memoizedState;return[typeof e=="boolean"?e:Ha(e),t]},useSyncExternalStore:Hm,useId:fh,useHostTransitionStatus:Qo,useFormState:Wm,useActionState:Wm,useOptimistic:function(e,t){var l=Ye();return Xm(l,Ce,e,t)},useMemoCache:Uo,useCacheRefresh:dh};Ko.useEffectEvent=eh;var gh={readContext:$e,use:Pu,useCallback:uh,useContext:$e,useEffect:Yo,useImperativeHandle:ah,useInsertionEffect:th,useLayoutEffect:lh,useMemo:ih,useReducer:Bo,useRef:Im,useState:function(){return Bo(nl)},useDebugValue:Go,useDeferredValue:function(e,t){var l=Ye();return Ce===null?Xo(l,e,t):ch(l,Ce.memoizedState,e,t)},useTransition:function(){var e=Bo(nl)[0],t=Ye().memoizedState;return[typeof e=="boolean"?e:Ha(e),t]},useSyncExternalStore:Hm,useId:fh,useHostTransitionStatus:Qo,useFormState:$m,useActionState:$m,useOptimistic:function(e,t){var l=Ye();return Ce!==null?Xm(l,Ce,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Uo,useCacheRefresh:dh};gh.useEffectEvent=eh;function Jo(e,t,l,n){t=e.memoizedState,l=l(n,t),l=l==null?t:T({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var ko={enqueueSetState:function(e,t,l){e=e._reactInternals;var n=Tt(),a=Al(n);a.payload=t,l!=null&&(a.callback=l),t=Nl(e,a,n),t!==null&&(mt(t,e,n),Ra(t,e,n))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var n=Tt(),a=Al(n);a.tag=1,a.payload=t,l!=null&&(a.callback=l),t=Nl(e,a,n),t!==null&&(mt(t,e,n),Ra(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Tt(),n=Al(l);n.tag=2,t!=null&&(n.callback=t),t=Nl(e,n,l),t!==null&&(mt(t,e,l),Ra(t,e,l))}};function ph(e,t,l,n,a,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,s):t.prototype&&t.prototype.isPureReactComponent?!Aa(l,n)||!Aa(a,i):!0}function bh(e,t,l,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,n),t.state!==e&&ko.enqueueReplaceState(t,t.state,null)}function an(e,t){var l=t;if("ref"in t){l={};for(var n in t)n!=="ref"&&(l[n]=t[n])}if(e=e.defaultProps){l===t&&(l=T({},l));for(var a in e)l[a]===void 0&&(l[a]=e[a])}return l}function Sh(e){Uu(e)}function xh(e){console.error(e)}function Eh(e){Uu(e)}function ai(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Th(e,t,l){try{var n=e.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function Wo(e,t,l){return l=Al(l),l.tag=3,l.payload={element:null},l.callback=function(){ai(e,t)},l}function Ah(e){return e=Al(e),e.tag=3,e}function Nh(e,t,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var i=n.value;e.payload=function(){return a(i)},e.callback=function(){Th(t,l,n)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){Th(t,l,n),typeof a!="function"&&(jl===null?jl=new Set([this]):jl.add(this));var m=n.stack;this.componentDidCatch(n.value,{componentStack:m!==null?m:""})})}function b1(e,t,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=l.alternate,t!==null&&Un(t,l,a,!0),l=bt.current,l!==null){switch(l.tag){case 31:case 13:return Dt===null?yi():l.alternate===null&&Be===0&&(Be=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Zu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([n]):t.add(n),Sr(e,n,a)),!1;case 22:return l.flags|=65536,n===Zu?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([n]):l.add(n)),Sr(e,n,a)),!1}throw Error(o(435,l.tag))}return Sr(e,n,a),yi(),!1}if(he)return t=bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==ho&&(e=Error(o(422),{cause:n}),_a(Mt(e,l)))):(n!==ho&&(t=Error(o(423),{cause:n}),_a(Mt(t,l))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=Mt(n,l),a=Wo(e.stateNode,n,a),No(e,a),Be!==4&&(Be=2)),!1;var i=Error(o(520),{cause:n});if(i=Mt(i,l),Ka===null?Ka=[i]:Ka.push(i),Be!==4&&(Be=2),t===null)return!0;n=Mt(n,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=a&-a,l.lanes|=e,e=Wo(l.stateNode,n,e),No(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(jl===null||!jl.has(i))))return l.flags|=65536,a&=-a,l.lanes|=a,a=Ah(a),Nh(a,e,l,n),No(l,a),!1}l=l.return}while(l!==null);return!1}var Fo=Error(o(461)),Qe=!1;function Ie(e,t,l,n){t.child=e===null?Mm(t,null,l,n):ln(t,e.child,l,n)}function Ch(e,t,l,n,a){l=l.render;var i=t.ref;if("ref"in n){var s={};for(var m in n)m!=="ref"&&(s[m]=n[m])}else s=n;return Il(t),n=jo(e,t,l,s,i,a),m=Ro(),e!==null&&!Qe?(Do(e,t,a),al(e,t,a)):(he&&m&&fo(t),t.flags|=1,Ie(e,t,n,a),t.child)}function _h(e,t,l,n,a){if(e===null){var i=l.type;return typeof i=="function"&&!oo(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,zh(e,t,i,n,a)):(e=qu(l.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!ar(e,a)){var s=i.memoizedProps;if(l=l.compare,l=l!==null?l:Aa,l(s,n)&&e.ref===t.ref)return al(e,t,a)}return t.flags|=1,e=It(i,n),e.ref=t.ref,e.return=t,t.child=e}function zh(e,t,l,n,a){if(e!==null){var i=e.memoizedProps;if(Aa(i,n)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=n=i,ar(e,a))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,al(e,t,a)}return $o(e,t,l,n,a)}function Mh(e,t,l,n){var a=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,e!==null){for(n=t.child=e.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~i}else n=0,t.child=null;return Oh(e,t,i,l,n)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Vu(t,i!==null?i.cachePool:null),i!==null?Rm(t,i):_o(),Dm(t);else return n=t.lanes=536870912,Oh(e,t,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Vu(t,i.cachePool),Rm(t,i),_l(),t.memoizedState=null):(e!==null&&Vu(t,null),_o(),_l());return Ie(e,t,a,l),t.child}function qa(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Oh(e,t,l,n,a){var i=xo();return i=i===null?null:{parent:Xe._currentValue,pool:i},t.memoizedState={baseLanes:l,cachePool:i},e!==null&&Vu(t,null),_o(),Dm(t),e!==null&&Un(e,t,n,!0),t.childLanes=a,null}function ui(e,t){return t=ci({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function jh(e,t,l){return ln(t,e.child,null,l),e=ui(t,t.pendingProps),e.flags|=2,St(t),t.memoizedState=null,e}function S1(e,t,l){var n=t.pendingProps,a=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(he){if(n.mode==="hidden")return e=ui(t,n),t.lanes=536870912,qa(null,e);if(Mo(t),(e=Re)?(e=Vv(e,Rt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bl!==null?{id:Xt,overflow:Vt}:null,retryLane:536870912,hydrationErrors:null},l=hm(e),l.return=t,t.child=l,Fe=t,Re=null)):e=null,e===null)throw xl(t);return t.lanes=536870912,null}return ui(t,n)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if(Mo(t),a)if(t.flags&256)t.flags&=-257,t=jh(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Qe||Un(e,t,l,!1),a=(l&e.childLanes)!==0,Qe||a){if(n=Me,n!==null&&(s=xd(n,l),s!==0&&s!==i.retryLane))throw i.retryLane=s,kl(e,s),mt(n,e,s),Fo;yi(),t=jh(e,t,l)}else e=i.treeContext,Re=wt(s.nextSibling),Fe=t,he=!0,Sl=null,Rt=!1,e!==null&&gm(t,e),t=ui(t,n),t.flags|=4096;return t}return e=It(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ii(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function $o(e,t,l,n,a){return Il(t),l=jo(e,t,l,n,void 0,a),n=Ro(),e!==null&&!Qe?(Do(e,t,a),al(e,t,a)):(he&&n&&fo(t),t.flags|=1,Ie(e,t,l,a),t.child)}function Rh(e,t,l,n,a,i){return Il(t),t.updateQueue=null,l=Um(t,n,l,a),wm(e),n=Ro(),e!==null&&!Qe?(Do(e,t,i),al(e,t,i)):(he&&n&&fo(t),t.flags|=1,Ie(e,t,l,i),t.child)}function Dh(e,t,l,n,a){if(Il(t),t.stateNode===null){var i=jn,s=l.contextType;typeof s=="object"&&s!==null&&(i=$e(s)),i=new l(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=ko,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},To(t),s=l.contextType,i.context=typeof s=="object"&&s!==null?$e(s):jn,i.state=t.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Jo(t,l,s,n),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&ko.enqueueReplaceState(i,i.state,null),wa(t,n,i,a),Da(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var m=t.memoizedProps,b=an(l,m);i.props=b;var z=i.context,w=l.contextType;s=jn,typeof w=="object"&&w!==null&&(s=$e(w));var B=l.getDerivedStateFromProps;w=typeof B=="function"||typeof i.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,w||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(m||z!==s)&&bh(t,i,n,s),Tl=!1;var M=t.memoizedState;i.state=M,wa(t,n,i,a),Da(),z=t.memoizedState,m||M!==z||Tl?(typeof B=="function"&&(Jo(t,l,B,n),z=t.memoizedState),(b=Tl||ph(t,l,b,n,M,z,s))?(w||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=z),i.props=n,i.state=z,i.context=s,n=b):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Ao(e,t),s=t.memoizedProps,w=an(l,s),i.props=w,B=t.pendingProps,M=i.context,z=l.contextType,b=jn,typeof z=="object"&&z!==null&&(b=$e(z)),m=l.getDerivedStateFromProps,(z=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==B||M!==b)&&bh(t,i,n,b),Tl=!1,M=t.memoizedState,i.state=M,wa(t,n,i,a),Da();var O=t.memoizedState;s!==B||M!==O||Tl||e!==null&&e.dependencies!==null&&Gu(e.dependencies)?(typeof m=="function"&&(Jo(t,l,m,n),O=t.memoizedState),(w=Tl||ph(t,l,w,n,M,O,b)||e!==null&&e.dependencies!==null&&Gu(e.dependencies))?(z||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,O,b),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,O,b)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=O),i.props=n,i.state=O,i.context=b,n=w):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,ii(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=ln(t,e.child,null,a),t.child=ln(t,null,l,a)):Ie(e,t,l,a),t.memoizedState=i.state,e=t.child):e=al(e,t,a),e}function wh(e,t,l,n){return Fl(),t.flags|=256,Ie(e,t,l,n),t.child}var Io={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Po(e){return{baseLanes:e,cachePool:Tm()}}function er(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Et),e}function Uh(e,t,l){var n=t.pendingProps,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(qe.current&2)!==0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(he){if(a?Cl(t):_l(),(e=Re)?(e=Vv(e,Rt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bl!==null?{id:Xt,overflow:Vt}:null,retryLane:536870912,hydrationErrors:null},l=hm(e),l.return=t,t.child=l,Fe=t,Re=null)):e=null,e===null)throw xl(t);return Hr(e)?t.lanes=32:t.lanes=536870912,null}var m=n.children;return n=n.fallback,a?(_l(),a=t.mode,m=ci({mode:"hidden",children:m},a),n=Wl(n,a,l,null),m.return=t,n.return=t,m.sibling=n,t.child=m,n=t.child,n.memoizedState=Po(l),n.childLanes=er(e,s,l),t.memoizedState=Io,qa(null,n)):(Cl(t),tr(t,m))}var b=e.memoizedState;if(b!==null&&(m=b.dehydrated,m!==null)){if(i)t.flags&256?(Cl(t),t.flags&=-257,t=lr(e,t,l)):t.memoizedState!==null?(_l(),t.child=e.child,t.flags|=128,t=null):(_l(),m=n.fallback,a=t.mode,n=ci({mode:"visible",children:n.children},a),m=Wl(m,a,l,null),m.flags|=2,n.return=t,m.return=t,n.sibling=m,t.child=n,ln(t,e.child,null,l),n=t.child,n.memoizedState=Po(l),n.childLanes=er(e,s,l),t.memoizedState=Io,t=qa(null,n));else if(Cl(t),Hr(m)){if(s=m.nextSibling&&m.nextSibling.dataset,s)var z=s.dgst;s=z,n=Error(o(419)),n.stack="",n.digest=s,_a({value:n,source:null,stack:null}),t=lr(e,t,l)}else if(Qe||Un(e,t,l,!1),s=(l&e.childLanes)!==0,Qe||s){if(s=Me,s!==null&&(n=xd(s,l),n!==0&&n!==b.retryLane))throw b.retryLane=n,kl(e,n),mt(s,e,n),Fo;Ur(m)||yi(),t=lr(e,t,l)}else Ur(m)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,Re=wt(m.nextSibling),Fe=t,he=!0,Sl=null,Rt=!1,e!==null&&gm(t,e),t=tr(t,n.children),t.flags|=4096);return t}return a?(_l(),m=n.fallback,a=t.mode,b=e.child,z=b.sibling,n=It(b,{mode:"hidden",children:n.children}),n.subtreeFlags=b.subtreeFlags&65011712,z!==null?m=It(z,m):(m=Wl(m,a,l,null),m.flags|=2),m.return=t,n.return=t,n.sibling=m,t.child=n,qa(null,n),n=t.child,m=e.child.memoizedState,m===null?m=Po(l):(a=m.cachePool,a!==null?(b=Xe._currentValue,a=a.parent!==b?{parent:b,pool:b}:a):a=Tm(),m={baseLanes:m.baseLanes|l,cachePool:a}),n.memoizedState=m,n.childLanes=er(e,s,l),t.memoizedState=Io,qa(e.child,n)):(Cl(t),l=e.child,e=l.sibling,l=It(l,{mode:"visible",children:n.children}),l.return=t,l.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=l,t.memoizedState=null,l)}function tr(e,t){return t=ci({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ci(e,t){return e=pt(22,e,null,t),e.lanes=0,e}function lr(e,t,l){return ln(t,e.child,null,l),e=tr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Hh(e,t,l){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),go(e.return,t,l)}function nr(e,t,l,n,a,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=l,s.tailMode=a,s.treeForkCount=i)}function Bh(e,t,l){var n=t.pendingProps,a=n.revealOrder,i=n.tail;n=n.children;var s=qe.current,m=(s&2)!==0;if(m?(s=s&1|2,t.flags|=128):s&=1,Q(qe,s),Ie(e,t,n,l),n=he?Ca:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Hh(e,l,t);else if(e.tag===19)Hh(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(l=t.child,a=null;l!==null;)e=l.alternate,e!==null&&Wu(e)===null&&(a=l),l=l.sibling;l=a,l===null?(a=t.child,t.child=null):(a=l.sibling,l.sibling=null),nr(t,!1,a,l,i,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Wu(e)===null){t.child=a;break}e=a.sibling,a.sibling=l,l=a,a=e}nr(t,!0,l,null,i,n);break;case"together":nr(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function al(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Ol|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Un(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=It(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=It(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function ar(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Gu(e)))}function x1(e,t,l){switch(t.tag){case 3:ut(t,t.stateNode.containerInfo),El(t,Xe,e.memoizedState.cache),Fl();break;case 27:case 5:fa(t);break;case 4:ut(t,t.stateNode.containerInfo);break;case 10:El(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Mo(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Cl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Uh(e,t,l):(Cl(t),e=al(e,t,l),e!==null?e.sibling:null);Cl(t);break;case 19:var a=(e.flags&128)!==0;if(n=(l&t.childLanes)!==0,n||(Un(e,t,l,!1),n=(l&t.childLanes)!==0),a){if(n)return Bh(e,t,l);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Q(qe,qe.current),n)break;return null;case 22:return t.lanes=0,Mh(e,t,l,t.pendingProps);case 24:El(t,Xe,e.memoizedState.cache)}return al(e,t,l)}function Lh(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!ar(e,l)&&(t.flags&128)===0)return Qe=!1,x1(e,t,l);Qe=(e.flags&131072)!==0}else Qe=!1,he&&(t.flags&1048576)!==0&&ym(t,Ca,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=en(t.elementType),t.type=e,typeof e=="function")oo(e)?(n=an(e,n),t.tag=1,t=Dh(null,t,e,n,l)):(t.tag=0,t=$o(null,t,e,n,l));else{if(e!=null){var a=e.$$typeof;if(a===W){t.tag=11,t=Ch(null,t,e,n,l);break e}else if(a===V){t.tag=14,t=_h(null,t,e,n,l);break e}}throw t=at(e)||e,Error(o(306,t,""))}}return t;case 0:return $o(e,t,t.type,t.pendingProps,l);case 1:return n=t.type,a=an(n,t.pendingProps),Dh(e,t,n,a,l);case 3:e:{if(ut(t,t.stateNode.containerInfo),e===null)throw Error(o(387));n=t.pendingProps;var i=t.memoizedState;a=i.element,Ao(e,t),wa(t,n,null,l);var s=t.memoizedState;if(n=s.cache,El(t,Xe,n),n!==i.cache&&po(t,[Xe],l,!0),Da(),n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=wh(e,t,n,l);break e}else if(n!==a){a=Mt(Error(o(424)),t),_a(a),t=wh(e,t,n,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Re=wt(e.firstChild),Fe=t,he=!0,Sl=null,Rt=!0,l=Mm(t,null,n,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Fl(),n===a){t=al(e,t,l);break e}Ie(e,t,n,l)}t=t.child}return t;case 26:return ii(e,t),e===null?(l=Wv(t.type,null,t.pendingProps,null))?t.memoizedState=l:he||(l=t.type,e=t.pendingProps,n=Ti(re.current).createElement(l),n[We]=t,n[ct]=e,Pe(n,l,e),Je(n),t.stateNode=n):t.memoizedState=Wv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fa(t),e===null&&he&&(n=t.stateNode=Kv(t.type,t.pendingProps,re.current),Fe=t,Rt=!0,a=Re,Ul(t.type)?(Br=a,Re=wt(n.firstChild)):Re=a),Ie(e,t,t.pendingProps.children,l),ii(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&he&&((a=n=Re)&&(n=$1(n,t.type,t.pendingProps,Rt),n!==null?(t.stateNode=n,Fe=t,Re=wt(n.firstChild),Rt=!1,a=!0):a=!1),a||xl(t)),fa(t),a=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,n=i.children,Rr(a,i)?n=null:s!==null&&Rr(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=jo(e,t,d1,null,null,l),eu._currentValue=a),ii(e,t),Ie(e,t,n,l),t.child;case 6:return e===null&&he&&((e=l=Re)&&(l=I1(l,t.pendingProps,Rt),l!==null?(t.stateNode=l,Fe=t,Re=null,e=!0):e=!1),e||xl(t)),null;case 13:return Uh(e,t,l);case 4:return ut(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ln(t,null,n,l):Ie(e,t,n,l),t.child;case 11:return Ch(e,t,t.type,t.pendingProps,l);case 7:return Ie(e,t,t.pendingProps,l),t.child;case 8:return Ie(e,t,t.pendingProps.children,l),t.child;case 12:return Ie(e,t,t.pendingProps.children,l),t.child;case 10:return n=t.pendingProps,El(t,t.type,n.value),Ie(e,t,n.children,l),t.child;case 9:return a=t.type._context,n=t.pendingProps.children,Il(t),a=$e(a),n=n(a),t.flags|=1,Ie(e,t,n,l),t.child;case 14:return _h(e,t,t.type,t.pendingProps,l);case 15:return zh(e,t,t.type,t.pendingProps,l);case 19:return Bh(e,t,l);case 31:return S1(e,t,l);case 22:return Mh(e,t,l,t.pendingProps);case 24:return Il(t),n=$e(Xe),e===null?(a=xo(),a===null&&(a=Me,i=bo(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=l),a=i),t.memoizedState={parent:n,cache:a},To(t),El(t,Xe,a)):((e.lanes&l)!==0&&(Ao(e,t),wa(t,null,null,l),Da()),a=e.memoizedState,i=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),El(t,Xe,n)):(n=i.cache,El(t,Xe,n),n!==a.cache&&po(t,[Xe],l,!0))),Ie(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function ul(e){e.flags|=4}function ur(e,t,l,n,a){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(a&335544128)===a)if(e.stateNode.complete)e.flags|=8192;else if(fv())e.flags|=8192;else throw tn=Zu,Eo}else e.flags&=-16777217}function qh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ey(t))if(fv())e.flags|=8192;else throw tn=Zu,Eo}function oi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?pd():536870912,e.lanes|=t,Jn|=t)}function Ya(e,t){if(!he)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function De(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,n=0;if(t)for(var a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=l,t}function E1(e,t,l){var n=t.pendingProps;switch(mo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return De(t),null;case 3:return l=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),tl(Xe),Le(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(wn(t)?ul(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vo())),De(t),null;case 26:var a=t.type,i=t.memoizedState;return e===null?(ul(t),i!==null?(De(t),qh(t,i)):(De(t),ur(t,a,null,n,l))):i?i!==e.memoizedState?(ul(t),De(t),qh(t,i)):(De(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&ul(t),De(t),ur(t,a,e,n,l)),null;case 27:if(bu(t),l=re.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ul(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return De(t),null}e=K.current,wn(t)?pm(t):(e=Kv(a,n,l),t.stateNode=e,ul(t))}return De(t),null;case 5:if(bu(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ul(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return De(t),null}if(i=K.current,wn(t))pm(t);else{var s=Ti(re.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?s.createElement(a,{is:n.is}):s.createElement(a)}}i[We]=t,i[ct]=n;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(Pe(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&ul(t)}}return De(t),ur(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ul(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=re.current,wn(t)){if(e=t.stateNode,l=t.memoizedProps,n=null,a=Fe,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}e[We]=t,e=!!(e.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||Uv(e.nodeValue,l)),e||xl(t,!0)}else e=Ti(e).createTextNode(n),e[We]=t,t.stateNode=e}return De(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(n=wn(t),l!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[We]=t}else Fl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),e=!1}else l=vo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(St(t),t):(St(t),null);if((t.flags&128)!==0)throw Error(o(558))}return De(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=wn(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(o(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));a[We]=t}else Fl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),a=!1}else a=vo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(St(t),t):(St(t),null)}return St(t),(t.flags&128)!==0?(t.lanes=l,t):(l=n!==null,e=e!==null&&e.memoizedState!==null,l&&(n=t.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),oi(t,t.updateQueue),De(t),null);case 4:return Le(),e===null&&_r(t.stateNode.containerInfo),De(t),null;case 10:return tl(t.type),De(t),null;case 19:if(L(qe),n=t.memoizedState,n===null)return De(t),null;if(a=(t.flags&128)!==0,i=n.rendering,i===null)if(a)Ya(n,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Wu(e),i!==null){for(t.flags|=128,Ya(n,!1),e=i.updateQueue,t.updateQueue=e,oi(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)mm(l,e),l=l.sibling;return Q(qe,qe.current&1|2),he&&Pt(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&ht()>mi&&(t.flags|=128,a=!0,Ya(n,!1),t.lanes=4194304)}else{if(!a)if(e=Wu(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,oi(t,e),Ya(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!he)return De(t),null}else 2*ht()-n.renderingStartTime>mi&&l!==536870912&&(t.flags|=128,a=!0,Ya(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ht(),e.sibling=null,l=qe.current,Q(qe,a?l&1|2:l&1),he&&Pt(t,n.treeForkCount),e):(De(t),null);case 22:case 23:return St(t),zo(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(l&536870912)!==0&&(t.flags&128)===0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),l=t.updateQueue,l!==null&&oi(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==l&&(t.flags|=2048),e!==null&&L(Pl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),tl(Xe),De(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function T1(e,t){switch(mo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tl(Xe),Le(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return bu(t),null;case 31:if(t.memoizedState!==null){if(St(t),t.alternate===null)throw Error(o(340));Fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(St(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(qe),null;case 4:return Le(),null;case 10:return tl(t.type),null;case 22:case 23:return St(t),zo(),e!==null&&L(Pl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return tl(Xe),null;case 25:return null;default:return null}}function Yh(e,t){switch(mo(t),t.tag){case 3:tl(Xe),Le();break;case 26:case 27:case 5:bu(t);break;case 4:Le();break;case 31:t.memoizedState!==null&&St(t);break;case 13:St(t);break;case 19:L(qe);break;case 10:tl(t.type);break;case 22:case 23:St(t),zo(),e!==null&&L(Pl);break;case 24:tl(Xe)}}function Ga(e,t){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&e)===e){n=void 0;var i=l.create,s=l.inst;n=i(),s.destroy=n}l=l.next}while(l!==a)}}catch(m){Ne(t,t.return,m)}}function zl(e,t,l){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){var s=n.inst,m=s.destroy;if(m!==void 0){s.destroy=void 0,a=t;var b=l,z=m;try{z()}catch(w){Ne(a,b,w)}}}n=n.next}while(n!==i)}}catch(w){Ne(t,t.return,w)}}function Gh(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{jm(t,l)}catch(n){Ne(e,e.return,n)}}}function Xh(e,t,l){l.props=an(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(n){Ne(e,t,n)}}function Xa(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof l=="function"?e.refCleanup=l(n):l.current=n}}catch(a){Ne(e,t,a)}}function Qt(e,t){var l=e.ref,n=e.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){Ne(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){Ne(e,t,a)}else l.current=null}function Vh(e){var t=e.type,l=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break e;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){Ne(e,e.return,a)}}function ir(e,t,l){try{var n=e.stateNode;Z1(n,e.type,l,t),n[ct]=t}catch(a){Ne(e,e.return,a)}}function Qh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ul(e.type)||e.tag===4}function cr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Qh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ul(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function or(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Ft));else if(n!==4&&(n===27&&Ul(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(or(e,t,l),e=e.sibling;e!==null;)or(e,t,l),e=e.sibling}function ri(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(n!==4&&(n===27&&Ul(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(ri(e,t,l),e=e.sibling;e!==null;)ri(e,t,l),e=e.sibling}function Zh(e){var t=e.stateNode,l=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);Pe(t,n,l),t[We]=e,t[ct]=l}catch(i){Ne(e,e.return,i)}}var il=!1,Ze=!1,rr=!1,Kh=typeof WeakSet=="function"?WeakSet:Set,ke=null;function A1(e,t){if(e=e.containerInfo,Or=Oi,e=am(e),to(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break e}var s=0,m=-1,b=-1,z=0,w=0,B=e,M=null;t:for(;;){for(var O;B!==l||a!==0&&B.nodeType!==3||(m=s+a),B!==i||n!==0&&B.nodeType!==3||(b=s+n),B.nodeType===3&&(s+=B.nodeValue.length),(O=B.firstChild)!==null;)M=B,B=O;for(;;){if(B===e)break t;if(M===l&&++z===a&&(m=s),M===i&&++w===n&&(b=s),(O=B.nextSibling)!==null)break;B=M,M=B.parentNode}B=O}l=m===-1||b===-1?null:{start:m,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(jr={focusedElem:e,selectionRange:l},Oi=!1,ke=t;ke!==null;)if(t=ke,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ke=e;else for(;ke!==null;){switch(t=ke,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)a=e[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,a=i.memoizedProps,i=i.memoizedState,n=l.stateNode;try{var Z=an(l.type,a);e=n.getSnapshotBeforeUpdate(Z,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(I){Ne(l,l.return,I)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)wr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":wr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,ke=e;break}ke=t.return}}function Jh(e,t,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:ol(e,l),n&4&&Ga(5,l);break;case 1:if(ol(e,l),n&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(s){Ne(l,l.return,s)}else{var a=an(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Ne(l,l.return,s)}}n&64&&Gh(l),n&512&&Xa(l,l.return);break;case 3:if(ol(e,l),n&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{jm(e,t)}catch(s){Ne(l,l.return,s)}}break;case 27:t===null&&n&4&&Zh(l);case 26:case 5:ol(e,l),t===null&&n&4&&Vh(l),n&512&&Xa(l,l.return);break;case 12:ol(e,l);break;case 31:ol(e,l),n&4&&Fh(e,l);break;case 13:ol(e,l),n&4&&$h(e,l),n&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=D1.bind(null,l),P1(e,l))));break;case 22:if(n=l.memoizedState!==null||il,!n){t=t!==null&&t.memoizedState!==null||Ze,a=il;var i=Ze;il=n,(Ze=t)&&!i?rl(e,l,(l.subtreeFlags&8772)!==0):ol(e,l),il=a,Ze=i}break;case 30:break;default:ol(e,l)}}function kh(e){var t=e.alternate;t!==null&&(e.alternate=null,kh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Lc(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ue=null,rt=!1;function cl(e,t,l){for(l=l.child;l!==null;)Wh(e,t,l),l=l.sibling}function Wh(e,t,l){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(da,l)}catch{}switch(l.tag){case 26:Ze||Qt(l,t),cl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Ze||Qt(l,t);var n=Ue,a=rt;Ul(l.type)&&(Ue=l.stateNode,rt=!1),cl(e,t,l),$a(l.stateNode),Ue=n,rt=a;break;case 5:Ze||Qt(l,t);case 6:if(n=Ue,a=rt,Ue=null,cl(e,t,l),Ue=n,rt=a,Ue!==null)if(rt)try{(Ue.nodeType===9?Ue.body:Ue.nodeName==="HTML"?Ue.ownerDocument.body:Ue).removeChild(l.stateNode)}catch(i){Ne(l,t,i)}else try{Ue.removeChild(l.stateNode)}catch(i){Ne(l,t,i)}break;case 18:Ue!==null&&(rt?(e=Ue,Gv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),ta(e)):Gv(Ue,l.stateNode));break;case 4:n=Ue,a=rt,Ue=l.stateNode.containerInfo,rt=!0,cl(e,t,l),Ue=n,rt=a;break;case 0:case 11:case 14:case 15:zl(2,l,t),Ze||zl(4,l,t),cl(e,t,l);break;case 1:Ze||(Qt(l,t),n=l.stateNode,typeof n.componentWillUnmount=="function"&&Xh(l,t,n)),cl(e,t,l);break;case 21:cl(e,t,l);break;case 22:Ze=(n=Ze)||l.memoizedState!==null,cl(e,t,l),Ze=n;break;default:cl(e,t,l)}}function Fh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ta(e)}catch(l){Ne(t,t.return,l)}}}function $h(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ta(e)}catch(l){Ne(t,t.return,l)}}function N1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Kh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Kh),t;default:throw Error(o(435,e.tag))}}function si(e,t){var l=N1(e);t.forEach(function(n){if(!l.has(n)){l.add(n);var a=w1.bind(null,e,n);n.then(a,a)}})}function st(e,t){var l=t.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],i=e,s=t,m=s;e:for(;m!==null;){switch(m.tag){case 27:if(Ul(m.type)){Ue=m.stateNode,rt=!1;break e}break;case 5:Ue=m.stateNode,rt=!1;break e;case 3:case 4:Ue=m.stateNode.containerInfo,rt=!0;break e}m=m.return}if(Ue===null)throw Error(o(160));Wh(i,s,a),Ue=null,rt=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Ih(t,e),t=t.sibling}var Lt=null;function Ih(e,t){var l=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:st(t,e),ft(e),n&4&&(zl(3,e,e.return),Ga(3,e),zl(5,e,e.return));break;case 1:st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),n&64&&il&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=Lt;if(st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),n&4){var i=l!==null?l.memoizedState:null;if(n=e.memoizedState,l===null)if(n===null)if(e.stateNode===null){e:{n=e.type,l=e.memoizedProps,a=a.ownerDocument||a;t:switch(n){case"title":i=a.getElementsByTagName("title")[0],(!i||i[va]||i[We]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(n),a.head.insertBefore(i,a.querySelector("head > title"))),Pe(i,n,l),i[We]=e,Je(i),n=i;break e;case"link":var s=Iv("link","href",a).get(n+(l.href||""));if(s){for(var m=0;m<s.length;m++)if(i=s[m],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(m,1);break t}}i=a.createElement(n),Pe(i,n,l),a.head.appendChild(i);break;case"meta":if(s=Iv("meta","content",a).get(n+(l.content||""))){for(m=0;m<s.length;m++)if(i=s[m],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(m,1);break t}}i=a.createElement(n),Pe(i,n,l),a.head.appendChild(i);break;default:throw Error(o(468,n))}i[We]=e,Je(i),n=i}e.stateNode=n}else Pv(a,e.type,e.stateNode);else e.stateNode=$v(a,n,e.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?Pv(a,e.type,e.stateNode):$v(a,n,e.memoizedProps)):n===null&&e.stateNode!==null&&ir(e,e.memoizedProps,l.memoizedProps)}break;case 27:st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),l!==null&&n&4&&ir(e,e.memoizedProps,l.memoizedProps);break;case 5:if(st(t,e),ft(e),n&512&&(Ze||l===null||Qt(l,l.return)),e.flags&32){a=e.stateNode;try{An(a,"")}catch(Z){Ne(e,e.return,Z)}}n&4&&e.stateNode!=null&&(a=e.memoizedProps,ir(e,a,l!==null?l.memoizedProps:a)),n&1024&&(rr=!0);break;case 6:if(st(t,e),ft(e),n&4){if(e.stateNode===null)throw Error(o(162));n=e.memoizedProps,l=e.stateNode;try{l.nodeValue=n}catch(Z){Ne(e,e.return,Z)}}break;case 3:if(Ci=null,a=Lt,Lt=Ai(t.containerInfo),st(t,e),Lt=a,ft(e),n&4&&l!==null&&l.memoizedState.isDehydrated)try{ta(t.containerInfo)}catch(Z){Ne(e,e.return,Z)}rr&&(rr=!1,Ph(e));break;case 4:n=Lt,Lt=Ai(e.stateNode.containerInfo),st(t,e),ft(e),Lt=n;break;case 12:st(t,e),ft(e);break;case 31:st(t,e),ft(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 13:st(t,e),ft(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(di=ht()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 22:a=e.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,z=il,w=Ze;if(il=z||a,Ze=w||b,st(t,e),Ze=w,il=z,ft(e),n&8192)e:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(l===null||b||il||Ze||un(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){b=l=t;try{if(i=b.stateNode,a)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{m=b.stateNode;var B=b.memoizedProps.style,M=B!=null&&B.hasOwnProperty("display")?B.display:null;m.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(Z){Ne(b,b.return,Z)}}}else if(t.tag===6){if(l===null){b=t;try{b.stateNode.nodeValue=a?"":b.memoizedProps}catch(Z){Ne(b,b.return,Z)}}}else if(t.tag===18){if(l===null){b=t;try{var O=b.stateNode;a?Xv(O,!0):Xv(b.stateNode,!1)}catch(Z){Ne(b,b.return,Z)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,si(e,l))));break;case 19:st(t,e),ft(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,si(e,n)));break;case 30:break;case 21:break;default:st(t,e),ft(e)}}function ft(e){var t=e.flags;if(t&2){try{for(var l,n=e.return;n!==null;){if(Qh(n)){l=n;break}n=n.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var a=l.stateNode,i=cr(e);ri(e,i,a);break;case 5:var s=l.stateNode;l.flags&32&&(An(s,""),l.flags&=-33);var m=cr(e);ri(e,m,s);break;case 3:case 4:var b=l.stateNode.containerInfo,z=cr(e);or(e,z,b);break;default:throw Error(o(161))}}catch(w){Ne(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ph(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ph(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ol(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Jh(e,t.alternate,t),t=t.sibling}function un(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:zl(4,t,t.return),un(t);break;case 1:Qt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Xh(t,t.return,l),un(t);break;case 27:$a(t.stateNode);case 26:case 5:Qt(t,t.return),un(t);break;case 22:t.memoizedState===null&&un(t);break;case 30:un(t);break;default:un(t)}e=e.sibling}}function rl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,a=e,i=t,s=i.flags;switch(i.tag){case 0:case 11:case 15:rl(a,i,l),Ga(4,i);break;case 1:if(rl(a,i,l),n=i,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(z){Ne(n,n.return,z)}if(n=i,a=n.updateQueue,a!==null){var m=n.stateNode;try{var b=a.shared.hiddenCallbacks;if(b!==null)for(a.shared.hiddenCallbacks=null,a=0;a<b.length;a++)Om(b[a],m)}catch(z){Ne(n,n.return,z)}}l&&s&64&&Gh(i),Xa(i,i.return);break;case 27:Zh(i);case 26:case 5:rl(a,i,l),l&&n===null&&s&4&&Vh(i),Xa(i,i.return);break;case 12:rl(a,i,l);break;case 31:rl(a,i,l),l&&s&4&&Fh(a,i);break;case 13:rl(a,i,l),l&&s&4&&$h(a,i);break;case 22:i.memoizedState===null&&rl(a,i,l),Xa(i,i.return);break;case 30:break;default:rl(a,i,l)}t=t.sibling}}function sr(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&za(l))}function fr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&za(e))}function qt(e,t,l,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ev(e,t,l,n),t=t.sibling}function ev(e,t,l,n){var a=t.flags;switch(t.tag){case 0:case 11:case 15:qt(e,t,l,n),a&2048&&Ga(9,t);break;case 1:qt(e,t,l,n);break;case 3:qt(e,t,l,n),a&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&za(e)));break;case 12:if(a&2048){qt(e,t,l,n),e=t.stateNode;try{var i=t.memoizedProps,s=i.id,m=i.onPostCommit;typeof m=="function"&&m(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(b){Ne(t,t.return,b)}}else qt(e,t,l,n);break;case 31:qt(e,t,l,n);break;case 13:qt(e,t,l,n);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,t.memoizedState!==null?i._visibility&2?qt(e,t,l,n):Va(e,t):i._visibility&2?qt(e,t,l,n):(i._visibility|=2,Qn(e,t,l,n,(t.subtreeFlags&10256)!==0||!1)),a&2048&&sr(s,t);break;case 24:qt(e,t,l,n),a&2048&&fr(t.alternate,t);break;default:qt(e,t,l,n)}}function Qn(e,t,l,n,a){for(a=a&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,m=l,b=n,z=s.flags;switch(s.tag){case 0:case 11:case 15:Qn(i,s,m,b,a),Ga(8,s);break;case 23:break;case 22:var w=s.stateNode;s.memoizedState!==null?w._visibility&2?Qn(i,s,m,b,a):Va(i,s):(w._visibility|=2,Qn(i,s,m,b,a)),a&&z&2048&&sr(s.alternate,s);break;case 24:Qn(i,s,m,b,a),a&&z&2048&&fr(s.alternate,s);break;default:Qn(i,s,m,b,a)}t=t.sibling}}function Va(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,n=t,a=n.flags;switch(n.tag){case 22:Va(l,n),a&2048&&sr(n.alternate,n);break;case 24:Va(l,n),a&2048&&fr(n.alternate,n);break;default:Va(l,n)}t=t.sibling}}var Qa=8192;function Zn(e,t,l){if(e.subtreeFlags&Qa)for(e=e.child;e!==null;)tv(e,t,l),e=e.sibling}function tv(e,t,l){switch(e.tag){case 26:Zn(e,t,l),e.flags&Qa&&e.memoizedState!==null&&fS(l,Lt,e.memoizedState,e.memoizedProps);break;case 5:Zn(e,t,l);break;case 3:case 4:var n=Lt;Lt=Ai(e.stateNode.containerInfo),Zn(e,t,l),Lt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Qa,Qa=16777216,Zn(e,t,l),Qa=n):Zn(e,t,l));break;default:Zn(e,t,l)}}function lv(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Za(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];ke=n,av(n,e)}lv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)nv(e),e=e.sibling}function nv(e){switch(e.tag){case 0:case 11:case 15:Za(e),e.flags&2048&&zl(9,e,e.return);break;case 3:Za(e);break;case 12:Za(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,fi(e)):Za(e);break;default:Za(e)}}function fi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];ke=n,av(n,e)}lv(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:zl(8,t,t.return),fi(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,fi(t));break;default:fi(t)}e=e.sibling}}function av(e,t){for(;ke!==null;){var l=ke;switch(l.tag){case 0:case 11:case 15:zl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:za(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,ke=n;else e:for(l=e;ke!==null;){n=ke;var a=n.sibling,i=n.return;if(kh(n),n===l){ke=null;break e}if(a!==null){a.return=i,ke=a;break e}ke=i}}}var C1={getCacheForType:function(e){var t=$e(Xe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return $e(Xe).controller.signal}},_1=typeof WeakMap=="function"?WeakMap:Map,Se=0,Me=null,se=null,de=0,Ae=0,xt=null,Ml=!1,Kn=!1,dr=!1,sl=0,Be=0,Ol=0,cn=0,mr=0,Et=0,Jn=0,Ka=null,dt=null,hr=!1,di=0,uv=0,mi=1/0,hi=null,jl=null,Ke=0,Rl=null,kn=null,fl=0,vr=0,yr=null,iv=null,Ja=0,gr=null;function Tt(){return(Se&2)!==0&&de!==0?de&-de:D.T!==null?Tr():Ed()}function cv(){if(Et===0)if((de&536870912)===0||he){var e=Eu;Eu<<=1,(Eu&3932160)===0&&(Eu=262144),Et=e}else Et=536870912;return e=bt.current,e!==null&&(e.flags|=32),Et}function mt(e,t,l){(e===Me&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)&&(Wn(e,0),Dl(e,de,Et,!1)),ha(e,l),((Se&2)===0||e!==Me)&&(e===Me&&((Se&2)===0&&(cn|=l),Be===4&&Dl(e,de,Et,!1)),Zt(e))}function ov(e,t,l){if((Se&6)!==0)throw Error(o(327));var n=!l&&(t&127)===0&&(t&e.expiredLanes)===0||ma(e,t),a=n?O1(e,t):br(e,t,!0),i=n;do{if(a===0){Kn&&!n&&Dl(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!z1(l)){a=br(e,t,!1),i=!1;continue}if(a===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var m=e;a=Ka;var b=m.current.memoizedState.isDehydrated;if(b&&(Wn(m,s).flags|=256),s=br(m,s,!1),s!==2){if(dr&&!b){m.errorRecoveryDisabledLanes|=i,cn|=i,a=4;break e}i=dt,dt=a,i!==null&&(dt===null?dt=i:dt.push.apply(dt,i))}a=s}if(i=!1,a!==2)continue}}if(a===1){Wn(e,0),Dl(e,t,0,!0);break}e:{switch(n=e,i=a,i){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Dl(n,t,Et,!Ml);break e;case 2:dt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(a=di+300-ht(),10<a)){if(Dl(n,t,Et,!Ml),Au(n,0,!0)!==0)break e;fl=t,n.timeoutHandle=qv(rv.bind(null,n,l,dt,hi,hr,t,Et,cn,Jn,Ml,i,"Throttled",-0,0),a);break e}rv(n,l,dt,hi,hr,t,Et,cn,Jn,Ml,i,null,-0,0)}}break}while(!0);Zt(e)}function rv(e,t,l,n,a,i,s,m,b,z,w,B,M,O){if(e.timeoutHandle=-1,B=t.subtreeFlags,B&8192||(B&16785408)===16785408){B={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ft},tv(t,i,B);var Z=(i&62914560)===i?di-ht():(i&4194048)===i?uv-ht():0;if(Z=dS(B,Z),Z!==null){fl=i,e.cancelPendingCommit=Z(gv.bind(null,e,t,i,l,n,a,s,m,b,w,B,null,M,O)),Dl(e,i,s,!z);return}}gv(e,t,i,l,n,a,s,m,b)}function z1(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],i=a.getSnapshot;a=a.value;try{if(!gt(i(),a))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dl(e,t,l,n){t&=~mr,t&=~cn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var i=31-yt(a),s=1<<i;n[i]=-1,a&=~s}l!==0&&bd(e,l,t)}function vi(){return(Se&6)===0?(ka(0),!1):!0}function pr(){if(se!==null){if(Ae===0)var e=se.return;else e=se,el=$l=null,wo(e),qn=null,Oa=0,e=se;for(;e!==null;)Yh(e.alternate,e),e=e.return;se=null}}function Wn(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,k1(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),fl=0,pr(),Me=e,se=l=It(e.current,null),de=t,Ae=0,xt=null,Ml=!1,Kn=ma(e,t),dr=!1,Jn=Et=mr=cn=Ol=Be=0,dt=Ka=null,hr=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-yt(n),i=1<<a;t|=e[a],n&=~i}return sl=t,Hu(),l}function sv(e,t){ue=null,D.H=La,t===Ln||t===Qu?(t=Cm(),Ae=3):t===Eo?(t=Cm(),Ae=4):Ae=t===Fo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,xt=t,se===null&&(Be=1,ai(e,Mt(t,e.current)))}function fv(){var e=bt.current;return e===null?!0:(de&4194048)===de?Dt===null:(de&62914560)===de||(de&536870912)!==0?e===Dt:!1}function dv(){var e=D.H;return D.H=La,e===null?La:e}function mv(){var e=D.A;return D.A=C1,e}function yi(){Be=4,Ml||(de&4194048)!==de&&bt.current!==null||(Kn=!0),(Ol&134217727)===0&&(cn&134217727)===0||Me===null||Dl(Me,de,Et,!1)}function br(e,t,l){var n=Se;Se|=2;var a=dv(),i=mv();(Me!==e||de!==t)&&(hi=null,Wn(e,t)),t=!1;var s=Be;e:do try{if(Ae!==0&&se!==null){var m=se,b=xt;switch(Ae){case 8:pr(),s=6;break e;case 3:case 2:case 9:case 6:bt.current===null&&(t=!0);var z=Ae;if(Ae=0,xt=null,Fn(e,m,b,z),l&&Kn){s=0;break e}break;default:z=Ae,Ae=0,xt=null,Fn(e,m,b,z)}}M1(),s=Be;break}catch(w){sv(e,w)}while(!0);return t&&e.shellSuspendCounter++,el=$l=null,Se=n,D.H=a,D.A=i,se===null&&(Me=null,de=0,Hu()),s}function M1(){for(;se!==null;)hv(se)}function O1(e,t){var l=Se;Se|=2;var n=dv(),a=mv();Me!==e||de!==t?(hi=null,mi=ht()+500,Wn(e,t)):Kn=ma(e,t);e:do try{if(Ae!==0&&se!==null){t=se;var i=xt;t:switch(Ae){case 1:Ae=0,xt=null,Fn(e,t,i,1);break;case 2:case 9:if(Am(i)){Ae=0,xt=null,vv(t);break}t=function(){Ae!==2&&Ae!==9||Me!==e||(Ae=7),Zt(e)},i.then(t,t);break e;case 3:Ae=7;break e;case 4:Ae=5;break e;case 7:Am(i)?(Ae=0,xt=null,vv(t)):(Ae=0,xt=null,Fn(e,t,i,7));break;case 5:var s=null;switch(se.tag){case 26:s=se.memoizedState;case 5:case 27:var m=se;if(s?ey(s):m.stateNode.complete){Ae=0,xt=null;var b=m.sibling;if(b!==null)se=b;else{var z=m.return;z!==null?(se=z,gi(z)):se=null}break t}}Ae=0,xt=null,Fn(e,t,i,5);break;case 6:Ae=0,xt=null,Fn(e,t,i,6);break;case 8:pr(),Be=6;break e;default:throw Error(o(462))}}j1();break}catch(w){sv(e,w)}while(!0);return el=$l=null,D.H=n,D.A=a,Se=l,se!==null?0:(Me=null,de=0,Hu(),Be)}function j1(){for(;se!==null&&!eb();)hv(se)}function hv(e){var t=Lh(e.alternate,e,sl);e.memoizedProps=e.pendingProps,t===null?gi(e):se=t}function vv(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Rh(l,t,t.pendingProps,t.type,void 0,de);break;case 11:t=Rh(l,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:wo(t);default:Yh(l,t),t=se=mm(t,sl),t=Lh(l,t,sl)}e.memoizedProps=e.pendingProps,t===null?gi(e):se=t}function Fn(e,t,l,n){el=$l=null,wo(t),qn=null,Oa=0;var a=t.return;try{if(b1(e,a,t,l,de)){Be=1,ai(e,Mt(l,e.current)),se=null;return}}catch(i){if(a!==null)throw se=a,i;Be=1,ai(e,Mt(l,e.current)),se=null;return}t.flags&32768?(he||n===1?e=!0:Kn||(de&536870912)!==0?e=!1:(Ml=e=!0,(n===2||n===9||n===3||n===6)&&(n=bt.current,n!==null&&n.tag===13&&(n.flags|=16384))),yv(t,e)):gi(t)}function gi(e){var t=e;do{if((t.flags&32768)!==0){yv(t,Ml);return}e=t.return;var l=E1(t.alternate,t,sl);if(l!==null){se=l;return}if(t=t.sibling,t!==null){se=t;return}se=t=e}while(t!==null);Be===0&&(Be=5)}function yv(e,t){do{var l=T1(e.alternate,e);if(l!==null){l.flags&=32767,se=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){se=e;return}se=e=l}while(e!==null);Be=6,se=null}function gv(e,t,l,n,a,i,s,m,b){e.cancelPendingCommit=null;do pi();while(Ke!==0);if((Se&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,i|=io,sb(e,l,i,s,m,b),e===Me&&(se=Me=null,de=0),kn=t,Rl=e,fl=l,vr=i,yr=a,iv=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,U1(Su,function(){return Ev(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=D.T,D.T=null,a=G.p,G.p=2,s=Se,Se|=4;try{A1(e,t,l)}finally{Se=s,G.p=a,D.T=n}}Ke=1,pv(),bv(),Sv()}}function pv(){if(Ke===1){Ke=0;var e=Rl,t=kn,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=D.T,D.T=null;var n=G.p;G.p=2;var a=Se;Se|=4;try{Ih(t,e);var i=jr,s=am(e.containerInfo),m=i.focusedElem,b=i.selectionRange;if(s!==m&&m&&m.ownerDocument&&nm(m.ownerDocument.documentElement,m)){if(b!==null&&to(m)){var z=b.start,w=b.end;if(w===void 0&&(w=z),"selectionStart"in m)m.selectionStart=z,m.selectionEnd=Math.min(w,m.value.length);else{var B=m.ownerDocument||document,M=B&&B.defaultView||window;if(M.getSelection){var O=M.getSelection(),Z=m.textContent.length,I=Math.min(b.start,Z),ze=b.end===void 0?I:Math.min(b.end,Z);!O.extend&&I>ze&&(s=ze,ze=I,I=s);var N=lm(m,I),E=lm(m,ze);if(N&&E&&(O.rangeCount!==1||O.anchorNode!==N.node||O.anchorOffset!==N.offset||O.focusNode!==E.node||O.focusOffset!==E.offset)){var _=B.createRange();_.setStart(N.node,N.offset),O.removeAllRanges(),I>ze?(O.addRange(_),O.extend(E.node,E.offset)):(_.setEnd(E.node,E.offset),O.addRange(_))}}}}for(B=[],O=m;O=O.parentNode;)O.nodeType===1&&B.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<B.length;m++){var U=B[m];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}Oi=!!Or,jr=Or=null}finally{Se=a,G.p=n,D.T=l}}e.current=t,Ke=2}}function bv(){if(Ke===2){Ke=0;var e=Rl,t=kn,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=D.T,D.T=null;var n=G.p;G.p=2;var a=Se;Se|=4;try{Jh(e,t.alternate,t)}finally{Se=a,G.p=n,D.T=l}}Ke=3}}function Sv(){if(Ke===4||Ke===3){Ke=0,tb();var e=Rl,t=kn,l=fl,n=iv;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ke=5:(Ke=0,kn=Rl=null,xv(e,e.pendingLanes));var a=e.pendingLanes;if(a===0&&(jl=null),Hc(l),t=t.stateNode,vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(da,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=D.T,a=G.p,G.p=2,D.T=null;try{for(var i=e.onRecoverableError,s=0;s<n.length;s++){var m=n[s];i(m.value,{componentStack:m.stack})}}finally{D.T=t,G.p=a}}(fl&3)!==0&&pi(),Zt(e),a=e.pendingLanes,(l&261930)!==0&&(a&42)!==0?e===gr?Ja++:(Ja=0,gr=e):Ja=0,ka(0)}}function xv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,za(t)))}function pi(){return pv(),bv(),Sv(),Ev()}function Ev(){if(Ke!==5)return!1;var e=Rl,t=vr;vr=0;var l=Hc(fl),n=D.T,a=G.p;try{G.p=32>l?32:l,D.T=null,l=yr,yr=null;var i=Rl,s=fl;if(Ke=0,kn=Rl=null,fl=0,(Se&6)!==0)throw Error(o(331));var m=Se;if(Se|=4,nv(i.current),ev(i,i.current,s,l),Se=m,ka(0,!1),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(da,i)}catch{}return!0}finally{G.p=a,D.T=n,xv(e,t)}}function Tv(e,t,l){t=Mt(l,t),t=Wo(e.stateNode,t,2),e=Nl(e,t,2),e!==null&&(ha(e,2),Zt(e))}function Ne(e,t,l){if(e.tag===3)Tv(e,e,l);else for(;t!==null;){if(t.tag===3){Tv(t,e,l);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(jl===null||!jl.has(n))){e=Mt(l,e),l=Ah(2),n=Nl(t,l,2),n!==null&&(Nh(l,n,t,e),ha(n,2),Zt(n));break}}t=t.return}}function Sr(e,t,l){var n=e.pingCache;if(n===null){n=e.pingCache=new _1;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(l)||(dr=!0,a.add(l),e=R1.bind(null,e,t,l),t.then(e,e))}function R1(e,t,l){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Me===e&&(de&l)===l&&(Be===4||Be===3&&(de&62914560)===de&&300>ht()-di?(Se&2)===0&&Wn(e,0):mr|=l,Jn===de&&(Jn=0)),Zt(e)}function Av(e,t){t===0&&(t=pd()),e=kl(e,t),e!==null&&(ha(e,t),Zt(e))}function D1(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Av(e,l)}function w1(e,t){var l=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),Av(e,l)}function U1(e,t){return Rc(e,t)}var bi=null,$n=null,xr=!1,Si=!1,Er=!1,wl=0;function Zt(e){e!==$n&&e.next===null&&($n===null?bi=$n=e:$n=$n.next=e),Si=!0,xr||(xr=!0,B1())}function ka(e,t){if(!Er&&Si){Er=!0;do for(var l=!1,n=bi;n!==null;){if(e!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var s=n.suspendedLanes,m=n.pingedLanes;i=(1<<31-yt(42|e)+1)-1,i&=a&~(s&~m),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,zv(n,i))}else i=de,i=Au(n,n===Me?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||ma(n,i)||(l=!0,zv(n,i));n=n.next}while(l);Er=!1}}function H1(){Nv()}function Nv(){Si=xr=!1;var e=0;wl!==0&&J1()&&(e=wl);for(var t=ht(),l=null,n=bi;n!==null;){var a=n.next,i=Cv(n,t);i===0?(n.next=null,l===null?bi=a:l.next=a,a===null&&($n=l)):(l=n,(e!==0||(i&3)!==0)&&(Si=!0)),n=a}Ke!==0&&Ke!==5||ka(e),wl!==0&&(wl=0)}function Cv(e,t){for(var l=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-yt(i),m=1<<s,b=a[s];b===-1?((m&l)===0||(m&n)!==0)&&(a[s]=rb(m,t)):b<=t&&(e.expiredLanes|=m),i&=~m}if(t=Me,l=de,l=Au(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,l===0||e===t&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Dc(n),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||ma(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(n!==null&&Dc(n),Hc(l)){case 2:case 8:l=yd;break;case 32:l=Su;break;case 268435456:l=gd;break;default:l=Su}return n=_v.bind(null,e),l=Rc(l,n),e.callbackPriority=t,e.callbackNode=l,t}return n!==null&&n!==null&&Dc(n),e.callbackPriority=2,e.callbackNode=null,2}function _v(e,t){if(Ke!==0&&Ke!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(pi()&&e.callbackNode!==l)return null;var n=de;return n=Au(e,e===Me?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(ov(e,n,t),Cv(e,ht()),e.callbackNode!=null&&e.callbackNode===l?_v.bind(null,e):null)}function zv(e,t){if(pi())return null;ov(e,t,!0)}function B1(){W1(function(){(Se&6)!==0?Rc(vd,H1):Nv()})}function Tr(){if(wl===0){var e=Hn;e===0&&(e=xu,xu<<=1,(xu&261888)===0&&(xu=256)),wl=e}return wl}function Mv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:zu(""+e)}function Ov(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function L1(e,t,l,n,a){if(t==="submit"&&l&&l.stateNode===a){var i=Mv((a[ct]||null).action),s=n.submitter;s&&(t=(t=s[ct]||null)?Mv(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var m=new Ru("action","action",null,n,a);e.push({event:m,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(wl!==0){var b=s?Ov(a,s):new FormData(a);Vo(l,{pending:!0,data:b,method:a.method,action:i},null,b)}}else typeof i=="function"&&(m.preventDefault(),b=s?Ov(a,s):new FormData(a),Vo(l,{pending:!0,data:b,method:a.method,action:i},i,b))},currentTarget:a}]})}}for(var Ar=0;Ar<uo.length;Ar++){var Nr=uo[Ar],q1=Nr.toLowerCase(),Y1=Nr[0].toUpperCase()+Nr.slice(1);Bt(q1,"on"+Y1)}Bt(cm,"onAnimationEnd"),Bt(om,"onAnimationIteration"),Bt(rm,"onAnimationStart"),Bt("dblclick","onDoubleClick"),Bt("focusin","onFocus"),Bt("focusout","onBlur"),Bt(l1,"onTransitionRun"),Bt(n1,"onTransitionStart"),Bt(a1,"onTransitionCancel"),Bt(sm,"onTransitionEnd"),En("onMouseEnter",["mouseout","mouseover"]),En("onMouseLeave",["mouseout","mouseover"]),En("onPointerEnter",["pointerout","pointerover"]),En("onPointerLeave",["pointerout","pointerover"]),Ql("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ql("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ql("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ql("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ql("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ql("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wa="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(" "),G1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wa));function jv(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var n=e[l],a=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var s=n.length-1;0<=s;s--){var m=n[s],b=m.instance,z=m.currentTarget;if(m=m.listener,b!==i&&a.isPropagationStopped())break e;i=m,a.currentTarget=z;try{i(a)}catch(w){Uu(w)}a.currentTarget=null,i=b}else for(s=0;s<n.length;s++){if(m=n[s],b=m.instance,z=m.currentTarget,m=m.listener,b!==i&&a.isPropagationStopped())break e;i=m,a.currentTarget=z;try{i(a)}catch(w){Uu(w)}a.currentTarget=null,i=b}}}}function fe(e,t){var l=t[Bc];l===void 0&&(l=t[Bc]=new Set);var n=e+"__bubble";l.has(n)||(Rv(t,e,2,!1),l.add(n))}function Cr(e,t,l){var n=0;t&&(n|=4),Rv(l,e,n,t)}var xi="_reactListening"+Math.random().toString(36).slice(2);function _r(e){if(!e[xi]){e[xi]=!0,Nd.forEach(function(l){l!=="selectionchange"&&(G1.has(l)||Cr(l,!1,e),Cr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xi]||(t[xi]=!0,Cr("selectionchange",!1,t))}}function Rv(e,t,l,n){switch(cy(t)){case 2:var a=vS;break;case 8:a=yS;break;default:a=Xr}l=a.bind(null,t,l,e),a=void 0,!Kc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),n?a!==void 0?e.addEventListener(t,l,{capture:!0,passive:a}):e.addEventListener(t,l,!0):a!==void 0?e.addEventListener(t,l,{passive:a}):e.addEventListener(t,l,!1)}function zr(e,t,l,n,a){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var m=n.stateNode.containerInfo;if(m===a)break;if(s===4)for(s=n.return;s!==null;){var b=s.tag;if((b===3||b===4)&&s.stateNode.containerInfo===a)return;s=s.return}for(;m!==null;){if(s=bn(m),s===null)return;if(b=s.tag,b===5||b===6||b===26||b===27){n=i=s;continue e}m=m.parentNode}}n=n.return}Bd(function(){var z=i,w=Qc(l),B=[];e:{var M=fm.get(e);if(M!==void 0){var O=Ru,Z=e;switch(e){case"keypress":if(Ou(l)===0)break e;case"keydown":case"keyup":O=wb;break;case"focusin":Z="focus",O=Fc;break;case"focusout":Z="blur",O=Fc;break;case"beforeblur":case"afterblur":O=Fc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=Yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=Eb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=Bb;break;case cm:case om:case rm:O=Nb;break;case sm:O=qb;break;case"scroll":case"scrollend":O=Sb;break;case"wheel":O=Gb;break;case"copy":case"cut":case"paste":O=_b;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=Xd;break;case"toggle":case"beforetoggle":O=Vb}var I=(t&4)!==0,ze=!I&&(e==="scroll"||e==="scrollend"),N=I?M!==null?M+"Capture":null:M;I=[];for(var E=z,_;E!==null;){var U=E;if(_=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||_===null||N===null||(U=ga(E,N),U!=null&&I.push(Fa(E,U,_))),ze)break;E=E.return}0<I.length&&(M=new O(M,Z,null,l,w),B.push({event:M,listeners:I}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",M&&l!==Vc&&(Z=l.relatedTarget||l.fromElement)&&(bn(Z)||Z[pn]))break e;if((O||M)&&(M=w.window===w?w:(M=w.ownerDocument)?M.defaultView||M.parentWindow:window,O?(Z=l.relatedTarget||l.toElement,O=z,Z=Z?bn(Z):null,Z!==null&&(ze=d(Z),I=Z.tag,Z!==ze||I!==5&&I!==27&&I!==6)&&(Z=null)):(O=null,Z=z),O!==Z)){if(I=Yd,U="onMouseLeave",N="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(I=Xd,U="onPointerLeave",N="onPointerEnter",E="pointer"),ze=O==null?M:ya(O),_=Z==null?M:ya(Z),M=new I(U,E+"leave",O,l,w),M.target=ze,M.relatedTarget=_,U=null,bn(w)===z&&(I=new I(N,E+"enter",Z,l,w),I.target=_,I.relatedTarget=ze,U=I),ze=U,O&&Z)t:{for(I=X1,N=O,E=Z,_=0,U=N;U;U=I(U))_++;U=0;for(var F=E;F;F=I(F))U++;for(;0<_-U;)N=I(N),_--;for(;0<U-_;)E=I(E),U--;for(;_--;){if(N===E||E!==null&&N===E.alternate){I=N;break t}N=I(N),E=I(E)}I=null}else I=null;O!==null&&Dv(B,M,O,I,!1),Z!==null&&ze!==null&&Dv(B,ze,Z,I,!0)}}e:{if(M=z?ya(z):window,O=M.nodeName&&M.nodeName.toLowerCase(),O==="select"||O==="input"&&M.type==="file")var ge=Fd;else if(kd(M))if($d)ge=Pb;else{ge=$b;var J=Fb}else O=M.nodeName,!O||O.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?z&&Xc(z.elementType)&&(ge=Fd):ge=Ib;if(ge&&(ge=ge(e,z))){Wd(B,ge,l,w);break e}J&&J(e,M,z),e==="focusout"&&z&&M.type==="number"&&z.memoizedProps.value!=null&&Gc(M,"number",M.value)}switch(J=z?ya(z):window,e){case"focusin":(kd(J)||J.contentEditable==="true")&&(zn=J,lo=z,Na=null);break;case"focusout":Na=lo=zn=null;break;case"mousedown":no=!0;break;case"contextmenu":case"mouseup":case"dragend":no=!1,um(B,l,w);break;case"selectionchange":if(t1)break;case"keydown":case"keyup":um(B,l,w)}var ce;if(Ic)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else _n?Kd(e,l)&&(me="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(me="onCompositionStart");me&&(Vd&&l.locale!=="ko"&&(_n||me!=="onCompositionStart"?me==="onCompositionEnd"&&_n&&(ce=Ld()):(pl=w,Jc="value"in pl?pl.value:pl.textContent,_n=!0)),J=Ei(z,me),0<J.length&&(me=new Gd(me,e,null,l,w),B.push({event:me,listeners:J}),ce?me.data=ce:(ce=Jd(l),ce!==null&&(me.data=ce)))),(ce=Zb?Kb(e,l):Jb(e,l))&&(me=Ei(z,"onBeforeInput"),0<me.length&&(J=new Gd("onBeforeInput","beforeinput",null,l,w),B.push({event:J,listeners:me}),J.data=ce)),L1(B,e,z,l,w)}jv(B,t)})}function Fa(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Ei(e,t){for(var l=t+"Capture",n=[];e!==null;){var a=e,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=ga(e,l),a!=null&&n.unshift(Fa(e,a,i)),a=ga(e,t),a!=null&&n.push(Fa(e,a,i))),e.tag===3)return n;e=e.return}return[]}function X1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Dv(e,t,l,n,a){for(var i=t._reactName,s=[];l!==null&&l!==n;){var m=l,b=m.alternate,z=m.stateNode;if(m=m.tag,b!==null&&b===n)break;m!==5&&m!==26&&m!==27||z===null||(b=z,a?(z=ga(l,i),z!=null&&s.unshift(Fa(l,z,b))):a||(z=ga(l,i),z!=null&&s.push(Fa(l,z,b)))),l=l.return}s.length!==0&&e.push({event:t,listeners:s})}var V1=/\r\n?/g,Q1=/\u0000|\uFFFD/g;function wv(e){return(typeof e=="string"?e:""+e).replace(V1,`
|
|
41
|
+
`).replace(Q1,"")}function Uv(e,t){return t=wv(t),wv(e)===t}function _e(e,t,l,n,a,i){switch(l){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||An(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&An(e,""+n);break;case"className":Cu(e,"class",n);break;case"tabIndex":Cu(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Cu(e,l,n);break;case"style":Ud(e,n,i);break;case"data":if(t!=="object"){Cu(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=zu(""+n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"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 i=="function"&&(l==="formAction"?(t!=="input"&&_e(e,t,"name",a.name,a,null),_e(e,t,"formEncType",a.formEncType,a,null),_e(e,t,"formMethod",a.formMethod,a,null),_e(e,t,"formTarget",a.formTarget,a,null)):(_e(e,t,"encType",a.encType,a,null),_e(e,t,"method",a.method,a,null),_e(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=zu(""+n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=Ft);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=zu(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""+n):e.removeAttribute(l);break;case"inert":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":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":fe("beforetoggle",e),fe("toggle",e),Nu(e,"popover",n);break;case"xlinkActuate":Wt(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Wt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Wt(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Wt(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Wt(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Wt(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Nu(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=pb.get(l)||l,Nu(e,l,n))}}function Mr(e,t,l,n,a,i){switch(l){case"style":Ud(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof n=="string"?An(e,n):(typeof n=="number"||typeof n=="bigint")&&An(e,""+n);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=Ft);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cd.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),t=l.slice(2,a?l.length-7:void 0),i=e[ct]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,a),typeof n=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,n,a);break e}l in e?e[l]=n:n===!0?e.setAttribute(l,""):Nu(e,l,n)}}}function Pe(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",e),fe("load",e);var n=!1,a=!1,i;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];if(s!=null)switch(i){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:_e(e,t,i,s,l,null)}}a&&_e(e,t,"srcSet",l.srcSet,l,null),n&&_e(e,t,"src",l.src,l,null);return;case"input":fe("invalid",e);var m=i=s=a=null,b=null,z=null;for(n in l)if(l.hasOwnProperty(n)){var w=l[n];if(w!=null)switch(n){case"name":a=w;break;case"type":s=w;break;case"checked":b=w;break;case"defaultChecked":z=w;break;case"value":i=w;break;case"defaultValue":m=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(o(137,t));break;default:_e(e,t,n,w,l,null)}}jd(e,i,m,b,z,s,a,!1);return;case"select":fe("invalid",e),n=s=i=null;for(a in l)if(l.hasOwnProperty(a)&&(m=l[a],m!=null))switch(a){case"value":i=m;break;case"defaultValue":s=m;break;case"multiple":n=m;default:_e(e,t,a,m,l,null)}t=i,l=s,e.multiple=!!n,t!=null?Tn(e,!!n,t,!1):l!=null&&Tn(e,!!n,l,!0);return;case"textarea":fe("invalid",e),i=a=n=null;for(s in l)if(l.hasOwnProperty(s)&&(m=l[s],m!=null))switch(s){case"value":n=m;break;case"defaultValue":a=m;break;case"children":i=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(o(91));break;default:_e(e,t,s,m,l,null)}Dd(e,n,a,i);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(n=l[b],n!=null))switch(b){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:_e(e,t,b,n,l,null)}return;case"dialog":fe("beforetoggle",e),fe("toggle",e),fe("cancel",e),fe("close",e);break;case"iframe":case"object":fe("load",e);break;case"video":case"audio":for(n=0;n<Wa.length;n++)fe(Wa[n],e);break;case"image":fe("error",e),fe("load",e);break;case"details":fe("toggle",e);break;case"embed":case"source":case"link":fe("error",e),fe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(n=l[z],n!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:_e(e,t,z,n,l,null)}return;default:if(Xc(t)){for(w in l)l.hasOwnProperty(w)&&(n=l[w],n!==void 0&&Mr(e,t,w,n,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(n=l[m],n!=null&&_e(e,t,m,n,l,null))}function Z1(e,t,l,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,s=null,m=null,b=null,z=null,w=null;for(O in l){var B=l[O];if(l.hasOwnProperty(O)&&B!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":b=B;default:n.hasOwnProperty(O)||_e(e,t,O,null,n,B)}}for(var M in n){var O=n[M];if(B=l[M],n.hasOwnProperty(M)&&(O!=null||B!=null))switch(M){case"type":i=O;break;case"name":a=O;break;case"checked":z=O;break;case"defaultChecked":w=O;break;case"value":s=O;break;case"defaultValue":m=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,t));break;default:O!==B&&_e(e,t,M,O,n,B)}}Yc(e,s,m,b,z,w,i,a);return;case"select":O=s=m=M=null;for(i in l)if(b=l[i],l.hasOwnProperty(i)&&b!=null)switch(i){case"value":break;case"multiple":O=b;default:n.hasOwnProperty(i)||_e(e,t,i,null,n,b)}for(a in n)if(i=n[a],b=l[a],n.hasOwnProperty(a)&&(i!=null||b!=null))switch(a){case"value":M=i;break;case"defaultValue":m=i;break;case"multiple":s=i;default:i!==b&&_e(e,t,a,i,n,b)}t=m,l=s,n=O,M!=null?Tn(e,!!l,M,!1):!!n!=!!l&&(t!=null?Tn(e,!!l,t,!0):Tn(e,!!l,l?[]:"",!1));return;case"textarea":O=M=null;for(m in l)if(a=l[m],l.hasOwnProperty(m)&&a!=null&&!n.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:_e(e,t,m,null,n,a)}for(s in n)if(a=n[s],i=l[s],n.hasOwnProperty(s)&&(a!=null||i!=null))switch(s){case"value":M=a;break;case"defaultValue":O=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(o(91));break;default:a!==i&&_e(e,t,s,a,n,i)}Rd(e,M,O);return;case"option":for(var Z in l)if(M=l[Z],l.hasOwnProperty(Z)&&M!=null&&!n.hasOwnProperty(Z))switch(Z){case"selected":e.selected=!1;break;default:_e(e,t,Z,null,n,M)}for(b in n)if(M=n[b],O=l[b],n.hasOwnProperty(b)&&M!==O&&(M!=null||O!=null))switch(b){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:_e(e,t,b,M,n,O)}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 I in l)M=l[I],l.hasOwnProperty(I)&&M!=null&&!n.hasOwnProperty(I)&&_e(e,t,I,null,n,M);for(z in n)if(M=n[z],O=l[z],n.hasOwnProperty(z)&&M!==O&&(M!=null||O!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(o(137,t));break;default:_e(e,t,z,M,n,O)}return;default:if(Xc(t)){for(var ze in l)M=l[ze],l.hasOwnProperty(ze)&&M!==void 0&&!n.hasOwnProperty(ze)&&Mr(e,t,ze,void 0,n,M);for(w in n)M=n[w],O=l[w],!n.hasOwnProperty(w)||M===O||M===void 0&&O===void 0||Mr(e,t,w,M,n,O);return}}for(var N in l)M=l[N],l.hasOwnProperty(N)&&M!=null&&!n.hasOwnProperty(N)&&_e(e,t,N,null,n,M);for(B in n)M=n[B],O=l[B],!n.hasOwnProperty(B)||M===O||M==null&&O==null||_e(e,t,B,M,n,O)}function Hv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function K1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],i=a.transferSize,s=a.initiatorType,m=a.duration;if(i&&m&&Hv(s)){for(s=0,m=a.responseEnd,n+=1;n<l.length;n++){var b=l[n],z=b.startTime;if(z>m)break;var w=b.transferSize,B=b.initiatorType;w&&Hv(B)&&(b=b.responseEnd,s+=w*(b<m?1:(m-z)/(b-z)))}if(--n,t+=8*(i+s)/(a.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Or=null,jr=null;function Ti(e){return e.nodeType===9?e:e.ownerDocument}function Bv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Lv(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Rr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Dr=null;function J1(){var e=window.event;return e&&e.type==="popstate"?e===Dr?!1:(Dr=e,!0):(Dr=null,!1)}var qv=typeof setTimeout=="function"?setTimeout:void 0,k1=typeof clearTimeout=="function"?clearTimeout:void 0,Yv=typeof Promise=="function"?Promise:void 0,W1=typeof queueMicrotask=="function"?queueMicrotask:typeof Yv<"u"?function(e){return Yv.resolve(null).then(e).catch(F1)}:qv;function F1(e){setTimeout(function(){throw e})}function Ul(e){return e==="head"}function Gv(e,t){var l=t,n=0;do{var a=l.nextSibling;if(e.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){e.removeChild(a),ta(t);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")$a(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,$a(l);for(var i=l.firstChild;i;){var s=i.nextSibling,m=i.nodeName;i[va]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=s}}else l==="body"&&$a(e.ownerDocument.body);l=a}while(l);ta(t)}function Xv(e,t){var l=e;e=0;do{var n=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=n}while(l)}function wr(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":wr(l),Lc(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function $1(e,t,l,n){for(;e.nodeType===1;){var a=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[va])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==a.rel||e.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||e.getAttribute("title")!==(a.title==null?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(a.src==null?null:a.src)||e.getAttribute("type")!==(a.type==null?null:a.type)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=wt(e.nextSibling),e===null)break}return null}function I1(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=wt(e.nextSibling),e===null))return null;return e}function Vv(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=wt(e.nextSibling),e===null))return null;return e}function Ur(e){return e.data==="$?"||e.data==="$~"}function Hr(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function P1(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var n=function(){t(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function wt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Br=null;function Qv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return wt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Zv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Kv(e,t,l){switch(t=Ti(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function $a(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Lc(e)}var Ut=new Map,Jv=new Set;function Ai(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var dl=G.d;G.d={f:eS,r:tS,D:lS,C:nS,L:aS,m:uS,X:cS,S:iS,M:oS};function eS(){var e=dl.f(),t=vi();return e||t}function tS(e){var t=Sn(e);t!==null&&t.tag===5&&t.type==="form"?sh(t):dl.r(e)}var In=typeof document>"u"?null:document;function kv(e,t,l){var n=In;if(n&&typeof t=="string"&&t){var a=_t(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),Jv.has(a)||(Jv.add(a),e={rel:e,crossOrigin:l,href:t},n.querySelector(a)===null&&(t=n.createElement("link"),Pe(t,"link",e),Je(t),n.head.appendChild(t)))}}function lS(e){dl.D(e),kv("dns-prefetch",e,null)}function nS(e,t){dl.C(e,t),kv("preconnect",e,t)}function aS(e,t,l){dl.L(e,t,l);var n=In;if(n&&e&&t){var a='link[rel="preload"][as="'+_t(t)+'"]';t==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+_t(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+_t(l.imageSizes)+'"]')):a+='[href="'+_t(e)+'"]';var i=a;switch(t){case"style":i=Pn(e);break;case"script":i=ea(e)}Ut.has(i)||(e=T({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Ut.set(i,e),n.querySelector(a)!==null||t==="style"&&n.querySelector(Ia(i))||t==="script"&&n.querySelector(Pa(i))||(t=n.createElement("link"),Pe(t,"link",e),Je(t),n.head.appendChild(t)))}}function uS(e,t){dl.m(e,t);var l=In;if(l&&e){var n=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+_t(n)+'"][href="'+_t(e)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=ea(e)}if(!Ut.has(i)&&(e=T({rel:"modulepreload",href:e},t),Ut.set(i,e),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Pa(i)))return}n=l.createElement("link"),Pe(n,"link",e),Je(n),l.head.appendChild(n)}}}function iS(e,t,l){dl.S(e,t,l);var n=In;if(n&&e){var a=xn(n).hoistableStyles,i=Pn(e);t=t||"default";var s=a.get(i);if(!s){var m={loading:0,preload:null};if(s=n.querySelector(Ia(i)))m.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Ut.get(i))&&Lr(e,l);var b=s=n.createElement("link");Je(b),Pe(b,"link",e),b._p=new Promise(function(z,w){b.onload=z,b.onerror=w}),b.addEventListener("load",function(){m.loading|=1}),b.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Ni(s,t,n)}s={type:"stylesheet",instance:s,count:1,state:m},a.set(i,s)}}}function cS(e,t){dl.X(e,t);var l=In;if(l&&e){var n=xn(l).hoistableScripts,a=ea(e),i=n.get(a);i||(i=l.querySelector(Pa(a)),i||(e=T({src:e,async:!0},t),(t=Ut.get(a))&&qr(e,t),i=l.createElement("script"),Je(i),Pe(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function oS(e,t){dl.M(e,t);var l=In;if(l&&e){var n=xn(l).hoistableScripts,a=ea(e),i=n.get(a);i||(i=l.querySelector(Pa(a)),i||(e=T({src:e,async:!0,type:"module"},t),(t=Ut.get(a))&&qr(e,t),i=l.createElement("script"),Je(i),Pe(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Wv(e,t,l,n){var a=(a=re.current)?Ai(a):null;if(!a)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Pn(l.href),l=xn(a).hoistableStyles,n=l.get(t),n||(n={type:"style",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Pn(l.href);var i=xn(a).hoistableStyles,s=i.get(e);if(s||(a=a.ownerDocument||a,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=a.querySelector(Ia(e)))&&!i._p&&(s.instance=i,s.state.loading=5),Ut.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ut.set(e,l),i||rS(a,e,l,s.state))),t&&n===null)throw Error(o(528,""));return s}if(t&&n!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ea(l),l=xn(a).hoistableScripts,n=l.get(t),n||(n={type:"script",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Pn(e){return'href="'+_t(e)+'"'}function Ia(e){return'link[rel="stylesheet"]['+e+"]"}function Fv(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function rS(e,t,l,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),Pe(t,"link",l),Je(t),e.head.appendChild(t))}function ea(e){return'[src="'+_t(e)+'"]'}function Pa(e){return"script[async]"+e}function $v(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+_t(l.href)+'"]');if(n)return t.instance=n,Je(n),n;var a=T({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Je(n),Pe(n,"style",a),Ni(n,l.precedence,e),t.instance=n;case"stylesheet":a=Pn(l.href);var i=e.querySelector(Ia(a));if(i)return t.state.loading|=4,t.instance=i,Je(i),i;n=Fv(l),(a=Ut.get(a))&&Lr(n,a),i=(e.ownerDocument||e).createElement("link"),Je(i);var s=i;return s._p=new Promise(function(m,b){s.onload=m,s.onerror=b}),Pe(i,"link",n),t.state.loading|=4,Ni(i,l.precedence,e),t.instance=i;case"script":return i=ea(l.src),(a=e.querySelector(Pa(i)))?(t.instance=a,Je(a),a):(n=l,(a=Ut.get(i))&&(n=T({},l),qr(n,a)),e=e.ownerDocument||e,a=e.createElement("script"),Je(a),Pe(a,"link",n),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,Ni(n,l.precedence,e));return t.instance}function Ni(e,t,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,s=0;s<n.length;s++){var m=n[s];if(m.dataset.precedence===t)i=m;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Lr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function qr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ci=null;function Iv(e,t,l){if(Ci===null){var n=new Map,a=Ci=new Map;a.set(l,n)}else a=Ci,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(e))return n;for(n.set(e,null),l=l.getElementsByTagName(e),a=0;a<l.length;a++){var i=l[a];if(!(i[va]||i[We]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var m=n.get(s);m?m.push(i):n.set(s,[i])}}return n}function Pv(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function sS(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function ey(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function fS(e,t,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Pn(n.href),i=t.querySelector(Ia(a));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_i.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=i,Je(i);return}i=t.ownerDocument||t,n=Fv(n),(a=Ut.get(a))&&Lr(n,a),i=i.createElement("link"),Je(i);var s=i;s._p=new Promise(function(m,b){s.onload=m,s.onerror=b}),Pe(i,"link",n),l.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=_i.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Yr=0;function dS(e,t){return e.stylesheets&&e.count===0&&Mi(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var n=setTimeout(function(){if(e.stylesheets&&Mi(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Yr===0&&(Yr=62500*K1());var a=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Mi(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Yr?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function _i(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Mi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var zi=null;function Mi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,zi=new Map,t.forEach(mS,e),zi=null,_i.call(e))}function mS(e,t){if(!(t.state.loading&4)){var l=zi.get(e);if(l)var n=l.get(null);else{l=new Map,zi.set(e,l);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var s=a[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),n=s)}n&&l.set(null,n)}a=t.instance,s=a.getAttribute("data-precedence"),i=l.get(s)||n,i===n&&l.set(null,a),l.set(s,a),this.count++,n=_i.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),i?i.parentNode.insertBefore(a,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(a,e.firstChild)),t.state.loading|=4}}var eu={$$typeof:k,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function hS(e,t,l,n,a,i,s,m,b){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wc(0),this.hiddenUpdates=wc(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function ty(e,t,l,n,a,i,s,m,b,z,w,B){return e=new hS(e,t,l,s,b,z,w,B,m),t=1,i===!0&&(t|=24),i=pt(3,null,null,t),e.current=i,i.stateNode=e,t=bo(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:t},To(i),e}function ly(e){return e?(e=jn,e):jn}function ny(e,t,l,n,a,i){a=ly(a),n.context===null?n.context=a:n.pendingContext=a,n=Al(t),n.payload={element:l},i=i===void 0?null:i,i!==null&&(n.callback=i),l=Nl(e,n,t),l!==null&&(mt(l,e,t),Ra(l,e,t))}function ay(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Gr(e,t){ay(e,t),(e=e.alternate)&&ay(e,t)}function uy(e){if(e.tag===13||e.tag===31){var t=kl(e,67108864);t!==null&&mt(t,e,67108864),Gr(e,67108864)}}function iy(e){if(e.tag===13||e.tag===31){var t=Tt();t=Uc(t);var l=kl(e,t);l!==null&&mt(l,e,t),Gr(e,t)}}var Oi=!0;function vS(e,t,l,n){var a=D.T;D.T=null;var i=G.p;try{G.p=2,Xr(e,t,l,n)}finally{G.p=i,D.T=a}}function yS(e,t,l,n){var a=D.T;D.T=null;var i=G.p;try{G.p=8,Xr(e,t,l,n)}finally{G.p=i,D.T=a}}function Xr(e,t,l,n){if(Oi){var a=Vr(n);if(a===null)zr(e,t,n,ji,l),oy(e,n);else if(pS(a,e,t,l,n))n.stopPropagation();else if(oy(e,n),t&4&&-1<gS.indexOf(e)){for(;a!==null;){var i=Sn(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Vl(i.pendingLanes);if(s!==0){var m=i;for(m.pendingLanes|=2,m.entangledLanes|=2;s;){var b=1<<31-yt(s);m.entanglements[1]|=b,s&=~b}Zt(i),(Se&6)===0&&(mi=ht()+500,ka(0))}}break;case 31:case 13:m=kl(i,2),m!==null&&mt(m,i,2),vi(),Gr(i,2)}if(i=Vr(n),i===null&&zr(e,t,n,ji,l),i===a)break;a=i}a!==null&&n.stopPropagation()}else zr(e,t,n,null,l)}}function Vr(e){return e=Qc(e),Qr(e)}var ji=null;function Qr(e){if(ji=null,e=bn(e),e!==null){var t=d(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=g(t),e!==null)return e;e=null}else if(l===31){if(e=h(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ji=e,null}function cy(e){switch(e){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 2;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 8;case"message":switch(lb()){case vd:return 2;case yd:return 8;case Su:case nb:return 32;case gd:return 268435456;default:return 32}default:return 32}}var Zr=!1,Hl=null,Bl=null,Ll=null,tu=new Map,lu=new Map,ql=[],gS="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(" ");function oy(e,t){switch(e){case"focusin":case"focusout":Hl=null;break;case"dragenter":case"dragleave":Bl=null;break;case"mouseover":case"mouseout":Ll=null;break;case"pointerover":case"pointerout":tu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lu.delete(t.pointerId)}}function nu(e,t,l,n,a,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},t!==null&&(t=Sn(t),t!==null&&uy(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function pS(e,t,l,n,a){switch(t){case"focusin":return Hl=nu(Hl,e,t,l,n,a),!0;case"dragenter":return Bl=nu(Bl,e,t,l,n,a),!0;case"mouseover":return Ll=nu(Ll,e,t,l,n,a),!0;case"pointerover":var i=a.pointerId;return tu.set(i,nu(tu.get(i)||null,e,t,l,n,a)),!0;case"gotpointercapture":return i=a.pointerId,lu.set(i,nu(lu.get(i)||null,e,t,l,n,a)),!0}return!1}function ry(e){var t=bn(e.target);if(t!==null){var l=d(t);if(l!==null){if(t=l.tag,t===13){if(t=g(l),t!==null){e.blockedOn=t,Td(e.priority,function(){iy(l)});return}}else if(t===31){if(t=h(l),t!==null){e.blockedOn=t,Td(e.priority,function(){iy(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ri(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Vr(e.nativeEvent);if(l===null){l=e.nativeEvent;var n=new l.constructor(l.type,l);Vc=n,l.target.dispatchEvent(n),Vc=null}else return t=Sn(l),t!==null&&uy(t),e.blockedOn=l,!1;t.shift()}return!0}function sy(e,t,l){Ri(e)&&l.delete(t)}function bS(){Zr=!1,Hl!==null&&Ri(Hl)&&(Hl=null),Bl!==null&&Ri(Bl)&&(Bl=null),Ll!==null&&Ri(Ll)&&(Ll=null),tu.forEach(sy),lu.forEach(sy)}function Di(e,t){e.blockedOn===t&&(e.blockedOn=null,Zr||(Zr=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,bS)))}var wi=null;function fy(e){wi!==e&&(wi=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){wi===e&&(wi=null);for(var t=0;t<e.length;t+=3){var l=e[t],n=e[t+1],a=e[t+2];if(typeof n!="function"){if(Qr(n||l)===null)continue;break}var i=Sn(l);i!==null&&(e.splice(t,3),t-=3,Vo(i,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function ta(e){function t(b){return Di(b,e)}Hl!==null&&Di(Hl,e),Bl!==null&&Di(Bl,e),Ll!==null&&Di(Ll,e),tu.forEach(t),lu.forEach(t);for(var l=0;l<ql.length;l++){var n=ql[l];n.blockedOn===e&&(n.blockedOn=null)}for(;0<ql.length&&(l=ql[0],l.blockedOn===null);)ry(l),l.blockedOn===null&&ql.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],i=l[n+1],s=a[ct]||null;if(typeof i=="function")s||fy(l);else if(s){var m=null;if(i&&i.hasAttribute("formAction")){if(a=i,s=i[ct]||null)m=s.formAction;else if(Qr(a)!==null)continue}else m=s.action;typeof m=="function"?l[n+1]=m:(l.splice(n,3),n-=3),fy(l)}}}function dy(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return a=s})},focusReset:"manual",scroll:"manual"})}function t(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),a!==null&&(a(),a=null)}}}function Kr(e){this._internalRoot=e}Ui.prototype.render=Kr.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,n=Tt();ny(l,n,e,t,null,null)},Ui.prototype.unmount=Kr.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ny(e.current,2,null,e,null,null),vi(),t[pn]=null}};function Ui(e){this._internalRoot=e}Ui.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ed();e={blockedOn:null,target:e,priority:t};for(var l=0;l<ql.length&&t!==0&&t<ql[l].priority;l++);ql.splice(l,0,e),l===0&&ry(e)}};var my=c.version;if(my!=="19.2.4")throw Error(o(527,my,"19.2.4"));G.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=y(t),e=e!==null?A(e):null,e=e===null?null:e.stateNode,e};var SS={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Hi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hi.isDisabled&&Hi.supportsFiber)try{da=Hi.inject(SS),vt=Hi}catch{}}return na.createRoot=function(e,t){if(!f(e))throw Error(o(299));var l=!1,n="",a=Sh,i=xh,s=Eh;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(a=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=ty(e,1,!1,null,null,l,n,null,a,i,s,dy),e[pn]=t.current,_r(e),new Kr(t)},na.hydrateRoot=function(e,t,l){if(!f(e))throw Error(o(299));var n=!1,a="",i=Sh,s=xh,m=Eh,b=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(b=l.formState)),t=ty(e,1,!0,t,l??null,n,a,b,i,s,m,dy),t.context=ly(null),l=t.current,n=Tt(),n=Uc(n),a=Al(n),a.callback=null,Nl(l,a,n),l=n,t.current.lanes=l,ha(t,l),Zt(t),e[pn]=t.current,_r(e),new Ui(t)},na.version="19.2.4",na}var ls;function Sy(){if(ls)return qi.exports;ls=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),qi.exports=by(),qi.exports}var xy=Sy(),Vi={exports:{}},aa={};/**
|
|
42
42
|
* @license React
|
|
43
43
|
* react-jsx-runtime.production.js
|
|
44
44
|
*
|
|
@@ -46,37 +46,37 @@ Error generating stack: `+n.message+`
|
|
|
46
46
|
*
|
|
47
47
|
* This source code is licensed under the MIT license found in the
|
|
48
48
|
* LICENSE file in the root directory of this source tree.
|
|
49
|
-
*/var ls;function x0(){if(ls)return aa;ls=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,f,m){var y=null;if(m!==void 0&&(y=""+m),f.key!==void 0&&(y=""+f.key),"key"in f){m={};for(var h in f)h!=="key"&&(m[h]=f[h])}else m=f;return f=m.ref,{$$typeof:u,type:o,key:y,ref:f!==void 0?f:null,props:m}}return aa.Fragment=c,aa.jsx=r,aa.jsxs=r,aa}var ns;function E0(){return ns||(ns=1,Vi.exports=x0()),Vi.exports}var v=E0();function as(u){var c,r,o="";if(typeof u=="string"||typeof u=="number")o+=u;else if(typeof u=="object")if(Array.isArray(u)){var f=u.length;for(c=0;c<f;c++)u[c]&&(r=as(u[c]))&&(o&&(o+=" "),o+=r)}else for(r in u)u[r]&&(o&&(o+=" "),o+=r);return o}function us(){for(var u,c,r=0,o="",f=arguments.length;r<f;r++)(u=arguments[r])&&(c=as(u))&&(o&&(o+=" "),o+=c);return o}const Qi="-",T0=u=>{const c=N0(u),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=u;return{getClassGroupId:y=>{const h=y.split(Qi);return h[0]===""&&h.length!==1&&h.shift(),is(h,c)||A0(y)},getConflictingClassGroupIds:(y,h)=>{const S=r[y]||[];return h&&o[y]?[...S,...o[y]]:S}}},is=(u,c)=>{var y;if(u.length===0)return c.classGroupId;const r=u[0],o=c.nextPart.get(r),f=o?is(u.slice(1),o):void 0;if(f)return f;if(c.validators.length===0)return;const m=u.join(Qi);return(y=c.validators.find(({validator:h})=>h(m)))==null?void 0:y.classGroupId},cs=/^\[(.+)\]$/,A0=u=>{if(cs.test(u)){const c=cs.exec(u)[1],r=c==null?void 0:c.substring(0,c.indexOf(":"));if(r)return"arbitrary.."+r}},N0=u=>{const{theme:c,prefix:r}=u,o={nextPart:new Map,validators:[]};return _0(Object.entries(u.classGroups),r).forEach(([m,y])=>{Zi(y,o,m,c)}),o},Zi=(u,c,r,o)=>{u.forEach(f=>{if(typeof f=="string"){const m=f===""?c:os(c,f);m.classGroupId=r;return}if(typeof f=="function"){if(C0(f)){Zi(f(o),c,r,o);return}c.validators.push({validator:f,classGroupId:r});return}Object.entries(f).forEach(([m,y])=>{Zi(y,os(c,m),r,o)})})},os=(u,c)=>{let r=u;return c.split(Qi).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},C0=u=>u.isThemeGetter,_0=(u,c)=>c?u.map(([r,o])=>{const f=o.map(m=>typeof m=="string"?c+m:typeof m=="object"?Object.fromEntries(Object.entries(m).map(([y,h])=>[c+y,h])):m);return[r,f]}):u,z0=u=>{if(u<1)return{get:()=>{},set:()=>{}};let c=0,r=new Map,o=new Map;const f=(m,y)=>{r.set(m,y),c++,c>u&&(c=0,o=r,r=new Map)};return{get(m){let y=r.get(m);if(y!==void 0)return y;if((y=o.get(m))!==void 0)return f(m,y),y},set(m,y){r.has(m)?r.set(m,y):f(m,y)}}},rs="!",M0=u=>{const{separator:c,experimentalParseClassName:r}=u,o=c.length===1,f=c[0],m=c.length,y=h=>{const S=[];let g=0,A=0,T;for(let q=0;q<h.length;q++){let Y=h[q];if(g===0){if(Y===f&&(o||h.slice(q,q+m)===c)){S.push(h.slice(A,q)),A=q+m;continue}if(Y==="/"){T=q;continue}}Y==="["?g++:Y==="]"&&g--}const z=S.length===0?h:h.substring(A),D=z.startsWith(rs),H=D?z.substring(1):z,j=T&&T>A?T-A:void 0;return{modifiers:S,hasImportantModifier:D,baseClassName:H,maybePostfixModifierPosition:j}};return r?h=>r({className:h,parseClassName:y}):y},O0=u=>{if(u.length<=1)return u;const c=[];let r=[];return u.forEach(o=>{o[0]==="["?(c.push(...r.sort(),o),r=[]):r.push(o)}),c.push(...r.sort()),c},j0=u=>({cache:z0(u.cacheSize),parseClassName:M0(u),...T0(u)}),R0=/\s+/,D0=(u,c)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:f}=c,m=[],y=u.trim().split(R0);let h="";for(let S=y.length-1;S>=0;S-=1){const g=y[S],{modifiers:A,hasImportantModifier:T,baseClassName:z,maybePostfixModifierPosition:D}=r(g);let H=!!D,j=o(H?z.substring(0,D):z);if(!j){if(!H){h=g+(h.length>0?" "+h:h);continue}if(j=o(z),!j){h=g+(h.length>0?" "+h:h);continue}H=!1}const q=O0(A).join(":"),Y=T?q+rs:q,X=Y+j;if(m.includes(X))continue;m.push(X);const k=f(j,H);for(let W=0;W<k.length;++W){const P=k[W];m.push(Y+P)}h=g+(h.length>0?" "+h:h)}return h};function w0(){let u=0,c,r,o="";for(;u<arguments.length;)(c=arguments[u++])&&(r=ss(c))&&(o&&(o+=" "),o+=r);return o}const ss=u=>{if(typeof u=="string")return u;let c,r="";for(let o=0;o<u.length;o++)u[o]&&(c=ss(u[o]))&&(r&&(r+=" "),r+=c);return r};function U0(u,...c){let r,o,f,m=y;function y(S){const g=c.reduce((A,T)=>T(A),u());return r=j0(g),o=r.cache.get,f=r.cache.set,m=h,h(S)}function h(S){const g=o(S);if(g)return g;const A=D0(S,r);return f(S,A),A}return function(){return m(w0.apply(null,arguments))}}const je=u=>{const c=r=>r[u]||[];return c.isThemeGetter=!0,c},fs=/^\[(?:([a-z-]+):)?(.+)\]$/i,H0=/^\d+\/\d+$/,B0=new Set(["px","full","screen"]),L0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,q0=/\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$/,Y0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,G0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,X0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jt=u=>rn(u)||B0.has(u)||H0.test(u),ml=u=>sn(u,"length",F0),rn=u=>!!u&&!Number.isNaN(Number(u)),Ki=u=>sn(u,"number",rn),ua=u=>!!u&&Number.isInteger(Number(u)),V0=u=>u.endsWith("%")&&rn(u.slice(0,-1)),ie=u=>fs.test(u),hl=u=>L0.test(u),Q0=new Set(["length","size","percentage"]),Z0=u=>sn(u,Q0,ds),K0=u=>sn(u,"position",ds),J0=new Set(["image","url"]),k0=u=>sn(u,J0,I0),W0=u=>sn(u,"",$0),ia=()=>!0,sn=(u,c,r)=>{const o=fs.exec(u);return o?o[1]?typeof c=="string"?o[1]===c:c.has(o[1]):r(o[2]):!1},F0=u=>q0.test(u)&&!Y0.test(u),ds=()=>!1,$0=u=>G0.test(u),I0=u=>X0.test(u),P0=U0(()=>{const u=je("colors"),c=je("spacing"),r=je("blur"),o=je("brightness"),f=je("borderColor"),m=je("borderRadius"),y=je("borderSpacing"),h=je("borderWidth"),S=je("contrast"),g=je("grayscale"),A=je("hueRotate"),T=je("invert"),z=je("gap"),D=je("gradientColorStops"),H=je("gradientColorStopPositions"),j=je("inset"),q=je("margin"),Y=je("opacity"),X=je("padding"),k=je("saturate"),W=je("scale"),P=je("sepia"),oe=je("skew"),V=je("space"),le=je("translate"),ne=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],xe=()=>["auto",ie,c],ee=()=>[ie,c],Nt=()=>["",Jt,ml],at=()=>["auto",rn,ie],lt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],ve=()=>["","0",ie],Ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>[rn,ie];return{cacheSize:500,separator:":",theme:{colors:[ia],spacing:[Jt,ml],blur:["none","",hl,ie],brightness:x(),borderColor:[u],borderRadius:["none","","full",hl,ie],borderSpacing:ee(),borderWidth:Nt(),contrast:x(),grayscale:ve(),hueRotate:x(),invert:ve(),gap:ee(),gradientColorStops:[u],gradientColorStopPositions:[V0,ml],inset:xe(),margin:xe(),opacity:x(),padding:ee(),saturate:x(),scale:x(),sepia:ve(),skew:x(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[hl]}],"break-after":[{"break-after":Ee()}],"break-before":[{"break-before":Ee()}],"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"],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:[...lt(),ie]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-y":[{"overflow-y":be()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[j]}],"inset-x":[{"inset-x":[j]}],"inset-y":[{"inset-y":[j]}],start:[{start:[j]}],end:[{end:[j]}],top:[{top:[j]}],right:[{right:[j]}],bottom:[{bottom:[j]}],left:[{left:[j]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ua,ie]}],basis:[{basis:xe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:ve()}],shrink:[{shrink:ve()}],order:[{order:["first","last","none",ua,ie]}],"grid-cols":[{"grid-cols":[ia]}],"col-start-end":[{col:["auto",{span:["full",ua,ie]},ie]}],"col-start":[{"col-start":at()}],"col-end":[{"col-end":at()}],"grid-rows":[{"grid-rows":[ia]}],"row-start-end":[{row:["auto",{span:[ua,ie]},ie]}],"row-start":[{"row-start":at()}],"row-end":[{"row-end":at()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[z]}],"gap-x":[{"gap-x":[z]}],"gap-y":[{"gap-y":[z]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[X]}],px:[{px:[X]}],py:[{py:[X]}],ps:[{ps:[X]}],pe:[{pe:[X]}],pt:[{pt:[X]}],pr:[{pr:[X]}],pb:[{pb:[X]}],pl:[{pl:[X]}],m:[{m:[q]}],mx:[{mx:[q]}],my:[{my:[q]}],ms:[{ms:[q]}],me:[{me:[q]}],mt:[{mt:[q]}],mr:[{mr:[q]}],mb:[{mb:[q]}],ml:[{ml:[q]}],"space-x":[{"space-x":[V]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[V]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,c]}],"min-w":[{"min-w":[ie,c,"min","max","fit"]}],"max-w":[{"max-w":[ie,c,"none","full","min","max","fit","prose",{screen:[hl]},hl]}],h:[{h:[ie,c,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,c,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,c,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,c,"auto","min","max","fit"]}],"font-size":[{text:["base",hl,ml]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ki]}],"font-family":[{font:[ia]}],"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:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",rn,Ki]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jt,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[u]}],"placeholder-opacity":[{"placeholder-opacity":[Y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[u]}],"text-opacity":[{"text-opacity":[Y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jt,ml]}],"underline-offset":[{"underline-offset":["auto",Jt,ie]}],"text-decoration-color":[{decoration:[u]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...lt(),K0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Z0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k0]}],"bg-color":[{bg:[u]}],"gradient-from-pos":[{from:[H]}],"gradient-via-pos":[{via:[H]}],"gradient-to-pos":[{to:[H]}],"gradient-from":[{from:[D]}],"gradient-via":[{via:[D]}],"gradient-to":[{to:[D]}],rounded:[{rounded:[m]}],"rounded-s":[{"rounded-s":[m]}],"rounded-e":[{"rounded-e":[m]}],"rounded-t":[{"rounded-t":[m]}],"rounded-r":[{"rounded-r":[m]}],"rounded-b":[{"rounded-b":[m]}],"rounded-l":[{"rounded-l":[m]}],"rounded-ss":[{"rounded-ss":[m]}],"rounded-se":[{"rounded-se":[m]}],"rounded-ee":[{"rounded-ee":[m]}],"rounded-es":[{"rounded-es":[m]}],"rounded-tl":[{"rounded-tl":[m]}],"rounded-tr":[{"rounded-tr":[m]}],"rounded-br":[{"rounded-br":[m]}],"rounded-bl":[{"rounded-bl":[m]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[Y]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Y]}],"divide-style":[{divide:R()}],"border-color":[{border:[f]}],"border-color-x":[{"border-x":[f]}],"border-color-y":[{"border-y":[f]}],"border-color-s":[{"border-s":[f]}],"border-color-e":[{"border-e":[f]}],"border-color-t":[{"border-t":[f]}],"border-color-r":[{"border-r":[f]}],"border-color-b":[{"border-b":[f]}],"border-color-l":[{"border-l":[f]}],"divide-color":[{divide:[f]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[Jt,ie]}],"outline-w":[{outline:[Jt,ml]}],"outline-color":[{outline:[u]}],"ring-w":[{ring:Nt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[u]}],"ring-opacity":[{"ring-opacity":[Y]}],"ring-offset-w":[{"ring-offset":[Jt,ml]}],"ring-offset-color":[{"ring-offset":[u]}],shadow:[{shadow:["","inner","none",hl,W0]}],"shadow-color":[{shadow:[ia]}],opacity:[{opacity:[Y]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[S]}],"drop-shadow":[{"drop-shadow":["","none",hl,ie]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[A]}],invert:[{invert:[T]}],saturate:[{saturate:[k]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[S]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A]}],"backdrop-invert":[{"backdrop-invert":[T]}],"backdrop-opacity":[{"backdrop-opacity":[Y]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[y]}],"border-spacing-x":[{"border-spacing-x":[y]}],"border-spacing-y":[{"border-spacing-y":[y]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:x()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:x()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[W]}],"scale-x":[{"scale-x":[W]}],"scale-y":[{"scale-y":[W]}],rotate:[{rotate:[ua,ie]}],"translate-x":[{"translate-x":[le]}],"translate-y":[{"translate-y":[le]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",u]}],appearance:[{appearance:["none","auto"]}],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",ie]}],"caret-color":[{caret:[u]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"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",ie]}],fill:[{fill:[u,"none"]}],"stroke-w":[{stroke:[Jt,ml,Ki]}],stroke:[{stroke:[u,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}});function ge(...u){return P0(us(u))}/**
|
|
49
|
+
*/var ns;function Ey(){if(ns)return aa;ns=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,f,d){var g=null;if(d!==void 0&&(g=""+d),f.key!==void 0&&(g=""+f.key),"key"in f){d={};for(var h in f)h!=="key"&&(d[h]=f[h])}else d=f;return f=d.ref,{$$typeof:u,type:o,key:g,ref:f!==void 0?f:null,props:d}}return aa.Fragment=c,aa.jsx=r,aa.jsxs=r,aa}var as;function Ty(){return as||(as=1,Vi.exports=Ey()),Vi.exports}var v=Ty();function us(u){var c,r,o="";if(typeof u=="string"||typeof u=="number")o+=u;else if(typeof u=="object")if(Array.isArray(u)){var f=u.length;for(c=0;c<f;c++)u[c]&&(r=us(u[c]))&&(o&&(o+=" "),o+=r)}else for(r in u)u[r]&&(o&&(o+=" "),o+=r);return o}function is(){for(var u,c,r=0,o="",f=arguments.length;r<f;r++)(u=arguments[r])&&(c=us(u))&&(o&&(o+=" "),o+=c);return o}const Qi="-",Ay=u=>{const c=Cy(u),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=u;return{getClassGroupId:g=>{const h=g.split(Qi);return h[0]===""&&h.length!==1&&h.shift(),cs(h,c)||Ny(g)},getConflictingClassGroupIds:(g,h)=>{const S=r[g]||[];return h&&o[g]?[...S,...o[g]]:S}}},cs=(u,c)=>{var g;if(u.length===0)return c.classGroupId;const r=u[0],o=c.nextPart.get(r),f=o?cs(u.slice(1),o):void 0;if(f)return f;if(c.validators.length===0)return;const d=u.join(Qi);return(g=c.validators.find(({validator:h})=>h(d)))==null?void 0:g.classGroupId},os=/^\[(.+)\]$/,Ny=u=>{if(os.test(u)){const c=os.exec(u)[1],r=c==null?void 0:c.substring(0,c.indexOf(":"));if(r)return"arbitrary.."+r}},Cy=u=>{const{theme:c,prefix:r}=u,o={nextPart:new Map,validators:[]};return zy(Object.entries(u.classGroups),r).forEach(([d,g])=>{Zi(g,o,d,c)}),o},Zi=(u,c,r,o)=>{u.forEach(f=>{if(typeof f=="string"){const d=f===""?c:rs(c,f);d.classGroupId=r;return}if(typeof f=="function"){if(_y(f)){Zi(f(o),c,r,o);return}c.validators.push({validator:f,classGroupId:r});return}Object.entries(f).forEach(([d,g])=>{Zi(g,rs(c,d),r,o)})})},rs=(u,c)=>{let r=u;return c.split(Qi).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},_y=u=>u.isThemeGetter,zy=(u,c)=>c?u.map(([r,o])=>{const f=o.map(d=>typeof d=="string"?c+d:typeof d=="object"?Object.fromEntries(Object.entries(d).map(([g,h])=>[c+g,h])):d);return[r,f]}):u,My=u=>{if(u<1)return{get:()=>{},set:()=>{}};let c=0,r=new Map,o=new Map;const f=(d,g)=>{r.set(d,g),c++,c>u&&(c=0,o=r,r=new Map)};return{get(d){let g=r.get(d);if(g!==void 0)return g;if((g=o.get(d))!==void 0)return f(d,g),g},set(d,g){r.has(d)?r.set(d,g):f(d,g)}}},ss="!",Oy=u=>{const{separator:c,experimentalParseClassName:r}=u,o=c.length===1,f=c[0],d=c.length,g=h=>{const S=[];let y=0,A=0,T;for(let q=0;q<h.length;q++){let Y=h[q];if(y===0){if(Y===f&&(o||h.slice(q,q+d)===c)){S.push(h.slice(A,q)),A=q+d;continue}if(Y==="/"){T=q;continue}}Y==="["?y++:Y==="]"&&y--}const C=S.length===0?h:h.substring(A),j=C.startsWith(ss),H=j?C.substring(1):C,R=T&&T>A?T-A:void 0;return{modifiers:S,hasImportantModifier:j,baseClassName:H,maybePostfixModifierPosition:R}};return r?h=>r({className:h,parseClassName:g}):g},jy=u=>{if(u.length<=1)return u;const c=[];let r=[];return u.forEach(o=>{o[0]==="["?(c.push(...r.sort(),o),r=[]):r.push(o)}),c.push(...r.sort()),c},Ry=u=>({cache:My(u.cacheSize),parseClassName:Oy(u),...Ay(u)}),Dy=/\s+/,wy=(u,c)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:f}=c,d=[],g=u.trim().split(Dy);let h="";for(let S=g.length-1;S>=0;S-=1){const y=g[S],{modifiers:A,hasImportantModifier:T,baseClassName:C,maybePostfixModifierPosition:j}=r(y);let H=!!j,R=o(H?C.substring(0,j):C);if(!R){if(!H){h=y+(h.length>0?" "+h:h);continue}if(R=o(C),!R){h=y+(h.length>0?" "+h:h);continue}H=!1}const q=jy(A).join(":"),Y=T?q+ss:q,X=Y+R;if(d.includes(X))continue;d.push(X);const k=f(R,H);for(let W=0;W<k.length;++W){const P=k[W];d.push(Y+P)}h=y+(h.length>0?" "+h:h)}return h};function Uy(){let u=0,c,r,o="";for(;u<arguments.length;)(c=arguments[u++])&&(r=fs(c))&&(o&&(o+=" "),o+=r);return o}const fs=u=>{if(typeof u=="string")return u;let c,r="";for(let o=0;o<u.length;o++)u[o]&&(c=fs(u[o]))&&(r&&(r+=" "),r+=c);return r};function Hy(u,...c){let r,o,f,d=g;function g(S){const y=c.reduce((A,T)=>T(A),u());return r=Ry(y),o=r.cache.get,f=r.cache.set,d=h,h(S)}function h(S){const y=o(S);if(y)return y;const A=wy(S,r);return f(S,A),A}return function(){return d(Uy.apply(null,arguments))}}const je=u=>{const c=r=>r[u]||[];return c.isThemeGetter=!0,c},ds=/^\[(?:([a-z-]+):)?(.+)\]$/i,By=/^\d+\/\d+$/,Ly=new Set(["px","full","screen"]),qy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yy=/\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$/,Gy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Xy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jt=u=>rn(u)||Ly.has(u)||By.test(u),ml=u=>sn(u,"length",$y),rn=u=>!!u&&!Number.isNaN(Number(u)),Ki=u=>sn(u,"number",rn),ua=u=>!!u&&Number.isInteger(Number(u)),Qy=u=>u.endsWith("%")&&rn(u.slice(0,-1)),ie=u=>ds.test(u),hl=u=>qy.test(u),Zy=new Set(["length","size","percentage"]),Ky=u=>sn(u,Zy,ms),Jy=u=>sn(u,"position",ms),ky=new Set(["image","url"]),Wy=u=>sn(u,ky,Py),Fy=u=>sn(u,"",Iy),ia=()=>!0,sn=(u,c,r)=>{const o=ds.exec(u);return o?o[1]?typeof c=="string"?o[1]===c:c.has(o[1]):r(o[2]):!1},$y=u=>Yy.test(u)&&!Gy.test(u),ms=()=>!1,Iy=u=>Xy.test(u),Py=u=>Vy.test(u),e0=Hy(()=>{const u=je("colors"),c=je("spacing"),r=je("blur"),o=je("brightness"),f=je("borderColor"),d=je("borderRadius"),g=je("borderSpacing"),h=je("borderWidth"),S=je("contrast"),y=je("grayscale"),A=je("hueRotate"),T=je("invert"),C=je("gap"),j=je("gradientColorStops"),H=je("gradientColorStopPositions"),R=je("inset"),q=je("margin"),Y=je("opacity"),X=je("padding"),k=je("saturate"),W=je("scale"),P=je("sepia"),oe=je("skew"),V=je("space"),le=je("translate"),ne=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],xe=()=>["auto",ie,c],ee=()=>[ie,c],Nt=()=>["",Jt,ml],at=()=>["auto",rn,ie],lt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],ve=()=>["","0",ie],Ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>[rn,ie];return{cacheSize:500,separator:":",theme:{colors:[ia],spacing:[Jt,ml],blur:["none","",hl,ie],brightness:x(),borderColor:[u],borderRadius:["none","","full",hl,ie],borderSpacing:ee(),borderWidth:Nt(),contrast:x(),grayscale:ve(),hueRotate:x(),invert:ve(),gap:ee(),gradientColorStops:[u],gradientColorStopPositions:[Qy,ml],inset:xe(),margin:xe(),opacity:x(),padding:ee(),saturate:x(),scale:x(),sepia:ve(),skew:x(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[hl]}],"break-after":[{"break-after":Ee()}],"break-before":[{"break-before":Ee()}],"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"],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:[...lt(),ie]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-y":[{"overflow-y":be()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ua,ie]}],basis:[{basis:xe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:ve()}],shrink:[{shrink:ve()}],order:[{order:["first","last","none",ua,ie]}],"grid-cols":[{"grid-cols":[ia]}],"col-start-end":[{col:["auto",{span:["full",ua,ie]},ie]}],"col-start":[{"col-start":at()}],"col-end":[{"col-end":at()}],"grid-rows":[{"grid-rows":[ia]}],"row-start-end":[{row:["auto",{span:[ua,ie]},ie]}],"row-start":[{"row-start":at()}],"row-end":[{"row-end":at()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[X]}],px:[{px:[X]}],py:[{py:[X]}],ps:[{ps:[X]}],pe:[{pe:[X]}],pt:[{pt:[X]}],pr:[{pr:[X]}],pb:[{pb:[X]}],pl:[{pl:[X]}],m:[{m:[q]}],mx:[{mx:[q]}],my:[{my:[q]}],ms:[{ms:[q]}],me:[{me:[q]}],mt:[{mt:[q]}],mr:[{mr:[q]}],mb:[{mb:[q]}],ml:[{ml:[q]}],"space-x":[{"space-x":[V]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[V]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,c]}],"min-w":[{"min-w":[ie,c,"min","max","fit"]}],"max-w":[{"max-w":[ie,c,"none","full","min","max","fit","prose",{screen:[hl]},hl]}],h:[{h:[ie,c,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,c,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,c,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,c,"auto","min","max","fit"]}],"font-size":[{text:["base",hl,ml]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ki]}],"font-family":[{font:[ia]}],"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:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",rn,Ki]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jt,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[u]}],"placeholder-opacity":[{"placeholder-opacity":[Y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[u]}],"text-opacity":[{"text-opacity":[Y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jt,ml]}],"underline-offset":[{"underline-offset":["auto",Jt,ie]}],"text-decoration-color":[{decoration:[u]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...lt(),Jy]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ky]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wy]}],"bg-color":[{bg:[u]}],"gradient-from-pos":[{from:[H]}],"gradient-via-pos":[{via:[H]}],"gradient-to-pos":[{to:[H]}],"gradient-from":[{from:[j]}],"gradient-via":[{via:[j]}],"gradient-to":[{to:[j]}],rounded:[{rounded:[d]}],"rounded-s":[{"rounded-s":[d]}],"rounded-e":[{"rounded-e":[d]}],"rounded-t":[{"rounded-t":[d]}],"rounded-r":[{"rounded-r":[d]}],"rounded-b":[{"rounded-b":[d]}],"rounded-l":[{"rounded-l":[d]}],"rounded-ss":[{"rounded-ss":[d]}],"rounded-se":[{"rounded-se":[d]}],"rounded-ee":[{"rounded-ee":[d]}],"rounded-es":[{"rounded-es":[d]}],"rounded-tl":[{"rounded-tl":[d]}],"rounded-tr":[{"rounded-tr":[d]}],"rounded-br":[{"rounded-br":[d]}],"rounded-bl":[{"rounded-bl":[d]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[Y]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Y]}],"divide-style":[{divide:D()}],"border-color":[{border:[f]}],"border-color-x":[{"border-x":[f]}],"border-color-y":[{"border-y":[f]}],"border-color-s":[{"border-s":[f]}],"border-color-e":[{"border-e":[f]}],"border-color-t":[{"border-t":[f]}],"border-color-r":[{"border-r":[f]}],"border-color-b":[{"border-b":[f]}],"border-color-l":[{"border-l":[f]}],"divide-color":[{divide:[f]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[Jt,ie]}],"outline-w":[{outline:[Jt,ml]}],"outline-color":[{outline:[u]}],"ring-w":[{ring:Nt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[u]}],"ring-opacity":[{"ring-opacity":[Y]}],"ring-offset-w":[{"ring-offset":[Jt,ml]}],"ring-offset-color":[{"ring-offset":[u]}],shadow:[{shadow:["","inner","none",hl,Fy]}],"shadow-color":[{shadow:[ia]}],opacity:[{opacity:[Y]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[S]}],"drop-shadow":[{"drop-shadow":["","none",hl,ie]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[A]}],invert:[{invert:[T]}],saturate:[{saturate:[k]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[S]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A]}],"backdrop-invert":[{"backdrop-invert":[T]}],"backdrop-opacity":[{"backdrop-opacity":[Y]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[g]}],"border-spacing-x":[{"border-spacing-x":[g]}],"border-spacing-y":[{"border-spacing-y":[g]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:x()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:x()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[W]}],"scale-x":[{"scale-x":[W]}],"scale-y":[{"scale-y":[W]}],rotate:[{rotate:[ua,ie]}],"translate-x":[{"translate-x":[le]}],"translate-y":[{"translate-y":[le]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",u]}],appearance:[{appearance:["none","auto"]}],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",ie]}],"caret-color":[{caret:[u]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"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",ie]}],fill:[{fill:[u,"none"]}],"stroke-w":[{stroke:[Jt,ml,Ki]}],stroke:[{stroke:[u,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}});function ye(...u){return e0(is(u))}/**
|
|
50
50
|
* @license lucide-react v0.544.0 - ISC
|
|
51
51
|
*
|
|
52
52
|
* This source code is licensed under the ISC license.
|
|
53
53
|
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/const
|
|
54
|
+
*/const t0=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l0=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,r,o)=>o?o.toUpperCase():r.toLowerCase()),hs=u=>{const c=l0(u);return c.charAt(0).toUpperCase()+c.slice(1)},vs=(...u)=>u.filter((c,r,o)=>!!c&&c.trim()!==""&&o.indexOf(c)===r).join(" ").trim(),n0=u=>{for(const c in u)if(c.startsWith("aria-")||c==="role"||c==="title")return!0};/**
|
|
55
55
|
* @license lucide-react v0.544.0 - ISC
|
|
56
56
|
*
|
|
57
57
|
* This source code is licensed under the ISC license.
|
|
58
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
-
*/var
|
|
59
|
+
*/var a0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
60
60
|
* @license lucide-react v0.544.0 - ISC
|
|
61
61
|
*
|
|
62
62
|
* This source code is licensed under the ISC license.
|
|
63
63
|
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/const
|
|
64
|
+
*/const u0=p.forwardRef(({color:u="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:f="",children:d,iconNode:g,...h},S)=>p.createElement("svg",{ref:S,...a0,width:c,height:c,stroke:u,strokeWidth:o?Number(r)*24/Number(c):r,className:vs("lucide",f),...!d&&!n0(h)&&{"aria-hidden":"true"},...h},[...g.map(([y,A])=>p.createElement(y,A)),...Array.isArray(d)?d:[d]]));/**
|
|
65
65
|
* @license lucide-react v0.544.0 - ISC
|
|
66
66
|
*
|
|
67
67
|
* This source code is licensed under the ISC license.
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
-
*/const Oe=(u,c)=>{const r=p.forwardRef(({className:o,...f},
|
|
69
|
+
*/const Oe=(u,c)=>{const r=p.forwardRef(({className:o,...f},d)=>p.createElement(u0,{ref:d,iconNode:c,className:vs(`lucide-${t0(hs(u))}`,`lucide-${u}`,o),...f}));return r.displayName=hs(u),r};/**
|
|
70
70
|
* @license lucide-react v0.544.0 - ISC
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the ISC license.
|
|
73
73
|
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/const
|
|
74
|
+
*/const i0=Oe("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
|
|
75
75
|
* @license lucide-react v0.544.0 - ISC
|
|
76
76
|
*
|
|
77
77
|
* This source code is licensed under the ISC license.
|
|
78
78
|
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
-
*/const
|
|
79
|
+
*/const c0=Oe("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);/**
|
|
80
80
|
* @license lucide-react v0.544.0 - ISC
|
|
81
81
|
*
|
|
82
82
|
* This source code is licensed under the ISC license.
|
|
@@ -86,7 +86,7 @@ Error generating stack: `+n.message+`
|
|
|
86
86
|
*
|
|
87
87
|
* This source code is licensed under the ISC license.
|
|
88
88
|
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
-
*/const
|
|
89
|
+
*/const ys=Oe("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
90
90
|
* @license lucide-react v0.544.0 - ISC
|
|
91
91
|
*
|
|
92
92
|
* This source code is licensed under the ISC license.
|
|
@@ -96,7 +96,7 @@ Error generating stack: `+n.message+`
|
|
|
96
96
|
*
|
|
97
97
|
* This source code is licensed under the ISC license.
|
|
98
98
|
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/const
|
|
99
|
+
*/const o0=Oe("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);/**
|
|
100
100
|
* @license lucide-react v0.544.0 - ISC
|
|
101
101
|
*
|
|
102
102
|
* This source code is licensed under the ISC license.
|
|
@@ -106,12 +106,12 @@ Error generating stack: `+n.message+`
|
|
|
106
106
|
*
|
|
107
107
|
* This source code is licensed under the ISC license.
|
|
108
108
|
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/const
|
|
109
|
+
*/const r0=Oe("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
|
|
110
110
|
* @license lucide-react v0.544.0 - ISC
|
|
111
111
|
*
|
|
112
112
|
* This source code is licensed under the ISC license.
|
|
113
113
|
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
-
*/const
|
|
114
|
+
*/const s0=Oe("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
115
115
|
* @license lucide-react v0.544.0 - ISC
|
|
116
116
|
*
|
|
117
117
|
* This source code is licensed under the ISC license.
|
|
@@ -121,17 +121,17 @@ Error generating stack: `+n.message+`
|
|
|
121
121
|
*
|
|
122
122
|
* This source code is licensed under the ISC license.
|
|
123
123
|
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
-
*/const
|
|
124
|
+
*/const f0=Oe("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/**
|
|
125
125
|
* @license lucide-react v0.544.0 - ISC
|
|
126
126
|
*
|
|
127
127
|
* This source code is licensed under the ISC license.
|
|
128
128
|
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
-
*/const
|
|
129
|
+
*/const d0=Oe("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
|
|
130
130
|
* @license lucide-react v0.544.0 - ISC
|
|
131
131
|
*
|
|
132
132
|
* This source code is licensed under the ISC license.
|
|
133
133
|
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
-
*/const
|
|
134
|
+
*/const m0=Oe("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|
135
135
|
* @license lucide-react v0.544.0 - ISC
|
|
136
136
|
*
|
|
137
137
|
* This source code is licensed under the ISC license.
|
|
@@ -141,63 +141,63 @@ Error generating stack: `+n.message+`
|
|
|
141
141
|
*
|
|
142
142
|
* This source code is licensed under the ISC license.
|
|
143
143
|
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/const
|
|
144
|
+
*/const ps=Oe("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
|
|
145
145
|
* @license lucide-react v0.544.0 - ISC
|
|
146
146
|
*
|
|
147
147
|
* This source code is licensed under the ISC license.
|
|
148
148
|
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
-
*/const
|
|
149
|
+
*/const bs=Oe("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);/**
|
|
150
150
|
* @license lucide-react v0.544.0 - ISC
|
|
151
151
|
*
|
|
152
152
|
* This source code is licensed under the ISC license.
|
|
153
153
|
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
-
*/const
|
|
154
|
+
*/const h0=Oe("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);/**
|
|
155
155
|
* @license lucide-react v0.544.0 - ISC
|
|
156
156
|
*
|
|
157
157
|
* This source code is licensed under the ISC license.
|
|
158
158
|
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
-
*/const
|
|
159
|
+
*/const v0=Oe("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
160
160
|
* @license lucide-react v0.544.0 - ISC
|
|
161
161
|
*
|
|
162
162
|
* This source code is licensed under the ISC license.
|
|
163
163
|
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
-
*/const
|
|
164
|
+
*/const Ss=Oe("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
|
|
165
165
|
* @license lucide-react v0.544.0 - ISC
|
|
166
166
|
*
|
|
167
167
|
* This source code is licensed under the ISC license.
|
|
168
168
|
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
-
*/const
|
|
169
|
+
*/const y0=Oe("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
|
|
170
170
|
* @license lucide-react v0.544.0 - ISC
|
|
171
171
|
*
|
|
172
172
|
* This source code is licensed under the ISC license.
|
|
173
173
|
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
-
*/const
|
|
174
|
+
*/const g0=Oe("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
|
|
175
175
|
* @license lucide-react v0.544.0 - ISC
|
|
176
176
|
*
|
|
177
177
|
* This source code is licensed under the ISC license.
|
|
178
178
|
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/const
|
|
179
|
+
*/const p0=Oe("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]);/**
|
|
180
180
|
* @license lucide-react v0.544.0 - ISC
|
|
181
181
|
*
|
|
182
182
|
* This source code is licensed under the ISC license.
|
|
183
183
|
* See the LICENSE file in the root directory of this source tree.
|
|
184
|
-
*/const
|
|
184
|
+
*/const b0=Oe("text-wrap",[["path",{d:"m16 16-3 3 3 3",key:"117b85"}],["path",{d:"M3 12h14.5a1 1 0 0 1 0 7H13",key:"18xa6z"}],["path",{d:"M3 19h6",key:"1ygdsz"}],["path",{d:"M3 5h18",key:"1u36vt"}]]);/**
|
|
185
185
|
* @license lucide-react v0.544.0 - ISC
|
|
186
186
|
*
|
|
187
187
|
* This source code is licensed under the ISC license.
|
|
188
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
|
-
*/const
|
|
189
|
+
*/const S0=Oe("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]]);/**
|
|
190
190
|
* @license lucide-react v0.544.0 - ISC
|
|
191
191
|
*
|
|
192
192
|
* This source code is licensed under the ISC license.
|
|
193
193
|
* See the LICENSE file in the root directory of this source tree.
|
|
194
|
-
*/const
|
|
194
|
+
*/const x0=Oe("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);/**
|
|
195
195
|
* @license lucide-react v0.544.0 - ISC
|
|
196
196
|
*
|
|
197
197
|
* This source code is licensed under the ISC license.
|
|
198
198
|
* See the LICENSE file in the root directory of this source tree.
|
|
199
|
-
*/const xg=Oe("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Ss=p.forwardRef(({className:u,type:c,...r},o)=>v.jsx("input",{type:c,className:ge("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",u),ref:o,...r}));Ss.displayName="Input";const xs=u=>typeof u=="boolean"?`${u}`:u===0?"0":u,Es=us,Fi=(u,c)=>r=>{var o;if((c==null?void 0:c.variants)==null)return Es(u,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:f,defaultVariants:m}=c,y=Object.keys(f).map(g=>{const A=r==null?void 0:r[g],T=m==null?void 0:m[g];if(A===null)return null;const z=xs(A)||xs(T);return f[g][z]}),h=r&&Object.entries(r).reduce((g,A)=>{let[T,z]=A;return z===void 0||(g[T]=z),g},{}),S=c==null||(o=c.compoundVariants)===null||o===void 0?void 0:o.reduce((g,A)=>{let{class:T,className:z,...D}=A;return Object.entries(D).every(H=>{let[j,q]=H;return Array.isArray(q)?q.includes({...m,...h}[j]):{...m,...h}[j]===q})?[...g,T,z]:g},[]);return Es(u,y,S,r==null?void 0:r.class,r==null?void 0:r.className)},Eg=Fi("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ts({className:u,variant:c,...r}){return v.jsx("div",{className:ge(Eg({variant:c}),u),...r})}var As=Pr();const Tg=Kr(As);function Ns(u,c){if(typeof u=="function")return u(c);u!=null&&(u.current=c)}function Cs(...u){return c=>{let r=!1;const o=u.map(f=>{const m=Ns(f,c);return!r&&typeof m=="function"&&(r=!0),m});if(r)return()=>{for(let f=0;f<o.length;f++){const m=o[f];typeof m=="function"?m():Ns(u[f],null)}}}}function tt(...u){return p.useCallback(Cs(...u),u)}var dn=p.forwardRef((u,c)=>{const{children:r,...o}=u,f=p.Children.toArray(r),m=f.find(Ng);if(m){const y=m.props.children,h=f.map(S=>S===m?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:S);return v.jsx($i,{...o,ref:c,children:p.isValidElement(y)?p.cloneElement(y,void 0,h):null})}return v.jsx($i,{...o,ref:c,children:r})});dn.displayName="Slot";var $i=p.forwardRef((u,c)=>{const{children:r,...o}=u;if(p.isValidElement(r)){const f=_g(r);return p.cloneElement(r,{...Cg(o,r.props),ref:c?Cs(c,f):f})}return p.Children.count(r)>1?p.Children.only(null):null});$i.displayName="SlotClone";var Ag=({children:u})=>v.jsx(v.Fragment,{children:u});function Ng(u){return p.isValidElement(u)&&u.type===Ag}function Cg(u,c){const r={...c};for(const o in c){const f=u[o],m=c[o];/^on[A-Z]/.test(o)?f&&m?r[o]=(...h)=>{m(...h),f(...h)}:f&&(r[o]=f):o==="style"?r[o]={...f,...m}:o==="className"&&(r[o]=[f,m].filter(Boolean).join(" "))}return{...u,...r}}function _g(u){var o,f;let c=(o=Object.getOwnPropertyDescriptor(u.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?u.ref:(c=(f=Object.getOwnPropertyDescriptor(u,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?u.props.ref:u.props.ref||u.ref)}var zg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ge=zg.reduce((u,c)=>{const r=p.forwardRef((o,f)=>{const{asChild:m,...y}=o,h=m?dn:c;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(h,{...y,ref:f})});return r.displayName=`Primitive.${c}`,{...u,[c]:r}},{});function Mg(u,c){u&&As.flushSync(()=>u.dispatchEvent(c))}var ca=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{};function Og(u,c){return p.useReducer((r,o)=>c[r][o]??r,u)}var kt=u=>{const{present:c,children:r}=u,o=jg(c),f=typeof r=="function"?r({present:o.isPresent}):p.Children.only(r),m=tt(o.ref,Rg(f));return typeof r=="function"||o.isPresent?p.cloneElement(f,{ref:m}):null};kt.displayName="Presence";function jg(u){const[c,r]=p.useState(),o=p.useRef({}),f=p.useRef(u),m=p.useRef("none"),y=u?"mounted":"unmounted",[h,S]=Og(y,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const g=au(o.current);m.current=h==="mounted"?g:"none"},[h]),ca(()=>{const g=o.current,A=f.current;if(A!==u){const z=m.current,D=au(g);u?S("MOUNT"):D==="none"||(g==null?void 0:g.display)==="none"?S("UNMOUNT"):S(A&&z!==D?"ANIMATION_OUT":"UNMOUNT"),f.current=u}},[u,S]),ca(()=>{if(c){let g;const A=c.ownerDocument.defaultView??window,T=D=>{const j=au(o.current).includes(D.animationName);if(D.target===c&&j&&(S("ANIMATION_END"),!f.current)){const q=c.style.animationFillMode;c.style.animationFillMode="forwards",g=A.setTimeout(()=>{c.style.animationFillMode==="forwards"&&(c.style.animationFillMode=q)})}},z=D=>{D.target===c&&(m.current=au(o.current))};return c.addEventListener("animationstart",z),c.addEventListener("animationcancel",T),c.addEventListener("animationend",T),()=>{A.clearTimeout(g),c.removeEventListener("animationstart",z),c.removeEventListener("animationcancel",T),c.removeEventListener("animationend",T)}}else S("ANIMATION_END")},[c,S]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:p.useCallback(g=>{g&&(o.current=getComputedStyle(g)),r(g)},[])}}function au(u){return(u==null?void 0:u.animationName)||"none"}function Rg(u){var o,f;let c=(o=Object.getOwnPropertyDescriptor(u.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?u.ref:(c=(f=Object.getOwnPropertyDescriptor(u,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?u.props.ref:u.props.ref||u.ref)}function Dg(u,c){const r=p.createContext(c),o=m=>{const{children:y,...h}=m,S=p.useMemo(()=>h,Object.values(h));return v.jsx(r.Provider,{value:S,children:y})};o.displayName=u+"Provider";function f(m){const y=p.useContext(r);if(y)return y;if(c!==void 0)return c;throw new Error(`\`${m}\` must be used within \`${u}\``)}return[o,f]}function oa(u,c=[]){let r=[];function o(m,y){const h=p.createContext(y),S=r.length;r=[...r,y];const g=T=>{var Y;const{scope:z,children:D,...H}=T,j=((Y=z==null?void 0:z[u])==null?void 0:Y[S])||h,q=p.useMemo(()=>H,Object.values(H));return v.jsx(j.Provider,{value:q,children:D})};g.displayName=m+"Provider";function A(T,z){var j;const D=((j=z==null?void 0:z[u])==null?void 0:j[S])||h,H=p.useContext(D);if(H)return H;if(y!==void 0)return y;throw new Error(`\`${T}\` must be used within \`${m}\``)}return[g,A]}const f=()=>{const m=r.map(y=>p.createContext(y));return function(h){const S=(h==null?void 0:h[u])||m;return p.useMemo(()=>({[`__scope${u}`]:{...h,[u]:S}}),[h,S])}};return f.scopeName=u,[o,wg(f,...c)]}function wg(...u){const c=u[0];if(u.length===1)return c;const r=()=>{const o=u.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(m){const y=o.reduce((h,{useScope:S,scopeName:g})=>{const T=S(m)[`__scope${g}`];return{...h,...T}},{});return p.useMemo(()=>({[`__scope${c.scopeName}`]:y}),[y])}};return r.scopeName=c.scopeName,r}function nt(u){const c=p.useRef(u);return p.useEffect(()=>{c.current=u}),p.useMemo(()=>(...r)=>{var o;return(o=c.current)==null?void 0:o.call(c,...r)},[])}var Ug=p.createContext(void 0);function Ii(u){const c=p.useContext(Ug);return u||c||"ltr"}function Hg(u,[c,r]){return Math.min(r,Math.max(c,u))}function we(u,c,{checkForDefaultPrevented:r=!0}={}){return function(f){if(u==null||u(f),r===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}function Bg(u,c){return p.useReducer((r,o)=>c[r][o]??r,u)}var Pi="ScrollArea",[_s]=oa(Pi),[Lg,At]=_s(Pi),zs=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,type:o="hover",dir:f,scrollHideDelay:m=600,...y}=u,[h,S]=p.useState(null),[g,A]=p.useState(null),[T,z]=p.useState(null),[D,H]=p.useState(null),[j,q]=p.useState(null),[Y,X]=p.useState(0),[k,W]=p.useState(0),[P,oe]=p.useState(!1),[V,le]=p.useState(!1),ne=tt(c,xe=>S(xe)),be=Ii(f);return v.jsx(Lg,{scope:r,type:o,dir:be,scrollHideDelay:m,scrollArea:h,viewport:g,onViewportChange:A,content:T,onContentChange:z,scrollbarX:D,onScrollbarXChange:H,scrollbarXEnabled:P,onScrollbarXEnabledChange:oe,scrollbarY:j,onScrollbarYChange:q,scrollbarYEnabled:V,onScrollbarYEnabledChange:le,onCornerWidthChange:X,onCornerHeightChange:W,children:v.jsx(Ge.div,{dir:be,...y,ref:ne,style:{position:"relative","--radix-scroll-area-corner-width":Y+"px","--radix-scroll-area-corner-height":k+"px",...u.style}})})});zs.displayName=Pi;var Ms="ScrollAreaViewport",Os=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,children:o,nonce:f,...m}=u,y=At(Ms,r),h=p.useRef(null),S=tt(c,h,y.onViewportChange);return v.jsxs(v.Fragment,{children:[v.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:f}),v.jsx(Ge.div,{"data-radix-scroll-area-viewport":"",...m,ref:S,style:{overflowX:y.scrollbarXEnabled?"scroll":"hidden",overflowY:y.scrollbarYEnabled?"scroll":"hidden",...u.style},children:v.jsx("div",{ref:y.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});Os.displayName=Ms;var Yt="ScrollAreaScrollbar",ec=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=At(Yt,u.__scopeScrollArea),{onScrollbarXEnabledChange:m,onScrollbarYEnabledChange:y}=f,h=u.orientation==="horizontal";return p.useEffect(()=>(h?m(!0):y(!0),()=>{h?m(!1):y(!1)}),[h,m,y]),f.type==="hover"?v.jsx(qg,{...o,ref:c,forceMount:r}):f.type==="scroll"?v.jsx(Yg,{...o,ref:c,forceMount:r}):f.type==="auto"?v.jsx(js,{...o,ref:c,forceMount:r}):f.type==="always"?v.jsx(tc,{...o,ref:c}):null});ec.displayName=Yt;var qg=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=At(Yt,u.__scopeScrollArea),[m,y]=p.useState(!1);return p.useEffect(()=>{const h=f.scrollArea;let S=0;if(h){const g=()=>{window.clearTimeout(S),y(!0)},A=()=>{S=window.setTimeout(()=>y(!1),f.scrollHideDelay)};return h.addEventListener("pointerenter",g),h.addEventListener("pointerleave",A),()=>{window.clearTimeout(S),h.removeEventListener("pointerenter",g),h.removeEventListener("pointerleave",A)}}},[f.scrollArea,f.scrollHideDelay]),v.jsx(kt,{present:r||m,children:v.jsx(js,{"data-state":m?"visible":"hidden",...o,ref:c})})}),Yg=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=At(Yt,u.__scopeScrollArea),m=u.orientation==="horizontal",y=ou(()=>S("SCROLL_END"),100),[h,S]=Bg("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(h==="idle"){const g=window.setTimeout(()=>S("HIDE"),f.scrollHideDelay);return()=>window.clearTimeout(g)}},[h,f.scrollHideDelay,S]),p.useEffect(()=>{const g=f.viewport,A=m?"scrollLeft":"scrollTop";if(g){let T=g[A];const z=()=>{const D=g[A];T!==D&&(S("SCROLL"),y()),T=D};return g.addEventListener("scroll",z),()=>g.removeEventListener("scroll",z)}},[f.viewport,m,S,y]),v.jsx(kt,{present:r||h!=="hidden",children:v.jsx(tc,{"data-state":h==="hidden"?"hidden":"visible",...o,ref:c,onPointerEnter:we(u.onPointerEnter,()=>S("POINTER_ENTER")),onPointerLeave:we(u.onPointerLeave,()=>S("POINTER_LEAVE"))})})}),js=p.forwardRef((u,c)=>{const r=At(Yt,u.__scopeScrollArea),{forceMount:o,...f}=u,[m,y]=p.useState(!1),h=u.orientation==="horizontal",S=ou(()=>{if(r.viewport){const g=r.viewport.offsetWidth<r.viewport.scrollWidth,A=r.viewport.offsetHeight<r.viewport.scrollHeight;y(h?g:A)}},10);return mn(r.viewport,S),mn(r.content,S),v.jsx(kt,{present:o||m,children:v.jsx(tc,{"data-state":m?"visible":"hidden",...f,ref:c})})}),tc=p.forwardRef((u,c)=>{const{orientation:r="vertical",...o}=u,f=At(Yt,u.__scopeScrollArea),m=p.useRef(null),y=p.useRef(0),[h,S]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),g=Hs(h.viewport,h.content),A={...o,sizes:h,onSizesChange:S,hasThumb:g>0&&g<1,onThumbChange:z=>m.current=z,onThumbPointerUp:()=>y.current=0,onThumbPointerDown:z=>y.current=z};function T(z,D){return Kg(z,y.current,h,D)}return r==="horizontal"?v.jsx(Gg,{...A,ref:c,onThumbPositionChange:()=>{if(f.viewport&&m.current){const z=f.viewport.scrollLeft,D=Bs(z,h,f.dir);m.current.style.transform=`translate3d(${D}px, 0, 0)`}},onWheelScroll:z=>{f.viewport&&(f.viewport.scrollLeft=z)},onDragScroll:z=>{f.viewport&&(f.viewport.scrollLeft=T(z,f.dir))}}):r==="vertical"?v.jsx(Xg,{...A,ref:c,onThumbPositionChange:()=>{if(f.viewport&&m.current){const z=f.viewport.scrollTop,D=Bs(z,h);m.current.style.transform=`translate3d(0, ${D}px, 0)`}},onWheelScroll:z=>{f.viewport&&(f.viewport.scrollTop=z)},onDragScroll:z=>{f.viewport&&(f.viewport.scrollTop=T(z))}}):null}),Gg=p.forwardRef((u,c)=>{const{sizes:r,onSizesChange:o,...f}=u,m=At(Yt,u.__scopeScrollArea),[y,h]=p.useState(),S=p.useRef(null),g=tt(c,S,m.onScrollbarXChange);return p.useEffect(()=>{S.current&&h(getComputedStyle(S.current))},[S]),v.jsx(Ds,{"data-orientation":"horizontal",...f,ref:g,sizes:r,style:{bottom:0,left:m.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:m.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":cu(r)+"px",...u.style},onThumbPointerDown:A=>u.onThumbPointerDown(A.x),onDragScroll:A=>u.onDragScroll(A.x),onWheelScroll:(A,T)=>{if(m.viewport){const z=m.viewport.scrollLeft+A.deltaX;u.onWheelScroll(z),qs(z,T)&&A.preventDefault()}},onResize:()=>{S.current&&m.viewport&&y&&o({content:m.viewport.scrollWidth,viewport:m.viewport.offsetWidth,scrollbar:{size:S.current.clientWidth,paddingStart:iu(y.paddingLeft),paddingEnd:iu(y.paddingRight)}})}})}),Xg=p.forwardRef((u,c)=>{const{sizes:r,onSizesChange:o,...f}=u,m=At(Yt,u.__scopeScrollArea),[y,h]=p.useState(),S=p.useRef(null),g=tt(c,S,m.onScrollbarYChange);return p.useEffect(()=>{S.current&&h(getComputedStyle(S.current))},[S]),v.jsx(Ds,{"data-orientation":"vertical",...f,ref:g,sizes:r,style:{top:0,right:m.dir==="ltr"?0:void 0,left:m.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":cu(r)+"px",...u.style},onThumbPointerDown:A=>u.onThumbPointerDown(A.y),onDragScroll:A=>u.onDragScroll(A.y),onWheelScroll:(A,T)=>{if(m.viewport){const z=m.viewport.scrollTop+A.deltaY;u.onWheelScroll(z),qs(z,T)&&A.preventDefault()}},onResize:()=>{S.current&&m.viewport&&y&&o({content:m.viewport.scrollHeight,viewport:m.viewport.offsetHeight,scrollbar:{size:S.current.clientHeight,paddingStart:iu(y.paddingTop),paddingEnd:iu(y.paddingBottom)}})}})}),[Vg,Rs]=_s(Yt),Ds=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,sizes:o,hasThumb:f,onThumbChange:m,onThumbPointerUp:y,onThumbPointerDown:h,onThumbPositionChange:S,onDragScroll:g,onWheelScroll:A,onResize:T,...z}=u,D=At(Yt,r),[H,j]=p.useState(null),q=tt(c,ne=>j(ne)),Y=p.useRef(null),X=p.useRef(""),k=D.viewport,W=o.content-o.viewport,P=nt(A),oe=nt(S),V=ou(T,10);function le(ne){if(Y.current){const be=ne.clientX-Y.current.left,xe=ne.clientY-Y.current.top;g({x:be,y:xe})}}return p.useEffect(()=>{const ne=be=>{const xe=be.target;(H==null?void 0:H.contains(xe))&&P(be,W)};return document.addEventListener("wheel",ne,{passive:!1}),()=>document.removeEventListener("wheel",ne,{passive:!1})},[k,H,W,P]),p.useEffect(oe,[o,oe]),mn(H,V),mn(D.content,V),v.jsx(Vg,{scope:r,scrollbar:H,hasThumb:f,onThumbChange:nt(m),onThumbPointerUp:nt(y),onThumbPositionChange:oe,onThumbPointerDown:nt(h),children:v.jsx(Ge.div,{...z,ref:q,style:{position:"absolute",...z.style},onPointerDown:we(u.onPointerDown,ne=>{ne.button===0&&(ne.target.setPointerCapture(ne.pointerId),Y.current=H.getBoundingClientRect(),X.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",D.viewport&&(D.viewport.style.scrollBehavior="auto"),le(ne))}),onPointerMove:we(u.onPointerMove,le),onPointerUp:we(u.onPointerUp,ne=>{const be=ne.target;be.hasPointerCapture(ne.pointerId)&&be.releasePointerCapture(ne.pointerId),document.body.style.webkitUserSelect=X.current,D.viewport&&(D.viewport.style.scrollBehavior=""),Y.current=null})})})}),uu="ScrollAreaThumb",ws=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=Rs(uu,u.__scopeScrollArea);return v.jsx(kt,{present:r||f.hasThumb,children:v.jsx(Qg,{ref:c,...o})})}),Qg=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,style:o,...f}=u,m=At(uu,r),y=Rs(uu,r),{onThumbPositionChange:h}=y,S=tt(c,T=>y.onThumbChange(T)),g=p.useRef(void 0),A=ou(()=>{g.current&&(g.current(),g.current=void 0)},100);return p.useEffect(()=>{const T=m.viewport;if(T){const z=()=>{if(A(),!g.current){const D=Jg(T,h);g.current=D,h()}};return h(),T.addEventListener("scroll",z),()=>T.removeEventListener("scroll",z)}},[m.viewport,A,h]),v.jsx(Ge.div,{"data-state":y.hasThumb?"visible":"hidden",...f,ref:S,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:we(u.onPointerDownCapture,T=>{const D=T.target.getBoundingClientRect(),H=T.clientX-D.left,j=T.clientY-D.top;y.onThumbPointerDown({x:H,y:j})}),onPointerUp:we(u.onPointerUp,y.onThumbPointerUp)})});ws.displayName=uu;var lc="ScrollAreaCorner",Us=p.forwardRef((u,c)=>{const r=At(lc,u.__scopeScrollArea),o=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&o?v.jsx(Zg,{...u,ref:c}):null});Us.displayName=lc;var Zg=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,...o}=u,f=At(lc,r),[m,y]=p.useState(0),[h,S]=p.useState(0),g=!!(m&&h);return mn(f.scrollbarX,()=>{var T;const A=((T=f.scrollbarX)==null?void 0:T.offsetHeight)||0;f.onCornerHeightChange(A),S(A)}),mn(f.scrollbarY,()=>{var T;const A=((T=f.scrollbarY)==null?void 0:T.offsetWidth)||0;f.onCornerWidthChange(A),y(A)}),g?v.jsx(Ge.div,{...o,ref:c,style:{width:m,height:h,position:"absolute",right:f.dir==="ltr"?0:void 0,left:f.dir==="rtl"?0:void 0,bottom:0,...u.style}}):null});function iu(u){return u?parseInt(u,10):0}function Hs(u,c){const r=u/c;return isNaN(r)?0:r}function cu(u){const c=Hs(u.viewport,u.content),r=u.scrollbar.paddingStart+u.scrollbar.paddingEnd,o=(u.scrollbar.size-r)*c;return Math.max(o,18)}function Kg(u,c,r,o="ltr"){const f=cu(r),m=f/2,y=c||m,h=f-y,S=r.scrollbar.paddingStart+y,g=r.scrollbar.size-r.scrollbar.paddingEnd-h,A=r.content-r.viewport,T=o==="ltr"?[0,A]:[A*-1,0];return Ls([S,g],T)(u)}function Bs(u,c,r="ltr"){const o=cu(c),f=c.scrollbar.paddingStart+c.scrollbar.paddingEnd,m=c.scrollbar.size-f,y=c.content-c.viewport,h=m-o,S=r==="ltr"?[0,y]:[y*-1,0],g=Hg(u,S);return Ls([0,y],[0,h])(g)}function Ls(u,c){return r=>{if(u[0]===u[1]||c[0]===c[1])return c[0];const o=(c[1]-c[0])/(u[1]-u[0]);return c[0]+o*(r-u[0])}}function qs(u,c){return u>0&&u<c}var Jg=(u,c=()=>{})=>{let r={left:u.scrollLeft,top:u.scrollTop},o=0;return(function f(){const m={left:u.scrollLeft,top:u.scrollTop},y=r.left!==m.left,h=r.top!==m.top;(y||h)&&c(),r=m,o=window.requestAnimationFrame(f)})(),()=>window.cancelAnimationFrame(o)};function ou(u,c){const r=nt(u),o=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(o.current),[]),p.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(r,c)},[r,c])}function mn(u,c){const r=nt(c);ca(()=>{let o=0;if(u){const f=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(r)});return f.observe(u),()=>{window.cancelAnimationFrame(o),f.unobserve(u)}}},[u,r])}var Ys=zs,kg=Os,Wg=Us;const ra=p.forwardRef(({className:u,children:c,...r},o)=>v.jsxs(Ys,{ref:o,className:ge("relative overflow-hidden",u),...r,children:[v.jsx(kg,{className:"h-full w-full rounded-[inherit]",children:c}),v.jsx(Gs,{}),v.jsx(Wg,{})]}));ra.displayName=Ys.displayName;const Gs=p.forwardRef(({className:u,orientation:c="vertical",...r},o)=>v.jsx(ec,{ref:o,orientation:c,className:ge("flex touch-none select-none transition-colors",c==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",c==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",u),...r,children:v.jsx(ws,{className:"relative flex-1 rounded-full bg-border"})}));Gs.displayName=ec.displayName;function Fg({className:u}){return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",className:u,children:[v.jsx("path",{d:"M16 2C16 2 10 8 10 14c0 2.5 1.2 4.7 3 6.2C12.4 18.5 12 16.8 12 15c0-3 4-7 4-7s4 4 4 7c0 1.8-.4 3.5-1 5.2 1.8-1.5 3-3.7 3-6.2C22 8 16 2 16 2z",fill:"url(#fsv-grad)"}),v.jsx("text",{x:"7",y:"27",fontFamily:"monospace",fontWeight:"700",fontSize:"11",fill:"#f5f5f5",opacity:"0.95",children:"{"}),v.jsx("text",{x:"21",y:"27",fontFamily:"monospace",fontWeight:"700",fontSize:"11",fill:"#f5f5f5",opacity:"0.95",children:"}"}),v.jsx("defs",{children:v.jsxs("linearGradient",{id:"fsv-grad",x1:"16",y1:"2",x2:"16",y2:"22",gradientUnits:"userSpaceOnUse",children:[v.jsx("stop",{offset:"0%",stopColor:"#f59e0b"}),v.jsx("stop",{offset:"100%",stopColor:"#ef4444"})]})})]})}function Xs(u){return u.reduce((c,r)=>c+1+(r.subcollections?Xs(r.subcollections):0),0)}function Vs(u,c){const r=[];for(const o of u)(o.name.toLowerCase().includes(c)||o.description.toLowerCase().includes(c)||o.path.toLowerCase().includes(c))&&r.push(o),o.subcollections&&r.push(...Vs(o.subcollections,c));return r}function nc(u){const c=[];for(const r of u)c.push(r.id),r.subcollections&&c.push(...nc(r.subcollections));return c}function $g({collections:u,selectedId:c,onSelect:r,title:o}){const[f,m]=p.useState(""),[y,h]=p.useState(()=>{const D={};for(const H of nc(u))D[H]=!0;return D});p.useEffect(()=>{const D={};for(const H of nc(u))D[H]=y[H]!==void 0?y[H]:!0;h(D)},[u]);const S=p.useCallback(D=>{h(H=>({...H,[D]:!H[D]}))},[]),g=D=>D?D>=1e6?`${(D/1e6).toFixed(1)}M`:D>=1e3?`${(D/1e3).toFixed(1)}K`:D.toString():null,A=Xs(u),T=f.trim().length>0,z=T?Vs(u,f.toLowerCase()):[];return v.jsxs("aside",{className:"flex h-full w-80 shrink-0 flex-col border-r border-border bg-card",children:[v.jsxs("div",{className:"flex items-center gap-3 border-b border-border px-4 py-4",children:[v.jsx("div",{className:"flex h-9 w-9 items-center justify-center rounded-lg bg-primary/15",children:v.jsx(Fg,{className:"h-6 w-6"})}),v.jsxs("div",{className:"flex flex-col",children:[v.jsx("span",{className:"text-sm font-semibold text-foreground tracking-tight",children:o||"FireSchema"}),v.jsx("span",{className:"text-[11px] text-muted-foreground",children:"Firestore Schema Viewer"})]})]}),v.jsx("div",{className:"px-3 py-3",children:v.jsxs("div",{className:"relative",children:[v.jsx(bs,{className:"absolute left-2.5 top-2.5 h-3.5 w-3.5 text-muted-foreground"}),v.jsx(Ss,{placeholder:"Search collections & paths...",value:f,onChange:D=>m(D.target.value),className:"h-8 bg-secondary/50 pl-8 text-xs placeholder:text-muted-foreground"})]})}),v.jsxs("div",{className:"flex items-center justify-between px-4 py-1.5",children:[v.jsx("span",{className:"text-[11px] font-medium uppercase tracking-wider text-muted-foreground",children:"Firestore Schema"}),v.jsxs(Ts,{variant:"secondary",className:"h-5 px-1.5 text-[10px] font-medium",children:[A," ",A===1?"schema":"schemas"]})]}),v.jsx(ra,{className:"flex-1 px-2",children:v.jsx("div",{className:"flex flex-col gap-0.5 py-1 pb-4",children:T?z.length>0?z.map(D=>v.jsx(Ig,{collection:D,isSelected:c===D.id,onSelect:r},D.id)):v.jsxs("div",{className:"flex flex-col items-center gap-2 py-8 text-center",children:[v.jsx(bs,{className:"h-7 w-7 text-muted-foreground/30"}),v.jsx("p",{className:"text-xs text-muted-foreground",children:"No results found"})]}):u.map(D=>v.jsx(Qs,{collection:D,selectedId:c,expanded:y,onSelect:r,onToggle:S,formatCount:g,depth:0},D.id))})})]})}function Qs({collection:u,selectedId:c,expanded:r,onSelect:o,onToggle:f,formatCount:m,depth:y}){const h=u.subcollections&&u.subcollections.length>0,S=!!r[u.id],g=c===u.id,A=["border-primary/30","border-cyan-400/30","border-emerald-400/30","border-amber-400/30"],T=A[y%A.length],z=["text-primary","text-cyan-400","text-emerald-400","text-amber-400"],D=z[y%z.length];return v.jsxs("div",{children:[v.jsxs("div",{role:"button",tabIndex:0,onClick:()=>o(u),onKeyDown:H=>{(H.key==="Enter"||H.key===" ")&&o(u)},className:ge("group flex w-full items-center gap-1.5 rounded-md px-2 py-2 text-left text-sm transition-all cursor-pointer",g?"bg-primary/10 text-foreground":"text-muted-foreground hover:bg-secondary/60 hover:text-foreground"),style:{paddingLeft:`${y*16+8}px`},children:[h?v.jsx("button",{type:"button",onClick:H=>{H.stopPropagation(),f(u.id)},className:"flex h-5 w-5 shrink-0 items-center justify-center rounded transition-colors hover:bg-secondary",children:S?v.jsx(vs,{className:ge("h-3.5 w-3.5",g?D:"")}):v.jsx(ki,{className:"h-3.5 w-3.5"})}):v.jsx("span",{className:"w-5 shrink-0"}),h?S?v.jsx(sg,{className:ge("h-4 w-4 shrink-0",g?D:"text-muted-foreground/70")}):v.jsx(fg,{className:ge("h-4 w-4 shrink-0",g?D:"text-muted-foreground/70")}):v.jsx(fn,{className:ge("h-4 w-4 shrink-0",g?D:"text-muted-foreground/70")}),v.jsx("span",{className:ge("flex-1 truncate font-mono text-xs",g&&"font-semibold"),children:u.name}),v.jsxs("div",{className:"flex items-center gap-1.5",children:[h&&v.jsxs("div",{className:"flex items-center gap-0.5 opacity-60",children:[v.jsx(ys,{className:"h-3 w-3"}),v.jsx("span",{className:"text-[10px]",children:u.subcollections.length})]}),u.documentCount&&v.jsx("span",{className:"text-[10px] tabular-nums text-muted-foreground/70",children:m(u.documentCount)})]})]}),h&&S&&v.jsx("div",{className:ge("ml-4 border-l-2 pl-0",T),children:u.subcollections.map(H=>v.jsx(Qs,{collection:H,selectedId:c,expanded:r,onSelect:o,onToggle:f,formatCount:m,depth:y+1},H.id))})]})}function Ig({collection:u,isSelected:c,onSelect:r}){return v.jsxs("button",{type:"button",onClick:()=>r(u),className:ge("flex w-full flex-col gap-1 rounded-md px-3 py-2.5 text-left transition-all",c?"bg-primary/10 text-foreground":"text-muted-foreground hover:bg-secondary/60 hover:text-foreground"),children:[v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx(fn,{className:ge("h-3.5 w-3.5 shrink-0",c?"text-primary":"")}),v.jsx("span",{className:"font-mono text-xs font-semibold",children:u.name})]}),v.jsx("span",{className:"ml-5.5 font-mono text-[10px] text-muted-foreground/70 truncate",children:u.path})]})}const Pg={string:"text-emerald-400",number:"text-blue-400",integer:"text-blue-400",boolean:"text-amber-400",object:"text-orange-400",array:"text-cyan-400",null:"text-red-400"};function ey(u){const c=u+"CollectionProvider",[r,o]=oa(c),[f,m]=r(c,{collectionRef:{current:null},itemMap:new Map}),y=D=>{const{scope:H,children:j}=D,q=Kt.useRef(null),Y=Kt.useRef(new Map).current;return v.jsx(f,{scope:H,itemMap:Y,collectionRef:q,children:j})};y.displayName=c;const h=u+"CollectionSlot",S=Kt.forwardRef((D,H)=>{const{scope:j,children:q}=D,Y=m(h,j),X=tt(H,Y.collectionRef);return v.jsx(dn,{ref:X,children:q})});S.displayName=h;const g=u+"CollectionItemSlot",A="data-radix-collection-item",T=Kt.forwardRef((D,H)=>{const{scope:j,children:q,...Y}=D,X=Kt.useRef(null),k=tt(H,X),W=m(g,j);return Kt.useEffect(()=>(W.itemMap.set(X,{ref:X,...Y}),()=>void W.itemMap.delete(X))),v.jsx(dn,{[A]:"",ref:k,children:q})});T.displayName=g;function z(D){const H=m(u+"CollectionConsumer",D);return Kt.useCallback(()=>{const q=H.collectionRef.current;if(!q)return[];const Y=Array.from(q.querySelectorAll(`[${A}]`));return Array.from(H.itemMap.values()).sort((W,P)=>Y.indexOf(W.ref.current)-Y.indexOf(P.ref.current))},[H.collectionRef,H.itemMap])}return[{Provider:y,Slot:S,ItemSlot:T},z,o]}var ty=h0.useId||(()=>{}),ly=0;function sa(u){const[c,r]=p.useState(ty());return ca(()=>{r(o=>o??String(ly++))},[u]),c?`radix-${c}`:""}function ac({prop:u,defaultProp:c,onChange:r=()=>{}}){const[o,f]=ny({defaultProp:c,onChange:r}),m=u!==void 0,y=m?u:o,h=nt(r),S=p.useCallback(g=>{if(m){const T=typeof g=="function"?g(u):g;T!==u&&h(T)}else f(g)},[m,u,f,h]);return[y,S]}function ny({defaultProp:u,onChange:c}){const r=p.useState(u),[o]=r,f=p.useRef(o),m=nt(c);return p.useEffect(()=>{f.current!==o&&(m(o),f.current=o)},[o,f,m]),r}var uc="rovingFocusGroup.onEntryFocus",ay={bubbles:!1,cancelable:!0},ru="RovingFocusGroup",[ic,Zs,uy]=ey(ru),[iy,Ks]=oa(ru,[uy]),[cy,oy]=iy(ru),Js=p.forwardRef((u,c)=>v.jsx(ic.Provider,{scope:u.__scopeRovingFocusGroup,children:v.jsx(ic.Slot,{scope:u.__scopeRovingFocusGroup,children:v.jsx(ry,{...u,ref:c})})}));Js.displayName=ru;var ry=p.forwardRef((u,c)=>{const{__scopeRovingFocusGroup:r,orientation:o,loop:f=!1,dir:m,currentTabStopId:y,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:S,onEntryFocus:g,preventScrollOnEntryFocus:A=!1,...T}=u,z=p.useRef(null),D=tt(c,z),H=Ii(m),[j=null,q]=ac({prop:y,defaultProp:h,onChange:S}),[Y,X]=p.useState(!1),k=nt(g),W=Zs(r),P=p.useRef(!1),[oe,V]=p.useState(0);return p.useEffect(()=>{const le=z.current;if(le)return le.addEventListener(uc,k),()=>le.removeEventListener(uc,k)},[k]),v.jsx(cy,{scope:r,orientation:o,dir:H,loop:f,currentTabStopId:j,onItemFocus:p.useCallback(le=>q(le),[q]),onItemShiftTab:p.useCallback(()=>X(!0),[]),onFocusableItemAdd:p.useCallback(()=>V(le=>le+1),[]),onFocusableItemRemove:p.useCallback(()=>V(le=>le-1),[]),children:v.jsx(Ge.div,{tabIndex:Y||oe===0?-1:0,"data-orientation":o,...T,ref:D,style:{outline:"none",...u.style},onMouseDown:we(u.onMouseDown,()=>{P.current=!0}),onFocus:we(u.onFocus,le=>{const ne=!P.current;if(le.target===le.currentTarget&&ne&&!Y){const be=new CustomEvent(uc,ay);if(le.currentTarget.dispatchEvent(be),!be.defaultPrevented){const xe=W().filter(R=>R.focusable),ee=xe.find(R=>R.active),Nt=xe.find(R=>R.id===j),lt=[ee,Nt,...xe].filter(Boolean).map(R=>R.ref.current);Fs(lt,A)}}P.current=!1}),onBlur:we(u.onBlur,()=>X(!1))})})}),ks="RovingFocusGroupItem",Ws=p.forwardRef((u,c)=>{const{__scopeRovingFocusGroup:r,focusable:o=!0,active:f=!1,tabStopId:m,...y}=u,h=sa(),S=m||h,g=oy(ks,r),A=g.currentTabStopId===S,T=Zs(r),{onFocusableItemAdd:z,onFocusableItemRemove:D}=g;return p.useEffect(()=>{if(o)return z(),()=>D()},[o,z,D]),v.jsx(ic.ItemSlot,{scope:r,id:S,focusable:o,active:f,children:v.jsx(Ge.span,{tabIndex:A?0:-1,"data-orientation":g.orientation,...y,ref:c,onMouseDown:we(u.onMouseDown,H=>{o?g.onItemFocus(S):H.preventDefault()}),onFocus:we(u.onFocus,()=>g.onItemFocus(S)),onKeyDown:we(u.onKeyDown,H=>{if(H.key==="Tab"&&H.shiftKey){g.onItemShiftTab();return}if(H.target!==H.currentTarget)return;const j=dy(H,g.orientation,g.dir);if(j!==void 0){if(H.metaKey||H.ctrlKey||H.altKey||H.shiftKey)return;H.preventDefault();let Y=T().filter(X=>X.focusable).map(X=>X.ref.current);if(j==="last")Y.reverse();else if(j==="prev"||j==="next"){j==="prev"&&Y.reverse();const X=Y.indexOf(H.currentTarget);Y=g.loop?my(Y,X+1):Y.slice(X+1)}setTimeout(()=>Fs(Y))}})})})});Ws.displayName=ks;var sy={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fy(u,c){return c!=="rtl"?u:u==="ArrowLeft"?"ArrowRight":u==="ArrowRight"?"ArrowLeft":u}function dy(u,c,r){const o=fy(u.key,r);if(!(c==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(c==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return sy[o]}function Fs(u,c=!1){const r=document.activeElement;for(const o of u)if(o===r||(o.focus({preventScroll:c}),document.activeElement!==r))return}function my(u,c){return u.map((r,o)=>u[(c+o)%u.length])}var hy=Js,vy=Ws,cc="Tabs",[gy]=oa(cc,[Ks]),$s=Ks(),[yy,oc]=gy(cc),Is=p.forwardRef((u,c)=>{const{__scopeTabs:r,value:o,onValueChange:f,defaultValue:m,orientation:y="horizontal",dir:h,activationMode:S="automatic",...g}=u,A=Ii(h),[T,z]=ac({prop:o,onChange:f,defaultProp:m});return v.jsx(yy,{scope:r,baseId:sa(),value:T,onValueChange:z,orientation:y,dir:A,activationMode:S,children:v.jsx(Ge.div,{dir:A,"data-orientation":y,...g,ref:c})})});Is.displayName=cc;var Ps="TabsList",ef=p.forwardRef((u,c)=>{const{__scopeTabs:r,loop:o=!0,...f}=u,m=oc(Ps,r),y=$s(r);return v.jsx(hy,{asChild:!0,...y,orientation:m.orientation,dir:m.dir,loop:o,children:v.jsx(Ge.div,{role:"tablist","aria-orientation":m.orientation,...f,ref:c})})});ef.displayName=Ps;var tf="TabsTrigger",lf=p.forwardRef((u,c)=>{const{__scopeTabs:r,value:o,disabled:f=!1,...m}=u,y=oc(tf,r),h=$s(r),S=uf(y.baseId,o),g=cf(y.baseId,o),A=o===y.value;return v.jsx(vy,{asChild:!0,...h,focusable:!f,active:A,children:v.jsx(Ge.button,{type:"button",role:"tab","aria-selected":A,"aria-controls":g,"data-state":A?"active":"inactive","data-disabled":f?"":void 0,disabled:f,id:S,...m,ref:c,onMouseDown:we(u.onMouseDown,T=>{!f&&T.button===0&&T.ctrlKey===!1?y.onValueChange(o):T.preventDefault()}),onKeyDown:we(u.onKeyDown,T=>{[" ","Enter"].includes(T.key)&&y.onValueChange(o)}),onFocus:we(u.onFocus,()=>{const T=y.activationMode!=="manual";!A&&!f&&T&&y.onValueChange(o)})})})});lf.displayName=tf;var nf="TabsContent",af=p.forwardRef((u,c)=>{const{__scopeTabs:r,value:o,forceMount:f,children:m,...y}=u,h=oc(nf,r),S=uf(h.baseId,o),g=cf(h.baseId,o),A=o===h.value,T=p.useRef(A);return p.useEffect(()=>{const z=requestAnimationFrame(()=>T.current=!1);return()=>cancelAnimationFrame(z)},[]),v.jsx(kt,{present:f||A,children:({present:z})=>v.jsx(Ge.div,{"data-state":A?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":S,hidden:!z,id:g,tabIndex:0,...y,ref:c,style:{...u.style,animationDuration:T.current?"0s":void 0},children:z&&m})})});af.displayName=nf;function uf(u,c){return`${u}-trigger-${c}`}function cf(u,c){return`${u}-content-${c}`}var py=Is,of=ef,rf=lf,sf=af;const by=py,ff=p.forwardRef(({className:u,...c},r)=>v.jsx(of,{ref:r,className:ge("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",u),...c}));ff.displayName=of.displayName;const rc=p.forwardRef(({className:u,...c},r)=>v.jsx(rf,{ref:r,className:ge("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",u),...c}));rc.displayName=rf.displayName;const sc=p.forwardRef(({className:u,...c},r)=>v.jsx(sf,{ref:r,className:ge("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",u),...c}));sc.displayName=sf.displayName;function Sy(u,c=globalThis==null?void 0:globalThis.document){const r=nt(u);p.useEffect(()=>{const o=f=>{f.key==="Escape"&&r(f)};return c.addEventListener("keydown",o,{capture:!0}),()=>c.removeEventListener("keydown",o,{capture:!0})},[r,c])}var xy="DismissableLayer",fc="dismissableLayer.update",Ey="dismissableLayer.pointerDownOutside",Ty="dismissableLayer.focusOutside",df,mf=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hf=p.forwardRef((u,c)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:f,onFocusOutside:m,onInteractOutside:y,onDismiss:h,...S}=u,g=p.useContext(mf),[A,T]=p.useState(null),z=(A==null?void 0:A.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,D]=p.useState({}),H=tt(c,V=>T(V)),j=Array.from(g.layers),[q]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),Y=j.indexOf(q),X=A?j.indexOf(A):-1,k=g.layersWithOutsidePointerEventsDisabled.size>0,W=X>=Y,P=Cy(V=>{const le=V.target,ne=[...g.branches].some(be=>be.contains(le));!W||ne||(f==null||f(V),y==null||y(V),V.defaultPrevented||h==null||h())},z),oe=_y(V=>{const le=V.target;[...g.branches].some(be=>be.contains(le))||(m==null||m(V),y==null||y(V),V.defaultPrevented||h==null||h())},z);return Sy(V=>{X===g.layers.size-1&&(o==null||o(V),!V.defaultPrevented&&h&&(V.preventDefault(),h()))},z),p.useEffect(()=>{if(A)return r&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(df=z.body.style.pointerEvents,z.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(A)),g.layers.add(A),vf(),()=>{r&&g.layersWithOutsidePointerEventsDisabled.size===1&&(z.body.style.pointerEvents=df)}},[A,z,r,g]),p.useEffect(()=>()=>{A&&(g.layers.delete(A),g.layersWithOutsidePointerEventsDisabled.delete(A),vf())},[A,g]),p.useEffect(()=>{const V=()=>D({});return document.addEventListener(fc,V),()=>document.removeEventListener(fc,V)},[]),v.jsx(Ge.div,{...S,ref:H,style:{pointerEvents:k?W?"auto":"none":void 0,...u.style},onFocusCapture:we(u.onFocusCapture,oe.onFocusCapture),onBlurCapture:we(u.onBlurCapture,oe.onBlurCapture),onPointerDownCapture:we(u.onPointerDownCapture,P.onPointerDownCapture)})});hf.displayName=xy;var Ay="DismissableLayerBranch",Ny=p.forwardRef((u,c)=>{const r=p.useContext(mf),o=p.useRef(null),f=tt(c,o);return p.useEffect(()=>{const m=o.current;if(m)return r.branches.add(m),()=>{r.branches.delete(m)}},[r.branches]),v.jsx(Ge.div,{...u,ref:f})});Ny.displayName=Ay;function Cy(u,c=globalThis==null?void 0:globalThis.document){const r=nt(u),o=p.useRef(!1),f=p.useRef(()=>{});return p.useEffect(()=>{const m=h=>{if(h.target&&!o.current){let S=function(){gf(Ey,r,g,{discrete:!0})};const g={originalEvent:h};h.pointerType==="touch"?(c.removeEventListener("click",f.current),f.current=S,c.addEventListener("click",f.current,{once:!0})):S()}else c.removeEventListener("click",f.current);o.current=!1},y=window.setTimeout(()=>{c.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(y),c.removeEventListener("pointerdown",m),c.removeEventListener("click",f.current)}},[c,r]),{onPointerDownCapture:()=>o.current=!0}}function _y(u,c=globalThis==null?void 0:globalThis.document){const r=nt(u),o=p.useRef(!1);return p.useEffect(()=>{const f=m=>{m.target&&!o.current&&gf(Ty,r,{originalEvent:m},{discrete:!1})};return c.addEventListener("focusin",f),()=>c.removeEventListener("focusin",f)},[c,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function vf(){const u=new CustomEvent(fc);document.dispatchEvent(u)}function gf(u,c,r,{discrete:o}){const f=r.originalEvent.target,m=new CustomEvent(u,{bubbles:!1,cancelable:!0,detail:r});c&&f.addEventListener(u,c,{once:!0}),o?Mg(f,m):f.dispatchEvent(m)}var dc="focusScope.autoFocusOnMount",mc="focusScope.autoFocusOnUnmount",yf={bubbles:!1,cancelable:!0},zy="FocusScope",pf=p.forwardRef((u,c)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:f,onUnmountAutoFocus:m,...y}=u,[h,S]=p.useState(null),g=nt(f),A=nt(m),T=p.useRef(null),z=tt(c,j=>S(j)),D=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(o){let j=function(k){if(D.paused||!h)return;const W=k.target;h.contains(W)?T.current=W:vl(T.current,{select:!0})},q=function(k){if(D.paused||!h)return;const W=k.relatedTarget;W!==null&&(h.contains(W)||vl(T.current,{select:!0}))},Y=function(k){if(document.activeElement===document.body)for(const P of k)P.removedNodes.length>0&&vl(h)};document.addEventListener("focusin",j),document.addEventListener("focusout",q);const X=new MutationObserver(Y);return h&&X.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",j),document.removeEventListener("focusout",q),X.disconnect()}}},[o,h,D.paused]),p.useEffect(()=>{if(h){xf.add(D);const j=document.activeElement;if(!h.contains(j)){const Y=new CustomEvent(dc,yf);h.addEventListener(dc,g),h.dispatchEvent(Y),Y.defaultPrevented||(My(wy(bf(h)),{select:!0}),document.activeElement===j&&vl(h))}return()=>{h.removeEventListener(dc,g),setTimeout(()=>{const Y=new CustomEvent(mc,yf);h.addEventListener(mc,A),h.dispatchEvent(Y),Y.defaultPrevented||vl(j??document.body,{select:!0}),h.removeEventListener(mc,A),xf.remove(D)},0)}}},[h,g,A,D]);const H=p.useCallback(j=>{if(!r&&!o||D.paused)return;const q=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,Y=document.activeElement;if(q&&Y){const X=j.currentTarget,[k,W]=Oy(X);k&&W?!j.shiftKey&&Y===W?(j.preventDefault(),r&&vl(k,{select:!0})):j.shiftKey&&Y===k&&(j.preventDefault(),r&&vl(W,{select:!0})):Y===X&&j.preventDefault()}},[r,o,D.paused]);return v.jsx(Ge.div,{tabIndex:-1,...y,ref:z,onKeyDown:H})});pf.displayName=zy;function My(u,{select:c=!1}={}){const r=document.activeElement;for(const o of u)if(vl(o,{select:c}),document.activeElement!==r)return}function Oy(u){const c=bf(u),r=Sf(c,u),o=Sf(c.reverse(),u);return[r,o]}function bf(u){const c=[],r=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const f=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||f?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)c.push(r.currentNode);return c}function Sf(u,c){for(const r of u)if(!jy(r,{upTo:c}))return r}function jy(u,{upTo:c}){if(getComputedStyle(u).visibility==="hidden")return!0;for(;u;){if(c!==void 0&&u===c)return!1;if(getComputedStyle(u).display==="none")return!0;u=u.parentElement}return!1}function Ry(u){return u instanceof HTMLInputElement&&"select"in u}function vl(u,{select:c=!1}={}){if(u&&u.focus){const r=document.activeElement;u.focus({preventScroll:!0}),u!==r&&Ry(u)&&c&&u.select()}}var xf=Dy();function Dy(){let u=[];return{add(c){const r=u[0];c!==r&&(r==null||r.pause()),u=Ef(u,c),u.unshift(c)},remove(c){var r;u=Ef(u,c),(r=u[0])==null||r.resume()}}}function Ef(u,c){const r=[...u],o=r.indexOf(c);return o!==-1&&r.splice(o,1),r}function wy(u){return u.filter(c=>c.tagName!=="A")}var Uy="Portal",Tf=p.forwardRef((u,c)=>{var h;const{container:r,...o}=u,[f,m]=p.useState(!1);ca(()=>m(!0),[]);const y=r||f&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return y?Tg.createPortal(v.jsx(Ge.div,{...o,ref:c}),y):null});Tf.displayName=Uy;var hc=0;function Hy(){p.useEffect(()=>{const u=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",u[0]??Af()),document.body.insertAdjacentElement("beforeend",u[1]??Af()),hc++,()=>{hc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(c=>c.remove()),hc--}},[])}function Af(){const u=document.createElement("span");return u.setAttribute("data-radix-focus-guard",""),u.tabIndex=0,u.style.outline="none",u.style.opacity="0",u.style.position="fixed",u.style.pointerEvents="none",u}var Gt=function(){return Gt=Object.assign||function(c){for(var r,o=1,f=arguments.length;o<f;o++){r=arguments[o];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(c[m]=r[m])}return c},Gt.apply(this,arguments)};function Nf(u,c){var r={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&c.indexOf(o)<0&&(r[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,o=Object.getOwnPropertySymbols(u);f<o.length;f++)c.indexOf(o[f])<0&&Object.prototype.propertyIsEnumerable.call(u,o[f])&&(r[o[f]]=u[o[f]]);return r}function By(u,c,r){if(r||arguments.length===2)for(var o=0,f=c.length,m;o<f;o++)(m||!(o in c))&&(m||(m=Array.prototype.slice.call(c,0,o)),m[o]=c[o]);return u.concat(m||Array.prototype.slice.call(c))}typeof SuppressedError=="function"&&SuppressedError;var su="right-scroll-bar-position",fu="width-before-scroll-bar",Ly="with-scroll-bars-hidden",qy="--removed-body-scroll-bar-size";function vc(u,c){return typeof u=="function"?u(c):u&&(u.current=c),u}function Yy(u,c){var r=p.useState(function(){return{value:u,callback:c,facade:{get current(){return r.value},set current(o){var f=r.value;f!==o&&(r.value=o,r.callback(o,f))}}}})[0];return r.callback=c,r.facade}var Gy=typeof window<"u"?p.useLayoutEffect:p.useEffect,Cf=new WeakMap;function Xy(u,c){var r=Yy(null,function(o){return u.forEach(function(f){return vc(f,o)})});return Gy(function(){var o=Cf.get(r);if(o){var f=new Set(o),m=new Set(u),y=r.current;f.forEach(function(h){m.has(h)||vc(h,null)}),m.forEach(function(h){f.has(h)||vc(h,y)})}Cf.set(r,u)},[u]),r}function Vy(u){return u}function Qy(u,c){c===void 0&&(c=Vy);var r=[],o=!1,f={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:u},useMedium:function(m){var y=c(m,o);return r.push(y),function(){r=r.filter(function(h){return h!==y})}},assignSyncMedium:function(m){for(o=!0;r.length;){var y=r;r=[],y.forEach(m)}r={push:function(h){return m(h)},filter:function(){return r}}},assignMedium:function(m){o=!0;var y=[];if(r.length){var h=r;r=[],h.forEach(m),y=r}var S=function(){var A=y;y=[],A.forEach(m)},g=function(){return Promise.resolve().then(S)};g(),r={push:function(A){y.push(A),g()},filter:function(A){return y=y.filter(A),r}}}};return f}function Zy(u){u===void 0&&(u={});var c=Qy(null);return c.options=Gt({async:!0,ssr:!1},u),c}var _f=function(u){var c=u.sideCar,r=Nf(u,["sideCar"]);if(!c)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=c.read();if(!o)throw new Error("Sidecar medium not found");return p.createElement(o,Gt({},r))};_f.isSideCarExport=!0;function Ky(u,c){return u.useMedium(c),_f}var zf=Zy(),gc=function(){},du=p.forwardRef(function(u,c){var r=p.useRef(null),o=p.useState({onScrollCapture:gc,onWheelCapture:gc,onTouchMoveCapture:gc}),f=o[0],m=o[1],y=u.forwardProps,h=u.children,S=u.className,g=u.removeScrollBar,A=u.enabled,T=u.shards,z=u.sideCar,D=u.noRelative,H=u.noIsolation,j=u.inert,q=u.allowPinchZoom,Y=u.as,X=Y===void 0?"div":Y,k=u.gapMode,W=Nf(u,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=z,oe=Xy([r,c]),V=Gt(Gt({},W),f);return p.createElement(p.Fragment,null,A&&p.createElement(P,{sideCar:zf,removeScrollBar:g,shards:T,noRelative:D,noIsolation:H,inert:j,setCallbacks:m,allowPinchZoom:!!q,lockRef:r,gapMode:k}),y?p.cloneElement(p.Children.only(h),Gt(Gt({},V),{ref:oe})):p.createElement(X,Gt({},V,{className:S,ref:oe}),h))});du.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},du.classNames={fullWidth:fu,zeroRight:su};var Jy=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ky(){if(!document)return null;var u=document.createElement("style");u.type="text/css";var c=Jy();return c&&u.setAttribute("nonce",c),u}function Wy(u,c){u.styleSheet?u.styleSheet.cssText=c:u.appendChild(document.createTextNode(c))}function Fy(u){var c=document.head||document.getElementsByTagName("head")[0];c.appendChild(u)}var $y=function(){var u=0,c=null;return{add:function(r){u==0&&(c=ky())&&(Wy(c,r),Fy(c)),u++},remove:function(){u--,!u&&c&&(c.parentNode&&c.parentNode.removeChild(c),c=null)}}},Iy=function(){var u=$y();return function(c,r){p.useEffect(function(){return u.add(c),function(){u.remove()}},[c&&r])}},Mf=function(){var u=Iy(),c=function(r){var o=r.styles,f=r.dynamic;return u(o,f),null};return c},Py={left:0,top:0,right:0,gap:0},yc=function(u){return parseInt(u||"",10)||0},ep=function(u){var c=window.getComputedStyle(document.body),r=c[u==="padding"?"paddingLeft":"marginLeft"],o=c[u==="padding"?"paddingTop":"marginTop"],f=c[u==="padding"?"paddingRight":"marginRight"];return[yc(r),yc(o),yc(f)]},tp=function(u){if(u===void 0&&(u="margin"),typeof window>"u")return Py;var c=ep(u),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:c[0],top:c[1],right:c[2],gap:Math.max(0,o-r+c[2]-c[0])}},lp=Mf(),hn="data-scroll-locked",np=function(u,c,r,o){var f=u.left,m=u.top,y=u.right,h=u.gap;return r===void 0&&(r="margin"),`
|
|
200
|
-
.`.concat(
|
|
199
|
+
*/const E0=Oe("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),xs=p.forwardRef(({className:u,type:c,...r},o)=>v.jsx("input",{type:c,className:ye("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",u),ref:o,...r}));xs.displayName="Input";const Es=u=>typeof u=="boolean"?`${u}`:u===0?"0":u,Ts=is,Fi=(u,c)=>r=>{var o;if((c==null?void 0:c.variants)==null)return Ts(u,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:f,defaultVariants:d}=c,g=Object.keys(f).map(y=>{const A=r==null?void 0:r[y],T=d==null?void 0:d[y];if(A===null)return null;const C=Es(A)||Es(T);return f[y][C]}),h=r&&Object.entries(r).reduce((y,A)=>{let[T,C]=A;return C===void 0||(y[T]=C),y},{}),S=c==null||(o=c.compoundVariants)===null||o===void 0?void 0:o.reduce((y,A)=>{let{class:T,className:C,...j}=A;return Object.entries(j).every(H=>{let[R,q]=H;return Array.isArray(q)?q.includes({...d,...h}[R]):{...d,...h}[R]===q})?[...y,T,C]:y},[]);return Ts(u,g,S,r==null?void 0:r.class,r==null?void 0:r.className)},T0=Fi("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function As({className:u,variant:c,...r}){return v.jsx("div",{className:ye(T0({variant:c}),u),...r})}var Ns=es();const A0=Jr(Ns);function Cs(u,c){if(typeof u=="function")return u(c);u!=null&&(u.current=c)}function _s(...u){return c=>{let r=!1;const o=u.map(f=>{const d=Cs(f,c);return!r&&typeof d=="function"&&(r=!0),d});if(r)return()=>{for(let f=0;f<o.length;f++){const d=o[f];typeof d=="function"?d():Cs(u[f],null)}}}}function tt(...u){return p.useCallback(_s(...u),u)}var dn=p.forwardRef((u,c)=>{const{children:r,...o}=u,f=p.Children.toArray(r),d=f.find(C0);if(d){const g=d.props.children,h=f.map(S=>S===d?p.Children.count(g)>1?p.Children.only(null):p.isValidElement(g)?g.props.children:null:S);return v.jsx($i,{...o,ref:c,children:p.isValidElement(g)?p.cloneElement(g,void 0,h):null})}return v.jsx($i,{...o,ref:c,children:r})});dn.displayName="Slot";var $i=p.forwardRef((u,c)=>{const{children:r,...o}=u;if(p.isValidElement(r)){const f=z0(r);return p.cloneElement(r,{..._0(o,r.props),ref:c?_s(c,f):f})}return p.Children.count(r)>1?p.Children.only(null):null});$i.displayName="SlotClone";var N0=({children:u})=>v.jsx(v.Fragment,{children:u});function C0(u){return p.isValidElement(u)&&u.type===N0}function _0(u,c){const r={...c};for(const o in c){const f=u[o],d=c[o];/^on[A-Z]/.test(o)?f&&d?r[o]=(...h)=>{d(...h),f(...h)}:f&&(r[o]=f):o==="style"?r[o]={...f,...d}:o==="className"&&(r[o]=[f,d].filter(Boolean).join(" "))}return{...u,...r}}function z0(u){var o,f;let c=(o=Object.getOwnPropertyDescriptor(u.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?u.ref:(c=(f=Object.getOwnPropertyDescriptor(u,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?u.props.ref:u.props.ref||u.ref)}var M0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ge=M0.reduce((u,c)=>{const r=p.forwardRef((o,f)=>{const{asChild:d,...g}=o,h=d?dn:c;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(h,{...g,ref:f})});return r.displayName=`Primitive.${c}`,{...u,[c]:r}},{});function O0(u,c){u&&Ns.flushSync(()=>u.dispatchEvent(c))}var ca=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{};function j0(u,c){return p.useReducer((r,o)=>c[r][o]??r,u)}var kt=u=>{const{present:c,children:r}=u,o=R0(c),f=typeof r=="function"?r({present:o.isPresent}):p.Children.only(r),d=tt(o.ref,D0(f));return typeof r=="function"||o.isPresent?p.cloneElement(f,{ref:d}):null};kt.displayName="Presence";function R0(u){const[c,r]=p.useState(),o=p.useRef({}),f=p.useRef(u),d=p.useRef("none"),g=u?"mounted":"unmounted",[h,S]=j0(g,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const y=au(o.current);d.current=h==="mounted"?y:"none"},[h]),ca(()=>{const y=o.current,A=f.current;if(A!==u){const C=d.current,j=au(y);u?S("MOUNT"):j==="none"||(y==null?void 0:y.display)==="none"?S("UNMOUNT"):S(A&&C!==j?"ANIMATION_OUT":"UNMOUNT"),f.current=u}},[u,S]),ca(()=>{if(c){let y;const A=c.ownerDocument.defaultView??window,T=j=>{const R=au(o.current).includes(j.animationName);if(j.target===c&&R&&(S("ANIMATION_END"),!f.current)){const q=c.style.animationFillMode;c.style.animationFillMode="forwards",y=A.setTimeout(()=>{c.style.animationFillMode==="forwards"&&(c.style.animationFillMode=q)})}},C=j=>{j.target===c&&(d.current=au(o.current))};return c.addEventListener("animationstart",C),c.addEventListener("animationcancel",T),c.addEventListener("animationend",T),()=>{A.clearTimeout(y),c.removeEventListener("animationstart",C),c.removeEventListener("animationcancel",T),c.removeEventListener("animationend",T)}}else S("ANIMATION_END")},[c,S]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:p.useCallback(y=>{y&&(o.current=getComputedStyle(y)),r(y)},[])}}function au(u){return(u==null?void 0:u.animationName)||"none"}function D0(u){var o,f;let c=(o=Object.getOwnPropertyDescriptor(u.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?u.ref:(c=(f=Object.getOwnPropertyDescriptor(u,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?u.props.ref:u.props.ref||u.ref)}function w0(u,c){const r=p.createContext(c),o=d=>{const{children:g,...h}=d,S=p.useMemo(()=>h,Object.values(h));return v.jsx(r.Provider,{value:S,children:g})};o.displayName=u+"Provider";function f(d){const g=p.useContext(r);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${d}\` must be used within \`${u}\``)}return[o,f]}function oa(u,c=[]){let r=[];function o(d,g){const h=p.createContext(g),S=r.length;r=[...r,g];const y=T=>{var Y;const{scope:C,children:j,...H}=T,R=((Y=C==null?void 0:C[u])==null?void 0:Y[S])||h,q=p.useMemo(()=>H,Object.values(H));return v.jsx(R.Provider,{value:q,children:j})};y.displayName=d+"Provider";function A(T,C){var R;const j=((R=C==null?void 0:C[u])==null?void 0:R[S])||h,H=p.useContext(j);if(H)return H;if(g!==void 0)return g;throw new Error(`\`${T}\` must be used within \`${d}\``)}return[y,A]}const f=()=>{const d=r.map(g=>p.createContext(g));return function(h){const S=(h==null?void 0:h[u])||d;return p.useMemo(()=>({[`__scope${u}`]:{...h,[u]:S}}),[h,S])}};return f.scopeName=u,[o,U0(f,...c)]}function U0(...u){const c=u[0];if(u.length===1)return c;const r=()=>{const o=u.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(d){const g=o.reduce((h,{useScope:S,scopeName:y})=>{const T=S(d)[`__scope${y}`];return{...h,...T}},{});return p.useMemo(()=>({[`__scope${c.scopeName}`]:g}),[g])}};return r.scopeName=c.scopeName,r}function nt(u){const c=p.useRef(u);return p.useEffect(()=>{c.current=u}),p.useMemo(()=>(...r)=>{var o;return(o=c.current)==null?void 0:o.call(c,...r)},[])}var H0=p.createContext(void 0);function Ii(u){const c=p.useContext(H0);return u||c||"ltr"}function B0(u,[c,r]){return Math.min(r,Math.max(c,u))}function we(u,c,{checkForDefaultPrevented:r=!0}={}){return function(f){if(u==null||u(f),r===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}function L0(u,c){return p.useReducer((r,o)=>c[r][o]??r,u)}var Pi="ScrollArea",[zs]=oa(Pi),[q0,At]=zs(Pi),Ms=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,type:o="hover",dir:f,scrollHideDelay:d=600,...g}=u,[h,S]=p.useState(null),[y,A]=p.useState(null),[T,C]=p.useState(null),[j,H]=p.useState(null),[R,q]=p.useState(null),[Y,X]=p.useState(0),[k,W]=p.useState(0),[P,oe]=p.useState(!1),[V,le]=p.useState(!1),ne=tt(c,xe=>S(xe)),be=Ii(f);return v.jsx(q0,{scope:r,type:o,dir:be,scrollHideDelay:d,scrollArea:h,viewport:y,onViewportChange:A,content:T,onContentChange:C,scrollbarX:j,onScrollbarXChange:H,scrollbarXEnabled:P,onScrollbarXEnabledChange:oe,scrollbarY:R,onScrollbarYChange:q,scrollbarYEnabled:V,onScrollbarYEnabledChange:le,onCornerWidthChange:X,onCornerHeightChange:W,children:v.jsx(Ge.div,{dir:be,...g,ref:ne,style:{position:"relative","--radix-scroll-area-corner-width":Y+"px","--radix-scroll-area-corner-height":k+"px",...u.style}})})});Ms.displayName=Pi;var Os="ScrollAreaViewport",js=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,children:o,nonce:f,...d}=u,g=At(Os,r),h=p.useRef(null),S=tt(c,h,g.onViewportChange);return v.jsxs(v.Fragment,{children:[v.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:f}),v.jsx(Ge.div,{"data-radix-scroll-area-viewport":"",...d,ref:S,style:{overflowX:g.scrollbarXEnabled?"scroll":"hidden",overflowY:g.scrollbarYEnabled?"scroll":"hidden",...u.style},children:v.jsx("div",{ref:g.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});js.displayName=Os;var Yt="ScrollAreaScrollbar",ec=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=At(Yt,u.__scopeScrollArea),{onScrollbarXEnabledChange:d,onScrollbarYEnabledChange:g}=f,h=u.orientation==="horizontal";return p.useEffect(()=>(h?d(!0):g(!0),()=>{h?d(!1):g(!1)}),[h,d,g]),f.type==="hover"?v.jsx(Y0,{...o,ref:c,forceMount:r}):f.type==="scroll"?v.jsx(G0,{...o,ref:c,forceMount:r}):f.type==="auto"?v.jsx(Rs,{...o,ref:c,forceMount:r}):f.type==="always"?v.jsx(tc,{...o,ref:c}):null});ec.displayName=Yt;var Y0=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=At(Yt,u.__scopeScrollArea),[d,g]=p.useState(!1);return p.useEffect(()=>{const h=f.scrollArea;let S=0;if(h){const y=()=>{window.clearTimeout(S),g(!0)},A=()=>{S=window.setTimeout(()=>g(!1),f.scrollHideDelay)};return h.addEventListener("pointerenter",y),h.addEventListener("pointerleave",A),()=>{window.clearTimeout(S),h.removeEventListener("pointerenter",y),h.removeEventListener("pointerleave",A)}}},[f.scrollArea,f.scrollHideDelay]),v.jsx(kt,{present:r||d,children:v.jsx(Rs,{"data-state":d?"visible":"hidden",...o,ref:c})})}),G0=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=At(Yt,u.__scopeScrollArea),d=u.orientation==="horizontal",g=ou(()=>S("SCROLL_END"),100),[h,S]=L0("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(h==="idle"){const y=window.setTimeout(()=>S("HIDE"),f.scrollHideDelay);return()=>window.clearTimeout(y)}},[h,f.scrollHideDelay,S]),p.useEffect(()=>{const y=f.viewport,A=d?"scrollLeft":"scrollTop";if(y){let T=y[A];const C=()=>{const j=y[A];T!==j&&(S("SCROLL"),g()),T=j};return y.addEventListener("scroll",C),()=>y.removeEventListener("scroll",C)}},[f.viewport,d,S,g]),v.jsx(kt,{present:r||h!=="hidden",children:v.jsx(tc,{"data-state":h==="hidden"?"hidden":"visible",...o,ref:c,onPointerEnter:we(u.onPointerEnter,()=>S("POINTER_ENTER")),onPointerLeave:we(u.onPointerLeave,()=>S("POINTER_LEAVE"))})})}),Rs=p.forwardRef((u,c)=>{const r=At(Yt,u.__scopeScrollArea),{forceMount:o,...f}=u,[d,g]=p.useState(!1),h=u.orientation==="horizontal",S=ou(()=>{if(r.viewport){const y=r.viewport.offsetWidth<r.viewport.scrollWidth,A=r.viewport.offsetHeight<r.viewport.scrollHeight;g(h?y:A)}},10);return mn(r.viewport,S),mn(r.content,S),v.jsx(kt,{present:o||d,children:v.jsx(tc,{"data-state":d?"visible":"hidden",...f,ref:c})})}),tc=p.forwardRef((u,c)=>{const{orientation:r="vertical",...o}=u,f=At(Yt,u.__scopeScrollArea),d=p.useRef(null),g=p.useRef(0),[h,S]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),y=Bs(h.viewport,h.content),A={...o,sizes:h,onSizesChange:S,hasThumb:y>0&&y<1,onThumbChange:C=>d.current=C,onThumbPointerUp:()=>g.current=0,onThumbPointerDown:C=>g.current=C};function T(C,j){return J0(C,g.current,h,j)}return r==="horizontal"?v.jsx(X0,{...A,ref:c,onThumbPositionChange:()=>{if(f.viewport&&d.current){const C=f.viewport.scrollLeft,j=Ls(C,h,f.dir);d.current.style.transform=`translate3d(${j}px, 0, 0)`}},onWheelScroll:C=>{f.viewport&&(f.viewport.scrollLeft=C)},onDragScroll:C=>{f.viewport&&(f.viewport.scrollLeft=T(C,f.dir))}}):r==="vertical"?v.jsx(V0,{...A,ref:c,onThumbPositionChange:()=>{if(f.viewport&&d.current){const C=f.viewport.scrollTop,j=Ls(C,h);d.current.style.transform=`translate3d(0, ${j}px, 0)`}},onWheelScroll:C=>{f.viewport&&(f.viewport.scrollTop=C)},onDragScroll:C=>{f.viewport&&(f.viewport.scrollTop=T(C))}}):null}),X0=p.forwardRef((u,c)=>{const{sizes:r,onSizesChange:o,...f}=u,d=At(Yt,u.__scopeScrollArea),[g,h]=p.useState(),S=p.useRef(null),y=tt(c,S,d.onScrollbarXChange);return p.useEffect(()=>{S.current&&h(getComputedStyle(S.current))},[S]),v.jsx(ws,{"data-orientation":"horizontal",...f,ref:y,sizes:r,style:{bottom:0,left:d.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:d.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":cu(r)+"px",...u.style},onThumbPointerDown:A=>u.onThumbPointerDown(A.x),onDragScroll:A=>u.onDragScroll(A.x),onWheelScroll:(A,T)=>{if(d.viewport){const C=d.viewport.scrollLeft+A.deltaX;u.onWheelScroll(C),Ys(C,T)&&A.preventDefault()}},onResize:()=>{S.current&&d.viewport&&g&&o({content:d.viewport.scrollWidth,viewport:d.viewport.offsetWidth,scrollbar:{size:S.current.clientWidth,paddingStart:iu(g.paddingLeft),paddingEnd:iu(g.paddingRight)}})}})}),V0=p.forwardRef((u,c)=>{const{sizes:r,onSizesChange:o,...f}=u,d=At(Yt,u.__scopeScrollArea),[g,h]=p.useState(),S=p.useRef(null),y=tt(c,S,d.onScrollbarYChange);return p.useEffect(()=>{S.current&&h(getComputedStyle(S.current))},[S]),v.jsx(ws,{"data-orientation":"vertical",...f,ref:y,sizes:r,style:{top:0,right:d.dir==="ltr"?0:void 0,left:d.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":cu(r)+"px",...u.style},onThumbPointerDown:A=>u.onThumbPointerDown(A.y),onDragScroll:A=>u.onDragScroll(A.y),onWheelScroll:(A,T)=>{if(d.viewport){const C=d.viewport.scrollTop+A.deltaY;u.onWheelScroll(C),Ys(C,T)&&A.preventDefault()}},onResize:()=>{S.current&&d.viewport&&g&&o({content:d.viewport.scrollHeight,viewport:d.viewport.offsetHeight,scrollbar:{size:S.current.clientHeight,paddingStart:iu(g.paddingTop),paddingEnd:iu(g.paddingBottom)}})}})}),[Q0,Ds]=zs(Yt),ws=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,sizes:o,hasThumb:f,onThumbChange:d,onThumbPointerUp:g,onThumbPointerDown:h,onThumbPositionChange:S,onDragScroll:y,onWheelScroll:A,onResize:T,...C}=u,j=At(Yt,r),[H,R]=p.useState(null),q=tt(c,ne=>R(ne)),Y=p.useRef(null),X=p.useRef(""),k=j.viewport,W=o.content-o.viewport,P=nt(A),oe=nt(S),V=ou(T,10);function le(ne){if(Y.current){const be=ne.clientX-Y.current.left,xe=ne.clientY-Y.current.top;y({x:be,y:xe})}}return p.useEffect(()=>{const ne=be=>{const xe=be.target;(H==null?void 0:H.contains(xe))&&P(be,W)};return document.addEventListener("wheel",ne,{passive:!1}),()=>document.removeEventListener("wheel",ne,{passive:!1})},[k,H,W,P]),p.useEffect(oe,[o,oe]),mn(H,V),mn(j.content,V),v.jsx(Q0,{scope:r,scrollbar:H,hasThumb:f,onThumbChange:nt(d),onThumbPointerUp:nt(g),onThumbPositionChange:oe,onThumbPointerDown:nt(h),children:v.jsx(Ge.div,{...C,ref:q,style:{position:"absolute",...C.style},onPointerDown:we(u.onPointerDown,ne=>{ne.button===0&&(ne.target.setPointerCapture(ne.pointerId),Y.current=H.getBoundingClientRect(),X.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",j.viewport&&(j.viewport.style.scrollBehavior="auto"),le(ne))}),onPointerMove:we(u.onPointerMove,le),onPointerUp:we(u.onPointerUp,ne=>{const be=ne.target;be.hasPointerCapture(ne.pointerId)&&be.releasePointerCapture(ne.pointerId),document.body.style.webkitUserSelect=X.current,j.viewport&&(j.viewport.style.scrollBehavior=""),Y.current=null})})})}),uu="ScrollAreaThumb",Us=p.forwardRef((u,c)=>{const{forceMount:r,...o}=u,f=Ds(uu,u.__scopeScrollArea);return v.jsx(kt,{present:r||f.hasThumb,children:v.jsx(Z0,{ref:c,...o})})}),Z0=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,style:o,...f}=u,d=At(uu,r),g=Ds(uu,r),{onThumbPositionChange:h}=g,S=tt(c,T=>g.onThumbChange(T)),y=p.useRef(void 0),A=ou(()=>{y.current&&(y.current(),y.current=void 0)},100);return p.useEffect(()=>{const T=d.viewport;if(T){const C=()=>{if(A(),!y.current){const j=k0(T,h);y.current=j,h()}};return h(),T.addEventListener("scroll",C),()=>T.removeEventListener("scroll",C)}},[d.viewport,A,h]),v.jsx(Ge.div,{"data-state":g.hasThumb?"visible":"hidden",...f,ref:S,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:we(u.onPointerDownCapture,T=>{const j=T.target.getBoundingClientRect(),H=T.clientX-j.left,R=T.clientY-j.top;g.onThumbPointerDown({x:H,y:R})}),onPointerUp:we(u.onPointerUp,g.onThumbPointerUp)})});Us.displayName=uu;var lc="ScrollAreaCorner",Hs=p.forwardRef((u,c)=>{const r=At(lc,u.__scopeScrollArea),o=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&o?v.jsx(K0,{...u,ref:c}):null});Hs.displayName=lc;var K0=p.forwardRef((u,c)=>{const{__scopeScrollArea:r,...o}=u,f=At(lc,r),[d,g]=p.useState(0),[h,S]=p.useState(0),y=!!(d&&h);return mn(f.scrollbarX,()=>{var T;const A=((T=f.scrollbarX)==null?void 0:T.offsetHeight)||0;f.onCornerHeightChange(A),S(A)}),mn(f.scrollbarY,()=>{var T;const A=((T=f.scrollbarY)==null?void 0:T.offsetWidth)||0;f.onCornerWidthChange(A),g(A)}),y?v.jsx(Ge.div,{...o,ref:c,style:{width:d,height:h,position:"absolute",right:f.dir==="ltr"?0:void 0,left:f.dir==="rtl"?0:void 0,bottom:0,...u.style}}):null});function iu(u){return u?parseInt(u,10):0}function Bs(u,c){const r=u/c;return isNaN(r)?0:r}function cu(u){const c=Bs(u.viewport,u.content),r=u.scrollbar.paddingStart+u.scrollbar.paddingEnd,o=(u.scrollbar.size-r)*c;return Math.max(o,18)}function J0(u,c,r,o="ltr"){const f=cu(r),d=f/2,g=c||d,h=f-g,S=r.scrollbar.paddingStart+g,y=r.scrollbar.size-r.scrollbar.paddingEnd-h,A=r.content-r.viewport,T=o==="ltr"?[0,A]:[A*-1,0];return qs([S,y],T)(u)}function Ls(u,c,r="ltr"){const o=cu(c),f=c.scrollbar.paddingStart+c.scrollbar.paddingEnd,d=c.scrollbar.size-f,g=c.content-c.viewport,h=d-o,S=r==="ltr"?[0,g]:[g*-1,0],y=B0(u,S);return qs([0,g],[0,h])(y)}function qs(u,c){return r=>{if(u[0]===u[1]||c[0]===c[1])return c[0];const o=(c[1]-c[0])/(u[1]-u[0]);return c[0]+o*(r-u[0])}}function Ys(u,c){return u>0&&u<c}var k0=(u,c=()=>{})=>{let r={left:u.scrollLeft,top:u.scrollTop},o=0;return(function f(){const d={left:u.scrollLeft,top:u.scrollTop},g=r.left!==d.left,h=r.top!==d.top;(g||h)&&c(),r=d,o=window.requestAnimationFrame(f)})(),()=>window.cancelAnimationFrame(o)};function ou(u,c){const r=nt(u),o=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(o.current),[]),p.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(r,c)},[r,c])}function mn(u,c){const r=nt(c);ca(()=>{let o=0;if(u){const f=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(r)});return f.observe(u),()=>{window.cancelAnimationFrame(o),f.unobserve(u)}}},[u,r])}var Gs=Ms,W0=js,F0=Hs;const ra=p.forwardRef(({className:u,children:c,...r},o)=>v.jsxs(Gs,{ref:o,className:ye("relative overflow-hidden",u),...r,children:[v.jsx(W0,{className:"h-full w-full rounded-[inherit]",children:c}),v.jsx(Xs,{}),v.jsx(F0,{})]}));ra.displayName=Gs.displayName;const Xs=p.forwardRef(({className:u,orientation:c="vertical",...r},o)=>v.jsx(ec,{ref:o,orientation:c,className:ye("flex touch-none select-none transition-colors",c==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",c==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",u),...r,children:v.jsx(Us,{className:"relative flex-1 rounded-full bg-border"})}));Xs.displayName=ec.displayName;function $0({className:u}){return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",className:u,children:[v.jsx("path",{d:"M16 2C16 2 10 8 10 14c0 2.5 1.2 4.7 3 6.2C12.4 18.5 12 16.8 12 15c0-3 4-7 4-7s4 4 4 7c0 1.8-.4 3.5-1 5.2 1.8-1.5 3-3.7 3-6.2C22 8 16 2 16 2z",fill:"url(#fsv-grad)"}),v.jsx("text",{x:"7",y:"27",fontFamily:"monospace",fontWeight:"700",fontSize:"11",fill:"#f5f5f5",opacity:"0.95",children:"{"}),v.jsx("text",{x:"21",y:"27",fontFamily:"monospace",fontWeight:"700",fontSize:"11",fill:"#f5f5f5",opacity:"0.95",children:"}"}),v.jsx("defs",{children:v.jsxs("linearGradient",{id:"fsv-grad",x1:"16",y1:"2",x2:"16",y2:"22",gradientUnits:"userSpaceOnUse",children:[v.jsx("stop",{offset:"0%",stopColor:"#f59e0b"}),v.jsx("stop",{offset:"100%",stopColor:"#ef4444"})]})})]})}function Vs(u){return u.reduce((c,r)=>c+1+(r.subcollections?Vs(r.subcollections):0),0)}function Qs(u,c){const r=[];for(const o of u)(o.name.toLowerCase().includes(c)||o.description.toLowerCase().includes(c)||o.path.toLowerCase().includes(c))&&r.push(o),o.subcollections&&r.push(...Qs(o.subcollections,c));return r}function nc(u){const c=[];for(const r of u)c.push(r.id),r.subcollections&&c.push(...nc(r.subcollections));return c}function I0({collections:u,selectedId:c,onSelect:r,title:o}){const[f,d]=p.useState(""),[g,h]=p.useState(()=>{const j={};for(const H of nc(u))j[H]=!0;return j});p.useEffect(()=>{const j={};for(const H of nc(u))j[H]=g[H]!==void 0?g[H]:!0;h(j)},[u]);const S=p.useCallback(j=>{h(H=>({...H,[j]:!H[j]}))},[]),y=j=>j?j>=1e6?`${(j/1e6).toFixed(1)}M`:j>=1e3?`${(j/1e3).toFixed(1)}K`:j.toString():null,A=Vs(u),T=f.trim().length>0,C=T?Qs(u,f.toLowerCase()):[];return v.jsxs("aside",{className:"flex h-full w-80 shrink-0 flex-col border-r border-border bg-card",children:[v.jsxs("div",{className:"flex items-center gap-3 border-b border-border px-4 py-4",children:[v.jsx("div",{className:"flex h-9 w-9 items-center justify-center rounded-lg bg-primary/15",children:v.jsx($0,{className:"h-6 w-6"})}),v.jsxs("div",{className:"flex flex-col",children:[v.jsx("span",{className:"text-sm font-semibold text-foreground tracking-tight",children:o||"FireSchema"}),v.jsx("span",{className:"text-[11px] text-muted-foreground",children:"Firestore Schema Viewer"})]})]}),v.jsx("div",{className:"px-3 py-3",children:v.jsxs("div",{className:"relative",children:[v.jsx(Ss,{className:"absolute left-2.5 top-2.5 h-3.5 w-3.5 text-muted-foreground"}),v.jsx(xs,{placeholder:"Search collections & paths...",value:f,onChange:j=>d(j.target.value),className:"h-8 bg-secondary/50 pl-8 text-xs placeholder:text-muted-foreground"})]})}),v.jsxs("div",{className:"flex items-center justify-between px-4 py-1.5",children:[v.jsx("span",{className:"text-[11px] font-medium uppercase tracking-wider text-muted-foreground",children:"Firestore Schema"}),v.jsxs(As,{variant:"secondary",className:"h-5 px-1.5 text-[10px] font-medium",children:[A," ",A===1?"schema":"schemas"]})]}),v.jsx(ra,{className:"flex-1 px-2",children:v.jsx("div",{className:"flex flex-col gap-0.5 py-1 pb-4",children:T?C.length>0?C.map(j=>v.jsx(P0,{collection:j,isSelected:c===j.id,onSelect:r},j.id)):v.jsxs("div",{className:"flex flex-col items-center gap-2 py-8 text-center",children:[v.jsx(Ss,{className:"h-7 w-7 text-muted-foreground/30"}),v.jsx("p",{className:"text-xs text-muted-foreground",children:"No results found"})]}):u.map(j=>v.jsx(Zs,{collection:j,selectedId:c,expanded:g,onSelect:r,onToggle:S,formatCount:y,depth:0},j.id))})})]})}function Zs({collection:u,selectedId:c,expanded:r,onSelect:o,onToggle:f,formatCount:d,depth:g}){const h=u.subcollections&&u.subcollections.length>0,S=!!r[u.id],y=c===u.id,A=["border-primary/30","border-cyan-400/30","border-emerald-400/30","border-amber-400/30"],T=A[g%A.length],C=["text-primary","text-cyan-400","text-emerald-400","text-amber-400"],j=C[g%C.length];return v.jsxs("div",{children:[v.jsxs("div",{role:"button",tabIndex:0,onClick:()=>o(u),onKeyDown:H=>{(H.key==="Enter"||H.key===" ")&&o(u)},className:ye("group flex w-full items-center gap-1.5 rounded-md px-2 py-2 text-left text-sm transition-all cursor-pointer",y?"bg-primary/10 text-foreground":"text-muted-foreground hover:bg-secondary/60 hover:text-foreground"),style:{paddingLeft:`${g*16+8}px`},children:[h?v.jsx("button",{type:"button",onClick:H=>{H.stopPropagation(),f(u.id)},className:"flex h-5 w-5 shrink-0 items-center justify-center rounded transition-colors hover:bg-secondary",children:S?v.jsx(ys,{className:ye("h-3.5 w-3.5",y?j:"")}):v.jsx(ki,{className:"h-3.5 w-3.5"})}):v.jsx("span",{className:"w-5 shrink-0"}),h?S?v.jsx(f0,{className:ye("h-4 w-4 shrink-0",y?j:"text-muted-foreground/70")}):v.jsx(d0,{className:ye("h-4 w-4 shrink-0",y?j:"text-muted-foreground/70")}):v.jsx(fn,{className:ye("h-4 w-4 shrink-0",y?j:"text-muted-foreground/70")}),v.jsx("span",{className:ye("flex-1 truncate font-mono text-xs",y&&"font-semibold"),children:u.name}),v.jsxs("div",{className:"flex items-center gap-1.5",children:[h&&v.jsxs("div",{className:"flex items-center gap-0.5 opacity-60",children:[v.jsx(ps,{className:"h-3 w-3"}),v.jsx("span",{className:"text-[10px]",children:u.subcollections.length})]}),u.documentCount&&v.jsx("span",{className:"text-[10px] tabular-nums text-muted-foreground/70",children:d(u.documentCount)})]})]}),h&&S&&v.jsx("div",{className:ye("ml-4 border-l-2 pl-0",T),children:u.subcollections.map(H=>v.jsx(Zs,{collection:H,selectedId:c,expanded:r,onSelect:o,onToggle:f,formatCount:d,depth:g+1},H.id))})]})}function P0({collection:u,isSelected:c,onSelect:r}){return v.jsxs("button",{type:"button",onClick:()=>r(u),className:ye("flex w-full flex-col gap-1 rounded-md px-3 py-2.5 text-left transition-all",c?"bg-primary/10 text-foreground":"text-muted-foreground hover:bg-secondary/60 hover:text-foreground"),children:[v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx(fn,{className:ye("h-3.5 w-3.5 shrink-0",c?"text-primary":"")}),v.jsx("span",{className:"font-mono text-xs font-semibold",children:u.name})]}),v.jsx("span",{className:"ml-5.5 font-mono text-[10px] text-muted-foreground/70 truncate",children:u.path})]})}const eg={string:"text-emerald-400",number:"text-blue-400",integer:"text-blue-400",boolean:"text-amber-400",object:"text-orange-400",array:"text-cyan-400",null:"text-red-400"};function tg(u){const c=u+"CollectionProvider",[r,o]=oa(c),[f,d]=r(c,{collectionRef:{current:null},itemMap:new Map}),g=j=>{const{scope:H,children:R}=j,q=Kt.useRef(null),Y=Kt.useRef(new Map).current;return v.jsx(f,{scope:H,itemMap:Y,collectionRef:q,children:R})};g.displayName=c;const h=u+"CollectionSlot",S=Kt.forwardRef((j,H)=>{const{scope:R,children:q}=j,Y=d(h,R),X=tt(H,Y.collectionRef);return v.jsx(dn,{ref:X,children:q})});S.displayName=h;const y=u+"CollectionItemSlot",A="data-radix-collection-item",T=Kt.forwardRef((j,H)=>{const{scope:R,children:q,...Y}=j,X=Kt.useRef(null),k=tt(H,X),W=d(y,R);return Kt.useEffect(()=>(W.itemMap.set(X,{ref:X,...Y}),()=>void W.itemMap.delete(X))),v.jsx(dn,{[A]:"",ref:k,children:q})});T.displayName=y;function C(j){const H=d(u+"CollectionConsumer",j);return Kt.useCallback(()=>{const q=H.collectionRef.current;if(!q)return[];const Y=Array.from(q.querySelectorAll(`[${A}]`));return Array.from(H.itemMap.values()).sort((W,P)=>Y.indexOf(W.ref.current)-Y.indexOf(P.ref.current))},[H.collectionRef,H.itemMap])}return[{Provider:g,Slot:S,ItemSlot:T},C,o]}var lg=vy.useId||(()=>{}),ng=0;function sa(u){const[c,r]=p.useState(lg());return ca(()=>{r(o=>o??String(ng++))},[u]),c?`radix-${c}`:""}function ac({prop:u,defaultProp:c,onChange:r=()=>{}}){const[o,f]=ag({defaultProp:c,onChange:r}),d=u!==void 0,g=d?u:o,h=nt(r),S=p.useCallback(y=>{if(d){const T=typeof y=="function"?y(u):y;T!==u&&h(T)}else f(y)},[d,u,f,h]);return[g,S]}function ag({defaultProp:u,onChange:c}){const r=p.useState(u),[o]=r,f=p.useRef(o),d=nt(c);return p.useEffect(()=>{f.current!==o&&(d(o),f.current=o)},[o,f,d]),r}var uc="rovingFocusGroup.onEntryFocus",ug={bubbles:!1,cancelable:!0},ru="RovingFocusGroup",[ic,Ks,ig]=tg(ru),[cg,Js]=oa(ru,[ig]),[og,rg]=cg(ru),ks=p.forwardRef((u,c)=>v.jsx(ic.Provider,{scope:u.__scopeRovingFocusGroup,children:v.jsx(ic.Slot,{scope:u.__scopeRovingFocusGroup,children:v.jsx(sg,{...u,ref:c})})}));ks.displayName=ru;var sg=p.forwardRef((u,c)=>{const{__scopeRovingFocusGroup:r,orientation:o,loop:f=!1,dir:d,currentTabStopId:g,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:S,onEntryFocus:y,preventScrollOnEntryFocus:A=!1,...T}=u,C=p.useRef(null),j=tt(c,C),H=Ii(d),[R=null,q]=ac({prop:g,defaultProp:h,onChange:S}),[Y,X]=p.useState(!1),k=nt(y),W=Ks(r),P=p.useRef(!1),[oe,V]=p.useState(0);return p.useEffect(()=>{const le=C.current;if(le)return le.addEventListener(uc,k),()=>le.removeEventListener(uc,k)},[k]),v.jsx(og,{scope:r,orientation:o,dir:H,loop:f,currentTabStopId:R,onItemFocus:p.useCallback(le=>q(le),[q]),onItemShiftTab:p.useCallback(()=>X(!0),[]),onFocusableItemAdd:p.useCallback(()=>V(le=>le+1),[]),onFocusableItemRemove:p.useCallback(()=>V(le=>le-1),[]),children:v.jsx(Ge.div,{tabIndex:Y||oe===0?-1:0,"data-orientation":o,...T,ref:j,style:{outline:"none",...u.style},onMouseDown:we(u.onMouseDown,()=>{P.current=!0}),onFocus:we(u.onFocus,le=>{const ne=!P.current;if(le.target===le.currentTarget&&ne&&!Y){const be=new CustomEvent(uc,ug);if(le.currentTarget.dispatchEvent(be),!be.defaultPrevented){const xe=W().filter(D=>D.focusable),ee=xe.find(D=>D.active),Nt=xe.find(D=>D.id===R),lt=[ee,Nt,...xe].filter(Boolean).map(D=>D.ref.current);$s(lt,A)}}P.current=!1}),onBlur:we(u.onBlur,()=>X(!1))})})}),Ws="RovingFocusGroupItem",Fs=p.forwardRef((u,c)=>{const{__scopeRovingFocusGroup:r,focusable:o=!0,active:f=!1,tabStopId:d,...g}=u,h=sa(),S=d||h,y=rg(Ws,r),A=y.currentTabStopId===S,T=Ks(r),{onFocusableItemAdd:C,onFocusableItemRemove:j}=y;return p.useEffect(()=>{if(o)return C(),()=>j()},[o,C,j]),v.jsx(ic.ItemSlot,{scope:r,id:S,focusable:o,active:f,children:v.jsx(Ge.span,{tabIndex:A?0:-1,"data-orientation":y.orientation,...g,ref:c,onMouseDown:we(u.onMouseDown,H=>{o?y.onItemFocus(S):H.preventDefault()}),onFocus:we(u.onFocus,()=>y.onItemFocus(S)),onKeyDown:we(u.onKeyDown,H=>{if(H.key==="Tab"&&H.shiftKey){y.onItemShiftTab();return}if(H.target!==H.currentTarget)return;const R=mg(H,y.orientation,y.dir);if(R!==void 0){if(H.metaKey||H.ctrlKey||H.altKey||H.shiftKey)return;H.preventDefault();let Y=T().filter(X=>X.focusable).map(X=>X.ref.current);if(R==="last")Y.reverse();else if(R==="prev"||R==="next"){R==="prev"&&Y.reverse();const X=Y.indexOf(H.currentTarget);Y=y.loop?hg(Y,X+1):Y.slice(X+1)}setTimeout(()=>$s(Y))}})})})});Fs.displayName=Ws;var fg={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function dg(u,c){return c!=="rtl"?u:u==="ArrowLeft"?"ArrowRight":u==="ArrowRight"?"ArrowLeft":u}function mg(u,c,r){const o=dg(u.key,r);if(!(c==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(c==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return fg[o]}function $s(u,c=!1){const r=document.activeElement;for(const o of u)if(o===r||(o.focus({preventScroll:c}),document.activeElement!==r))return}function hg(u,c){return u.map((r,o)=>u[(c+o)%u.length])}var vg=ks,yg=Fs,cc="Tabs",[gg]=oa(cc,[Js]),Is=Js(),[pg,oc]=gg(cc),Ps=p.forwardRef((u,c)=>{const{__scopeTabs:r,value:o,onValueChange:f,defaultValue:d,orientation:g="horizontal",dir:h,activationMode:S="automatic",...y}=u,A=Ii(h),[T,C]=ac({prop:o,onChange:f,defaultProp:d});return v.jsx(pg,{scope:r,baseId:sa(),value:T,onValueChange:C,orientation:g,dir:A,activationMode:S,children:v.jsx(Ge.div,{dir:A,"data-orientation":g,...y,ref:c})})});Ps.displayName=cc;var ef="TabsList",tf=p.forwardRef((u,c)=>{const{__scopeTabs:r,loop:o=!0,...f}=u,d=oc(ef,r),g=Is(r);return v.jsx(vg,{asChild:!0,...g,orientation:d.orientation,dir:d.dir,loop:o,children:v.jsx(Ge.div,{role:"tablist","aria-orientation":d.orientation,...f,ref:c})})});tf.displayName=ef;var lf="TabsTrigger",nf=p.forwardRef((u,c)=>{const{__scopeTabs:r,value:o,disabled:f=!1,...d}=u,g=oc(lf,r),h=Is(r),S=cf(g.baseId,o),y=of(g.baseId,o),A=o===g.value;return v.jsx(yg,{asChild:!0,...h,focusable:!f,active:A,children:v.jsx(Ge.button,{type:"button",role:"tab","aria-selected":A,"aria-controls":y,"data-state":A?"active":"inactive","data-disabled":f?"":void 0,disabled:f,id:S,...d,ref:c,onMouseDown:we(u.onMouseDown,T=>{!f&&T.button===0&&T.ctrlKey===!1?g.onValueChange(o):T.preventDefault()}),onKeyDown:we(u.onKeyDown,T=>{[" ","Enter"].includes(T.key)&&g.onValueChange(o)}),onFocus:we(u.onFocus,()=>{const T=g.activationMode!=="manual";!A&&!f&&T&&g.onValueChange(o)})})})});nf.displayName=lf;var af="TabsContent",uf=p.forwardRef((u,c)=>{const{__scopeTabs:r,value:o,forceMount:f,children:d,...g}=u,h=oc(af,r),S=cf(h.baseId,o),y=of(h.baseId,o),A=o===h.value,T=p.useRef(A);return p.useEffect(()=>{const C=requestAnimationFrame(()=>T.current=!1);return()=>cancelAnimationFrame(C)},[]),v.jsx(kt,{present:f||A,children:({present:C})=>v.jsx(Ge.div,{"data-state":A?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":S,hidden:!C,id:y,tabIndex:0,...g,ref:c,style:{...u.style,animationDuration:T.current?"0s":void 0},children:C&&d})})});uf.displayName=af;function cf(u,c){return`${u}-trigger-${c}`}function of(u,c){return`${u}-content-${c}`}var bg=Ps,rf=tf,sf=nf,ff=uf;const Sg=bg,df=p.forwardRef(({className:u,...c},r)=>v.jsx(rf,{ref:r,className:ye("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",u),...c}));df.displayName=rf.displayName;const rc=p.forwardRef(({className:u,...c},r)=>v.jsx(sf,{ref:r,className:ye("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",u),...c}));rc.displayName=sf.displayName;const sc=p.forwardRef(({className:u,...c},r)=>v.jsx(ff,{ref:r,className:ye("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",u),...c}));sc.displayName=ff.displayName;function xg(u,c=globalThis==null?void 0:globalThis.document){const r=nt(u);p.useEffect(()=>{const o=f=>{f.key==="Escape"&&r(f)};return c.addEventListener("keydown",o,{capture:!0}),()=>c.removeEventListener("keydown",o,{capture:!0})},[r,c])}var Eg="DismissableLayer",fc="dismissableLayer.update",Tg="dismissableLayer.pointerDownOutside",Ag="dismissableLayer.focusOutside",mf,hf=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vf=p.forwardRef((u,c)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:g,onDismiss:h,...S}=u,y=p.useContext(hf),[A,T]=p.useState(null),C=(A==null?void 0:A.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,j]=p.useState({}),H=tt(c,V=>T(V)),R=Array.from(y.layers),[q]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),Y=R.indexOf(q),X=A?R.indexOf(A):-1,k=y.layersWithOutsidePointerEventsDisabled.size>0,W=X>=Y,P=_g(V=>{const le=V.target,ne=[...y.branches].some(be=>be.contains(le));!W||ne||(f==null||f(V),g==null||g(V),V.defaultPrevented||h==null||h())},C),oe=zg(V=>{const le=V.target;[...y.branches].some(be=>be.contains(le))||(d==null||d(V),g==null||g(V),V.defaultPrevented||h==null||h())},C);return xg(V=>{X===y.layers.size-1&&(o==null||o(V),!V.defaultPrevented&&h&&(V.preventDefault(),h()))},C),p.useEffect(()=>{if(A)return r&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(mf=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(A)),y.layers.add(A),yf(),()=>{r&&y.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=mf)}},[A,C,r,y]),p.useEffect(()=>()=>{A&&(y.layers.delete(A),y.layersWithOutsidePointerEventsDisabled.delete(A),yf())},[A,y]),p.useEffect(()=>{const V=()=>j({});return document.addEventListener(fc,V),()=>document.removeEventListener(fc,V)},[]),v.jsx(Ge.div,{...S,ref:H,style:{pointerEvents:k?W?"auto":"none":void 0,...u.style},onFocusCapture:we(u.onFocusCapture,oe.onFocusCapture),onBlurCapture:we(u.onBlurCapture,oe.onBlurCapture),onPointerDownCapture:we(u.onPointerDownCapture,P.onPointerDownCapture)})});vf.displayName=Eg;var Ng="DismissableLayerBranch",Cg=p.forwardRef((u,c)=>{const r=p.useContext(hf),o=p.useRef(null),f=tt(c,o);return p.useEffect(()=>{const d=o.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),v.jsx(Ge.div,{...u,ref:f})});Cg.displayName=Ng;function _g(u,c=globalThis==null?void 0:globalThis.document){const r=nt(u),o=p.useRef(!1),f=p.useRef(()=>{});return p.useEffect(()=>{const d=h=>{if(h.target&&!o.current){let S=function(){gf(Tg,r,y,{discrete:!0})};const y={originalEvent:h};h.pointerType==="touch"?(c.removeEventListener("click",f.current),f.current=S,c.addEventListener("click",f.current,{once:!0})):S()}else c.removeEventListener("click",f.current);o.current=!1},g=window.setTimeout(()=>{c.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(g),c.removeEventListener("pointerdown",d),c.removeEventListener("click",f.current)}},[c,r]),{onPointerDownCapture:()=>o.current=!0}}function zg(u,c=globalThis==null?void 0:globalThis.document){const r=nt(u),o=p.useRef(!1);return p.useEffect(()=>{const f=d=>{d.target&&!o.current&&gf(Ag,r,{originalEvent:d},{discrete:!1})};return c.addEventListener("focusin",f),()=>c.removeEventListener("focusin",f)},[c,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function yf(){const u=new CustomEvent(fc);document.dispatchEvent(u)}function gf(u,c,r,{discrete:o}){const f=r.originalEvent.target,d=new CustomEvent(u,{bubbles:!1,cancelable:!0,detail:r});c&&f.addEventListener(u,c,{once:!0}),o?O0(f,d):f.dispatchEvent(d)}var dc="focusScope.autoFocusOnMount",mc="focusScope.autoFocusOnUnmount",pf={bubbles:!1,cancelable:!0},Mg="FocusScope",bf=p.forwardRef((u,c)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:f,onUnmountAutoFocus:d,...g}=u,[h,S]=p.useState(null),y=nt(f),A=nt(d),T=p.useRef(null),C=tt(c,R=>S(R)),j=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(o){let R=function(k){if(j.paused||!h)return;const W=k.target;h.contains(W)?T.current=W:vl(T.current,{select:!0})},q=function(k){if(j.paused||!h)return;const W=k.relatedTarget;W!==null&&(h.contains(W)||vl(T.current,{select:!0}))},Y=function(k){if(document.activeElement===document.body)for(const P of k)P.removedNodes.length>0&&vl(h)};document.addEventListener("focusin",R),document.addEventListener("focusout",q);const X=new MutationObserver(Y);return h&&X.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",R),document.removeEventListener("focusout",q),X.disconnect()}}},[o,h,j.paused]),p.useEffect(()=>{if(h){Ef.add(j);const R=document.activeElement;if(!h.contains(R)){const Y=new CustomEvent(dc,pf);h.addEventListener(dc,y),h.dispatchEvent(Y),Y.defaultPrevented||(Og(Ug(Sf(h)),{select:!0}),document.activeElement===R&&vl(h))}return()=>{h.removeEventListener(dc,y),setTimeout(()=>{const Y=new CustomEvent(mc,pf);h.addEventListener(mc,A),h.dispatchEvent(Y),Y.defaultPrevented||vl(R??document.body,{select:!0}),h.removeEventListener(mc,A),Ef.remove(j)},0)}}},[h,y,A,j]);const H=p.useCallback(R=>{if(!r&&!o||j.paused)return;const q=R.key==="Tab"&&!R.altKey&&!R.ctrlKey&&!R.metaKey,Y=document.activeElement;if(q&&Y){const X=R.currentTarget,[k,W]=jg(X);k&&W?!R.shiftKey&&Y===W?(R.preventDefault(),r&&vl(k,{select:!0})):R.shiftKey&&Y===k&&(R.preventDefault(),r&&vl(W,{select:!0})):Y===X&&R.preventDefault()}},[r,o,j.paused]);return v.jsx(Ge.div,{tabIndex:-1,...g,ref:C,onKeyDown:H})});bf.displayName=Mg;function Og(u,{select:c=!1}={}){const r=document.activeElement;for(const o of u)if(vl(o,{select:c}),document.activeElement!==r)return}function jg(u){const c=Sf(u),r=xf(c,u),o=xf(c.reverse(),u);return[r,o]}function Sf(u){const c=[],r=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const f=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||f?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)c.push(r.currentNode);return c}function xf(u,c){for(const r of u)if(!Rg(r,{upTo:c}))return r}function Rg(u,{upTo:c}){if(getComputedStyle(u).visibility==="hidden")return!0;for(;u;){if(c!==void 0&&u===c)return!1;if(getComputedStyle(u).display==="none")return!0;u=u.parentElement}return!1}function Dg(u){return u instanceof HTMLInputElement&&"select"in u}function vl(u,{select:c=!1}={}){if(u&&u.focus){const r=document.activeElement;u.focus({preventScroll:!0}),u!==r&&Dg(u)&&c&&u.select()}}var Ef=wg();function wg(){let u=[];return{add(c){const r=u[0];c!==r&&(r==null||r.pause()),u=Tf(u,c),u.unshift(c)},remove(c){var r;u=Tf(u,c),(r=u[0])==null||r.resume()}}}function Tf(u,c){const r=[...u],o=r.indexOf(c);return o!==-1&&r.splice(o,1),r}function Ug(u){return u.filter(c=>c.tagName!=="A")}var Hg="Portal",Af=p.forwardRef((u,c)=>{var h;const{container:r,...o}=u,[f,d]=p.useState(!1);ca(()=>d(!0),[]);const g=r||f&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return g?A0.createPortal(v.jsx(Ge.div,{...o,ref:c}),g):null});Af.displayName=Hg;var hc=0;function Bg(){p.useEffect(()=>{const u=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",u[0]??Nf()),document.body.insertAdjacentElement("beforeend",u[1]??Nf()),hc++,()=>{hc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(c=>c.remove()),hc--}},[])}function Nf(){const u=document.createElement("span");return u.setAttribute("data-radix-focus-guard",""),u.tabIndex=0,u.style.outline="none",u.style.opacity="0",u.style.position="fixed",u.style.pointerEvents="none",u}var Gt=function(){return Gt=Object.assign||function(c){for(var r,o=1,f=arguments.length;o<f;o++){r=arguments[o];for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(c[d]=r[d])}return c},Gt.apply(this,arguments)};function Cf(u,c){var r={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&c.indexOf(o)<0&&(r[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,o=Object.getOwnPropertySymbols(u);f<o.length;f++)c.indexOf(o[f])<0&&Object.prototype.propertyIsEnumerable.call(u,o[f])&&(r[o[f]]=u[o[f]]);return r}function Lg(u,c,r){if(r||arguments.length===2)for(var o=0,f=c.length,d;o<f;o++)(d||!(o in c))&&(d||(d=Array.prototype.slice.call(c,0,o)),d[o]=c[o]);return u.concat(d||Array.prototype.slice.call(c))}typeof SuppressedError=="function"&&SuppressedError;var su="right-scroll-bar-position",fu="width-before-scroll-bar",qg="with-scroll-bars-hidden",Yg="--removed-body-scroll-bar-size";function vc(u,c){return typeof u=="function"?u(c):u&&(u.current=c),u}function Gg(u,c){var r=p.useState(function(){return{value:u,callback:c,facade:{get current(){return r.value},set current(o){var f=r.value;f!==o&&(r.value=o,r.callback(o,f))}}}})[0];return r.callback=c,r.facade}var Xg=typeof window<"u"?p.useLayoutEffect:p.useEffect,_f=new WeakMap;function Vg(u,c){var r=Gg(null,function(o){return u.forEach(function(f){return vc(f,o)})});return Xg(function(){var o=_f.get(r);if(o){var f=new Set(o),d=new Set(u),g=r.current;f.forEach(function(h){d.has(h)||vc(h,null)}),d.forEach(function(h){f.has(h)||vc(h,g)})}_f.set(r,u)},[u]),r}function Qg(u){return u}function Zg(u,c){c===void 0&&(c=Qg);var r=[],o=!1,f={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:u},useMedium:function(d){var g=c(d,o);return r.push(g),function(){r=r.filter(function(h){return h!==g})}},assignSyncMedium:function(d){for(o=!0;r.length;){var g=r;r=[],g.forEach(d)}r={push:function(h){return d(h)},filter:function(){return r}}},assignMedium:function(d){o=!0;var g=[];if(r.length){var h=r;r=[],h.forEach(d),g=r}var S=function(){var A=g;g=[],A.forEach(d)},y=function(){return Promise.resolve().then(S)};y(),r={push:function(A){g.push(A),y()},filter:function(A){return g=g.filter(A),r}}}};return f}function Kg(u){u===void 0&&(u={});var c=Zg(null);return c.options=Gt({async:!0,ssr:!1},u),c}var zf=function(u){var c=u.sideCar,r=Cf(u,["sideCar"]);if(!c)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=c.read();if(!o)throw new Error("Sidecar medium not found");return p.createElement(o,Gt({},r))};zf.isSideCarExport=!0;function Jg(u,c){return u.useMedium(c),zf}var Mf=Kg(),yc=function(){},du=p.forwardRef(function(u,c){var r=p.useRef(null),o=p.useState({onScrollCapture:yc,onWheelCapture:yc,onTouchMoveCapture:yc}),f=o[0],d=o[1],g=u.forwardProps,h=u.children,S=u.className,y=u.removeScrollBar,A=u.enabled,T=u.shards,C=u.sideCar,j=u.noRelative,H=u.noIsolation,R=u.inert,q=u.allowPinchZoom,Y=u.as,X=Y===void 0?"div":Y,k=u.gapMode,W=Cf(u,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=C,oe=Vg([r,c]),V=Gt(Gt({},W),f);return p.createElement(p.Fragment,null,A&&p.createElement(P,{sideCar:Mf,removeScrollBar:y,shards:T,noRelative:j,noIsolation:H,inert:R,setCallbacks:d,allowPinchZoom:!!q,lockRef:r,gapMode:k}),g?p.cloneElement(p.Children.only(h),Gt(Gt({},V),{ref:oe})):p.createElement(X,Gt({},V,{className:S,ref:oe}),h))});du.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},du.classNames={fullWidth:fu,zeroRight:su};var kg=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Wg(){if(!document)return null;var u=document.createElement("style");u.type="text/css";var c=kg();return c&&u.setAttribute("nonce",c),u}function Fg(u,c){u.styleSheet?u.styleSheet.cssText=c:u.appendChild(document.createTextNode(c))}function $g(u){var c=document.head||document.getElementsByTagName("head")[0];c.appendChild(u)}var Ig=function(){var u=0,c=null;return{add:function(r){u==0&&(c=Wg())&&(Fg(c,r),$g(c)),u++},remove:function(){u--,!u&&c&&(c.parentNode&&c.parentNode.removeChild(c),c=null)}}},Pg=function(){var u=Ig();return function(c,r){p.useEffect(function(){return u.add(c),function(){u.remove()}},[c&&r])}},Of=function(){var u=Pg(),c=function(r){var o=r.styles,f=r.dynamic;return u(o,f),null};return c},ep={left:0,top:0,right:0,gap:0},gc=function(u){return parseInt(u||"",10)||0},tp=function(u){var c=window.getComputedStyle(document.body),r=c[u==="padding"?"paddingLeft":"marginLeft"],o=c[u==="padding"?"paddingTop":"marginTop"],f=c[u==="padding"?"paddingRight":"marginRight"];return[gc(r),gc(o),gc(f)]},lp=function(u){if(u===void 0&&(u="margin"),typeof window>"u")return ep;var c=tp(u),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:c[0],top:c[1],right:c[2],gap:Math.max(0,o-r+c[2]-c[0])}},np=Of(),hn="data-scroll-locked",ap=function(u,c,r,o){var f=u.left,d=u.top,g=u.right,h=u.gap;return r===void 0&&(r="margin"),`
|
|
200
|
+
.`.concat(qg,` {
|
|
201
201
|
overflow: hidden `).concat(o,`;
|
|
202
202
|
padding-right: `).concat(h,"px ").concat(o,`;
|
|
203
203
|
}
|
|
@@ -206,8 +206,8 @@ Error generating stack: `+n.message+`
|
|
|
206
206
|
overscroll-behavior: contain;
|
|
207
207
|
`).concat([c&&"position: relative ".concat(o,";"),r==="margin"&&`
|
|
208
208
|
padding-left: `.concat(f,`px;
|
|
209
|
-
padding-top: `).concat(
|
|
210
|
-
padding-right: `).concat(
|
|
209
|
+
padding-top: `).concat(d,`px;
|
|
210
|
+
padding-right: `).concat(g,`px;
|
|
211
211
|
margin-left:0;
|
|
212
212
|
margin-top:0;
|
|
213
213
|
margin-right: `).concat(h,"px ").concat(o,`;
|
|
@@ -231,13 +231,13 @@ Error generating stack: `+n.message+`
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
body[`).concat(hn,`] {
|
|
234
|
-
`).concat(
|
|
234
|
+
`).concat(Yg,": ").concat(h,`px;
|
|
235
235
|
}
|
|
236
|
-
`)},
|
|
236
|
+
`)},jf=function(){var u=parseInt(document.body.getAttribute(hn)||"0",10);return isFinite(u)?u:0},up=function(){p.useEffect(function(){return document.body.setAttribute(hn,(jf()+1).toString()),function(){var u=jf()-1;u<=0?document.body.removeAttribute(hn):document.body.setAttribute(hn,u.toString())}},[])},ip=function(u){var c=u.noRelative,r=u.noImportant,o=u.gapMode,f=o===void 0?"margin":o;up();var d=p.useMemo(function(){return lp(f)},[f]);return p.createElement(np,{styles:ap(d,!c,f,r?"":"!important")})},pc=!1;if(typeof window<"u")try{var mu=Object.defineProperty({},"passive",{get:function(){return pc=!0,!0}});window.addEventListener("test",mu,mu),window.removeEventListener("test",mu,mu)}catch{pc=!1}var vn=pc?{passive:!1}:!1,cp=function(u){return u.tagName==="TEXTAREA"},Rf=function(u,c){if(!(u instanceof Element))return!1;var r=window.getComputedStyle(u);return r[c]!=="hidden"&&!(r.overflowY===r.overflowX&&!cp(u)&&r[c]==="visible")},op=function(u){return Rf(u,"overflowY")},rp=function(u){return Rf(u,"overflowX")},Df=function(u,c){var r=c.ownerDocument,o=c;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var f=wf(u,o);if(f){var d=Uf(u,o),g=d[1],h=d[2];if(g>h)return!0}o=o.parentNode}while(o&&o!==r.body);return!1},sp=function(u){var c=u.scrollTop,r=u.scrollHeight,o=u.clientHeight;return[c,r,o]},fp=function(u){var c=u.scrollLeft,r=u.scrollWidth,o=u.clientWidth;return[c,r,o]},wf=function(u,c){return u==="v"?op(c):rp(c)},Uf=function(u,c){return u==="v"?sp(c):fp(c)},dp=function(u,c){return u==="h"&&c==="rtl"?-1:1},mp=function(u,c,r,o,f){var d=dp(u,window.getComputedStyle(c).direction),g=d*o,h=r.target,S=c.contains(h),y=!1,A=g>0,T=0,C=0;do{if(!h)break;var j=Uf(u,h),H=j[0],R=j[1],q=j[2],Y=R-q-d*H;(H||Y)&&wf(u,h)&&(T+=Y,C+=H);var X=h.parentNode;h=X&&X.nodeType===Node.DOCUMENT_FRAGMENT_NODE?X.host:X}while(!S&&h!==document.body||S&&(c.contains(h)||c===h));return(A&&Math.abs(T)<1||!A&&Math.abs(C)<1)&&(y=!0),y},hu=function(u){return"changedTouches"in u?[u.changedTouches[0].clientX,u.changedTouches[0].clientY]:[0,0]},Hf=function(u){return[u.deltaX,u.deltaY]},Bf=function(u){return u&&"current"in u?u.current:u},hp=function(u,c){return u[0]===c[0]&&u[1]===c[1]},vp=function(u){return`
|
|
237
237
|
.block-interactivity-`.concat(u,` {pointer-events: none;}
|
|
238
238
|
.allow-interactivity-`).concat(u,` {pointer-events: all;}
|
|
239
|
-
`)},
|
|
239
|
+
`)},yp=0,yn=[];function gp(u){var c=p.useRef([]),r=p.useRef([0,0]),o=p.useRef(),f=p.useState(yp++)[0],d=p.useState(Of)[0],g=p.useRef(u);p.useEffect(function(){g.current=u},[u]),p.useEffect(function(){if(u.inert){document.body.classList.add("block-interactivity-".concat(f));var R=Lg([u.lockRef.current],(u.shards||[]).map(Bf),!0).filter(Boolean);return R.forEach(function(q){return q.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),R.forEach(function(q){return q.classList.remove("allow-interactivity-".concat(f))})}}},[u.inert,u.lockRef.current,u.shards]);var h=p.useCallback(function(R,q){if("touches"in R&&R.touches.length===2||R.type==="wheel"&&R.ctrlKey)return!g.current.allowPinchZoom;var Y=hu(R),X=r.current,k="deltaX"in R?R.deltaX:X[0]-Y[0],W="deltaY"in R?R.deltaY:X[1]-Y[1],P,oe=R.target,V=Math.abs(k)>Math.abs(W)?"h":"v";if("touches"in R&&V==="h"&&oe.type==="range")return!1;var le=window.getSelection(),ne=le&&le.anchorNode,be=ne?ne===oe||ne.contains(oe):!1;if(be)return!1;var xe=Df(V,oe);if(!xe)return!0;if(xe?P=V:(P=V==="v"?"h":"v",xe=Df(V,oe)),!xe)return!1;if(!o.current&&"changedTouches"in R&&(k||W)&&(o.current=P),!P)return!0;var ee=o.current||P;return mp(ee,q,R,ee==="h"?k:W)},[]),S=p.useCallback(function(R){var q=R;if(!(!yn.length||yn[yn.length-1]!==d)){var Y="deltaY"in q?Hf(q):hu(q),X=c.current.filter(function(P){return P.name===q.type&&(P.target===q.target||q.target===P.shadowParent)&&hp(P.delta,Y)})[0];if(X&&X.should){q.cancelable&&q.preventDefault();return}if(!X){var k=(g.current.shards||[]).map(Bf).filter(Boolean).filter(function(P){return P.contains(q.target)}),W=k.length>0?h(q,k[0]):!g.current.noIsolation;W&&q.cancelable&&q.preventDefault()}}},[]),y=p.useCallback(function(R,q,Y,X){var k={name:R,delta:q,target:Y,should:X,shadowParent:pp(Y)};c.current.push(k),setTimeout(function(){c.current=c.current.filter(function(W){return W!==k})},1)},[]),A=p.useCallback(function(R){r.current=hu(R),o.current=void 0},[]),T=p.useCallback(function(R){y(R.type,Hf(R),R.target,h(R,u.lockRef.current))},[]),C=p.useCallback(function(R){y(R.type,hu(R),R.target,h(R,u.lockRef.current))},[]);p.useEffect(function(){return yn.push(d),u.setCallbacks({onScrollCapture:T,onWheelCapture:T,onTouchMoveCapture:C}),document.addEventListener("wheel",S,vn),document.addEventListener("touchmove",S,vn),document.addEventListener("touchstart",A,vn),function(){yn=yn.filter(function(R){return R!==d}),document.removeEventListener("wheel",S,vn),document.removeEventListener("touchmove",S,vn),document.removeEventListener("touchstart",A,vn)}},[]);var j=u.removeScrollBar,H=u.inert;return p.createElement(p.Fragment,null,H?p.createElement(d,{styles:vp(f)}):null,j?p.createElement(ip,{noRelative:u.noRelative,gapMode:u.gapMode}):null)}function pp(u){for(var c=null;u!==null;)u instanceof ShadowRoot&&(c=u.host,u=u.host),u=u.parentNode;return c}const bp=Jg(Mf,gp);var Lf=p.forwardRef(function(u,c){return p.createElement(du,Gt({},u,{ref:c,sideCar:bp}))});Lf.classNames=du.classNames;var Sp=function(u){if(typeof document>"u")return null;var c=Array.isArray(u)?u[0]:u;return c.ownerDocument.body},gn=new WeakMap,vu=new WeakMap,yu={},bc=0,qf=function(u){return u&&(u.host||qf(u.parentNode))},xp=function(u,c){return c.map(function(r){if(u.contains(r))return r;var o=qf(r);return o&&u.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",u,". Doing nothing"),null)}).filter(function(r){return!!r})},Ep=function(u,c,r,o){var f=xp(c,Array.isArray(u)?u:[u]);yu[r]||(yu[r]=new WeakMap);var d=yu[r],g=[],h=new Set,S=new Set(f),y=function(T){!T||h.has(T)||(h.add(T),y(T.parentNode))};f.forEach(y);var A=function(T){!T||S.has(T)||Array.prototype.forEach.call(T.children,function(C){if(h.has(C))A(C);else try{var j=C.getAttribute(o),H=j!==null&&j!=="false",R=(gn.get(C)||0)+1,q=(d.get(C)||0)+1;gn.set(C,R),d.set(C,q),g.push(C),R===1&&H&&vu.set(C,!0),q===1&&C.setAttribute(r,"true"),H||C.setAttribute(o,"true")}catch(Y){console.error("aria-hidden: cannot operate on ",C,Y)}})};return A(c),h.clear(),bc++,function(){g.forEach(function(T){var C=gn.get(T)-1,j=d.get(T)-1;gn.set(T,C),d.set(T,j),C||(vu.has(T)||T.removeAttribute(o),vu.delete(T)),j||T.removeAttribute(r)}),bc--,bc||(gn=new WeakMap,gn=new WeakMap,vu=new WeakMap,yu={})}},Tp=function(u,c,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(u)?u:[u]),f=Sp(u);return f?(o.push.apply(o,Array.from(f.querySelectorAll("[aria-live], script"))),Ep(o,f,r,"aria-hidden")):function(){return null}},Sc="Dialog",[Yf]=oa(Sc),[Ap,Ht]=Yf(Sc),Gf=u=>{const{__scopeDialog:c,children:r,open:o,defaultOpen:f,onOpenChange:d,modal:g=!0}=u,h=p.useRef(null),S=p.useRef(null),[y=!1,A]=ac({prop:o,defaultProp:f,onChange:d});return v.jsx(Ap,{scope:c,triggerRef:h,contentRef:S,contentId:sa(),titleId:sa(),descriptionId:sa(),open:y,onOpenChange:A,onOpenToggle:p.useCallback(()=>A(T=>!T),[A]),modal:g,children:r})};Gf.displayName=Sc;var Xf="DialogTrigger",Np=p.forwardRef((u,c)=>{const{__scopeDialog:r,...o}=u,f=Ht(Xf,r),d=tt(c,f.triggerRef);return v.jsx(Ge.button,{type:"button","aria-haspopup":"dialog","aria-expanded":f.open,"aria-controls":f.contentId,"data-state":Tc(f.open),...o,ref:d,onClick:we(u.onClick,f.onOpenToggle)})});Np.displayName=Xf;var xc="DialogPortal",[Cp,Vf]=Yf(xc,{forceMount:void 0}),Qf=u=>{const{__scopeDialog:c,forceMount:r,children:o,container:f}=u,d=Ht(xc,c);return v.jsx(Cp,{scope:c,forceMount:r,children:p.Children.map(o,g=>v.jsx(kt,{present:r||d.open,children:v.jsx(Af,{asChild:!0,container:f,children:g})}))})};Qf.displayName=xc;var gu="DialogOverlay",Zf=p.forwardRef((u,c)=>{const r=Vf(gu,u.__scopeDialog),{forceMount:o=r.forceMount,...f}=u,d=Ht(gu,u.__scopeDialog);return d.modal?v.jsx(kt,{present:o||d.open,children:v.jsx(_p,{...f,ref:c})}):null});Zf.displayName=gu;var _p=p.forwardRef((u,c)=>{const{__scopeDialog:r,...o}=u,f=Ht(gu,r);return v.jsx(Lf,{as:dn,allowPinchZoom:!0,shards:[f.contentRef],children:v.jsx(Ge.div,{"data-state":Tc(f.open),...o,ref:c,style:{pointerEvents:"auto",...o.style}})})}),Gl="DialogContent",Kf=p.forwardRef((u,c)=>{const r=Vf(Gl,u.__scopeDialog),{forceMount:o=r.forceMount,...f}=u,d=Ht(Gl,u.__scopeDialog);return v.jsx(kt,{present:o||d.open,children:d.modal?v.jsx(zp,{...f,ref:c}):v.jsx(Mp,{...f,ref:c})})});Kf.displayName=Gl;var zp=p.forwardRef((u,c)=>{const r=Ht(Gl,u.__scopeDialog),o=p.useRef(null),f=tt(c,r.contentRef,o);return p.useEffect(()=>{const d=o.current;if(d)return Tp(d)},[]),v.jsx(Jf,{...u,ref:f,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:we(u.onCloseAutoFocus,d=>{var g;d.preventDefault(),(g=r.triggerRef.current)==null||g.focus()}),onPointerDownOutside:we(u.onPointerDownOutside,d=>{const g=d.detail.originalEvent,h=g.button===0&&g.ctrlKey===!0;(g.button===2||h)&&d.preventDefault()}),onFocusOutside:we(u.onFocusOutside,d=>d.preventDefault())})}),Mp=p.forwardRef((u,c)=>{const r=Ht(Gl,u.__scopeDialog),o=p.useRef(!1),f=p.useRef(!1);return v.jsx(Jf,{...u,ref:c,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{var g,h;(g=u.onCloseAutoFocus)==null||g.call(u,d),d.defaultPrevented||(o.current||(h=r.triggerRef.current)==null||h.focus(),d.preventDefault()),o.current=!1,f.current=!1},onInteractOutside:d=>{var S,y;(S=u.onInteractOutside)==null||S.call(u,d),d.defaultPrevented||(o.current=!0,d.detail.originalEvent.type==="pointerdown"&&(f.current=!0));const g=d.target;((y=r.triggerRef.current)==null?void 0:y.contains(g))&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&f.current&&d.preventDefault()}})}),Jf=p.forwardRef((u,c)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:f,onCloseAutoFocus:d,...g}=u,h=Ht(Gl,r),S=p.useRef(null),y=tt(c,S);return Bg(),v.jsxs(v.Fragment,{children:[v.jsx(bf,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:f,onUnmountAutoFocus:d,children:v.jsx(vf,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":Tc(h.open),...g,ref:y,onDismiss:()=>h.onOpenChange(!1)})}),v.jsxs(v.Fragment,{children:[v.jsx(Op,{titleId:h.titleId}),v.jsx(Rp,{contentRef:S,descriptionId:h.descriptionId})]})]})}),Ec="DialogTitle",kf=p.forwardRef((u,c)=>{const{__scopeDialog:r,...o}=u,f=Ht(Ec,r);return v.jsx(Ge.h2,{id:f.titleId,...o,ref:c})});kf.displayName=Ec;var Wf="DialogDescription",Ff=p.forwardRef((u,c)=>{const{__scopeDialog:r,...o}=u,f=Ht(Wf,r);return v.jsx(Ge.p,{id:f.descriptionId,...o,ref:c})});Ff.displayName=Wf;var $f="DialogClose",If=p.forwardRef((u,c)=>{const{__scopeDialog:r,...o}=u,f=Ht($f,r);return v.jsx(Ge.button,{type:"button",...o,ref:c,onClick:we(u.onClick,()=>f.onOpenChange(!1))})});If.displayName=$f;function Tc(u){return u?"open":"closed"}var Pf="DialogTitleWarning",[WS,ed]=w0(Pf,{contentName:Gl,titleName:Ec,docsSlug:"dialog"}),Op=({titleId:u})=>{const c=ed(Pf),r=`\`${c.contentName}\` requires a \`${c.titleName}\` for the component to be accessible for screen reader users.
|
|
240
240
|
|
|
241
241
|
If you want to hide the \`${c.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
242
242
|
|
|
243
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${c.docsSlug}`;return p.useEffect(()=>{u&&(document.getElementById(u)||console.error(r))},[r,u]),null},Op="DialogDescriptionWarning",jp=({contentRef:u,descriptionId:c})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Pf(Op).contentName}}.`;return p.useEffect(()=>{var m;const f=(m=u.current)==null?void 0:m.getAttribute("aria-describedby");c&&f&&(document.getElementById(c)||console.warn(o))},[o,u,c]),null},Rp=Yf,Dp=Vf,ed=Qf,td=Zf,ld=Jf,nd=Wf,wp=$f;const Up=Rp,Hp=Dp,ad=p.forwardRef(({className:u,...c},r)=>v.jsx(ed,{className:ge("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",u),...c,ref:r}));ad.displayName=ed.displayName;const Bp=Fi("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ud=p.forwardRef(({side:u="right",className:c,children:r,...o},f)=>v.jsxs(Hp,{children:[v.jsx(ad,{}),v.jsxs(td,{ref:f,className:ge(Bp({side:u}),c),...o,children:[r,v.jsxs(wp,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[v.jsx(xg,{className:"h-4 w-4"}),v.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));ud.displayName=td.displayName;const id=({className:u,...c})=>v.jsx("div",{className:ge("flex flex-col space-y-2 text-center sm:text-left",u),...c});id.displayName="SheetHeader";const cd=p.forwardRef(({className:u,...c},r)=>v.jsx(ld,{ref:r,className:ge("text-lg font-semibold text-foreground",u),...c}));cd.displayName=ld.displayName;const od=p.forwardRef(({className:u,...c},r)=>v.jsx(nd,{ref:r,className:ge("text-sm text-muted-foreground",u),...c}));od.displayName=nd.displayName;const Lp=Fi("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),pu=p.forwardRef(({className:u,variant:c,size:r,asChild:o=!1,...f},m)=>{const y=o?dn:"button";return v.jsx(y,{className:ge(Lp({variant:c,size:r,className:u})),ref:m,...f})});pu.displayName="Button";const qp={string:Sg,number:gs,integer:gs,boolean:bg,object:ug,array:ps,null:cg};function Ac(u,c){var o;if(!u)return{};const r={};for(const[f,m]of Object.entries(u))switch(Array.isArray(m.type)?m.type[0]:m.type){case"string":r[f]="";break;case"number":case"integer":r[f]=0;break;case"boolean":r[f]=!1;break;case"null":r[f]=null;break;case"array":((o=m.items)==null?void 0:o.type)==="object"&&m.items.properties?r[f]=[Ac(m.items.properties,m.items.required)]:r[f]=[];break;case"object":r[f]=Ac(m.properties,m.required);break;default:r[f]=null}return r}function Nc(u,c){var o,f,m;if(!u)return{};const r={};for(const[y,h]of Object.entries(u)){const S=Array.isArray(h.type)?h.type[0]:h.type;if(h.enum&&h.enum.length>0)r[y]=h.enum[0];else if(h.default!==void 0)r[y]=h.default;else switch(S){case"string":h.format==="date-time"?r[y]="2025-11-11T15:22:49.516Z":h.format==="email"?r[y]="user@example.com":h.format==="uri"?r[y]="https://example.com":h.pattern?r[y]=`<${y}>`:r[y]=`example-${y}`;break;case"number":r[y]=h.minimum!==void 0?h.minimum:0;break;case"integer":r[y]=h.minimum!==void 0?h.minimum:1;break;case"boolean":r[y]=!1;break;case"null":r[y]=null;break;case"array":((o=h.items)==null?void 0:o.type)==="object"&&h.items.properties?r[y]=[Nc(h.items.properties,h.items.required)]:((f=h.items)==null?void 0:f.type)==="integer"?r[y]=[1,2,3]:((m=h.items)==null?void 0:m.type)==="string"?r[y]=["example"]:r[y]=[];break;case"object":h.properties?r[y]=Nc(h.properties,h.required):r[y]={};break;default:r[y]=null}}return r}function Yp({collection:u}){const[c,r]=p.useState(!1),[o,f]=p.useState(!1),[m,y]=p.useState(!1),h=p.useCallback(()=>{const z=Ac(u.schema.properties,u.schema.required);navigator.clipboard.writeText(JSON.stringify(z,null,2)),r(!0),setTimeout(()=>r(!1),2e3)},[u]),S=p.useCallback(()=>{navigator.clipboard.writeText(u.path),f(!0),setTimeout(()=>f(!1),2e3)},[u.path]),g=u.schema.required||[],A=u.schema.properties?Object.keys(u.schema.properties).length:0,T=u.path.split("/").filter(Boolean);return v.jsxs("div",{className:"flex h-full flex-col",children:[v.jsxs("div",{className:"flex flex-col gap-3 border-b border-border px-6 py-5",children:[v.jsxs("button",{type:"button",onClick:S,className:"group/path flex w-fit items-center gap-0.5 rounded-md border border-border bg-secondary/30 px-3 py-1.5 transition-colors hover:border-primary/30 hover:bg-secondary/50",title:"Click to copy path",children:[T.map((z,D)=>v.jsxs(p.Fragment,{children:[D>0&&v.jsx(ki,{className:"h-3 w-3 shrink-0 text-muted-foreground/30"}),v.jsx("span",{className:ge("font-mono text-[11px]",z.startsWith("{")?"text-muted-foreground/70":"font-medium text-foreground"),children:z})]},D)),o?v.jsx(Ji,{className:"ml-2 h-3 w-3 shrink-0 text-emerald-400"}):v.jsx(Wi,{className:"ml-2 h-3 w-3 shrink-0 text-muted-foreground/40 transition-colors group-hover/path:text-foreground"})]}),v.jsxs("div",{className:"flex items-start justify-between",children:[v.jsxs("div",{className:"flex flex-col gap-1.5",children:[v.jsxs("div",{className:"flex items-center gap-3",children:[v.jsx("h1",{className:"font-mono text-xl font-bold text-foreground",children:u.schema.title||u.name}),v.jsx(Ts,{variant:"outline",className:"font-mono text-[10px]",children:u.schema.type}),u.schema.$id&&v.jsx("span",{className:"font-mono text-[10px] text-muted-foreground/60",children:u.schema.$id})]}),v.jsx("p",{className:"max-w-2xl text-sm text-muted-foreground leading-relaxed",children:u.description||u.schema.description}),v.jsxs("div",{className:"mt-0.5 flex items-center gap-3 text-[11px]",children:[v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-secondary/50 px-2 py-1",children:[v.jsx(fn,{className:"h-3 w-3 text-primary"}),v.jsx("span",{className:"text-foreground font-medium",children:A}),v.jsx("span",{className:"text-muted-foreground",children:"fields"})]}),v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-secondary/50 px-2 py-1",children:[v.jsx(hg,{className:"h-3 w-3 text-red-400"}),v.jsx("span",{className:"text-foreground font-medium",children:g.length}),v.jsx("span",{className:"text-muted-foreground",children:"required"})]}),u.schema.additionalProperties===!1&&v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-amber-400/10 px-2 py-1",children:[v.jsx(vg,{className:"h-3 w-3 text-amber-400"}),v.jsx("span",{className:"text-amber-400 font-medium",children:"strict"})]}),u.documentCount&&v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-secondary/50 px-2 py-1",children:[v.jsx(gg,{className:"h-3 w-3 text-muted-foreground"}),v.jsx("span",{className:"text-foreground font-medium",children:u.documentCount.toLocaleString()}),v.jsx("span",{className:"text-muted-foreground",children:"docs"})]})]})]}),v.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[v.jsxs(pu,{variant:"outline",size:"sm",onClick:()=>y(!0),className:"gap-2 text-xs bg-transparent",children:[v.jsx(rg,{className:"h-3.5 w-3.5"}),"See Example"]}),v.jsx(pu,{variant:"outline",size:"sm",onClick:h,className:"gap-2 text-xs bg-transparent",children:c?v.jsxs(v.Fragment,{children:[v.jsx(Ji,{className:"h-3.5 w-3.5 text-emerald-400"}),"Copied"]}):v.jsxs(v.Fragment,{children:[v.jsx(Wi,{className:"h-3.5 w-3.5"}),"Copy JSON Empty"]})})]})]})]}),v.jsxs(by,{defaultValue:"tree",className:"flex flex-1 flex-col overflow-hidden",children:[v.jsx("div",{className:"border-b border-border px-6",children:v.jsxs(ff,{className:"h-10 bg-transparent p-0",children:[v.jsxs(rc,{value:"tree",className:"gap-2 rounded-none border-b-2 border-transparent px-4 text-xs data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-primary data-[state=active]:shadow-none",children:[v.jsx(mg,{className:"h-3.5 w-3.5"}),"Schema Tree"]}),v.jsxs(rc,{value:"json",className:"gap-2 rounded-none border-b-2 border-transparent px-4 text-xs data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-primary data-[state=active]:shadow-none",children:[v.jsx(ig,{className:"h-3.5 w-3.5"}),"Raw JSON"]})]})}),v.jsx(sc,{value:"tree",className:"mt-0 flex-1 overflow-hidden",children:v.jsx(ra,{className:"h-full",children:v.jsx("div",{className:"p-6",children:v.jsx(Cc,{properties:u.schema.properties||{},required:g,depth:0})})})}),v.jsx(sc,{value:"json",className:"mt-0 flex-1 overflow-hidden",children:v.jsx(ra,{className:"h-full",children:v.jsx("pre",{className:"p-6 font-mono text-xs leading-6 text-foreground/90",children:JSON.stringify(u.schema,null,2)})})})]}),v.jsx(Gp,{open:m,onOpenChange:y,collection:u})]})}function Gp({open:u,onOpenChange:c,collection:r}){const[o,f]=p.useState("pretty"),[m,y]=p.useState(!1),h=Nc(r.schema.properties,r.schema.required),S=JSON.stringify(h,null,2),g=JSON.stringify(h),A=o==="pretty"?S:g,T=()=>{navigator.clipboard.writeText(A),y(!0),setTimeout(()=>y(!1),2e3)};return v.jsx(Up,{open:u,onOpenChange:c,children:v.jsxs(ud,{className:"flex w-full flex-col border-border bg-card sm:max-w-lg",children:[v.jsxs(id,{children:[v.jsx(cd,{className:"font-mono text-foreground",children:"Example Document"}),v.jsxs(od,{className:"text-muted-foreground",children:["Auto-generated example for"," ",v.jsx("span",{className:"font-mono text-primary",children:r.name})," ","based on the JSON Schema."]})]}),v.jsxs("div",{className:"flex items-center justify-between border-b border-border pb-3",children:[v.jsxs("div",{className:"flex items-center gap-1 rounded-md bg-secondary/50 p-0.5",children:[v.jsxs("button",{type:"button",onClick:()=>f("pretty"),className:ge("flex items-center gap-1.5 rounded px-2.5 py-1 text-[11px] font-medium transition-colors",o==="pretty"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"),children:[v.jsx(yg,{className:"h-3 w-3"}),"Pretty"]}),v.jsxs("button",{type:"button",onClick:()=>f("inline"),className:ge("flex items-center gap-1.5 rounded px-2.5 py-1 text-[11px] font-medium transition-colors",o==="inline"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"),children:[v.jsx(pg,{className:"h-3 w-3"}),"Inline"]})]}),v.jsx(pu,{variant:"outline",size:"sm",onClick:T,className:"gap-2 text-xs bg-transparent",children:m?v.jsxs(v.Fragment,{children:[v.jsx(Ji,{className:"h-3.5 w-3.5 text-emerald-400"}),"Copied"]}):v.jsxs(v.Fragment,{children:[v.jsx(Wi,{className:"h-3.5 w-3.5"}),"Copy"]})})]}),v.jsx(ra,{className:"flex-1 rounded-md border border-border bg-background",children:v.jsx("pre",{className:ge("p-4 font-mono text-xs text-foreground/90",o==="pretty"?"leading-6":"leading-6 whitespace-pre-wrap break-all"),children:A})})]})})}function Cc({properties:u,required:c,depth:r}){return v.jsx("div",{className:ge("flex flex-col gap-0.5",r>0&&"mt-0.5"),children:Object.entries(u).map(([o,f])=>v.jsx(Xp,{name:o,property:f,isRequired:c.includes(o),depth:r},o))})}function Xp({name:u,property:c,isRequired:r,depth:o}){var q,Y;const[f,m]=p.useState(o<1),y=c.type==="object"&&c.properties&&Object.keys(c.properties).length>0,h=c.type==="array",S=h&&((q=c.items)==null?void 0:q.type)==="object"&&((Y=c.items)==null?void 0:Y.properties),g=y||S,A=Array.isArray(c.type)?c.type[0]:c.type,T=Array.isArray(c.type)?c.type.join(" | "):c.type,z=qp[A]||fn,D=Pg[A]||"text-muted-foreground",H=[];c.format&&H.push({label:"format",value:c.format}),c.pattern&&H.push({label:"pattern",value:c.pattern}),c.minimum!==void 0&&H.push({label:"min",value:String(c.minimum)}),c.maximum!==void 0&&H.push({label:"max",value:String(c.maximum)}),c.minLength!==void 0&&H.push({label:"minLength",value:String(c.minLength)}),c.maxLength!==void 0&&H.push({label:"maxLength",value:String(c.maxLength)}),c.default!==void 0&&H.push({label:"default",value:JSON.stringify(c.default)});const j=["border-primary/20","border-cyan-400/20","border-emerald-400/20","border-amber-400/20"];return v.jsxs("div",{className:"flex flex-col",children:[v.jsxs("div",{className:ge("group flex flex-col rounded-lg border border-transparent px-3 py-2.5 transition-all","hover:border-border hover:bg-secondary/20",f&&g&&"border-border bg-secondary/10"),children:[v.jsxs("div",{className:"flex items-center gap-2",children:[g?v.jsx("button",{type:"button",onClick:()=>m(!f),className:ge("flex h-5 w-5 shrink-0 items-center justify-center rounded transition-colors","hover:bg-secondary text-muted-foreground hover:text-foreground"),children:f?v.jsx(vs,{className:"h-3.5 w-3.5"}):v.jsx(ki,{className:"h-3.5 w-3.5"})}):v.jsx("span",{className:"w-5 shrink-0"}),v.jsx(z,{className:ge("h-3.5 w-3.5 shrink-0",D)}),v.jsx("span",{className:"font-mono text-[13px] font-semibold text-foreground",children:u}),r&&v.jsx("span",{className:"font-mono text-sm font-bold text-red-400",title:"Required field",children:"*"}),v.jsx("span",{className:ge("font-mono text-[11px]",D),children:h&&c.items?`${T}<${Array.isArray(c.items.type)?c.items.type.join("|"):c.items.type}>`:T}),c.description&&v.jsx("span",{className:"ml-auto max-w-[45%] truncate text-right text-[11px] text-muted-foreground leading-relaxed",children:c.description})]}),H.length>0&&v.jsx("div",{className:"mt-1.5 ml-[44px] flex flex-wrap items-center gap-1.5",children:H.map(X=>v.jsxs("span",{className:"inline-flex items-center gap-1 rounded bg-secondary/60 px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground",children:[v.jsxs("span",{className:"text-foreground/60",children:[X.label,":"]}),v.jsx("span",{className:"text-foreground/90",children:X.value})]},X.label))}),c.enum&&v.jsxs("div",{className:"mt-1.5 ml-[44px] flex flex-wrap items-center gap-1",children:[v.jsx("span",{className:"text-[10px] text-muted-foreground mr-0.5",children:"enum:"}),c.enum.map(X=>v.jsx("span",{className:"rounded-full border border-border bg-secondary/40 px-2 py-0.5 font-mono text-[10px] text-foreground/80",children:String(X)},String(X)))]})]}),f&&y&&v.jsx("div",{className:ge("ml-6 border-l-2 pl-3",j[o%j.length]),children:v.jsx(Cc,{properties:c.properties,required:c.required||[],depth:o+1})}),f&&S&&v.jsxs("div",{className:ge("ml-6 border-l-2 pl-3",j[o%j.length]),children:[v.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 text-[11px] text-muted-foreground",children:[v.jsx(ps,{className:"h-3 w-3 text-cyan-400"}),v.jsx("span",{className:"font-medium",children:"Array item schema"}),c.items.required&&v.jsxs("span",{className:"text-muted-foreground/60",children:["(",c.items.required.length," required)"]})]}),v.jsx(Cc,{properties:c.items.properties,required:c.items.required||[],depth:o+1})]})]})}function Vp(){return v.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-4",children:[v.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-secondary/50",children:v.jsx(fn,{className:"h-8 w-8 text-muted-foreground/50"})}),v.jsxs("div",{className:"flex flex-col items-center gap-1 text-center",children:[v.jsx("h2",{className:"text-lg font-semibold text-foreground",children:"Select a Collection"}),v.jsx("p",{className:"max-w-sm text-sm text-muted-foreground leading-relaxed",children:"Choose a collection from the sidebar to view its JSON Schema documentation and structure."})]})]})}function Qp(u){let c=0,r=0,o=0,f=0,m=0;function y(h,S){for(const g of h)c++,o+=g.schema.properties?Object.keys(g.schema.properties).length:0,f+=g.documentCount||0,S>m&&(m=S),g.subcollections&&g.subcollections.length>0&&(r+=g.subcollections.length,y(g.subcollections,S+1))}return y(u,0),{schemas:c,subcollections:r,fields:o,documents:f,maxDepth:m}}function rd({collections:u}){const{schemas:c,subcollections:r,fields:o,documents:f}=Qp(u),m=[{label:"Schemas",value:c,icon:og,color:"text-primary",bg:"bg-primary/10"},{label:"Subcollections",value:r,icon:dg,color:"text-cyan-400",bg:"bg-cyan-400/10"},{label:"Total Fields",value:o,icon:fn,color:"text-emerald-400",bg:"bg-emerald-400/10"},...f>0?[{label:"Documents",value:f.toLocaleString(),icon:ys,color:"text-amber-400",bg:"bg-amber-400/10"}]:[]],y=m.length===4?"grid-cols-4":"grid-cols-3";return v.jsx("div",{className:`grid ${y} gap-3`,children:m.map(h=>v.jsxs("div",{className:"flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3",children:[v.jsx("div",{className:`flex h-9 w-9 items-center justify-center rounded-md ${h.bg} ${h.color}`,children:v.jsx(h.icon,{className:"h-4 w-4"})}),v.jsxs("div",{className:"flex flex-col",children:[v.jsx("span",{className:"text-lg font-bold text-foreground tabular-nums",children:h.value}),v.jsx("span",{className:"text-[11px] text-muted-foreground",children:h.label})]})]},h.label))})}function Zp({collections:u,title:c}){const[r,o]=p.useState(null);return v.jsxs("div",{className:"dark flex h-screen w-full overflow-hidden bg-background text-foreground",children:[v.jsx($g,{collections:u,selectedId:(r==null?void 0:r.id)??null,onSelect:o,title:c}),v.jsx("main",{className:"flex flex-1 flex-col overflow-hidden",children:r?v.jsxs(v.Fragment,{children:[v.jsx("div",{className:"border-b border-border p-4",children:v.jsx(rd,{collections:u})}),v.jsx("div",{className:"flex-1 overflow-hidden",children:v.jsx(Yp,{collection:r})})]}):v.jsxs(v.Fragment,{children:[v.jsx("div",{className:"border-b border-border p-4",children:v.jsx(rd,{collections:u})}),v.jsx("div",{className:"flex-1",children:v.jsx(Vp,{})})]})})]})}function Kp(u){return"/"+u.replace(".schema.json","").split("/").map(c=>{const o=`${c.endsWith("s")?c.slice(0,-1):c}Id`.replace(/-/g,"_");return`${c}/{${o}}`}).join("/")}function sd(u){const c=[...u].sort((f,m)=>f.path.split("/").length-m.path.split("/").length),r=[],o=new Map;for(const{path:f,content:m}of c){const y={id:m.collection,name:m.collection,description:m.description||"",path:Kp(f),schema:m.schema,subcollections:[],updatedAt:new Date().toISOString(),documentCount:m.documentCount},h=f.split("/").slice(0,-1).join("/");if(!h)r.push(y);else{const S=h+".schema.json",g=o.get(S);g?(g.subcollections||(g.subcollections=[]),g.subcollections.push(y)):(console.warn(`[FSV] Parent collection not found for "${f}". Expected "${S}" to exist.`),r.push(y))}o.set(f,y)}return r}function Jp(u){return typeof u[0]=="object"&&u[0]!==null&&"schema"in u[0]&&"collection"in u[0]}function kp(u){return typeof u[0]=="object"&&u[0]!==null&&"path"in u[0]&&"id"in u[0]}async function Wp(u){if(u.length===0)return[];if(kp(u))return u;if(typeof u[0]=="string"){const c=await Promise.all(u.map(async r=>({path:r.replace(/^.*schemas\//,""),content:await fetch(r).then(o=>o.json())})));return sd(c)}if(Jp(u)){const c=u.map((r,o)=>({path:r._path||`${r.collection}.schema.json`,content:r}));return sd(c)}return u}async function fd(u,c){const r=document.querySelector(u);if(!r)throw new Error(`[FSV] Element not found: ${u}`);const o=await Wp(c.schemas);S0.createRoot(r).render(Kt.createElement(Zp,{collections:o,title:c.title}))}window.FirestoreSchemaViewer={render:fd},on.render=fd,Object.defineProperty(on,Symbol.toStringTag,{value:"Module"})}));
|
|
243
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${c.docsSlug}`;return p.useEffect(()=>{u&&(document.getElementById(u)||console.error(r))},[r,u]),null},jp="DialogDescriptionWarning",Rp=({contentRef:u,descriptionId:c})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ed(jp).contentName}}.`;return p.useEffect(()=>{var d;const f=(d=u.current)==null?void 0:d.getAttribute("aria-describedby");c&&f&&(document.getElementById(c)||console.warn(o))},[o,u,c]),null},Dp=Gf,wp=Qf,td=Zf,ld=Kf,nd=kf,ad=Ff,Up=If;const Hp=Dp,Bp=wp,ud=p.forwardRef(({className:u,...c},r)=>v.jsx(td,{className:ye("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",u),...c,ref:r}));ud.displayName=td.displayName;const Lp=Fi("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),id=p.forwardRef(({side:u="right",className:c,children:r,...o},f)=>v.jsxs(Bp,{children:[v.jsx(ud,{}),v.jsxs(ld,{ref:f,className:ye(Lp({side:u}),c),...o,children:[r,v.jsxs(Up,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[v.jsx(E0,{className:"h-4 w-4"}),v.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));id.displayName=ld.displayName;const cd=({className:u,...c})=>v.jsx("div",{className:ye("flex flex-col space-y-2 text-center sm:text-left",u),...c});cd.displayName="SheetHeader";const od=p.forwardRef(({className:u,...c},r)=>v.jsx(nd,{ref:r,className:ye("text-lg font-semibold text-foreground",u),...c}));od.displayName=nd.displayName;const rd=p.forwardRef(({className:u,...c},r)=>v.jsx(ad,{ref:r,className:ye("text-sm text-muted-foreground",u),...c}));rd.displayName=ad.displayName;const qp=Fi("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),pu=p.forwardRef(({className:u,variant:c,size:r,asChild:o=!1,...f},d)=>{const g=o?dn:"button";return v.jsx(g,{className:ye(qp({variant:c,size:r,className:u})),ref:d,...f})});pu.displayName="Button";const Yp={string:x0,number:gs,integer:gs,boolean:S0,object:i0,array:bs,null:o0};function Ac(u,c){var o;if(!u)return{};const r={};for(const[f,d]of Object.entries(u))switch(Array.isArray(d.type)?d.type[0]:d.type){case"string":r[f]="";break;case"number":case"integer":r[f]=0;break;case"boolean":r[f]=!1;break;case"null":r[f]=null;break;case"array":((o=d.items)==null?void 0:o.type)==="object"&&d.items.properties?r[f]=[Ac(d.items.properties,d.items.required)]:r[f]=[];break;case"object":r[f]=Ac(d.properties,d.required);break;default:r[f]=null}return r}function Nc(u,c){var o,f,d;if(!u)return{};const r={};for(const[g,h]of Object.entries(u)){const S=Array.isArray(h.type)?h.type[0]:h.type;if(h.enum&&h.enum.length>0)r[g]=h.enum[0];else if(h.default!==void 0)r[g]=h.default;else switch(S){case"string":h.format==="date-time"?r[g]="2025-11-11T15:22:49.516Z":h.format==="email"?r[g]="user@example.com":h.format==="uri"?r[g]="https://example.com":h.pattern?r[g]=`<${g}>`:r[g]=`example-${g}`;break;case"number":r[g]=h.minimum!==void 0?h.minimum:0;break;case"integer":r[g]=h.minimum!==void 0?h.minimum:1;break;case"boolean":r[g]=!1;break;case"null":r[g]=null;break;case"array":((o=h.items)==null?void 0:o.type)==="object"&&h.items.properties?r[g]=[Nc(h.items.properties,h.items.required)]:((f=h.items)==null?void 0:f.type)==="integer"?r[g]=[1,2,3]:((d=h.items)==null?void 0:d.type)==="string"?r[g]=["example"]:r[g]=[];break;case"object":h.properties?r[g]=Nc(h.properties,h.required):r[g]={};break;default:r[g]=null}}return r}function Gp({collection:u}){const[c,r]=p.useState(!1),[o,f]=p.useState(!1),[d,g]=p.useState(!1),h=p.useCallback(()=>{const C=Ac(u.schema.properties,u.schema.required);navigator.clipboard.writeText(JSON.stringify(C,null,2)),r(!0),setTimeout(()=>r(!1),2e3)},[u]),S=p.useCallback(()=>{navigator.clipboard.writeText(u.path),f(!0),setTimeout(()=>f(!1),2e3)},[u.path]),y=u.schema.required||[],A=u.schema.properties?Object.keys(u.schema.properties).length:0,T=u.path.split("/").filter(Boolean);return v.jsxs("div",{className:"flex h-full flex-col",children:[v.jsxs("div",{className:"flex flex-col gap-3 border-b border-border px-6 py-5",children:[v.jsxs("button",{type:"button",onClick:S,className:"group/path flex w-fit items-center gap-0.5 rounded-md border border-border bg-secondary/30 px-3 py-1.5 transition-colors hover:border-primary/30 hover:bg-secondary/50",title:"Click to copy path",children:[T.map((C,j)=>v.jsxs(p.Fragment,{children:[j>0&&v.jsx(ki,{className:"h-3 w-3 shrink-0 text-muted-foreground/30"}),v.jsx("span",{className:ye("font-mono text-[11px]",C.startsWith("{")?"text-muted-foreground/70":"font-medium text-foreground"),children:C})]},j)),o?v.jsx(Ji,{className:"ml-2 h-3 w-3 shrink-0 text-emerald-400"}):v.jsx(Wi,{className:"ml-2 h-3 w-3 shrink-0 text-muted-foreground/40 transition-colors group-hover/path:text-foreground"})]}),v.jsxs("div",{className:"flex items-start justify-between",children:[v.jsxs("div",{className:"flex flex-col gap-1.5",children:[v.jsxs("div",{className:"flex items-center gap-3",children:[v.jsx("h1",{className:"font-mono text-xl font-bold text-foreground",children:u.schema.title||u.name}),v.jsx(As,{variant:"outline",className:"font-mono text-[10px]",children:u.schema.type}),u.schema.$id&&v.jsx("span",{className:"font-mono text-[10px] text-muted-foreground/60",children:u.schema.$id})]}),v.jsx("p",{className:"max-w-2xl text-sm text-muted-foreground leading-relaxed",children:u.description||u.schema.description}),v.jsxs("div",{className:"mt-0.5 flex items-center gap-3 text-[11px]",children:[v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-secondary/50 px-2 py-1",children:[v.jsx(fn,{className:"h-3 w-3 text-primary"}),v.jsx("span",{className:"text-foreground font-medium",children:A}),v.jsx("span",{className:"text-muted-foreground",children:"fields"})]}),v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-secondary/50 px-2 py-1",children:[v.jsx(v0,{className:"h-3 w-3 text-red-400"}),v.jsx("span",{className:"text-foreground font-medium",children:y.length}),v.jsx("span",{className:"text-muted-foreground",children:"required"})]}),u.schema.additionalProperties===!1&&v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-amber-400/10 px-2 py-1",children:[v.jsx(y0,{className:"h-3 w-3 text-amber-400"}),v.jsx("span",{className:"text-amber-400 font-medium",children:"strict"})]}),u.documentCount&&v.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-secondary/50 px-2 py-1",children:[v.jsx(g0,{className:"h-3 w-3 text-muted-foreground"}),v.jsx("span",{className:"text-foreground font-medium",children:u.documentCount.toLocaleString()}),v.jsx("span",{className:"text-muted-foreground",children:"docs"})]})]})]}),v.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[v.jsxs(pu,{variant:"outline",size:"sm",onClick:()=>g(!0),className:"gap-2 text-xs bg-transparent",children:[v.jsx(s0,{className:"h-3.5 w-3.5"}),"See Example"]}),v.jsx(pu,{variant:"outline",size:"sm",onClick:h,className:"gap-2 text-xs bg-transparent",children:c?v.jsxs(v.Fragment,{children:[v.jsx(Ji,{className:"h-3.5 w-3.5 text-emerald-400"}),"Copied"]}):v.jsxs(v.Fragment,{children:[v.jsx(Wi,{className:"h-3.5 w-3.5"}),"Copy JSON Empty"]})})]})]})]}),v.jsxs(Sg,{defaultValue:"tree",className:"flex flex-1 flex-col overflow-hidden",children:[v.jsx("div",{className:"border-b border-border px-6",children:v.jsxs(df,{className:"h-10 bg-transparent p-0",children:[v.jsxs(rc,{value:"tree",className:"gap-2 rounded-none border-b-2 border-transparent px-4 text-xs data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-primary data-[state=active]:shadow-none",children:[v.jsx(h0,{className:"h-3.5 w-3.5"}),"Schema Tree"]}),v.jsxs(rc,{value:"json",className:"gap-2 rounded-none border-b-2 border-transparent px-4 text-xs data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-primary data-[state=active]:shadow-none",children:[v.jsx(c0,{className:"h-3.5 w-3.5"}),"Raw JSON"]})]})}),v.jsx(sc,{value:"tree",className:"mt-0 flex-1 overflow-hidden",children:v.jsx(ra,{className:"h-full",children:v.jsx("div",{className:"p-6",children:v.jsx(Cc,{properties:u.schema.properties||{},required:y,depth:0})})})}),v.jsx(sc,{value:"json",className:"mt-0 flex-1 overflow-hidden",children:v.jsx(ra,{className:"h-full",children:v.jsx("pre",{className:"p-6 font-mono text-xs leading-6 text-foreground/90",children:JSON.stringify(u.schema,null,2)})})})]}),v.jsx(Xp,{open:d,onOpenChange:g,collection:u})]})}function Xp({open:u,onOpenChange:c,collection:r}){const[o,f]=p.useState("pretty"),[d,g]=p.useState(!1),h=Nc(r.schema.properties,r.schema.required),S=JSON.stringify(h,null,2),y=JSON.stringify(h),A=o==="pretty"?S:y,T=()=>{navigator.clipboard.writeText(A),g(!0),setTimeout(()=>g(!1),2e3)};return v.jsx(Hp,{open:u,onOpenChange:c,children:v.jsxs(id,{className:"flex w-full flex-col border-border bg-card sm:max-w-lg",children:[v.jsxs(cd,{children:[v.jsx(od,{className:"font-mono text-foreground",children:"Example Document"}),v.jsxs(rd,{className:"text-muted-foreground",children:["Auto-generated example for"," ",v.jsx("span",{className:"font-mono text-primary",children:r.name})," ","based on the JSON Schema."]})]}),v.jsxs("div",{className:"flex items-center justify-between border-b border-border pb-3",children:[v.jsxs("div",{className:"flex items-center gap-1 rounded-md bg-secondary/50 p-0.5",children:[v.jsxs("button",{type:"button",onClick:()=>f("pretty"),className:ye("flex items-center gap-1.5 rounded px-2.5 py-1 text-[11px] font-medium transition-colors",o==="pretty"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"),children:[v.jsx(p0,{className:"h-3 w-3"}),"Pretty"]}),v.jsxs("button",{type:"button",onClick:()=>f("inline"),className:ye("flex items-center gap-1.5 rounded px-2.5 py-1 text-[11px] font-medium transition-colors",o==="inline"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"),children:[v.jsx(b0,{className:"h-3 w-3"}),"Inline"]})]}),v.jsx(pu,{variant:"outline",size:"sm",onClick:T,className:"gap-2 text-xs bg-transparent",children:d?v.jsxs(v.Fragment,{children:[v.jsx(Ji,{className:"h-3.5 w-3.5 text-emerald-400"}),"Copied"]}):v.jsxs(v.Fragment,{children:[v.jsx(Wi,{className:"h-3.5 w-3.5"}),"Copy"]})})]}),v.jsx(ra,{className:"flex-1 rounded-md border border-border bg-background",children:v.jsx("pre",{className:ye("p-4 font-mono text-xs text-foreground/90",o==="pretty"?"leading-6":"leading-6 whitespace-pre-wrap break-all"),children:A})})]})})}function Cc({properties:u,required:c,depth:r}){return v.jsx("div",{className:ye("flex flex-col gap-0.5",r>0&&"mt-0.5"),children:Object.entries(u).map(([o,f])=>v.jsx(Vp,{name:o,property:f,isRequired:c.includes(o),depth:r},o))})}function Vp({name:u,property:c,isRequired:r,depth:o}){var q,Y;const[f,d]=p.useState(o<1),g=c.type==="object"&&c.properties&&Object.keys(c.properties).length>0,h=c.type==="array",S=h&&((q=c.items)==null?void 0:q.type)==="object"&&((Y=c.items)==null?void 0:Y.properties),y=g||S,A=Array.isArray(c.type)?c.type[0]:c.type,T=Array.isArray(c.type)?c.type.join(" | "):c.type,C=Yp[A]||fn,j=eg[A]||"text-muted-foreground",H=[];c.format&&H.push({label:"format",value:c.format}),c.pattern&&H.push({label:"pattern",value:c.pattern}),c.minimum!==void 0&&H.push({label:"min",value:String(c.minimum)}),c.maximum!==void 0&&H.push({label:"max",value:String(c.maximum)}),c.minLength!==void 0&&H.push({label:"minLength",value:String(c.minLength)}),c.maxLength!==void 0&&H.push({label:"maxLength",value:String(c.maxLength)}),c.default!==void 0&&H.push({label:"default",value:JSON.stringify(c.default)});const R=["border-primary/20","border-cyan-400/20","border-emerald-400/20","border-amber-400/20"];return v.jsxs("div",{className:"flex flex-col",children:[v.jsxs("div",{className:ye("group flex flex-col rounded-lg border border-transparent px-3 py-2.5 transition-all","hover:border-border hover:bg-secondary/20",f&&y&&"border-border bg-secondary/10"),children:[v.jsxs("div",{className:"flex items-center gap-2",children:[y?v.jsx("button",{type:"button",onClick:()=>d(!f),className:ye("flex h-5 w-5 shrink-0 items-center justify-center rounded transition-colors","hover:bg-secondary text-muted-foreground hover:text-foreground"),children:f?v.jsx(ys,{className:"h-3.5 w-3.5"}):v.jsx(ki,{className:"h-3.5 w-3.5"})}):v.jsx("span",{className:"w-5 shrink-0"}),v.jsx(C,{className:ye("h-3.5 w-3.5 shrink-0",j)}),v.jsx("span",{className:"font-mono text-[13px] font-semibold text-foreground",children:u}),r&&v.jsx("span",{className:"font-mono text-sm font-bold text-red-400",title:"Required field",children:"*"}),v.jsx("span",{className:ye("font-mono text-[11px]",j),children:h&&c.items?`${T}<${Array.isArray(c.items.type)?c.items.type.join("|"):c.items.type}>`:T}),c.description&&v.jsx("span",{className:"ml-auto max-w-[45%] truncate text-right text-[11px] text-muted-foreground leading-relaxed",children:c.description})]}),H.length>0&&v.jsx("div",{className:"mt-1.5 ml-[44px] flex flex-wrap items-center gap-1.5",children:H.map(X=>v.jsxs("span",{className:"inline-flex items-center gap-1 rounded bg-secondary/60 px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground",children:[v.jsxs("span",{className:"text-foreground/60",children:[X.label,":"]}),v.jsx("span",{className:"text-foreground/90",children:X.value})]},X.label))}),c.enum&&v.jsxs("div",{className:"mt-1.5 ml-[44px] flex flex-wrap items-center gap-1",children:[v.jsx("span",{className:"text-[10px] text-muted-foreground mr-0.5",children:"enum:"}),c.enum.map(X=>v.jsx("span",{className:"rounded-full border border-border bg-secondary/40 px-2 py-0.5 font-mono text-[10px] text-foreground/80",children:String(X)},String(X)))]})]}),f&&g&&v.jsx("div",{className:ye("ml-6 border-l-2 pl-3",R[o%R.length]),children:v.jsx(Cc,{properties:c.properties,required:c.required||[],depth:o+1})}),f&&S&&v.jsxs("div",{className:ye("ml-6 border-l-2 pl-3",R[o%R.length]),children:[v.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 text-[11px] text-muted-foreground",children:[v.jsx(bs,{className:"h-3 w-3 text-cyan-400"}),v.jsx("span",{className:"font-medium",children:"Array item schema"}),c.items.required&&v.jsxs("span",{className:"text-muted-foreground/60",children:["(",c.items.required.length," required)"]})]}),v.jsx(Cc,{properties:c.items.properties,required:c.items.required||[],depth:o+1})]})]})}function Qp(){return v.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-4",children:[v.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-secondary/50",children:v.jsx(fn,{className:"h-8 w-8 text-muted-foreground/50"})}),v.jsxs("div",{className:"flex flex-col items-center gap-1 text-center",children:[v.jsx("h2",{className:"text-lg font-semibold text-foreground",children:"Select a Collection"}),v.jsx("p",{className:"max-w-sm text-sm text-muted-foreground leading-relaxed",children:"Choose a collection from the sidebar to view its JSON Schema documentation and structure."})]})]})}function Zp(u){let c=0,r=0,o=0,f=0,d=0;function g(h,S){for(const y of h)c++,o+=y.schema.properties?Object.keys(y.schema.properties).length:0,f+=y.documentCount||0,S>d&&(d=S),y.subcollections&&y.subcollections.length>0&&(r+=y.subcollections.length,g(y.subcollections,S+1))}return g(u,0),{schemas:c,subcollections:r,fields:o,documents:f,maxDepth:d}}function sd({collections:u}){const{schemas:c,subcollections:r,fields:o,documents:f}=Zp(u),d=[{label:"Schemas",value:c,icon:r0,color:"text-primary",bg:"bg-primary/10"},{label:"Subcollections",value:r,icon:m0,color:"text-cyan-400",bg:"bg-cyan-400/10"},{label:"Total Fields",value:o,icon:fn,color:"text-emerald-400",bg:"bg-emerald-400/10"},...f>0?[{label:"Documents",value:f.toLocaleString(),icon:ps,color:"text-amber-400",bg:"bg-amber-400/10"}]:[]],g=d.length===4?"grid-cols-4":"grid-cols-3";return v.jsx("div",{className:`grid ${g} gap-3`,children:d.map(h=>v.jsxs("div",{className:"flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3",children:[v.jsx("div",{className:`flex h-9 w-9 items-center justify-center rounded-md ${h.bg} ${h.color}`,children:v.jsx(h.icon,{className:"h-4 w-4"})}),v.jsxs("div",{className:"flex flex-col",children:[v.jsx("span",{className:"text-lg font-bold text-foreground tabular-nums",children:h.value}),v.jsx("span",{className:"text-[11px] text-muted-foreground",children:h.label})]})]},h.label))})}function Kp({collections:u,title:c}){const[r,o]=p.useState(null);return v.jsxs("div",{className:"dark flex h-screen w-full overflow-hidden bg-background text-foreground",children:[v.jsx(I0,{collections:u,selectedId:(r==null?void 0:r.id)??null,onSelect:o,title:c}),v.jsx("main",{className:"flex flex-1 flex-col overflow-hidden",children:r?v.jsxs(v.Fragment,{children:[v.jsx("div",{className:"border-b border-border p-4",children:v.jsx(sd,{collections:u})}),v.jsx("div",{className:"flex-1 overflow-hidden",children:v.jsx(Gp,{collection:r})})]}):v.jsxs(v.Fragment,{children:[v.jsx("div",{className:"border-b border-border p-4",children:v.jsx(sd,{collections:u})}),v.jsx("div",{className:"flex-1",children:v.jsx(Qp,{})})]})})]})}function Jp(u){return"/"+u.replace(".schema.json","").split("/").map(c=>{const o=`${c.endsWith("s")?c.slice(0,-1):c}Id`.replace(/-/g,"_");return`${c}/{${o}}`}).join("/")}function _c(u){const c=[...u].sort((f,d)=>f.path.split("/").length-d.path.split("/").length),r=[],o=new Map;for(const{path:f,content:d}of c){const g={id:d.collection,name:d.collection,description:d.description||"",path:Jp(f),schema:d.schema,subcollections:[],updatedAt:new Date().toISOString(),documentCount:d.documentCount},h=f.split("/").slice(0,-1).join("/");if(!h)r.push(g);else{const S=h+".schema.json",y=o.get(S);y?(y.subcollections||(y.subcollections=[]),y.subcollections.push(g)):(console.warn(`[FSV] Parent collection not found for "${f}". Expected "${S}" to exist.`),r.push(g))}o.set(f,g)}return r}function kp(u){return u.endsWith("/")?u:u+"/"}async function fd(u,c=""){const r=await fetch(u);if(!r.ok)return[];const o=r.headers.get("content-type")||"",f=await r.text(),d=[];if(o.includes("text/html")){const g=new DOMParser().parseFromString(f,"text/html"),h=Array.from(g.querySelectorAll("a")),S=[],y=[];for(const T of h){const C=(T.textContent||"").trim();if(!(!C||C===".."||C==="../")){if(C.endsWith(".schema.json"))S.push(c+C);else if(C.endsWith("/")||T.classList.contains("folder")){const j=C.endsWith("/")?C:C+"/";y.push(j)}}}d.push(...S);const A=await Promise.all(y.map(T=>fd(u+T,c+T)));for(const T of A)d.push(...T)}return d}async function Wp(u){const c=kp(u);let r=await fd(c);if(r.length===0)try{const f=await fetch(c+"index.json");if(f.ok){const d=await f.json();Array.isArray(d)&&(r=d,console.info("[FSV] Loaded schema list from index.json"))}}catch{}else console.info(`[FSV] Auto-discovered ${r.length} schema(s) from directory listing`);if(r.length===0)return console.warn("[FSV] No schemas found. Ensure your schemas/ folder contains .schema.json files and your server supports directory listing, or create a schemas/index.json manifest."),[];const o=await Promise.all(r.map(async f=>{const d=c+f,g=await fetch(d).then(h=>h.json());return{path:f,content:g}}));return _c(o)}function Fp(u){return typeof u[0]=="object"&&u[0]!==null&&"schema"in u[0]&&"collection"in u[0]}function $p(u){return typeof u[0]=="object"&&u[0]!==null&&"path"in u[0]&&"id"in u[0]}async function Ip(u){if(u.length===0)return[];if($p(u))return u;if(typeof u[0]=="string"){const c=await Promise.all(u.map(async r=>({path:r.replace(/^.*schemas\//,""),content:await fetch(r).then(o=>o.json())})));return _c(c)}if(Fp(u)){const c=u.map((r,o)=>({path:r._path||`${r.collection}.schema.json`,content:r}));return _c(c)}return u}async function dd(u,c){const r=document.querySelector(u);if(!r)throw new Error(`[FSV] Element not found: ${u}`);let o;if(c.schemasDir)o=await Wp(c.schemasDir);else if(c.schemas&&c.schemas.length>0)o=await Ip(c.schemas);else throw new Error('[FSV] Provide either "schemasDir" or "schemas" in the config.');xy.createRoot(r).render(Kt.createElement(Kp,{collections:o,title:c.title}))}window.FirestoreSchemaViewer={render:dd},on.render=dd,Object.defineProperty(on,Symbol.toStringTag,{value:"Module"})}));
|