@ottocode/web-ui 0.1.245 → 0.1.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -7
- package/dist/web-assets/assets/{framework-CsxFSCM3.js → framework-nIMfOfMw.js} +3 -3
- package/dist/web-assets/assets/{icons-B_u4G0B1.js → icons-ChRAk92S.js} +1 -1
- package/dist/web-assets/assets/index-DxLUqdfd.js +141 -0
- package/dist/web-assets/assets/index-IA3l_vMI.css +1 -0
- package/dist/web-assets/assets/{markdown-L3oUkt1x.js → markdown-CKQyPXIb.js} +1 -1
- package/dist/web-assets/assets/{syntax-CO_ADp5c.js → syntax-BTV1BYOo.js} +1 -1
- package/dist/web-assets/index.html +6 -6
- package/package.json +1 -1
- package/dist/web-assets/assets/index-C7JD3cC4.css +0 -1
- package/dist/web-assets/assets/index-DCO8QDXC.js +0 -135
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var VS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ug(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function KS(l){if(Object.prototype.hasOwnProperty.call(l,"__esModule"))return l;var i=l.default;if(typeof i=="function"){var s=function o(){var r=!1;try{r=this instanceof o}catch{}return r?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};s.prototype=i.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(l).forEach(function(o){var r=Object.getOwnPropertyDescriptor(l,o);Object.defineProperty(s,o,r.get?r:{enumerable:!0,get:function(){return l[o]}})}),s}var Eo={exports:{}},fi={};var om;function sg(){if(om)return fi;om=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(o,r,h){var m=null;if(h!==void 0&&(m=""+h),r.key!==void 0&&(m=""+r.key),"key"in r){h={};for(var y in r)y!=="key"&&(h[y]=r[y])}else h=r;return r=h.ref,{$$typeof:l,type:o,key:m,ref:r!==void 0?r:null,props:h}}return fi.Fragment=i,fi.jsx=s,fi.jsxs=s,fi}var rm;function cg(){return rm||(rm=1,Eo.exports=sg()),Eo.exports}var lt=cg(),To={exports:{}},st={};var fm;function og(){if(fm)return st;fm=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),m=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function _(M){return M===null||typeof M!="object"?null:(M=b&&M[b]||M["@@iterator"],typeof M=="function"?M:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,L={};function D(M,j,Z){this.props=M,this.context=j,this.refs=L,this.updater=Z||E}D.prototype.isReactComponent={},D.prototype.setState=function(M,j){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,j,"setState")},D.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function Q(){}Q.prototype=D.prototype;function G(M,j,Z){this.props=M,this.context=j,this.refs=L,this.updater=Z||E}var Y=G.prototype=new Q;Y.constructor=G,O(Y,D.prototype),Y.isPureReactComponent=!0;var $=Array.isArray;function J(){}var q={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function K(M,j,Z){var P=Z.ref;return{$$typeof:l,type:M,key:j,ref:P!==void 0?P:null,props:Z}}function et(M,j){return K(M.type,j,M.props)}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===l}function ut(M){var j={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(Z){return j[Z]})}var rt=/\/+/g;function Bt(M,j){return typeof M=="object"&&M!==null&&M.key!=null?ut(""+M.key):j.toString(36)}function Mt(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(J,J):(M.status="pending",M.then(function(j){M.status==="pending"&&(M.status="fulfilled",M.value=j)},function(j){M.status==="pending"&&(M.status="rejected",M.reason=j)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function w(M,j,Z,P,tt){var ft=typeof M;(ft==="undefined"||ft==="boolean")&&(M=null);var pt=!1;if(M===null)pt=!0;else switch(ft){case"bigint":case"string":case"number":pt=!0;break;case"object":switch(M.$$typeof){case l:case i:pt=!0;break;case S:return pt=M._init,w(pt(M._payload),j,Z,P,tt)}}if(pt)return tt=tt(M),pt=P===""?"."+Bt(M,0):P,$(tt)?(Z="",pt!=null&&(Z=pt.replace(rt,"$&/")+"/"),w(tt,j,Z,"",function(Pe){return Pe})):tt!=null&&(F(tt)&&(tt=et(tt,Z+(tt.key==null||M&&M.key===tt.key?"":(""+tt.key).replace(rt,"$&/")+"/")+pt)),j.push(tt)),1;pt=0;var qt=P===""?".":P+":";if($(M))for(var xt=0;xt<M.length;xt++)P=M[xt],ft=qt+Bt(P,xt),pt+=w(P,j,Z,ft,tt);else if(xt=_(M),typeof xt=="function")for(M=xt.call(M),xt=0;!(P=M.next()).done;)P=P.value,ft=qt+Bt(P,xt++),pt+=w(P,j,Z,ft,tt);else if(ft==="object"){if(typeof M.then=="function")return w(Mt(M),j,Z,P,tt);throw j=String(M),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return pt}function X(M,j,Z){if(M==null)return M;var P=[],tt=0;return w(M,P,"","",function(ft){return j.call(Z,ft,tt++)}),P}function at(M){if(M._status===-1){var j=M._result;j=j(),j.then(function(Z){(M._status===0||M._status===-1)&&(M._status=1,M._result=Z)},function(Z){(M._status===0||M._status===-1)&&(M._status=2,M._result=Z)}),M._status===-1&&(M._status=0,M._result=j)}if(M._status===1)return M._result.default;throw M._result}var bt=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},Rt={map:X,forEach:function(M,j,Z){X(M,function(){j.apply(this,arguments)},Z)},count:function(M){var j=0;return X(M,function(){j++}),j},toArray:function(M){return X(M,function(j){return j})||[]},only:function(M){if(!F(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return st.Activity=g,st.Children=Rt,st.Component=D,st.Fragment=s,st.Profiler=r,st.PureComponent=G,st.StrictMode=o,st.Suspense=p,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,st.__COMPILER_RUNTIME={__proto__:null,c:function(M){return q.H.useMemoCache(M)}},st.cache=function(M){return function(){return M.apply(null,arguments)}},st.cacheSignal=function(){return null},st.cloneElement=function(M,j,Z){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var P=O({},M.props),tt=M.key;if(j!=null)for(ft in j.key!==void 0&&(tt=""+j.key),j)!V.call(j,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&j.ref===void 0||(P[ft]=j[ft]);var ft=arguments.length-2;if(ft===1)P.children=Z;else if(1<ft){for(var pt=Array(ft),qt=0;qt<ft;qt++)pt[qt]=arguments[qt+2];P.children=pt}return K(M.type,tt,P)},st.createContext=function(M){return M={$$typeof:m,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:h,_context:M},M},st.createElement=function(M,j,Z){var P,tt={},ft=null;if(j!=null)for(P in j.key!==void 0&&(ft=""+j.key),j)V.call(j,P)&&P!=="key"&&P!=="__self"&&P!=="__source"&&(tt[P]=j[P]);var pt=arguments.length-2;if(pt===1)tt.children=Z;else if(1<pt){for(var qt=Array(pt),xt=0;xt<pt;xt++)qt[xt]=arguments[xt+2];tt.children=qt}if(M&&M.defaultProps)for(P in pt=M.defaultProps,pt)tt[P]===void 0&&(tt[P]=pt[P]);return K(M,ft,tt)},st.createRef=function(){return{current:null}},st.forwardRef=function(M){return{$$typeof:y,render:M}},st.isValidElement=F,st.lazy=function(M){return{$$typeof:S,_payload:{_status:-1,_result:M},_init:at}},st.memo=function(M,j){return{$$typeof:d,type:M,compare:j===void 0?null:j}},st.startTransition=function(M){var j=q.T,Z={};q.T=Z;try{var P=M(),tt=q.S;tt!==null&&tt(Z,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&P.then(J,bt)}catch(ft){bt(ft)}finally{j!==null&&Z.types!==null&&(j.types=Z.types),q.T=j}},st.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},st.use=function(M){return q.H.use(M)},st.useActionState=function(M,j,Z){return q.H.useActionState(M,j,Z)},st.useCallback=function(M,j){return q.H.useCallback(M,j)},st.useContext=function(M){return q.H.useContext(M)},st.useDebugValue=function(){},st.useDeferredValue=function(M,j){return q.H.useDeferredValue(M,j)},st.useEffect=function(M,j){return q.H.useEffect(M,j)},st.useEffectEvent=function(M){return q.H.useEffectEvent(M)},st.useId=function(){return q.H.useId()},st.useImperativeHandle=function(M,j,Z){return q.H.useImperativeHandle(M,j,Z)},st.useInsertionEffect=function(M,j){return q.H.useInsertionEffect(M,j)},st.useLayoutEffect=function(M,j){return q.H.useLayoutEffect(M,j)},st.useMemo=function(M,j){return q.H.useMemo(M,j)},st.useOptimistic=function(M,j){return q.H.useOptimistic(M,j)},st.useReducer=function(M,j,Z){return q.H.useReducer(M,j,Z)},st.useRef=function(M){return q.H.useRef(M)},st.useState=function(M){return q.H.useState(M)},st.useSyncExternalStore=function(M,j,Z){return q.H.useSyncExternalStore(M,j,Z)},st.useTransition=function(){return q.H.useTransition()},st.version="19.2.5",st}var hm;function Oi(){return hm||(hm=1,To.exports=og()),To.exports}var W=Oi();const Si=ug(W);var Mo={exports:{}},hi={},Oo={exports:{}},Co={};var dm;function rg(){return dm||(dm=1,(function(l){function i(w,X){var at=w.length;w.push(X);t:for(;0<at;){var bt=at-1>>>1,Rt=w[bt];if(0<r(Rt,X))w[bt]=X,w[at]=Rt,at=bt;else break t}}function s(w){return w.length===0?null:w[0]}function o(w){if(w.length===0)return null;var X=w[0],at=w.pop();if(at!==X){w[0]=at;t:for(var bt=0,Rt=w.length,M=Rt>>>1;bt<M;){var j=2*(bt+1)-1,Z=w[j],P=j+1,tt=w[P];if(0>r(Z,at))P<Rt&&0>r(tt,Z)?(w[bt]=tt,w[P]=at,bt=P):(w[bt]=Z,w[j]=at,bt=j);else if(P<Rt&&0>r(tt,at))w[bt]=tt,w[P]=at,bt=P;else break t}}return X}function r(w,X){var at=w.sortIndex-X.sortIndex;return at!==0?at:w.id-X.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;l.unstable_now=function(){return h.now()}}else{var m=Date,y=m.now();l.unstable_now=function(){return m.now()-y}}var p=[],d=[],S=1,g=null,b=3,_=!1,E=!1,O=!1,L=!1,D=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,G=typeof setImmediate<"u"?setImmediate:null;function Y(w){for(var X=s(d);X!==null;){if(X.callback===null)o(d);else if(X.startTime<=w)o(d),X.sortIndex=X.expirationTime,i(p,X);else break;X=s(d)}}function $(w){if(O=!1,Y(w),!E)if(s(p)!==null)E=!0,J||(J=!0,ut());else{var X=s(d);X!==null&&Mt($,X.startTime-w)}}var J=!1,q=-1,V=5,K=-1;function et(){return L?!0:!(l.unstable_now()-K<V)}function F(){if(L=!1,J){var w=l.unstable_now();K=w;var X=!0;try{t:{E=!1,O&&(O=!1,Q(q),q=-1),_=!0;var at=b;try{e:{for(Y(w),g=s(p);g!==null&&!(g.expirationTime>w&&et());){var bt=g.callback;if(typeof bt=="function"){g.callback=null,b=g.priorityLevel;var Rt=bt(g.expirationTime<=w);if(w=l.unstable_now(),typeof Rt=="function"){g.callback=Rt,Y(w),X=!0;break e}g===s(p)&&o(p),Y(w)}else o(p);g=s(p)}if(g!==null)X=!0;else{var M=s(d);M!==null&&Mt($,M.startTime-w),X=!1}}break t}finally{g=null,b=at,_=!1}X=void 0}}finally{X?ut():J=!1}}}var ut;if(typeof G=="function")ut=function(){G(F)};else if(typeof MessageChannel<"u"){var rt=new MessageChannel,Bt=rt.port2;rt.port1.onmessage=F,ut=function(){Bt.postMessage(null)}}else ut=function(){D(F,0)};function Mt(w,X){q=D(function(){w(l.unstable_now())},X)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(w){w.callback=null},l.unstable_forceFrameRate=function(w){0>w||125<w?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<w?Math.floor(1e3/w):5},l.unstable_getCurrentPriorityLevel=function(){return b},l.unstable_next=function(w){switch(b){case 1:case 2:case 3:var X=3;break;default:X=b}var at=b;b=X;try{return w()}finally{b=at}},l.unstable_requestPaint=function(){L=!0},l.unstable_runWithPriority=function(w,X){switch(w){case 1:case 2:case 3:case 4:case 5:break;default:w=3}var at=b;b=w;try{return X()}finally{b=at}},l.unstable_scheduleCallback=function(w,X,at){var bt=l.unstable_now();switch(typeof at=="object"&&at!==null?(at=at.delay,at=typeof at=="number"&&0<at?bt+at:bt):at=bt,w){case 1:var Rt=-1;break;case 2:Rt=250;break;case 5:Rt=1073741823;break;case 4:Rt=1e4;break;default:Rt=5e3}return Rt=at+Rt,w={id:S++,callback:X,priorityLevel:w,startTime:at,expirationTime:Rt,sortIndex:-1},at>bt?(w.sortIndex=at,i(d,w),s(p)===null&&w===s(d)&&(O?(Q(q),q=-1):O=!0,Mt($,at-bt))):(w.sortIndex=Rt,i(p,w),E||_||(E=!0,J||(J=!0,ut()))),w},l.unstable_shouldYield=et,l.unstable_wrapCallback=function(w){var X=b;return function(){var at=b;b=X;try{return w.apply(this,arguments)}finally{b=at}}}})(Co)),Co}var mm;function fg(){return mm||(mm=1,Oo.exports=rg()),Oo.exports}var Ao={exports:{}},ae={};var ym;function hg(){if(ym)return ae;ym=1;var l=Oi();function i(p){var d="https://react.dev/errors/"+p;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)d+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+p+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},r=Symbol.for("react.portal");function h(p,d,S){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:g==null?null:""+g,children:p,containerInfo:d,implementation:S}}var m=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(p,d){if(p==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return ae.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ae.createPortal=function(p,d){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(i(299));return h(p,d,null,S)},ae.flushSync=function(p){var d=m.T,S=o.p;try{if(m.T=null,o.p=2,p)return p()}finally{m.T=d,o.p=S,o.d.f()}},ae.preconnect=function(p,d){typeof p=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,o.d.C(p,d))},ae.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},ae.preinit=function(p,d){if(typeof p=="string"&&d&&typeof d.as=="string"){var S=d.as,g=y(S,d.crossOrigin),b=typeof d.integrity=="string"?d.integrity:void 0,_=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;S==="style"?o.d.S(p,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:_}):S==="script"&&o.d.X(p,{crossOrigin:g,integrity:b,fetchPriority:_,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},ae.preinitModule=function(p,d){if(typeof p=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var S=y(d.as,d.crossOrigin);o.d.M(p,{crossOrigin:S,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&o.d.M(p)},ae.preload=function(p,d){if(typeof p=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var S=d.as,g=y(S,d.crossOrigin);o.d.L(p,S,{crossOrigin:g,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},ae.preloadModule=function(p,d){if(typeof p=="string")if(d){var S=y(d.as,d.crossOrigin);o.d.m(p,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:S,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else o.d.m(p)},ae.requestFormReset=function(p){o.d.r(p)},ae.unstable_batchedUpdates=function(p,d){return p(d)},ae.useFormState=function(p,d,S){return m.H.useFormState(p,d,S)},ae.useFormStatus=function(){return m.H.useHostTransitionStatus()},ae.version="19.2.5",ae}var vm;function ey(){if(vm)return Ao.exports;vm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Ao.exports=hg(),Ao.exports}var pm;function dg(){if(pm)return hi;pm=1;var l=fg(),i=Oi(),s=ey();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function m(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(h(t)!==t)throw Error(o(188))}function d(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,a=e;;){var u=n.return;if(u===null)break;var c=u.alternate;if(c===null){if(a=u.return,a!==null){n=a;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===n)return p(u),t;if(c===a)return p(u),e;c=c.sibling}throw Error(o(188))}if(n.return!==a.return)n=u,a=c;else{for(var f=!1,v=u.child;v;){if(v===n){f=!0,n=u,a=c;break}if(v===a){f=!0,a=u,n=c;break}v=v.sibling}if(!f){for(v=c.child;v;){if(v===n){f=!0,n=c,a=u;break}if(v===a){f=!0,a=c,n=u;break}v=v.sibling}if(!f)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function S(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=S(t),e!==null)return e;t=t.sibling}return null}var g=Object.assign,b=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),G=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),et=Symbol.for("react.memo_cache_sentinel"),F=Symbol.iterator;function ut(t){return t===null||typeof t!="object"?null:(t=F&&t[F]||t["@@iterator"],typeof t=="function"?t:null)}var rt=Symbol.for("react.client.reference");function Bt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===rt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case O:return"Fragment";case D:return"Profiler";case L:return"StrictMode";case $:return"Suspense";case J:return"SuspenseList";case K:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case G:return t.displayName||"Context";case Q:return(t._context.displayName||"Context")+".Consumer";case Y:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case q:return e=t.displayName||null,e!==null?e:Bt(t.type)||"Memo";case V:e=t._payload,t=t._init;try{return Bt(t(e))}catch{}}return null}var Mt=Array.isArray,w=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at={pending:!1,data:null,method:null,action:null},bt=[],Rt=-1;function M(t){return{current:t}}function j(t){0>Rt||(t.current=bt[Rt],bt[Rt]=null,Rt--)}function Z(t,e){Rt++,bt[Rt]=t.current,t.current=e}var P=M(null),tt=M(null),ft=M(null),pt=M(null);function qt(t,e){switch(Z(ft,e),Z(tt,t),Z(P,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Ud(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Ud(e),t=Ld(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}j(P),Z(P,t)}function xt(){j(P),j(tt),j(ft)}function Pe(t){t.memoizedState!==null&&Z(pt,t);var e=P.current,n=Ld(e,t.type);e!==n&&(Z(tt,t),Z(P,n))}function Fe(t){tt.current===t&&(j(P),j(tt)),pt.current===t&&(j(pt),si._currentValue=at)}var pn,vl;function Ye(t){if(pn===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);pn=e&&e[1]||"",vl=-1<n.stack.indexOf(`
|
|
1
|
+
var VS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ug(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function KS(l){if(Object.prototype.hasOwnProperty.call(l,"__esModule"))return l;var i=l.default;if(typeof i=="function"){var s=function o(){var r=!1;try{r=this instanceof o}catch{}return r?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};s.prototype=i.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(l).forEach(function(o){var r=Object.getOwnPropertyDescriptor(l,o);Object.defineProperty(s,o,r.get?r:{enumerable:!0,get:function(){return l[o]}})}),s}var Eo={exports:{}},fi={};var om;function sg(){if(om)return fi;om=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(o,r,h){var m=null;if(h!==void 0&&(m=""+h),r.key!==void 0&&(m=""+r.key),"key"in r){h={};for(var y in r)y!=="key"&&(h[y]=r[y])}else h=r;return r=h.ref,{$$typeof:l,type:o,key:m,ref:r!==void 0?r:null,props:h}}return fi.Fragment=i,fi.jsx=s,fi.jsxs=s,fi}var rm;function cg(){return rm||(rm=1,Eo.exports=sg()),Eo.exports}var lt=cg(),To={exports:{}},st={};var fm;function og(){if(fm)return st;fm=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),m=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function _(M){return M===null||typeof M!="object"?null:(M=b&&M[b]||M["@@iterator"],typeof M=="function"?M:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,L={};function D(M,j,Z){this.props=M,this.context=j,this.refs=L,this.updater=Z||E}D.prototype.isReactComponent={},D.prototype.setState=function(M,j){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,j,"setState")},D.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function Q(){}Q.prototype=D.prototype;function G(M,j,Z){this.props=M,this.context=j,this.refs=L,this.updater=Z||E}var Y=G.prototype=new Q;Y.constructor=G,O(Y,D.prototype),Y.isPureReactComponent=!0;var $=Array.isArray;function J(){}var q={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function K(M,j,Z){var P=Z.ref;return{$$typeof:l,type:M,key:j,ref:P!==void 0?P:null,props:Z}}function et(M,j){return K(M.type,j,M.props)}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===l}function ut(M){var j={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(Z){return j[Z]})}var rt=/\/+/g;function Bt(M,j){return typeof M=="object"&&M!==null&&M.key!=null?ut(""+M.key):j.toString(36)}function Mt(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(J,J):(M.status="pending",M.then(function(j){M.status==="pending"&&(M.status="fulfilled",M.value=j)},function(j){M.status==="pending"&&(M.status="rejected",M.reason=j)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function w(M,j,Z,P,tt){var ft=typeof M;(ft==="undefined"||ft==="boolean")&&(M=null);var pt=!1;if(M===null)pt=!0;else switch(ft){case"bigint":case"string":case"number":pt=!0;break;case"object":switch(M.$$typeof){case l:case i:pt=!0;break;case S:return pt=M._init,w(pt(M._payload),j,Z,P,tt)}}if(pt)return tt=tt(M),pt=P===""?"."+Bt(M,0):P,$(tt)?(Z="",pt!=null&&(Z=pt.replace(rt,"$&/")+"/"),w(tt,j,Z,"",function(Pe){return Pe})):tt!=null&&(F(tt)&&(tt=et(tt,Z+(tt.key==null||M&&M.key===tt.key?"":(""+tt.key).replace(rt,"$&/")+"/")+pt)),j.push(tt)),1;pt=0;var qt=P===""?".":P+":";if($(M))for(var xt=0;xt<M.length;xt++)P=M[xt],ft=qt+Bt(P,xt),pt+=w(P,j,Z,ft,tt);else if(xt=_(M),typeof xt=="function")for(M=xt.call(M),xt=0;!(P=M.next()).done;)P=P.value,ft=qt+Bt(P,xt++),pt+=w(P,j,Z,ft,tt);else if(ft==="object"){if(typeof M.then=="function")return w(Mt(M),j,Z,P,tt);throw j=String(M),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return pt}function X(M,j,Z){if(M==null)return M;var P=[],tt=0;return w(M,P,"","",function(ft){return j.call(Z,ft,tt++)}),P}function at(M){if(M._status===-1){var j=M._result;j=j(),j.then(function(Z){(M._status===0||M._status===-1)&&(M._status=1,M._result=Z)},function(Z){(M._status===0||M._status===-1)&&(M._status=2,M._result=Z)}),M._status===-1&&(M._status=0,M._result=j)}if(M._status===1)return M._result.default;throw M._result}var bt=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},Rt={map:X,forEach:function(M,j,Z){X(M,function(){j.apply(this,arguments)},Z)},count:function(M){var j=0;return X(M,function(){j++}),j},toArray:function(M){return X(M,function(j){return j})||[]},only:function(M){if(!F(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return st.Activity=g,st.Children=Rt,st.Component=D,st.Fragment=s,st.Profiler=r,st.PureComponent=G,st.StrictMode=o,st.Suspense=p,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,st.__COMPILER_RUNTIME={__proto__:null,c:function(M){return q.H.useMemoCache(M)}},st.cache=function(M){return function(){return M.apply(null,arguments)}},st.cacheSignal=function(){return null},st.cloneElement=function(M,j,Z){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var P=O({},M.props),tt=M.key;if(j!=null)for(ft in j.key!==void 0&&(tt=""+j.key),j)!V.call(j,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&j.ref===void 0||(P[ft]=j[ft]);var ft=arguments.length-2;if(ft===1)P.children=Z;else if(1<ft){for(var pt=Array(ft),qt=0;qt<ft;qt++)pt[qt]=arguments[qt+2];P.children=pt}return K(M.type,tt,P)},st.createContext=function(M){return M={$$typeof:m,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:h,_context:M},M},st.createElement=function(M,j,Z){var P,tt={},ft=null;if(j!=null)for(P in j.key!==void 0&&(ft=""+j.key),j)V.call(j,P)&&P!=="key"&&P!=="__self"&&P!=="__source"&&(tt[P]=j[P]);var pt=arguments.length-2;if(pt===1)tt.children=Z;else if(1<pt){for(var qt=Array(pt),xt=0;xt<pt;xt++)qt[xt]=arguments[xt+2];tt.children=qt}if(M&&M.defaultProps)for(P in pt=M.defaultProps,pt)tt[P]===void 0&&(tt[P]=pt[P]);return K(M,ft,tt)},st.createRef=function(){return{current:null}},st.forwardRef=function(M){return{$$typeof:y,render:M}},st.isValidElement=F,st.lazy=function(M){return{$$typeof:S,_payload:{_status:-1,_result:M},_init:at}},st.memo=function(M,j){return{$$typeof:d,type:M,compare:j===void 0?null:j}},st.startTransition=function(M){var j=q.T,Z={};q.T=Z;try{var P=M(),tt=q.S;tt!==null&&tt(Z,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&P.then(J,bt)}catch(ft){bt(ft)}finally{j!==null&&Z.types!==null&&(j.types=Z.types),q.T=j}},st.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},st.use=function(M){return q.H.use(M)},st.useActionState=function(M,j,Z){return q.H.useActionState(M,j,Z)},st.useCallback=function(M,j){return q.H.useCallback(M,j)},st.useContext=function(M){return q.H.useContext(M)},st.useDebugValue=function(){},st.useDeferredValue=function(M,j){return q.H.useDeferredValue(M,j)},st.useEffect=function(M,j){return q.H.useEffect(M,j)},st.useEffectEvent=function(M){return q.H.useEffectEvent(M)},st.useId=function(){return q.H.useId()},st.useImperativeHandle=function(M,j,Z){return q.H.useImperativeHandle(M,j,Z)},st.useInsertionEffect=function(M,j){return q.H.useInsertionEffect(M,j)},st.useLayoutEffect=function(M,j){return q.H.useLayoutEffect(M,j)},st.useMemo=function(M,j){return q.H.useMemo(M,j)},st.useOptimistic=function(M,j){return q.H.useOptimistic(M,j)},st.useReducer=function(M,j,Z){return q.H.useReducer(M,j,Z)},st.useRef=function(M){return q.H.useRef(M)},st.useState=function(M){return q.H.useState(M)},st.useSyncExternalStore=function(M,j,Z){return q.H.useSyncExternalStore(M,j,Z)},st.useTransition=function(){return q.H.useTransition()},st.version="19.2.0",st}var hm;function Oi(){return hm||(hm=1,To.exports=og()),To.exports}var W=Oi();const Si=ug(W);var Mo={exports:{}},hi={},Oo={exports:{}},Co={};var dm;function rg(){return dm||(dm=1,(function(l){function i(w,X){var at=w.length;w.push(X);t:for(;0<at;){var bt=at-1>>>1,Rt=w[bt];if(0<r(Rt,X))w[bt]=X,w[at]=Rt,at=bt;else break t}}function s(w){return w.length===0?null:w[0]}function o(w){if(w.length===0)return null;var X=w[0],at=w.pop();if(at!==X){w[0]=at;t:for(var bt=0,Rt=w.length,M=Rt>>>1;bt<M;){var j=2*(bt+1)-1,Z=w[j],P=j+1,tt=w[P];if(0>r(Z,at))P<Rt&&0>r(tt,Z)?(w[bt]=tt,w[P]=at,bt=P):(w[bt]=Z,w[j]=at,bt=j);else if(P<Rt&&0>r(tt,at))w[bt]=tt,w[P]=at,bt=P;else break t}}return X}function r(w,X){var at=w.sortIndex-X.sortIndex;return at!==0?at:w.id-X.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;l.unstable_now=function(){return h.now()}}else{var m=Date,y=m.now();l.unstable_now=function(){return m.now()-y}}var p=[],d=[],S=1,g=null,b=3,_=!1,E=!1,O=!1,L=!1,D=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,G=typeof setImmediate<"u"?setImmediate:null;function Y(w){for(var X=s(d);X!==null;){if(X.callback===null)o(d);else if(X.startTime<=w)o(d),X.sortIndex=X.expirationTime,i(p,X);else break;X=s(d)}}function $(w){if(O=!1,Y(w),!E)if(s(p)!==null)E=!0,J||(J=!0,ut());else{var X=s(d);X!==null&&Mt($,X.startTime-w)}}var J=!1,q=-1,V=5,K=-1;function et(){return L?!0:!(l.unstable_now()-K<V)}function F(){if(L=!1,J){var w=l.unstable_now();K=w;var X=!0;try{t:{E=!1,O&&(O=!1,Q(q),q=-1),_=!0;var at=b;try{e:{for(Y(w),g=s(p);g!==null&&!(g.expirationTime>w&&et());){var bt=g.callback;if(typeof bt=="function"){g.callback=null,b=g.priorityLevel;var Rt=bt(g.expirationTime<=w);if(w=l.unstable_now(),typeof Rt=="function"){g.callback=Rt,Y(w),X=!0;break e}g===s(p)&&o(p),Y(w)}else o(p);g=s(p)}if(g!==null)X=!0;else{var M=s(d);M!==null&&Mt($,M.startTime-w),X=!1}}break t}finally{g=null,b=at,_=!1}X=void 0}}finally{X?ut():J=!1}}}var ut;if(typeof G=="function")ut=function(){G(F)};else if(typeof MessageChannel<"u"){var rt=new MessageChannel,Bt=rt.port2;rt.port1.onmessage=F,ut=function(){Bt.postMessage(null)}}else ut=function(){D(F,0)};function Mt(w,X){q=D(function(){w(l.unstable_now())},X)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(w){w.callback=null},l.unstable_forceFrameRate=function(w){0>w||125<w?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<w?Math.floor(1e3/w):5},l.unstable_getCurrentPriorityLevel=function(){return b},l.unstable_next=function(w){switch(b){case 1:case 2:case 3:var X=3;break;default:X=b}var at=b;b=X;try{return w()}finally{b=at}},l.unstable_requestPaint=function(){L=!0},l.unstable_runWithPriority=function(w,X){switch(w){case 1:case 2:case 3:case 4:case 5:break;default:w=3}var at=b;b=w;try{return X()}finally{b=at}},l.unstable_scheduleCallback=function(w,X,at){var bt=l.unstable_now();switch(typeof at=="object"&&at!==null?(at=at.delay,at=typeof at=="number"&&0<at?bt+at:bt):at=bt,w){case 1:var Rt=-1;break;case 2:Rt=250;break;case 5:Rt=1073741823;break;case 4:Rt=1e4;break;default:Rt=5e3}return Rt=at+Rt,w={id:S++,callback:X,priorityLevel:w,startTime:at,expirationTime:Rt,sortIndex:-1},at>bt?(w.sortIndex=at,i(d,w),s(p)===null&&w===s(d)&&(O?(Q(q),q=-1):O=!0,Mt($,at-bt))):(w.sortIndex=Rt,i(p,w),E||_||(E=!0,J||(J=!0,ut()))),w},l.unstable_shouldYield=et,l.unstable_wrapCallback=function(w){var X=b;return function(){var at=b;b=X;try{return w.apply(this,arguments)}finally{b=at}}}})(Co)),Co}var mm;function fg(){return mm||(mm=1,Oo.exports=rg()),Oo.exports}var Ao={exports:{}},ae={};var ym;function hg(){if(ym)return ae;ym=1;var l=Oi();function i(p){var d="https://react.dev/errors/"+p;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)d+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+p+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},r=Symbol.for("react.portal");function h(p,d,S){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:g==null?null:""+g,children:p,containerInfo:d,implementation:S}}var m=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(p,d){if(p==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return ae.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ae.createPortal=function(p,d){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(i(299));return h(p,d,null,S)},ae.flushSync=function(p){var d=m.T,S=o.p;try{if(m.T=null,o.p=2,p)return p()}finally{m.T=d,o.p=S,o.d.f()}},ae.preconnect=function(p,d){typeof p=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,o.d.C(p,d))},ae.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},ae.preinit=function(p,d){if(typeof p=="string"&&d&&typeof d.as=="string"){var S=d.as,g=y(S,d.crossOrigin),b=typeof d.integrity=="string"?d.integrity:void 0,_=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;S==="style"?o.d.S(p,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:_}):S==="script"&&o.d.X(p,{crossOrigin:g,integrity:b,fetchPriority:_,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},ae.preinitModule=function(p,d){if(typeof p=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var S=y(d.as,d.crossOrigin);o.d.M(p,{crossOrigin:S,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&o.d.M(p)},ae.preload=function(p,d){if(typeof p=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var S=d.as,g=y(S,d.crossOrigin);o.d.L(p,S,{crossOrigin:g,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},ae.preloadModule=function(p,d){if(typeof p=="string")if(d){var S=y(d.as,d.crossOrigin);o.d.m(p,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:S,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else o.d.m(p)},ae.requestFormReset=function(p){o.d.r(p)},ae.unstable_batchedUpdates=function(p,d){return p(d)},ae.useFormState=function(p,d,S){return m.H.useFormState(p,d,S)},ae.useFormStatus=function(){return m.H.useHostTransitionStatus()},ae.version="19.2.0",ae}var vm;function ey(){if(vm)return Ao.exports;vm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Ao.exports=hg(),Ao.exports}var pm;function dg(){if(pm)return hi;pm=1;var l=fg(),i=Oi(),s=ey();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function m(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(h(t)!==t)throw Error(o(188))}function d(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,a=e;;){var u=n.return;if(u===null)break;var c=u.alternate;if(c===null){if(a=u.return,a!==null){n=a;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===n)return p(u),t;if(c===a)return p(u),e;c=c.sibling}throw Error(o(188))}if(n.return!==a.return)n=u,a=c;else{for(var f=!1,v=u.child;v;){if(v===n){f=!0,n=u,a=c;break}if(v===a){f=!0,a=u,n=c;break}v=v.sibling}if(!f){for(v=c.child;v;){if(v===n){f=!0,n=c,a=u;break}if(v===a){f=!0,a=c,n=u;break}v=v.sibling}if(!f)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function S(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=S(t),e!==null)return e;t=t.sibling}return null}var g=Object.assign,b=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),G=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),et=Symbol.for("react.memo_cache_sentinel"),F=Symbol.iterator;function ut(t){return t===null||typeof t!="object"?null:(t=F&&t[F]||t["@@iterator"],typeof t=="function"?t:null)}var rt=Symbol.for("react.client.reference");function Bt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===rt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case O:return"Fragment";case D:return"Profiler";case L:return"StrictMode";case $:return"Suspense";case J:return"SuspenseList";case K:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case G:return t.displayName||"Context";case Q:return(t._context.displayName||"Context")+".Consumer";case Y:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case q:return e=t.displayName||null,e!==null?e:Bt(t.type)||"Memo";case V:e=t._payload,t=t._init;try{return Bt(t(e))}catch{}}return null}var Mt=Array.isArray,w=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at={pending:!1,data:null,method:null,action:null},bt=[],Rt=-1;function M(t){return{current:t}}function j(t){0>Rt||(t.current=bt[Rt],bt[Rt]=null,Rt--)}function Z(t,e){Rt++,bt[Rt]=t.current,t.current=e}var P=M(null),tt=M(null),ft=M(null),pt=M(null);function qt(t,e){switch(Z(ft,e),Z(tt,t),Z(P,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Ud(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Ud(e),t=Ld(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}j(P),Z(P,t)}function xt(){j(P),j(tt),j(ft)}function Pe(t){t.memoizedState!==null&&Z(pt,t);var e=P.current,n=Ld(e,t.type);e!==n&&(Z(tt,t),Z(P,n))}function Fe(t){tt.current===t&&(j(P),j(tt)),pt.current===t&&(j(pt),si._currentValue=at)}var pn,vl;function Ye(t){if(pn===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);pn=e&&e[1]||"",vl=-1<n.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
3
|
`+pn+t+vl}var pl=!1;function Ta(t,e){if(!t||pl)return"";pl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(U){var z=U}Reflect.construct(t,[],H)}else{try{H.call()}catch(U){z=U}t.call(H.prototype)}}else{try{throw Error()}catch(U){z=U}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(U){if(U&&z&&typeof U.stack=="string")return[U.stack,z.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),f=c[0],v=c[1];if(f&&v){var R=f.split(`
|
|
4
4
|
`),x=v.split(`
|
|
5
5
|
`);for(u=a=0;a<R.length&&!R[a].includes("DetermineComponentFrameRoot");)a++;for(;u<x.length&&!x[u].includes("DetermineComponentFrameRoot");)u++;if(a===R.length||u===x.length)for(a=R.length-1,u=x.length-1;1<=a&&0<=u&&R[a]!==x[u];)u--;for(;1<=a&&0<=u;a--,u--)if(R[a]!==x[u]){if(a!==1||u!==1)do if(a--,u--,0>u||R[a]!==x[u]){var N=`
|
|
6
6
|
`+R[a].replace(" at new "," at ");return t.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",t.displayName)),N}while(1<=a&&0<=u);break}}}finally{pl=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Ye(n):""}function Ci(t,e){switch(t.tag){case 26:case 27:case 5:return Ye(t.type);case 16:return Ye("Lazy");case 13:return t.child!==e&&e!==null?Ye("Suspense Fallback"):Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 15:return Ta(t.type,!1);case 11:return Ta(t.type.render,!1);case 1:return Ta(t.type,!0);case 31:return Ye("Activity");default:return""}}function ke(t){try{var e="",n=null;do e+=Ci(t,n),n=t,t=t.return;while(t);return e}catch(a){return`
|
|
7
7
|
Error generating stack: `+a.message+`
|
|
8
|
-
`+a.stack}}var Fn=Object.prototype.hasOwnProperty,je=l.unstable_scheduleCallback,gl=l.unstable_cancelCallback,Ai=l.unstable_shouldYield,os=l.unstable_requestPaint,ne=l.unstable_now,Dt=l.unstable_getCurrentPriorityLevel,kt=l.unstable_ImmediatePriority,Ge=l.unstable_UserBlockingPriority,Ma=l.unstable_NormalPriority,Yy=l.unstable_LowPriority,fr=l.unstable_IdlePriority,Gy=l.log,Xy=l.unstable_setDisableYieldValue,Sl=null,ye=null;function gn(t){if(typeof Gy=="function"&&Xy(t),ye&&typeof ye.setStrictMode=="function")try{ye.setStrictMode(Sl,t)}catch{}}var ve=Math.clz32?Math.clz32:Zy,Vy=Math.log,Ky=Math.LN2;function Zy(t){return t>>>=0,t===0?32:31-(Vy(t)/Ky|0)|0}var xi=256,zi=262144,Di=4194304;function kn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ui(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var u=0,c=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var v=a&134217727;return v!==0?(a=v&~c,a!==0?u=kn(a):(f&=v,f!==0?u=kn(f):n||(n=v&~t,n!==0&&(u=kn(n))))):(v=a&~c,v!==0?u=kn(v):f!==0?u=kn(f):n||(n=a&~t,n!==0&&(u=kn(n)))),u===0?0:e!==0&&e!==u&&(e&c)===0&&(c=u&-u,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:u}function bl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Jy(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 hr(){var t=Di;return Di<<=1,(Di&62914560)===0&&(Di=4194304),t}function rs(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function _l(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Py(t,e,n,a,u,c){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var v=t.entanglements,R=t.expirationTimes,x=t.hiddenUpdates;for(n=f&~n;0<n;){var N=31-ve(n),H=1<<N;v[N]=0,R[N]=-1;var z=x[N];if(z!==null)for(x[N]=null,N=0;N<z.length;N++){var U=z[N];U!==null&&(U.lane&=-536870913)}n&=~H}a!==0&&dr(t,a,0),c!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=c&~(f&~e))}function dr(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-ve(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&261930}function mr(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-ve(n),u=1<<a;u&e|t[a]&e&&(t[a]|=e),n&=~u}}function yr(t,e){var n=e&-e;return n=(n&42)!==0?1:fs(n),(n&(t.suspendedLanes|e))!==0?0:n}function fs(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function hs(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function vr(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:nm(t.type))}function pr(t,e){var n=X.p;try{return X.p=t,e()}finally{X.p=n}}var Sn=Math.random().toString(36).slice(2),Wt="__reactFiber$"+Sn,se="__reactProps$"+Sn,Oa="__reactContainer$"+Sn,ds="__reactEvents$"+Sn,Fy="__reactListeners$"+Sn,ky="__reactHandles$"+Sn,gr="__reactResources$"+Sn,Rl="__reactMarker$"+Sn;function ms(t){delete t[Wt],delete t[se],delete t[ds],delete t[Fy],delete t[ky]}function Ca(t){var e=t[Wt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Oa]||n[Wt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Qd(t);t!==null;){if(n=t[Wt])return n;t=Qd(t)}return e}t=n,n=t.parentNode}return null}function Aa(t){if(t=t[Wt]||t[Oa]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function El(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function xa(t){var e=t[gr];return e||(e=t[gr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Pt(t){t[Rl]=!0}var Sr=new Set,br={};function Wn(t,e){za(t,e),za(t+"Capture",e)}function za(t,e){for(br[t]=e,t=0;t<e.length;t++)Sr.add(e[t])}var Wy=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]*$"),_r={},Rr={};function Iy(t){return Fn.call(Rr,t)?!0:Fn.call(_r,t)?!1:Wy.test(t)?Rr[t]=!0:(_r[t]=!0,!1)}function Li(t,e,n){if(Iy(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function wi(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function We(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}function Me(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Er(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function $y(t,e,n){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,c=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(f){n=""+f,c.call(this,f)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ys(t){if(!t._valueTracker){var e=Er(t)?"checked":"value";t._valueTracker=$y(t,e,""+t[e])}}function Tr(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Er(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function Ni(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var tv=/[\n"\\]/g;function Oe(t){return t.replace(tv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vs(t,e,n,a,u,c,f,v){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Me(e)):t.value!==""+Me(e)&&(t.value=""+Me(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?ps(t,f,Me(e)):n!=null?ps(t,f,Me(n)):a!=null&&t.removeAttribute("value"),u==null&&c!=null&&(t.defaultChecked=!!c),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Me(v):t.removeAttribute("name")}function Mr(t,e,n,a,u,c,f,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){ys(t);return}n=n!=null?""+Me(n):"",e=e!=null?""+Me(e):n,v||e===t.value||(t.value=e),t.defaultValue=e}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=v?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),ys(t)}function ps(t,e,n){e==="number"&&Ni(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Da(t,e,n,a){if(t=t.options,e){e={};for(var u=0;u<n.length;u++)e["$"+n[u]]=!0;for(n=0;n<t.length;n++)u=e.hasOwnProperty("$"+t[n].value),t[n].selected!==u&&(t[n].selected=u),u&&a&&(t[n].defaultSelected=!0)}else{for(n=""+Me(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function Or(t,e,n){if(e!=null&&(e=""+Me(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Me(n):""}function Cr(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(o(92));if(Mt(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=Me(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a),ys(t)}function Ua(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var ev=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 Ar(t,e,n){var a=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,n):typeof n!="number"||n===0||ev.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function xr(t,e,n){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var u in e)a=e[u],e.hasOwnProperty(u)&&n[u]!==a&&Ar(t,u,a)}else for(var c in e)e.hasOwnProperty(c)&&Ar(t,c,e[c])}function gs(t){if(t.indexOf("-")===-1)return!1;switch(t){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 nv=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"]]),av=/^[\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 Bi(t){return av.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Ie(){}var Ss=null;function bs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var La=null,wa=null;function zr(t){var e=Aa(t);if(e&&(t=e.stateNode)){var n=t[se]||null;t:switch(t=e.stateNode,e.type){case"input":if(vs(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Oe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var u=a[se]||null;if(!u)throw Error(o(90));vs(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)a=n[e],a.form===t.form&&Tr(a)}break t;case"textarea":Or(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Da(t,!!n.multiple,e,!1)}}}var _s=!1;function Dr(t,e,n){if(_s)return t(e,n);_s=!0;try{var a=t(e);return a}finally{if(_s=!1,(La!==null||wa!==null)&&(Eu(),La&&(e=La,t=wa,wa=La=null,zr(e),t)))for(e=0;e<t.length;e++)zr(t[e])}}function Tl(t,e){var n=t.stateNode;if(n===null)return null;var a=n[se]||null;if(a===null)return null;n=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(o(231,e,typeof n));return n}var $e=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rs=!1;if($e)try{var Ml={};Object.defineProperty(Ml,"passive",{get:function(){Rs=!0}}),window.addEventListener("test",Ml,Ml),window.removeEventListener("test",Ml,Ml)}catch{Rs=!1}var bn=null,Es=null,ji=null;function Ur(){if(ji)return ji;var t,e=Es,n=e.length,a,u="value"in bn?bn.value:bn.textContent,c=u.length;for(t=0;t<n&&e[t]===u[t];t++);var f=n-t;for(a=1;a<=f&&e[n-a]===u[c-a];a++);return ji=u.slice(t,1<a?1-a:void 0)}function Hi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function qi(){return!0}function Lr(){return!1}function ce(t){function e(n,a,u,c,f){this._reactName=n,this._targetInst=u,this.type=a,this.nativeEvent=c,this.target=f,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(n=t[v],this[v]=n?n(c):c[v]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?qi:Lr,this.isPropagationStopped=Lr,this}return g(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=qi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=qi)},persist:function(){},isPersistent:qi}),e}var In={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qi=ce(In),Ol=g({},In,{view:0,detail:0}),lv=ce(Ol),Ts,Ms,Cl,Yi=g({},Ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Cl&&(Cl&&t.type==="mousemove"?(Ts=t.screenX-Cl.screenX,Ms=t.screenY-Cl.screenY):Ms=Ts=0,Cl=t),Ts)},movementY:function(t){return"movementY"in t?t.movementY:Ms}}),wr=ce(Yi),iv=g({},Yi,{dataTransfer:0}),uv=ce(iv),sv=g({},Ol,{relatedTarget:0}),Os=ce(sv),cv=g({},In,{animationName:0,elapsedTime:0,pseudoElement:0}),ov=ce(cv),rv=g({},In,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),fv=ce(rv),hv=g({},In,{data:0}),Nr=ce(hv),dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mv={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"},yv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=yv[t])?!!e[t]:!1}function Cs(){return vv}var pv=g({},Ol,{key:function(t){if(t.key){var e=dv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Hi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?mv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,charCode:function(t){return t.type==="keypress"?Hi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Hi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),gv=ce(pv),Sv=g({},Yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Br=ce(Sv),bv=g({},Ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),_v=ce(bv),Rv=g({},In,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ev=ce(Rv),Tv=g({},Yi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Mv=ce(Tv),Ov=g({},In,{newState:0,oldState:0}),Cv=ce(Ov),Av=[9,13,27,32],As=$e&&"CompositionEvent"in window,Al=null;$e&&"documentMode"in document&&(Al=document.documentMode);var xv=$e&&"TextEvent"in window&&!Al,jr=$e&&(!As||Al&&8<Al&&11>=Al),Hr=" ",qr=!1;function Qr(t,e){switch(t){case"keyup":return Av.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Na=!1;function zv(t,e){switch(t){case"compositionend":return Yr(e);case"keypress":return e.which!==32?null:(qr=!0,Hr);case"textInput":return t=e.data,t===Hr&&qr?null:t;default:return null}}function Dv(t,e){if(Na)return t==="compositionend"||!As&&Qr(t,e)?(t=Ur(),ji=Es=bn=null,Na=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return jr&&e.locale!=="ko"?null:e.data;default:return null}}var Uv={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 Gr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Uv[t.type]:e==="textarea"}function Xr(t,e,n,a){La?wa?wa.push(a):wa=[a]:La=a,e=zu(e,"onChange"),0<e.length&&(n=new Qi("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var xl=null,zl=null;function Lv(t){Od(t,0)}function Gi(t){var e=El(t);if(Tr(e))return t}function Vr(t,e){if(t==="change")return e}var Kr=!1;if($e){var xs;if($e){var zs="oninput"in document;if(!zs){var Zr=document.createElement("div");Zr.setAttribute("oninput","return;"),zs=typeof Zr.oninput=="function"}xs=zs}else xs=!1;Kr=xs&&(!document.documentMode||9<document.documentMode)}function Jr(){xl&&(xl.detachEvent("onpropertychange",Pr),zl=xl=null)}function Pr(t){if(t.propertyName==="value"&&Gi(zl)){var e=[];Xr(e,zl,t,bs(t)),Dr(Lv,e)}}function wv(t,e,n){t==="focusin"?(Jr(),xl=e,zl=n,xl.attachEvent("onpropertychange",Pr)):t==="focusout"&&Jr()}function Nv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Gi(zl)}function Bv(t,e){if(t==="click")return Gi(e)}function jv(t,e){if(t==="input"||t==="change")return Gi(e)}function Hv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:Hv;function Dl(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),a=Object.keys(e);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var u=n[a];if(!Fn.call(e,u)||!pe(t[u],e[u]))return!1}return!0}function Fr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function kr(t,e){var n=Fr(t);t=0;for(var a;n;){if(n.nodeType===3){if(a=t+n.textContent.length,t<=e&&a>=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Fr(n)}}function Wr(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Wr(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ir(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ni(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Ni(t.document)}return e}function Ds(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var qv=$e&&"documentMode"in document&&11>=document.documentMode,Ba=null,Us=null,Ul=null,Ls=!1;function $r(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ls||Ba==null||Ba!==Ni(a)||(a=Ba,"selectionStart"in a&&Ds(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ul&&Dl(Ul,a)||(Ul=a,a=zu(Us,"onSelect"),0<a.length&&(e=new Qi("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=Ba)))}function $n(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ja={animationend:$n("Animation","AnimationEnd"),animationiteration:$n("Animation","AnimationIteration"),animationstart:$n("Animation","AnimationStart"),transitionrun:$n("Transition","TransitionRun"),transitionstart:$n("Transition","TransitionStart"),transitioncancel:$n("Transition","TransitionCancel"),transitionend:$n("Transition","TransitionEnd")},ws={},tf={};$e&&(tf=document.createElement("div").style,"AnimationEvent"in window||(delete ja.animationend.animation,delete ja.animationiteration.animation,delete ja.animationstart.animation),"TransitionEvent"in window||delete ja.transitionend.transition);function ta(t){if(ws[t])return ws[t];if(!ja[t])return t;var e=ja[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in tf)return ws[t]=e[n];return t}var ef=ta("animationend"),nf=ta("animationiteration"),af=ta("animationstart"),Qv=ta("transitionrun"),Yv=ta("transitionstart"),Gv=ta("transitioncancel"),lf=ta("transitionend"),uf=new Map,Ns="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(" ");Ns.push("scrollEnd");function He(t,e){uf.set(t,e),Wn(e,[t])}var Xi=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ce=[],Ha=0,Bs=0;function Vi(){for(var t=Ha,e=Bs=Ha=0;e<t;){var n=Ce[e];Ce[e++]=null;var a=Ce[e];Ce[e++]=null;var u=Ce[e];Ce[e++]=null;var c=Ce[e];if(Ce[e++]=null,a!==null&&u!==null){var f=a.pending;f===null?u.next=u:(u.next=f.next,f.next=u),a.pending=u}c!==0&&sf(n,u,c)}}function Ki(t,e,n,a){Ce[Ha++]=t,Ce[Ha++]=e,Ce[Ha++]=n,Ce[Ha++]=a,Bs|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function js(t,e,n,a){return Ki(t,e,n,a),Zi(t)}function ea(t,e){return Ki(t,null,null,e),Zi(t)}function sf(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var u=!1,c=t.return;c!==null;)c.childLanes|=n,a=c.alternate,a!==null&&(a.childLanes|=n),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(u=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,u&&e!==null&&(u=31-ve(n),t=c.hiddenUpdates,a=t[u],a===null?t[u]=[e]:a.push(e),e.lane=n|536870912),c):null}function Zi(t){if(50<ti)throw ti=0,Zc=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var qa={};function Xv(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ge(t,e,n,a){return new Xv(t,e,n,a)}function Hs(t){return t=t.prototype,!(!t||!t.isReactComponent)}function tn(t,e){var n=t.alternate;return n===null?(n=ge(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function cf(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Ji(t,e,n,a,u,c){var f=0;if(a=t,typeof t=="function")Hs(t)&&(f=1);else if(typeof t=="string")f=Pp(t,n,P.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case K:return t=ge(31,n,e,u),t.elementType=K,t.lanes=c,t;case O:return na(n.children,u,c,e);case L:f=8,u|=24;break;case D:return t=ge(12,n,e,u|2),t.elementType=D,t.lanes=c,t;case $:return t=ge(13,n,e,u),t.elementType=$,t.lanes=c,t;case J:return t=ge(19,n,e,u),t.elementType=J,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case G:f=10;break t;case Q:f=9;break t;case Y:f=11;break t;case q:f=14;break t;case V:f=16,a=null;break t}f=29,n=Error(o(130,t===null?"null":typeof t,"")),a=null}return e=ge(f,n,e,u),e.elementType=t,e.type=a,e.lanes=c,e}function na(t,e,n,a){return t=ge(7,t,a,e),t.lanes=n,t}function qs(t,e,n){return t=ge(6,t,null,e),t.lanes=n,t}function of(t){var e=ge(18,null,null,0);return e.stateNode=t,e}function Qs(t,e,n){return e=ge(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var rf=new WeakMap;function Ae(t,e){if(typeof t=="object"&&t!==null){var n=rf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:ke(e)},rf.set(t,e),e)}return{value:t,source:e,stack:ke(e)}}var Qa=[],Ya=0,Pi=null,Ll=0,xe=[],ze=0,_n=null,Xe=1,Ve="";function en(t,e){Qa[Ya++]=Ll,Qa[Ya++]=Pi,Pi=t,Ll=e}function ff(t,e,n){xe[ze++]=Xe,xe[ze++]=Ve,xe[ze++]=_n,_n=t;var a=Xe;t=Ve;var u=32-ve(a)-1;a&=~(1<<u),n+=1;var c=32-ve(e)+u;if(30<c){var f=u-u%5;c=(a&(1<<f)-1).toString(32),a>>=f,u-=f,Xe=1<<32-ve(e)+u|n<<u|a,Ve=c+t}else Xe=1<<c|n<<u|a,Ve=t}function Ys(t){t.return!==null&&(en(t,1),ff(t,1,0))}function Gs(t){for(;t===Pi;)Pi=Qa[--Ya],Qa[Ya]=null,Ll=Qa[--Ya],Qa[Ya]=null;for(;t===_n;)_n=xe[--ze],xe[ze]=null,Ve=xe[--ze],xe[ze]=null,Xe=xe[--ze],xe[ze]=null}function hf(t,e){xe[ze++]=Xe,xe[ze++]=Ve,xe[ze++]=_n,Xe=e.id,Ve=e.overflow,_n=t}var It=null,Ut=null,vt=!1,Rn=null,De=!1,Xs=Error(o(519));function En(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wl(Ae(e,t)),Xs}function df(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[Wt]=t,e[se]=a,n){case"dialog":dt("cancel",e),dt("close",e);break;case"iframe":case"object":case"embed":dt("load",e);break;case"video":case"audio":for(n=0;n<ni.length;n++)dt(ni[n],e);break;case"source":dt("error",e);break;case"img":case"image":case"link":dt("error",e),dt("load",e);break;case"details":dt("toggle",e);break;case"input":dt("invalid",e),Mr(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":dt("invalid",e);break;case"textarea":dt("invalid",e),Cr(e,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||zd(e.textContent,n)?(a.popover!=null&&(dt("beforetoggle",e),dt("toggle",e)),a.onScroll!=null&&dt("scroll",e),a.onScrollEnd!=null&&dt("scrollend",e),a.onClick!=null&&(e.onclick=Ie),e=!0):e=!1,e||En(t,!0)}function mf(t){for(It=t.return;It;)switch(It.tag){case 5:case 31:case 13:De=!1;return;case 27:case 3:De=!0;return;default:It=It.return}}function Ga(t){if(t!==It)return!1;if(!vt)return mf(t),vt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||so(t.type,t.memoizedProps)),n=!n),n&&Ut&&En(t),mf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ut=qd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ut=qd(t)}else e===27?(e=Ut,jn(t.type)?(t=ho,ho=null,Ut=t):Ut=e):Ut=It?Le(t.stateNode.nextSibling):null;return!0}function aa(){Ut=It=null,vt=!1}function Vs(){var t=Rn;return t!==null&&(he===null?he=t:he.push.apply(he,t),Rn=null),t}function wl(t){Rn===null?Rn=[t]:Rn.push(t)}var Ks=M(null),la=null,nn=null;function Tn(t,e,n){Z(Ks,e._currentValue),e._currentValue=n}function an(t){t._currentValue=Ks.current,j(Ks)}function Zs(t,e,n){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===n)break;t=t.return}}function Js(t,e,n,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){var f=u.child;c=c.firstContext;t:for(;c!==null;){var v=c;c=u;for(var R=0;R<e.length;R++)if(v.context===e[R]){c.lanes|=n,v=c.alternate,v!==null&&(v.lanes|=n),Zs(c.return,n,t),a||(f=null);break t}c=v.next}}else if(u.tag===18){if(f=u.return,f===null)throw Error(o(341));f.lanes|=n,c=f.alternate,c!==null&&(c.lanes|=n),Zs(f,n,t),f=null}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===t){f=null;break}if(u=f.sibling,u!==null){u.return=f.return,f=u;break}f=f.return}u=f}}function Xa(t,e,n,a){t=null;for(var u=e,c=!1;u!==null;){if(!c){if((u.flags&524288)!==0)c=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var f=u.alternate;if(f===null)throw Error(o(387));if(f=f.memoizedProps,f!==null){var v=u.type;pe(u.pendingProps.value,f.value)||(t!==null?t.push(v):t=[v])}}else if(u===pt.current){if(f=u.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(si):t=[si])}u=u.return}t!==null&&Js(e,t,n,a),e.flags|=262144}function Fi(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ia(t){la=t,nn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return yf(la,t)}function ki(t,e){return la===null&&ia(t),yf(t,e)}function yf(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},nn===null){if(t===null)throw Error(o(308));nn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else nn=nn.next=e;return n}var Vv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Kv=l.unstable_scheduleCallback,Zv=l.unstable_NormalPriority,Gt={$$typeof:G,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ps(){return{controller:new Vv,data:new Map,refCount:0}}function Nl(t){t.refCount--,t.refCount===0&&Kv(Zv,function(){t.controller.abort()})}var Bl=null,Fs=0,Va=0,Ka=null;function Jv(t,e){if(Bl===null){var n=Bl=[];Fs=0,Va=Ic(),Ka={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Fs++,e.then(vf,vf),e}function vf(){if(--Fs===0&&Bl!==null){Ka!==null&&(Ka.status="fulfilled");var t=Bl;Bl=null,Va=0,Ka=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Pv(t,e){var n=[],a={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(a.status="rejected",a.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),a}var pf=w.S;w.S=function(t,e){td=ne(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Jv(t,e),pf!==null&&pf(t,e)};var ua=M(null);function ks(){var t=ua.current;return t!==null?t:zt.pooledCache}function Wi(t,e){e===null?Z(ua,ua.current):Z(ua,e.pool)}function gf(){var t=ks();return t===null?null:{parent:Gt._currentValue,pool:t}}var Za=Error(o(460)),Ws=Error(o(474)),Ii=Error(o(542)),$i={then:function(){}};function Sf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function bf(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(Ie,Ie),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rf(t),t;default:if(typeof e.status=="string")e.then(Ie,Ie);else{if(t=zt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=a}},function(a){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rf(t),t}throw ca=e,Za}}function sa(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ca=n,Za):n}}var ca=null;function _f(){if(ca===null)throw Error(o(459));var t=ca;return ca=null,t}function Rf(t){if(t===Za||t===Ii)throw Error(o(483))}var Ja=null,jl=0;function tu(t){var e=jl;return jl+=1,Ja===null&&(Ja=[]),bf(Ja,t,e)}function Hl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function eu(t,e){throw e.$$typeof===b?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Ef(t){function e(C,T){if(t){var A=C.deletions;A===null?(C.deletions=[T],C.flags|=16):A.push(T)}}function n(C,T){if(!t)return null;for(;T!==null;)e(C,T),T=T.sibling;return null}function a(C){for(var T=new Map;C!==null;)C.key!==null?T.set(C.key,C):T.set(C.index,C),C=C.sibling;return T}function u(C,T){return C=tn(C,T),C.index=0,C.sibling=null,C}function c(C,T,A){return C.index=A,t?(A=C.alternate,A!==null?(A=A.index,A<T?(C.flags|=67108866,T):A):(C.flags|=67108866,T)):(C.flags|=1048576,T)}function f(C){return t&&C.alternate===null&&(C.flags|=67108866),C}function v(C,T,A,B){return T===null||T.tag!==6?(T=qs(A,C.mode,B),T.return=C,T):(T=u(T,A),T.return=C,T)}function R(C,T,A,B){var nt=A.type;return nt===O?N(C,T,A.props.children,B,A.key):T!==null&&(T.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===V&&sa(nt)===T.type)?(T=u(T,A.props),Hl(T,A),T.return=C,T):(T=Ji(A.type,A.key,A.props,null,C.mode,B),Hl(T,A),T.return=C,T)}function x(C,T,A,B){return T===null||T.tag!==4||T.stateNode.containerInfo!==A.containerInfo||T.stateNode.implementation!==A.implementation?(T=Qs(A,C.mode,B),T.return=C,T):(T=u(T,A.children||[]),T.return=C,T)}function N(C,T,A,B,nt){return T===null||T.tag!==7?(T=na(A,C.mode,B,nt),T.return=C,T):(T=u(T,A),T.return=C,T)}function H(C,T,A){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=qs(""+T,C.mode,A),T.return=C,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case _:return A=Ji(T.type,T.key,T.props,null,C.mode,A),Hl(A,T),A.return=C,A;case E:return T=Qs(T,C.mode,A),T.return=C,T;case V:return T=sa(T),H(C,T,A)}if(Mt(T)||ut(T))return T=na(T,C.mode,A,null),T.return=C,T;if(typeof T.then=="function")return H(C,tu(T),A);if(T.$$typeof===G)return H(C,ki(C,T),A);eu(C,T)}return null}function z(C,T,A,B){var nt=T!==null?T.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return nt!==null?null:v(C,T,""+A,B);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case _:return A.key===nt?R(C,T,A,B):null;case E:return A.key===nt?x(C,T,A,B):null;case V:return A=sa(A),z(C,T,A,B)}if(Mt(A)||ut(A))return nt!==null?null:N(C,T,A,B,null);if(typeof A.then=="function")return z(C,T,tu(A),B);if(A.$$typeof===G)return z(C,T,ki(C,A),B);eu(C,A)}return null}function U(C,T,A,B,nt){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return C=C.get(A)||null,v(T,C,""+B,nt);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case _:return C=C.get(B.key===null?A:B.key)||null,R(T,C,B,nt);case E:return C=C.get(B.key===null?A:B.key)||null,x(T,C,B,nt);case V:return B=sa(B),U(C,T,A,B,nt)}if(Mt(B)||ut(B))return C=C.get(A)||null,N(T,C,B,nt,null);if(typeof B.then=="function")return U(C,T,A,tu(B),nt);if(B.$$typeof===G)return U(C,T,A,ki(T,B),nt);eu(T,B)}return null}function k(C,T,A,B){for(var nt=null,gt=null,I=T,ot=T=0,yt=null;I!==null&&ot<A.length;ot++){I.index>ot?(yt=I,I=null):yt=I.sibling;var St=z(C,I,A[ot],B);if(St===null){I===null&&(I=yt);break}t&&I&&St.alternate===null&&e(C,I),T=c(St,T,ot),gt===null?nt=St:gt.sibling=St,gt=St,I=yt}if(ot===A.length)return n(C,I),vt&&en(C,ot),nt;if(I===null){for(;ot<A.length;ot++)I=H(C,A[ot],B),I!==null&&(T=c(I,T,ot),gt===null?nt=I:gt.sibling=I,gt=I);return vt&&en(C,ot),nt}for(I=a(I);ot<A.length;ot++)yt=U(I,C,ot,A[ot],B),yt!==null&&(t&&yt.alternate!==null&&I.delete(yt.key===null?ot:yt.key),T=c(yt,T,ot),gt===null?nt=yt:gt.sibling=yt,gt=yt);return t&&I.forEach(function(Gn){return e(C,Gn)}),vt&&en(C,ot),nt}function it(C,T,A,B){if(A==null)throw Error(o(151));for(var nt=null,gt=null,I=T,ot=T=0,yt=null,St=A.next();I!==null&&!St.done;ot++,St=A.next()){I.index>ot?(yt=I,I=null):yt=I.sibling;var Gn=z(C,I,St.value,B);if(Gn===null){I===null&&(I=yt);break}t&&I&&Gn.alternate===null&&e(C,I),T=c(Gn,T,ot),gt===null?nt=Gn:gt.sibling=Gn,gt=Gn,I=yt}if(St.done)return n(C,I),vt&&en(C,ot),nt;if(I===null){for(;!St.done;ot++,St=A.next())St=H(C,St.value,B),St!==null&&(T=c(St,T,ot),gt===null?nt=St:gt.sibling=St,gt=St);return vt&&en(C,ot),nt}for(I=a(I);!St.done;ot++,St=A.next())St=U(I,C,ot,St.value,B),St!==null&&(t&&St.alternate!==null&&I.delete(St.key===null?ot:St.key),T=c(St,T,ot),gt===null?nt=St:gt.sibling=St,gt=St);return t&&I.forEach(function(ig){return e(C,ig)}),vt&&en(C,ot),nt}function At(C,T,A,B){if(typeof A=="object"&&A!==null&&A.type===O&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case _:t:{for(var nt=A.key;T!==null;){if(T.key===nt){if(nt=A.type,nt===O){if(T.tag===7){n(C,T.sibling),B=u(T,A.props.children),B.return=C,C=B;break t}}else if(T.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===V&&sa(nt)===T.type){n(C,T.sibling),B=u(T,A.props),Hl(B,A),B.return=C,C=B;break t}n(C,T);break}else e(C,T);T=T.sibling}A.type===O?(B=na(A.props.children,C.mode,B,A.key),B.return=C,C=B):(B=Ji(A.type,A.key,A.props,null,C.mode,B),Hl(B,A),B.return=C,C=B)}return f(C);case E:t:{for(nt=A.key;T!==null;){if(T.key===nt)if(T.tag===4&&T.stateNode.containerInfo===A.containerInfo&&T.stateNode.implementation===A.implementation){n(C,T.sibling),B=u(T,A.children||[]),B.return=C,C=B;break t}else{n(C,T);break}else e(C,T);T=T.sibling}B=Qs(A,C.mode,B),B.return=C,C=B}return f(C);case V:return A=sa(A),At(C,T,A,B)}if(Mt(A))return k(C,T,A,B);if(ut(A)){if(nt=ut(A),typeof nt!="function")throw Error(o(150));return A=nt.call(A),it(C,T,A,B)}if(typeof A.then=="function")return At(C,T,tu(A),B);if(A.$$typeof===G)return At(C,T,ki(C,A),B);eu(C,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,T!==null&&T.tag===6?(n(C,T.sibling),B=u(T,A),B.return=C,C=B):(n(C,T),B=qs(A,C.mode,B),B.return=C,C=B),f(C)):n(C,T)}return function(C,T,A,B){try{jl=0;var nt=At(C,T,A,B);return Ja=null,nt}catch(I){if(I===Za||I===Ii)throw I;var gt=ge(29,I,null,C.mode);return gt.lanes=B,gt.return=C,gt}}}var oa=Ef(!0),Tf=Ef(!1),Mn=!1;function Is(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $s(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function On(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Cn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(_t&2)!==0){var u=a.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),a.pending=e,e=Zi(t),sf(t,null,n),e}return Ki(t,a,e,n),Zi(t)}function ql(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,mr(t,n)}}function tc(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var u=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?u=c=f:c=c.next=f,n=n.next}while(n!==null);c===null?u=c=e:c=c.next=e}else u=c=e;n={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var ec=!1;function Ql(){if(ec){var t=Ka;if(t!==null)throw t}}function Yl(t,e,n,a){ec=!1;var u=t.updateQueue;Mn=!1;var c=u.firstBaseUpdate,f=u.lastBaseUpdate,v=u.shared.pending;if(v!==null){u.shared.pending=null;var R=v,x=R.next;R.next=null,f===null?c=x:f.next=x,f=R;var N=t.alternate;N!==null&&(N=N.updateQueue,v=N.lastBaseUpdate,v!==f&&(v===null?N.firstBaseUpdate=x:v.next=x,N.lastBaseUpdate=R))}if(c!==null){var H=u.baseState;f=0,N=x=R=null,v=c;do{var z=v.lane&-536870913,U=z!==v.lane;if(U?(mt&z)===z:(a&z)===z){z!==0&&z===Va&&(ec=!0),N!==null&&(N=N.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var k=t,it=v;z=e;var At=n;switch(it.tag){case 1:if(k=it.payload,typeof k=="function"){H=k.call(At,H,z);break t}H=k;break t;case 3:k.flags=k.flags&-65537|128;case 0:if(k=it.payload,z=typeof k=="function"?k.call(At,H,z):k,z==null)break t;H=g({},H,z);break t;case 2:Mn=!0}}z=v.callback,z!==null&&(t.flags|=64,U&&(t.flags|=8192),U=u.callbacks,U===null?u.callbacks=[z]:U.push(z))}else U={lane:z,tag:v.tag,payload:v.payload,callback:v.callback,next:null},N===null?(x=N=U,R=H):N=N.next=U,f|=z;if(v=v.next,v===null){if(v=u.shared.pending,v===null)break;U=v,v=U.next,U.next=null,u.lastBaseUpdate=U,u.shared.pending=null}}while(!0);N===null&&(R=H),u.baseState=R,u.firstBaseUpdate=x,u.lastBaseUpdate=N,c===null&&(u.shared.lanes=0),Un|=f,t.lanes=f,t.memoizedState=H}}function Mf(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Of(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Mf(n[t],e)}var Pa=M(null),nu=M(0);function Cf(t,e){t=dn,Z(nu,t),Z(Pa,e),dn=t|e.baseLanes}function nc(){Z(nu,dn),Z(Pa,Pa.current)}function ac(){dn=nu.current,j(Pa),j(nu)}var Se=M(null),Ue=null;function An(t){var e=t.alternate;Z(Qt,Qt.current&1),Z(Se,t),Ue===null&&(e===null||Pa.current!==null||e.memoizedState!==null)&&(Ue=t)}function lc(t){Z(Qt,Qt.current),Z(Se,t),Ue===null&&(Ue=t)}function Af(t){t.tag===22?(Z(Qt,Qt.current),Z(Se,t),Ue===null&&(Ue=t)):xn()}function xn(){Z(Qt,Qt.current),Z(Se,Se.current)}function be(t){j(Se),Ue===t&&(Ue=null),j(Qt)}var Qt=M(0);function au(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ro(n)||fo(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ln=0,ct=null,Ot=null,Xt=null,lu=!1,Fa=!1,ra=!1,iu=0,Gl=0,ka=null,Fv=0;function jt(){throw Error(o(321))}function ic(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!pe(t[n],e[n]))return!1;return!0}function uc(t,e,n,a,u,c){return ln=c,ct=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,w.H=t===null||t.memoizedState===null?fh:_c,ra=!1,c=n(a,u),ra=!1,Fa&&(c=zf(e,n,a,u)),xf(t),c}function xf(t){w.H=Kl;var e=Ot!==null&&Ot.next!==null;if(ln=0,Xt=Ot=ct=null,lu=!1,Gl=0,ka=null,e)throw Error(o(300));t===null||Vt||(t=t.dependencies,t!==null&&Fi(t)&&(Vt=!0))}function zf(t,e,n,a){ct=t;var u=0;do{if(Fa&&(ka=null),Gl=0,Fa=!1,25<=u)throw Error(o(301));if(u+=1,Xt=Ot=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}w.H=hh,c=e(n,a)}while(Fa);return c}function kv(){var t=w.H,e=t.useState()[0];return e=typeof e.then=="function"?Xl(e):e,t=t.useState()[0],(Ot!==null?Ot.memoizedState:null)!==t&&(ct.flags|=1024),e}function sc(){var t=iu!==0;return iu=0,t}function cc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function oc(t){if(lu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}lu=!1}ln=0,Xt=Ot=ct=null,Fa=!1,Gl=iu=0,ka=null}function ie(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?ct.memoizedState=Xt=t:Xt=Xt.next=t,Xt}function Yt(){if(Ot===null){var t=ct.alternate;t=t!==null?t.memoizedState:null}else t=Ot.next;var e=Xt===null?ct.memoizedState:Xt.next;if(e!==null)Xt=e,Ot=t;else{if(t===null)throw ct.alternate===null?Error(o(467)):Error(o(310));Ot=t,t={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},Xt===null?ct.memoizedState=Xt=t:Xt=Xt.next=t}return Xt}function uu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(t){var e=Gl;return Gl+=1,ka===null&&(ka=[]),t=bf(ka,t,e),e=ct,(Xt===null?e.memoizedState:Xt.next)===null&&(e=e.alternate,w.H=e===null||e.memoizedState===null?fh:_c),t}function su(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Xl(t);if(t.$$typeof===G)return $t(t)}throw Error(o(438,String(t)))}function rc(t){var e=null,n=ct.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=ct.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=uu(),ct.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),a=0;a<t;a++)n[a]=et;return e.index++,n}function un(t,e){return typeof e=="function"?e(t):e}function cu(t){var e=Yt();return fc(e,Ot,t)}function fc(t,e,n){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var u=t.baseQueue,c=a.pending;if(c!==null){if(u!==null){var f=u.next;u.next=c.next,c.next=f}e.baseQueue=u=c,a.pending=null}if(c=t.baseState,u===null)t.memoizedState=c;else{e=u.next;var v=f=null,R=null,x=e,N=!1;do{var H=x.lane&-536870913;if(H!==x.lane?(mt&H)===H:(ln&H)===H){var z=x.revertLane;if(z===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),H===Va&&(N=!0);else if((ln&z)===z){x=x.next,z===Va&&(N=!0);continue}else H={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},R===null?(v=R=H,f=c):R=R.next=H,ct.lanes|=z,Un|=z;H=x.action,ra&&n(c,H),c=x.hasEagerState?x.eagerState:n(c,H)}else z={lane:H,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},R===null?(v=R=z,f=c):R=R.next=z,ct.lanes|=H,Un|=H;x=x.next}while(x!==null&&x!==e);if(R===null?f=c:R.next=v,!pe(c,t.memoizedState)&&(Vt=!0,N&&(n=Ka,n!==null)))throw n;t.memoizedState=c,t.baseState=f,t.baseQueue=R,a.lastRenderedState=c}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function hc(t){var e=Yt(),n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=t;var a=n.dispatch,u=n.pending,c=e.memoizedState;if(u!==null){n.pending=null;var f=u=u.next;do c=t(c,f.action),f=f.next;while(f!==u);pe(c,e.memoizedState)||(Vt=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),n.lastRenderedState=c}return[c,a]}function Df(t,e,n){var a=ct,u=Yt(),c=vt;if(c){if(n===void 0)throw Error(o(407));n=n()}else n=e();var f=!pe((Ot||u).memoizedState,n);if(f&&(u.memoizedState=n,Vt=!0),u=u.queue,yc(wf.bind(null,a,u,t),[t]),u.getSnapshot!==e||f||Xt!==null&&Xt.memoizedState.tag&1){if(a.flags|=2048,Wa(9,{destroy:void 0},Lf.bind(null,a,u,n,e),null),zt===null)throw Error(o(349));c||(ln&127)!==0||Uf(a,e,n)}return n}function Uf(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ct.updateQueue,e===null?(e=uu(),ct.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Lf(t,e,n,a){e.value=n,e.getSnapshot=a,Nf(e)&&Bf(t)}function wf(t,e,n){return n(function(){Nf(e)&&Bf(t)})}function Nf(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!pe(t,n)}catch{return!0}}function Bf(t){var e=ea(t,2);e!==null&&de(e,t,2)}function dc(t){var e=ie();if(typeof t=="function"){var n=t;if(t=n(),ra){gn(!0);try{n()}finally{gn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:t},e}function jf(t,e,n,a){return t.baseState=n,fc(t,Ot,typeof a=="function"?a:un)}function Wv(t,e,n,a,u){if(fu(t))throw Error(o(485));if(t=e.action,t!==null){var c={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){c.listeners.push(f)}};w.T!==null?n(!0):c.isTransition=!1,a(c),n=e.pending,n===null?(c.next=e.pending=c,Hf(e,c)):(c.next=n.next,e.pending=n.next=c)}}function Hf(t,e){var n=e.action,a=e.payload,u=t.state;if(e.isTransition){var c=w.T,f={};w.T=f;try{var v=n(u,a),R=w.S;R!==null&&R(f,v),qf(t,e,v)}catch(x){mc(t,e,x)}finally{c!==null&&f.types!==null&&(c.types=f.types),w.T=c}}else try{c=n(u,a),qf(t,e,c)}catch(x){mc(t,e,x)}}function qf(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Qf(t,e,a)},function(a){return mc(t,e,a)}):Qf(t,e,n)}function Qf(t,e,n){e.status="fulfilled",e.value=n,Yf(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Hf(t,n)))}function mc(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,Yf(e),e=e.next;while(e!==a)}t.action=null}function Yf(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Gf(t,e){return e}function Xf(t,e){if(vt){var n=zt.formState;if(n!==null){t:{var a=ct;if(vt){if(Ut){e:{for(var u=Ut,c=De;u.nodeType!==8;){if(!c){u=null;break e}if(u=Le(u.nextSibling),u===null){u=null;break e}}c=u.data,u=c==="F!"||c==="F"?u:null}if(u){Ut=Le(u.nextSibling),a=u.data==="F!";break t}}En(a)}a=!1}a&&(e=n[0])}}return n=ie(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gf,lastRenderedState:e},n.queue=a,n=ch.bind(null,ct,a),a.dispatch=n,a=dc(!1),c=bc.bind(null,ct,!1,a.queue),a=ie(),u={state:e,dispatch:null,action:t,pending:null},a.queue=u,n=Wv.bind(null,ct,u,c,n),u.dispatch=n,a.memoizedState=t,[e,n,!1]}function Vf(t){var e=Yt();return Kf(e,Ot,t)}function Kf(t,e,n){if(e=fc(t,e,Gf)[0],t=cu(un)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Xl(e)}catch(f){throw f===Za?Ii:f}else a=e;e=Yt();var u=e.queue,c=u.dispatch;return n!==e.memoizedState&&(ct.flags|=2048,Wa(9,{destroy:void 0},Iv.bind(null,u,n),null)),[a,c,t]}function Iv(t,e){t.action=e}function Zf(t){var e=Yt(),n=Ot;if(n!==null)return Kf(e,n,t);Yt(),e=e.memoizedState,n=Yt();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function Wa(t,e,n,a){return t={tag:t,create:n,deps:a,inst:e,next:null},e=ct.updateQueue,e===null&&(e=uu(),ct.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(a=n.next,n.next=t,t.next=a,e.lastEffect=t),t}function Jf(){return Yt().memoizedState}function ou(t,e,n,a){var u=ie();ct.flags|=t,u.memoizedState=Wa(1|e,{destroy:void 0},n,a===void 0?null:a)}function ru(t,e,n,a){var u=Yt();a=a===void 0?null:a;var c=u.memoizedState.inst;Ot!==null&&a!==null&&ic(a,Ot.memoizedState.deps)?u.memoizedState=Wa(e,c,n,a):(ct.flags|=t,u.memoizedState=Wa(1|e,c,n,a))}function Pf(t,e){ou(8390656,8,t,e)}function yc(t,e){ru(2048,8,t,e)}function $v(t){ct.flags|=4;var e=ct.updateQueue;if(e===null)e=uu(),ct.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Ff(t){var e=Yt().memoizedState;return $v({ref:e,nextImpl:t}),function(){if((_t&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function kf(t,e){return ru(4,2,t,e)}function Wf(t,e){return ru(4,4,t,e)}function If(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function $f(t,e,n){n=n!=null?n.concat([t]):null,ru(4,4,If.bind(null,e,t),n)}function vc(){}function th(t,e){var n=Yt();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&ic(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function eh(t,e){var n=Yt();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&ic(e,a[1]))return a[0];if(a=t(),ra){gn(!0);try{t()}finally{gn(!1)}}return n.memoizedState=[a,e],a}function pc(t,e,n){return n===void 0||(ln&1073741824)!==0&&(mt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=nd(),ct.lanes|=t,Un|=t,n)}function nh(t,e,n,a){return pe(n,e)?n:Pa.current!==null?(t=pc(t,n,a),pe(t,e)||(Vt=!0),t):(ln&42)===0||(ln&1073741824)!==0&&(mt&261930)===0?(Vt=!0,t.memoizedState=n):(t=nd(),ct.lanes|=t,Un|=t,e)}function ah(t,e,n,a,u){var c=X.p;X.p=c!==0&&8>c?c:8;var f=w.T,v={};w.T=v,bc(t,!1,e,n);try{var R=u(),x=w.S;if(x!==null&&x(v,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var N=Pv(R,a);Vl(t,e,N,Ee(t))}else Vl(t,e,a,Ee(t))}catch(H){Vl(t,e,{then:function(){},status:"rejected",reason:H},Ee())}finally{X.p=c,f!==null&&v.types!==null&&(f.types=v.types),w.T=f}}function tp(){}function gc(t,e,n,a){if(t.tag!==5)throw Error(o(476));var u=lh(t).queue;ah(t,u,e,at,n===null?tp:function(){return ih(t),n(a)})}function lh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:at,baseState:at,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:at},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ih(t){var e=lh(t);e.next===null&&(e=t.alternate.memoizedState),Vl(t,e.next.queue,{},Ee())}function Sc(){return $t(si)}function uh(){return Yt().memoizedState}function sh(){return Yt().memoizedState}function ep(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ee();t=On(n);var a=Cn(e,t,n);a!==null&&(de(a,e,n),ql(a,e,n)),e={cache:Ps()},t.payload=e;return}e=e.return}}function np(t,e,n){var a=Ee();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},fu(t)?oh(e,n):(n=js(t,e,n,a),n!==null&&(de(n,t,a),rh(n,e,a)))}function ch(t,e,n){var a=Ee();Vl(t,e,n,a)}function Vl(t,e,n,a){var u={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(fu(t))oh(e,u);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var f=e.lastRenderedState,v=c(f,n);if(u.hasEagerState=!0,u.eagerState=v,pe(v,f))return Ki(t,e,u,0),zt===null&&Vi(),!1}catch{}if(n=js(t,e,u,a),n!==null)return de(n,t,a),rh(n,e,a),!0}return!1}function bc(t,e,n,a){if(a={lane:2,revertLane:Ic(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},fu(t)){if(e)throw Error(o(479))}else e=js(t,n,a,2),e!==null&&de(e,t,2)}function fu(t){var e=t.alternate;return t===ct||e!==null&&e===ct}function oh(t,e){Fa=lu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function rh(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,mr(t,n)}}var Kl={readContext:$t,use:su,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Kl.useEffectEvent=jt;var fh={readContext:$t,use:su,useCallback:function(t,e){return ie().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:Pf,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,ou(4194308,4,If.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ou(4194308,4,t,e)},useInsertionEffect:function(t,e){ou(4,2,t,e)},useMemo:function(t,e){var n=ie();e=e===void 0?null:e;var a=t();if(ra){gn(!0);try{t()}finally{gn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=ie();if(n!==void 0){var u=n(e);if(ra){gn(!0);try{n(e)}finally{gn(!1)}}}else u=e;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=np.bind(null,ct,t),[a.memoizedState,t]},useRef:function(t){var e=ie();return t={current:t},e.memoizedState=t},useState:function(t){t=dc(t);var e=t.queue,n=ch.bind(null,ct,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:vc,useDeferredValue:function(t,e){var n=ie();return pc(n,t,e)},useTransition:function(){var t=dc(!1);return t=ah.bind(null,ct,t.queue,!0,!1),ie().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=ct,u=ie();if(vt){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),zt===null)throw Error(o(349));(mt&127)!==0||Uf(a,e,n)}u.memoizedState=n;var c={value:n,getSnapshot:e};return u.queue=c,Pf(wf.bind(null,a,c,t),[t]),a.flags|=2048,Wa(9,{destroy:void 0},Lf.bind(null,a,c,n,e),null),n},useId:function(){var t=ie(),e=zt.identifierPrefix;if(vt){var n=Ve,a=Xe;n=(a&~(1<<32-ve(a)-1)).toString(32)+n,e="_"+e+"R_"+n,n=iu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Fv++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Sc,useFormState:Xf,useActionState:Xf,useOptimistic:function(t){var e=ie();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=bc.bind(null,ct,!0,n),n.dispatch=e,[t,e]},useMemoCache:rc,useCacheRefresh:function(){return ie().memoizedState=ep.bind(null,ct)},useEffectEvent:function(t){var e=ie(),n={impl:t};return e.memoizedState=n,function(){if((_t&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},_c={readContext:$t,use:su,useCallback:th,useContext:$t,useEffect:yc,useImperativeHandle:$f,useInsertionEffect:kf,useLayoutEffect:Wf,useMemo:eh,useReducer:cu,useRef:Jf,useState:function(){return cu(un)},useDebugValue:vc,useDeferredValue:function(t,e){var n=Yt();return nh(n,Ot.memoizedState,t,e)},useTransition:function(){var t=cu(un)[0],e=Yt().memoizedState;return[typeof t=="boolean"?t:Xl(t),e]},useSyncExternalStore:Df,useId:uh,useHostTransitionStatus:Sc,useFormState:Vf,useActionState:Vf,useOptimistic:function(t,e){var n=Yt();return jf(n,Ot,t,e)},useMemoCache:rc,useCacheRefresh:sh};_c.useEffectEvent=Ff;var hh={readContext:$t,use:su,useCallback:th,useContext:$t,useEffect:yc,useImperativeHandle:$f,useInsertionEffect:kf,useLayoutEffect:Wf,useMemo:eh,useReducer:hc,useRef:Jf,useState:function(){return hc(un)},useDebugValue:vc,useDeferredValue:function(t,e){var n=Yt();return Ot===null?pc(n,t,e):nh(n,Ot.memoizedState,t,e)},useTransition:function(){var t=hc(un)[0],e=Yt().memoizedState;return[typeof t=="boolean"?t:Xl(t),e]},useSyncExternalStore:Df,useId:uh,useHostTransitionStatus:Sc,useFormState:Zf,useActionState:Zf,useOptimistic:function(t,e){var n=Yt();return Ot!==null?jf(n,Ot,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:rc,useCacheRefresh:sh};hh.useEffectEvent=Ff;function Rc(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:g({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Ec={enqueueSetState:function(t,e,n){t=t._reactInternals;var a=Ee(),u=On(a);u.payload=e,n!=null&&(u.callback=n),e=Cn(t,u,a),e!==null&&(de(e,t,a),ql(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=Ee(),u=On(a);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Cn(t,u,a),e!==null&&(de(e,t,a),ql(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Ee(),a=On(n);a.tag=2,e!=null&&(a.callback=e),e=Cn(t,a,n),e!==null&&(de(e,t,n),ql(e,t,n))}};function dh(t,e,n,a,u,c,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,c,f):e.prototype&&e.prototype.isPureReactComponent?!Dl(n,a)||!Dl(u,c):!0}function mh(t,e,n,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,a),e.state!==t&&Ec.enqueueReplaceState(e,e.state,null)}function fa(t,e){var n=e;if("ref"in e){n={};for(var a in e)a!=="ref"&&(n[a]=e[a])}if(t=t.defaultProps){n===e&&(n=g({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function yh(t){Xi(t)}function vh(t){console.error(t)}function ph(t){Xi(t)}function hu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function gh(t,e,n){try{var a=t.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Tc(t,e,n){return n=On(n),n.tag=3,n.payload={element:null},n.callback=function(){hu(t,e)},n}function Sh(t){return t=On(t),t.tag=3,t}function bh(t,e,n,a){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var c=a.value;t.payload=function(){return u(c)},t.callback=function(){gh(e,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){gh(e,n,a),typeof u!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var v=a.stack;this.componentDidCatch(a.value,{componentStack:v!==null?v:""})})}function ap(t,e,n,a,u){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&Xa(e,n,u,!0),n=Se.current,n!==null){switch(n.tag){case 31:case 13:return Ue===null?Tu():n.alternate===null&&Ht===0&&(Ht=3),n.flags&=-257,n.flags|=65536,n.lanes=u,a===$i?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),Fc(t,a,u)),!1;case 22:return n.flags|=65536,a===$i?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([a]):n.add(a)),Fc(t,a,u)),!1}throw Error(o(435,n.tag))}return Fc(t,a,u),Tu(),!1}if(vt)return e=Se.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,a!==Xs&&(t=Error(o(422),{cause:a}),wl(Ae(t,n)))):(a!==Xs&&(e=Error(o(423),{cause:a}),wl(Ae(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=Ae(a,n),u=Tc(t.stateNode,a,u),tc(t,u),Ht!==4&&(Ht=2)),!1;var c=Error(o(520),{cause:a});if(c=Ae(c,n),$l===null?$l=[c]:$l.push(c),Ht!==4&&(Ht=2),e===null)return!0;a=Ae(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=Tc(n.stateNode,a,t),tc(n,t),!1;case 1:if(e=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Ln===null||!Ln.has(c))))return n.flags|=65536,u&=-u,n.lanes|=u,u=Sh(u),bh(u,t,n,a),tc(n,u),!1}n=n.return}while(n!==null);return!1}var Mc=Error(o(461)),Vt=!1;function te(t,e,n,a){e.child=t===null?Tf(e,null,n,a):oa(e,t.child,n,a)}function _h(t,e,n,a,u){n=n.render;var c=e.ref;if("ref"in a){var f={};for(var v in a)v!=="ref"&&(f[v]=a[v])}else f=a;return ia(e),a=uc(t,e,n,f,c,u),v=sc(),t!==null&&!Vt?(cc(t,e,u),sn(t,e,u)):(vt&&v&&Ys(e),e.flags|=1,te(t,e,a,u),e.child)}function Rh(t,e,n,a,u){if(t===null){var c=n.type;return typeof c=="function"&&!Hs(c)&&c.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=c,Eh(t,e,c,a,u)):(t=Ji(n.type,null,a,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Lc(t,u)){var f=c.memoizedProps;if(n=n.compare,n=n!==null?n:Dl,n(f,a)&&t.ref===e.ref)return sn(t,e,u)}return e.flags|=1,t=tn(c,a),t.ref=e.ref,t.return=e,e.child=t}function Eh(t,e,n,a,u){if(t!==null){var c=t.memoizedProps;if(Dl(c,a)&&t.ref===e.ref)if(Vt=!1,e.pendingProps=a=c,Lc(t,u))(t.flags&131072)!==0&&(Vt=!0);else return e.lanes=t.lanes,sn(t,e,u)}return Oc(t,e,n,a,u)}function Th(t,e,n,a){var u=a.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,t!==null){for(a=e.child=t.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~c}else a=0,e.child=null;return Mh(t,e,c,n,a)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Wi(e,c!==null?c.cachePool:null),c!==null?Cf(e,c):nc(),Af(e);else return a=e.lanes=536870912,Mh(t,e,c!==null?c.baseLanes|n:n,n,a)}else c!==null?(Wi(e,c.cachePool),Cf(e,c),xn(),e.memoizedState=null):(t!==null&&Wi(e,null),nc(),xn());return te(t,e,u,n),e.child}function Zl(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Mh(t,e,n,a,u){var c=ks();return c=c===null?null:{parent:Gt._currentValue,pool:c},e.memoizedState={baseLanes:n,cachePool:c},t!==null&&Wi(e,null),nc(),Af(e),t!==null&&Xa(t,e,a,!0),e.childLanes=u,null}function du(t,e){return e=yu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Oh(t,e,n){return oa(e,t.child,null,n),t=du(e,e.pendingProps),t.flags|=2,be(e),e.memoizedState=null,t}function lp(t,e,n){var a=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(vt){if(a.mode==="hidden")return t=du(e,a),e.lanes=536870912,Zl(null,t);if(lc(e),(t=Ut)?(t=Hd(t,De),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:_n!==null?{id:Xe,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},n=of(t),n.return=e,e.child=n,It=e,Ut=null)):t=null,t===null)throw En(e);return e.lanes=536870912,null}return du(e,a)}var c=t.memoizedState;if(c!==null){var f=c.dehydrated;if(lc(e),u)if(e.flags&256)e.flags&=-257,e=Oh(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(Vt||Xa(t,e,n,!1),u=(n&t.childLanes)!==0,Vt||u){if(a=zt,a!==null&&(f=yr(a,n),f!==0&&f!==c.retryLane))throw c.retryLane=f,ea(t,f),de(a,t,f),Mc;Tu(),e=Oh(t,e,n)}else t=c.treeContext,Ut=Le(f.nextSibling),It=e,vt=!0,Rn=null,De=!1,t!==null&&hf(e,t),e=du(e,a),e.flags|=4096;return e}return t=tn(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function mu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Oc(t,e,n,a,u){return ia(e),n=uc(t,e,n,a,void 0,u),a=sc(),t!==null&&!Vt?(cc(t,e,u),sn(t,e,u)):(vt&&a&&Ys(e),e.flags|=1,te(t,e,n,u),e.child)}function Ch(t,e,n,a,u,c){return ia(e),e.updateQueue=null,n=zf(e,a,n,u),xf(t),a=sc(),t!==null&&!Vt?(cc(t,e,c),sn(t,e,c)):(vt&&a&&Ys(e),e.flags|=1,te(t,e,n,c),e.child)}function Ah(t,e,n,a,u){if(ia(e),e.stateNode===null){var c=qa,f=n.contextType;typeof f=="object"&&f!==null&&(c=$t(f)),c=new n(a,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Ec,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=a,c.state=e.memoizedState,c.refs={},Is(e),f=n.contextType,c.context=typeof f=="object"&&f!==null?$t(f):qa,c.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Rc(e,n,f,a),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(f=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),f!==c.state&&Ec.enqueueReplaceState(c,c.state,null),Yl(e,a,c,u),Ql(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){c=e.stateNode;var v=e.memoizedProps,R=fa(n,v);c.props=R;var x=c.context,N=n.contextType;f=qa,typeof N=="object"&&N!==null&&(f=$t(N));var H=n.getDerivedStateFromProps;N=typeof H=="function"||typeof c.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,N||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(v||x!==f)&&mh(e,c,a,f),Mn=!1;var z=e.memoizedState;c.state=z,Yl(e,a,c,u),Ql(),x=e.memoizedState,v||z!==x||Mn?(typeof H=="function"&&(Rc(e,n,H,a),x=e.memoizedState),(R=Mn||dh(e,n,R,a,z,x,f))?(N||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=x),c.props=a,c.state=x,c.context=f,a=R):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{c=e.stateNode,$s(t,e),f=e.memoizedProps,N=fa(n,f),c.props=N,H=e.pendingProps,z=c.context,x=n.contextType,R=qa,typeof x=="object"&&x!==null&&(R=$t(x)),v=n.getDerivedStateFromProps,(x=typeof v=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==H||z!==R)&&mh(e,c,a,R),Mn=!1,z=e.memoizedState,c.state=z,Yl(e,a,c,u),Ql();var U=e.memoizedState;f!==H||z!==U||Mn||t!==null&&t.dependencies!==null&&Fi(t.dependencies)?(typeof v=="function"&&(Rc(e,n,v,a),U=e.memoizedState),(N=Mn||dh(e,n,N,a,z,U,R)||t!==null&&t.dependencies!==null&&Fi(t.dependencies))?(x||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(a,U,R),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(a,U,R)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=U),c.props=a,c.state=U,c.context=R,a=N):(typeof c.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),a=!1)}return c=a,mu(t,e),a=(e.flags&128)!==0,c||a?(c=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&a?(e.child=oa(e,t.child,null,u),e.child=oa(e,null,n,u)):te(t,e,n,u),e.memoizedState=c.state,t=e.child):t=sn(t,e,u),t}function xh(t,e,n,a){return aa(),e.flags|=256,te(t,e,n,a),e.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(t){return{baseLanes:t,cachePool:gf()}}function xc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Re),t}function zh(t,e,n){var a=e.pendingProps,u=!1,c=(e.flags&128)!==0,f;if((f=c)||(f=t!==null&&t.memoizedState===null?!1:(Qt.current&2)!==0),f&&(u=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(vt){if(u?An(e):xn(),(t=Ut)?(t=Hd(t,De),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:_n!==null?{id:Xe,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},n=of(t),n.return=e,e.child=n,It=e,Ut=null)):t=null,t===null)throw En(e);return fo(t)?e.lanes=32:e.lanes=536870912,null}var v=a.children;return a=a.fallback,u?(xn(),u=e.mode,v=yu({mode:"hidden",children:v},u),a=na(a,u,n,null),v.return=e,a.return=e,v.sibling=a,e.child=v,a=e.child,a.memoizedState=Ac(n),a.childLanes=xc(t,f,n),e.memoizedState=Cc,Zl(null,a)):(An(e),zc(e,v))}var R=t.memoizedState;if(R!==null&&(v=R.dehydrated,v!==null)){if(c)e.flags&256?(An(e),e.flags&=-257,e=Dc(t,e,n)):e.memoizedState!==null?(xn(),e.child=t.child,e.flags|=128,e=null):(xn(),v=a.fallback,u=e.mode,a=yu({mode:"visible",children:a.children},u),v=na(v,u,n,null),v.flags|=2,a.return=e,v.return=e,a.sibling=v,e.child=a,oa(e,t.child,null,n),a=e.child,a.memoizedState=Ac(n),a.childLanes=xc(t,f,n),e.memoizedState=Cc,e=Zl(null,a));else if(An(e),fo(v)){if(f=v.nextSibling&&v.nextSibling.dataset,f)var x=f.dgst;f=x,a=Error(o(419)),a.stack="",a.digest=f,wl({value:a,source:null,stack:null}),e=Dc(t,e,n)}else if(Vt||Xa(t,e,n,!1),f=(n&t.childLanes)!==0,Vt||f){if(f=zt,f!==null&&(a=yr(f,n),a!==0&&a!==R.retryLane))throw R.retryLane=a,ea(t,a),de(f,t,a),Mc;ro(v)||Tu(),e=Dc(t,e,n)}else ro(v)?(e.flags|=192,e.child=t.child,e=null):(t=R.treeContext,Ut=Le(v.nextSibling),It=e,vt=!0,Rn=null,De=!1,t!==null&&hf(e,t),e=zc(e,a.children),e.flags|=4096);return e}return u?(xn(),v=a.fallback,u=e.mode,R=t.child,x=R.sibling,a=tn(R,{mode:"hidden",children:a.children}),a.subtreeFlags=R.subtreeFlags&65011712,x!==null?v=tn(x,v):(v=na(v,u,n,null),v.flags|=2),v.return=e,a.return=e,a.sibling=v,e.child=a,Zl(null,a),a=e.child,v=t.child.memoizedState,v===null?v=Ac(n):(u=v.cachePool,u!==null?(R=Gt._currentValue,u=u.parent!==R?{parent:R,pool:R}:u):u=gf(),v={baseLanes:v.baseLanes|n,cachePool:u}),a.memoizedState=v,a.childLanes=xc(t,f,n),e.memoizedState=Cc,Zl(t.child,a)):(An(e),n=t.child,t=n.sibling,n=tn(n,{mode:"visible",children:a.children}),n.return=e,n.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=n,e.memoizedState=null,n)}function zc(t,e){return e=yu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function yu(t,e){return t=ge(22,t,null,e),t.lanes=0,t}function Dc(t,e,n){return oa(e,t.child,null,n),t=zc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Dh(t,e,n){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Zs(t.return,e,n)}function Uc(t,e,n,a,u,c){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:u,treeForkCount:c}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=u,f.treeForkCount=c)}function Uh(t,e,n){var a=e.pendingProps,u=a.revealOrder,c=a.tail;a=a.children;var f=Qt.current,v=(f&2)!==0;if(v?(f=f&1|2,e.flags|=128):f&=1,Z(Qt,f),te(t,e,a,n),a=vt?Ll:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Dh(t,n,e);else if(t.tag===19)Dh(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(n=e.child,u=null;n!==null;)t=n.alternate,t!==null&&au(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),Uc(e,!1,u,n,c,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&au(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}Uc(e,!0,n,null,c,a);break;case"together":Uc(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function sn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Un|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Xa(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,n=tn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=tn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Lc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Fi(t)))}function ip(t,e,n){switch(e.tag){case 3:qt(e,e.stateNode.containerInfo),Tn(e,Gt,t.memoizedState.cache),aa();break;case 27:case 5:Pe(e);break;case 4:qt(e,e.stateNode.containerInfo);break;case 10:Tn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,lc(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(An(e),e.flags|=128,null):(n&e.child.childLanes)!==0?zh(t,e,n):(An(e),t=sn(t,e,n),t!==null?t.sibling:null);An(e);break;case 19:var u=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(Xa(t,e,n,!1),a=(n&e.childLanes)!==0),u){if(a)return Uh(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Z(Qt,Qt.current),a)break;return null;case 22:return e.lanes=0,Th(t,e,n,e.pendingProps);case 24:Tn(e,Gt,t.memoizedState.cache)}return sn(t,e,n)}function Lh(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Vt=!0;else{if(!Lc(t,n)&&(e.flags&128)===0)return Vt=!1,ip(t,e,n);Vt=(t.flags&131072)!==0}else Vt=!1,vt&&(e.flags&1048576)!==0&&ff(e,Ll,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=sa(e.elementType),e.type=t,typeof t=="function")Hs(t)?(a=fa(t,a),e.tag=1,e=Ah(null,e,t,a,n)):(e.tag=0,e=Oc(null,e,t,a,n));else{if(t!=null){var u=t.$$typeof;if(u===Y){e.tag=11,e=_h(null,e,t,a,n);break t}else if(u===q){e.tag=14,e=Rh(null,e,t,a,n);break t}}throw e=Bt(t)||t,Error(o(306,e,""))}}return e;case 0:return Oc(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,u=fa(a,e.pendingProps),Ah(t,e,a,u,n);case 3:t:{if(qt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));a=e.pendingProps;var c=e.memoizedState;u=c.element,$s(t,e),Yl(e,a,null,n);var f=e.memoizedState;if(a=f.cache,Tn(e,Gt,a),a!==c.cache&&Js(e,[Gt],n,!0),Ql(),a=f.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=xh(t,e,a,n);break t}else if(a!==u){u=Ae(Error(o(424)),e),wl(u),e=xh(t,e,a,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ut=Le(t.firstChild),It=e,vt=!0,Rn=null,De=!0,n=Tf(e,null,a,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(aa(),a===u){e=sn(t,e,n);break t}te(t,e,a,n)}e=e.child}return e;case 26:return mu(t,e),t===null?(n=Vd(e.type,null,e.pendingProps,null))?e.memoizedState=n:vt||(n=e.type,t=e.pendingProps,a=Du(ft.current).createElement(n),a[Wt]=e,a[se]=t,ee(a,n,t),Pt(a),e.stateNode=a):e.memoizedState=Vd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Pe(e),t===null&&vt&&(a=e.stateNode=Yd(e.type,e.pendingProps,ft.current),It=e,De=!0,u=Ut,jn(e.type)?(ho=u,Ut=Le(a.firstChild)):Ut=u),te(t,e,e.pendingProps.children,n),mu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&vt&&((u=a=Ut)&&(a=Np(a,e.type,e.pendingProps,De),a!==null?(e.stateNode=a,It=e,Ut=Le(a.firstChild),De=!1,u=!0):u=!1),u||En(e)),Pe(e),u=e.type,c=e.pendingProps,f=t!==null?t.memoizedProps:null,a=c.children,so(u,c)?a=null:f!==null&&so(u,f)&&(e.flags|=32),e.memoizedState!==null&&(u=uc(t,e,kv,null,null,n),si._currentValue=u),mu(t,e),te(t,e,a,n),e.child;case 6:return t===null&&vt&&((t=n=Ut)&&(n=Bp(n,e.pendingProps,De),n!==null?(e.stateNode=n,It=e,Ut=null,t=!0):t=!1),t||En(e)),null;case 13:return zh(t,e,n);case 4:return qt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=oa(e,null,a,n):te(t,e,a,n),e.child;case 11:return _h(t,e,e.type,e.pendingProps,n);case 7:return te(t,e,e.pendingProps,n),e.child;case 8:return te(t,e,e.pendingProps.children,n),e.child;case 12:return te(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,Tn(e,e.type,a.value),te(t,e,a.children,n),e.child;case 9:return u=e.type._context,a=e.pendingProps.children,ia(e),u=$t(u),a=a(u),e.flags|=1,te(t,e,a,n),e.child;case 14:return Rh(t,e,e.type,e.pendingProps,n);case 15:return Eh(t,e,e.type,e.pendingProps,n);case 19:return Uh(t,e,n);case 31:return lp(t,e,n);case 22:return Th(t,e,n,e.pendingProps);case 24:return ia(e),a=$t(Gt),t===null?(u=ks(),u===null&&(u=zt,c=Ps(),u.pooledCache=c,c.refCount++,c!==null&&(u.pooledCacheLanes|=n),u=c),e.memoizedState={parent:a,cache:u},Is(e),Tn(e,Gt,u)):((t.lanes&n)!==0&&($s(t,e),Yl(e,null,null,n),Ql()),u=t.memoizedState,c=e.memoizedState,u.parent!==a?(u={parent:a,cache:a},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Tn(e,Gt,a)):(a=c.cache,Tn(e,Gt,a),a!==u.cache&&Js(e,[Gt],n,!0))),te(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function cn(t){t.flags|=4}function wc(t,e,n,a,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(ud())t.flags|=8192;else throw ca=$i,Ws}else t.flags&=-16777217}function wh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Fd(e))if(ud())t.flags|=8192;else throw ca=$i,Ws}function vu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?hr():536870912,t.lanes|=e,el|=e)}function Jl(t,e){if(!vt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Lt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,a=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=n,e}function up(t,e,n){var a=e.pendingProps;switch(Gs(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(e),null;case 1:return Lt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),an(Gt),xt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ga(e)?cn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Vs())),Lt(e),null;case 26:var u=e.type,c=e.memoizedState;return t===null?(cn(e),c!==null?(Lt(e),wh(e,c)):(Lt(e),wc(e,u,null,a,n))):c?c!==t.memoizedState?(cn(e),Lt(e),wh(e,c)):(Lt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&cn(e),Lt(e),wc(e,u,t,a,n)),null;case 27:if(Fe(e),n=ft.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&cn(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return Lt(e),null}t=P.current,Ga(e)?df(e):(t=Yd(u,a,n),e.stateNode=t,cn(e))}return Lt(e),null;case 5:if(Fe(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&cn(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return Lt(e),null}if(c=P.current,Ga(e))df(e);else{var f=Du(ft.current);switch(c){case 1:c=f.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:c=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":c=f.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":c=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":c=f.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?f.createElement(u,{is:a.is}):f.createElement(u)}}c[Wt]=e,c[se]=a;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)c.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=c;t:switch(ee(c,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&cn(e)}}return Lt(e),wc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&cn(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=ft.current,Ga(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,u=It,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[Wt]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||zd(t.nodeValue,n)),t||En(e,!0)}else t=Du(t).createTextNode(a),t[Wt]=e,e.stateNode=t}return Lt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(a=Ga(e),n!==null){if(t===null){if(!a)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Wt]=e}else aa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),t=!1}else n=Vs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(be(e),e):(be(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Lt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Ga(e),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Wt]=e}else aa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),u=!1}else u=Vs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(be(e),e):(be(e),null)}return be(e),(e.flags&128)!==0?(e.lanes=n,e):(n=a!==null,t=t!==null&&t.memoizedState!==null,n&&(a=e.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),vu(e,e.updateQueue),Lt(e),null);case 4:return xt(),t===null&&no(e.stateNode.containerInfo),Lt(e),null;case 10:return an(e.type),Lt(e),null;case 19:if(j(Qt),a=e.memoizedState,a===null)return Lt(e),null;if(u=(e.flags&128)!==0,c=a.rendering,c===null)if(u)Jl(a,!1);else{if(Ht!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=au(t),c!==null){for(e.flags|=128,Jl(a,!1),t=c.updateQueue,e.updateQueue=t,vu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)cf(n,t),n=n.sibling;return Z(Qt,Qt.current&1|2),vt&&en(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ne()>_u&&(e.flags|=128,u=!0,Jl(a,!1),e.lanes=4194304)}else{if(!u)if(t=au(c),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,vu(e,t),Jl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!vt)return Lt(e),null}else 2*ne()-a.renderingStartTime>_u&&n!==536870912&&(e.flags|=128,u=!0,Jl(a,!1),e.lanes=4194304);a.isBackwards?(c.sibling=e.child,e.child=c):(t=a.last,t!==null?t.sibling=c:e.child=c,a.last=c)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ne(),t.sibling=null,n=Qt.current,Z(Qt,u?n&1|2:n&1),vt&&en(e,a.treeForkCount),t):(Lt(e),null);case 22:case 23:return be(e),ac(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Lt(e),e.subtreeFlags&6&&(e.flags|=8192)):Lt(e),n=e.updateQueue,n!==null&&vu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&j(ua),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),an(Gt),Lt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function sp(t,e){switch(Gs(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return an(Gt),xt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Fe(e),null;case 31:if(e.memoizedState!==null){if(be(e),e.alternate===null)throw Error(o(340));aa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(be(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));aa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return j(Qt),null;case 4:return xt(),null;case 10:return an(e.type),null;case 22:case 23:return be(e),ac(),t!==null&&j(ua),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return an(Gt),null;case 25:return null;default:return null}}function Nh(t,e){switch(Gs(e),e.tag){case 3:an(Gt),xt();break;case 26:case 27:case 5:Fe(e);break;case 4:xt();break;case 31:e.memoizedState!==null&&be(e);break;case 13:be(e);break;case 19:j(Qt);break;case 10:an(e.type);break;case 22:case 23:be(e),ac(),t!==null&&j(ua);break;case 24:an(Gt)}}function Pl(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){a=void 0;var c=n.create,f=n.inst;a=c(),f.destroy=a}n=n.next}while(n!==u)}}catch(v){Tt(e,e.return,v)}}function zn(t,e,n){try{var a=e.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next;a=c;do{if((a.tag&t)===t){var f=a.inst,v=f.destroy;if(v!==void 0){f.destroy=void 0,u=e;var R=n,x=v;try{x()}catch(N){Tt(u,R,N)}}}a=a.next}while(a!==c)}}catch(N){Tt(e,e.return,N)}}function Bh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Of(e,n)}catch(a){Tt(t,t.return,a)}}}function jh(t,e,n){n.props=fa(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){Tt(t,e,a)}}function Fl(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof n=="function"?t.refCleanup=n(a):n.current=a}}catch(u){Tt(t,e,u)}}function Ke(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(u){Tt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Tt(t,e,u)}else n.current=null}function Hh(t){var e=t.type,n=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break t;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(u){Tt(t,t.return,u)}}function Nc(t,e,n){try{var a=t.stateNode;xp(a,t.type,n,e),a[se]=e}catch(u){Tt(t,t.return,u)}}function qh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&jn(t.type)||t.tag===4}function Bc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||qh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&jn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function jc(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Ie));else if(a!==4&&(a===27&&jn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(jc(t,e,n),t=t.sibling;t!==null;)jc(t,e,n),t=t.sibling}function pu(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(a!==4&&(a===27&&jn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(pu(t,e,n),t=t.sibling;t!==null;)pu(t,e,n),t=t.sibling}function Qh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);ee(e,a,n),e[Wt]=t,e[se]=n}catch(c){Tt(t,t.return,c)}}var on=!1,Kt=!1,Hc=!1,Yh=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function cp(t,e){if(t=t.containerInfo,io=Hu,t=Ir(t),Ds(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var u=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break t}var f=0,v=-1,R=-1,x=0,N=0,H=t,z=null;e:for(;;){for(var U;H!==n||u!==0&&H.nodeType!==3||(v=f+u),H!==c||a!==0&&H.nodeType!==3||(R=f+a),H.nodeType===3&&(f+=H.nodeValue.length),(U=H.firstChild)!==null;)z=H,H=U;for(;;){if(H===t)break e;if(z===n&&++x===u&&(v=f),z===c&&++N===a&&(R=f),(U=H.nextSibling)!==null)break;H=z,z=H.parentNode}H=U}n=v===-1||R===-1?null:{start:v,end:R}}else n=null}n=n||{start:0,end:0}}else n=null;for(uo={focusedElem:t,selectionRange:n},Hu=!1,Ft=e;Ft!==null;)if(e=Ft,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ft=t;else for(;Ft!==null;){switch(e=Ft,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)u=t[n],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,n=e,u=c.memoizedProps,c=c.memoizedState,a=n.stateNode;try{var k=fa(n.type,u);t=a.getSnapshotBeforeUpdate(k,c),a.__reactInternalSnapshotBeforeUpdate=t}catch(it){Tt(n,n.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)oo(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":oo(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,Ft=t;break}Ft=e.return}}function Gh(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:fn(t,n),a&4&&Pl(5,n);break;case 1:if(fn(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(f){Tt(n,n.return,f)}else{var u=fa(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Tt(n,n.return,f)}}a&64&&Bh(n),a&512&&Fl(n,n.return);break;case 3:if(fn(t,n),a&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Of(t,e)}catch(f){Tt(n,n.return,f)}}break;case 27:e===null&&a&4&&Qh(n);case 26:case 5:fn(t,n),e===null&&a&4&&Hh(n),a&512&&Fl(n,n.return);break;case 12:fn(t,n);break;case 31:fn(t,n),a&4&&Kh(t,n);break;case 13:fn(t,n),a&4&&Zh(t,n),a&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=pp.bind(null,n),jp(t,n))));break;case 22:if(a=n.memoizedState!==null||on,!a){e=e!==null&&e.memoizedState!==null||Kt,u=on;var c=Kt;on=a,(Kt=e)&&!c?hn(t,n,(n.subtreeFlags&8772)!==0):fn(t,n),on=u,Kt=c}break;case 30:break;default:fn(t,n)}}function Xh(t){var e=t.alternate;e!==null&&(t.alternate=null,Xh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&ms(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var wt=null,oe=!1;function rn(t,e,n){for(n=n.child;n!==null;)Vh(t,e,n),n=n.sibling}function Vh(t,e,n){if(ye&&typeof ye.onCommitFiberUnmount=="function")try{ye.onCommitFiberUnmount(Sl,n)}catch{}switch(n.tag){case 26:Kt||Ke(n,e),rn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Kt||Ke(n,e);var a=wt,u=oe;jn(n.type)&&(wt=n.stateNode,oe=!1),rn(t,e,n),li(n.stateNode),wt=a,oe=u;break;case 5:Kt||Ke(n,e);case 6:if(a=wt,u=oe,wt=null,rn(t,e,n),wt=a,oe=u,wt!==null)if(oe)try{(wt.nodeType===9?wt.body:wt.nodeName==="HTML"?wt.ownerDocument.body:wt).removeChild(n.stateNode)}catch(c){Tt(n,e,c)}else try{wt.removeChild(n.stateNode)}catch(c){Tt(n,e,c)}break;case 18:wt!==null&&(oe?(t=wt,Bd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ol(t)):Bd(wt,n.stateNode));break;case 4:a=wt,u=oe,wt=n.stateNode.containerInfo,oe=!0,rn(t,e,n),wt=a,oe=u;break;case 0:case 11:case 14:case 15:zn(2,n,e),Kt||zn(4,n,e),rn(t,e,n);break;case 1:Kt||(Ke(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&jh(n,e,a)),rn(t,e,n);break;case 21:rn(t,e,n);break;case 22:Kt=(a=Kt)||n.memoizedState!==null,rn(t,e,n),Kt=a;break;default:rn(t,e,n)}}function Kh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ol(t)}catch(n){Tt(e,e.return,n)}}}function Zh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ol(t)}catch(n){Tt(e,e.return,n)}}function op(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Yh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Yh),e;default:throw Error(o(435,t.tag))}}function gu(t,e){var n=op(t);e.forEach(function(a){if(!n.has(a)){n.add(a);var u=gp.bind(null,t,a);a.then(u,u)}})}function re(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var u=n[a],c=t,f=e,v=f;t:for(;v!==null;){switch(v.tag){case 27:if(jn(v.type)){wt=v.stateNode,oe=!1;break t}break;case 5:wt=v.stateNode,oe=!1;break t;case 3:case 4:wt=v.stateNode.containerInfo,oe=!0;break t}v=v.return}if(wt===null)throw Error(o(160));Vh(c,f,u),wt=null,oe=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Jh(e,t),e=e.sibling}var qe=null;function Jh(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:re(e,t),fe(t),a&4&&(zn(3,t,t.return),Pl(3,t),zn(5,t,t.return));break;case 1:re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),a&64&&on&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var u=qe;if(re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),a&4){var c=n!==null?n.memoizedState:null;if(a=t.memoizedState,n===null)if(a===null)if(t.stateNode===null){t:{a=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(a){case"title":c=u.getElementsByTagName("title")[0],(!c||c[Rl]||c[Wt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=u.createElement(a),u.head.insertBefore(c,u.querySelector("head > title"))),ee(c,a,n),c[Wt]=t,Pt(c),a=c;break t;case"link":var f=Jd("link","href",u).get(a+(n.href||""));if(f){for(var v=0;v<f.length;v++)if(c=f[v],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(v,1);break e}}c=u.createElement(a),ee(c,a,n),u.head.appendChild(c);break;case"meta":if(f=Jd("meta","content",u).get(a+(n.content||""))){for(v=0;v<f.length;v++)if(c=f[v],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(v,1);break e}}c=u.createElement(a),ee(c,a,n),u.head.appendChild(c);break;default:throw Error(o(468,a))}c[Wt]=t,Pt(c),a=c}t.stateNode=a}else Pd(u,t.type,t.stateNode);else t.stateNode=Zd(u,a,t.memoizedProps);else c!==a?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,a===null?Pd(u,t.type,t.stateNode):Zd(u,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Nc(t,t.memoizedProps,n.memoizedProps)}break;case 27:re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),n!==null&&a&4&&Nc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),t.flags&32){u=t.stateNode;try{Ua(u,"")}catch(k){Tt(t,t.return,k)}}a&4&&t.stateNode!=null&&(u=t.memoizedProps,Nc(t,u,n!==null?n.memoizedProps:u)),a&1024&&(Hc=!0);break;case 6:if(re(e,t),fe(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(k){Tt(t,t.return,k)}}break;case 3:if(wu=null,u=qe,qe=Uu(e.containerInfo),re(e,t),qe=u,fe(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{ol(e.containerInfo)}catch(k){Tt(t,t.return,k)}Hc&&(Hc=!1,Ph(t));break;case 4:a=qe,qe=Uu(t.stateNode.containerInfo),re(e,t),fe(t),qe=a;break;case 12:re(e,t),fe(t);break;case 31:re(e,t),fe(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gu(t,a)));break;case 13:re(e,t),fe(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(bu=ne()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gu(t,a)));break;case 22:u=t.memoizedState!==null;var R=n!==null&&n.memoizedState!==null,x=on,N=Kt;if(on=x||u,Kt=N||R,re(e,t),Kt=N,on=x,fe(t),a&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||R||on||Kt||ha(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){R=n=e;try{if(c=R.stateNode,u)f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{v=R.stateNode;var H=R.memoizedProps.style,z=H!=null&&H.hasOwnProperty("display")?H.display:null;v.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(k){Tt(R,R.return,k)}}}else if(e.tag===6){if(n===null){R=e;try{R.stateNode.nodeValue=u?"":R.memoizedProps}catch(k){Tt(R,R.return,k)}}}else if(e.tag===18){if(n===null){R=e;try{var U=R.stateNode;u?jd(U,!0):jd(R.stateNode,!1)}catch(k){Tt(R,R.return,k)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,gu(t,n))));break;case 19:re(e,t),fe(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gu(t,a)));break;case 30:break;case 21:break;default:re(e,t),fe(t)}}function fe(t){var e=t.flags;if(e&2){try{for(var n,a=t.return;a!==null;){if(qh(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var u=n.stateNode,c=Bc(t);pu(t,c,u);break;case 5:var f=n.stateNode;n.flags&32&&(Ua(f,""),n.flags&=-33);var v=Bc(t);pu(t,v,f);break;case 3:case 4:var R=n.stateNode.containerInfo,x=Bc(t);jc(t,x,R);break;default:throw Error(o(161))}}catch(N){Tt(t,t.return,N)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Ph(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Ph(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function fn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Gh(t,e.alternate,e),e=e.sibling}function ha(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:zn(4,e,e.return),ha(e);break;case 1:Ke(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&jh(e,e.return,n),ha(e);break;case 27:li(e.stateNode);case 26:case 5:Ke(e,e.return),ha(e);break;case 22:e.memoizedState===null&&ha(e);break;case 30:ha(e);break;default:ha(e)}t=t.sibling}}function hn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,u=t,c=e,f=c.flags;switch(c.tag){case 0:case 11:case 15:hn(u,c,n),Pl(4,c);break;case 1:if(hn(u,c,n),a=c,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(x){Tt(a,a.return,x)}if(a=c,u=a.updateQueue,u!==null){var v=a.stateNode;try{var R=u.shared.hiddenCallbacks;if(R!==null)for(u.shared.hiddenCallbacks=null,u=0;u<R.length;u++)Mf(R[u],v)}catch(x){Tt(a,a.return,x)}}n&&f&64&&Bh(c),Fl(c,c.return);break;case 27:Qh(c);case 26:case 5:hn(u,c,n),n&&a===null&&f&4&&Hh(c),Fl(c,c.return);break;case 12:hn(u,c,n);break;case 31:hn(u,c,n),n&&f&4&&Kh(u,c);break;case 13:hn(u,c,n),n&&f&4&&Zh(u,c);break;case 22:c.memoizedState===null&&hn(u,c,n),Fl(c,c.return);break;case 30:break;default:hn(u,c,n)}e=e.sibling}}function qc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Nl(n))}function Qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Nl(t))}function Qe(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fh(t,e,n,a),e=e.sibling}function Fh(t,e,n,a){var u=e.flags;switch(e.tag){case 0:case 11:case 15:Qe(t,e,n,a),u&2048&&Pl(9,e);break;case 1:Qe(t,e,n,a);break;case 3:Qe(t,e,n,a),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Nl(t)));break;case 12:if(u&2048){Qe(t,e,n,a),t=e.stateNode;try{var c=e.memoizedProps,f=c.id,v=c.onPostCommit;typeof v=="function"&&v(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){Tt(e,e.return,R)}}else Qe(t,e,n,a);break;case 31:Qe(t,e,n,a);break;case 13:Qe(t,e,n,a);break;case 23:break;case 22:c=e.stateNode,f=e.alternate,e.memoizedState!==null?c._visibility&2?Qe(t,e,n,a):kl(t,e):c._visibility&2?Qe(t,e,n,a):(c._visibility|=2,Ia(t,e,n,a,(e.subtreeFlags&10256)!==0||!1)),u&2048&&qc(f,e);break;case 24:Qe(t,e,n,a),u&2048&&Qc(e.alternate,e);break;default:Qe(t,e,n,a)}}function Ia(t,e,n,a,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,f=e,v=n,R=a,x=f.flags;switch(f.tag){case 0:case 11:case 15:Ia(c,f,v,R,u),Pl(8,f);break;case 23:break;case 22:var N=f.stateNode;f.memoizedState!==null?N._visibility&2?Ia(c,f,v,R,u):kl(c,f):(N._visibility|=2,Ia(c,f,v,R,u)),u&&x&2048&&qc(f.alternate,f);break;case 24:Ia(c,f,v,R,u),u&&x&2048&&Qc(f.alternate,f);break;default:Ia(c,f,v,R,u)}e=e.sibling}}function kl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,a=e,u=a.flags;switch(a.tag){case 22:kl(n,a),u&2048&&qc(a.alternate,a);break;case 24:kl(n,a),u&2048&&Qc(a.alternate,a);break;default:kl(n,a)}e=e.sibling}}var Wl=8192;function $a(t,e,n){if(t.subtreeFlags&Wl)for(t=t.child;t!==null;)kh(t,e,n),t=t.sibling}function kh(t,e,n){switch(t.tag){case 26:$a(t,e,n),t.flags&Wl&&t.memoizedState!==null&&Fp(n,qe,t.memoizedState,t.memoizedProps);break;case 5:$a(t,e,n);break;case 3:case 4:var a=qe;qe=Uu(t.stateNode.containerInfo),$a(t,e,n),qe=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Wl,Wl=16777216,$a(t,e,n),Wl=a):$a(t,e,n));break;default:$a(t,e,n)}}function Wh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Il(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Ft=a,$h(a,t)}Wh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ih(t),t=t.sibling}function Ih(t){switch(t.tag){case 0:case 11:case 15:Il(t),t.flags&2048&&zn(9,t,t.return);break;case 3:Il(t);break;case 12:Il(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Su(t)):Il(t);break;default:Il(t)}}function Su(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Ft=a,$h(a,t)}Wh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:zn(8,e,e.return),Su(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Su(e));break;default:Su(e)}t=t.sibling}}function $h(t,e){for(;Ft!==null;){var n=Ft;switch(n.tag){case 0:case 11:case 15:zn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Nl(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Ft=a;else t:for(n=t;Ft!==null;){a=Ft;var u=a.sibling,c=a.return;if(Xh(a),a===n){Ft=null;break t}if(u!==null){u.return=c,Ft=u;break t}Ft=c}}}var rp={getCacheForType:function(t){var e=$t(Gt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return $t(Gt).controller.signal}},fp=typeof WeakMap=="function"?WeakMap:Map,_t=0,zt=null,ht=null,mt=0,Et=0,_e=null,Dn=!1,tl=!1,Yc=!1,dn=0,Ht=0,Un=0,da=0,Gc=0,Re=0,el=0,$l=null,he=null,Xc=!1,bu=0,td=0,_u=1/0,Ru=null,Ln=null,Zt=0,wn=null,nl=null,mn=0,Vc=0,Kc=null,ed=null,ti=0,Zc=null;function Ee(){return(_t&2)!==0&&mt!==0?mt&-mt:w.T!==null?Ic():vr()}function nd(){if(Re===0)if((mt&536870912)===0||vt){var t=zi;zi<<=1,(zi&3932160)===0&&(zi=262144),Re=t}else Re=536870912;return t=Se.current,t!==null&&(t.flags|=32),Re}function de(t,e,n){(t===zt&&(Et===2||Et===9)||t.cancelPendingCommit!==null)&&(al(t,0),Nn(t,mt,Re,!1)),_l(t,n),((_t&2)===0||t!==zt)&&(t===zt&&((_t&2)===0&&(da|=n),Ht===4&&Nn(t,mt,Re,!1)),Ze(t))}function ad(t,e,n){if((_t&6)!==0)throw Error(o(327));var a=!n&&(e&127)===0&&(e&t.expiredLanes)===0||bl(t,e),u=a?mp(t,e):Pc(t,e,!0),c=a;do{if(u===0){tl&&!a&&Nn(t,e,0,!1);break}else{if(n=t.current.alternate,c&&!hp(n)){u=Pc(t,e,!1),c=!1;continue}if(u===2){if(c=e,t.errorRecoveryDisabledLanes&c)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var v=t;u=$l;var R=v.current.memoizedState.isDehydrated;if(R&&(al(v,f).flags|=256),f=Pc(v,f,!1),f!==2){if(Yc&&!R){v.errorRecoveryDisabledLanes|=c,da|=c,u=4;break t}c=he,he=u,c!==null&&(he===null?he=c:he.push.apply(he,c))}u=f}if(c=!1,u!==2)continue}}if(u===1){al(t,0),Nn(t,e,0,!0);break}t:{switch(a=t,c=u,c){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:Nn(a,e,Re,!Dn);break t;case 2:he=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(u=bu+300-ne(),10<u)){if(Nn(a,e,Re,!Dn),Ui(a,0,!0)!==0)break t;mn=e,a.timeoutHandle=wd(ld.bind(null,a,n,he,Ru,Xc,e,Re,da,el,Dn,c,"Throttled",-0,0),u);break t}ld(a,n,he,Ru,Xc,e,Re,da,el,Dn,c,null,-0,0)}}break}while(!0);Ze(t)}function ld(t,e,n,a,u,c,f,v,R,x,N,H,z,U){if(t.timeoutHandle=-1,H=e.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ie},kh(e,c,H);var k=(c&62914560)===c?bu-ne():(c&4194048)===c?td-ne():0;if(k=kp(H,k),k!==null){mn=c,t.cancelPendingCommit=k(hd.bind(null,t,e,c,n,a,u,f,v,R,N,H,null,z,U)),Nn(t,c,f,!x);return}}hd(t,e,c,n,a,u,f,v,R)}function hp(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var u=n[a],c=u.getSnapshot;u=u.value;try{if(!pe(c(),u))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Nn(t,e,n,a){e&=~Gc,e&=~da,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var u=e;0<u;){var c=31-ve(u),f=1<<c;a[c]=-1,u&=~f}n!==0&&dr(t,n,e)}function Eu(){return(_t&6)===0?(ei(0),!1):!0}function Jc(){if(ht!==null){if(Et===0)var t=ht.return;else t=ht,nn=la=null,oc(t),Ja=null,jl=0,t=ht;for(;t!==null;)Nh(t.alternate,t),t=t.return;ht=null}}function al(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Up(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),mn=0,Jc(),zt=t,ht=n=tn(t.current,null),mt=e,Et=0,_e=null,Dn=!1,tl=bl(t,e),Yc=!1,el=Re=Gc=da=Un=Ht=0,he=$l=null,Xc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var u=31-ve(a),c=1<<u;e|=t[u],a&=~c}return dn=e,Vi(),n}function id(t,e){ct=null,w.H=Kl,e===Za||e===Ii?(e=_f(),Et=3):e===Ws?(e=_f(),Et=4):Et=e===Mc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,_e=e,ht===null&&(Ht=1,hu(t,Ae(e,t.current)))}function ud(){var t=Se.current;return t===null?!0:(mt&4194048)===mt?Ue===null:(mt&62914560)===mt||(mt&536870912)!==0?t===Ue:!1}function sd(){var t=w.H;return w.H=Kl,t===null?Kl:t}function cd(){var t=w.A;return w.A=rp,t}function Tu(){Ht=4,Dn||(mt&4194048)!==mt&&Se.current!==null||(tl=!0),(Un&134217727)===0&&(da&134217727)===0||zt===null||Nn(zt,mt,Re,!1)}function Pc(t,e,n){var a=_t;_t|=2;var u=sd(),c=cd();(zt!==t||mt!==e)&&(Ru=null,al(t,e)),e=!1;var f=Ht;t:do try{if(Et!==0&&ht!==null){var v=ht,R=_e;switch(Et){case 8:Jc(),f=6;break t;case 3:case 2:case 9:case 6:Se.current===null&&(e=!0);var x=Et;if(Et=0,_e=null,ll(t,v,R,x),n&&tl){f=0;break t}break;default:x=Et,Et=0,_e=null,ll(t,v,R,x)}}dp(),f=Ht;break}catch(N){id(t,N)}while(!0);return e&&t.shellSuspendCounter++,nn=la=null,_t=a,w.H=u,w.A=c,ht===null&&(zt=null,mt=0,Vi()),f}function dp(){for(;ht!==null;)od(ht)}function mp(t,e){var n=_t;_t|=2;var a=sd(),u=cd();zt!==t||mt!==e?(Ru=null,_u=ne()+500,al(t,e)):tl=bl(t,e);t:do try{if(Et!==0&&ht!==null){e=ht;var c=_e;e:switch(Et){case 1:Et=0,_e=null,ll(t,e,c,1);break;case 2:case 9:if(Sf(c)){Et=0,_e=null,rd(e);break}e=function(){Et!==2&&Et!==9||zt!==t||(Et=7),Ze(t)},c.then(e,e);break t;case 3:Et=7;break t;case 4:Et=5;break t;case 7:Sf(c)?(Et=0,_e=null,rd(e)):(Et=0,_e=null,ll(t,e,c,7));break;case 5:var f=null;switch(ht.tag){case 26:f=ht.memoizedState;case 5:case 27:var v=ht;if(f?Fd(f):v.stateNode.complete){Et=0,_e=null;var R=v.sibling;if(R!==null)ht=R;else{var x=v.return;x!==null?(ht=x,Mu(x)):ht=null}break e}}Et=0,_e=null,ll(t,e,c,5);break;case 6:Et=0,_e=null,ll(t,e,c,6);break;case 8:Jc(),Ht=6;break t;default:throw Error(o(462))}}yp();break}catch(N){id(t,N)}while(!0);return nn=la=null,w.H=a,w.A=u,_t=n,ht!==null?0:(zt=null,mt=0,Vi(),Ht)}function yp(){for(;ht!==null&&!Ai();)od(ht)}function od(t){var e=Lh(t.alternate,t,dn);t.memoizedProps=t.pendingProps,e===null?Mu(t):ht=e}function rd(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Ch(n,e,e.pendingProps,e.type,void 0,mt);break;case 11:e=Ch(n,e,e.pendingProps,e.type.render,e.ref,mt);break;case 5:oc(e);default:Nh(n,e),e=ht=cf(e,dn),e=Lh(n,e,dn)}t.memoizedProps=t.pendingProps,e===null?Mu(t):ht=e}function ll(t,e,n,a){nn=la=null,oc(e),Ja=null,jl=0;var u=e.return;try{if(ap(t,u,e,n,mt)){Ht=1,hu(t,Ae(n,t.current)),ht=null;return}}catch(c){if(u!==null)throw ht=u,c;Ht=1,hu(t,Ae(n,t.current)),ht=null;return}e.flags&32768?(vt||a===1?t=!0:tl||(mt&536870912)!==0?t=!1:(Dn=t=!0,(a===2||a===9||a===3||a===6)&&(a=Se.current,a!==null&&a.tag===13&&(a.flags|=16384))),fd(e,t)):Mu(e)}function Mu(t){var e=t;do{if((e.flags&32768)!==0){fd(e,Dn);return}t=e.return;var n=up(e.alternate,e,dn);if(n!==null){ht=n;return}if(e=e.sibling,e!==null){ht=e;return}ht=e=t}while(e!==null);Ht===0&&(Ht=5)}function fd(t,e){do{var n=sp(t.alternate,t);if(n!==null){n.flags&=32767,ht=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){ht=t;return}ht=t=n}while(t!==null);Ht=6,ht=null}function hd(t,e,n,a,u,c,f,v,R){t.cancelPendingCommit=null;do Ou();while(Zt!==0);if((_t&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(c=e.lanes|e.childLanes,c|=Bs,Py(t,n,c,f,v,R),t===zt&&(ht=zt=null,mt=0),nl=e,wn=t,mn=n,Vc=c,Kc=u,ed=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Sp(Ma,function(){return pd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=w.T,w.T=null,u=X.p,X.p=2,f=_t,_t|=4;try{cp(t,e,n)}finally{_t=f,X.p=u,w.T=a}}Zt=1,dd(),md(),yd()}}function dd(){if(Zt===1){Zt=0;var t=wn,e=nl,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=w.T,w.T=null;var a=X.p;X.p=2;var u=_t;_t|=4;try{Jh(e,t);var c=uo,f=Ir(t.containerInfo),v=c.focusedElem,R=c.selectionRange;if(f!==v&&v&&v.ownerDocument&&Wr(v.ownerDocument.documentElement,v)){if(R!==null&&Ds(v)){var x=R.start,N=R.end;if(N===void 0&&(N=x),"selectionStart"in v)v.selectionStart=x,v.selectionEnd=Math.min(N,v.value.length);else{var H=v.ownerDocument||document,z=H&&H.defaultView||window;if(z.getSelection){var U=z.getSelection(),k=v.textContent.length,it=Math.min(R.start,k),At=R.end===void 0?it:Math.min(R.end,k);!U.extend&&it>At&&(f=At,At=it,it=f);var C=kr(v,it),T=kr(v,At);if(C&&T&&(U.rangeCount!==1||U.anchorNode!==C.node||U.anchorOffset!==C.offset||U.focusNode!==T.node||U.focusOffset!==T.offset)){var A=H.createRange();A.setStart(C.node,C.offset),U.removeAllRanges(),it>At?(U.addRange(A),U.extend(T.node,T.offset)):(A.setEnd(T.node,T.offset),U.addRange(A))}}}}for(H=[],U=v;U=U.parentNode;)U.nodeType===1&&H.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<H.length;v++){var B=H[v];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}Hu=!!io,uo=io=null}finally{_t=u,X.p=a,w.T=n}}t.current=e,Zt=2}}function md(){if(Zt===2){Zt=0;var t=wn,e=nl,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=w.T,w.T=null;var a=X.p;X.p=2;var u=_t;_t|=4;try{Gh(t,e.alternate,e)}finally{_t=u,X.p=a,w.T=n}}Zt=3}}function yd(){if(Zt===4||Zt===3){Zt=0,os();var t=wn,e=nl,n=mn,a=ed;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Zt=5:(Zt=0,nl=wn=null,vd(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Ln=null),hs(n),e=e.stateNode,ye&&typeof ye.onCommitFiberRoot=="function")try{ye.onCommitFiberRoot(Sl,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=w.T,u=X.p,X.p=2,w.T=null;try{for(var c=t.onRecoverableError,f=0;f<a.length;f++){var v=a[f];c(v.value,{componentStack:v.stack})}}finally{w.T=e,X.p=u}}(mn&3)!==0&&Ou(),Ze(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===Zc?ti++:(ti=0,Zc=t):ti=0,ei(0)}}function vd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Nl(e)))}function Ou(){return dd(),md(),yd(),pd()}function pd(){if(Zt!==5)return!1;var t=wn,e=Vc;Vc=0;var n=hs(mn),a=w.T,u=X.p;try{X.p=32>n?32:n,w.T=null,n=Kc,Kc=null;var c=wn,f=mn;if(Zt=0,nl=wn=null,mn=0,(_t&6)!==0)throw Error(o(331));var v=_t;if(_t|=4,Ih(c.current),Fh(c,c.current,f,n),_t=v,ei(0,!1),ye&&typeof ye.onPostCommitFiberRoot=="function")try{ye.onPostCommitFiberRoot(Sl,c)}catch{}return!0}finally{X.p=u,w.T=a,vd(t,e)}}function gd(t,e,n){e=Ae(n,e),e=Tc(t.stateNode,e,2),t=Cn(t,e,2),t!==null&&(_l(t,2),Ze(t))}function Tt(t,e,n){if(t.tag===3)gd(t,t,n);else for(;e!==null;){if(e.tag===3){gd(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ln===null||!Ln.has(a))){t=Ae(n,t),n=Sh(2),a=Cn(e,n,2),a!==null&&(bh(n,a,e,t),_l(a,2),Ze(a));break}}e=e.return}}function Fc(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new fp;var u=new Set;a.set(e,u)}else u=a.get(e),u===void 0&&(u=new Set,a.set(e,u));u.has(n)||(Yc=!0,u.add(n),t=vp.bind(null,t,e,n),e.then(t,t))}function vp(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,zt===t&&(mt&n)===n&&(Ht===4||Ht===3&&(mt&62914560)===mt&&300>ne()-bu?(_t&2)===0&&al(t,0):Gc|=n,el===mt&&(el=0)),Ze(t)}function Sd(t,e){e===0&&(e=hr()),t=ea(t,e),t!==null&&(_l(t,e),Ze(t))}function pp(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Sd(t,n)}function gp(t,e){var n=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),Sd(t,n)}function Sp(t,e){return je(t,e)}var Cu=null,il=null,kc=!1,Au=!1,Wc=!1,Bn=0;function Ze(t){t!==il&&t.next===null&&(il===null?Cu=il=t:il=il.next=t),Au=!0,kc||(kc=!0,_p())}function ei(t,e){if(!Wc&&Au){Wc=!0;do for(var n=!1,a=Cu;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var c=0;else{var f=a.suspendedLanes,v=a.pingedLanes;c=(1<<31-ve(42|t)+1)-1,c&=u&~(f&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Ed(a,c))}else c=mt,c=Ui(a,a===zt?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||bl(a,c)||(n=!0,Ed(a,c));a=a.next}while(n);Wc=!1}}function bp(){bd()}function bd(){Au=kc=!1;var t=0;Bn!==0&&Dp()&&(t=Bn);for(var e=ne(),n=null,a=Cu;a!==null;){var u=a.next,c=_d(a,e);c===0?(a.next=null,n===null?Cu=u:n.next=u,u===null&&(il=n)):(n=a,(t!==0||(c&3)!==0)&&(Au=!0)),a=u}Zt!==0&&Zt!==5||ei(t),Bn!==0&&(Bn=0)}function _d(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var f=31-ve(c),v=1<<f,R=u[f];R===-1?((v&n)===0||(v&a)!==0)&&(u[f]=Jy(v,e)):R<=e&&(t.expiredLanes|=v),c&=~v}if(e=zt,n=mt,n=Ui(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,n===0||t===e&&(Et===2||Et===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&gl(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||bl(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&gl(a),hs(n)){case 2:case 8:n=Ge;break;case 32:n=Ma;break;case 268435456:n=fr;break;default:n=Ma}return a=Rd.bind(null,t),n=je(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&gl(a),t.callbackPriority=2,t.callbackNode=null,2}function Rd(t,e){if(Zt!==0&&Zt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Ou()&&t.callbackNode!==n)return null;var a=mt;return a=Ui(t,t===zt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(ad(t,a,e),_d(t,ne()),t.callbackNode!=null&&t.callbackNode===n?Rd.bind(null,t):null)}function Ed(t,e){if(Ou())return null;ad(t,e,!0)}function _p(){Lp(function(){(_t&6)!==0?je(kt,bp):bd()})}function Ic(){if(Bn===0){var t=Va;t===0&&(t=xi,xi<<=1,(xi&261888)===0&&(xi=256)),Bn=t}return Bn}function Td(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Bi(""+t)}function Md(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function Rp(t,e,n,a,u){if(e==="submit"&&n&&n.stateNode===u){var c=Td((u[se]||null).action),f=a.submitter;f&&(e=(e=f[se]||null)?Td(e.formAction):f.getAttribute("formAction"),e!==null&&(c=e,f=null));var v=new Qi("action","action",null,a,u);t.push({event:v,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Bn!==0){var R=f?Md(u,f):new FormData(u);gc(n,{pending:!0,data:R,method:u.method,action:c},null,R)}}else typeof c=="function"&&(v.preventDefault(),R=f?Md(u,f):new FormData(u),gc(n,{pending:!0,data:R,method:u.method,action:c},c,R))},currentTarget:u}]})}}for(var $c=0;$c<Ns.length;$c++){var to=Ns[$c],Ep=to.toLowerCase(),Tp=to[0].toUpperCase()+to.slice(1);He(Ep,"on"+Tp)}He(ef,"onAnimationEnd"),He(nf,"onAnimationIteration"),He(af,"onAnimationStart"),He("dblclick","onDoubleClick"),He("focusin","onFocus"),He("focusout","onBlur"),He(Qv,"onTransitionRun"),He(Yv,"onTransitionStart"),He(Gv,"onTransitionCancel"),He(lf,"onTransitionEnd"),za("onMouseEnter",["mouseout","mouseover"]),za("onMouseLeave",["mouseout","mouseover"]),za("onPointerEnter",["pointerout","pointerover"]),za("onPointerLeave",["pointerout","pointerover"]),Wn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ni="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(" "),Mp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ni));function Od(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var a=t[n],u=a.event;a=a.listeners;t:{var c=void 0;if(e)for(var f=a.length-1;0<=f;f--){var v=a[f],R=v.instance,x=v.currentTarget;if(v=v.listener,R!==c&&u.isPropagationStopped())break t;c=v,u.currentTarget=x;try{c(u)}catch(N){Xi(N)}u.currentTarget=null,c=R}else for(f=0;f<a.length;f++){if(v=a[f],R=v.instance,x=v.currentTarget,v=v.listener,R!==c&&u.isPropagationStopped())break t;c=v,u.currentTarget=x;try{c(u)}catch(N){Xi(N)}u.currentTarget=null,c=R}}}}function dt(t,e){var n=e[ds];n===void 0&&(n=e[ds]=new Set);var a=t+"__bubble";n.has(a)||(Cd(e,t,2,!1),n.add(a))}function eo(t,e,n){var a=0;e&&(a|=4),Cd(n,t,a,e)}var xu="_reactListening"+Math.random().toString(36).slice(2);function no(t){if(!t[xu]){t[xu]=!0,Sr.forEach(function(n){n!=="selectionchange"&&(Mp.has(n)||eo(n,!1,t),eo(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[xu]||(e[xu]=!0,eo("selectionchange",!1,e))}}function Cd(t,e,n,a){switch(nm(e)){case 2:var u=$p;break;case 8:u=tg;break;default:u=go}n=u.bind(null,e,n,t),u=void 0,!Rs||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(e,n,{capture:!0,passive:u}):t.addEventListener(e,n,!0):u!==void 0?t.addEventListener(e,n,{passive:u}):t.addEventListener(e,n,!1)}function ao(t,e,n,a,u){var c=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var v=a.stateNode.containerInfo;if(v===u)break;if(f===4)for(f=a.return;f!==null;){var R=f.tag;if((R===3||R===4)&&f.stateNode.containerInfo===u)return;f=f.return}for(;v!==null;){if(f=Ca(v),f===null)return;if(R=f.tag,R===5||R===6||R===26||R===27){a=c=f;continue t}v=v.parentNode}}a=a.return}Dr(function(){var x=c,N=bs(n),H=[];t:{var z=uf.get(t);if(z!==void 0){var U=Qi,k=t;switch(t){case"keypress":if(Hi(n)===0)break t;case"keydown":case"keyup":U=gv;break;case"focusin":k="focus",U=Os;break;case"focusout":k="blur",U=Os;break;case"beforeblur":case"afterblur":U=Os;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=wr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=uv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=_v;break;case ef:case nf:case af:U=ov;break;case lf:U=Ev;break;case"scroll":case"scrollend":U=lv;break;case"wheel":U=Mv;break;case"copy":case"cut":case"paste":U=fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Br;break;case"toggle":case"beforetoggle":U=Cv}var it=(e&4)!==0,At=!it&&(t==="scroll"||t==="scrollend"),C=it?z!==null?z+"Capture":null:z;it=[];for(var T=x,A;T!==null;){var B=T;if(A=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||A===null||C===null||(B=Tl(T,C),B!=null&&it.push(ai(T,B,A))),At)break;T=T.return}0<it.length&&(z=new U(z,k,null,n,N),H.push({event:z,listeners:it}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",z&&n!==Ss&&(k=n.relatedTarget||n.fromElement)&&(Ca(k)||k[Oa]))break t;if((U||z)&&(z=N.window===N?N:(z=N.ownerDocument)?z.defaultView||z.parentWindow:window,U?(k=n.relatedTarget||n.toElement,U=x,k=k?Ca(k):null,k!==null&&(At=h(k),it=k.tag,k!==At||it!==5&&it!==27&&it!==6)&&(k=null)):(U=null,k=x),U!==k)){if(it=wr,B="onMouseLeave",C="onMouseEnter",T="mouse",(t==="pointerout"||t==="pointerover")&&(it=Br,B="onPointerLeave",C="onPointerEnter",T="pointer"),At=U==null?z:El(U),A=k==null?z:El(k),z=new it(B,T+"leave",U,n,N),z.target=At,z.relatedTarget=A,B=null,Ca(N)===x&&(it=new it(C,T+"enter",k,n,N),it.target=A,it.relatedTarget=At,B=it),At=B,U&&k)e:{for(it=Op,C=U,T=k,A=0,B=C;B;B=it(B))A++;B=0;for(var nt=T;nt;nt=it(nt))B++;for(;0<A-B;)C=it(C),A--;for(;0<B-A;)T=it(T),B--;for(;A--;){if(C===T||T!==null&&C===T.alternate){it=C;break e}C=it(C),T=it(T)}it=null}else it=null;U!==null&&Ad(H,z,U,it,!1),k!==null&&At!==null&&Ad(H,At,k,it,!0)}}t:{if(z=x?El(x):window,U=z.nodeName&&z.nodeName.toLowerCase(),U==="select"||U==="input"&&z.type==="file")var gt=Vr;else if(Gr(z))if(Kr)gt=jv;else{gt=Nv;var I=wv}else U=z.nodeName,!U||U.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?x&&gs(x.elementType)&&(gt=Vr):gt=Bv;if(gt&&(gt=gt(t,x))){Xr(H,gt,n,N);break t}I&&I(t,z,x),t==="focusout"&&x&&z.type==="number"&&x.memoizedProps.value!=null&&ps(z,"number",z.value)}switch(I=x?El(x):window,t){case"focusin":(Gr(I)||I.contentEditable==="true")&&(Ba=I,Us=x,Ul=null);break;case"focusout":Ul=Us=Ba=null;break;case"mousedown":Ls=!0;break;case"contextmenu":case"mouseup":case"dragend":Ls=!1,$r(H,n,N);break;case"selectionchange":if(qv)break;case"keydown":case"keyup":$r(H,n,N)}var ot;if(As)t:{switch(t){case"compositionstart":var yt="onCompositionStart";break t;case"compositionend":yt="onCompositionEnd";break t;case"compositionupdate":yt="onCompositionUpdate";break t}yt=void 0}else Na?Qr(t,n)&&(yt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(yt="onCompositionStart");yt&&(jr&&n.locale!=="ko"&&(Na||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&Na&&(ot=Ur()):(bn=N,Es="value"in bn?bn.value:bn.textContent,Na=!0)),I=zu(x,yt),0<I.length&&(yt=new Nr(yt,t,null,n,N),H.push({event:yt,listeners:I}),ot?yt.data=ot:(ot=Yr(n),ot!==null&&(yt.data=ot)))),(ot=xv?zv(t,n):Dv(t,n))&&(yt=zu(x,"onBeforeInput"),0<yt.length&&(I=new Nr("onBeforeInput","beforeinput",null,n,N),H.push({event:I,listeners:yt}),I.data=ot)),Rp(H,t,x,n,N)}Od(H,e)})}function ai(t,e,n){return{instance:t,listener:e,currentTarget:n}}function zu(t,e){for(var n=e+"Capture",a=[];t!==null;){var u=t,c=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||c===null||(u=Tl(t,n),u!=null&&a.unshift(ai(t,u,c)),u=Tl(t,e),u!=null&&a.push(ai(t,u,c))),t.tag===3)return a;t=t.return}return[]}function Op(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ad(t,e,n,a,u){for(var c=e._reactName,f=[];n!==null&&n!==a;){var v=n,R=v.alternate,x=v.stateNode;if(v=v.tag,R!==null&&R===a)break;v!==5&&v!==26&&v!==27||x===null||(R=x,u?(x=Tl(n,c),x!=null&&f.unshift(ai(n,x,R))):u||(x=Tl(n,c),x!=null&&f.push(ai(n,x,R)))),n=n.return}f.length!==0&&t.push({event:e,listeners:f})}var Cp=/\r\n?/g,Ap=/\u0000|\uFFFD/g;function xd(t){return(typeof t=="string"?t:""+t).replace(Cp,`
|
|
9
|
-
`).replace(Ap,"")}function zd(t,e){return e=xd(e),xd(t)===e}function Ct(t,e,n,a,u,c){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Ua(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Ua(t,""+a);break;case"className":wi(t,"class",a);break;case"tabIndex":wi(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":wi(t,n,a);break;case"style":xr(t,a,c);break;case"data":if(e!=="object"){wi(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Bi(""+a),t.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(n,"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 c=="function"&&(n==="formAction"?(e!=="input"&&Ct(t,e,"name",u.name,u,null),Ct(t,e,"formEncType",u.formEncType,u,null),Ct(t,e,"formMethod",u.formMethod,u,null),Ct(t,e,"formTarget",u.formTarget,u,null)):(Ct(t,e,"encType",u.encType,u,null),Ct(t,e,"method",u.method,u,null),Ct(t,e,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Bi(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=Ie);break;case"onScroll":a!=null&&dt("scroll",t);break;case"onScrollEnd":a!=null&&dt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}n=Bi(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""+a):t.removeAttribute(n);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":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":a===!0?t.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,a):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(n,a):t.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(n):t.setAttribute(n,a);break;case"popover":dt("beforetoggle",t),dt("toggle",t),Li(t,"popover",a);break;case"xlinkActuate":We(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":We(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":We(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":We(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":We(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":We(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":We(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":We(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":We(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Li(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=nv.get(n)||n,Li(t,n,a))}}function lo(t,e,n,a,u,c){switch(n){case"style":xr(t,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"children":typeof a=="string"?Ua(t,a):(typeof a=="number"||typeof a=="bigint")&&Ua(t,""+a);break;case"onScroll":a!=null&&dt("scroll",t);break;case"onScrollEnd":a!=null&&dt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!br.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),c=t[se]||null,c=c!=null?c[n]:null,typeof c=="function"&&t.removeEventListener(e,c,u),typeof a=="function")){typeof c!="function"&&c!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,a,u);break t}n in t?t[n]=a:a===!0?t.setAttribute(n,""):Li(t,n,a)}}}function ee(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":dt("error",t),dt("load",t);var a=!1,u=!1,c;for(c in n)if(n.hasOwnProperty(c)){var f=n[c];if(f!=null)switch(c){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ct(t,e,c,f,n,null)}}u&&Ct(t,e,"srcSet",n.srcSet,n,null),a&&Ct(t,e,"src",n.src,n,null);return;case"input":dt("invalid",t);var v=c=f=u=null,R=null,x=null;for(a in n)if(n.hasOwnProperty(a)){var N=n[a];if(N!=null)switch(a){case"name":u=N;break;case"type":f=N;break;case"checked":R=N;break;case"defaultChecked":x=N;break;case"value":c=N;break;case"defaultValue":v=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(o(137,e));break;default:Ct(t,e,a,N,n,null)}}Mr(t,c,v,R,x,f,u,!1);return;case"select":dt("invalid",t),a=f=c=null;for(u in n)if(n.hasOwnProperty(u)&&(v=n[u],v!=null))switch(u){case"value":c=v;break;case"defaultValue":f=v;break;case"multiple":a=v;default:Ct(t,e,u,v,n,null)}e=c,n=f,t.multiple=!!a,e!=null?Da(t,!!a,e,!1):n!=null&&Da(t,!!a,n,!0);return;case"textarea":dt("invalid",t),c=u=a=null;for(f in n)if(n.hasOwnProperty(f)&&(v=n[f],v!=null))switch(f){case"value":a=v;break;case"defaultValue":u=v;break;case"children":c=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:Ct(t,e,f,v,n,null)}Cr(t,a,u,c);return;case"option":for(R in n)n.hasOwnProperty(R)&&(a=n[R],a!=null)&&(R==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":Ct(t,e,R,a,n,null));return;case"dialog":dt("beforetoggle",t),dt("toggle",t),dt("cancel",t),dt("close",t);break;case"iframe":case"object":dt("load",t);break;case"video":case"audio":for(a=0;a<ni.length;a++)dt(ni[a],t);break;case"image":dt("error",t),dt("load",t);break;case"details":dt("toggle",t);break;case"embed":case"source":case"link":dt("error",t),dt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in n)if(n.hasOwnProperty(x)&&(a=n[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ct(t,e,x,a,n,null)}return;default:if(gs(e)){for(N in n)n.hasOwnProperty(N)&&(a=n[N],a!==void 0&&lo(t,e,N,a,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(a=n[v],a!=null&&Ct(t,e,v,a,n,null))}function xp(t,e,n,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,c=null,f=null,v=null,R=null,x=null,N=null;for(U in n){var H=n[U];if(n.hasOwnProperty(U)&&H!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":R=H;default:a.hasOwnProperty(U)||Ct(t,e,U,null,a,H)}}for(var z in a){var U=a[z];if(H=n[z],a.hasOwnProperty(z)&&(U!=null||H!=null))switch(z){case"type":c=U;break;case"name":u=U;break;case"checked":x=U;break;case"defaultChecked":N=U;break;case"value":f=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(o(137,e));break;default:U!==H&&Ct(t,e,z,U,a,H)}}vs(t,f,v,R,x,N,c,u);return;case"select":U=f=v=z=null;for(c in n)if(R=n[c],n.hasOwnProperty(c)&&R!=null)switch(c){case"value":break;case"multiple":U=R;default:a.hasOwnProperty(c)||Ct(t,e,c,null,a,R)}for(u in a)if(c=a[u],R=n[u],a.hasOwnProperty(u)&&(c!=null||R!=null))switch(u){case"value":z=c;break;case"defaultValue":v=c;break;case"multiple":f=c;default:c!==R&&Ct(t,e,u,c,a,R)}e=v,n=f,a=U,z!=null?Da(t,!!n,z,!1):!!a!=!!n&&(e!=null?Da(t,!!n,e,!0):Da(t,!!n,n?[]:"",!1));return;case"textarea":U=z=null;for(v in n)if(u=n[v],n.hasOwnProperty(v)&&u!=null&&!a.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ct(t,e,v,null,a,u)}for(f in a)if(u=a[f],c=n[f],a.hasOwnProperty(f)&&(u!=null||c!=null))switch(f){case"value":z=u;break;case"defaultValue":U=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==c&&Ct(t,e,f,u,a,c)}Or(t,z,U);return;case"option":for(var k in n)z=n[k],n.hasOwnProperty(k)&&z!=null&&!a.hasOwnProperty(k)&&(k==="selected"?t.selected=!1:Ct(t,e,k,null,a,z));for(R in a)z=a[R],U=n[R],a.hasOwnProperty(R)&&z!==U&&(z!=null||U!=null)&&(R==="selected"?t.selected=z&&typeof z!="function"&&typeof z!="symbol":Ct(t,e,R,z,a,U));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 it in n)z=n[it],n.hasOwnProperty(it)&&z!=null&&!a.hasOwnProperty(it)&&Ct(t,e,it,null,a,z);for(x in a)if(z=a[x],U=n[x],a.hasOwnProperty(x)&&z!==U&&(z!=null||U!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:Ct(t,e,x,z,a,U)}return;default:if(gs(e)){for(var At in n)z=n[At],n.hasOwnProperty(At)&&z!==void 0&&!a.hasOwnProperty(At)&&lo(t,e,At,void 0,a,z);for(N in a)z=a[N],U=n[N],!a.hasOwnProperty(N)||z===U||z===void 0&&U===void 0||lo(t,e,N,z,a,U);return}}for(var C in n)z=n[C],n.hasOwnProperty(C)&&z!=null&&!a.hasOwnProperty(C)&&Ct(t,e,C,null,a,z);for(H in a)z=a[H],U=n[H],!a.hasOwnProperty(H)||z===U||z==null&&U==null||Ct(t,e,H,z,a,U)}function Dd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function zp(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var u=n[a],c=u.transferSize,f=u.initiatorType,v=u.duration;if(c&&v&&Dd(f)){for(f=0,v=u.responseEnd,a+=1;a<n.length;a++){var R=n[a],x=R.startTime;if(x>v)break;var N=R.transferSize,H=R.initiatorType;N&&Dd(H)&&(R=R.responseEnd,f+=N*(R<v?1:(v-x)/(R-x)))}if(--a,e+=8*(c+f)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var io=null,uo=null;function Du(t){return t.nodeType===9?t:t.ownerDocument}function Ud(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ld(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function so(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var co=null;function Dp(){var t=window.event;return t&&t.type==="popstate"?t===co?!1:(co=t,!0):(co=null,!1)}var wd=typeof setTimeout=="function"?setTimeout:void 0,Up=typeof clearTimeout=="function"?clearTimeout:void 0,Nd=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof Nd<"u"?function(t){return Nd.resolve(null).then(t).catch(wp)}:wd;function wp(t){setTimeout(function(){throw t})}function jn(t){return t==="head"}function Bd(t,e){var n=e,a=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(a===0){t.removeChild(u),ol(e);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")li(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,li(n);for(var c=n.firstChild;c;){var f=c.nextSibling,v=c.nodeName;c[Rl]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=f}}else n==="body"&&li(t.ownerDocument.body);n=u}while(n);ol(e)}function jd(t,e){var n=t;t=0;do{var a=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=a}while(n)}function oo(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":oo(n),ms(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Np(t,e,n,a){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Rl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=Le(t.nextSibling),t===null)break}return null}function Bp(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Le(t.nextSibling),t===null))return null;return t}function Hd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Le(t.nextSibling),t===null))return null;return t}function ro(t){return t.data==="$?"||t.data==="$~"}function fo(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function jp(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var a=function(){e(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Le(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var ho=null;function qd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Le(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Qd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Yd(t,e,n){switch(e=Du(n),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function li(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);ms(t)}var we=new Map,Gd=new Set;function Uu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var yn=X.d;X.d={f:Hp,r:qp,D:Qp,C:Yp,L:Gp,m:Xp,X:Kp,S:Vp,M:Zp};function Hp(){var t=yn.f(),e=Eu();return t||e}function qp(t){var e=Aa(t);e!==null&&e.tag===5&&e.type==="form"?ih(e):yn.r(t)}var ul=typeof document>"u"?null:document;function Xd(t,e,n){var a=ul;if(a&&typeof e=="string"&&e){var u=Oe(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),Gd.has(u)||(Gd.add(u),t={rel:t,crossOrigin:n,href:e},a.querySelector(u)===null&&(e=a.createElement("link"),ee(e,"link",t),Pt(e),a.head.appendChild(e)))}}function Qp(t){yn.D(t),Xd("dns-prefetch",t,null)}function Yp(t,e){yn.C(t,e),Xd("preconnect",t,e)}function Gp(t,e,n){yn.L(t,e,n);var a=ul;if(a&&t&&e){var u='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Oe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Oe(n.imageSizes)+'"]')):u+='[href="'+Oe(t)+'"]';var c=u;switch(e){case"style":c=sl(t);break;case"script":c=cl(t)}we.has(c)||(t=g({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),we.set(c,t),a.querySelector(u)!==null||e==="style"&&a.querySelector(ii(c))||e==="script"&&a.querySelector(ui(c))||(e=a.createElement("link"),ee(e,"link",t),Pt(e),a.head.appendChild(e)))}}function Xp(t,e){yn.m(t,e);var n=ul;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Oe(a)+'"][href="'+Oe(t)+'"]',c=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=cl(t)}if(!we.has(c)&&(t=g({rel:"modulepreload",href:t},e),we.set(c,t),n.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ui(c)))return}a=n.createElement("link"),ee(a,"link",t),Pt(a),n.head.appendChild(a)}}}function Vp(t,e,n){yn.S(t,e,n);var a=ul;if(a&&t){var u=xa(a).hoistableStyles,c=sl(t);e=e||"default";var f=u.get(c);if(!f){var v={loading:0,preload:null};if(f=a.querySelector(ii(c)))v.loading=5;else{t=g({rel:"stylesheet",href:t,"data-precedence":e},n),(n=we.get(c))&&mo(t,n);var R=f=a.createElement("link");Pt(R),ee(R,"link",t),R._p=new Promise(function(x,N){R.onload=x,R.onerror=N}),R.addEventListener("load",function(){v.loading|=1}),R.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Lu(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:v},u.set(c,f)}}}function Kp(t,e){yn.X(t,e);var n=ul;if(n&&t){var a=xa(n).hoistableScripts,u=cl(t),c=a.get(u);c||(c=n.querySelector(ui(u)),c||(t=g({src:t,async:!0},e),(e=we.get(u))&&yo(t,e),c=n.createElement("script"),Pt(c),ee(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function Zp(t,e){yn.M(t,e);var n=ul;if(n&&t){var a=xa(n).hoistableScripts,u=cl(t),c=a.get(u);c||(c=n.querySelector(ui(u)),c||(t=g({src:t,async:!0,type:"module"},e),(e=we.get(u))&&yo(t,e),c=n.createElement("script"),Pt(c),ee(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function Vd(t,e,n,a){var u=(u=ft.current)?Uu(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=sl(n.href),n=xa(u).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=sl(n.href);var c=xa(u).hoistableStyles,f=c.get(t);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,f),(c=u.querySelector(ii(t)))&&!c._p&&(f.instance=c,f.state.loading=5),we.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},we.set(t,n),c||Jp(u,t,n,f.state))),e&&a===null)throw Error(o(528,""));return f}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=cl(n),n=xa(u).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function sl(t){return'href="'+Oe(t)+'"'}function ii(t){return'link[rel="stylesheet"]['+t+"]"}function Kd(t){return g({},t,{"data-precedence":t.precedence,precedence:null})}function Jp(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),ee(e,"link",n),Pt(e),t.head.appendChild(e))}function cl(t){return'[src="'+Oe(t)+'"]'}function ui(t){return"script[async]"+t}function Zd(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Oe(n.href)+'"]');if(a)return e.instance=a,Pt(a),a;var u=g({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Pt(a),ee(a,"style",u),Lu(a,n.precedence,t),e.instance=a;case"stylesheet":u=sl(n.href);var c=t.querySelector(ii(u));if(c)return e.state.loading|=4,e.instance=c,Pt(c),c;a=Kd(n),(u=we.get(u))&&mo(a,u),c=(t.ownerDocument||t).createElement("link"),Pt(c);var f=c;return f._p=new Promise(function(v,R){f.onload=v,f.onerror=R}),ee(c,"link",a),e.state.loading|=4,Lu(c,n.precedence,t),e.instance=c;case"script":return c=cl(n.src),(u=t.querySelector(ui(c)))?(e.instance=u,Pt(u),u):(a=n,(u=we.get(c))&&(a=g({},n),yo(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),Pt(u),ee(u,"link",a),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Lu(a,n.precedence,t));return e.instance}function Lu(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,c=u,f=0;f<a.length;f++){var v=a[f];if(v.dataset.precedence===e)c=v;else if(c!==u)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function mo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function yo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var wu=null;function Jd(t,e,n){if(wu===null){var a=new Map,u=wu=new Map;u.set(n,a)}else u=wu,a=u.get(n),a||(a=new Map,u.set(n,a));if(a.has(t))return a;for(a.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var c=n[u];if(!(c[Rl]||c[Wt]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var f=c.getAttribute(e)||"";f=t+f;var v=a.get(f);v?v.push(c):a.set(f,[c])}}return a}function Pd(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Pp(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Fd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Fp(t,e,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=sl(a.href),c=e.querySelector(ii(u));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Nu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=c,Pt(c);return}c=e.ownerDocument||e,a=Kd(a),(u=we.get(u))&&mo(a,u),c=c.createElement("link"),Pt(c);var f=c;f._p=new Promise(function(v,R){f.onload=v,f.onerror=R}),ee(c,"link",a),n.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Nu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var vo=0;function kp(t,e){return t.stylesheets&&t.count===0&&ju(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var a=setTimeout(function(){if(t.stylesheets&&ju(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&vo===0&&(vo=62500*zp());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ju(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>vo?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Nu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ju(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Bu=null;function ju(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Bu=new Map,e.forEach(Wp,t),Bu=null,Nu.call(t))}function Wp(t,e){if(!(e.state.loading&4)){var n=Bu.get(t);if(n)var a=n.get(null);else{n=new Map,Bu.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<u.length;c++){var f=u[c];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(null,a)}u=e.instance,f=u.getAttribute("data-precedence"),c=n.get(f)||a,c===a&&n.set(null,u),n.set(f,u),this.count++,a=Nu.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),c?c.parentNode.insertBefore(u,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var si={$$typeof:G,Provider:null,Consumer:null,_currentValue:at,_currentValue2:at,_threadCount:0};function Ip(t,e,n,a,u,c,f,v,R){this.tag=1,this.containerInfo=t,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=rs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rs(0),this.hiddenUpdates=rs(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=c,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function kd(t,e,n,a,u,c,f,v,R,x,N,H){return t=new Ip(t,e,n,f,R,x,N,H,v),e=1,c===!0&&(e|=24),c=ge(3,null,null,e),t.current=c,c.stateNode=t,e=Ps(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:a,isDehydrated:n,cache:e},Is(c),t}function Wd(t){return t?(t=qa,t):qa}function Id(t,e,n,a,u,c){u=Wd(u),a.context===null?a.context=u:a.pendingContext=u,a=On(e),a.payload={element:n},c=c===void 0?null:c,c!==null&&(a.callback=c),n=Cn(t,a,e),n!==null&&(de(n,t,e),ql(n,t,e))}function $d(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function po(t,e){$d(t,e),(t=t.alternate)&&$d(t,e)}function tm(t){if(t.tag===13||t.tag===31){var e=ea(t,67108864);e!==null&&de(e,t,67108864),po(t,67108864)}}function em(t){if(t.tag===13||t.tag===31){var e=Ee();e=fs(e);var n=ea(t,e);n!==null&&de(n,t,e),po(t,e)}}var Hu=!0;function $p(t,e,n,a){var u=w.T;w.T=null;var c=X.p;try{X.p=2,go(t,e,n,a)}finally{X.p=c,w.T=u}}function tg(t,e,n,a){var u=w.T;w.T=null;var c=X.p;try{X.p=8,go(t,e,n,a)}finally{X.p=c,w.T=u}}function go(t,e,n,a){if(Hu){var u=So(a);if(u===null)ao(t,e,a,qu,n),am(t,a);else if(ng(u,t,e,n,a))a.stopPropagation();else if(am(t,a),e&4&&-1<eg.indexOf(t)){for(;u!==null;){var c=Aa(u);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var f=kn(c.pendingLanes);if(f!==0){var v=c;for(v.pendingLanes|=2,v.entangledLanes|=2;f;){var R=1<<31-ve(f);v.entanglements[1]|=R,f&=~R}Ze(c),(_t&6)===0&&(_u=ne()+500,ei(0))}}break;case 31:case 13:v=ea(c,2),v!==null&&de(v,c,2),Eu(),po(c,2)}if(c=So(a),c===null&&ao(t,e,a,qu,n),c===u)break;u=c}u!==null&&a.stopPropagation()}else ao(t,e,a,null,n)}}function So(t){return t=bs(t),bo(t)}var qu=null;function bo(t){if(qu=null,t=Ca(t),t!==null){var e=h(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=m(e),t!==null)return t;t=null}else if(n===31){if(t=y(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return qu=t,null}function nm(t){switch(t){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(Dt()){case kt:return 2;case Ge:return 8;case Ma:case Yy:return 32;case fr:return 268435456;default:return 32}default:return 32}}var _o=!1,Hn=null,qn=null,Qn=null,ci=new Map,oi=new Map,Yn=[],eg="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 am(t,e){switch(t){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":ci.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":oi.delete(e.pointerId)}}function ri(t,e,n,a,u,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:c,targetContainers:[u]},e!==null&&(e=Aa(e),e!==null&&tm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function ng(t,e,n,a,u){switch(e){case"focusin":return Hn=ri(Hn,t,e,n,a,u),!0;case"dragenter":return qn=ri(qn,t,e,n,a,u),!0;case"mouseover":return Qn=ri(Qn,t,e,n,a,u),!0;case"pointerover":var c=u.pointerId;return ci.set(c,ri(ci.get(c)||null,t,e,n,a,u)),!0;case"gotpointercapture":return c=u.pointerId,oi.set(c,ri(oi.get(c)||null,t,e,n,a,u)),!0}return!1}function lm(t){var e=Ca(t.target);if(e!==null){var n=h(e);if(n!==null){if(e=n.tag,e===13){if(e=m(n),e!==null){t.blockedOn=e,pr(t.priority,function(){em(n)});return}}else if(e===31){if(e=y(n),e!==null){t.blockedOn=e,pr(t.priority,function(){em(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Qu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=So(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);Ss=a,n.target.dispatchEvent(a),Ss=null}else return e=Aa(n),e!==null&&tm(e),t.blockedOn=n,!1;e.shift()}return!0}function im(t,e,n){Qu(t)&&n.delete(e)}function ag(){_o=!1,Hn!==null&&Qu(Hn)&&(Hn=null),qn!==null&&Qu(qn)&&(qn=null),Qn!==null&&Qu(Qn)&&(Qn=null),ci.forEach(im),oi.forEach(im)}function Yu(t,e){t.blockedOn===e&&(t.blockedOn=null,_o||(_o=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,ag)))}var Gu=null;function um(t){Gu!==t&&(Gu=t,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){Gu===t&&(Gu=null);for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1],u=t[e+2];if(typeof a!="function"){if(bo(a||n)===null)continue;break}var c=Aa(n);c!==null&&(t.splice(e,3),e-=3,gc(c,{pending:!0,data:u,method:n.method,action:a},a,u))}}))}function ol(t){function e(R){return Yu(R,t)}Hn!==null&&Yu(Hn,t),qn!==null&&Yu(qn,t),Qn!==null&&Yu(Qn,t),ci.forEach(e),oi.forEach(e);for(var n=0;n<Yn.length;n++){var a=Yn[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Yn.length&&(n=Yn[0],n.blockedOn===null);)lm(n),n.blockedOn===null&&Yn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var u=n[a],c=n[a+1],f=u[se]||null;if(typeof c=="function")f||um(n);else if(f){var v=null;if(c&&c.hasAttribute("formAction")){if(u=c,f=c[se]||null)v=f.formAction;else if(bo(u)!==null)continue}else v=f.action;typeof v=="function"?n[a+1]=v:(n.splice(a,3),a-=3),um(n)}}}function sm(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(f){return u=f})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function Ro(t){this._internalRoot=t}Xu.prototype.render=Ro.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var n=e.current,a=Ee();Id(n,a,t,e,null,null)},Xu.prototype.unmount=Ro.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Id(t.current,2,null,t,null,null),Eu(),e[Oa]=null}};function Xu(t){this._internalRoot=t}Xu.prototype.unstable_scheduleHydration=function(t){if(t){var e=vr();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Yn.length&&e!==0&&e<Yn[n].priority;n++);Yn.splice(n,0,t),n===0&&lm(t)}};var cm=i.version;if(cm!=="19.2.5")throw Error(o(527,cm,"19.2.5"));X.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=d(e),t=t!==null?S(t):null,t=t===null?null:t.stateNode,t};var lg={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:w,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vu.isDisabled&&Vu.supportsFiber)try{Sl=Vu.inject(lg),ye=Vu}catch{}}return hi.createRoot=function(t,e){if(!r(t))throw Error(o(299));var n=!1,a="",u=yh,c=vh,f=ph;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError)),e=kd(t,1,!1,null,null,n,a,null,u,c,f,sm),t[Oa]=e.current,no(t),new Ro(e)},hi.hydrateRoot=function(t,e,n){if(!r(t))throw Error(o(299));var a=!1,u="",c=yh,f=vh,v=ph,R=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(R=n.formState)),e=kd(t,1,!0,e,n??null,a,u,R,c,f,v,sm),e.context=Wd(null),n=e.current,a=Ee(),a=fs(a),u=On(a),u.callback=null,Cn(n,u,a),n=a,e.current.lanes=n,_l(e,n),Ze(e),t[Oa]=e.current,no(t),new Xu(e)},hi.version="19.2.5",hi}var gm;function mg(){if(gm)return Mo.exports;gm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Mo.exports=dg(),Mo.exports}var ZS=mg(),yl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(l){return this.listeners.add(l),this.onSubscribe(),()=>{this.listeners.delete(l),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yg=class extends yl{#t;#e;#n;constructor(){super(),this.#n=l=>{if(typeof window<"u"&&window.addEventListener){const i=()=>l();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(l){this.#n=l,this.#e?.(),this.#e=l(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(l){this.#t!==l&&(this.#t=l,this.onFocus())}onFocus(){const l=this.isFocused();this.listeners.forEach(i=>{i(l)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},tr=new yg,vg={setTimeout:(l,i)=>setTimeout(l,i),clearTimeout:l=>clearTimeout(l),setInterval:(l,i)=>setInterval(l,i),clearInterval:l=>clearInterval(l)},pg=class{#t=vg;#e=!1;setTimeoutProvider(l){this.#t=l}setTimeout(l,i){return this.#t.setTimeout(l,i)}clearTimeout(l){this.#t.clearTimeout(l)}setInterval(l,i){return this.#t.setInterval(l,i)}clearInterval(l){this.#t.clearInterval(l)}},ya=new pg;function gg(l){setTimeout(l,0)}var Sg=typeof window>"u"||"Deno"in globalThis;function ue(){}function bg(l,i){return typeof l=="function"?l(i):l}function Go(l){return typeof l=="number"&&l>=0&&l!==1/0}function ny(l,i){return Math.max(l+(i||0)-Date.now(),0)}function Zn(l,i){return typeof l=="function"?l(i):l}function Ne(l,i){return typeof l=="function"?l(i):l}function Sm(l,i){const{type:s="all",exact:o,fetchStatus:r,predicate:h,queryKey:m,stale:y}=l;if(m){if(o){if(i.queryHash!==er(m,i.options))return!1}else if(!bi(i.queryKey,m))return!1}if(s!=="all"){const p=i.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||r&&r!==i.state.fetchStatus||h&&!h(i))}function bm(l,i){const{exact:s,status:o,predicate:r,mutationKey:h}=l;if(h){if(!i.options.mutationKey)return!1;if(s){if(Ra(i.options.mutationKey)!==Ra(h))return!1}else if(!bi(i.options.mutationKey,h))return!1}return!(o&&i.state.status!==o||r&&!r(i))}function er(l,i){return(i?.queryKeyHashFn||Ra)(l)}function Ra(l){return JSON.stringify(l,(i,s)=>Xo(s)?Object.keys(s).sort().reduce((o,r)=>(o[r]=s[r],o),{}):s)}function bi(l,i){return l===i?!0:typeof l!=typeof i?!1:l&&i&&typeof l=="object"&&typeof i=="object"?Object.keys(i).every(s=>bi(l[s],i[s])):!1}var _g=Object.prototype.hasOwnProperty;function ay(l,i,s=0){if(l===i)return l;if(s>500)return i;const o=_m(l)&&_m(i);if(!o&&!(Xo(l)&&Xo(i)))return i;const h=(o?l:Object.keys(l)).length,m=o?i:Object.keys(i),y=m.length,p=o?new Array(y):{};let d=0;for(let S=0;S<y;S++){const g=o?S:m[S],b=l[g],_=i[g];if(b===_){p[g]=b,(o?S<h:_g.call(l,g))&&d++;continue}if(b===null||_===null||typeof b!="object"||typeof _!="object"){p[g]=_;continue}const E=ay(b,_,s+1);p[g]=E,E===b&&d++}return h===y&&d===h?l:p}function Iu(l,i){if(!i||Object.keys(l).length!==Object.keys(i).length)return!1;for(const s in l)if(l[s]!==i[s])return!1;return!0}function _m(l){return Array.isArray(l)&&l.length===Object.keys(l).length}function Xo(l){if(!Rm(l))return!1;const i=l.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!Rm(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(l)!==Object.prototype)}function Rm(l){return Object.prototype.toString.call(l)==="[object Object]"}function Rg(l){return new Promise(i=>{ya.setTimeout(i,l)})}function Vo(l,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(l,i):s.structuralSharing!==!1?ay(l,i):i}function Eg(l,i,s=0){const o=[...l,i];return s&&o.length>s?o.slice(1):o}function Tg(l,i,s=0){const o=[i,...l];return s&&o.length>s?o.slice(0,-1):o}var nr=Symbol();function ly(l,i){return!l.queryFn&&i?.initialPromise?()=>i.initialPromise:!l.queryFn||l.queryFn===nr?()=>Promise.reject(new Error(`Missing queryFn: '${l.queryHash}'`)):l.queryFn}function ar(l,i){return typeof l=="function"?l(...i):!!l}function Mg(l,i,s){let o=!1,r;return Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(r??=i(),o||(o=!0,r.aborted?s():r.addEventListener("abort",s,{once:!0})),r)}),l}var _i=(()=>{let l=()=>Sg;return{isServer(){return l()},setIsServer(i){l=i}}})();function Ko(){let l,i;const s=new Promise((r,h)=>{l=r,i=h});s.status="pending",s.catch(()=>{});function o(r){Object.assign(s,r),delete s.resolve,delete s.reject}return s.resolve=r=>{o({status:"fulfilled",value:r}),l(r)},s.reject=r=>{o({status:"rejected",reason:r}),i(r)},s}var Og=gg;function Cg(){let l=[],i=0,s=y=>{y()},o=y=>{y()},r=Og;const h=y=>{i?l.push(y):r(()=>{s(y)})},m=()=>{const y=l;l=[],y.length&&r(()=>{o(()=>{y.forEach(p=>{s(p)})})})};return{batch:y=>{let p;i++;try{p=y()}finally{i--,i||m()}return p},batchCalls:y=>(...p)=>{h(()=>{y(...p)})},schedule:h,setNotifyFunction:y=>{s=y},setBatchNotifyFunction:y=>{o=y},setScheduler:y=>{r=y}}}var Jt=Cg(),Ag=class extends yl{#t=!0;#e;#n;constructor(){super(),this.#n=l=>{if(typeof window<"u"&&window.addEventListener){const i=()=>l(!0),s=()=>l(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(l){this.#n=l,this.#e?.(),this.#e=l(this.setOnline.bind(this))}setOnline(l){this.#t!==l&&(this.#t=l,this.listeners.forEach(s=>{s(l)}))}isOnline(){return this.#t}},$u=new Ag;function xg(l){return Math.min(1e3*2**l,3e4)}function iy(l){return(l??"online")==="online"?$u.isOnline():!0}var Zo=class extends Error{constructor(l){super("CancelledError"),this.revert=l?.revert,this.silent=l?.silent}};function uy(l){let i=!1,s=0,o;const r=Ko(),h=()=>r.status!=="pending",m=O=>{if(!h()){const L=new Zo(O);b(L),l.onCancel?.(L)}},y=()=>{i=!0},p=()=>{i=!1},d=()=>tr.isFocused()&&(l.networkMode==="always"||$u.isOnline())&&l.canRun(),S=()=>iy(l.networkMode)&&l.canRun(),g=O=>{h()||(o?.(),r.resolve(O))},b=O=>{h()||(o?.(),r.reject(O))},_=()=>new Promise(O=>{o=L=>{(h()||d())&&O(L)},l.onPause?.()}).then(()=>{o=void 0,h()||l.onContinue?.()}),E=()=>{if(h())return;let O;const L=s===0?l.initialPromise:void 0;try{O=L??l.fn()}catch(D){O=Promise.reject(D)}Promise.resolve(O).then(g).catch(D=>{if(h())return;const Q=l.retry??(_i.isServer()?0:3),G=l.retryDelay??xg,Y=typeof G=="function"?G(s,D):G,$=Q===!0||typeof Q=="number"&&s<Q||typeof Q=="function"&&Q(s,D);if(i||!$){b(D);return}s++,l.onFail?.(s,D),Rg(Y).then(()=>d()?void 0:_()).then(()=>{i?b(D):E()})})};return{promise:r,status:()=>r.status,cancel:m,continue:()=>(o?.(),r),cancelRetry:y,continueRetry:p,canStart:S,start:()=>(S()?E():_().then(E),r)}}var sy=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Go(this.gcTime)&&(this.#t=ya.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(l){this.gcTime=Math.max(this.gcTime||0,l??(_i.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(ya.clearTimeout(this.#t),this.#t=void 0)}},zg=class extends sy{#t;#e;#n;#l;#a;#i;#u;constructor(l){super(),this.#u=!1,this.#i=l.defaultOptions,this.setOptions(l.options),this.observers=[],this.#l=l.client,this.#n=this.#l.getQueryCache(),this.queryKey=l.queryKey,this.queryHash=l.queryHash,this.#t=Tm(this.options),this.state=l.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(l){if(this.options={...this.#i,...l},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Tm(this.options);i.data!==void 0&&(this.setState(Em(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(l,i){const s=Vo(this.state.data,l,this.options);return this.#c({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(l,i){this.#c({type:"setState",state:l,setStateOptions:i})}cancel(l){const i=this.#a?.promise;return this.#a?.cancel(l),i?i.then(ue).catch(ue):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(l=>Ne(l.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nr||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(l=>Zn(l.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(l=>l.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(l=0){return this.state.data===void 0?!0:l==="static"?!1:this.state.isInvalidated?!0:!ny(this.state.dataUpdatedAt,l)}onFocus(){this.observers.find(i=>i.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(i=>i.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(l){this.observers.includes(l)||(this.observers.push(l),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:l}))}removeObserver(l){this.observers.includes(l)&&(this.observers=this.observers.filter(i=>i!==l),this.observers.length||(this.#a&&(this.#u||this.#s()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:l}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#c({type:"invalidate"})}async fetch(l,i){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(l&&this.setOptions(l),!this.options.queryFn){const y=this.observers.find(p=>p.options.queryFn);y&&this.setOptions(y.options)}const s=new AbortController,o=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(this.#u=!0,s.signal)})},r=()=>{const y=ly(this.options,i),d=(()=>{const S={client:this.#l,queryKey:this.queryKey,meta:this.meta};return o(S),S})();return this.#u=!1,this.options.persister?this.options.persister(y,d,this):y(d)},m=(()=>{const y={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:r};return o(y),y})();this.options.behavior?.onFetch(m,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==m.fetchOptions?.meta)&&this.#c({type:"fetch",meta:m.fetchOptions?.meta}),this.#a=uy({initialPromise:i?.initialPromise,fn:m.fetchFn,onCancel:y=>{y instanceof Zo&&y.revert&&this.setState({...this.#e,fetchStatus:"idle"}),s.abort()},onFail:(y,p)=>{this.#c({type:"failed",failureCount:y,error:p})},onPause:()=>{this.#c({type:"pause"})},onContinue:()=>{this.#c({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0});try{const y=await this.#a.start();if(y===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(y),this.#n.config.onSuccess?.(y,this),this.#n.config.onSettled?.(y,this.state.error,this),y}catch(y){if(y instanceof Zo){if(y.silent)return this.#a.promise;if(y.revert){if(this.state.data===void 0)throw y;return this.state.data}}throw this.#c({type:"error",error:y}),this.#n.config.onError?.(y,this),this.#n.config.onSettled?.(this.state.data,y,this),y}finally{this.scheduleGc()}}#c(l){const i=s=>{switch(l.type){case"failed":return{...s,fetchFailureCount:l.failureCount,fetchFailureReason:l.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...cy(s.data,this.options),fetchMeta:l.meta??null};case"success":const o={...s,...Em(l.data,l.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!l.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=l.manual?o:void 0,o;case"error":const r=l.error;return{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...l.state}}};this.state=i(this.state),Jt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:l})})}};function cy(l,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:iy(i.networkMode)?"fetching":"paused",...l===void 0&&{error:null,status:"pending"}}}function Em(l,i){return{data:l,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Tm(l){const i=typeof l.initialData=="function"?l.initialData():l.initialData,s=i!==void 0,o=s?typeof l.initialDataUpdatedAt=="function"?l.initialDataUpdatedAt():l.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var oy=class extends yl{constructor(l,i){super(),this.options=i,this.#t=l,this.#s=null,this.#u=Ko(),this.bindMethods(),this.setOptions(i)}#t;#e=void 0;#n=void 0;#l=void 0;#a;#i;#u;#s;#c;#d;#m;#r;#f;#o;#y=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),Mm(this.#e,this.options)?this.#h():this.updateResult(),this.#S())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Jo(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Jo(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#_(),this.#e.removeObserver(this)}setOptions(l){const i=this.options,s=this.#e;if(this.options=this.#t.defaultQueryOptions(l),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ne(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#e.setOptions(this.options),i._defaulted&&!Iu(this.options,i)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&Om(this.#e,s,this.options,i)&&this.#h(),this.updateResult(),o&&(this.#e!==s||Ne(this.options.enabled,this.#e)!==Ne(i.enabled,this.#e)||Zn(this.options.staleTime,this.#e)!==Zn(i.staleTime,this.#e))&&this.#v();const r=this.#p();o&&(this.#e!==s||Ne(this.options.enabled,this.#e)!==Ne(i.enabled,this.#e)||r!==this.#o)&&this.#g(r)}getOptimisticResult(l){const i=this.#t.getQueryCache().build(this.#t,l),s=this.createResult(i,l);return Ug(this,s)&&(this.#l=s,this.#i=this.options,this.#a=this.#e.state),s}getCurrentResult(){return this.#l}trackResult(l,i){return new Proxy(l,{get:(s,o)=>(this.trackProp(o),i?.(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#u.status==="pending"&&this.#u.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,o))})}trackProp(l){this.#y.add(l)}getCurrentQuery(){return this.#e}refetch({...l}={}){return this.fetch({...l})}fetchOptimistic(l){const i=this.#t.defaultQueryOptions(l),s=this.#t.getQueryCache().build(this.#t,i);return s.fetch().then(()=>this.createResult(s,i))}fetch(l){return this.#h({...l,cancelRefetch:l.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#l))}#h(l){this.#R();let i=this.#e.fetch(this.options,l);return l?.throwOnError||(i=i.catch(ue)),i}#v(){this.#b();const l=Zn(this.options.staleTime,this.#e);if(_i.isServer()||this.#l.isStale||!Go(l))return;const s=ny(this.#l.dataUpdatedAt,l)+1;this.#r=ya.setTimeout(()=>{this.#l.isStale||this.updateResult()},s)}#p(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#g(l){this.#_(),this.#o=l,!(_i.isServer()||Ne(this.options.enabled,this.#e)===!1||!Go(this.#o)||this.#o===0)&&(this.#f=ya.setInterval(()=>{(this.options.refetchIntervalInBackground||tr.isFocused())&&this.#h()},this.#o))}#S(){this.#v(),this.#g(this.#p())}#b(){this.#r!==void 0&&(ya.clearTimeout(this.#r),this.#r=void 0)}#_(){this.#f!==void 0&&(ya.clearInterval(this.#f),this.#f=void 0)}createResult(l,i){const s=this.#e,o=this.options,r=this.#l,h=this.#a,m=this.#i,p=l!==s?l.state:this.#n,{state:d}=l;let S={...d},g=!1,b;if(i._optimisticResults){const V=this.hasListeners(),K=!V&&Mm(l,i),et=V&&Om(l,s,i,o);(K||et)&&(S={...S,...cy(d.data,l.options)}),i._optimisticResults==="isRestoring"&&(S.fetchStatus="idle")}let{error:_,errorUpdatedAt:E,status:O}=S;b=S.data;let L=!1;if(i.placeholderData!==void 0&&b===void 0&&O==="pending"){let V;r?.isPlaceholderData&&i.placeholderData===m?.placeholderData?(V=r.data,L=!0):V=typeof i.placeholderData=="function"?i.placeholderData(this.#m?.state.data,this.#m):i.placeholderData,V!==void 0&&(O="success",b=Vo(r?.data,V,i),g=!0)}if(i.select&&b!==void 0&&!L)if(r&&b===h?.data&&i.select===this.#c)b=this.#d;else try{this.#c=i.select,b=i.select(b),b=Vo(r?.data,b,i),this.#d=b,this.#s=null}catch(V){this.#s=V}this.#s&&(_=this.#s,b=this.#d,E=Date.now(),O="error");const D=S.fetchStatus==="fetching",Q=O==="pending",G=O==="error",Y=Q&&D,$=b!==void 0,q={status:O,fetchStatus:S.fetchStatus,isPending:Q,isSuccess:O==="success",isError:G,isInitialLoading:Y,isLoading:Y,data:b,dataUpdatedAt:S.dataUpdatedAt,error:_,errorUpdatedAt:E,failureCount:S.fetchFailureCount,failureReason:S.fetchFailureReason,errorUpdateCount:S.errorUpdateCount,isFetched:l.isFetched(),isFetchedAfterMount:S.dataUpdateCount>p.dataUpdateCount||S.errorUpdateCount>p.errorUpdateCount,isFetching:D,isRefetching:D&&!Q,isLoadingError:G&&!$,isPaused:S.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:G&&$,isStale:lr(l,i),refetch:this.refetch,promise:this.#u,isEnabled:Ne(i.enabled,l)!==!1};if(this.options.experimental_prefetchInRender){const V=q.data!==void 0,K=q.status==="error"&&!V,et=rt=>{K?rt.reject(q.error):V&&rt.resolve(q.data)},F=()=>{const rt=this.#u=q.promise=Ko();et(rt)},ut=this.#u;switch(ut.status){case"pending":l.queryHash===s.queryHash&&et(ut);break;case"fulfilled":(K||q.data!==ut.value)&&F();break;case"rejected":(!K||q.error!==ut.reason)&&F();break}}return q}updateResult(){const l=this.#l,i=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#m=this.#e),Iu(i,l))return;this.#l=i;const s=()=>{if(!l)return!0;const{notifyOnChangeProps:o}=this.options,r=typeof o=="function"?o():o;if(r==="all"||!r&&!this.#y.size)return!0;const h=new Set(r??this.#y);return this.options.throwOnError&&h.add("error"),Object.keys(this.#l).some(m=>{const y=m;return this.#l[y]!==l[y]&&h.has(y)})};this.#E({listeners:s()})}#R(){const l=this.#t.getQueryCache().build(this.#t,this.options);if(l===this.#e)return;const i=this.#e;this.#e=l,this.#n=l.state,this.hasListeners()&&(i?.removeObserver(this),l.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#S()}#E(l){Jt.batch(()=>{l.listeners&&this.listeners.forEach(i=>{i(this.#l)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function Dg(l,i){return Ne(i.enabled,l)!==!1&&l.state.data===void 0&&!(l.state.status==="error"&&i.retryOnMount===!1)}function Mm(l,i){return Dg(l,i)||l.state.data!==void 0&&Jo(l,i,i.refetchOnMount)}function Jo(l,i,s){if(Ne(i.enabled,l)!==!1&&Zn(i.staleTime,l)!=="static"){const o=typeof s=="function"?s(l):s;return o==="always"||o!==!1&&lr(l,i)}return!1}function Om(l,i,s,o){return(l!==i||Ne(o.enabled,l)===!1)&&(!s.suspense||l.state.status!=="error")&&lr(l,s)}function lr(l,i){return Ne(i.enabled,l)!==!1&&l.isStaleByTime(Zn(i.staleTime,l))}function Ug(l,i){return!Iu(l.getCurrentResult(),i)}function ts(l){return{onFetch:(i,s)=>{const o=i.options,r=i.fetchOptions?.meta?.fetchMore?.direction,h=i.state.data?.pages||[],m=i.state.data?.pageParams||[];let y={pages:[],pageParams:[]},p=0;const d=async()=>{let S=!1;const g=E=>{Mg(E,()=>i.signal,()=>S=!0)},b=ly(i.options,i.fetchOptions),_=async(E,O,L)=>{if(S)return Promise.reject();if(O==null&&E.pages.length)return Promise.resolve(E);const Q=(()=>{const J={client:i.client,queryKey:i.queryKey,pageParam:O,direction:L?"backward":"forward",meta:i.options.meta};return g(J),J})(),G=await b(Q),{maxPages:Y}=i.options,$=L?Tg:Eg;return{pages:$(E.pages,G,Y),pageParams:$(E.pageParams,O,Y)}};if(r&&h.length){const E=r==="backward",O=E?ry:Po,L={pages:h,pageParams:m},D=O(o,L);y=await _(L,D,E)}else{const E=l??h.length;do{const O=p===0?m[0]??o.initialPageParam:Po(o,y);if(p>0&&O==null)break;y=await _(y,O),p++}while(p<E)}return y};i.options.persister?i.fetchFn=()=>i.options.persister?.(d,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=d}}}function Po(l,{pages:i,pageParams:s}){const o=i.length-1;return i.length>0?l.getNextPageParam(i[o],i,s[o],s):void 0}function ry(l,{pages:i,pageParams:s}){return i.length>0?l.getPreviousPageParam?.(i[0],i,s[0],s):void 0}function Lg(l,i){return i?Po(l,i)!=null:!1}function wg(l,i){return!i||!l.getPreviousPageParam?!1:ry(l,i)!=null}var Ng=class extends oy{constructor(l,i){super(l,i)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(l){super.setOptions({...l,behavior:ts()})}getOptimisticResult(l){return l.behavior=ts(),super.getOptimisticResult(l)}fetchNextPage(l){return this.fetch({...l,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(l){return this.fetch({...l,meta:{fetchMore:{direction:"backward"}}})}createResult(l,i){const{state:s}=l,o=super.createResult(l,i),{isFetching:r,isRefetching:h,isError:m,isRefetchError:y}=o,p=s.fetchMeta?.fetchMore?.direction,d=m&&p==="forward",S=r&&p==="forward",g=m&&p==="backward",b=r&&p==="backward";return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Lg(i,s.data),hasPreviousPage:wg(i,s.data),isFetchNextPageError:d,isFetchingNextPage:S,isFetchPreviousPageError:g,isFetchingPreviousPage:b,isRefetchError:y&&!d&&!g,isRefetching:h&&!S&&!b}}},Bg=class extends sy{#t;#e;#n;#l;constructor(l){super(),this.#t=l.client,this.mutationId=l.mutationId,this.#n=l.mutationCache,this.#e=[],this.state=l.state||fy(),this.setOptions(l.options),this.scheduleGc()}setOptions(l){this.options=l,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(l){this.#e.includes(l)||(this.#e.push(l),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:l}))}removeObserver(l){this.#e=this.#e.filter(i=>i!==l),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:l})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(l){const i=()=>{this.#a({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=uy({fn:()=>this.options.mutationFn?this.options.mutationFn(l,s):Promise.reject(new Error("No mutationFn found")),onFail:(h,m)=>{this.#a({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const o=this.state.status==="pending",r=!this.#l.canStart();try{if(o)i();else{this.#a({type:"pending",variables:l,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(l,this,s);const m=await this.options.onMutate?.(l,s);m!==this.state.context&&this.#a({type:"pending",context:m,variables:l,isPaused:r})}const h=await this.#l.start();return await this.#n.config.onSuccess?.(h,l,this.state.context,this,s),await this.options.onSuccess?.(h,l,this.state.context,s),await this.#n.config.onSettled?.(h,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(h,null,l,this.state.context,s),this.#a({type:"success",data:h}),h}catch(h){try{await this.#n.config.onError?.(h,l,this.state.context,this,s)}catch(m){Promise.reject(m)}try{await this.options.onError?.(h,l,this.state.context,s)}catch(m){Promise.reject(m)}try{await this.#n.config.onSettled?.(void 0,h,this.state.variables,this.state.context,this,s)}catch(m){Promise.reject(m)}try{await this.options.onSettled?.(void 0,h,l,this.state.context,s)}catch(m){Promise.reject(m)}throw this.#a({type:"error",error:h}),h}finally{this.#n.runNext(this)}}#a(l){const i=s=>{switch(l.type){case"failed":return{...s,failureCount:l.failureCount,failureReason:l.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:l.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:l.isPaused,status:"pending",variables:l.variables,submittedAt:Date.now()};case"success":return{...s,data:l.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:l.error,failureCount:s.failureCount+1,failureReason:l.error,isPaused:!1,status:"error"}}};this.state=i(this.state),Jt.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(l)}),this.#n.notify({mutation:this,type:"updated",action:l})})}};function fy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jg=class extends yl{constructor(l={}){super(),this.config=l,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(l,i,s){const o=new Bg({client:l,mutationCache:this,mutationId:++this.#n,options:l.defaultMutationOptions(i),state:s});return this.add(o),o}add(l){this.#t.add(l);const i=Ku(l);if(typeof i=="string"){const s=this.#e.get(i);s?s.push(l):this.#e.set(i,[l])}this.notify({type:"added",mutation:l})}remove(l){if(this.#t.delete(l)){const i=Ku(l);if(typeof i=="string"){const s=this.#e.get(i);if(s)if(s.length>1){const o=s.indexOf(l);o!==-1&&s.splice(o,1)}else s[0]===l&&this.#e.delete(i)}}this.notify({type:"removed",mutation:l})}canRun(l){const i=Ku(l);if(typeof i=="string"){const o=this.#e.get(i)?.find(r=>r.state.status==="pending");return!o||o===l}else return!0}runNext(l){const i=Ku(l);return typeof i=="string"?this.#e.get(i)?.find(o=>o!==l&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Jt.batch(()=>{this.#t.forEach(l=>{this.notify({type:"removed",mutation:l})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(l){const i={exact:!0,...l};return this.getAll().find(s=>bm(i,s))}findAll(l={}){return this.getAll().filter(i=>bm(l,i))}notify(l){Jt.batch(()=>{this.listeners.forEach(i=>{i(l)})})}resumePausedMutations(){const l=this.getAll().filter(i=>i.state.isPaused);return Jt.batch(()=>Promise.all(l.map(i=>i.continue().catch(ue))))}};function Ku(l){return l.options.scope?.id}var Hg=class extends yl{#t;#e=void 0;#n;#l;constructor(l,i){super(),this.#t=l,this.setOptions(i),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(l){const i=this.options;this.options=this.#t.defaultMutationOptions(l),Iu(this.options,i)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),i?.mutationKey&&this.options.mutationKey&&Ra(i.mutationKey)!==Ra(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(l){this.#a(),this.#i(l)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(l,i){return this.#l=i,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(l)}#a(){const l=this.#n?.state??fy();this.#e={...l,isPending:l.status==="pending",isSuccess:l.status==="success",isError:l.status==="error",isIdle:l.status==="idle",mutate:this.mutate,reset:this.reset}}#i(l){Jt.batch(()=>{if(this.#l&&this.hasListeners()){const i=this.#e.variables,s=this.#e.context,o={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(l?.type==="success"){try{this.#l.onSuccess?.(l.data,i,s,o)}catch(r){Promise.reject(r)}try{this.#l.onSettled?.(l.data,null,i,s,o)}catch(r){Promise.reject(r)}}else if(l?.type==="error"){try{this.#l.onError?.(l.error,i,s,o)}catch(r){Promise.reject(r)}try{this.#l.onSettled?.(void 0,l.error,i,s,o)}catch(r){Promise.reject(r)}}}this.listeners.forEach(i=>{i(this.#e)})})}},qg=class extends yl{constructor(l={}){super(),this.config=l,this.#t=new Map}#t;build(l,i,s){const o=i.queryKey,r=i.queryHash??er(o,i);let h=this.get(r);return h||(h=new zg({client:l,queryKey:o,queryHash:r,options:l.defaultQueryOptions(i),state:s,defaultOptions:l.getQueryDefaults(o)}),this.add(h)),h}add(l){this.#t.has(l.queryHash)||(this.#t.set(l.queryHash,l),this.notify({type:"added",query:l}))}remove(l){const i=this.#t.get(l.queryHash);i&&(l.destroy(),i===l&&this.#t.delete(l.queryHash),this.notify({type:"removed",query:l}))}clear(){Jt.batch(()=>{this.getAll().forEach(l=>{this.remove(l)})})}get(l){return this.#t.get(l)}getAll(){return[...this.#t.values()]}find(l){const i={exact:!0,...l};return this.getAll().find(s=>Sm(i,s))}findAll(l={}){const i=this.getAll();return Object.keys(l).length>0?i.filter(s=>Sm(l,s)):i}notify(l){Jt.batch(()=>{this.listeners.forEach(i=>{i(l)})})}onFocus(){Jt.batch(()=>{this.getAll().forEach(l=>{l.onFocus()})})}onOnline(){Jt.batch(()=>{this.getAll().forEach(l=>{l.onOnline()})})}},JS=class{#t;#e;#n;#l;#a;#i;#u;#s;constructor(l={}){this.#t=l.queryCache||new qg,this.#e=l.mutationCache||new jg,this.#n=l.defaultOptions||{},this.#l=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#u=tr.subscribe(async l=>{l&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=$u.subscribe(async l=>{l&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#u?.(),this.#u=void 0,this.#s?.(),this.#s=void 0)}isFetching(l){return this.#t.findAll({...l,fetchStatus:"fetching"}).length}isMutating(l){return this.#e.findAll({...l,status:"pending"}).length}getQueryData(l){const i=this.defaultQueryOptions({queryKey:l});return this.#t.get(i.queryHash)?.state.data}ensureQueryData(l){const i=this.defaultQueryOptions(l),s=this.#t.build(this,i),o=s.state.data;return o===void 0?this.fetchQuery(l):(l.revalidateIfStale&&s.isStaleByTime(Zn(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(o))}getQueriesData(l){return this.#t.findAll(l).map(({queryKey:i,state:s})=>{const o=s.data;return[i,o]})}setQueryData(l,i,s){const o=this.defaultQueryOptions({queryKey:l}),h=this.#t.get(o.queryHash)?.state.data,m=bg(i,h);if(m!==void 0)return this.#t.build(this,o).setData(m,{...s,manual:!0})}setQueriesData(l,i,s){return Jt.batch(()=>this.#t.findAll(l).map(({queryKey:o})=>[o,this.setQueryData(o,i,s)]))}getQueryState(l){const i=this.defaultQueryOptions({queryKey:l});return this.#t.get(i.queryHash)?.state}removeQueries(l){const i=this.#t;Jt.batch(()=>{i.findAll(l).forEach(s=>{i.remove(s)})})}resetQueries(l,i){const s=this.#t;return Jt.batch(()=>(s.findAll(l).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...l},i)))}cancelQueries(l,i={}){const s={revert:!0,...i},o=Jt.batch(()=>this.#t.findAll(l).map(r=>r.cancel(s)));return Promise.all(o).then(ue).catch(ue)}invalidateQueries(l,i={}){return Jt.batch(()=>(this.#t.findAll(l).forEach(s=>{s.invalidate()}),l?.refetchType==="none"?Promise.resolve():this.refetchQueries({...l,type:l?.refetchType??l?.type??"active"},i)))}refetchQueries(l,i={}){const s={...i,cancelRefetch:i.cancelRefetch??!0},o=Jt.batch(()=>this.#t.findAll(l).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let h=r.fetch(void 0,s);return s.throwOnError||(h=h.catch(ue)),r.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(o).then(ue)}fetchQuery(l){const i=this.defaultQueryOptions(l);i.retry===void 0&&(i.retry=!1);const s=this.#t.build(this,i);return s.isStaleByTime(Zn(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(l){return this.fetchQuery(l).then(ue).catch(ue)}fetchInfiniteQuery(l){return l.behavior=ts(l.pages),this.fetchQuery(l)}prefetchInfiniteQuery(l){return this.fetchInfiniteQuery(l).then(ue).catch(ue)}ensureInfiniteQueryData(l){return l.behavior=ts(l.pages),this.ensureQueryData(l)}resumePausedMutations(){return $u.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(l){this.#n=l}setQueryDefaults(l,i){this.#l.set(Ra(l),{queryKey:l,defaultOptions:i})}getQueryDefaults(l){const i=[...this.#l.values()],s={};return i.forEach(o=>{bi(l,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(l,i){this.#a.set(Ra(l),{mutationKey:l,defaultOptions:i})}getMutationDefaults(l){const i=[...this.#a.values()],s={};return i.forEach(o=>{bi(l,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(l){if(l._defaulted)return l;const i={...this.#n.queries,...this.getQueryDefaults(l.queryKey),...l,_defaulted:!0};return i.queryHash||(i.queryHash=er(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===nr&&(i.enabled=!1),i}defaultMutationOptions(l){return l?._defaulted?l:{...this.#n.mutations,...l?.mutationKey&&this.getMutationDefaults(l.mutationKey),...l,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},hy=W.createContext(void 0),dy=l=>{const i=W.useContext(hy);if(!i)throw new Error("No QueryClient set, use QueryClientProvider to set one");return i},PS=({client:l,children:i})=>(W.useEffect(()=>(l.mount(),()=>{l.unmount()}),[l]),lt.jsx(hy.Provider,{value:l,children:i})),my=W.createContext(!1),Qg=()=>W.useContext(my);my.Provider;function Yg(){let l=!1;return{clearReset:()=>{l=!1},reset:()=>{l=!0},isReset:()=>l}}var Gg=W.createContext(Yg()),Xg=()=>W.useContext(Gg),Vg=(l,i,s)=>{const o=s?.state.error&&typeof l.throwOnError=="function"?ar(l.throwOnError,[s.state.error,s]):l.throwOnError;(l.suspense||l.experimental_prefetchInRender||o)&&(i.isReset()||(l.retryOnMount=!1))},Kg=l=>{W.useEffect(()=>{l.clearReset()},[l])},Zg=({result:l,errorResetBoundary:i,throwOnError:s,query:o,suspense:r})=>l.isError&&!i.isReset()&&!l.isFetching&&o&&(r&&l.data===void 0||ar(s,[l.error,o])),Jg=l=>{if(l.suspense){const s=r=>r==="static"?r:Math.max(r??1e3,1e3),o=l.staleTime;l.staleTime=typeof o=="function"?(...r)=>s(o(...r)):s(o),typeof l.gcTime=="number"&&(l.gcTime=Math.max(l.gcTime,1e3))}},Pg=(l,i)=>l.isLoading&&l.isFetching&&!i,Fg=(l,i)=>l?.suspense&&i.isPending,Cm=(l,i,s)=>i.fetchOptimistic(l).catch(()=>{s.clearReset()});function yy(l,i,s){const o=Qg(),r=Xg(),h=dy(),m=h.defaultQueryOptions(l);h.getDefaultOptions().queries?._experimental_beforeQuery?.(m);const y=h.getQueryCache().get(m.queryHash);m._optimisticResults=o?"isRestoring":"optimistic",Jg(m),Vg(m,r,y),Kg(r);const p=!h.getQueryCache().get(m.queryHash),[d]=W.useState(()=>new i(h,m)),S=d.getOptimisticResult(m),g=!o&&l.subscribed!==!1;if(W.useSyncExternalStore(W.useCallback(b=>{const _=g?d.subscribe(Jt.batchCalls(b)):ue;return d.updateResult(),_},[d,g]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),W.useEffect(()=>{d.setOptions(m)},[m,d]),Fg(m,S))throw Cm(m,d,r);if(Zg({result:S,errorResetBoundary:r,throwOnError:m.throwOnError,query:y,suspense:m.suspense}))throw S.error;return h.getDefaultOptions().queries?._experimental_afterQuery?.(m,S),m.experimental_prefetchInRender&&!_i.isServer()&&Pg(S,o)&&(p?Cm(m,d,r):y?.promise)?.catch(ue).finally(()=>{d.updateResult()}),m.notifyOnChangeProps?S:d.trackResult(S)}function FS(l,i){return yy(l,oy)}function kS(l,i){const s=dy(),[o]=W.useState(()=>new Hg(s,l));W.useEffect(()=>{o.setOptions(l)},[o,l]);const r=W.useSyncExternalStore(W.useCallback(m=>o.subscribe(Jt.batchCalls(m)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),h=W.useCallback((m,y)=>{o.mutate(m,y).catch(ue)},[o]);if(r.error&&ar(o.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:h,mutateAsync:r.mutate}}function WS(l,i){return yy(l,Ng)}var gi=typeof window<"u"?W.useLayoutEffect:W.useEffect;function xo(l){const i=W.useRef({value:l,prev:null}),s=i.current.value;return l!==s&&(i.current={value:l,prev:s}),i.current.prev}function kg(l,i,s={},o={}){W.useEffect(()=>{if(!l.current||o.disabled||typeof IntersectionObserver!="function")return;const r=new IntersectionObserver(([h])=>{i(h)},s);return r.observe(l.current),()=>{r.disconnect()}},[i,s,o.disabled,l])}function Wg(l){const i=W.useRef(null);return W.useImperativeHandle(l,()=>i.current,[]),i}var vy=!1;function Ri(l){return l[l.length-1]}function Ig(l){return typeof l=="function"}function Vn(l,i){return Ig(l)?l(i):l}var $g=Object.prototype.hasOwnProperty,Am=Object.prototype.propertyIsEnumerable,t0=()=>Object.create(null),ma=(l,i)=>va(l,i,t0);function va(l,i,s=()=>({}),o=0){if(l===i)return l;if(o>500)return i;const r=i,h=Dm(l)&&Dm(r);if(!h&&!(dl(l)&&dl(r)))return r;const m=h?l:xm(l);if(!m)return r;const y=h?r:xm(r);if(!y)return r;const p=m.length,d=y.length,S=h?new Array(d):s();let g=0;for(let b=0;b<d;b++){const _=h?b:y[b],E=l[_],O=r[_];if(E===O){S[_]=E,(h?b<p:$g.call(l,_))&&g++;continue}if(E===null||O===null||typeof E!="object"||typeof O!="object"){S[_]=O;continue}const L=va(E,O,s,o+1);S[_]=L,L===E&&g++}return p===d&&g===p?l:S}function xm(l){const i=Object.getOwnPropertyNames(l);for(const r of i)if(!Am.call(l,r))return!1;const s=Object.getOwnPropertySymbols(l);if(s.length===0)return i;const o=i;for(const r of s){if(!Am.call(l,r))return!1;o.push(r)}return o}function dl(l){if(!zm(l))return!1;const i=l.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!zm(s)||!s.hasOwnProperty("isPrototypeOf"))}function zm(l){return Object.prototype.toString.call(l)==="[object Object]"}function Dm(l){return Array.isArray(l)&&l.length===Object.keys(l).length}function Sa(l,i,s){if(l===i)return!0;if(typeof l!=typeof i)return!1;if(Array.isArray(l)&&Array.isArray(i)){if(l.length!==i.length)return!1;for(let o=0,r=l.length;o<r;o++)if(!Sa(l[o],i[o],s))return!1;return!0}if(dl(l)&&dl(i)){const o=s?.ignoreUndefined??!0;if(s?.partial){for(const m in i)if((!o||i[m]!==void 0)&&!Sa(l[m],i[m],s))return!1;return!0}let r=0;if(!o)r=Object.keys(l).length;else for(const m in l)l[m]!==void 0&&r++;let h=0;for(const m in i)if((!o||i[m]!==void 0)&&(h++,h>r||!Sa(l[m],i[m],s)))return!1;return r===h}return!1}function ml(l){let i,s;const o=new Promise((r,h)=>{i=r,s=h});return o.status="pending",o.resolve=r=>{o.status="resolved",o.value=r,i(r),l?.(r)},o.reject=r=>{o.status="rejected",s(r)},o}function Ei(l){return!!(l&&typeof l=="object"&&typeof l.then=="function")}function e0(l){return l.replace(/[\x00-\x1f\x7f]/g,"")}function Um(l){let i;try{i=decodeURI(l)}catch{i=l.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return e0(i)}var n0=["http:","https:","mailto:","tel:"];function es(l,i){if(!l)return!1;try{const s=new URL(l);return!i.has(s.protocol)}catch{return!1}}function di(l){if(!l)return{path:l,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(l)&&!l.startsWith("//"))return{path:l,handledProtocolRelativeURL:!1};const i=/%25|%5C/gi;let s=0,o="",r;for(;(r=i.exec(l))!==null;)o+=Um(l.slice(s,r.index))+r[0],s=i.lastIndex;o=o+Um(s?l.slice(s):l);let h=!1;return o.startsWith("//")&&(h=!0,o="/"+o.replace(/^\/+/,"")),{path:o,handledProtocolRelativeURL:h}}function a0(l){return/\s|[^\u0000-\u007F]/.test(l)?l.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):l}function l0(l,i){if(l===i)return!0;if(l.length!==i.length)return!1;for(let s=0;s<l.length;s++)if(l[s]!==i[s])return!1;return!0}function vn(){throw new Error("Invariant failed")}function Ti(l){const i=new Map;let s,o;const r=h=>{h.next&&(h.prev?(h.prev.next=h.next,h.next.prev=h.prev,h.next=void 0,o&&(o.next=h,h.prev=o)):(h.next.prev=void 0,s=h.next,h.next=void 0,o&&(h.prev=o,o.next=h)),o=h)};return{get(h){const m=i.get(h);if(m)return r(m),m.value},set(h,m){if(i.size>=l&&s){const p=s;i.delete(p.key),p.next&&(s=p.next,p.next.prev=void 0),p===o&&(o=void 0)}const y=i.get(h);if(y)y.value=m,r(y);else{const p={key:h,value:m,prev:o};o&&(o.next=p),o=p,s||(s=p),i.set(h,p)}},clear(){i.clear(),s=void 0,o=void 0}}}var pa=4,py=5;function i0(l){const i=l.indexOf("{");if(i===-1)return null;const s=l.indexOf("}",i);return s===-1||i+1>=l.length?null:[i,s]}function ir(l,i,s=new Uint16Array(6)){const o=l.indexOf("/",i),r=o===-1?l.length:o,h=l.substring(i,r);if(!h||!h.includes("$"))return s[0]=0,s[1]=i,s[2]=i,s[3]=r,s[4]=r,s[5]=r,s;if(h==="$"){const y=l.length;return s[0]=2,s[1]=i,s[2]=i,s[3]=y,s[4]=y,s[5]=y,s}if(h.charCodeAt(0)===36)return s[0]=1,s[1]=i,s[2]=i+1,s[3]=r,s[4]=r,s[5]=r,s;const m=i0(h);if(m){const[y,p]=m,d=h.charCodeAt(y+1);if(d===45){if(y+2<h.length&&h.charCodeAt(y+2)===36){const S=y+3,g=p;if(S<g)return s[0]=3,s[1]=i+y,s[2]=i+S,s[3]=i+g,s[4]=i+p+1,s[5]=r,s}}else if(d===36){const S=y+1,g=y+2;return g===p?(s[0]=2,s[1]=i+y,s[2]=i+S,s[3]=i+g,s[4]=i+p+1,s[5]=l.length,s):(s[0]=1,s[1]=i+y,s[2]=i+g,s[3]=i+p,s[4]=i+p+1,s[5]=r,s)}}return s[0]=0,s[1]=i,s[2]=i,s[3]=r,s[4]=r,s[5]=r,s}function us(l,i,s,o,r,h,m){m?.(s);let y=o;{const p=s.fullPath??s.from,d=p.length,S=s.options?.caseSensitive??l,g=!!(s.options?.params?.parse&&s.options?.skipRouteOnParseError?.params);for(;y<d;){const _=ir(p,y,i);let E;const O=y,L=_[5];switch(y=L+1,h++,_[0]){case 0:{const D=p.substring(_[2],_[3]);if(S){const Q=r.static?.get(D);if(Q)E=Q;else{r.static??=new Map;const G=ga(s.fullPath??s.from);G.parent=r,G.depth=h,E=G,r.static.set(D,G)}}else{const Q=D.toLowerCase(),G=r.staticInsensitive?.get(Q);if(G)E=G;else{r.staticInsensitive??=new Map;const Y=ga(s.fullPath??s.from);Y.parent=r,Y.depth=h,E=Y,r.staticInsensitive.set(Q,Y)}}break}case 1:{const D=p.substring(O,_[1]),Q=p.substring(_[4],L),G=S&&!!(D||Q),Y=D?G?D:D.toLowerCase():void 0,$=Q?G?Q:Q.toLowerCase():void 0,J=!g&&r.dynamic?.find(q=>!q.skipOnParamError&&q.caseSensitive===G&&q.prefix===Y&&q.suffix===$);if(J)E=J;else{const q=Do(1,s.fullPath??s.from,G,Y,$);E=q,q.depth=h,q.parent=r,r.dynamic??=[],r.dynamic.push(q)}break}case 3:{const D=p.substring(O,_[1]),Q=p.substring(_[4],L),G=S&&!!(D||Q),Y=D?G?D:D.toLowerCase():void 0,$=Q?G?Q:Q.toLowerCase():void 0,J=!g&&r.optional?.find(q=>!q.skipOnParamError&&q.caseSensitive===G&&q.prefix===Y&&q.suffix===$);if(J)E=J;else{const q=Do(3,s.fullPath??s.from,G,Y,$);E=q,q.parent=r,q.depth=h,r.optional??=[],r.optional.push(q)}break}case 2:{const D=p.substring(O,_[1]),Q=p.substring(_[4],L),G=S&&!!(D||Q),Y=D?G?D:D.toLowerCase():void 0,$=Q?G?Q:Q.toLowerCase():void 0,J=Do(2,s.fullPath??s.from,G,Y,$);E=J,J.parent=r,J.depth=h,r.wildcard??=[],r.wildcard.push(J)}}r=E}if(g&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const _=ga(s.fullPath??s.from);_.kind=py,_.parent=r,h++,_.depth=h,r.pathless??=[],r.pathless.push(_),r=_}const b=(s.path||!s.children)&&!s.isRoot;if(b&&p.endsWith("/")){const _=ga(s.fullPath??s.from);_.kind=pa,_.parent=r,h++,_.depth=h,r.index=_,r=_}r.parse=s.options?.params?.parse??null,r.skipOnParamError=g,r.parsingPriority=s.options?.skipRouteOnParseError?.priority??0,b&&!r.route&&(r.route=s,r.fullPath=s.fullPath??s.from)}if(s.children)for(const p of s.children)us(l,i,p,y,r,h,m)}function zo(l,i){if(l.skipOnParamError&&!i.skipOnParamError)return-1;if(!l.skipOnParamError&&i.skipOnParamError)return 1;if(l.skipOnParamError&&i.skipOnParamError&&(l.parsingPriority||i.parsingPriority))return i.parsingPriority-l.parsingPriority;if(l.prefix&&i.prefix&&l.prefix!==i.prefix){if(l.prefix.startsWith(i.prefix))return-1;if(i.prefix.startsWith(l.prefix))return 1}if(l.suffix&&i.suffix&&l.suffix!==i.suffix){if(l.suffix.endsWith(i.suffix))return-1;if(i.suffix.endsWith(l.suffix))return 1}return l.prefix&&!i.prefix?-1:!l.prefix&&i.prefix?1:l.suffix&&!i.suffix?-1:!l.suffix&&i.suffix?1:l.caseSensitive&&!i.caseSensitive?-1:!l.caseSensitive&&i.caseSensitive?1:0}function Xn(l){if(l.pathless)for(const i of l.pathless)Xn(i);if(l.static)for(const i of l.static.values())Xn(i);if(l.staticInsensitive)for(const i of l.staticInsensitive.values())Xn(i);if(l.dynamic?.length){l.dynamic.sort(zo);for(const i of l.dynamic)Xn(i)}if(l.optional?.length){l.optional.sort(zo);for(const i of l.optional)Xn(i)}if(l.wildcard?.length){l.wildcard.sort(zo);for(const i of l.wildcard)Xn(i)}}function ga(l){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:l,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function Do(l,i,s,o,r){return{kind:l,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:i,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:s,prefix:o,suffix:r}}function u0(l,i){const s=ga("/"),o=new Uint16Array(6);for(const r of l)us(!1,o,r,1,s,0);Xn(s),i.masksTree=s,i.flatCache=Ti(1e3)}function s0(l,i){l||="/";const s=i.flatCache.get(l);if(s)return s;const o=ur(l,i.masksTree);return i.flatCache.set(l,o),o}function c0(l,i,s,o,r){l||="/",o||="/";const h=i?`case\0${l}`:l;let m=r.singleCache.get(h);return m||(m=ga("/"),us(i,new Uint16Array(6),{from:l},1,m,0),r.singleCache.set(h,m)),ur(o,m,s)}function o0(l,i,s=!1){const o=s?l:`nofuzz\0${l}`,r=i.matchCache.get(o);if(r!==void 0)return r;l||="/";let h;try{h=ur(l,i.segmentTree,s)}catch(m){if(m instanceof URIError)h=null;else throw m}return h&&(h.branch=h0(h.route)),i.matchCache.set(o,h),h}function r0(l){return l==="/"?l:l.replace(/\/{1,}$/,"")}function f0(l,i=!1,s){const o=ga(l.fullPath),r=new Uint16Array(6),h={},m={};let y=0;return us(i,r,l,1,o,0,p=>{if(s?.(p,y),p.id in h&&vn(),h[p.id]=p,y!==0&&p.path){const d=r0(p.fullPath);(!m[d]||p.fullPath.endsWith("/"))&&(m[d]=p)}y++}),Xn(o),{processedTree:{segmentTree:o,singleCache:Ti(1e3),matchCache:Ti(1e3),flatCache:null,masksTree:null},routesById:h,routesByPath:m}}function ur(l,i,s=!1){const o=l.split("/"),r=m0(l,o,i,s);if(!r)return null;const[h]=gy(l,o,r);return{route:r.node.route,rawParams:h,parsedParams:r.parsedParams}}function gy(l,i,s){const o=d0(s.node);let r=null;const h=Object.create(null);let m=s.extract?.part??0,y=s.extract?.node??0,p=s.extract?.path??0,d=s.extract?.segment??0;for(;y<o.length;m++,y++,p++,d++){const S=o[y];if(S.kind===pa)break;if(S.kind===py){d--,m--,p--;continue}const g=i[m],b=p;if(g&&(p+=g.length),S.kind===1){r??=s.node.fullPath.split("/");const _=r[d],E=S.prefix?.length??0;if(_.charCodeAt(E)===123){const O=S.suffix?.length??0,L=_.substring(E+2,_.length-O-1),D=g.substring(E,g.length-O);h[L]=decodeURIComponent(D)}else{const O=_.substring(1);h[O]=decodeURIComponent(g)}}else if(S.kind===3){if(s.skipped&1<<y){m--,p=b-1;continue}r??=s.node.fullPath.split("/");const _=r[d],E=S.prefix?.length??0,O=S.suffix?.length??0,L=_.substring(E+3,_.length-O-1),D=S.suffix||S.prefix?g.substring(E,g.length-O):g;D&&(h[L]=decodeURIComponent(D))}else if(S.kind===2){const _=S,E=l.substring(b+(_.prefix?.length??0),l.length-(_.suffix?.length??0)),O=decodeURIComponent(E);h["*"]=O,h._splat=O;break}}return s.rawParams&&Object.assign(h,s.rawParams),[h,{part:m,node:y,path:p,segment:d}]}function h0(l){const i=[l];for(;l.parentRoute;)l=l.parentRoute,i.push(l);return i.reverse(),i}function d0(l){const i=Array(l.depth+1);do i[l.depth]=l,l=l.parent;while(l);return i}function m0(l,i,s,o){if(l==="/"&&s.index)return{node:s.index,skipped:0};const r=!Ri(i),h=r&&l!=="/",m=i.length-(r?1:0),y=[{node:s,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}];let p=null,d=null,S=null;for(;y.length;){const g=y.pop(),{node:b,index:_,skipped:E,depth:O,statics:L,dynamics:D,optionals:Q}=g;let{extract:G,rawParams:Y,parsedParams:$}=g;if(b.skipOnParamError){if(!Uo(l,i,g))continue;Y=g.rawParams,G=g.extract,$=g.parsedParams}o&&b.route&&b.kind!==pa&&mi(d,g)&&(d=g);const J=_===m;if(J&&(b.route&&!h&&mi(S,g)&&(S=g),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const q=J?void 0:i[_];let V;if(J&&b.index){const K={node:b.index,index:_,skipped:E,depth:O+1,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$};let et=!0;if(b.index.skipOnParamError&&(Uo(l,i,K)||(et=!1)),et){if(L===m&&!D&&!Q&&!E)return K;mi(S,K)&&(S=K)}}if(b.wildcard&&mi(p,g))for(const K of b.wildcard){const{prefix:et,suffix:F}=K;if(et&&(J||!(K.caseSensitive?q:V??=q.toLowerCase()).startsWith(et)))continue;if(F){if(J)continue;const rt=i.slice(_).join("/").slice(-F.length);if((K.caseSensitive?rt:rt.toLowerCase())!==F)continue}const ut={node:K,index:m,skipped:E,depth:O,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$};if(!(K.skipOnParamError&&!Uo(l,i,ut))){p=ut;break}}if(b.optional){const K=E|1<<O,et=O+1;for(let F=b.optional.length-1;F>=0;F--){const ut=b.optional[F];y.push({node:ut,index:_,skipped:K,depth:et,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(!J)for(let F=b.optional.length-1;F>=0;F--){const ut=b.optional[F],{prefix:rt,suffix:Bt}=ut;if(rt||Bt){const Mt=ut.caseSensitive?q:V??=q.toLowerCase();if(rt&&!Mt.startsWith(rt)||Bt&&!Mt.endsWith(Bt))continue}y.push({node:ut,index:_+1,skipped:E,depth:et,statics:L,dynamics:D,optionals:Q+1,extract:G,rawParams:Y,parsedParams:$})}}if(!J&&b.dynamic&&q)for(let K=b.dynamic.length-1;K>=0;K--){const et=b.dynamic[K],{prefix:F,suffix:ut}=et;if(F||ut){const rt=et.caseSensitive?q:V??=q.toLowerCase();if(F&&!rt.startsWith(F)||ut&&!rt.endsWith(ut))continue}y.push({node:et,index:_+1,skipped:E,depth:O+1,statics:L,dynamics:D+1,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(!J&&b.staticInsensitive){const K=b.staticInsensitive.get(V??=q.toLowerCase());K&&y.push({node:K,index:_+1,skipped:E,depth:O+1,statics:L+1,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(!J&&b.static){const K=b.static.get(q);K&&y.push({node:K,index:_+1,skipped:E,depth:O+1,statics:L+1,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(b.pathless){const K=O+1;for(let et=b.pathless.length-1;et>=0;et--){const F=b.pathless[et];y.push({node:F,index:_,skipped:E,depth:K,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}}}if(S&&p)return mi(p,S)?S:p;if(S)return S;if(p)return p;if(o&&d){let g=d.index;for(let _=0;_<d.index;_++)g+=i[_].length;const b=g===l.length?"/":l.slice(g);return d.rawParams??=Object.create(null),d.rawParams["**"]=decodeURIComponent(b),d}return null}function Uo(l,i,s){try{const[o,r]=gy(l,i,s);s.rawParams=o,s.extract=r;const h=s.node.parse(o);return s.parsedParams=Object.assign(Object.create(null),s.parsedParams,h),!0}catch{return null}}function mi(l,i){return l?i.statics>l.statics||i.statics===l.statics&&(i.dynamics>l.dynamics||i.dynamics===l.dynamics&&(i.optionals>l.optionals||i.optionals===l.optionals&&((i.node.kind===pa)>(l.node.kind===pa)||i.node.kind===pa==(l.node.kind===pa)&&i.depth>l.depth))):!0}function Pu(l){return sr(l.filter(i=>i!==void 0).join("/"))}function sr(l){return l.replace(/\/{2,}/g,"/")}function Sy(l){return l==="/"?l:l.replace(/^\/{1,}/,"")}function Jn(l){const i=l.length;return i>1&&l[i-1]==="/"?l.replace(/\/{1,}$/,""):l}function by(l){return Jn(Sy(l))}function ns(l,i){return l?.endsWith("/")&&l!=="/"&&l!==`${i}/`?l.slice(0,-1):l}function y0(l,i,s){return ns(l,s)===ns(i,s)}function v0({base:l,to:i,trailingSlash:s="never",cache:o}){const r=i.startsWith("/"),h=!r&&i===".";let m;if(o){m=r?i:h?l:l+"\0"+i;const g=o.get(m);if(g)return g}let y;if(h)y=l.split("/");else if(r)y=i.split("/");else{for(y=l.split("/");y.length>1&&Ri(y)==="";)y.pop();const g=i.split("/");for(let b=0,_=g.length;b<_;b++){const E=g[b];E===""?b?b===_-1&&y.push(E):y=[E]:E===".."?y.pop():E==="."||y.push(E)}}y.length>1&&(Ri(y)===""?s==="never"&&y.pop():s==="always"&&y.push(""));let p,d="";for(let g=0;g<y.length;g++){g>0&&(d+="/");const b=y[g];if(!b)continue;p=ir(b,0,p);const _=p[0];if(_===0){d+=b;continue}const E=p[5],O=b.substring(0,p[1]),L=b.substring(p[4],E),D=b.substring(p[2],p[3]);_===1?d+=O||L?`${O}{$${D}}${L}`:`$${D}`:_===2?d+=O||L?`${O}{$}${L}`:"$":d+=`${O}{-$${D}}${L}`}d=sr(d);const S=d||"/";return m&&o&&o.set(m,S),S}function p0(l){const i=new Map(l.map(r=>[encodeURIComponent(r),r])),s=Array.from(i.keys()).map(r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),o=new RegExp(s,"g");return r=>r.replace(o,h=>i.get(h)??h)}function Lo(l,i,s){const o=i[l];return typeof o!="string"?o:l==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(o)?o:o.split("/").map(r=>wm(r,s)).join("/"):wm(o,s)}function Lm({path:l,params:i,decoder:s,...o}){let r=!1;const h=Object.create(null);if(!l||l==="/")return{interpolatedPath:"/",usedParams:h,isMissingParams:r};if(!l.includes("$"))return{interpolatedPath:l,usedParams:h,isMissingParams:r};const m=l.length;let y=0,p,d="";for(;y<m;){const S=y;p=ir(l,S,p);const g=p[5];if(y=g+1,S===g)continue;const b=p[0];if(b===0){d+="/"+l.substring(S,g);continue}if(b===2){const _=i._splat;h._splat=_,h["*"]=_;const E=l.substring(S,p[1]),O=l.substring(p[4],g);if(!_){r=!0,(E||O)&&(d+="/"+E+O);continue}const L=Lo("_splat",i,s);d+="/"+E+L+O;continue}if(b===1){const _=l.substring(p[2],p[3]);!r&&!(_ in i)&&(r=!0),h[_]=i[_];const E=l.substring(S,p[1]),O=l.substring(p[4],g),L=Lo(_,i,s)??"undefined";d+="/"+E+L+O;continue}if(b===3){const _=l.substring(p[2],p[3]),E=i[_];if(E==null)continue;h[_]=E;const O=l.substring(S,p[1]),L=l.substring(p[4],g),D=Lo(_,i,s)??"";d+="/"+O+D+L;continue}}return l.endsWith("/")&&(d+="/"),{usedParams:h,interpolatedPath:d||"/",isMissingParams:r}}function wm(l,i){const s=encodeURIComponent(l);return i?.(s)??s}function le(l){return l?.isNotFound===!0}function g0(){try{return typeof window<"u"&&typeof window.sessionStorage=="object"?window.sessionStorage:void 0}catch{return}}var S0="tsr-scroll-restoration-v1_3";function b0(){const l=g0();if(!l)return null;let i={};try{const o=JSON.parse(l.getItem("tsr-scroll-restoration-v1_3")||"{}");dl(o)&&(i=o)}catch{}return{get state(){return i},set:o=>{i=Vn(o,i)||i},persist:()=>{try{l.setItem(S0,JSON.stringify(i))}catch{}}}}var Nm=b0(),_0=l=>l.state.__TSR_key||l.href;function R0(l){const i=[];let s;for(;s=l.parentNode;)i.push(`${l.tagName}:nth-child(${Array.prototype.indexOf.call(s.children,l)+1})`),l=s;return`${i.reverse().join(" > ")}`.toLowerCase()}var Zu=!1,yi="window",Bm="data-scroll-restoration-id";function E0(l,i){if(!Nm)return;const s=Nm;if((l.options.scrollRestoration??!1)&&(l.isScrollRestoring=!0),l.isScrollRestorationSetup||!s)return;l.isScrollRestorationSetup=!0,Zu=!1;const o=l.options.getScrollRestorationKey||_0,r=new Map;window.history.scrollRestoration="manual";const h=y=>{if(!(Zu||!l.isScrollRestoring))if(y.target===document||y.target===window)r.set(yi,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{const p=y.target;r.set(p,{scrollX:p.scrollLeft||0,scrollY:p.scrollTop||0})}},m=y=>{if(!l.isScrollRestoring||!y||r.size===0||!s)return;const p=s.state[y]||={};for(const[d,S]of r){let g;if(d===yi)g=yi;else if(d.isConnected){const b=d.getAttribute(Bm);g=b?`[${Bm}="${b}"]`:R0(d)}g&&(p[g]=S)}};document.addEventListener("scroll",h,!0),l.subscribe("onBeforeLoad",y=>{m(y.fromLocation?o(y.fromLocation):void 0),r.clear()}),window.addEventListener("pagehide",()=>{m(o(l.stores.resolvedLocation.get()??l.stores.location.get())),s.persist()}),l.subscribe("onRendered",y=>{const p=o(y.toLocation),d=l.options.scrollRestorationBehavior,S=l.options.scrollToTopSelectors;if(r.clear(),!l.resetNextScroll){l.resetNextScroll=!0;return}if(!(typeof l.options.scrollRestoration=="function"&&!l.options.scrollRestoration({location:l.latestLocation}))){Zu=!0;try{const g=l.isScrollRestoring?s.state[p]:void 0;let b=!1;if(g)for(const _ in g){const E=g[_];if(!dl(E))continue;const{scrollX:O,scrollY:L}=E;if(!(!Number.isFinite(O)||!Number.isFinite(L))){if(_===yi)window.scrollTo({top:L,left:O,behavior:d}),b=!0;else if(_){let D;try{D=document.querySelector(_)}catch{continue}D&&(D.scrollLeft=O,D.scrollTop=L,b=!0)}}}if(!b){const _=l.history.location.hash.slice(1);if(_){const E=window.history.state?.__hashScrollIntoViewOptions??!0;if(E){const O=document.getElementById(_);O&&O.scrollIntoView(E)}}else{const E={top:0,left:0,behavior:d};if(window.scrollTo(E),S)for(const O of S){if(O===yi)continue;const L=typeof O=="function"?O():document.querySelector(O);L&&L.scrollTo(E)}}}}finally{Zu=!1}l.isScrollRestoring&&s.set(g=>(g[p]||={},g))}})}function T0(l,i=String){const s=new URLSearchParams;for(const o in l){const r=l[o];r!==void 0&&s.set(o,i(r))}return s.toString()}function wo(l){return l?l==="false"?!1:l==="true"?!0:+l*0===0&&+l+""===l?+l:l:""}function M0(l){const i=new URLSearchParams(l),s=Object.create(null);for(const[o,r]of i.entries()){const h=s[o];h==null?s[o]=wo(r):Array.isArray(h)?h.push(wo(r)):s[o]=[h,wo(r)]}return s}var O0=A0(JSON.parse),C0=x0(JSON.stringify,JSON.parse);function A0(l){return i=>{i[0]==="?"&&(i=i.substring(1));const s=M0(i);for(const o in s){const r=s[o];if(typeof r=="string")try{s[o]=l(r)}catch{}}return s}}function x0(l,i){const s=typeof i=="function";function o(r){if(typeof r=="object"&&r!==null)try{return l(r)}catch{}else if(s&&typeof r=="string")try{return i(r),l(r)}catch{}return r}return r=>{const h=T0(r,o);return h?`?${h}`:""}}var ba="__root__";function z0(l){if(l.statusCode=l.statusCode||l.code||307,!l._builtLocation&&!l.reloadDocument&&typeof l.href=="string")try{new URL(l.href),l.reloadDocument=!0}catch{}const i=new Headers(l.headers);l.href&&i.get("Location")===null&&i.set("Location",l.href);const s=new Response(null,{status:l.statusCode,headers:i});if(s.options=l,l.throw)throw s;return s}function me(l){return l instanceof Response&&!!l.options}function D0(l){return{input:({url:i})=>{for(const s of l)i=Fo(s,i);return i},output:({url:i})=>{for(let s=l.length-1;s>=0;s--)i=_y(l[s],i);return i}}}function U0(l){const i=by(l.basepath),s=`/${i}`,o=`${s}/`,r=l.caseSensitive?s:s.toLowerCase(),h=l.caseSensitive?o:o.toLowerCase();return{input:({url:m})=>{const y=l.caseSensitive?m.pathname:m.pathname.toLowerCase();return y===r?m.pathname="/":y.startsWith(h)&&(m.pathname=m.pathname.slice(s.length)),m},output:({url:m})=>(m.pathname=Pu(["/",i,m.pathname]),m)}}function Fo(l,i){const s=l?.input?.({url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function _y(l,i){const s=l?.output?.({url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function L0(l,i){const{createMutableStore:s,createReadonlyStore:o,batch:r,init:h}=i,m=new Map,y=new Map,p=new Map,d=s(l.status),S=s(l.loadedAt),g=s(l.isLoading),b=s(l.isTransitioning),_=s(l.location),E=s(l.resolvedLocation),O=s(l.statusCode),L=s(l.redirect),D=s([]),Q=s([]),G=s([]),Y=o(()=>No(m,D.get())),$=o(()=>No(y,Q.get())),J=o(()=>No(p,G.get())),q=o(()=>D.get()[0]),V=o(()=>D.get().some(X=>m.get(X)?.get().status==="pending")),K=o(()=>({locationHref:_.get().href,resolvedLocationHref:E.get()?.href,status:d.get()})),et=o(()=>({status:d.get(),loadedAt:S.get(),isLoading:g.get(),isTransitioning:b.get(),matches:Y.get(),location:_.get(),resolvedLocation:E.get(),statusCode:O.get(),redirect:L.get()})),F=Ti(64);function ut(X){let at=F.get(X);return at||(at=o(()=>{const bt=D.get();for(const Rt of bt){const M=m.get(Rt);if(M&&M.routeId===X)return M.get()}}),F.set(X,at)),at}const rt={status:d,loadedAt:S,isLoading:g,isTransitioning:b,location:_,resolvedLocation:E,statusCode:O,redirect:L,matchesId:D,pendingIds:Q,cachedIds:G,matches:Y,pendingMatches:$,cachedMatches:J,firstId:q,hasPending:V,matchRouteDeps:K,matchStores:m,pendingMatchStores:y,cachedMatchStores:p,__store:et,getRouteMatchStore:ut,setMatches:Bt,setPending:Mt,setCached:w};Bt(l.matches),h?.(rt);function Bt(X){Bo(X,m,D,s,r)}function Mt(X){Bo(X,y,Q,s,r)}function w(X){Bo(X,p,G,s,r)}return rt}function No(l,i){const s=[];for(const o of i){const r=l.get(o);r&&s.push(r.get())}return s}function Bo(l,i,s,o,r){const h=l.map(y=>y.id),m=new Set(h);r(()=>{for(const y of i.keys())m.has(y)||i.delete(y);for(const y of l){const p=i.get(y.id);if(!p){const d=o(y);d.routeId=y.routeId,i.set(y.id,d);continue}p.routeId=y.routeId,p.get()!==y&&p.set(y)}l0(s.get(),h)||s.set(h)})}var ko=l=>{if(!l.rendered)return l.rendered=!0,l.onReady?.()},w0=l=>l.stores.matchesId.get().some(i=>l.stores.matchStores.get(i)?.get()._forcePending),ss=(l,i)=>!!(l.preload&&!l.router.stores.matchStores.has(i)),_a=(l,i,s=!0)=>{const o={...l.router.options.context??{}},r=s?i:i-1;for(let h=0;h<=r;h++){const m=l.matches[h];if(!m)continue;const y=l.router.getMatch(m.id);y&&Object.assign(o,y.__routeContext,y.__beforeLoadContext)}return o},jm=(l,i)=>{if(!l.matches.length)return;const s=i.routeId,o=l.matches.findIndex(m=>m.routeId===l.router.routeTree.id),r=o>=0?o:0;let h=s?l.matches.findIndex(m=>m.routeId===s):l.firstBadMatchIndex??l.matches.length-1;h<0&&(h=r);for(let m=h;m>=0;m--){const y=l.matches[m];if(l.router.looseRoutesById[y.routeId].options.notFoundComponent)return m}return s?h:r},Kn=(l,i,s)=>{if(!(!me(s)&&!le(s)))throw me(s)&&s.redirectHandled&&!s.options.reloadDocument||(i&&(i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.loaderPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,i._nonReactive.loaderPromise=void 0,i._nonReactive.error=s,l.updateMatch(i.id,o=>({...o,status:me(s)?"redirected":le(s)?"notFound":o.status==="pending"?"success":o.status,context:_a(l,i.index),isFetching:!1,error:s})),le(s)&&!s.routeId&&(s.routeId=i.routeId),i._nonReactive.loadPromise?.resolve()),me(s)&&(l.rendered=!0,s.options._fromLocation=l.location,s.redirectHandled=!0,s=l.router.resolveRedirect(s))),s},Ry=(l,i)=>{const s=l.router.getMatch(i);return!!(!s||s._nonReactive.dehydrated)},Hm=(l,i,s)=>{const o=_a(l,s);l.updateMatch(i,r=>({...r,context:o}))},vi=(l,i,s,o)=>{const{id:r,routeId:h}=l.matches[i],m=l.router.looseRoutesById[h];if(s instanceof Promise)throw s;s.routerCode=o,l.firstBadMatchIndex??=i,Kn(l,l.router.getMatch(r),s);try{m.options.onError?.(s)}catch(y){s=y,Kn(l,l.router.getMatch(r),s)}l.updateMatch(r,y=>(y._nonReactive.beforeLoadPromise?.resolve(),y._nonReactive.beforeLoadPromise=void 0,y._nonReactive.loadPromise?.resolve(),{...y,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!l.preload&&!me(s)&&!le(s)&&(l.serialError??=s)},Ey=(l,i,s,o)=>{if(o._nonReactive.pendingTimeout!==void 0)return;const r=s.options.pendingMs??l.router.options.defaultPendingMs;if(l.onReady&&!ss(l,i)&&(s.options.loader||s.options.beforeLoad||My(s))&&typeof r=="number"&&r!==1/0&&(s.options.pendingComponent??l.router.options?.defaultPendingComponent)){const h=setTimeout(()=>{ko(l)},r);o._nonReactive.pendingTimeout=h}},N0=(l,i,s)=>{const o=l.router.getMatch(i);if(!o._nonReactive.beforeLoadPromise&&!o._nonReactive.loaderPromise)return;Ey(l,i,s,o);const r=()=>{const h=l.router.getMatch(i);h.preload&&(h.status==="redirected"||h.status==="notFound")&&Kn(l,h,h.error)};return o._nonReactive.beforeLoadPromise?o._nonReactive.beforeLoadPromise.then(r):r()},B0=(l,i,s,o)=>{const r=l.router.getMatch(i);let h=r._nonReactive.loadPromise;r._nonReactive.loadPromise=ml(()=>{h?.resolve(),h=void 0});const{paramsError:m,searchError:y}=r;m&&vi(l,s,m,"PARSE_PARAMS"),y&&vi(l,s,y,"VALIDATE_SEARCH"),Ey(l,i,o,r);const p=new AbortController;let d=!1;const S=()=>{d||(d=!0,l.updateMatch(i,Y=>({...Y,isFetching:"beforeLoad",fetchCount:Y.fetchCount+1,abortController:p})))},g=()=>{r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,l.updateMatch(i,Y=>({...Y,isFetching:!1}))};if(!o.options.beforeLoad){l.router.batch(()=>{S(),g()});return}r._nonReactive.beforeLoadPromise=ml();const b={..._a(l,s,!1),...r.__routeContext},{search:_,params:E,cause:O}=r,L=ss(l,i),D={search:_,abortController:p,params:E,preload:L,context:b,location:l.location,navigate:Y=>l.router.navigate({...Y,_fromLocation:l.location}),buildLocation:l.router.buildLocation,cause:L?"preload":O,matches:l.matches,routeId:o.id,...l.router.options.additionalContext},Q=Y=>{if(Y===void 0){l.router.batch(()=>{S(),g()});return}(me(Y)||le(Y))&&(S(),vi(l,s,Y,"BEFORE_LOAD")),l.router.batch(()=>{S(),l.updateMatch(i,$=>({...$,__beforeLoadContext:Y})),g()})};let G;try{if(G=o.options.beforeLoad(D),Ei(G))return S(),G.catch(Y=>{vi(l,s,Y,"BEFORE_LOAD")}).then(Q)}catch(Y){S(),vi(l,s,Y,"BEFORE_LOAD")}Q(G)},j0=(l,i)=>{const{id:s,routeId:o}=l.matches[i],r=l.router.looseRoutesById[o],h=()=>y(),m=()=>B0(l,s,i,r),y=()=>{if(Ry(l,s))return;const p=N0(l,s,r);return Ei(p)?p.then(m):m()};return h()},H0=(l,i,s)=>{const o=l.router.getMatch(i);if(!o||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const r={ssr:l.router.options.ssr,matches:l.matches,match:o,params:o.params,loaderData:o.loaderData};return Promise.all([s.options.head?.(r),s.options.scripts?.(r),s.options.headers?.(r)]).then(([h,m,y])=>({meta:h?.meta,links:h?.links,headScripts:h?.scripts,headers:y,scripts:m,styles:h?.styles}))},Ty=(l,i,s,o,r)=>{const h=i[o-1],{params:m,loaderDeps:y,abortController:p,cause:d}=l.router.getMatch(s),S=_a(l,o),g=ss(l,s);return{params:m,deps:y,preload:!!g,parentMatchPromise:h,abortController:p,context:S,location:l.location,navigate:b=>l.router.navigate({...b,_fromLocation:l.location}),cause:g?"preload":d,route:r,...l.router.options.additionalContext}},qm=async(l,i,s,o,r)=>{try{const h=l.router.getMatch(s);try{(!(vy??l.router.isServer)||h.ssr===!0)&&Mi(r);const m=r.options.loader,y=typeof m=="function"?m:m?.handler,p=y?.(Ty(l,i,s,o,r)),d=!!y&&Ei(p);if((d||r._lazyPromise||r._componentsPromise||r.options.head||r.options.scripts||r.options.headers||h._nonReactive.minPendingPromise)&&l.updateMatch(s,g=>({...g,isFetching:"loader"})),y){const g=d?await p:p;Kn(l,l.router.getMatch(s),g),g!==void 0&&l.updateMatch(s,b=>({...b,loaderData:g}))}r._lazyPromise&&await r._lazyPromise;const S=h._nonReactive.minPendingPromise;S&&await S,r._componentsPromise&&await r._componentsPromise,l.updateMatch(s,g=>({...g,error:void 0,context:_a(l,o),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(m){let y=m;if(y?.name==="AbortError"){if(h.abortController.signal.aborted){h._nonReactive.loaderPromise?.resolve(),h._nonReactive.loaderPromise=void 0;return}l.updateMatch(s,d=>({...d,status:d.status==="pending"?"success":d.status,isFetching:!1,context:_a(l,o)}));return}const p=h._nonReactive.minPendingPromise;p&&await p,le(m)&&await r.options.notFoundComponent?.preload?.(),Kn(l,l.router.getMatch(s),m);try{r.options.onError?.(m)}catch(d){y=d,Kn(l,l.router.getMatch(s),d)}!me(y)&&!le(y)&&await Mi(r,["errorComponent"]),l.updateMatch(s,d=>({...d,error:y,context:_a(l,o),status:"error",isFetching:!1}))}}catch(h){const m=l.router.getMatch(s);m&&(m._nonReactive.loaderPromise=void 0),Kn(l,m,h)}},q0=async(l,i,s)=>{async function o(_,E,O,L,D){const Q=Date.now()-E.updatedAt,G=_?D.options.preloadStaleTime??l.router.options.defaultPreloadStaleTime??3e4:D.options.staleTime??l.router.options.defaultStaleTime??0,Y=D.options.shouldReload,$=typeof Y=="function"?Y(Ty(l,i,r,s,D)):Y,{status:J,invalid:q}=L,V=Q>=G&&(!!l.forceStaleReload||L.cause==="enter"||O!==void 0&&O!==L.id);m=J==="success"&&(q||($??V)),_&&D.options.preload===!1||(m&&!l.sync&&S?(y=!0,(async()=>{try{await qm(l,i,r,s,D);const K=l.router.getMatch(r);K._nonReactive.loaderPromise?.resolve(),K._nonReactive.loadPromise?.resolve(),K._nonReactive.loaderPromise=void 0,K._nonReactive.loadPromise=void 0}catch(K){me(K)&&await l.router.navigate(K.options)}})()):J!=="success"||m?await qm(l,i,r,s,D):Hm(l,r,s))}const{id:r,routeId:h}=l.matches[s];let m=!1,y=!1;const p=l.router.looseRoutesById[h],d=p.options.loader,S=((typeof d=="function"?void 0:d?.staleReloadMode)??l.router.options.defaultStaleReloadMode)!=="blocking";if(Ry(l,r)){if(!l.router.getMatch(r))return l.matches[s];Hm(l,r,s)}else{const _=l.router.getMatch(r),E=l.router.stores.matchesId.get()[s],O=(E&&l.router.stores.matchStores.get(E)||null)?.routeId===h?E:l.router.stores.matches.get().find(D=>D.routeId===h)?.id,L=ss(l,r);if(_._nonReactive.loaderPromise){if(_.status==="success"&&!l.sync&&!_.preload&&S)return _;await _._nonReactive.loaderPromise;const D=l.router.getMatch(r),Q=D._nonReactive.error||D.error;Q&&Kn(l,D,Q),D.status==="pending"&&await o(L,_,O,D,p)}else{const D=L&&!l.router.stores.matchStores.has(r),Q=l.router.getMatch(r);Q._nonReactive.loaderPromise=ml(),D!==Q.preload&&l.updateMatch(r,G=>({...G,preload:D})),await o(L,_,O,Q,p)}}const g=l.router.getMatch(r);y||(g._nonReactive.loaderPromise?.resolve(),g._nonReactive.loadPromise?.resolve(),g._nonReactive.loadPromise=void 0),clearTimeout(g._nonReactive.pendingTimeout),g._nonReactive.pendingTimeout=void 0,y||(g._nonReactive.loaderPromise=void 0),g._nonReactive.dehydrated=void 0;const b=y?g.isFetching:!1;return b!==g.isFetching||g.invalid!==!1?(l.updateMatch(r,_=>({..._,isFetching:b,invalid:!1})),l.router.getMatch(r)):g};async function Qm(l){const i=l,s=[];w0(i.router)&&ko(i);let o;for(let b=0;b<i.matches.length;b++){try{const _=j0(i,b);Ei(_)&&await _}catch(_){if(me(_))throw _;if(le(_))o=_;else if(!i.preload)throw _;break}if(i.serialError||i.firstBadMatchIndex!=null)break}const r=i.firstBadMatchIndex??i.matches.length,h=o&&!i.preload?jm(i,o):void 0,m=o&&i.preload?0:h!==void 0?Math.min(h+1,r):r;let y,p;for(let b=0;b<m;b++)s.push(q0(i,s,b));try{await Promise.all(s)}catch{const b=await Promise.allSettled(s);for(const _ of b){if(_.status!=="rejected")continue;const E=_.reason;if(me(E))throw E;le(E)?y??=E:p??=E}if(p!==void 0)throw p}const d=y??(o&&!i.preload?o:void 0);let S=i.firstBadMatchIndex!==void 0?i.firstBadMatchIndex:i.matches.length-1;if(!d&&o&&i.preload)return i.matches;if(d){const b=jm(i,d);b===void 0&&vn();const _=i.matches[b],E=i.router.looseRoutesById[_.routeId],O=i.router.options?.defaultNotFoundComponent;!E.options.notFoundComponent&&O&&(E.options.notFoundComponent=O),d.routeId=_.routeId;const L=_.routeId===i.router.routeTree.id;i.updateMatch(_.id,D=>({...D,...L?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:d},isFetching:!1})),S=b,await Mi(E,["notFoundComponent"])}else if(!i.preload){const b=i.matches[0];b.globalNotFound||i.router.getMatch(b.id)?.globalNotFound&&i.updateMatch(b.id,_=>({..._,globalNotFound:!1,error:void 0}))}if(i.serialError&&i.firstBadMatchIndex!==void 0){const b=i.router.looseRoutesById[i.matches[i.firstBadMatchIndex].routeId];await Mi(b,["errorComponent"])}for(let b=0;b<=S;b++){const{id:_,routeId:E}=i.matches[b],O=i.router.looseRoutesById[E];try{const L=H0(i,_,O);if(L){const D=await L;i.updateMatch(_,Q=>({...Q,...D}))}}catch(L){console.error(`Error executing head for route ${E}:`,L)}}const g=ko(i);if(Ei(g)&&await g,d)throw d;if(i.serialError&&!i.preload&&!i.onReady)throw i.serialError;return i.matches}function Ym(l,i){const s=i.map(o=>l.options[o]?.preload?.()).filter(Boolean);if(s.length!==0)return Promise.all(s)}function Mi(l,i=Fu){!l._lazyLoaded&&l._lazyPromise===void 0&&(l.lazyFn?l._lazyPromise=l.lazyFn().then(o=>{const{id:r,...h}=o.options;Object.assign(l.options,h),l._lazyLoaded=!0,l._lazyPromise=void 0}):l._lazyLoaded=!0);const s=()=>l._componentsLoaded?void 0:i===Fu?(()=>{if(l._componentsPromise===void 0){const o=Ym(l,Fu);o?l._componentsPromise=o.then(()=>{l._componentsLoaded=!0,l._componentsPromise=void 0}):l._componentsLoaded=!0}return l._componentsPromise})():Ym(l,i);return l._lazyPromise?l._lazyPromise.then(s):s()}function My(l){for(const i of Fu)if(l.options[i]?.preload)return!0;return!1}var Fu=["component","errorComponent","pendingComponent","notFoundComponent"],Pn="__TSR_index",Gm="popstate",Xm="beforeunload";function Q0(l){let i=l.getLocation();const s=new Set,o=m=>{i=l.getLocation(),s.forEach(y=>y({location:i,action:m}))},r=m=>{l.notifyOnIndexChange??!0?o(m):i=l.getLocation()},h=async({task:m,navigateOpts:y,...p})=>{if(y?.ignoreBlocker??!1){m();return}const d=l.getBlockers?.()??[],S=p.type==="PUSH"||p.type==="REPLACE";if(typeof document<"u"&&d.length&&S)for(const g of d){const b=as(p.path,p.state);if(await g.blockerFn({currentLocation:i,nextLocation:b,action:p.type})){l.onBlocked?.();return}}m()};return{get location(){return i},get length(){return l.getLength()},subscribers:s,subscribe:m=>(s.add(m),()=>{s.delete(m)}),push:(m,y,p)=>{const d=i.state[Pn];y=Vm(d+1,y),h({task:()=>{l.pushState(m,y),o({type:"PUSH"})},navigateOpts:p,type:"PUSH",path:m,state:y})},replace:(m,y,p)=>{const d=i.state[Pn];y=Vm(d,y),h({task:()=>{l.replaceState(m,y),o({type:"REPLACE"})},navigateOpts:p,type:"REPLACE",path:m,state:y})},go:(m,y)=>{h({task:()=>{l.go(m),r({type:"GO",index:m})},navigateOpts:y,type:"GO"})},back:m=>{h({task:()=>{l.back(m?.ignoreBlocker??!1),r({type:"BACK"})},navigateOpts:m,type:"BACK"})},forward:m=>{h({task:()=>{l.forward(m?.ignoreBlocker??!1),r({type:"FORWARD"})},navigateOpts:m,type:"FORWARD"})},canGoBack:()=>i.state[Pn]!==0,createHref:m=>l.createHref(m),block:m=>{if(!l.setBlockers)return()=>{};const y=l.getBlockers?.()??[];return l.setBlockers([...y,m]),()=>{const p=l.getBlockers?.()??[];l.setBlockers?.(p.filter(d=>d!==m))}},flush:()=>l.flush?.(),destroy:()=>l.destroy?.(),notify:o}}function Vm(l,i){i||(i={});const s=cr();return{...i,key:s,__TSR_key:s,[Pn]:l}}function Y0(l){const i=typeof document<"u"?window:void 0,s=i.history.pushState,o=i.history.replaceState;let r=[];const h=()=>r,m=V=>r=V,y=(V=>V),p=(()=>as(`${i.location.pathname}${i.location.search}${i.location.hash}`,i.history.state));if(!i.history.state?.__TSR_key&&!i.history.state?.key){const V=cr();i.history.replaceState({[Pn]:0,key:V,__TSR_key:V},"")}let d=p(),S,g=!1,b=!1,_=!1,E=!1;const O=()=>d;let L,D;const Q=()=>{L&&(q._ignoreSubscribers=!0,(L.isPush?i.history.pushState:i.history.replaceState)(L.state,"",L.href),q._ignoreSubscribers=!1,L=void 0,D=void 0,S=void 0)},G=(V,K,et)=>{const F=y(K);D||(S=d),d=as(K,et),L={href:F,state:et,isPush:L?.isPush||V==="push"},D||(D=Promise.resolve().then(()=>Q()))},Y=V=>{d=p(),q.notify({type:V})},$=async()=>{if(b){b=!1;return}const V=p(),K=V.state[Pn]-d.state[Pn],et=K===1,F=K===-1,ut=!et&&!F||g;g=!1;const rt=ut?"GO":F?"BACK":"FORWARD",Bt=ut?{type:"GO",index:K}:{type:F?"BACK":"FORWARD"};if(_)_=!1;else{const Mt=h();if(typeof document<"u"&&Mt.length){for(const w of Mt)if(await w.blockerFn({currentLocation:d,nextLocation:V,action:rt})){b=!0,i.history.go(1),q.notify(Bt);return}}}d=p(),q.notify(Bt)},J=V=>{if(E){E=!1;return}let K=!1;const et=h();if(typeof document<"u"&&et.length)for(const F of et){const ut=F.enableBeforeUnload??!0;if(ut===!0){K=!0;break}if(typeof ut=="function"&&ut()===!0){K=!0;break}}if(K)return V.preventDefault(),V.returnValue=""},q=Q0({getLocation:O,getLength:()=>i.history.length,pushState:(V,K)=>G("push",V,K),replaceState:(V,K)=>G("replace",V,K),back:V=>(V&&(_=!0),E=!0,i.history.back()),forward:V=>{V&&(_=!0),E=!0,i.history.forward()},go:V=>{g=!0,i.history.go(V)},createHref:V=>y(V),flush:Q,destroy:()=>{i.history.pushState=s,i.history.replaceState=o,i.removeEventListener(Xm,J,{capture:!0}),i.removeEventListener(Gm,$)},onBlocked:()=>{S&&d!==S&&(d=S)},getBlockers:h,setBlockers:m,notifyOnIndexChange:!1});return i.addEventListener(Xm,J,{capture:!0}),i.addEventListener(Gm,$),i.history.pushState=function(...V){const K=s.apply(i.history,V);return q._ignoreSubscribers||Y("PUSH"),K},i.history.replaceState=function(...V){const K=o.apply(i.history,V);return q._ignoreSubscribers||Y("REPLACE"),K},q}function G0(l){let i=l.replace(/[\x00-\x1f\x7f]/g,"");return i.startsWith("//")&&(i="/"+i.replace(/^\/+/,"")),i}function as(l,i){const s=G0(l),o=s.indexOf("#"),r=s.indexOf("?"),h=cr();return{href:s,pathname:s.substring(0,o>0?r>0?Math.min(o,r):o:r>0?r:s.length),hash:o>-1?s.substring(o):"",search:r>-1?s.slice(r,o===-1?void 0:o):"",state:i||{[Pn]:0,key:h,__TSR_key:h}}}function cr(){return(Math.random()+1).toString(36).substring(7)}function hl(l,i){const s=i,o=l;return{fromLocation:s,toLocation:o,pathChanged:s?.pathname!==o.pathname,hrefChanged:s?.href!==o.href,hashChanged:s?.hash!==o.hash}}var X0=class{constructor(l,i){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=s=>s(),this.update=s=>{const o=this.options,r=this.basepath??o?.basepath??"/",h=this.basepath===void 0,m=o?.rewrite;if(this.options={...o,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=p0(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Y0()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let S;this.resolvePathCache=Ti(1e3),S=this.buildRouteTree(),this.setRoutes(S)}if(!this.stores&&this.latestLocation){const S=this.getStoreConfig(this);this.batch=S.batch,this.stores=L0(K0(this.latestLocation),S),E0(this)}let y=!1;const p=this.options.basepath??"/",d=this.options.rewrite;if(h||r!==p||m!==d){this.basepath=p;const S=[],g=by(p);g&&g!=="/"&&S.push(U0({basepath:p})),d&&S.push(d),this.rewrite=S.length===0?void 0:S.length===1?S[0]:D0(S),this.history&&this.updateLatestLocation(),y=!0}y&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=f0(this.routeTree,this.options.caseSensitive,(o,r)=>{o.init({originalIndex:r})});return this.options.routeMasks&&u0(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,o)=>{const r={eventType:s,fn:o};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=s=>{this.subscribers.forEach(o=>{o.eventType===s.type&&o.fn(s)})},this.parseLocation=(s,o)=>{const r=({pathname:p,search:d,hash:S,href:g,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(p)){const D=this.options.parseSearch(d),Q=this.options.stringifySearch(D);return{href:p+Q+S,publicHref:p+Q+S,pathname:di(p).path,external:!1,searchStr:Q,search:ma(o?.search,D),hash:di(S.slice(1)).path,state:va(o?.state,b)}}const _=new URL(g,this.origin),E=Fo(this.rewrite,_),O=this.options.parseSearch(E.search),L=this.options.stringifySearch(O);return E.search=L,{href:E.href.replace(E.origin,""),publicHref:g,pathname:di(E.pathname).path,external:!!this.rewrite&&E.origin!==this.origin,searchStr:L,search:ma(o?.search,O),hash:di(E.hash.slice(1)).path,state:va(o?.state,b)}},h=r(s),{__tempLocation:m,__tempKey:y}=h.state;if(m&&(!y||y===this.tempLocationKey)){const p=r(m);return p.state.key=h.state.key,p.state.__TSR_key=h.state.__TSR_key,delete p.state.__tempLocation,{...p,maskedLocation:h}}return h},this.resolvePathWithBase=(s,o)=>v0({base:s,to:sr(o),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,o,r)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:o},r):this.matchRoutesInternal(s,o),this.getMatchedRoutes=s=>Z0({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const o=this.getMatch(s);o&&(o.abortController.abort(),clearTimeout(o._nonReactive.pendingTimeout),o._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(s=>{this.cancelMatch(s)}),this.stores.matchesId.get().forEach(s=>{if(this.stores.pendingMatchStores.has(s))return;const o=this.stores.matchStores.get(s)?.get();o&&(o.status==="pending"||o.isFetching==="loader")&&this.cancelMatch(s)})},this.buildLocation=s=>{const o=(h={})=>{const m=h._fromLocation||this.pendingBuiltLocation||this.latestLocation,y=this.matchRoutesLightweight(m);h.from;const p=h.unsafeRelative==="path"?m.pathname:h.from??y.fullPath,d=this.resolvePathWithBase(p,"."),S=y.search,g=Object.assign(Object.create(null),y.params),b=h.to?this.resolvePathWithBase(d,`${h.to}`):this.resolvePathWithBase(d,"."),_=h.params===!1||h.params===null?Object.create(null):(h.params??!0)===!0?g:Object.assign(g,Vn(h.params,g)),E=this.getMatchedRoutes(b);let O=E.matchedRoutes;if((!E.foundRoute||E.foundRoute.path!=="/"&&E.routeParams["**"])&&this.options.notFoundRoute&&(O=[...O,this.options.notFoundRoute]),Object.keys(_).length>0)for(const et of O){const F=et.options.params?.stringify??et.options.stringifyParams;if(F)try{Object.assign(_,F(_))}catch{}}const L=s.leaveParams?b:di(Lm({path:b,params:_,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let D=S;if(s._includeValidateSearch&&this.options.search?.strict){const et={};O.forEach(F=>{if(F.options.validateSearch)try{Object.assign(et,ku(F.options.validateSearch,{...et,...D}))}catch{}}),D=et}D=J0({search:D,dest:h,destRoutes:O,_includeValidateSearch:s._includeValidateSearch}),D=ma(S,D);const Q=this.options.stringifySearch(D),G=h.hash===!0?m.hash:h.hash?Vn(h.hash,m.hash):void 0,Y=G?`#${G}`:"";let $=h.state===!0?m.state:h.state?Vn(h.state,m.state):{};$=va(m.state,$);const J=`${L}${Q}${Y}`;let q,V,K=!1;if(this.rewrite){const et=new URL(J,this.origin),F=_y(this.rewrite,et);q=et.href.replace(et.origin,""),F.origin!==this.origin?(V=F.href,K=!0):V=F.pathname+F.search+F.hash}else q=a0(J),V=q;return{publicHref:V,href:q,pathname:L,search:D,searchStr:Q,state:$,hash:G??"",external:K,unmaskOnReload:h.unmaskOnReload}},r=(h={},m)=>{const y=o(h);let p=m?o(m):void 0;if(!p){const d=Object.create(null);if(this.options.routeMasks){const S=s0(y.pathname,this.processedTree);if(S){Object.assign(d,S.rawParams);const{from:g,params:b,..._}=S.route,E=b===!1||b===null?Object.create(null):(b??!0)===!0?d:Object.assign(d,Vn(b,d));m={from:s.from,..._,params:E},p=o(m)}}}return p&&(y.maskedLocation=p),y};return s.mask?r(s,{from:s.from,...s.mask}):r(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:o,...r})=>{const h=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(S=>{r.state[S]=this.latestLocation.state[S]});const d=Sa(r.state,this.latestLocation.state);return p.forEach(S=>{delete r.state[S]}),d},m=Jn(this.latestLocation.href)===Jn(r.href);let y=this.commitLocationPromise;if(this.commitLocationPromise=ml(()=>{y?.resolve(),y=void 0}),m&&h())this.load();else{let{maskedLocation:p,hashScrollIntoView:d,...S}=r;p&&(S={...p,state:{...p.state,__tempKey:void 0,__tempLocation:{...S,search:S.searchStr,state:{...S.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(S.unmaskOnReload??this.options.unmaskOnReload??!1)&&(S.state.__tempKey=this.tempLocationKey)),S.state.__hashScrollIntoViewOptions=d??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,this.history[r.replace?"replace":"push"](S.publicHref,S.state,{ignoreBlocker:o})}return this.resetNextScroll=r.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:o,hashScrollIntoView:r,viewTransition:h,ignoreBlocker:m,href:y,...p}={})=>{if(y){const g=this.history.location.state.__TSR_index,b=as(y,{__TSR_index:s?g:g+1}),_=new URL(b.pathname,this.origin);p.to=Fo(this.rewrite,_).pathname,p.search=this.options.parseSearch(b.search),p.hash=b.hash.slice(1)}const d=this.buildLocation({...p,_includeValidateSearch:!0});this.pendingBuiltLocation=d;const S=this.commitLocation({...d,viewTransition:h,replace:s,resetScroll:o,hashScrollIntoView:r,ignoreBlocker:m});return Promise.resolve().then(()=>{this.pendingBuiltLocation===d&&(this.pendingBuiltLocation=void 0)}),S},this.navigate=async({to:s,reloadDocument:o,href:r,publicHref:h,...m})=>{let y=!1;if(r)try{new URL(`${r}`),y=!0}catch{}if(y&&!o&&(o=!0),o){if(s!==void 0||!r){const d=this.buildLocation({to:s,...m});r=r??d.publicHref,h=h??d.publicHref}const p=!y&&h?h:r;if(es(p,this.protocolAllowlist))return Promise.resolve();if(!m.ignoreBlocker){const d=this.history.getBlockers?.()??[];for(const S of d)if(S?.blockerFn&&await S.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return m.replace?window.location.replace(p):window.location.href=p,Promise.resolve()}return this.buildAndCommitLocation({...m,href:r,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation),o=this.stores.cachedMatches.get().filter(r=>!s.some(h=>h.id===r.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(s),this.stores.setCached(o)})},this.load=async s=>{let o,r,h;const m=this.stores.resolvedLocation.get()??this.stores.location.get();for(h=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad();const d=this.latestLocation,S=hl(d,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...S}),this.emit({type:"onBeforeLoad",...S}),await Qm({router:this,sync:s?.sync,forceStaleReload:m.href===d.href,matches:this.stores.pendingMatches.get(),location:d,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let g=null,b=null,_=null,E=null;this.batch(()=>{const O=this.stores.pendingMatches.get(),L=O.length,D=this.stores.matches.get();g=L?D.filter(Y=>!this.stores.pendingMatchStores.has(Y.id)):null;const Q=new Set;for(const Y of this.stores.pendingMatchStores.values())Y.routeId&&Q.add(Y.routeId);const G=new Set;for(const Y of this.stores.matchStores.values())Y.routeId&&G.add(Y.routeId);b=L?D.filter(Y=>!Q.has(Y.routeId)):null,_=L?O.filter(Y=>!G.has(Y.routeId)):null,E=L?O.filter(Y=>G.has(Y.routeId)):D,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),L&&(this.stores.setMatches(O),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...g.filter(Y=>Y.status!=="error"&&Y.status!=="notFound"&&Y.status!=="redirected")]),this.clearExpiredCache())});for(const[O,L]of[[b,"onLeave"],[_,"onEnter"],[E,"onStay"]])if(O)for(const D of O)this.looseRoutesById[D.routeId].options[L]?.(D)})})}})}catch(d){me(d)?(o=d,this.navigate({...o.options,replace:!0,ignoreBlocker:!0})):le(d)&&(r=d);const S=o?o.status:r?404:this.stores.matches.get().some(g=>g.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(S),this.stores.redirect.set(o)})}this.latestLoadPromise===h&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=h,await h;this.latestLoadPromise&&h!==this.latestLoadPromise;)await this.latestLoadPromise;let y;this.hasNotFoundMatch()?y=404:this.stores.matches.get().some(p=>p.status==="error")&&(y=500),y!==void 0&&this.stores.statusCode.set(y)},this.startViewTransition=s=>{const o=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,o&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let r;if(typeof o=="object"&&this.isViewTransitionTypesSupported){const h=this.latestLocation,m=this.stores.resolvedLocation.get(),y=typeof o.types=="function"?o.types(hl(h,m)):o.types;if(y===!1){s();return}r={update:s,types:y}}else r=s;document.startViewTransition(r)}else s()},this.updateMatch=(s,o)=>{this.startTransition(()=>{const r=this.stores.pendingMatchStores.get(s);if(r){r.set(o);return}const h=this.stores.matchStores.get(s);if(h){h.set(o);return}const m=this.stores.cachedMatchStores.get(s);if(m){const y=o(m.get());y.status==="redirected"?this.stores.cachedMatchStores.delete(s)&&this.stores.cachedIds.set(p=>p.filter(d=>d!==s)):m.set(y)}})},this.getMatch=s=>this.stores.cachedMatchStores.get(s)?.get()??this.stores.pendingMatchStores.get(s)?.get()??this.stores.matchStores.get(s)?.get(),this.invalidate=s=>{const o=r=>s?.filter?.(r)??!0?{...r,invalid:!0,...s?.forcePending||r.status==="error"||r.status==="notFound"?{status:"pending",error:void 0}:void 0}:r;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(o)),this.stores.setCached(this.stores.cachedMatches.get().map(o)),this.stores.setPending(this.stores.pendingMatches.get().map(o))}),this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const o=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const r=s.options._builtLocation??this.buildLocation(s.options),h=this.getParsedLocationHref(r);s.options.href=h,s.headers.set("Location",h)}else if(o)try{const r=new URL(o);if(this.origin&&r.origin===this.origin){const h=r.pathname+r.search+r.hash;s.options.href=h,s.headers.set("Location",h)}}catch{}if(s.options.href&&!s.options._builtLocation&&es(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const o=s?.filter;o!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(r=>!o(r))):this.stores.setCached([])},this.clearExpiredCache=()=>{const s=Date.now(),o=r=>{const h=this.looseRoutesById[r.routeId];if(!h.options.loader)return!0;const m=(r.preload?h.options.preloadGcTime??this.options.defaultPreloadGcTime:h.options.gcTime??this.options.defaultGcTime)??300*1e3;return r.status==="error"?!0:s-r.updatedAt>=m};this.clearCache({filter:o})},this.loadRouteChunk=Mi,this.preloadRoute=async s=>{const o=s._builtLocation??this.buildLocation(s);let r=this.matchRoutes(o,{throwOnError:!0,preload:!0,dest:s});const h=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),m=new Set([...h,...this.stores.cachedIds.get()]),y=r.filter(p=>!m.has(p.id));if(y.length){const p=this.stores.cachedMatches.get();this.stores.setCached([...p,...y])}try{return r=await Qm({router:this,matches:r,location:o,preload:!0,updateMatch:(p,d)=>{h.has(p)?r=r.map(S=>S.id===p?d(S):S):this.updateMatch(p,d)}}),r}catch(p){if(me(p))return p.options.reloadDocument?void 0:await this.preloadRoute({...p.options,_fromLocation:o});le(p)||console.error(p);return}},this.matchRoute=(s,o)=>{const r={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},h=this.buildLocation(r);if(o?.pending&&this.stores.status.get()!=="pending")return!1;const m=(o?.pending===void 0?!this.stores.isLoading.get():o.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),y=c0(h.pathname,o?.caseSensitive??!1,o?.fuzzy??!1,m.pathname,this.processedTree);return!y||s.params&&!Sa(y.rawParams,s.params,{partial:!0})?!1:o?.includeSearch??!0?Sa(m.search,h.search,{partial:!0})?y.rawParams:!1:y.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(s=>s.status==="notFound"||s.globalNotFound),this.getStoreConfig=i,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...l,caseSensitive:l.caseSensitive??!1,notFoundMode:l.notFoundMode??"fuzzy",stringifySearch:l.stringifySearch??C0,parseSearch:l.parseSearch??O0,protocolAllowlist:l.protocolAllowlist??n0}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:l,routesByPath:i,processedTree:s}){this.routesById=l,this.routesByPath=i,this.processedTree=s;const o=this.options.notFoundRoute;o&&(o.init({originalIndex:99999999999}),this.routesById[o.id]=o)}get looseRoutesById(){return this.routesById}getParentContext(l){return l?.id?l.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(l,i){const s=this.getMatchedRoutes(l.pathname),{foundRoute:o,routeParams:r,parsedParams:h}=s;let{matchedRoutes:m}=s,y=!1;(o?o.path!=="/"&&r["**"]:Jn(l.pathname))&&(this.options.notFoundRoute?m=[...m,this.options.notFoundRoute]:y=!0);const p=y?F0(this.options.notFoundMode,m):void 0,d=new Array(m.length),S=new Map;for(const g of this.stores.matchStores.values())g.routeId&&S.set(g.routeId,g.get());for(let g=0;g<m.length;g++){const b=m[g],_=d[g-1];let E,O,L;{const rt=_?.search??l.search,Bt=_?._strictSearch??void 0;try{const Mt=ku(b.options.validateSearch,{...rt})??void 0;E={...rt,...Mt},O={...Bt,...Mt},L=void 0}catch(Mt){let w=Mt;if(Mt instanceof ls||(w=new ls(Mt.message,{cause:Mt})),i?.throwOnError)throw w;E=rt,O={},L=w}}const D=b.options.loaderDeps?.({search:E})??"",Q=D?JSON.stringify(D):"",{interpolatedPath:G,usedParams:Y}=Lm({path:b.fullPath,params:r,decoder:this.pathParamsDecoder,server:this.isServer}),$=b.id+G+Q,J=this.getMatch($),q=S.get(b.id),V=J?._strictParams??Y;let K;if(!J)try{Km(b,Y,h,V)}catch(rt){if(le(rt)||me(rt)?K=rt:K=new V0(rt.message,{cause:rt}),i?.throwOnError)throw K}Object.assign(r,V);const et=q?"stay":"enter";let F;if(J)F={...J,cause:et,params:q?.params??r,_strictParams:V,search:ma(q?q.search:J.search,E),_strictSearch:O};else{const rt=b.options.loader||b.options.beforeLoad||b.lazyFn||My(b)?"pending":"success";F={id:$,ssr:b.options.ssr,index:g,routeId:b.id,params:q?.params??r,_strictParams:V,pathname:G,updatedAt:Date.now(),search:q?ma(q.search,E):E,_strictSearch:O,searchError:void 0,status:rt,isFetching:!1,error:void 0,paramsError:K,__routeContext:void 0,_nonReactive:{loadPromise:ml()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:et,loaderDeps:q?va(q.loaderDeps,D):D,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:b.options.staticData||{},fullPath:b.fullPath}}i?.preload||(F.globalNotFound=p===b.id),F.searchError=L;const ut=this.getParentContext(_);F.context={...ut,...F.__routeContext,...F.__beforeLoadContext},d[g]=F}for(let g=0;g<d.length;g++){const b=d[g],_=this.looseRoutesById[b.routeId],E=this.getMatch(b.id),O=S.get(b.routeId);if(b.params=O?ma(O.params,r):r,!E){const L=d[g-1],D=this.getParentContext(L);if(_.options.context){const Q={deps:b.loaderDeps,params:b.params,context:D??{},location:l,navigate:G=>this.navigate({...G,_fromLocation:l}),buildLocation:this.buildLocation,cause:b.cause,abortController:b.abortController,preload:!!b.preload,matches:d,routeId:_.id};b.__routeContext=_.options.context(Q)??void 0}b.context={...D,...b.__routeContext,...b.__beforeLoadContext}}}return d}matchRoutesLightweight(l){const{matchedRoutes:i,routeParams:s,parsedParams:o}=this.getMatchedRoutes(l.pathname),r=Ri(i),h={...l.search};for(const S of i)try{Object.assign(h,ku(S.options.validateSearch,h))}catch{}const m=Ri(this.stores.matchesId.get()),y=m&&this.stores.matchStores.get(m)?.get(),p=y&&y.routeId===r.id&&y.pathname===l.pathname;let d;if(p)d=y.params;else{const S=Object.assign(Object.create(null),s);for(const g of i)try{Km(g,s,o??{},S)}catch{}d=S}return{matchedRoutes:i,fullPath:r.fullPath,search:h,params:d}}},ls=class extends Error{},V0=class extends Error{};function K0(l){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:l,matches:[],statusCode:200}}function ku(l,i){if(l==null)return{};if("~standard"in l){const s=l["~standard"].validate(i);if(s instanceof Promise)throw new ls("Async validation not supported");if(s.issues)throw new ls(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in l?l.parse(i):typeof l=="function"?l(i):{}}function Z0({pathname:l,routesById:i,processedTree:s}){const o=Object.create(null),r=Jn(l);let h,m;const y=o0(r,s,!0);return y&&(h=y.route,Object.assign(o,y.rawParams),m=Object.assign(Object.create(null),y.parsedParams)),{matchedRoutes:y?.branch||[i.__root__],routeParams:o,foundRoute:h,parsedParams:m}}function J0({search:l,dest:i,destRoutes:s,_includeValidateSearch:o}){return P0(s)(l,i,o??!1)}function P0(l){const i={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const r of l){if("search"in r.options)r.options.search?.middlewares&&i.middlewares.push(...r.options.search.middlewares);else if(r.options.preSearchFilters||r.options.postSearchFilters){const h=({search:m,next:y})=>{let p=m;"preSearchFilters"in r.options&&r.options.preSearchFilters&&(p=r.options.preSearchFilters.reduce((S,g)=>g(S),m));const d=y(p);return"postSearchFilters"in r.options&&r.options.postSearchFilters?r.options.postSearchFilters.reduce((S,g)=>g(S),d):d};i.middlewares.push(h)}if(r.options.validateSearch){const h=({search:m,next:y})=>{const p=y(m);if(!i._includeValidateSearch)return p;try{return{...p,...ku(r.options.validateSearch,p)??void 0}}catch{return p}};i.middlewares.push(h)}}const s=({search:r})=>{const h=i.dest;return h.search?h.search===!0?r:Vn(h.search,r):{}};i.middlewares.push(s);const o=(r,h,m)=>{if(r>=m.length)return h;const y=m[r];return y({search:h,next:d=>o(r+1,d,m)})};return function(h,m,y){return i.dest=m,i._includeValidateSearch=y,o(0,h,i.middlewares)}}function F0(l,i){if(l!=="root")for(let s=i.length-1;s>=0;s--){const o=i[s];if(o.children)return o.id}return ba}function Km(l,i,s,o){const r=l.options.params?.parse??l.options.parseParams;if(r)if(l.options.skipRouteOnParseError)for(const h in i)h in s&&(o[h]=s[h]);else{const h=r(o);Object.assign(o,h)}}var k0="Error preloading route! ☝️",Oy=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(l){if(this.init=i=>{this.originalIndex=i.originalIndex;const s=this.options,o=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),o?this._path=ba:this.parentRoute||vn();let r=o?ba:s?.path;r&&r!=="/"&&(r=Sy(r));const h=s?.id||r;let m=o?ba:Pu([this.parentRoute.id==="__root__"?"":this.parentRoute.id,h]);r==="__root__"&&(r="/"),m!=="__root__"&&(m=Pu(["/",m]));const y=m==="__root__"?"/":Pu([this.parentRoute.fullPath,r]);this._path=r,this._id=m,this._fullPath=y,this._to=Jn(y)},this.addChildren=i=>this._addFileChildren(i),this._addFileChildren=i=>(Array.isArray(i)&&(this.children=i),typeof i=="object"&&i!==null&&(this.children=Object.values(i)),this),this._addFileTypes=()=>this,this.updateLoader=i=>(Object.assign(this.options,i),this),this.update=i=>(Object.assign(this.options,i),this),this.lazy=i=>(this.lazyFn=i,this),this.redirect=i=>z0({from:this.fullPath,...i}),this.options=l||{},this.isRoot=!l?.getParentRoute,l?.id&&l?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},W0=class extends Oy{constructor(l){super(l)}};function I0(l){if(typeof document<"u"&&document.querySelector){const i=l.stores.location.get(),s=i.state.__hashScrollIntoViewOptions??!0;if(s&&i.hash!==""){const o=document.getElementById(i.hash);o&&o.scrollIntoView(s)}}}function or(l){const i=l.errorComponent??rr;return lt.jsx($0,{getResetKey:l.getResetKey,onCatch:l.onCatch,children:({error:s,reset:o})=>s?W.createElement(i,{error:s,reset:o}):l.children})}var $0=class extends W.Component{constructor(...l){super(...l),this.state={error:null}}static getDerivedStateFromProps(l,i){const s=l.getResetKey();return i.error&&i.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(l){return{error:l}}reset(){this.setState({error:null})}componentDidCatch(l,i){this.props.onCatch&&this.props.onCatch(l,i)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function rr({error:l}){const[i,s]=W.useState(!1);return lt.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[lt.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[lt.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),lt.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(o=>!o),children:i?"Hide Error":"Show Error"})]}),lt.jsx("div",{style:{height:".25rem"}}),i?lt.jsx("div",{children:lt.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:l.message?lt.jsx("code",{children:l.message}):null})}):null]})}function tS({children:l,fallback:i=null}){return Cy()?lt.jsx(Si.Fragment,{children:l}):lt.jsx(Si.Fragment,{children:i})}function Cy(){return Si.useSyncExternalStore(eS,()=>!0,()=>!1)}function eS(){return()=>{}}var Ay=W.createContext(null);function Be(l){return W.useContext(Ay)}var cs=W.createContext(void 0),nS=W.createContext(void 0),Nt=(l=>(l[l.None=0]="None",l[l.Mutable=1]="Mutable",l[l.Watching=2]="Watching",l[l.RecursedCheck=4]="RecursedCheck",l[l.Recursed=8]="Recursed",l[l.Dirty=16]="Dirty",l[l.Pending=32]="Pending",l))(Nt||{});function aS({update:l,notify:i,unwatched:s}){return{link:o,unlink:r,propagate:h,checkDirty:m,shallowPropagate:y};function o(d,S,g){const b=S.depsTail;if(b!==void 0&&b.dep===d)return;const _=b!==void 0?b.nextDep:S.deps;if(_!==void 0&&_.dep===d){_.version=g,S.depsTail=_;return}const E=d.subsTail;if(E!==void 0&&E.version===g&&E.sub===S)return;const O=S.depsTail=d.subsTail={version:g,dep:d,sub:S,prevDep:b,nextDep:_,prevSub:E,nextSub:void 0};_!==void 0&&(_.prevDep=O),b!==void 0?b.nextDep=O:S.deps=O,E!==void 0?E.nextSub=O:d.subs=O}function r(d,S=d.sub){const g=d.dep,b=d.prevDep,_=d.nextDep,E=d.nextSub,O=d.prevSub;return _!==void 0?_.prevDep=b:S.depsTail=b,b!==void 0?b.nextDep=_:S.deps=_,E!==void 0?E.prevSub=O:g.subsTail=O,O!==void 0?O.nextSub=E:(g.subs=E)===void 0&&s(g),_}function h(d){let S=d.nextSub,g;t:do{const b=d.sub;let _=b.flags;if(_&60?_&12?_&4?!(_&48)&&p(d,b)?(b.flags=_|40,_&=1):_=0:b.flags=_&-9|32:_=0:b.flags=_|32,_&2&&i(b),_&1){const E=b.subs;if(E!==void 0){const O=(d=E).nextSub;O!==void 0&&(g={value:S,prev:g},S=O);continue}}if((d=S)!==void 0){S=d.nextSub;continue}for(;g!==void 0;)if(d=g.value,g=g.prev,d!==void 0){S=d.nextSub;continue t}break}while(!0)}function m(d,S){let g,b=0,_=!1;t:do{const E=d.dep,O=E.flags;if(S.flags&16)_=!0;else if((O&17)===17){if(l(E)){const L=E.subs;L.nextSub!==void 0&&y(L),_=!0}}else if((O&33)===33){(d.nextSub!==void 0||d.prevSub!==void 0)&&(g={value:d,prev:g}),d=E.deps,S=E,++b;continue}if(!_){const L=d.nextDep;if(L!==void 0){d=L;continue}}for(;b--;){const L=S.subs,D=L.nextSub!==void 0;if(D?(d=g.value,g=g.prev):d=L,_){if(l(S)){D&&y(L),S=d.sub;continue}_=!1}else S.flags&=-33;S=d.sub;const Q=d.nextDep;if(Q!==void 0){d=Q;continue t}}return _}while(!0)}function y(d){do{const S=d.sub,g=S.flags;(g&48)===32&&(S.flags=g|16,(g&6)===2&&i(S))}while((d=d.nextSub)!==void 0)}function p(d,S){let g=S.depsTail;for(;g!==void 0;){if(g===d)return!0;g=g.prevDep}return!1}}function lS(l,i,s){const o=typeof l=="object",r=o?l:void 0;return{next:(o?l.next:l)?.bind(r),error:(o?l.error:i)?.bind(r),complete:(o?l.complete:s)?.bind(r)}}const Wo=[];let Wu=0;const{link:Zm,unlink:iS,propagate:uS,checkDirty:xy,shallowPropagate:Jm}=aS({update(l){return l._update()},notify(l){Wo[Io++]=l,l.flags&=~Nt.Watching},unwatched(l){l.depsTail!==void 0&&(l.depsTail=void 0,l.flags=Nt.Mutable|Nt.Dirty,is(l))}});let Ju=0,Io=0,Je,$o=0;function zy(l){try{++$o,l()}finally{--$o||Dy()}}function is(l){const i=l.depsTail;let s=i!==void 0?i.nextDep:l.deps;for(;s!==void 0;)s=iS(s,l)}function Dy(){if(!($o>0)){for(;Ju<Io;){const l=Wo[Ju];Wo[Ju++]=void 0,l.notify()}Ju=0,Io=0}}function Pm(l,i){const s=typeof l=="function",o=l,r={_snapshot:s?void 0:l,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?Nt.None:Nt.Mutable,get(){return Je!==void 0&&Zm(r,Je,Wu),r._snapshot},subscribe(h){const m=lS(h),y={current:!1},p=sS(()=>{r.get(),y.current?m.next?.(r._snapshot):y.current=!0});return{unsubscribe:()=>{p.stop()}}},_update(h){const m=Je,y=i?.compare??Object.is;if(s)Je=r,++Wu,r.depsTail=void 0;else if(h===void 0)return!1;s&&(r.flags=Nt.Mutable|Nt.RecursedCheck);try{const p=r._snapshot,d=typeof h=="function"?h(p):h===void 0&&s?o(p):h;return p===void 0||!y(p,d)?(r._snapshot=d,!0):!1}finally{Je=m,s&&(r.flags&=~Nt.RecursedCheck),is(r)}}};return s?(r.flags=Nt.Mutable|Nt.Dirty,r.get=function(){const h=r.flags;if(h&Nt.Dirty||h&Nt.Pending&&xy(r.deps,r)){if(r._update()){const m=r.subs;m!==void 0&&Jm(m)}}else h&Nt.Pending&&(r.flags=h&~Nt.Pending);return Je!==void 0&&Zm(r,Je,Wu),r._snapshot}):r.set=function(h){if(r._update(h)){const m=r.subs;m!==void 0&&(uS(m),Jm(m),Dy())}},r}function sS(l){const i=()=>{const o=Je;Je=s,++Wu,s.depsTail=void 0,s.flags=Nt.Watching|Nt.RecursedCheck;try{return l()}finally{Je=o,s.flags&=~Nt.RecursedCheck,is(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Nt.Watching|Nt.RecursedCheck,notify(){const o=this.flags;o&Nt.Dirty||o&Nt.Pending&&xy(this.deps,this)?i():this.flags=Nt.Watching},stop(){this.flags=Nt.None,this.depsTail=void 0,is(this)}};return i(),s}var jo={exports:{}},Ho={},qo={exports:{}},Qo={};var Fm;function cS(){if(Fm)return Qo;Fm=1;var l=Oi();function i(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var s=typeof Object.is=="function"?Object.is:i,o=l.useState,r=l.useEffect,h=l.useLayoutEffect,m=l.useDebugValue;function y(g,b){var _=b(),E=o({inst:{value:_,getSnapshot:b}}),O=E[0].inst,L=E[1];return h(function(){O.value=_,O.getSnapshot=b,p(O)&&L({inst:O})},[g,_,b]),r(function(){return p(O)&&L({inst:O}),g(function(){p(O)&&L({inst:O})})},[g]),m(_),_}function p(g){var b=g.getSnapshot;g=g.value;try{var _=b();return!s(g,_)}catch{return!0}}function d(g,b){return b()}var S=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:y;return Qo.useSyncExternalStore=l.useSyncExternalStore!==void 0?l.useSyncExternalStore:S,Qo}var km;function oS(){return km||(km=1,qo.exports=cS()),qo.exports}var Wm;function rS(){if(Wm)return Ho;Wm=1;var l=Oi(),i=oS();function s(d,S){return d===S&&(d!==0||1/d===1/S)||d!==d&&S!==S}var o=typeof Object.is=="function"?Object.is:s,r=i.useSyncExternalStore,h=l.useRef,m=l.useEffect,y=l.useMemo,p=l.useDebugValue;return Ho.useSyncExternalStoreWithSelector=function(d,S,g,b,_){var E=h(null);if(E.current===null){var O={hasValue:!1,value:null};E.current=O}else O=E.current;E=y(function(){function D(J){if(!Q){if(Q=!0,G=J,J=b(J),_!==void 0&&O.hasValue){var q=O.value;if(_(q,J))return Y=q}return Y=J}if(q=Y,o(G,J))return q;var V=b(J);return _!==void 0&&_(q,V)?(G=J,q):(G=J,Y=V)}var Q=!1,G,Y,$=g===void 0?null:g;return[function(){return D(S())},$===null?void 0:function(){return D($())}]},[S,g,b,_]);var L=r(d,E[0],E[1]);return m(function(){O.hasValue=!0,O.value=L},[L]),p(L),L},Ho}var Im;function fS(){return Im||(Im=1,jo.exports=rS()),jo.exports}var hS=fS();function dS(l,i){return l===i}function Te(l,i,s=dS){const o=W.useCallback(m=>{if(!l)return()=>{};const{unsubscribe:y}=l.subscribe(m);return y},[l]),r=W.useCallback(()=>l?.get(),[l]);return hS.useSyncExternalStoreWithSelector(o,r,r,i,s)}var mS={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function Ea(l){const i=Be(),s=W.useContext(l.from?nS:cs),o=l.from??s,r=o?l.from?i.stores.getRouteMatchStore(o):i.stores.matchStores.get(o):void 0,h=W.useRef(void 0);return Te(r??mS,m=>{if((l.shouldThrow??!0)&&!m&&vn(),m===void 0)return;const y=l.select?l.select(m):m;if(l.structuralSharing??i.options.defaultStructuralSharing){const p=va(h.current,y);return h.current=p,p}return y})}function Uy(l){return Ea({from:l.from,strict:l.strict,structuralSharing:l.structuralSharing,select:i=>l.select?l.select(i.loaderData):i.loaderData})}function Ly(l){const{select:i,...s}=l;return Ea({...s,select:o=>i?i(o.loaderDeps):o.loaderDeps})}function wy(l){return Ea({from:l.from,shouldThrow:l.shouldThrow,structuralSharing:l.structuralSharing,strict:l.strict,select:i=>{const s=l.strict===!1?i.params:i._strictParams;return l.select?l.select(s):s}})}function Ny(l){return Ea({from:l.from,strict:l.strict,shouldThrow:l.shouldThrow,structuralSharing:l.structuralSharing,select:i=>l.select?l.select(i.search):i.search})}function By(l){const i=Be();return W.useCallback(s=>i.navigate({...s,from:s.from??l?.from}),[l?.from,i])}function jy(l){return Ea({...l,select:i=>l.select?l.select(i.context):i.context})}var yS=ey();function vS(l,i){const s=Be(),o=Wg(i),{activeProps:r,inactiveProps:h,activeOptions:m,to:y,preload:p,preloadDelay:d,preloadIntentProximity:S,hashScrollIntoView:g,replace:b,startTransition:_,resetScroll:E,viewTransition:O,children:L,target:D,disabled:Q,style:G,className:Y,onClick:$,onBlur:J,onFocus:q,onMouseEnter:V,onMouseLeave:K,onTouchStart:et,ignoreBlocker:F,params:ut,search:rt,hash:Bt,state:Mt,mask:w,reloadDocument:X,unsafeRelative:at,from:bt,_fromLocation:Rt,...M}=l,j=Cy(),Z=W.useMemo(()=>l,[s,l.from,l._fromLocation,l.hash,l.to,l.search,l.params,l.state,l.mask,l.unsafeRelative]),P=Te(s.stores.location,Dt=>Dt,(Dt,kt)=>Dt.href===kt.href),tt=W.useMemo(()=>{const Dt={_fromLocation:P,...Z};return s.buildLocation(Dt)},[s,P,Z]),ft=tt.maskedLocation?tt.maskedLocation.publicHref:tt.publicHref,pt=tt.maskedLocation?tt.maskedLocation.external:tt.external,qt=W.useMemo(()=>RS(ft,pt,s.history,Q),[Q,pt,ft,s.history]),xt=W.useMemo(()=>{if(qt?.external)return es(qt.href,s.protocolAllowlist)?void 0:qt.href;if(!ES(y)&&!(typeof y!="string"||y.indexOf(":")===-1))try{return new URL(y),es(y,s.protocolAllowlist)?void 0:y}catch{}},[y,qt,s.protocolAllowlist]),Pe=W.useMemo(()=>{if(xt)return!1;if(m?.exact){if(!y0(P.pathname,tt.pathname,s.basepath))return!1}else{const Dt=ns(P.pathname,s.basepath),kt=ns(tt.pathname,s.basepath);if(!(Dt.startsWith(kt)&&(Dt.length===kt.length||Dt[kt.length]==="/")))return!1}return(m?.includeSearch??!0)&&!Sa(P.search,tt.search,{partial:!m?.exact,ignoreUndefined:!m?.explicitUndefined})?!1:m?.includeHash?j&&P.hash===tt.hash:!0},[m?.exact,m?.explicitUndefined,m?.includeHash,m?.includeSearch,P,xt,j,tt.hash,tt.pathname,tt.search,s.basepath]),Fe=Pe?Vn(r,{})??pS:Yo,pn=Pe?Yo:Vn(h,{})??Yo,vl=[Y,Fe.className,pn.className].filter(Boolean).join(" "),Ye=(G||Fe.style||pn.style)&&{...G,...Fe.style,...pn.style},[pl,Ta]=W.useState(!1),Ci=W.useRef(!1),ke=l.reloadDocument||xt?!1:p??s.options.defaultPreload,Fn=d??s.options.defaultPreloadDelay??0,je=W.useCallback(()=>{s.preloadRoute({...Z,_builtLocation:tt}).catch(Dt=>{console.warn(Dt),console.warn(k0)})},[s,Z,tt]);kg(o,W.useCallback(Dt=>{Dt?.isIntersecting&&je()},[je]),_S,{disabled:!!Q||ke!=="viewport"}),W.useEffect(()=>{Ci.current||!Q&&ke==="render"&&(je(),Ci.current=!0)},[Q,je,ke]);const gl=Dt=>{const kt=Dt.currentTarget.getAttribute("target"),Ge=D!==void 0?D:kt;if(!Q&&!TS(Dt)&&!Dt.defaultPrevented&&(!Ge||Ge==="_self")&&Dt.button===0){Dt.preventDefault(),yS.flushSync(()=>{Ta(!0)});const Ma=s.subscribe("onResolved",()=>{Ma(),Ta(!1)});s.navigate({...Z,replace:b,resetScroll:E,hashScrollIntoView:g,startTransition:_,viewTransition:O,ignoreBlocker:F})}};if(xt)return{...M,ref:o,href:xt,...L&&{children:L},...D&&{target:D},...Q&&{disabled:Q},...G&&{style:G},...Y&&{className:Y},...$&&{onClick:$},...J&&{onBlur:J},...q&&{onFocus:q},...V&&{onMouseEnter:V},...K&&{onMouseLeave:K},...et&&{onTouchStart:et}};const Ai=Dt=>{if(Q||ke!=="intent")return;if(!Fn){je();return}const kt=Dt.currentTarget;if(pi.has(kt))return;const Ge=setTimeout(()=>{pi.delete(kt),je()},Fn);pi.set(kt,Ge)},os=Dt=>{Q||ke!=="intent"||je()},ne=Dt=>{if(Q||!ke||!Fn)return;const kt=Dt.currentTarget,Ge=pi.get(kt);Ge&&(clearTimeout(Ge),pi.delete(kt))};return{...M,...Fe,...pn,href:qt?.href,ref:o,onClick:rl([$,gl]),onBlur:rl([J,ne]),onFocus:rl([q,Ai]),onMouseEnter:rl([V,Ai]),onMouseLeave:rl([K,ne]),onTouchStart:rl([et,os]),disabled:!!Q,target:D,...Ye&&{style:Ye},...vl&&{className:vl},...Q&&gS,...Pe&&SS,...j&&pl&&bS}}var Yo={},pS={className:"active"},gS={role:"link","aria-disabled":!0},SS={"data-status":"active","aria-current":"page"},bS={"data-transitioning":"transitioning"},pi=new WeakMap,_S={rootMargin:"100px"},rl=l=>i=>{for(const s of l)if(s){if(i.defaultPrevented)return;s(i)}};function RS(l,i,s,o){if(!o)return i?{href:l,external:!0}:{href:s.createHref(l)||"/",external:!1}}function ES(l){if(typeof l!="string")return!1;const i=l.charCodeAt(0);return i===47?l.charCodeAt(1)!==47:i===46}var Hy=W.forwardRef((l,i)=>{const{_asChild:s,...o}=l,{type:r,...h}=vS(o,i),m=typeof o.children=="function"?o.children({isActive:h["data-status"]==="active"}):o.children;if(!s){const{disabled:y,...p}=h;return W.createElement("a",p,m)}return W.createElement(s,h,m)});function TS(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}var MS=class extends Oy{constructor(l){super(l),this.useMatch=i=>Ea({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>jy({...i,from:this.id}),this.useSearch=i=>Ny({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>wy({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>Ly({...i,from:this.id}),this.useLoaderData=i=>Uy({...i,from:this.id}),this.useNavigate=()=>By({from:this.fullPath}),this.Link=Si.forwardRef((i,s)=>lt.jsx(Hy,{ref:s,from:this.fullPath,...i}))}};function OS(l){return new MS(l)}var CS=class extends W0{constructor(l){super(l),this.useMatch=i=>Ea({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>jy({...i,from:this.id}),this.useSearch=i=>Ny({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>wy({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>Ly({...i,from:this.id}),this.useLoaderData=i=>Uy({...i,from:this.id}),this.useNavigate=()=>By({from:this.fullPath}),this.Link=Si.forwardRef((i,s)=>lt.jsx(Hy,{ref:s,from:this.fullPath,...i}))}};function IS(l){return new CS(l)}function $S(l){return new AS(l,{silent:!0}).createRoute}var AS=class{constructor(l,i){this.path=l,this.createRoute=s=>{const o=OS(s);return o.isRoot=!1,o},this.silent=i?.silent}};function xS(l){const i=Be(),s=`not-found-${Te(i.stores.location,o=>o.pathname)}-${Te(i.stores.status,o=>o)}`;return lt.jsx(or,{getResetKey:()=>s,onCatch:(o,r)=>{if(le(o))l.onCatch?.(o,r);else throw o},errorComponent:({error:o})=>{if(le(o))return l.fallback?.(o);throw o},children:l.children})}function zS(){return lt.jsx("p",{children:"Not Found"})}function fl(l){return lt.jsx(lt.Fragment,{children:l.children})}function qy(l,i,s){return i.options.notFoundComponent?lt.jsx(i.options.notFoundComponent,{...s}):l.options.defaultNotFoundComponent?lt.jsx(l.options.defaultNotFoundComponent,{...s}):lt.jsx(zS,{})}function DS(l){return null}function US(){return DS(Be()),null}var Qy=W.memo(function({matchId:i}){const s=Be(),o=s.stores.matchStores.get(i);o||vn();const r=Te(s.stores.loadedAt,m=>m),h=Te(o,m=>m);return lt.jsx(LS,{router:s,matchId:i,resetKey:r,matchState:W.useMemo(()=>{const m=h.routeId,y=s.routesById[m].parentRoute?.id;return{routeId:m,ssr:h.ssr,_displayPending:h._displayPending,parentRouteId:y}},[h._displayPending,h.routeId,h.ssr,s.routesById])})});function LS({router:l,matchId:i,resetKey:s,matchState:o}){const r=l.routesById[o.routeId],h=r.options.pendingComponent??l.options.defaultPendingComponent,m=h?lt.jsx(h,{}):null,y=r.options.errorComponent??l.options.defaultErrorComponent,p=r.options.onCatch??l.options.defaultOnCatch,d=r.isRoot?r.options.notFoundComponent??l.options.notFoundRoute?.options.component:r.options.notFoundComponent,S=o.ssr===!1||o.ssr==="data-only",g=(!r.isRoot||r.options.wrapInSuspense||S)&&(r.options.wrapInSuspense??h??(r.options.errorComponent?.preload||S))?W.Suspense:fl,b=y?or:fl,_=d?xS:fl;return lt.jsxs(r.isRoot?r.options.shellComponent??fl:fl,{children:[lt.jsx(cs.Provider,{value:i,children:lt.jsx(g,{fallback:m,children:lt.jsx(b,{getResetKey:()=>s,errorComponent:y||rr,onCatch:(E,O)=>{if(le(E))throw E.routeId??=o.routeId,E;p?.(E,O)},children:lt.jsx(_,{fallback:E=>{if(E.routeId??=o.routeId,!d||E.routeId&&E.routeId!==o.routeId||!E.routeId&&!r.isRoot)throw E;return W.createElement(d,E)},children:S||o._displayPending?lt.jsx(tS,{fallback:m,children:lt.jsx($m,{matchId:i})}):lt.jsx($m,{matchId:i})})})})}),o.parentRouteId===ba?lt.jsxs(lt.Fragment,{children:[lt.jsx(wS,{resetKey:s}),l.options.scrollRestoration&&vy?lt.jsx(US,{}):null]}):null]})}function wS({resetKey:l}){const i=Be(),s=W.useRef(void 0);return gi(()=>{const o=i.latestLocation.href;(s.current===void 0||s.current!==o)&&(i.emit({type:"onRendered",...hl(i.stores.location.get(),i.stores.resolvedLocation.get())}),s.current=o)},[i.latestLocation.state.__TSR_key,l,i]),null}var $m=W.memo(function({matchId:i}){const s=Be(),o=(S,g)=>s.getMatch(S.id)?._nonReactive[g]??S._nonReactive[g],r=s.stores.matchStores.get(i);r||vn();const h=Te(r,S=>S),m=h.routeId,y=s.routesById[m],p=W.useMemo(()=>{const S=(s.routesById[m].options.remountDeps??s.options.defaultRemountDeps)?.({routeId:m,loaderDeps:h.loaderDeps,params:h._strictParams,search:h._strictSearch});return S?JSON.stringify(S):void 0},[m,h.loaderDeps,h._strictParams,h._strictSearch,s.options.defaultRemountDeps,s.routesById]),d=W.useMemo(()=>{const S=y.options.component??s.options.defaultComponent;return S?lt.jsx(S,{},p):lt.jsx(NS,{})},[p,y.options.component,s.options.defaultComponent]);if(h._displayPending)throw o(h,"displayPendingPromise");if(h._forcePending)throw o(h,"minPendingPromise");if(h.status==="pending"){const S=y.options.pendingMinMs??s.options.defaultPendingMinMs;if(S){const g=s.getMatch(h.id);if(g&&!g._nonReactive.minPendingPromise){const b=ml();g._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),g._nonReactive.minPendingPromise=void 0},S)}}throw o(h,"loadPromise")}if(h.status==="notFound")return le(h.error)||vn(),qy(s,y,h.error);if(h.status==="redirected")throw me(h.error)||vn(),o(h,"loadPromise");if(h.status==="error")throw h.error;return d}),NS=W.memo(function(){const i=Be(),s=W.useContext(cs);let o,r=!1,h;{const d=s?i.stores.matchStores.get(s):void 0;[o,r]=Te(d,S=>[S?.routeId,S?.globalNotFound??!1]),h=Te(i.stores.matchesId,S=>S[S.findIndex(g=>g===s)+1])}const m=o?i.routesById[o]:void 0,y=i.options.defaultPendingComponent?lt.jsx(i.options.defaultPendingComponent,{}):null;if(r)return m||vn(),qy(i,m,void 0);if(!h)return null;const p=lt.jsx(Qy,{matchId:h});return o===ba?lt.jsx(W.Suspense,{fallback:y,children:p}):p});function BS(){const l=Be(),i=W.useRef({router:l,mounted:!1}),[s,o]=W.useState(!1),r=Te(l.stores.isLoading,g=>g),h=Te(l.stores.hasPending,g=>g),m=xo(r),y=r||s||h,p=xo(y),d=r||h,S=xo(d);return l.startTransition=g=>{o(!0),W.startTransition(()=>{g(),o(!1)})},W.useEffect(()=>{const g=l.history.subscribe(l.load),b=l.buildLocation({to:l.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Jn(l.latestLocation.publicHref)!==Jn(b.publicHref)&&l.commitLocation({...b,replace:!0}),()=>{g()}},[l,l.history]),gi(()=>{if(typeof window<"u"&&l.ssr||i.current.router===l&&i.current.mounted)return;i.current={router:l,mounted:!0},(async()=>{try{await l.load()}catch(b){console.error(b)}})()},[l]),gi(()=>{m&&!r&&l.emit({type:"onLoad",...hl(l.stores.location.get(),l.stores.resolvedLocation.get())})},[m,l,r]),gi(()=>{S&&!d&&l.emit({type:"onBeforeRouteMount",...hl(l.stores.location.get(),l.stores.resolvedLocation.get())})},[d,S,l]),gi(()=>{if(p&&!y){const g=hl(l.stores.location.get(),l.stores.resolvedLocation.get());l.emit({type:"onResolved",...g}),zy(()=>{l.stores.status.set("idle"),l.stores.resolvedLocation.set(l.stores.location.get())}),g.hrefChanged&&I0(l)}},[y,p,l]),null}function jS(){const l=Be(),i=l.routesById[ba].options.pendingComponent??l.options.defaultPendingComponent,s=i?lt.jsx(i,{}):null,o=lt.jsxs(typeof document<"u"&&l.ssr?fl:W.Suspense,{fallback:s,children:[lt.jsx(BS,{}),lt.jsx(HS,{})]});return l.options.InnerWrap?lt.jsx(l.options.InnerWrap,{children:o}):o}function HS(){const l=Be(),i=Te(l.stores.firstId,r=>r),s=Te(l.stores.loadedAt,r=>r),o=i?lt.jsx(Qy,{matchId:i}):null;return lt.jsx(cs.Provider,{value:i,children:l.options.disableGlobalCatchBoundary?o:lt.jsx(or,{getResetKey:()=>s,errorComponent:rr,onCatch:void 0,children:o})})}var qS=l=>({createMutableStore:Pm,createReadonlyStore:Pm,batch:zy}),tb=l=>new QS(l),QS=class extends X0{constructor(l){super(l,qS)}};function YS({router:l,children:i,...s}){Object.keys(s).length>0&&l.update({...l.options,...s,context:{...l.options.context,...s.context}});const o=lt.jsx(Ay.Provider,{value:l,children:i});return l.options.Wrap?lt.jsx(l.options.Wrap,{children:o}):o}function eb({router:l,...i}){return lt.jsx(YS,{router:l,...i,children:lt.jsx(jS,{})})}const GS="modulepreload",XS=function(l){return"/"+l},ty={},nb=function(i,s,o){let r=Promise.resolve();if(s&&s.length>0){let p=function(d){return Promise.all(d.map(S=>Promise.resolve(S).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),y=m?.nonce||m?.getAttribute("nonce");r=p(s.map(d=>{if(d=XS(d),d in ty)return;ty[d]=!0;const S=d.endsWith(".css"),g=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${g}`))return;const b=document.createElement("link");if(b.rel=S?"stylesheet":GS,S||(b.as="script"),b.crossOrigin="",b.href=d,y&&b.setAttribute("nonce",y),document.head.appendChild(b),S)return new Promise((_,E)=>{b.addEventListener("load",_),b.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${d}`)))})}))}function h(m){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=m,window.dispatchEvent(y),!y.defaultPrevented)throw m}return r.then(m=>{for(const y of m||[])y.status==="rejected"&&h(y.reason);return i().catch(h)})};export{NS as O,JS as Q,Si as R,nb as _,dy as a,kS as b,VS as c,WS as d,KS as e,IS as f,ug as g,$S as h,z0 as i,lt as j,By as k,tb as l,PS as m,eb as n,ZS as o,W as r,FS as u};
|
|
8
|
+
`+a.stack}}var Fn=Object.prototype.hasOwnProperty,je=l.unstable_scheduleCallback,gl=l.unstable_cancelCallback,Ai=l.unstable_shouldYield,os=l.unstable_requestPaint,ne=l.unstable_now,Dt=l.unstable_getCurrentPriorityLevel,kt=l.unstable_ImmediatePriority,Ge=l.unstable_UserBlockingPriority,Ma=l.unstable_NormalPriority,Yy=l.unstable_LowPriority,fr=l.unstable_IdlePriority,Gy=l.log,Xy=l.unstable_setDisableYieldValue,Sl=null,ye=null;function gn(t){if(typeof Gy=="function"&&Xy(t),ye&&typeof ye.setStrictMode=="function")try{ye.setStrictMode(Sl,t)}catch{}}var ve=Math.clz32?Math.clz32:Zy,Vy=Math.log,Ky=Math.LN2;function Zy(t){return t>>>=0,t===0?32:31-(Vy(t)/Ky|0)|0}var xi=256,zi=262144,Di=4194304;function kn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ui(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var u=0,c=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var v=a&134217727;return v!==0?(a=v&~c,a!==0?u=kn(a):(f&=v,f!==0?u=kn(f):n||(n=v&~t,n!==0&&(u=kn(n))))):(v=a&~c,v!==0?u=kn(v):f!==0?u=kn(f):n||(n=a&~t,n!==0&&(u=kn(n)))),u===0?0:e!==0&&e!==u&&(e&c)===0&&(c=u&-u,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:u}function bl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Jy(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 hr(){var t=Di;return Di<<=1,(Di&62914560)===0&&(Di=4194304),t}function rs(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function _l(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Py(t,e,n,a,u,c){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var v=t.entanglements,R=t.expirationTimes,x=t.hiddenUpdates;for(n=f&~n;0<n;){var N=31-ve(n),H=1<<N;v[N]=0,R[N]=-1;var z=x[N];if(z!==null)for(x[N]=null,N=0;N<z.length;N++){var U=z[N];U!==null&&(U.lane&=-536870913)}n&=~H}a!==0&&dr(t,a,0),c!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=c&~(f&~e))}function dr(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-ve(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&261930}function mr(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-ve(n),u=1<<a;u&e|t[a]&e&&(t[a]|=e),n&=~u}}function yr(t,e){var n=e&-e;return n=(n&42)!==0?1:fs(n),(n&(t.suspendedLanes|e))!==0?0:n}function fs(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function hs(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function vr(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:nm(t.type))}function pr(t,e){var n=X.p;try{return X.p=t,e()}finally{X.p=n}}var Sn=Math.random().toString(36).slice(2),Wt="__reactFiber$"+Sn,se="__reactProps$"+Sn,Oa="__reactContainer$"+Sn,ds="__reactEvents$"+Sn,Fy="__reactListeners$"+Sn,ky="__reactHandles$"+Sn,gr="__reactResources$"+Sn,Rl="__reactMarker$"+Sn;function ms(t){delete t[Wt],delete t[se],delete t[ds],delete t[Fy],delete t[ky]}function Ca(t){var e=t[Wt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Oa]||n[Wt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Qd(t);t!==null;){if(n=t[Wt])return n;t=Qd(t)}return e}t=n,n=t.parentNode}return null}function Aa(t){if(t=t[Wt]||t[Oa]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function El(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function xa(t){var e=t[gr];return e||(e=t[gr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Pt(t){t[Rl]=!0}var Sr=new Set,br={};function Wn(t,e){za(t,e),za(t+"Capture",e)}function za(t,e){for(br[t]=e,t=0;t<e.length;t++)Sr.add(e[t])}var Wy=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]*$"),_r={},Rr={};function Iy(t){return Fn.call(Rr,t)?!0:Fn.call(_r,t)?!1:Wy.test(t)?Rr[t]=!0:(_r[t]=!0,!1)}function Li(t,e,n){if(Iy(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function wi(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function We(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}function Oe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Er(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function $y(t,e,n){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,c=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(f){n=""+f,c.call(this,f)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ys(t){if(!t._valueTracker){var e=Er(t)?"checked":"value";t._valueTracker=$y(t,e,""+t[e])}}function Tr(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Er(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function Ni(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var tv=/[\n"\\]/g;function Ce(t){return t.replace(tv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vs(t,e,n,a,u,c,f,v){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Oe(e)):t.value!==""+Oe(e)&&(t.value=""+Oe(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?ps(t,f,Oe(e)):n!=null?ps(t,f,Oe(n)):a!=null&&t.removeAttribute("value"),u==null&&c!=null&&(t.defaultChecked=!!c),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Oe(v):t.removeAttribute("name")}function Mr(t,e,n,a,u,c,f,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){ys(t);return}n=n!=null?""+Oe(n):"",e=e!=null?""+Oe(e):n,v||e===t.value||(t.value=e),t.defaultValue=e}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=v?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),ys(t)}function ps(t,e,n){e==="number"&&Ni(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Da(t,e,n,a){if(t=t.options,e){e={};for(var u=0;u<n.length;u++)e["$"+n[u]]=!0;for(n=0;n<t.length;n++)u=e.hasOwnProperty("$"+t[n].value),t[n].selected!==u&&(t[n].selected=u),u&&a&&(t[n].defaultSelected=!0)}else{for(n=""+Oe(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function Or(t,e,n){if(e!=null&&(e=""+Oe(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Oe(n):""}function Cr(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(o(92));if(Mt(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=Oe(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a),ys(t)}function Ua(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var ev=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 Ar(t,e,n){var a=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,n):typeof n!="number"||n===0||ev.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function xr(t,e,n){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var u in e)a=e[u],e.hasOwnProperty(u)&&n[u]!==a&&Ar(t,u,a)}else for(var c in e)e.hasOwnProperty(c)&&Ar(t,c,e[c])}function gs(t){if(t.indexOf("-")===-1)return!1;switch(t){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 nv=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"]]),av=/^[\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 Bi(t){return av.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Ie(){}var Ss=null;function bs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var La=null,wa=null;function zr(t){var e=Aa(t);if(e&&(t=e.stateNode)){var n=t[se]||null;t:switch(t=e.stateNode,e.type){case"input":if(vs(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ce(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var u=a[se]||null;if(!u)throw Error(o(90));vs(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)a=n[e],a.form===t.form&&Tr(a)}break t;case"textarea":Or(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Da(t,!!n.multiple,e,!1)}}}var _s=!1;function Dr(t,e,n){if(_s)return t(e,n);_s=!0;try{var a=t(e);return a}finally{if(_s=!1,(La!==null||wa!==null)&&(Eu(),La&&(e=La,t=wa,wa=La=null,zr(e),t)))for(e=0;e<t.length;e++)zr(t[e])}}function Tl(t,e){var n=t.stateNode;if(n===null)return null;var a=n[se]||null;if(a===null)return null;n=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(o(231,e,typeof n));return n}var $e=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rs=!1;if($e)try{var Ml={};Object.defineProperty(Ml,"passive",{get:function(){Rs=!0}}),window.addEventListener("test",Ml,Ml),window.removeEventListener("test",Ml,Ml)}catch{Rs=!1}var bn=null,Es=null,ji=null;function Ur(){if(ji)return ji;var t,e=Es,n=e.length,a,u="value"in bn?bn.value:bn.textContent,c=u.length;for(t=0;t<n&&e[t]===u[t];t++);var f=n-t;for(a=1;a<=f&&e[n-a]===u[c-a];a++);return ji=u.slice(t,1<a?1-a:void 0)}function Hi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function qi(){return!0}function Lr(){return!1}function ce(t){function e(n,a,u,c,f){this._reactName=n,this._targetInst=u,this.type=a,this.nativeEvent=c,this.target=f,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(n=t[v],this[v]=n?n(c):c[v]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?qi:Lr,this.isPropagationStopped=Lr,this}return g(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=qi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=qi)},persist:function(){},isPersistent:qi}),e}var In={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qi=ce(In),Ol=g({},In,{view:0,detail:0}),lv=ce(Ol),Ts,Ms,Cl,Yi=g({},Ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Cl&&(Cl&&t.type==="mousemove"?(Ts=t.screenX-Cl.screenX,Ms=t.screenY-Cl.screenY):Ms=Ts=0,Cl=t),Ts)},movementY:function(t){return"movementY"in t?t.movementY:Ms}}),wr=ce(Yi),iv=g({},Yi,{dataTransfer:0}),uv=ce(iv),sv=g({},Ol,{relatedTarget:0}),Os=ce(sv),cv=g({},In,{animationName:0,elapsedTime:0,pseudoElement:0}),ov=ce(cv),rv=g({},In,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),fv=ce(rv),hv=g({},In,{data:0}),Nr=ce(hv),dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mv={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"},yv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=yv[t])?!!e[t]:!1}function Cs(){return vv}var pv=g({},Ol,{key:function(t){if(t.key){var e=dv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Hi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?mv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,charCode:function(t){return t.type==="keypress"?Hi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Hi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),gv=ce(pv),Sv=g({},Yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Br=ce(Sv),bv=g({},Ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),_v=ce(bv),Rv=g({},In,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ev=ce(Rv),Tv=g({},Yi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Mv=ce(Tv),Ov=g({},In,{newState:0,oldState:0}),Cv=ce(Ov),Av=[9,13,27,32],As=$e&&"CompositionEvent"in window,Al=null;$e&&"documentMode"in document&&(Al=document.documentMode);var xv=$e&&"TextEvent"in window&&!Al,jr=$e&&(!As||Al&&8<Al&&11>=Al),Hr=" ",qr=!1;function Qr(t,e){switch(t){case"keyup":return Av.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Na=!1;function zv(t,e){switch(t){case"compositionend":return Yr(e);case"keypress":return e.which!==32?null:(qr=!0,Hr);case"textInput":return t=e.data,t===Hr&&qr?null:t;default:return null}}function Dv(t,e){if(Na)return t==="compositionend"||!As&&Qr(t,e)?(t=Ur(),ji=Es=bn=null,Na=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return jr&&e.locale!=="ko"?null:e.data;default:return null}}var Uv={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 Gr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Uv[t.type]:e==="textarea"}function Xr(t,e,n,a){La?wa?wa.push(a):wa=[a]:La=a,e=zu(e,"onChange"),0<e.length&&(n=new Qi("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var xl=null,zl=null;function Lv(t){Od(t,0)}function Gi(t){var e=El(t);if(Tr(e))return t}function Vr(t,e){if(t==="change")return e}var Kr=!1;if($e){var xs;if($e){var zs="oninput"in document;if(!zs){var Zr=document.createElement("div");Zr.setAttribute("oninput","return;"),zs=typeof Zr.oninput=="function"}xs=zs}else xs=!1;Kr=xs&&(!document.documentMode||9<document.documentMode)}function Jr(){xl&&(xl.detachEvent("onpropertychange",Pr),zl=xl=null)}function Pr(t){if(t.propertyName==="value"&&Gi(zl)){var e=[];Xr(e,zl,t,bs(t)),Dr(Lv,e)}}function wv(t,e,n){t==="focusin"?(Jr(),xl=e,zl=n,xl.attachEvent("onpropertychange",Pr)):t==="focusout"&&Jr()}function Nv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Gi(zl)}function Bv(t,e){if(t==="click")return Gi(e)}function jv(t,e){if(t==="input"||t==="change")return Gi(e)}function Hv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:Hv;function Dl(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),a=Object.keys(e);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var u=n[a];if(!Fn.call(e,u)||!pe(t[u],e[u]))return!1}return!0}function Fr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function kr(t,e){var n=Fr(t);t=0;for(var a;n;){if(n.nodeType===3){if(a=t+n.textContent.length,t<=e&&a>=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Fr(n)}}function Wr(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Wr(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ir(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ni(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Ni(t.document)}return e}function Ds(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var qv=$e&&"documentMode"in document&&11>=document.documentMode,Ba=null,Us=null,Ul=null,Ls=!1;function $r(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ls||Ba==null||Ba!==Ni(a)||(a=Ba,"selectionStart"in a&&Ds(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ul&&Dl(Ul,a)||(Ul=a,a=zu(Us,"onSelect"),0<a.length&&(e=new Qi("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=Ba)))}function $n(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ja={animationend:$n("Animation","AnimationEnd"),animationiteration:$n("Animation","AnimationIteration"),animationstart:$n("Animation","AnimationStart"),transitionrun:$n("Transition","TransitionRun"),transitionstart:$n("Transition","TransitionStart"),transitioncancel:$n("Transition","TransitionCancel"),transitionend:$n("Transition","TransitionEnd")},ws={},tf={};$e&&(tf=document.createElement("div").style,"AnimationEvent"in window||(delete ja.animationend.animation,delete ja.animationiteration.animation,delete ja.animationstart.animation),"TransitionEvent"in window||delete ja.transitionend.transition);function ta(t){if(ws[t])return ws[t];if(!ja[t])return t;var e=ja[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in tf)return ws[t]=e[n];return t}var ef=ta("animationend"),nf=ta("animationiteration"),af=ta("animationstart"),Qv=ta("transitionrun"),Yv=ta("transitionstart"),Gv=ta("transitioncancel"),lf=ta("transitionend"),uf=new Map,Ns="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(" ");Ns.push("scrollEnd");function He(t,e){uf.set(t,e),Wn(e,[t])}var Xi=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ae=[],Ha=0,Bs=0;function Vi(){for(var t=Ha,e=Bs=Ha=0;e<t;){var n=Ae[e];Ae[e++]=null;var a=Ae[e];Ae[e++]=null;var u=Ae[e];Ae[e++]=null;var c=Ae[e];if(Ae[e++]=null,a!==null&&u!==null){var f=a.pending;f===null?u.next=u:(u.next=f.next,f.next=u),a.pending=u}c!==0&&sf(n,u,c)}}function Ki(t,e,n,a){Ae[Ha++]=t,Ae[Ha++]=e,Ae[Ha++]=n,Ae[Ha++]=a,Bs|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function js(t,e,n,a){return Ki(t,e,n,a),Zi(t)}function ea(t,e){return Ki(t,null,null,e),Zi(t)}function sf(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var u=!1,c=t.return;c!==null;)c.childLanes|=n,a=c.alternate,a!==null&&(a.childLanes|=n),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(u=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,u&&e!==null&&(u=31-ve(n),t=c.hiddenUpdates,a=t[u],a===null?t[u]=[e]:a.push(e),e.lane=n|536870912),c):null}function Zi(t){if(50<ti)throw ti=0,Zc=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var qa={};function Xv(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ge(t,e,n,a){return new Xv(t,e,n,a)}function Hs(t){return t=t.prototype,!(!t||!t.isReactComponent)}function tn(t,e){var n=t.alternate;return n===null?(n=ge(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function cf(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Ji(t,e,n,a,u,c){var f=0;if(a=t,typeof t=="function")Hs(t)&&(f=1);else if(typeof t=="string")f=Pp(t,n,P.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case K:return t=ge(31,n,e,u),t.elementType=K,t.lanes=c,t;case O:return na(n.children,u,c,e);case L:f=8,u|=24;break;case D:return t=ge(12,n,e,u|2),t.elementType=D,t.lanes=c,t;case $:return t=ge(13,n,e,u),t.elementType=$,t.lanes=c,t;case J:return t=ge(19,n,e,u),t.elementType=J,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case G:f=10;break t;case Q:f=9;break t;case Y:f=11;break t;case q:f=14;break t;case V:f=16,a=null;break t}f=29,n=Error(o(130,t===null?"null":typeof t,"")),a=null}return e=ge(f,n,e,u),e.elementType=t,e.type=a,e.lanes=c,e}function na(t,e,n,a){return t=ge(7,t,a,e),t.lanes=n,t}function qs(t,e,n){return t=ge(6,t,null,e),t.lanes=n,t}function of(t){var e=ge(18,null,null,0);return e.stateNode=t,e}function Qs(t,e,n){return e=ge(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var rf=new WeakMap;function xe(t,e){if(typeof t=="object"&&t!==null){var n=rf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:ke(e)},rf.set(t,e),e)}return{value:t,source:e,stack:ke(e)}}var Qa=[],Ya=0,Pi=null,Ll=0,ze=[],De=0,_n=null,Xe=1,Ve="";function en(t,e){Qa[Ya++]=Ll,Qa[Ya++]=Pi,Pi=t,Ll=e}function ff(t,e,n){ze[De++]=Xe,ze[De++]=Ve,ze[De++]=_n,_n=t;var a=Xe;t=Ve;var u=32-ve(a)-1;a&=~(1<<u),n+=1;var c=32-ve(e)+u;if(30<c){var f=u-u%5;c=(a&(1<<f)-1).toString(32),a>>=f,u-=f,Xe=1<<32-ve(e)+u|n<<u|a,Ve=c+t}else Xe=1<<c|n<<u|a,Ve=t}function Ys(t){t.return!==null&&(en(t,1),ff(t,1,0))}function Gs(t){for(;t===Pi;)Pi=Qa[--Ya],Qa[Ya]=null,Ll=Qa[--Ya],Qa[Ya]=null;for(;t===_n;)_n=ze[--De],ze[De]=null,Ve=ze[--De],ze[De]=null,Xe=ze[--De],ze[De]=null}function hf(t,e){ze[De++]=Xe,ze[De++]=Ve,ze[De++]=_n,Xe=e.id,Ve=e.overflow,_n=t}var It=null,Ut=null,vt=!1,Rn=null,Ue=!1,Xs=Error(o(519));function En(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wl(xe(e,t)),Xs}function df(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[Wt]=t,e[se]=a,n){case"dialog":dt("cancel",e),dt("close",e);break;case"iframe":case"object":case"embed":dt("load",e);break;case"video":case"audio":for(n=0;n<ni.length;n++)dt(ni[n],e);break;case"source":dt("error",e);break;case"img":case"image":case"link":dt("error",e),dt("load",e);break;case"details":dt("toggle",e);break;case"input":dt("invalid",e),Mr(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":dt("invalid",e);break;case"textarea":dt("invalid",e),Cr(e,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||zd(e.textContent,n)?(a.popover!=null&&(dt("beforetoggle",e),dt("toggle",e)),a.onScroll!=null&&dt("scroll",e),a.onScrollEnd!=null&&dt("scrollend",e),a.onClick!=null&&(e.onclick=Ie),e=!0):e=!1,e||En(t,!0)}function mf(t){for(It=t.return;It;)switch(It.tag){case 5:case 31:case 13:Ue=!1;return;case 27:case 3:Ue=!0;return;default:It=It.return}}function Ga(t){if(t!==It)return!1;if(!vt)return mf(t),vt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||so(t.type,t.memoizedProps)),n=!n),n&&Ut&&En(t),mf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ut=qd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ut=qd(t)}else e===27?(e=Ut,jn(t.type)?(t=ho,ho=null,Ut=t):Ut=e):Ut=It?we(t.stateNode.nextSibling):null;return!0}function aa(){Ut=It=null,vt=!1}function Vs(){var t=Rn;return t!==null&&(he===null?he=t:he.push.apply(he,t),Rn=null),t}function wl(t){Rn===null?Rn=[t]:Rn.push(t)}var Ks=M(null),la=null,nn=null;function Tn(t,e,n){Z(Ks,e._currentValue),e._currentValue=n}function an(t){t._currentValue=Ks.current,j(Ks)}function Zs(t,e,n){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===n)break;t=t.return}}function Js(t,e,n,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){var f=u.child;c=c.firstContext;t:for(;c!==null;){var v=c;c=u;for(var R=0;R<e.length;R++)if(v.context===e[R]){c.lanes|=n,v=c.alternate,v!==null&&(v.lanes|=n),Zs(c.return,n,t),a||(f=null);break t}c=v.next}}else if(u.tag===18){if(f=u.return,f===null)throw Error(o(341));f.lanes|=n,c=f.alternate,c!==null&&(c.lanes|=n),Zs(f,n,t),f=null}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===t){f=null;break}if(u=f.sibling,u!==null){u.return=f.return,f=u;break}f=f.return}u=f}}function Xa(t,e,n,a){t=null;for(var u=e,c=!1;u!==null;){if(!c){if((u.flags&524288)!==0)c=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var f=u.alternate;if(f===null)throw Error(o(387));if(f=f.memoizedProps,f!==null){var v=u.type;pe(u.pendingProps.value,f.value)||(t!==null?t.push(v):t=[v])}}else if(u===pt.current){if(f=u.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(si):t=[si])}u=u.return}t!==null&&Js(e,t,n,a),e.flags|=262144}function Fi(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ia(t){la=t,nn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return yf(la,t)}function ki(t,e){return la===null&&ia(t),yf(t,e)}function yf(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},nn===null){if(t===null)throw Error(o(308));nn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else nn=nn.next=e;return n}var Vv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Kv=l.unstable_scheduleCallback,Zv=l.unstable_NormalPriority,Gt={$$typeof:G,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ps(){return{controller:new Vv,data:new Map,refCount:0}}function Nl(t){t.refCount--,t.refCount===0&&Kv(Zv,function(){t.controller.abort()})}var Bl=null,Fs=0,Va=0,Ka=null;function Jv(t,e){if(Bl===null){var n=Bl=[];Fs=0,Va=Ic(),Ka={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Fs++,e.then(vf,vf),e}function vf(){if(--Fs===0&&Bl!==null){Ka!==null&&(Ka.status="fulfilled");var t=Bl;Bl=null,Va=0,Ka=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Pv(t,e){var n=[],a={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(a.status="rejected",a.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),a}var pf=w.S;w.S=function(t,e){td=ne(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Jv(t,e),pf!==null&&pf(t,e)};var ua=M(null);function ks(){var t=ua.current;return t!==null?t:zt.pooledCache}function Wi(t,e){e===null?Z(ua,ua.current):Z(ua,e.pool)}function gf(){var t=ks();return t===null?null:{parent:Gt._currentValue,pool:t}}var Za=Error(o(460)),Ws=Error(o(474)),Ii=Error(o(542)),$i={then:function(){}};function Sf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function bf(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(Ie,Ie),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rf(t),t;default:if(typeof e.status=="string")e.then(Ie,Ie);else{if(t=zt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=a}},function(a){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rf(t),t}throw ca=e,Za}}function sa(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ca=n,Za):n}}var ca=null;function _f(){if(ca===null)throw Error(o(459));var t=ca;return ca=null,t}function Rf(t){if(t===Za||t===Ii)throw Error(o(483))}var Ja=null,jl=0;function tu(t){var e=jl;return jl+=1,Ja===null&&(Ja=[]),bf(Ja,t,e)}function Hl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function eu(t,e){throw e.$$typeof===b?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Ef(t){function e(C,T){if(t){var A=C.deletions;A===null?(C.deletions=[T],C.flags|=16):A.push(T)}}function n(C,T){if(!t)return null;for(;T!==null;)e(C,T),T=T.sibling;return null}function a(C){for(var T=new Map;C!==null;)C.key!==null?T.set(C.key,C):T.set(C.index,C),C=C.sibling;return T}function u(C,T){return C=tn(C,T),C.index=0,C.sibling=null,C}function c(C,T,A){return C.index=A,t?(A=C.alternate,A!==null?(A=A.index,A<T?(C.flags|=67108866,T):A):(C.flags|=67108866,T)):(C.flags|=1048576,T)}function f(C){return t&&C.alternate===null&&(C.flags|=67108866),C}function v(C,T,A,B){return T===null||T.tag!==6?(T=qs(A,C.mode,B),T.return=C,T):(T=u(T,A),T.return=C,T)}function R(C,T,A,B){var nt=A.type;return nt===O?N(C,T,A.props.children,B,A.key):T!==null&&(T.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===V&&sa(nt)===T.type)?(T=u(T,A.props),Hl(T,A),T.return=C,T):(T=Ji(A.type,A.key,A.props,null,C.mode,B),Hl(T,A),T.return=C,T)}function x(C,T,A,B){return T===null||T.tag!==4||T.stateNode.containerInfo!==A.containerInfo||T.stateNode.implementation!==A.implementation?(T=Qs(A,C.mode,B),T.return=C,T):(T=u(T,A.children||[]),T.return=C,T)}function N(C,T,A,B,nt){return T===null||T.tag!==7?(T=na(A,C.mode,B,nt),T.return=C,T):(T=u(T,A),T.return=C,T)}function H(C,T,A){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=qs(""+T,C.mode,A),T.return=C,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case _:return A=Ji(T.type,T.key,T.props,null,C.mode,A),Hl(A,T),A.return=C,A;case E:return T=Qs(T,C.mode,A),T.return=C,T;case V:return T=sa(T),H(C,T,A)}if(Mt(T)||ut(T))return T=na(T,C.mode,A,null),T.return=C,T;if(typeof T.then=="function")return H(C,tu(T),A);if(T.$$typeof===G)return H(C,ki(C,T),A);eu(C,T)}return null}function z(C,T,A,B){var nt=T!==null?T.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return nt!==null?null:v(C,T,""+A,B);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case _:return A.key===nt?R(C,T,A,B):null;case E:return A.key===nt?x(C,T,A,B):null;case V:return A=sa(A),z(C,T,A,B)}if(Mt(A)||ut(A))return nt!==null?null:N(C,T,A,B,null);if(typeof A.then=="function")return z(C,T,tu(A),B);if(A.$$typeof===G)return z(C,T,ki(C,A),B);eu(C,A)}return null}function U(C,T,A,B,nt){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return C=C.get(A)||null,v(T,C,""+B,nt);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case _:return C=C.get(B.key===null?A:B.key)||null,R(T,C,B,nt);case E:return C=C.get(B.key===null?A:B.key)||null,x(T,C,B,nt);case V:return B=sa(B),U(C,T,A,B,nt)}if(Mt(B)||ut(B))return C=C.get(A)||null,N(T,C,B,nt,null);if(typeof B.then=="function")return U(C,T,A,tu(B),nt);if(B.$$typeof===G)return U(C,T,A,ki(T,B),nt);eu(T,B)}return null}function k(C,T,A,B){for(var nt=null,gt=null,I=T,ot=T=0,yt=null;I!==null&&ot<A.length;ot++){I.index>ot?(yt=I,I=null):yt=I.sibling;var St=z(C,I,A[ot],B);if(St===null){I===null&&(I=yt);break}t&&I&&St.alternate===null&&e(C,I),T=c(St,T,ot),gt===null?nt=St:gt.sibling=St,gt=St,I=yt}if(ot===A.length)return n(C,I),vt&&en(C,ot),nt;if(I===null){for(;ot<A.length;ot++)I=H(C,A[ot],B),I!==null&&(T=c(I,T,ot),gt===null?nt=I:gt.sibling=I,gt=I);return vt&&en(C,ot),nt}for(I=a(I);ot<A.length;ot++)yt=U(I,C,ot,A[ot],B),yt!==null&&(t&&yt.alternate!==null&&I.delete(yt.key===null?ot:yt.key),T=c(yt,T,ot),gt===null?nt=yt:gt.sibling=yt,gt=yt);return t&&I.forEach(function(Gn){return e(C,Gn)}),vt&&en(C,ot),nt}function it(C,T,A,B){if(A==null)throw Error(o(151));for(var nt=null,gt=null,I=T,ot=T=0,yt=null,St=A.next();I!==null&&!St.done;ot++,St=A.next()){I.index>ot?(yt=I,I=null):yt=I.sibling;var Gn=z(C,I,St.value,B);if(Gn===null){I===null&&(I=yt);break}t&&I&&Gn.alternate===null&&e(C,I),T=c(Gn,T,ot),gt===null?nt=Gn:gt.sibling=Gn,gt=Gn,I=yt}if(St.done)return n(C,I),vt&&en(C,ot),nt;if(I===null){for(;!St.done;ot++,St=A.next())St=H(C,St.value,B),St!==null&&(T=c(St,T,ot),gt===null?nt=St:gt.sibling=St,gt=St);return vt&&en(C,ot),nt}for(I=a(I);!St.done;ot++,St=A.next())St=U(I,C,ot,St.value,B),St!==null&&(t&&St.alternate!==null&&I.delete(St.key===null?ot:St.key),T=c(St,T,ot),gt===null?nt=St:gt.sibling=St,gt=St);return t&&I.forEach(function(ig){return e(C,ig)}),vt&&en(C,ot),nt}function At(C,T,A,B){if(typeof A=="object"&&A!==null&&A.type===O&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case _:t:{for(var nt=A.key;T!==null;){if(T.key===nt){if(nt=A.type,nt===O){if(T.tag===7){n(C,T.sibling),B=u(T,A.props.children),B.return=C,C=B;break t}}else if(T.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===V&&sa(nt)===T.type){n(C,T.sibling),B=u(T,A.props),Hl(B,A),B.return=C,C=B;break t}n(C,T);break}else e(C,T);T=T.sibling}A.type===O?(B=na(A.props.children,C.mode,B,A.key),B.return=C,C=B):(B=Ji(A.type,A.key,A.props,null,C.mode,B),Hl(B,A),B.return=C,C=B)}return f(C);case E:t:{for(nt=A.key;T!==null;){if(T.key===nt)if(T.tag===4&&T.stateNode.containerInfo===A.containerInfo&&T.stateNode.implementation===A.implementation){n(C,T.sibling),B=u(T,A.children||[]),B.return=C,C=B;break t}else{n(C,T);break}else e(C,T);T=T.sibling}B=Qs(A,C.mode,B),B.return=C,C=B}return f(C);case V:return A=sa(A),At(C,T,A,B)}if(Mt(A))return k(C,T,A,B);if(ut(A)){if(nt=ut(A),typeof nt!="function")throw Error(o(150));return A=nt.call(A),it(C,T,A,B)}if(typeof A.then=="function")return At(C,T,tu(A),B);if(A.$$typeof===G)return At(C,T,ki(C,A),B);eu(C,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,T!==null&&T.tag===6?(n(C,T.sibling),B=u(T,A),B.return=C,C=B):(n(C,T),B=qs(A,C.mode,B),B.return=C,C=B),f(C)):n(C,T)}return function(C,T,A,B){try{jl=0;var nt=At(C,T,A,B);return Ja=null,nt}catch(I){if(I===Za||I===Ii)throw I;var gt=ge(29,I,null,C.mode);return gt.lanes=B,gt.return=C,gt}}}var oa=Ef(!0),Tf=Ef(!1),Mn=!1;function Is(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $s(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function On(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Cn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(_t&2)!==0){var u=a.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),a.pending=e,e=Zi(t),sf(t,null,n),e}return Ki(t,a,e,n),Zi(t)}function ql(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,mr(t,n)}}function tc(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var u=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?u=c=f:c=c.next=f,n=n.next}while(n!==null);c===null?u=c=e:c=c.next=e}else u=c=e;n={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var ec=!1;function Ql(){if(ec){var t=Ka;if(t!==null)throw t}}function Yl(t,e,n,a){ec=!1;var u=t.updateQueue;Mn=!1;var c=u.firstBaseUpdate,f=u.lastBaseUpdate,v=u.shared.pending;if(v!==null){u.shared.pending=null;var R=v,x=R.next;R.next=null,f===null?c=x:f.next=x,f=R;var N=t.alternate;N!==null&&(N=N.updateQueue,v=N.lastBaseUpdate,v!==f&&(v===null?N.firstBaseUpdate=x:v.next=x,N.lastBaseUpdate=R))}if(c!==null){var H=u.baseState;f=0,N=x=R=null,v=c;do{var z=v.lane&-536870913,U=z!==v.lane;if(U?(mt&z)===z:(a&z)===z){z!==0&&z===Va&&(ec=!0),N!==null&&(N=N.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var k=t,it=v;z=e;var At=n;switch(it.tag){case 1:if(k=it.payload,typeof k=="function"){H=k.call(At,H,z);break t}H=k;break t;case 3:k.flags=k.flags&-65537|128;case 0:if(k=it.payload,z=typeof k=="function"?k.call(At,H,z):k,z==null)break t;H=g({},H,z);break t;case 2:Mn=!0}}z=v.callback,z!==null&&(t.flags|=64,U&&(t.flags|=8192),U=u.callbacks,U===null?u.callbacks=[z]:U.push(z))}else U={lane:z,tag:v.tag,payload:v.payload,callback:v.callback,next:null},N===null?(x=N=U,R=H):N=N.next=U,f|=z;if(v=v.next,v===null){if(v=u.shared.pending,v===null)break;U=v,v=U.next,U.next=null,u.lastBaseUpdate=U,u.shared.pending=null}}while(!0);N===null&&(R=H),u.baseState=R,u.firstBaseUpdate=x,u.lastBaseUpdate=N,c===null&&(u.shared.lanes=0),Un|=f,t.lanes=f,t.memoizedState=H}}function Mf(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Of(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Mf(n[t],e)}var Pa=M(null),nu=M(0);function Cf(t,e){t=dn,Z(nu,t),Z(Pa,e),dn=t|e.baseLanes}function nc(){Z(nu,dn),Z(Pa,Pa.current)}function ac(){dn=nu.current,j(Pa),j(nu)}var Se=M(null),Le=null;function An(t){var e=t.alternate;Z(Qt,Qt.current&1),Z(Se,t),Le===null&&(e===null||Pa.current!==null||e.memoizedState!==null)&&(Le=t)}function lc(t){Z(Qt,Qt.current),Z(Se,t),Le===null&&(Le=t)}function Af(t){t.tag===22?(Z(Qt,Qt.current),Z(Se,t),Le===null&&(Le=t)):xn()}function xn(){Z(Qt,Qt.current),Z(Se,Se.current)}function be(t){j(Se),Le===t&&(Le=null),j(Qt)}var Qt=M(0);function au(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ro(n)||fo(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ln=0,ct=null,Ot=null,Xt=null,lu=!1,Fa=!1,ra=!1,iu=0,Gl=0,ka=null,Fv=0;function jt(){throw Error(o(321))}function ic(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!pe(t[n],e[n]))return!1;return!0}function uc(t,e,n,a,u,c){return ln=c,ct=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,w.H=t===null||t.memoizedState===null?fh:_c,ra=!1,c=n(a,u),ra=!1,Fa&&(c=zf(e,n,a,u)),xf(t),c}function xf(t){w.H=Kl;var e=Ot!==null&&Ot.next!==null;if(ln=0,Xt=Ot=ct=null,lu=!1,Gl=0,ka=null,e)throw Error(o(300));t===null||Vt||(t=t.dependencies,t!==null&&Fi(t)&&(Vt=!0))}function zf(t,e,n,a){ct=t;var u=0;do{if(Fa&&(ka=null),Gl=0,Fa=!1,25<=u)throw Error(o(301));if(u+=1,Xt=Ot=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}w.H=hh,c=e(n,a)}while(Fa);return c}function kv(){var t=w.H,e=t.useState()[0];return e=typeof e.then=="function"?Xl(e):e,t=t.useState()[0],(Ot!==null?Ot.memoizedState:null)!==t&&(ct.flags|=1024),e}function sc(){var t=iu!==0;return iu=0,t}function cc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function oc(t){if(lu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}lu=!1}ln=0,Xt=Ot=ct=null,Fa=!1,Gl=iu=0,ka=null}function ie(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?ct.memoizedState=Xt=t:Xt=Xt.next=t,Xt}function Yt(){if(Ot===null){var t=ct.alternate;t=t!==null?t.memoizedState:null}else t=Ot.next;var e=Xt===null?ct.memoizedState:Xt.next;if(e!==null)Xt=e,Ot=t;else{if(t===null)throw ct.alternate===null?Error(o(467)):Error(o(310));Ot=t,t={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},Xt===null?ct.memoizedState=Xt=t:Xt=Xt.next=t}return Xt}function uu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(t){var e=Gl;return Gl+=1,ka===null&&(ka=[]),t=bf(ka,t,e),e=ct,(Xt===null?e.memoizedState:Xt.next)===null&&(e=e.alternate,w.H=e===null||e.memoizedState===null?fh:_c),t}function su(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Xl(t);if(t.$$typeof===G)return $t(t)}throw Error(o(438,String(t)))}function rc(t){var e=null,n=ct.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=ct.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=uu(),ct.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),a=0;a<t;a++)n[a]=et;return e.index++,n}function un(t,e){return typeof e=="function"?e(t):e}function cu(t){var e=Yt();return fc(e,Ot,t)}function fc(t,e,n){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var u=t.baseQueue,c=a.pending;if(c!==null){if(u!==null){var f=u.next;u.next=c.next,c.next=f}e.baseQueue=u=c,a.pending=null}if(c=t.baseState,u===null)t.memoizedState=c;else{e=u.next;var v=f=null,R=null,x=e,N=!1;do{var H=x.lane&-536870913;if(H!==x.lane?(mt&H)===H:(ln&H)===H){var z=x.revertLane;if(z===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),H===Va&&(N=!0);else if((ln&z)===z){x=x.next,z===Va&&(N=!0);continue}else H={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},R===null?(v=R=H,f=c):R=R.next=H,ct.lanes|=z,Un|=z;H=x.action,ra&&n(c,H),c=x.hasEagerState?x.eagerState:n(c,H)}else z={lane:H,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},R===null?(v=R=z,f=c):R=R.next=z,ct.lanes|=H,Un|=H;x=x.next}while(x!==null&&x!==e);if(R===null?f=c:R.next=v,!pe(c,t.memoizedState)&&(Vt=!0,N&&(n=Ka,n!==null)))throw n;t.memoizedState=c,t.baseState=f,t.baseQueue=R,a.lastRenderedState=c}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function hc(t){var e=Yt(),n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=t;var a=n.dispatch,u=n.pending,c=e.memoizedState;if(u!==null){n.pending=null;var f=u=u.next;do c=t(c,f.action),f=f.next;while(f!==u);pe(c,e.memoizedState)||(Vt=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),n.lastRenderedState=c}return[c,a]}function Df(t,e,n){var a=ct,u=Yt(),c=vt;if(c){if(n===void 0)throw Error(o(407));n=n()}else n=e();var f=!pe((Ot||u).memoizedState,n);if(f&&(u.memoizedState=n,Vt=!0),u=u.queue,yc(wf.bind(null,a,u,t),[t]),u.getSnapshot!==e||f||Xt!==null&&Xt.memoizedState.tag&1){if(a.flags|=2048,Wa(9,{destroy:void 0},Lf.bind(null,a,u,n,e),null),zt===null)throw Error(o(349));c||(ln&127)!==0||Uf(a,e,n)}return n}function Uf(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ct.updateQueue,e===null?(e=uu(),ct.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Lf(t,e,n,a){e.value=n,e.getSnapshot=a,Nf(e)&&Bf(t)}function wf(t,e,n){return n(function(){Nf(e)&&Bf(t)})}function Nf(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!pe(t,n)}catch{return!0}}function Bf(t){var e=ea(t,2);e!==null&&de(e,t,2)}function dc(t){var e=ie();if(typeof t=="function"){var n=t;if(t=n(),ra){gn(!0);try{n()}finally{gn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:t},e}function jf(t,e,n,a){return t.baseState=n,fc(t,Ot,typeof a=="function"?a:un)}function Wv(t,e,n,a,u){if(fu(t))throw Error(o(485));if(t=e.action,t!==null){var c={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){c.listeners.push(f)}};w.T!==null?n(!0):c.isTransition=!1,a(c),n=e.pending,n===null?(c.next=e.pending=c,Hf(e,c)):(c.next=n.next,e.pending=n.next=c)}}function Hf(t,e){var n=e.action,a=e.payload,u=t.state;if(e.isTransition){var c=w.T,f={};w.T=f;try{var v=n(u,a),R=w.S;R!==null&&R(f,v),qf(t,e,v)}catch(x){mc(t,e,x)}finally{c!==null&&f.types!==null&&(c.types=f.types),w.T=c}}else try{c=n(u,a),qf(t,e,c)}catch(x){mc(t,e,x)}}function qf(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Qf(t,e,a)},function(a){return mc(t,e,a)}):Qf(t,e,n)}function Qf(t,e,n){e.status="fulfilled",e.value=n,Yf(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Hf(t,n)))}function mc(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,Yf(e),e=e.next;while(e!==a)}t.action=null}function Yf(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Gf(t,e){return e}function Xf(t,e){if(vt){var n=zt.formState;if(n!==null){t:{var a=ct;if(vt){if(Ut){e:{for(var u=Ut,c=Ue;u.nodeType!==8;){if(!c){u=null;break e}if(u=we(u.nextSibling),u===null){u=null;break e}}c=u.data,u=c==="F!"||c==="F"?u:null}if(u){Ut=we(u.nextSibling),a=u.data==="F!";break t}}En(a)}a=!1}a&&(e=n[0])}}return n=ie(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gf,lastRenderedState:e},n.queue=a,n=ch.bind(null,ct,a),a.dispatch=n,a=dc(!1),c=bc.bind(null,ct,!1,a.queue),a=ie(),u={state:e,dispatch:null,action:t,pending:null},a.queue=u,n=Wv.bind(null,ct,u,c,n),u.dispatch=n,a.memoizedState=t,[e,n,!1]}function Vf(t){var e=Yt();return Kf(e,Ot,t)}function Kf(t,e,n){if(e=fc(t,e,Gf)[0],t=cu(un)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Xl(e)}catch(f){throw f===Za?Ii:f}else a=e;e=Yt();var u=e.queue,c=u.dispatch;return n!==e.memoizedState&&(ct.flags|=2048,Wa(9,{destroy:void 0},Iv.bind(null,u,n),null)),[a,c,t]}function Iv(t,e){t.action=e}function Zf(t){var e=Yt(),n=Ot;if(n!==null)return Kf(e,n,t);Yt(),e=e.memoizedState,n=Yt();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function Wa(t,e,n,a){return t={tag:t,create:n,deps:a,inst:e,next:null},e=ct.updateQueue,e===null&&(e=uu(),ct.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(a=n.next,n.next=t,t.next=a,e.lastEffect=t),t}function Jf(){return Yt().memoizedState}function ou(t,e,n,a){var u=ie();ct.flags|=t,u.memoizedState=Wa(1|e,{destroy:void 0},n,a===void 0?null:a)}function ru(t,e,n,a){var u=Yt();a=a===void 0?null:a;var c=u.memoizedState.inst;Ot!==null&&a!==null&&ic(a,Ot.memoizedState.deps)?u.memoizedState=Wa(e,c,n,a):(ct.flags|=t,u.memoizedState=Wa(1|e,c,n,a))}function Pf(t,e){ou(8390656,8,t,e)}function yc(t,e){ru(2048,8,t,e)}function $v(t){ct.flags|=4;var e=ct.updateQueue;if(e===null)e=uu(),ct.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Ff(t){var e=Yt().memoizedState;return $v({ref:e,nextImpl:t}),function(){if((_t&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function kf(t,e){return ru(4,2,t,e)}function Wf(t,e){return ru(4,4,t,e)}function If(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function $f(t,e,n){n=n!=null?n.concat([t]):null,ru(4,4,If.bind(null,e,t),n)}function vc(){}function th(t,e){var n=Yt();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&ic(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function eh(t,e){var n=Yt();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&ic(e,a[1]))return a[0];if(a=t(),ra){gn(!0);try{t()}finally{gn(!1)}}return n.memoizedState=[a,e],a}function pc(t,e,n){return n===void 0||(ln&1073741824)!==0&&(mt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=nd(),ct.lanes|=t,Un|=t,n)}function nh(t,e,n,a){return pe(n,e)?n:Pa.current!==null?(t=pc(t,n,a),pe(t,e)||(Vt=!0),t):(ln&42)===0||(ln&1073741824)!==0&&(mt&261930)===0?(Vt=!0,t.memoizedState=n):(t=nd(),ct.lanes|=t,Un|=t,e)}function ah(t,e,n,a,u){var c=X.p;X.p=c!==0&&8>c?c:8;var f=w.T,v={};w.T=v,bc(t,!1,e,n);try{var R=u(),x=w.S;if(x!==null&&x(v,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var N=Pv(R,a);Vl(t,e,N,Ee(t))}else Vl(t,e,a,Ee(t))}catch(H){Vl(t,e,{then:function(){},status:"rejected",reason:H},Ee())}finally{X.p=c,f!==null&&v.types!==null&&(f.types=v.types),w.T=f}}function tp(){}function gc(t,e,n,a){if(t.tag!==5)throw Error(o(476));var u=lh(t).queue;ah(t,u,e,at,n===null?tp:function(){return ih(t),n(a)})}function lh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:at,baseState:at,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:at},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ih(t){var e=lh(t);e.next===null&&(e=t.alternate.memoizedState),Vl(t,e.next.queue,{},Ee())}function Sc(){return $t(si)}function uh(){return Yt().memoizedState}function sh(){return Yt().memoizedState}function ep(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ee();t=On(n);var a=Cn(e,t,n);a!==null&&(de(a,e,n),ql(a,e,n)),e={cache:Ps()},t.payload=e;return}e=e.return}}function np(t,e,n){var a=Ee();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},fu(t)?oh(e,n):(n=js(t,e,n,a),n!==null&&(de(n,t,a),rh(n,e,a)))}function ch(t,e,n){var a=Ee();Vl(t,e,n,a)}function Vl(t,e,n,a){var u={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(fu(t))oh(e,u);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var f=e.lastRenderedState,v=c(f,n);if(u.hasEagerState=!0,u.eagerState=v,pe(v,f))return Ki(t,e,u,0),zt===null&&Vi(),!1}catch{}if(n=js(t,e,u,a),n!==null)return de(n,t,a),rh(n,e,a),!0}return!1}function bc(t,e,n,a){if(a={lane:2,revertLane:Ic(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},fu(t)){if(e)throw Error(o(479))}else e=js(t,n,a,2),e!==null&&de(e,t,2)}function fu(t){var e=t.alternate;return t===ct||e!==null&&e===ct}function oh(t,e){Fa=lu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function rh(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,mr(t,n)}}var Kl={readContext:$t,use:su,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Kl.useEffectEvent=jt;var fh={readContext:$t,use:su,useCallback:function(t,e){return ie().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:Pf,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,ou(4194308,4,If.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ou(4194308,4,t,e)},useInsertionEffect:function(t,e){ou(4,2,t,e)},useMemo:function(t,e){var n=ie();e=e===void 0?null:e;var a=t();if(ra){gn(!0);try{t()}finally{gn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=ie();if(n!==void 0){var u=n(e);if(ra){gn(!0);try{n(e)}finally{gn(!1)}}}else u=e;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=np.bind(null,ct,t),[a.memoizedState,t]},useRef:function(t){var e=ie();return t={current:t},e.memoizedState=t},useState:function(t){t=dc(t);var e=t.queue,n=ch.bind(null,ct,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:vc,useDeferredValue:function(t,e){var n=ie();return pc(n,t,e)},useTransition:function(){var t=dc(!1);return t=ah.bind(null,ct,t.queue,!0,!1),ie().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=ct,u=ie();if(vt){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),zt===null)throw Error(o(349));(mt&127)!==0||Uf(a,e,n)}u.memoizedState=n;var c={value:n,getSnapshot:e};return u.queue=c,Pf(wf.bind(null,a,c,t),[t]),a.flags|=2048,Wa(9,{destroy:void 0},Lf.bind(null,a,c,n,e),null),n},useId:function(){var t=ie(),e=zt.identifierPrefix;if(vt){var n=Ve,a=Xe;n=(a&~(1<<32-ve(a)-1)).toString(32)+n,e="_"+e+"R_"+n,n=iu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Fv++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Sc,useFormState:Xf,useActionState:Xf,useOptimistic:function(t){var e=ie();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=bc.bind(null,ct,!0,n),n.dispatch=e,[t,e]},useMemoCache:rc,useCacheRefresh:function(){return ie().memoizedState=ep.bind(null,ct)},useEffectEvent:function(t){var e=ie(),n={impl:t};return e.memoizedState=n,function(){if((_t&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},_c={readContext:$t,use:su,useCallback:th,useContext:$t,useEffect:yc,useImperativeHandle:$f,useInsertionEffect:kf,useLayoutEffect:Wf,useMemo:eh,useReducer:cu,useRef:Jf,useState:function(){return cu(un)},useDebugValue:vc,useDeferredValue:function(t,e){var n=Yt();return nh(n,Ot.memoizedState,t,e)},useTransition:function(){var t=cu(un)[0],e=Yt().memoizedState;return[typeof t=="boolean"?t:Xl(t),e]},useSyncExternalStore:Df,useId:uh,useHostTransitionStatus:Sc,useFormState:Vf,useActionState:Vf,useOptimistic:function(t,e){var n=Yt();return jf(n,Ot,t,e)},useMemoCache:rc,useCacheRefresh:sh};_c.useEffectEvent=Ff;var hh={readContext:$t,use:su,useCallback:th,useContext:$t,useEffect:yc,useImperativeHandle:$f,useInsertionEffect:kf,useLayoutEffect:Wf,useMemo:eh,useReducer:hc,useRef:Jf,useState:function(){return hc(un)},useDebugValue:vc,useDeferredValue:function(t,e){var n=Yt();return Ot===null?pc(n,t,e):nh(n,Ot.memoizedState,t,e)},useTransition:function(){var t=hc(un)[0],e=Yt().memoizedState;return[typeof t=="boolean"?t:Xl(t),e]},useSyncExternalStore:Df,useId:uh,useHostTransitionStatus:Sc,useFormState:Zf,useActionState:Zf,useOptimistic:function(t,e){var n=Yt();return Ot!==null?jf(n,Ot,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:rc,useCacheRefresh:sh};hh.useEffectEvent=Ff;function Rc(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:g({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Ec={enqueueSetState:function(t,e,n){t=t._reactInternals;var a=Ee(),u=On(a);u.payload=e,n!=null&&(u.callback=n),e=Cn(t,u,a),e!==null&&(de(e,t,a),ql(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=Ee(),u=On(a);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Cn(t,u,a),e!==null&&(de(e,t,a),ql(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Ee(),a=On(n);a.tag=2,e!=null&&(a.callback=e),e=Cn(t,a,n),e!==null&&(de(e,t,n),ql(e,t,n))}};function dh(t,e,n,a,u,c,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,c,f):e.prototype&&e.prototype.isPureReactComponent?!Dl(n,a)||!Dl(u,c):!0}function mh(t,e,n,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,a),e.state!==t&&Ec.enqueueReplaceState(e,e.state,null)}function fa(t,e){var n=e;if("ref"in e){n={};for(var a in e)a!=="ref"&&(n[a]=e[a])}if(t=t.defaultProps){n===e&&(n=g({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function yh(t){Xi(t)}function vh(t){console.error(t)}function ph(t){Xi(t)}function hu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function gh(t,e,n){try{var a=t.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Tc(t,e,n){return n=On(n),n.tag=3,n.payload={element:null},n.callback=function(){hu(t,e)},n}function Sh(t){return t=On(t),t.tag=3,t}function bh(t,e,n,a){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var c=a.value;t.payload=function(){return u(c)},t.callback=function(){gh(e,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){gh(e,n,a),typeof u!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var v=a.stack;this.componentDidCatch(a.value,{componentStack:v!==null?v:""})})}function ap(t,e,n,a,u){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&Xa(e,n,u,!0),n=Se.current,n!==null){switch(n.tag){case 31:case 13:return Le===null?Tu():n.alternate===null&&Ht===0&&(Ht=3),n.flags&=-257,n.flags|=65536,n.lanes=u,a===$i?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),Fc(t,a,u)),!1;case 22:return n.flags|=65536,a===$i?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([a]):n.add(a)),Fc(t,a,u)),!1}throw Error(o(435,n.tag))}return Fc(t,a,u),Tu(),!1}if(vt)return e=Se.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,a!==Xs&&(t=Error(o(422),{cause:a}),wl(xe(t,n)))):(a!==Xs&&(e=Error(o(423),{cause:a}),wl(xe(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=xe(a,n),u=Tc(t.stateNode,a,u),tc(t,u),Ht!==4&&(Ht=2)),!1;var c=Error(o(520),{cause:a});if(c=xe(c,n),$l===null?$l=[c]:$l.push(c),Ht!==4&&(Ht=2),e===null)return!0;a=xe(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=Tc(n.stateNode,a,t),tc(n,t),!1;case 1:if(e=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Ln===null||!Ln.has(c))))return n.flags|=65536,u&=-u,n.lanes|=u,u=Sh(u),bh(u,t,n,a),tc(n,u),!1}n=n.return}while(n!==null);return!1}var Mc=Error(o(461)),Vt=!1;function te(t,e,n,a){e.child=t===null?Tf(e,null,n,a):oa(e,t.child,n,a)}function _h(t,e,n,a,u){n=n.render;var c=e.ref;if("ref"in a){var f={};for(var v in a)v!=="ref"&&(f[v]=a[v])}else f=a;return ia(e),a=uc(t,e,n,f,c,u),v=sc(),t!==null&&!Vt?(cc(t,e,u),sn(t,e,u)):(vt&&v&&Ys(e),e.flags|=1,te(t,e,a,u),e.child)}function Rh(t,e,n,a,u){if(t===null){var c=n.type;return typeof c=="function"&&!Hs(c)&&c.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=c,Eh(t,e,c,a,u)):(t=Ji(n.type,null,a,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Lc(t,u)){var f=c.memoizedProps;if(n=n.compare,n=n!==null?n:Dl,n(f,a)&&t.ref===e.ref)return sn(t,e,u)}return e.flags|=1,t=tn(c,a),t.ref=e.ref,t.return=e,e.child=t}function Eh(t,e,n,a,u){if(t!==null){var c=t.memoizedProps;if(Dl(c,a)&&t.ref===e.ref)if(Vt=!1,e.pendingProps=a=c,Lc(t,u))(t.flags&131072)!==0&&(Vt=!0);else return e.lanes=t.lanes,sn(t,e,u)}return Oc(t,e,n,a,u)}function Th(t,e,n,a){var u=a.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,t!==null){for(a=e.child=t.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~c}else a=0,e.child=null;return Mh(t,e,c,n,a)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Wi(e,c!==null?c.cachePool:null),c!==null?Cf(e,c):nc(),Af(e);else return a=e.lanes=536870912,Mh(t,e,c!==null?c.baseLanes|n:n,n,a)}else c!==null?(Wi(e,c.cachePool),Cf(e,c),xn(),e.memoizedState=null):(t!==null&&Wi(e,null),nc(),xn());return te(t,e,u,n),e.child}function Zl(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Mh(t,e,n,a,u){var c=ks();return c=c===null?null:{parent:Gt._currentValue,pool:c},e.memoizedState={baseLanes:n,cachePool:c},t!==null&&Wi(e,null),nc(),Af(e),t!==null&&Xa(t,e,a,!0),e.childLanes=u,null}function du(t,e){return e=yu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Oh(t,e,n){return oa(e,t.child,null,n),t=du(e,e.pendingProps),t.flags|=2,be(e),e.memoizedState=null,t}function lp(t,e,n){var a=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(vt){if(a.mode==="hidden")return t=du(e,a),e.lanes=536870912,Zl(null,t);if(lc(e),(t=Ut)?(t=Hd(t,Ue),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:_n!==null?{id:Xe,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},n=of(t),n.return=e,e.child=n,It=e,Ut=null)):t=null,t===null)throw En(e);return e.lanes=536870912,null}return du(e,a)}var c=t.memoizedState;if(c!==null){var f=c.dehydrated;if(lc(e),u)if(e.flags&256)e.flags&=-257,e=Oh(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(Vt||Xa(t,e,n,!1),u=(n&t.childLanes)!==0,Vt||u){if(a=zt,a!==null&&(f=yr(a,n),f!==0&&f!==c.retryLane))throw c.retryLane=f,ea(t,f),de(a,t,f),Mc;Tu(),e=Oh(t,e,n)}else t=c.treeContext,Ut=we(f.nextSibling),It=e,vt=!0,Rn=null,Ue=!1,t!==null&&hf(e,t),e=du(e,a),e.flags|=4096;return e}return t=tn(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function mu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Oc(t,e,n,a,u){return ia(e),n=uc(t,e,n,a,void 0,u),a=sc(),t!==null&&!Vt?(cc(t,e,u),sn(t,e,u)):(vt&&a&&Ys(e),e.flags|=1,te(t,e,n,u),e.child)}function Ch(t,e,n,a,u,c){return ia(e),e.updateQueue=null,n=zf(e,a,n,u),xf(t),a=sc(),t!==null&&!Vt?(cc(t,e,c),sn(t,e,c)):(vt&&a&&Ys(e),e.flags|=1,te(t,e,n,c),e.child)}function Ah(t,e,n,a,u){if(ia(e),e.stateNode===null){var c=qa,f=n.contextType;typeof f=="object"&&f!==null&&(c=$t(f)),c=new n(a,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Ec,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=a,c.state=e.memoizedState,c.refs={},Is(e),f=n.contextType,c.context=typeof f=="object"&&f!==null?$t(f):qa,c.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Rc(e,n,f,a),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(f=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),f!==c.state&&Ec.enqueueReplaceState(c,c.state,null),Yl(e,a,c,u),Ql(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){c=e.stateNode;var v=e.memoizedProps,R=fa(n,v);c.props=R;var x=c.context,N=n.contextType;f=qa,typeof N=="object"&&N!==null&&(f=$t(N));var H=n.getDerivedStateFromProps;N=typeof H=="function"||typeof c.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,N||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(v||x!==f)&&mh(e,c,a,f),Mn=!1;var z=e.memoizedState;c.state=z,Yl(e,a,c,u),Ql(),x=e.memoizedState,v||z!==x||Mn?(typeof H=="function"&&(Rc(e,n,H,a),x=e.memoizedState),(R=Mn||dh(e,n,R,a,z,x,f))?(N||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=x),c.props=a,c.state=x,c.context=f,a=R):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{c=e.stateNode,$s(t,e),f=e.memoizedProps,N=fa(n,f),c.props=N,H=e.pendingProps,z=c.context,x=n.contextType,R=qa,typeof x=="object"&&x!==null&&(R=$t(x)),v=n.getDerivedStateFromProps,(x=typeof v=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==H||z!==R)&&mh(e,c,a,R),Mn=!1,z=e.memoizedState,c.state=z,Yl(e,a,c,u),Ql();var U=e.memoizedState;f!==H||z!==U||Mn||t!==null&&t.dependencies!==null&&Fi(t.dependencies)?(typeof v=="function"&&(Rc(e,n,v,a),U=e.memoizedState),(N=Mn||dh(e,n,N,a,z,U,R)||t!==null&&t.dependencies!==null&&Fi(t.dependencies))?(x||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(a,U,R),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(a,U,R)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=U),c.props=a,c.state=U,c.context=R,a=N):(typeof c.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),a=!1)}return c=a,mu(t,e),a=(e.flags&128)!==0,c||a?(c=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&a?(e.child=oa(e,t.child,null,u),e.child=oa(e,null,n,u)):te(t,e,n,u),e.memoizedState=c.state,t=e.child):t=sn(t,e,u),t}function xh(t,e,n,a){return aa(),e.flags|=256,te(t,e,n,a),e.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(t){return{baseLanes:t,cachePool:gf()}}function xc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Re),t}function zh(t,e,n){var a=e.pendingProps,u=!1,c=(e.flags&128)!==0,f;if((f=c)||(f=t!==null&&t.memoizedState===null?!1:(Qt.current&2)!==0),f&&(u=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(vt){if(u?An(e):xn(),(t=Ut)?(t=Hd(t,Ue),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:_n!==null?{id:Xe,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},n=of(t),n.return=e,e.child=n,It=e,Ut=null)):t=null,t===null)throw En(e);return fo(t)?e.lanes=32:e.lanes=536870912,null}var v=a.children;return a=a.fallback,u?(xn(),u=e.mode,v=yu({mode:"hidden",children:v},u),a=na(a,u,n,null),v.return=e,a.return=e,v.sibling=a,e.child=v,a=e.child,a.memoizedState=Ac(n),a.childLanes=xc(t,f,n),e.memoizedState=Cc,Zl(null,a)):(An(e),zc(e,v))}var R=t.memoizedState;if(R!==null&&(v=R.dehydrated,v!==null)){if(c)e.flags&256?(An(e),e.flags&=-257,e=Dc(t,e,n)):e.memoizedState!==null?(xn(),e.child=t.child,e.flags|=128,e=null):(xn(),v=a.fallback,u=e.mode,a=yu({mode:"visible",children:a.children},u),v=na(v,u,n,null),v.flags|=2,a.return=e,v.return=e,a.sibling=v,e.child=a,oa(e,t.child,null,n),a=e.child,a.memoizedState=Ac(n),a.childLanes=xc(t,f,n),e.memoizedState=Cc,e=Zl(null,a));else if(An(e),fo(v)){if(f=v.nextSibling&&v.nextSibling.dataset,f)var x=f.dgst;f=x,a=Error(o(419)),a.stack="",a.digest=f,wl({value:a,source:null,stack:null}),e=Dc(t,e,n)}else if(Vt||Xa(t,e,n,!1),f=(n&t.childLanes)!==0,Vt||f){if(f=zt,f!==null&&(a=yr(f,n),a!==0&&a!==R.retryLane))throw R.retryLane=a,ea(t,a),de(f,t,a),Mc;ro(v)||Tu(),e=Dc(t,e,n)}else ro(v)?(e.flags|=192,e.child=t.child,e=null):(t=R.treeContext,Ut=we(v.nextSibling),It=e,vt=!0,Rn=null,Ue=!1,t!==null&&hf(e,t),e=zc(e,a.children),e.flags|=4096);return e}return u?(xn(),v=a.fallback,u=e.mode,R=t.child,x=R.sibling,a=tn(R,{mode:"hidden",children:a.children}),a.subtreeFlags=R.subtreeFlags&65011712,x!==null?v=tn(x,v):(v=na(v,u,n,null),v.flags|=2),v.return=e,a.return=e,a.sibling=v,e.child=a,Zl(null,a),a=e.child,v=t.child.memoizedState,v===null?v=Ac(n):(u=v.cachePool,u!==null?(R=Gt._currentValue,u=u.parent!==R?{parent:R,pool:R}:u):u=gf(),v={baseLanes:v.baseLanes|n,cachePool:u}),a.memoizedState=v,a.childLanes=xc(t,f,n),e.memoizedState=Cc,Zl(t.child,a)):(An(e),n=t.child,t=n.sibling,n=tn(n,{mode:"visible",children:a.children}),n.return=e,n.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=n,e.memoizedState=null,n)}function zc(t,e){return e=yu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function yu(t,e){return t=ge(22,t,null,e),t.lanes=0,t}function Dc(t,e,n){return oa(e,t.child,null,n),t=zc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Dh(t,e,n){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Zs(t.return,e,n)}function Uc(t,e,n,a,u,c){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:u,treeForkCount:c}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=u,f.treeForkCount=c)}function Uh(t,e,n){var a=e.pendingProps,u=a.revealOrder,c=a.tail;a=a.children;var f=Qt.current,v=(f&2)!==0;if(v?(f=f&1|2,e.flags|=128):f&=1,Z(Qt,f),te(t,e,a,n),a=vt?Ll:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Dh(t,n,e);else if(t.tag===19)Dh(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(n=e.child,u=null;n!==null;)t=n.alternate,t!==null&&au(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),Uc(e,!1,u,n,c,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&au(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}Uc(e,!0,n,null,c,a);break;case"together":Uc(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function sn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Un|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Xa(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,n=tn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=tn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Lc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Fi(t)))}function ip(t,e,n){switch(e.tag){case 3:qt(e,e.stateNode.containerInfo),Tn(e,Gt,t.memoizedState.cache),aa();break;case 27:case 5:Pe(e);break;case 4:qt(e,e.stateNode.containerInfo);break;case 10:Tn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,lc(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(An(e),e.flags|=128,null):(n&e.child.childLanes)!==0?zh(t,e,n):(An(e),t=sn(t,e,n),t!==null?t.sibling:null);An(e);break;case 19:var u=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(Xa(t,e,n,!1),a=(n&e.childLanes)!==0),u){if(a)return Uh(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Z(Qt,Qt.current),a)break;return null;case 22:return e.lanes=0,Th(t,e,n,e.pendingProps);case 24:Tn(e,Gt,t.memoizedState.cache)}return sn(t,e,n)}function Lh(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Vt=!0;else{if(!Lc(t,n)&&(e.flags&128)===0)return Vt=!1,ip(t,e,n);Vt=(t.flags&131072)!==0}else Vt=!1,vt&&(e.flags&1048576)!==0&&ff(e,Ll,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=sa(e.elementType),e.type=t,typeof t=="function")Hs(t)?(a=fa(t,a),e.tag=1,e=Ah(null,e,t,a,n)):(e.tag=0,e=Oc(null,e,t,a,n));else{if(t!=null){var u=t.$$typeof;if(u===Y){e.tag=11,e=_h(null,e,t,a,n);break t}else if(u===q){e.tag=14,e=Rh(null,e,t,a,n);break t}}throw e=Bt(t)||t,Error(o(306,e,""))}}return e;case 0:return Oc(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,u=fa(a,e.pendingProps),Ah(t,e,a,u,n);case 3:t:{if(qt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));a=e.pendingProps;var c=e.memoizedState;u=c.element,$s(t,e),Yl(e,a,null,n);var f=e.memoizedState;if(a=f.cache,Tn(e,Gt,a),a!==c.cache&&Js(e,[Gt],n,!0),Ql(),a=f.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=xh(t,e,a,n);break t}else if(a!==u){u=xe(Error(o(424)),e),wl(u),e=xh(t,e,a,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ut=we(t.firstChild),It=e,vt=!0,Rn=null,Ue=!0,n=Tf(e,null,a,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(aa(),a===u){e=sn(t,e,n);break t}te(t,e,a,n)}e=e.child}return e;case 26:return mu(t,e),t===null?(n=Vd(e.type,null,e.pendingProps,null))?e.memoizedState=n:vt||(n=e.type,t=e.pendingProps,a=Du(ft.current).createElement(n),a[Wt]=e,a[se]=t,ee(a,n,t),Pt(a),e.stateNode=a):e.memoizedState=Vd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Pe(e),t===null&&vt&&(a=e.stateNode=Yd(e.type,e.pendingProps,ft.current),It=e,Ue=!0,u=Ut,jn(e.type)?(ho=u,Ut=we(a.firstChild)):Ut=u),te(t,e,e.pendingProps.children,n),mu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&vt&&((u=a=Ut)&&(a=Np(a,e.type,e.pendingProps,Ue),a!==null?(e.stateNode=a,It=e,Ut=we(a.firstChild),Ue=!1,u=!0):u=!1),u||En(e)),Pe(e),u=e.type,c=e.pendingProps,f=t!==null?t.memoizedProps:null,a=c.children,so(u,c)?a=null:f!==null&&so(u,f)&&(e.flags|=32),e.memoizedState!==null&&(u=uc(t,e,kv,null,null,n),si._currentValue=u),mu(t,e),te(t,e,a,n),e.child;case 6:return t===null&&vt&&((t=n=Ut)&&(n=Bp(n,e.pendingProps,Ue),n!==null?(e.stateNode=n,It=e,Ut=null,t=!0):t=!1),t||En(e)),null;case 13:return zh(t,e,n);case 4:return qt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=oa(e,null,a,n):te(t,e,a,n),e.child;case 11:return _h(t,e,e.type,e.pendingProps,n);case 7:return te(t,e,e.pendingProps,n),e.child;case 8:return te(t,e,e.pendingProps.children,n),e.child;case 12:return te(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,Tn(e,e.type,a.value),te(t,e,a.children,n),e.child;case 9:return u=e.type._context,a=e.pendingProps.children,ia(e),u=$t(u),a=a(u),e.flags|=1,te(t,e,a,n),e.child;case 14:return Rh(t,e,e.type,e.pendingProps,n);case 15:return Eh(t,e,e.type,e.pendingProps,n);case 19:return Uh(t,e,n);case 31:return lp(t,e,n);case 22:return Th(t,e,n,e.pendingProps);case 24:return ia(e),a=$t(Gt),t===null?(u=ks(),u===null&&(u=zt,c=Ps(),u.pooledCache=c,c.refCount++,c!==null&&(u.pooledCacheLanes|=n),u=c),e.memoizedState={parent:a,cache:u},Is(e),Tn(e,Gt,u)):((t.lanes&n)!==0&&($s(t,e),Yl(e,null,null,n),Ql()),u=t.memoizedState,c=e.memoizedState,u.parent!==a?(u={parent:a,cache:a},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Tn(e,Gt,a)):(a=c.cache,Tn(e,Gt,a),a!==u.cache&&Js(e,[Gt],n,!0))),te(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function cn(t){t.flags|=4}function wc(t,e,n,a,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(ud())t.flags|=8192;else throw ca=$i,Ws}else t.flags&=-16777217}function wh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Fd(e))if(ud())t.flags|=8192;else throw ca=$i,Ws}function vu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?hr():536870912,t.lanes|=e,el|=e)}function Jl(t,e){if(!vt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Lt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,a=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=n,e}function up(t,e,n){var a=e.pendingProps;switch(Gs(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(e),null;case 1:return Lt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),an(Gt),xt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ga(e)?cn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Vs())),Lt(e),null;case 26:var u=e.type,c=e.memoizedState;return t===null?(cn(e),c!==null?(Lt(e),wh(e,c)):(Lt(e),wc(e,u,null,a,n))):c?c!==t.memoizedState?(cn(e),Lt(e),wh(e,c)):(Lt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&cn(e),Lt(e),wc(e,u,t,a,n)),null;case 27:if(Fe(e),n=ft.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&cn(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return Lt(e),null}t=P.current,Ga(e)?df(e):(t=Yd(u,a,n),e.stateNode=t,cn(e))}return Lt(e),null;case 5:if(Fe(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&cn(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return Lt(e),null}if(c=P.current,Ga(e))df(e);else{var f=Du(ft.current);switch(c){case 1:c=f.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:c=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":c=f.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":c=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":c=f.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?f.createElement(u,{is:a.is}):f.createElement(u)}}c[Wt]=e,c[se]=a;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)c.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=c;t:switch(ee(c,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&cn(e)}}return Lt(e),wc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&cn(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=ft.current,Ga(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,u=It,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[Wt]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||zd(t.nodeValue,n)),t||En(e,!0)}else t=Du(t).createTextNode(a),t[Wt]=e,e.stateNode=t}return Lt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(a=Ga(e),n!==null){if(t===null){if(!a)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Wt]=e}else aa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),t=!1}else n=Vs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(be(e),e):(be(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Lt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Ga(e),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Wt]=e}else aa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),u=!1}else u=Vs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(be(e),e):(be(e),null)}return be(e),(e.flags&128)!==0?(e.lanes=n,e):(n=a!==null,t=t!==null&&t.memoizedState!==null,n&&(a=e.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),vu(e,e.updateQueue),Lt(e),null);case 4:return xt(),t===null&&no(e.stateNode.containerInfo),Lt(e),null;case 10:return an(e.type),Lt(e),null;case 19:if(j(Qt),a=e.memoizedState,a===null)return Lt(e),null;if(u=(e.flags&128)!==0,c=a.rendering,c===null)if(u)Jl(a,!1);else{if(Ht!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=au(t),c!==null){for(e.flags|=128,Jl(a,!1),t=c.updateQueue,e.updateQueue=t,vu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)cf(n,t),n=n.sibling;return Z(Qt,Qt.current&1|2),vt&&en(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ne()>_u&&(e.flags|=128,u=!0,Jl(a,!1),e.lanes=4194304)}else{if(!u)if(t=au(c),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,vu(e,t),Jl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!vt)return Lt(e),null}else 2*ne()-a.renderingStartTime>_u&&n!==536870912&&(e.flags|=128,u=!0,Jl(a,!1),e.lanes=4194304);a.isBackwards?(c.sibling=e.child,e.child=c):(t=a.last,t!==null?t.sibling=c:e.child=c,a.last=c)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ne(),t.sibling=null,n=Qt.current,Z(Qt,u?n&1|2:n&1),vt&&en(e,a.treeForkCount),t):(Lt(e),null);case 22:case 23:return be(e),ac(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Lt(e),e.subtreeFlags&6&&(e.flags|=8192)):Lt(e),n=e.updateQueue,n!==null&&vu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&j(ua),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),an(Gt),Lt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function sp(t,e){switch(Gs(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return an(Gt),xt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Fe(e),null;case 31:if(e.memoizedState!==null){if(be(e),e.alternate===null)throw Error(o(340));aa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(be(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));aa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return j(Qt),null;case 4:return xt(),null;case 10:return an(e.type),null;case 22:case 23:return be(e),ac(),t!==null&&j(ua),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return an(Gt),null;case 25:return null;default:return null}}function Nh(t,e){switch(Gs(e),e.tag){case 3:an(Gt),xt();break;case 26:case 27:case 5:Fe(e);break;case 4:xt();break;case 31:e.memoizedState!==null&&be(e);break;case 13:be(e);break;case 19:j(Qt);break;case 10:an(e.type);break;case 22:case 23:be(e),ac(),t!==null&&j(ua);break;case 24:an(Gt)}}function Pl(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){a=void 0;var c=n.create,f=n.inst;a=c(),f.destroy=a}n=n.next}while(n!==u)}}catch(v){Tt(e,e.return,v)}}function zn(t,e,n){try{var a=e.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next;a=c;do{if((a.tag&t)===t){var f=a.inst,v=f.destroy;if(v!==void 0){f.destroy=void 0,u=e;var R=n,x=v;try{x()}catch(N){Tt(u,R,N)}}}a=a.next}while(a!==c)}}catch(N){Tt(e,e.return,N)}}function Bh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Of(e,n)}catch(a){Tt(t,t.return,a)}}}function jh(t,e,n){n.props=fa(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){Tt(t,e,a)}}function Fl(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof n=="function"?t.refCleanup=n(a):n.current=a}}catch(u){Tt(t,e,u)}}function Ke(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(u){Tt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Tt(t,e,u)}else n.current=null}function Hh(t){var e=t.type,n=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break t;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(u){Tt(t,t.return,u)}}function Nc(t,e,n){try{var a=t.stateNode;xp(a,t.type,n,e),a[se]=e}catch(u){Tt(t,t.return,u)}}function qh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&jn(t.type)||t.tag===4}function Bc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||qh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&jn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function jc(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Ie));else if(a!==4&&(a===27&&jn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(jc(t,e,n),t=t.sibling;t!==null;)jc(t,e,n),t=t.sibling}function pu(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(a!==4&&(a===27&&jn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(pu(t,e,n),t=t.sibling;t!==null;)pu(t,e,n),t=t.sibling}function Qh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);ee(e,a,n),e[Wt]=t,e[se]=n}catch(c){Tt(t,t.return,c)}}var on=!1,Kt=!1,Hc=!1,Yh=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function cp(t,e){if(t=t.containerInfo,io=Hu,t=Ir(t),Ds(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var u=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break t}var f=0,v=-1,R=-1,x=0,N=0,H=t,z=null;e:for(;;){for(var U;H!==n||u!==0&&H.nodeType!==3||(v=f+u),H!==c||a!==0&&H.nodeType!==3||(R=f+a),H.nodeType===3&&(f+=H.nodeValue.length),(U=H.firstChild)!==null;)z=H,H=U;for(;;){if(H===t)break e;if(z===n&&++x===u&&(v=f),z===c&&++N===a&&(R=f),(U=H.nextSibling)!==null)break;H=z,z=H.parentNode}H=U}n=v===-1||R===-1?null:{start:v,end:R}}else n=null}n=n||{start:0,end:0}}else n=null;for(uo={focusedElem:t,selectionRange:n},Hu=!1,Ft=e;Ft!==null;)if(e=Ft,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ft=t;else for(;Ft!==null;){switch(e=Ft,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)u=t[n],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,n=e,u=c.memoizedProps,c=c.memoizedState,a=n.stateNode;try{var k=fa(n.type,u);t=a.getSnapshotBeforeUpdate(k,c),a.__reactInternalSnapshotBeforeUpdate=t}catch(it){Tt(n,n.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)oo(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":oo(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,Ft=t;break}Ft=e.return}}function Gh(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:fn(t,n),a&4&&Pl(5,n);break;case 1:if(fn(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(f){Tt(n,n.return,f)}else{var u=fa(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Tt(n,n.return,f)}}a&64&&Bh(n),a&512&&Fl(n,n.return);break;case 3:if(fn(t,n),a&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Of(t,e)}catch(f){Tt(n,n.return,f)}}break;case 27:e===null&&a&4&&Qh(n);case 26:case 5:fn(t,n),e===null&&a&4&&Hh(n),a&512&&Fl(n,n.return);break;case 12:fn(t,n);break;case 31:fn(t,n),a&4&&Kh(t,n);break;case 13:fn(t,n),a&4&&Zh(t,n),a&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=pp.bind(null,n),jp(t,n))));break;case 22:if(a=n.memoizedState!==null||on,!a){e=e!==null&&e.memoizedState!==null||Kt,u=on;var c=Kt;on=a,(Kt=e)&&!c?hn(t,n,(n.subtreeFlags&8772)!==0):fn(t,n),on=u,Kt=c}break;case 30:break;default:fn(t,n)}}function Xh(t){var e=t.alternate;e!==null&&(t.alternate=null,Xh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&ms(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var wt=null,oe=!1;function rn(t,e,n){for(n=n.child;n!==null;)Vh(t,e,n),n=n.sibling}function Vh(t,e,n){if(ye&&typeof ye.onCommitFiberUnmount=="function")try{ye.onCommitFiberUnmount(Sl,n)}catch{}switch(n.tag){case 26:Kt||Ke(n,e),rn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Kt||Ke(n,e);var a=wt,u=oe;jn(n.type)&&(wt=n.stateNode,oe=!1),rn(t,e,n),li(n.stateNode),wt=a,oe=u;break;case 5:Kt||Ke(n,e);case 6:if(a=wt,u=oe,wt=null,rn(t,e,n),wt=a,oe=u,wt!==null)if(oe)try{(wt.nodeType===9?wt.body:wt.nodeName==="HTML"?wt.ownerDocument.body:wt).removeChild(n.stateNode)}catch(c){Tt(n,e,c)}else try{wt.removeChild(n.stateNode)}catch(c){Tt(n,e,c)}break;case 18:wt!==null&&(oe?(t=wt,Bd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ol(t)):Bd(wt,n.stateNode));break;case 4:a=wt,u=oe,wt=n.stateNode.containerInfo,oe=!0,rn(t,e,n),wt=a,oe=u;break;case 0:case 11:case 14:case 15:zn(2,n,e),Kt||zn(4,n,e),rn(t,e,n);break;case 1:Kt||(Ke(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&jh(n,e,a)),rn(t,e,n);break;case 21:rn(t,e,n);break;case 22:Kt=(a=Kt)||n.memoizedState!==null,rn(t,e,n),Kt=a;break;default:rn(t,e,n)}}function Kh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ol(t)}catch(n){Tt(e,e.return,n)}}}function Zh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ol(t)}catch(n){Tt(e,e.return,n)}}function op(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Yh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Yh),e;default:throw Error(o(435,t.tag))}}function gu(t,e){var n=op(t);e.forEach(function(a){if(!n.has(a)){n.add(a);var u=gp.bind(null,t,a);a.then(u,u)}})}function re(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var u=n[a],c=t,f=e,v=f;t:for(;v!==null;){switch(v.tag){case 27:if(jn(v.type)){wt=v.stateNode,oe=!1;break t}break;case 5:wt=v.stateNode,oe=!1;break t;case 3:case 4:wt=v.stateNode.containerInfo,oe=!0;break t}v=v.return}if(wt===null)throw Error(o(160));Vh(c,f,u),wt=null,oe=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Jh(e,t),e=e.sibling}var qe=null;function Jh(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:re(e,t),fe(t),a&4&&(zn(3,t,t.return),Pl(3,t),zn(5,t,t.return));break;case 1:re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),a&64&&on&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var u=qe;if(re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),a&4){var c=n!==null?n.memoizedState:null;if(a=t.memoizedState,n===null)if(a===null)if(t.stateNode===null){t:{a=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(a){case"title":c=u.getElementsByTagName("title")[0],(!c||c[Rl]||c[Wt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=u.createElement(a),u.head.insertBefore(c,u.querySelector("head > title"))),ee(c,a,n),c[Wt]=t,Pt(c),a=c;break t;case"link":var f=Jd("link","href",u).get(a+(n.href||""));if(f){for(var v=0;v<f.length;v++)if(c=f[v],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(v,1);break e}}c=u.createElement(a),ee(c,a,n),u.head.appendChild(c);break;case"meta":if(f=Jd("meta","content",u).get(a+(n.content||""))){for(v=0;v<f.length;v++)if(c=f[v],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(v,1);break e}}c=u.createElement(a),ee(c,a,n),u.head.appendChild(c);break;default:throw Error(o(468,a))}c[Wt]=t,Pt(c),a=c}t.stateNode=a}else Pd(u,t.type,t.stateNode);else t.stateNode=Zd(u,a,t.memoizedProps);else c!==a?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,a===null?Pd(u,t.type,t.stateNode):Zd(u,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Nc(t,t.memoizedProps,n.memoizedProps)}break;case 27:re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),n!==null&&a&4&&Nc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(re(e,t),fe(t),a&512&&(Kt||n===null||Ke(n,n.return)),t.flags&32){u=t.stateNode;try{Ua(u,"")}catch(k){Tt(t,t.return,k)}}a&4&&t.stateNode!=null&&(u=t.memoizedProps,Nc(t,u,n!==null?n.memoizedProps:u)),a&1024&&(Hc=!0);break;case 6:if(re(e,t),fe(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(k){Tt(t,t.return,k)}}break;case 3:if(wu=null,u=qe,qe=Uu(e.containerInfo),re(e,t),qe=u,fe(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{ol(e.containerInfo)}catch(k){Tt(t,t.return,k)}Hc&&(Hc=!1,Ph(t));break;case 4:a=qe,qe=Uu(t.stateNode.containerInfo),re(e,t),fe(t),qe=a;break;case 12:re(e,t),fe(t);break;case 31:re(e,t),fe(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gu(t,a)));break;case 13:re(e,t),fe(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(bu=ne()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gu(t,a)));break;case 22:u=t.memoizedState!==null;var R=n!==null&&n.memoizedState!==null,x=on,N=Kt;if(on=x||u,Kt=N||R,re(e,t),Kt=N,on=x,fe(t),a&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||R||on||Kt||ha(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){R=n=e;try{if(c=R.stateNode,u)f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{v=R.stateNode;var H=R.memoizedProps.style,z=H!=null&&H.hasOwnProperty("display")?H.display:null;v.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(k){Tt(R,R.return,k)}}}else if(e.tag===6){if(n===null){R=e;try{R.stateNode.nodeValue=u?"":R.memoizedProps}catch(k){Tt(R,R.return,k)}}}else if(e.tag===18){if(n===null){R=e;try{var U=R.stateNode;u?jd(U,!0):jd(R.stateNode,!1)}catch(k){Tt(R,R.return,k)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,gu(t,n))));break;case 19:re(e,t),fe(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gu(t,a)));break;case 30:break;case 21:break;default:re(e,t),fe(t)}}function fe(t){var e=t.flags;if(e&2){try{for(var n,a=t.return;a!==null;){if(qh(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var u=n.stateNode,c=Bc(t);pu(t,c,u);break;case 5:var f=n.stateNode;n.flags&32&&(Ua(f,""),n.flags&=-33);var v=Bc(t);pu(t,v,f);break;case 3:case 4:var R=n.stateNode.containerInfo,x=Bc(t);jc(t,x,R);break;default:throw Error(o(161))}}catch(N){Tt(t,t.return,N)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Ph(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Ph(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function fn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Gh(t,e.alternate,e),e=e.sibling}function ha(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:zn(4,e,e.return),ha(e);break;case 1:Ke(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&jh(e,e.return,n),ha(e);break;case 27:li(e.stateNode);case 26:case 5:Ke(e,e.return),ha(e);break;case 22:e.memoizedState===null&&ha(e);break;case 30:ha(e);break;default:ha(e)}t=t.sibling}}function hn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,u=t,c=e,f=c.flags;switch(c.tag){case 0:case 11:case 15:hn(u,c,n),Pl(4,c);break;case 1:if(hn(u,c,n),a=c,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(x){Tt(a,a.return,x)}if(a=c,u=a.updateQueue,u!==null){var v=a.stateNode;try{var R=u.shared.hiddenCallbacks;if(R!==null)for(u.shared.hiddenCallbacks=null,u=0;u<R.length;u++)Mf(R[u],v)}catch(x){Tt(a,a.return,x)}}n&&f&64&&Bh(c),Fl(c,c.return);break;case 27:Qh(c);case 26:case 5:hn(u,c,n),n&&a===null&&f&4&&Hh(c),Fl(c,c.return);break;case 12:hn(u,c,n);break;case 31:hn(u,c,n),n&&f&4&&Kh(u,c);break;case 13:hn(u,c,n),n&&f&4&&Zh(u,c);break;case 22:c.memoizedState===null&&hn(u,c,n),Fl(c,c.return);break;case 30:break;default:hn(u,c,n)}e=e.sibling}}function qc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Nl(n))}function Qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Nl(t))}function Qe(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fh(t,e,n,a),e=e.sibling}function Fh(t,e,n,a){var u=e.flags;switch(e.tag){case 0:case 11:case 15:Qe(t,e,n,a),u&2048&&Pl(9,e);break;case 1:Qe(t,e,n,a);break;case 3:Qe(t,e,n,a),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Nl(t)));break;case 12:if(u&2048){Qe(t,e,n,a),t=e.stateNode;try{var c=e.memoizedProps,f=c.id,v=c.onPostCommit;typeof v=="function"&&v(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){Tt(e,e.return,R)}}else Qe(t,e,n,a);break;case 31:Qe(t,e,n,a);break;case 13:Qe(t,e,n,a);break;case 23:break;case 22:c=e.stateNode,f=e.alternate,e.memoizedState!==null?c._visibility&2?Qe(t,e,n,a):kl(t,e):c._visibility&2?Qe(t,e,n,a):(c._visibility|=2,Ia(t,e,n,a,(e.subtreeFlags&10256)!==0||!1)),u&2048&&qc(f,e);break;case 24:Qe(t,e,n,a),u&2048&&Qc(e.alternate,e);break;default:Qe(t,e,n,a)}}function Ia(t,e,n,a,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,f=e,v=n,R=a,x=f.flags;switch(f.tag){case 0:case 11:case 15:Ia(c,f,v,R,u),Pl(8,f);break;case 23:break;case 22:var N=f.stateNode;f.memoizedState!==null?N._visibility&2?Ia(c,f,v,R,u):kl(c,f):(N._visibility|=2,Ia(c,f,v,R,u)),u&&x&2048&&qc(f.alternate,f);break;case 24:Ia(c,f,v,R,u),u&&x&2048&&Qc(f.alternate,f);break;default:Ia(c,f,v,R,u)}e=e.sibling}}function kl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,a=e,u=a.flags;switch(a.tag){case 22:kl(n,a),u&2048&&qc(a.alternate,a);break;case 24:kl(n,a),u&2048&&Qc(a.alternate,a);break;default:kl(n,a)}e=e.sibling}}var Wl=8192;function $a(t,e,n){if(t.subtreeFlags&Wl)for(t=t.child;t!==null;)kh(t,e,n),t=t.sibling}function kh(t,e,n){switch(t.tag){case 26:$a(t,e,n),t.flags&Wl&&t.memoizedState!==null&&Fp(n,qe,t.memoizedState,t.memoizedProps);break;case 5:$a(t,e,n);break;case 3:case 4:var a=qe;qe=Uu(t.stateNode.containerInfo),$a(t,e,n),qe=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Wl,Wl=16777216,$a(t,e,n),Wl=a):$a(t,e,n));break;default:$a(t,e,n)}}function Wh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Il(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Ft=a,$h(a,t)}Wh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ih(t),t=t.sibling}function Ih(t){switch(t.tag){case 0:case 11:case 15:Il(t),t.flags&2048&&zn(9,t,t.return);break;case 3:Il(t);break;case 12:Il(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Su(t)):Il(t);break;default:Il(t)}}function Su(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Ft=a,$h(a,t)}Wh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:zn(8,e,e.return),Su(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Su(e));break;default:Su(e)}t=t.sibling}}function $h(t,e){for(;Ft!==null;){var n=Ft;switch(n.tag){case 0:case 11:case 15:zn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Nl(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Ft=a;else t:for(n=t;Ft!==null;){a=Ft;var u=a.sibling,c=a.return;if(Xh(a),a===n){Ft=null;break t}if(u!==null){u.return=c,Ft=u;break t}Ft=c}}}var rp={getCacheForType:function(t){var e=$t(Gt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return $t(Gt).controller.signal}},fp=typeof WeakMap=="function"?WeakMap:Map,_t=0,zt=null,ht=null,mt=0,Et=0,_e=null,Dn=!1,tl=!1,Yc=!1,dn=0,Ht=0,Un=0,da=0,Gc=0,Re=0,el=0,$l=null,he=null,Xc=!1,bu=0,td=0,_u=1/0,Ru=null,Ln=null,Zt=0,wn=null,nl=null,mn=0,Vc=0,Kc=null,ed=null,ti=0,Zc=null;function Ee(){return(_t&2)!==0&&mt!==0?mt&-mt:w.T!==null?Ic():vr()}function nd(){if(Re===0)if((mt&536870912)===0||vt){var t=zi;zi<<=1,(zi&3932160)===0&&(zi=262144),Re=t}else Re=536870912;return t=Se.current,t!==null&&(t.flags|=32),Re}function de(t,e,n){(t===zt&&(Et===2||Et===9)||t.cancelPendingCommit!==null)&&(al(t,0),Nn(t,mt,Re,!1)),_l(t,n),((_t&2)===0||t!==zt)&&(t===zt&&((_t&2)===0&&(da|=n),Ht===4&&Nn(t,mt,Re,!1)),Ze(t))}function ad(t,e,n){if((_t&6)!==0)throw Error(o(327));var a=!n&&(e&127)===0&&(e&t.expiredLanes)===0||bl(t,e),u=a?mp(t,e):Pc(t,e,!0),c=a;do{if(u===0){tl&&!a&&Nn(t,e,0,!1);break}else{if(n=t.current.alternate,c&&!hp(n)){u=Pc(t,e,!1),c=!1;continue}if(u===2){if(c=e,t.errorRecoveryDisabledLanes&c)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var v=t;u=$l;var R=v.current.memoizedState.isDehydrated;if(R&&(al(v,f).flags|=256),f=Pc(v,f,!1),f!==2){if(Yc&&!R){v.errorRecoveryDisabledLanes|=c,da|=c,u=4;break t}c=he,he=u,c!==null&&(he===null?he=c:he.push.apply(he,c))}u=f}if(c=!1,u!==2)continue}}if(u===1){al(t,0),Nn(t,e,0,!0);break}t:{switch(a=t,c=u,c){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:Nn(a,e,Re,!Dn);break t;case 2:he=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(u=bu+300-ne(),10<u)){if(Nn(a,e,Re,!Dn),Ui(a,0,!0)!==0)break t;mn=e,a.timeoutHandle=wd(ld.bind(null,a,n,he,Ru,Xc,e,Re,da,el,Dn,c,"Throttled",-0,0),u);break t}ld(a,n,he,Ru,Xc,e,Re,da,el,Dn,c,null,-0,0)}}break}while(!0);Ze(t)}function ld(t,e,n,a,u,c,f,v,R,x,N,H,z,U){if(t.timeoutHandle=-1,H=e.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ie},kh(e,c,H);var k=(c&62914560)===c?bu-ne():(c&4194048)===c?td-ne():0;if(k=kp(H,k),k!==null){mn=c,t.cancelPendingCommit=k(hd.bind(null,t,e,c,n,a,u,f,v,R,N,H,null,z,U)),Nn(t,c,f,!x);return}}hd(t,e,c,n,a,u,f,v,R)}function hp(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var u=n[a],c=u.getSnapshot;u=u.value;try{if(!pe(c(),u))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Nn(t,e,n,a){e&=~Gc,e&=~da,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var u=e;0<u;){var c=31-ve(u),f=1<<c;a[c]=-1,u&=~f}n!==0&&dr(t,n,e)}function Eu(){return(_t&6)===0?(ei(0),!1):!0}function Jc(){if(ht!==null){if(Et===0)var t=ht.return;else t=ht,nn=la=null,oc(t),Ja=null,jl=0,t=ht;for(;t!==null;)Nh(t.alternate,t),t=t.return;ht=null}}function al(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Up(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),mn=0,Jc(),zt=t,ht=n=tn(t.current,null),mt=e,Et=0,_e=null,Dn=!1,tl=bl(t,e),Yc=!1,el=Re=Gc=da=Un=Ht=0,he=$l=null,Xc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var u=31-ve(a),c=1<<u;e|=t[u],a&=~c}return dn=e,Vi(),n}function id(t,e){ct=null,w.H=Kl,e===Za||e===Ii?(e=_f(),Et=3):e===Ws?(e=_f(),Et=4):Et=e===Mc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,_e=e,ht===null&&(Ht=1,hu(t,xe(e,t.current)))}function ud(){var t=Se.current;return t===null?!0:(mt&4194048)===mt?Le===null:(mt&62914560)===mt||(mt&536870912)!==0?t===Le:!1}function sd(){var t=w.H;return w.H=Kl,t===null?Kl:t}function cd(){var t=w.A;return w.A=rp,t}function Tu(){Ht=4,Dn||(mt&4194048)!==mt&&Se.current!==null||(tl=!0),(Un&134217727)===0&&(da&134217727)===0||zt===null||Nn(zt,mt,Re,!1)}function Pc(t,e,n){var a=_t;_t|=2;var u=sd(),c=cd();(zt!==t||mt!==e)&&(Ru=null,al(t,e)),e=!1;var f=Ht;t:do try{if(Et!==0&&ht!==null){var v=ht,R=_e;switch(Et){case 8:Jc(),f=6;break t;case 3:case 2:case 9:case 6:Se.current===null&&(e=!0);var x=Et;if(Et=0,_e=null,ll(t,v,R,x),n&&tl){f=0;break t}break;default:x=Et,Et=0,_e=null,ll(t,v,R,x)}}dp(),f=Ht;break}catch(N){id(t,N)}while(!0);return e&&t.shellSuspendCounter++,nn=la=null,_t=a,w.H=u,w.A=c,ht===null&&(zt=null,mt=0,Vi()),f}function dp(){for(;ht!==null;)od(ht)}function mp(t,e){var n=_t;_t|=2;var a=sd(),u=cd();zt!==t||mt!==e?(Ru=null,_u=ne()+500,al(t,e)):tl=bl(t,e);t:do try{if(Et!==0&&ht!==null){e=ht;var c=_e;e:switch(Et){case 1:Et=0,_e=null,ll(t,e,c,1);break;case 2:case 9:if(Sf(c)){Et=0,_e=null,rd(e);break}e=function(){Et!==2&&Et!==9||zt!==t||(Et=7),Ze(t)},c.then(e,e);break t;case 3:Et=7;break t;case 4:Et=5;break t;case 7:Sf(c)?(Et=0,_e=null,rd(e)):(Et=0,_e=null,ll(t,e,c,7));break;case 5:var f=null;switch(ht.tag){case 26:f=ht.memoizedState;case 5:case 27:var v=ht;if(f?Fd(f):v.stateNode.complete){Et=0,_e=null;var R=v.sibling;if(R!==null)ht=R;else{var x=v.return;x!==null?(ht=x,Mu(x)):ht=null}break e}}Et=0,_e=null,ll(t,e,c,5);break;case 6:Et=0,_e=null,ll(t,e,c,6);break;case 8:Jc(),Ht=6;break t;default:throw Error(o(462))}}yp();break}catch(N){id(t,N)}while(!0);return nn=la=null,w.H=a,w.A=u,_t=n,ht!==null?0:(zt=null,mt=0,Vi(),Ht)}function yp(){for(;ht!==null&&!Ai();)od(ht)}function od(t){var e=Lh(t.alternate,t,dn);t.memoizedProps=t.pendingProps,e===null?Mu(t):ht=e}function rd(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Ch(n,e,e.pendingProps,e.type,void 0,mt);break;case 11:e=Ch(n,e,e.pendingProps,e.type.render,e.ref,mt);break;case 5:oc(e);default:Nh(n,e),e=ht=cf(e,dn),e=Lh(n,e,dn)}t.memoizedProps=t.pendingProps,e===null?Mu(t):ht=e}function ll(t,e,n,a){nn=la=null,oc(e),Ja=null,jl=0;var u=e.return;try{if(ap(t,u,e,n,mt)){Ht=1,hu(t,xe(n,t.current)),ht=null;return}}catch(c){if(u!==null)throw ht=u,c;Ht=1,hu(t,xe(n,t.current)),ht=null;return}e.flags&32768?(vt||a===1?t=!0:tl||(mt&536870912)!==0?t=!1:(Dn=t=!0,(a===2||a===9||a===3||a===6)&&(a=Se.current,a!==null&&a.tag===13&&(a.flags|=16384))),fd(e,t)):Mu(e)}function Mu(t){var e=t;do{if((e.flags&32768)!==0){fd(e,Dn);return}t=e.return;var n=up(e.alternate,e,dn);if(n!==null){ht=n;return}if(e=e.sibling,e!==null){ht=e;return}ht=e=t}while(e!==null);Ht===0&&(Ht=5)}function fd(t,e){do{var n=sp(t.alternate,t);if(n!==null){n.flags&=32767,ht=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){ht=t;return}ht=t=n}while(t!==null);Ht=6,ht=null}function hd(t,e,n,a,u,c,f,v,R){t.cancelPendingCommit=null;do Ou();while(Zt!==0);if((_t&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(c=e.lanes|e.childLanes,c|=Bs,Py(t,n,c,f,v,R),t===zt&&(ht=zt=null,mt=0),nl=e,wn=t,mn=n,Vc=c,Kc=u,ed=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Sp(Ma,function(){return pd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=w.T,w.T=null,u=X.p,X.p=2,f=_t,_t|=4;try{cp(t,e,n)}finally{_t=f,X.p=u,w.T=a}}Zt=1,dd(),md(),yd()}}function dd(){if(Zt===1){Zt=0;var t=wn,e=nl,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=w.T,w.T=null;var a=X.p;X.p=2;var u=_t;_t|=4;try{Jh(e,t);var c=uo,f=Ir(t.containerInfo),v=c.focusedElem,R=c.selectionRange;if(f!==v&&v&&v.ownerDocument&&Wr(v.ownerDocument.documentElement,v)){if(R!==null&&Ds(v)){var x=R.start,N=R.end;if(N===void 0&&(N=x),"selectionStart"in v)v.selectionStart=x,v.selectionEnd=Math.min(N,v.value.length);else{var H=v.ownerDocument||document,z=H&&H.defaultView||window;if(z.getSelection){var U=z.getSelection(),k=v.textContent.length,it=Math.min(R.start,k),At=R.end===void 0?it:Math.min(R.end,k);!U.extend&&it>At&&(f=At,At=it,it=f);var C=kr(v,it),T=kr(v,At);if(C&&T&&(U.rangeCount!==1||U.anchorNode!==C.node||U.anchorOffset!==C.offset||U.focusNode!==T.node||U.focusOffset!==T.offset)){var A=H.createRange();A.setStart(C.node,C.offset),U.removeAllRanges(),it>At?(U.addRange(A),U.extend(T.node,T.offset)):(A.setEnd(T.node,T.offset),U.addRange(A))}}}}for(H=[],U=v;U=U.parentNode;)U.nodeType===1&&H.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<H.length;v++){var B=H[v];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}Hu=!!io,uo=io=null}finally{_t=u,X.p=a,w.T=n}}t.current=e,Zt=2}}function md(){if(Zt===2){Zt=0;var t=wn,e=nl,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=w.T,w.T=null;var a=X.p;X.p=2;var u=_t;_t|=4;try{Gh(t,e.alternate,e)}finally{_t=u,X.p=a,w.T=n}}Zt=3}}function yd(){if(Zt===4||Zt===3){Zt=0,os();var t=wn,e=nl,n=mn,a=ed;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Zt=5:(Zt=0,nl=wn=null,vd(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Ln=null),hs(n),e=e.stateNode,ye&&typeof ye.onCommitFiberRoot=="function")try{ye.onCommitFiberRoot(Sl,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=w.T,u=X.p,X.p=2,w.T=null;try{for(var c=t.onRecoverableError,f=0;f<a.length;f++){var v=a[f];c(v.value,{componentStack:v.stack})}}finally{w.T=e,X.p=u}}(mn&3)!==0&&Ou(),Ze(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===Zc?ti++:(ti=0,Zc=t):ti=0,ei(0)}}function vd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Nl(e)))}function Ou(){return dd(),md(),yd(),pd()}function pd(){if(Zt!==5)return!1;var t=wn,e=Vc;Vc=0;var n=hs(mn),a=w.T,u=X.p;try{X.p=32>n?32:n,w.T=null,n=Kc,Kc=null;var c=wn,f=mn;if(Zt=0,nl=wn=null,mn=0,(_t&6)!==0)throw Error(o(331));var v=_t;if(_t|=4,Ih(c.current),Fh(c,c.current,f,n),_t=v,ei(0,!1),ye&&typeof ye.onPostCommitFiberRoot=="function")try{ye.onPostCommitFiberRoot(Sl,c)}catch{}return!0}finally{X.p=u,w.T=a,vd(t,e)}}function gd(t,e,n){e=xe(n,e),e=Tc(t.stateNode,e,2),t=Cn(t,e,2),t!==null&&(_l(t,2),Ze(t))}function Tt(t,e,n){if(t.tag===3)gd(t,t,n);else for(;e!==null;){if(e.tag===3){gd(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ln===null||!Ln.has(a))){t=xe(n,t),n=Sh(2),a=Cn(e,n,2),a!==null&&(bh(n,a,e,t),_l(a,2),Ze(a));break}}e=e.return}}function Fc(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new fp;var u=new Set;a.set(e,u)}else u=a.get(e),u===void 0&&(u=new Set,a.set(e,u));u.has(n)||(Yc=!0,u.add(n),t=vp.bind(null,t,e,n),e.then(t,t))}function vp(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,zt===t&&(mt&n)===n&&(Ht===4||Ht===3&&(mt&62914560)===mt&&300>ne()-bu?(_t&2)===0&&al(t,0):Gc|=n,el===mt&&(el=0)),Ze(t)}function Sd(t,e){e===0&&(e=hr()),t=ea(t,e),t!==null&&(_l(t,e),Ze(t))}function pp(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Sd(t,n)}function gp(t,e){var n=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),Sd(t,n)}function Sp(t,e){return je(t,e)}var Cu=null,il=null,kc=!1,Au=!1,Wc=!1,Bn=0;function Ze(t){t!==il&&t.next===null&&(il===null?Cu=il=t:il=il.next=t),Au=!0,kc||(kc=!0,_p())}function ei(t,e){if(!Wc&&Au){Wc=!0;do for(var n=!1,a=Cu;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var c=0;else{var f=a.suspendedLanes,v=a.pingedLanes;c=(1<<31-ve(42|t)+1)-1,c&=u&~(f&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Ed(a,c))}else c=mt,c=Ui(a,a===zt?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||bl(a,c)||(n=!0,Ed(a,c));a=a.next}while(n);Wc=!1}}function bp(){bd()}function bd(){Au=kc=!1;var t=0;Bn!==0&&Dp()&&(t=Bn);for(var e=ne(),n=null,a=Cu;a!==null;){var u=a.next,c=_d(a,e);c===0?(a.next=null,n===null?Cu=u:n.next=u,u===null&&(il=n)):(n=a,(t!==0||(c&3)!==0)&&(Au=!0)),a=u}Zt!==0&&Zt!==5||ei(t),Bn!==0&&(Bn=0)}function _d(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var f=31-ve(c),v=1<<f,R=u[f];R===-1?((v&n)===0||(v&a)!==0)&&(u[f]=Jy(v,e)):R<=e&&(t.expiredLanes|=v),c&=~v}if(e=zt,n=mt,n=Ui(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,n===0||t===e&&(Et===2||Et===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&gl(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||bl(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&gl(a),hs(n)){case 2:case 8:n=Ge;break;case 32:n=Ma;break;case 268435456:n=fr;break;default:n=Ma}return a=Rd.bind(null,t),n=je(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&gl(a),t.callbackPriority=2,t.callbackNode=null,2}function Rd(t,e){if(Zt!==0&&Zt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Ou()&&t.callbackNode!==n)return null;var a=mt;return a=Ui(t,t===zt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(ad(t,a,e),_d(t,ne()),t.callbackNode!=null&&t.callbackNode===n?Rd.bind(null,t):null)}function Ed(t,e){if(Ou())return null;ad(t,e,!0)}function _p(){Lp(function(){(_t&6)!==0?je(kt,bp):bd()})}function Ic(){if(Bn===0){var t=Va;t===0&&(t=xi,xi<<=1,(xi&261888)===0&&(xi=256)),Bn=t}return Bn}function Td(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Bi(""+t)}function Md(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function Rp(t,e,n,a,u){if(e==="submit"&&n&&n.stateNode===u){var c=Td((u[se]||null).action),f=a.submitter;f&&(e=(e=f[se]||null)?Td(e.formAction):f.getAttribute("formAction"),e!==null&&(c=e,f=null));var v=new Qi("action","action",null,a,u);t.push({event:v,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Bn!==0){var R=f?Md(u,f):new FormData(u);gc(n,{pending:!0,data:R,method:u.method,action:c},null,R)}}else typeof c=="function"&&(v.preventDefault(),R=f?Md(u,f):new FormData(u),gc(n,{pending:!0,data:R,method:u.method,action:c},c,R))},currentTarget:u}]})}}for(var $c=0;$c<Ns.length;$c++){var to=Ns[$c],Ep=to.toLowerCase(),Tp=to[0].toUpperCase()+to.slice(1);He(Ep,"on"+Tp)}He(ef,"onAnimationEnd"),He(nf,"onAnimationIteration"),He(af,"onAnimationStart"),He("dblclick","onDoubleClick"),He("focusin","onFocus"),He("focusout","onBlur"),He(Qv,"onTransitionRun"),He(Yv,"onTransitionStart"),He(Gv,"onTransitionCancel"),He(lf,"onTransitionEnd"),za("onMouseEnter",["mouseout","mouseover"]),za("onMouseLeave",["mouseout","mouseover"]),za("onPointerEnter",["pointerout","pointerover"]),za("onPointerLeave",["pointerout","pointerover"]),Wn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ni="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(" "),Mp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ni));function Od(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var a=t[n],u=a.event;a=a.listeners;t:{var c=void 0;if(e)for(var f=a.length-1;0<=f;f--){var v=a[f],R=v.instance,x=v.currentTarget;if(v=v.listener,R!==c&&u.isPropagationStopped())break t;c=v,u.currentTarget=x;try{c(u)}catch(N){Xi(N)}u.currentTarget=null,c=R}else for(f=0;f<a.length;f++){if(v=a[f],R=v.instance,x=v.currentTarget,v=v.listener,R!==c&&u.isPropagationStopped())break t;c=v,u.currentTarget=x;try{c(u)}catch(N){Xi(N)}u.currentTarget=null,c=R}}}}function dt(t,e){var n=e[ds];n===void 0&&(n=e[ds]=new Set);var a=t+"__bubble";n.has(a)||(Cd(e,t,2,!1),n.add(a))}function eo(t,e,n){var a=0;e&&(a|=4),Cd(n,t,a,e)}var xu="_reactListening"+Math.random().toString(36).slice(2);function no(t){if(!t[xu]){t[xu]=!0,Sr.forEach(function(n){n!=="selectionchange"&&(Mp.has(n)||eo(n,!1,t),eo(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[xu]||(e[xu]=!0,eo("selectionchange",!1,e))}}function Cd(t,e,n,a){switch(nm(e)){case 2:var u=$p;break;case 8:u=tg;break;default:u=go}n=u.bind(null,e,n,t),u=void 0,!Rs||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(e,n,{capture:!0,passive:u}):t.addEventListener(e,n,!0):u!==void 0?t.addEventListener(e,n,{passive:u}):t.addEventListener(e,n,!1)}function ao(t,e,n,a,u){var c=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var v=a.stateNode.containerInfo;if(v===u)break;if(f===4)for(f=a.return;f!==null;){var R=f.tag;if((R===3||R===4)&&f.stateNode.containerInfo===u)return;f=f.return}for(;v!==null;){if(f=Ca(v),f===null)return;if(R=f.tag,R===5||R===6||R===26||R===27){a=c=f;continue t}v=v.parentNode}}a=a.return}Dr(function(){var x=c,N=bs(n),H=[];t:{var z=uf.get(t);if(z!==void 0){var U=Qi,k=t;switch(t){case"keypress":if(Hi(n)===0)break t;case"keydown":case"keyup":U=gv;break;case"focusin":k="focus",U=Os;break;case"focusout":k="blur",U=Os;break;case"beforeblur":case"afterblur":U=Os;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=wr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=uv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=_v;break;case ef:case nf:case af:U=ov;break;case lf:U=Ev;break;case"scroll":case"scrollend":U=lv;break;case"wheel":U=Mv;break;case"copy":case"cut":case"paste":U=fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Br;break;case"toggle":case"beforetoggle":U=Cv}var it=(e&4)!==0,At=!it&&(t==="scroll"||t==="scrollend"),C=it?z!==null?z+"Capture":null:z;it=[];for(var T=x,A;T!==null;){var B=T;if(A=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||A===null||C===null||(B=Tl(T,C),B!=null&&it.push(ai(T,B,A))),At)break;T=T.return}0<it.length&&(z=new U(z,k,null,n,N),H.push({event:z,listeners:it}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",z&&n!==Ss&&(k=n.relatedTarget||n.fromElement)&&(Ca(k)||k[Oa]))break t;if((U||z)&&(z=N.window===N?N:(z=N.ownerDocument)?z.defaultView||z.parentWindow:window,U?(k=n.relatedTarget||n.toElement,U=x,k=k?Ca(k):null,k!==null&&(At=h(k),it=k.tag,k!==At||it!==5&&it!==27&&it!==6)&&(k=null)):(U=null,k=x),U!==k)){if(it=wr,B="onMouseLeave",C="onMouseEnter",T="mouse",(t==="pointerout"||t==="pointerover")&&(it=Br,B="onPointerLeave",C="onPointerEnter",T="pointer"),At=U==null?z:El(U),A=k==null?z:El(k),z=new it(B,T+"leave",U,n,N),z.target=At,z.relatedTarget=A,B=null,Ca(N)===x&&(it=new it(C,T+"enter",k,n,N),it.target=A,it.relatedTarget=At,B=it),At=B,U&&k)e:{for(it=Op,C=U,T=k,A=0,B=C;B;B=it(B))A++;B=0;for(var nt=T;nt;nt=it(nt))B++;for(;0<A-B;)C=it(C),A--;for(;0<B-A;)T=it(T),B--;for(;A--;){if(C===T||T!==null&&C===T.alternate){it=C;break e}C=it(C),T=it(T)}it=null}else it=null;U!==null&&Ad(H,z,U,it,!1),k!==null&&At!==null&&Ad(H,At,k,it,!0)}}t:{if(z=x?El(x):window,U=z.nodeName&&z.nodeName.toLowerCase(),U==="select"||U==="input"&&z.type==="file")var gt=Vr;else if(Gr(z))if(Kr)gt=jv;else{gt=Nv;var I=wv}else U=z.nodeName,!U||U.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?x&&gs(x.elementType)&&(gt=Vr):gt=Bv;if(gt&&(gt=gt(t,x))){Xr(H,gt,n,N);break t}I&&I(t,z,x),t==="focusout"&&x&&z.type==="number"&&x.memoizedProps.value!=null&&ps(z,"number",z.value)}switch(I=x?El(x):window,t){case"focusin":(Gr(I)||I.contentEditable==="true")&&(Ba=I,Us=x,Ul=null);break;case"focusout":Ul=Us=Ba=null;break;case"mousedown":Ls=!0;break;case"contextmenu":case"mouseup":case"dragend":Ls=!1,$r(H,n,N);break;case"selectionchange":if(qv)break;case"keydown":case"keyup":$r(H,n,N)}var ot;if(As)t:{switch(t){case"compositionstart":var yt="onCompositionStart";break t;case"compositionend":yt="onCompositionEnd";break t;case"compositionupdate":yt="onCompositionUpdate";break t}yt=void 0}else Na?Qr(t,n)&&(yt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(yt="onCompositionStart");yt&&(jr&&n.locale!=="ko"&&(Na||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&Na&&(ot=Ur()):(bn=N,Es="value"in bn?bn.value:bn.textContent,Na=!0)),I=zu(x,yt),0<I.length&&(yt=new Nr(yt,t,null,n,N),H.push({event:yt,listeners:I}),ot?yt.data=ot:(ot=Yr(n),ot!==null&&(yt.data=ot)))),(ot=xv?zv(t,n):Dv(t,n))&&(yt=zu(x,"onBeforeInput"),0<yt.length&&(I=new Nr("onBeforeInput","beforeinput",null,n,N),H.push({event:I,listeners:yt}),I.data=ot)),Rp(H,t,x,n,N)}Od(H,e)})}function ai(t,e,n){return{instance:t,listener:e,currentTarget:n}}function zu(t,e){for(var n=e+"Capture",a=[];t!==null;){var u=t,c=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||c===null||(u=Tl(t,n),u!=null&&a.unshift(ai(t,u,c)),u=Tl(t,e),u!=null&&a.push(ai(t,u,c))),t.tag===3)return a;t=t.return}return[]}function Op(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ad(t,e,n,a,u){for(var c=e._reactName,f=[];n!==null&&n!==a;){var v=n,R=v.alternate,x=v.stateNode;if(v=v.tag,R!==null&&R===a)break;v!==5&&v!==26&&v!==27||x===null||(R=x,u?(x=Tl(n,c),x!=null&&f.unshift(ai(n,x,R))):u||(x=Tl(n,c),x!=null&&f.push(ai(n,x,R)))),n=n.return}f.length!==0&&t.push({event:e,listeners:f})}var Cp=/\r\n?/g,Ap=/\u0000|\uFFFD/g;function xd(t){return(typeof t=="string"?t:""+t).replace(Cp,`
|
|
9
|
+
`).replace(Ap,"")}function zd(t,e){return e=xd(e),xd(t)===e}function Ct(t,e,n,a,u,c){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Ua(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Ua(t,""+a);break;case"className":wi(t,"class",a);break;case"tabIndex":wi(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":wi(t,n,a);break;case"style":xr(t,a,c);break;case"data":if(e!=="object"){wi(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Bi(""+a),t.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(n,"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 c=="function"&&(n==="formAction"?(e!=="input"&&Ct(t,e,"name",u.name,u,null),Ct(t,e,"formEncType",u.formEncType,u,null),Ct(t,e,"formMethod",u.formMethod,u,null),Ct(t,e,"formTarget",u.formTarget,u,null)):(Ct(t,e,"encType",u.encType,u,null),Ct(t,e,"method",u.method,u,null),Ct(t,e,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Bi(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=Ie);break;case"onScroll":a!=null&&dt("scroll",t);break;case"onScrollEnd":a!=null&&dt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}n=Bi(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""+a):t.removeAttribute(n);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":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":a===!0?t.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,a):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(n,a):t.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(n):t.setAttribute(n,a);break;case"popover":dt("beforetoggle",t),dt("toggle",t),Li(t,"popover",a);break;case"xlinkActuate":We(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":We(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":We(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":We(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":We(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":We(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":We(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":We(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":We(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Li(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=nv.get(n)||n,Li(t,n,a))}}function lo(t,e,n,a,u,c){switch(n){case"style":xr(t,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"children":typeof a=="string"?Ua(t,a):(typeof a=="number"||typeof a=="bigint")&&Ua(t,""+a);break;case"onScroll":a!=null&&dt("scroll",t);break;case"onScrollEnd":a!=null&&dt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!br.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),c=t[se]||null,c=c!=null?c[n]:null,typeof c=="function"&&t.removeEventListener(e,c,u),typeof a=="function")){typeof c!="function"&&c!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,a,u);break t}n in t?t[n]=a:a===!0?t.setAttribute(n,""):Li(t,n,a)}}}function ee(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":dt("error",t),dt("load",t);var a=!1,u=!1,c;for(c in n)if(n.hasOwnProperty(c)){var f=n[c];if(f!=null)switch(c){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ct(t,e,c,f,n,null)}}u&&Ct(t,e,"srcSet",n.srcSet,n,null),a&&Ct(t,e,"src",n.src,n,null);return;case"input":dt("invalid",t);var v=c=f=u=null,R=null,x=null;for(a in n)if(n.hasOwnProperty(a)){var N=n[a];if(N!=null)switch(a){case"name":u=N;break;case"type":f=N;break;case"checked":R=N;break;case"defaultChecked":x=N;break;case"value":c=N;break;case"defaultValue":v=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(o(137,e));break;default:Ct(t,e,a,N,n,null)}}Mr(t,c,v,R,x,f,u,!1);return;case"select":dt("invalid",t),a=f=c=null;for(u in n)if(n.hasOwnProperty(u)&&(v=n[u],v!=null))switch(u){case"value":c=v;break;case"defaultValue":f=v;break;case"multiple":a=v;default:Ct(t,e,u,v,n,null)}e=c,n=f,t.multiple=!!a,e!=null?Da(t,!!a,e,!1):n!=null&&Da(t,!!a,n,!0);return;case"textarea":dt("invalid",t),c=u=a=null;for(f in n)if(n.hasOwnProperty(f)&&(v=n[f],v!=null))switch(f){case"value":a=v;break;case"defaultValue":u=v;break;case"children":c=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:Ct(t,e,f,v,n,null)}Cr(t,a,u,c);return;case"option":for(R in n)n.hasOwnProperty(R)&&(a=n[R],a!=null)&&(R==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":Ct(t,e,R,a,n,null));return;case"dialog":dt("beforetoggle",t),dt("toggle",t),dt("cancel",t),dt("close",t);break;case"iframe":case"object":dt("load",t);break;case"video":case"audio":for(a=0;a<ni.length;a++)dt(ni[a],t);break;case"image":dt("error",t),dt("load",t);break;case"details":dt("toggle",t);break;case"embed":case"source":case"link":dt("error",t),dt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in n)if(n.hasOwnProperty(x)&&(a=n[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ct(t,e,x,a,n,null)}return;default:if(gs(e)){for(N in n)n.hasOwnProperty(N)&&(a=n[N],a!==void 0&&lo(t,e,N,a,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(a=n[v],a!=null&&Ct(t,e,v,a,n,null))}function xp(t,e,n,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,c=null,f=null,v=null,R=null,x=null,N=null;for(U in n){var H=n[U];if(n.hasOwnProperty(U)&&H!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":R=H;default:a.hasOwnProperty(U)||Ct(t,e,U,null,a,H)}}for(var z in a){var U=a[z];if(H=n[z],a.hasOwnProperty(z)&&(U!=null||H!=null))switch(z){case"type":c=U;break;case"name":u=U;break;case"checked":x=U;break;case"defaultChecked":N=U;break;case"value":f=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(o(137,e));break;default:U!==H&&Ct(t,e,z,U,a,H)}}vs(t,f,v,R,x,N,c,u);return;case"select":U=f=v=z=null;for(c in n)if(R=n[c],n.hasOwnProperty(c)&&R!=null)switch(c){case"value":break;case"multiple":U=R;default:a.hasOwnProperty(c)||Ct(t,e,c,null,a,R)}for(u in a)if(c=a[u],R=n[u],a.hasOwnProperty(u)&&(c!=null||R!=null))switch(u){case"value":z=c;break;case"defaultValue":v=c;break;case"multiple":f=c;default:c!==R&&Ct(t,e,u,c,a,R)}e=v,n=f,a=U,z!=null?Da(t,!!n,z,!1):!!a!=!!n&&(e!=null?Da(t,!!n,e,!0):Da(t,!!n,n?[]:"",!1));return;case"textarea":U=z=null;for(v in n)if(u=n[v],n.hasOwnProperty(v)&&u!=null&&!a.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ct(t,e,v,null,a,u)}for(f in a)if(u=a[f],c=n[f],a.hasOwnProperty(f)&&(u!=null||c!=null))switch(f){case"value":z=u;break;case"defaultValue":U=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==c&&Ct(t,e,f,u,a,c)}Or(t,z,U);return;case"option":for(var k in n)z=n[k],n.hasOwnProperty(k)&&z!=null&&!a.hasOwnProperty(k)&&(k==="selected"?t.selected=!1:Ct(t,e,k,null,a,z));for(R in a)z=a[R],U=n[R],a.hasOwnProperty(R)&&z!==U&&(z!=null||U!=null)&&(R==="selected"?t.selected=z&&typeof z!="function"&&typeof z!="symbol":Ct(t,e,R,z,a,U));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 it in n)z=n[it],n.hasOwnProperty(it)&&z!=null&&!a.hasOwnProperty(it)&&Ct(t,e,it,null,a,z);for(x in a)if(z=a[x],U=n[x],a.hasOwnProperty(x)&&z!==U&&(z!=null||U!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:Ct(t,e,x,z,a,U)}return;default:if(gs(e)){for(var At in n)z=n[At],n.hasOwnProperty(At)&&z!==void 0&&!a.hasOwnProperty(At)&&lo(t,e,At,void 0,a,z);for(N in a)z=a[N],U=n[N],!a.hasOwnProperty(N)||z===U||z===void 0&&U===void 0||lo(t,e,N,z,a,U);return}}for(var C in n)z=n[C],n.hasOwnProperty(C)&&z!=null&&!a.hasOwnProperty(C)&&Ct(t,e,C,null,a,z);for(H in a)z=a[H],U=n[H],!a.hasOwnProperty(H)||z===U||z==null&&U==null||Ct(t,e,H,z,a,U)}function Dd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function zp(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var u=n[a],c=u.transferSize,f=u.initiatorType,v=u.duration;if(c&&v&&Dd(f)){for(f=0,v=u.responseEnd,a+=1;a<n.length;a++){var R=n[a],x=R.startTime;if(x>v)break;var N=R.transferSize,H=R.initiatorType;N&&Dd(H)&&(R=R.responseEnd,f+=N*(R<v?1:(v-x)/(R-x)))}if(--a,e+=8*(c+f)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var io=null,uo=null;function Du(t){return t.nodeType===9?t:t.ownerDocument}function Ud(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ld(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function so(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var co=null;function Dp(){var t=window.event;return t&&t.type==="popstate"?t===co?!1:(co=t,!0):(co=null,!1)}var wd=typeof setTimeout=="function"?setTimeout:void 0,Up=typeof clearTimeout=="function"?clearTimeout:void 0,Nd=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof Nd<"u"?function(t){return Nd.resolve(null).then(t).catch(wp)}:wd;function wp(t){setTimeout(function(){throw t})}function jn(t){return t==="head"}function Bd(t,e){var n=e,a=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(a===0){t.removeChild(u),ol(e);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")li(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,li(n);for(var c=n.firstChild;c;){var f=c.nextSibling,v=c.nodeName;c[Rl]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=f}}else n==="body"&&li(t.ownerDocument.body);n=u}while(n);ol(e)}function jd(t,e){var n=t;t=0;do{var a=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=a}while(n)}function oo(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":oo(n),ms(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Np(t,e,n,a){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Rl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=we(t.nextSibling),t===null)break}return null}function Bp(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=we(t.nextSibling),t===null))return null;return t}function Hd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=we(t.nextSibling),t===null))return null;return t}function ro(t){return t.data==="$?"||t.data==="$~"}function fo(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function jp(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var a=function(){e(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function we(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var ho=null;function qd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return we(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Qd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Yd(t,e,n){switch(e=Du(n),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function li(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);ms(t)}var Ne=new Map,Gd=new Set;function Uu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var yn=X.d;X.d={f:Hp,r:qp,D:Qp,C:Yp,L:Gp,m:Xp,X:Kp,S:Vp,M:Zp};function Hp(){var t=yn.f(),e=Eu();return t||e}function qp(t){var e=Aa(t);e!==null&&e.tag===5&&e.type==="form"?ih(e):yn.r(t)}var ul=typeof document>"u"?null:document;function Xd(t,e,n){var a=ul;if(a&&typeof e=="string"&&e){var u=Ce(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),Gd.has(u)||(Gd.add(u),t={rel:t,crossOrigin:n,href:e},a.querySelector(u)===null&&(e=a.createElement("link"),ee(e,"link",t),Pt(e),a.head.appendChild(e)))}}function Qp(t){yn.D(t),Xd("dns-prefetch",t,null)}function Yp(t,e){yn.C(t,e),Xd("preconnect",t,e)}function Gp(t,e,n){yn.L(t,e,n);var a=ul;if(a&&t&&e){var u='link[rel="preload"][as="'+Ce(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Ce(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Ce(n.imageSizes)+'"]')):u+='[href="'+Ce(t)+'"]';var c=u;switch(e){case"style":c=sl(t);break;case"script":c=cl(t)}Ne.has(c)||(t=g({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ne.set(c,t),a.querySelector(u)!==null||e==="style"&&a.querySelector(ii(c))||e==="script"&&a.querySelector(ui(c))||(e=a.createElement("link"),ee(e,"link",t),Pt(e),a.head.appendChild(e)))}}function Xp(t,e){yn.m(t,e);var n=ul;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Ce(a)+'"][href="'+Ce(t)+'"]',c=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=cl(t)}if(!Ne.has(c)&&(t=g({rel:"modulepreload",href:t},e),Ne.set(c,t),n.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ui(c)))return}a=n.createElement("link"),ee(a,"link",t),Pt(a),n.head.appendChild(a)}}}function Vp(t,e,n){yn.S(t,e,n);var a=ul;if(a&&t){var u=xa(a).hoistableStyles,c=sl(t);e=e||"default";var f=u.get(c);if(!f){var v={loading:0,preload:null};if(f=a.querySelector(ii(c)))v.loading=5;else{t=g({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ne.get(c))&&mo(t,n);var R=f=a.createElement("link");Pt(R),ee(R,"link",t),R._p=new Promise(function(x,N){R.onload=x,R.onerror=N}),R.addEventListener("load",function(){v.loading|=1}),R.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Lu(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:v},u.set(c,f)}}}function Kp(t,e){yn.X(t,e);var n=ul;if(n&&t){var a=xa(n).hoistableScripts,u=cl(t),c=a.get(u);c||(c=n.querySelector(ui(u)),c||(t=g({src:t,async:!0},e),(e=Ne.get(u))&&yo(t,e),c=n.createElement("script"),Pt(c),ee(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function Zp(t,e){yn.M(t,e);var n=ul;if(n&&t){var a=xa(n).hoistableScripts,u=cl(t),c=a.get(u);c||(c=n.querySelector(ui(u)),c||(t=g({src:t,async:!0,type:"module"},e),(e=Ne.get(u))&&yo(t,e),c=n.createElement("script"),Pt(c),ee(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function Vd(t,e,n,a){var u=(u=ft.current)?Uu(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=sl(n.href),n=xa(u).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=sl(n.href);var c=xa(u).hoistableStyles,f=c.get(t);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,f),(c=u.querySelector(ii(t)))&&!c._p&&(f.instance=c,f.state.loading=5),Ne.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ne.set(t,n),c||Jp(u,t,n,f.state))),e&&a===null)throw Error(o(528,""));return f}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=cl(n),n=xa(u).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function sl(t){return'href="'+Ce(t)+'"'}function ii(t){return'link[rel="stylesheet"]['+t+"]"}function Kd(t){return g({},t,{"data-precedence":t.precedence,precedence:null})}function Jp(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),ee(e,"link",n),Pt(e),t.head.appendChild(e))}function cl(t){return'[src="'+Ce(t)+'"]'}function ui(t){return"script[async]"+t}function Zd(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Ce(n.href)+'"]');if(a)return e.instance=a,Pt(a),a;var u=g({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Pt(a),ee(a,"style",u),Lu(a,n.precedence,t),e.instance=a;case"stylesheet":u=sl(n.href);var c=t.querySelector(ii(u));if(c)return e.state.loading|=4,e.instance=c,Pt(c),c;a=Kd(n),(u=Ne.get(u))&&mo(a,u),c=(t.ownerDocument||t).createElement("link"),Pt(c);var f=c;return f._p=new Promise(function(v,R){f.onload=v,f.onerror=R}),ee(c,"link",a),e.state.loading|=4,Lu(c,n.precedence,t),e.instance=c;case"script":return c=cl(n.src),(u=t.querySelector(ui(c)))?(e.instance=u,Pt(u),u):(a=n,(u=Ne.get(c))&&(a=g({},n),yo(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),Pt(u),ee(u,"link",a),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Lu(a,n.precedence,t));return e.instance}function Lu(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,c=u,f=0;f<a.length;f++){var v=a[f];if(v.dataset.precedence===e)c=v;else if(c!==u)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function mo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function yo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var wu=null;function Jd(t,e,n){if(wu===null){var a=new Map,u=wu=new Map;u.set(n,a)}else u=wu,a=u.get(n),a||(a=new Map,u.set(n,a));if(a.has(t))return a;for(a.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var c=n[u];if(!(c[Rl]||c[Wt]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var f=c.getAttribute(e)||"";f=t+f;var v=a.get(f);v?v.push(c):a.set(f,[c])}}return a}function Pd(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Pp(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Fd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Fp(t,e,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=sl(a.href),c=e.querySelector(ii(u));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Nu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=c,Pt(c);return}c=e.ownerDocument||e,a=Kd(a),(u=Ne.get(u))&&mo(a,u),c=c.createElement("link"),Pt(c);var f=c;f._p=new Promise(function(v,R){f.onload=v,f.onerror=R}),ee(c,"link",a),n.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Nu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var vo=0;function kp(t,e){return t.stylesheets&&t.count===0&&ju(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var a=setTimeout(function(){if(t.stylesheets&&ju(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&vo===0&&(vo=62500*zp());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ju(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>vo?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Nu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ju(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Bu=null;function ju(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Bu=new Map,e.forEach(Wp,t),Bu=null,Nu.call(t))}function Wp(t,e){if(!(e.state.loading&4)){var n=Bu.get(t);if(n)var a=n.get(null);else{n=new Map,Bu.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<u.length;c++){var f=u[c];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(null,a)}u=e.instance,f=u.getAttribute("data-precedence"),c=n.get(f)||a,c===a&&n.set(null,u),n.set(f,u),this.count++,a=Nu.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),c?c.parentNode.insertBefore(u,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var si={$$typeof:G,Provider:null,Consumer:null,_currentValue:at,_currentValue2:at,_threadCount:0};function Ip(t,e,n,a,u,c,f,v,R){this.tag=1,this.containerInfo=t,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=rs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rs(0),this.hiddenUpdates=rs(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=c,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function kd(t,e,n,a,u,c,f,v,R,x,N,H){return t=new Ip(t,e,n,f,R,x,N,H,v),e=1,c===!0&&(e|=24),c=ge(3,null,null,e),t.current=c,c.stateNode=t,e=Ps(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:a,isDehydrated:n,cache:e},Is(c),t}function Wd(t){return t?(t=qa,t):qa}function Id(t,e,n,a,u,c){u=Wd(u),a.context===null?a.context=u:a.pendingContext=u,a=On(e),a.payload={element:n},c=c===void 0?null:c,c!==null&&(a.callback=c),n=Cn(t,a,e),n!==null&&(de(n,t,e),ql(n,t,e))}function $d(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function po(t,e){$d(t,e),(t=t.alternate)&&$d(t,e)}function tm(t){if(t.tag===13||t.tag===31){var e=ea(t,67108864);e!==null&&de(e,t,67108864),po(t,67108864)}}function em(t){if(t.tag===13||t.tag===31){var e=Ee();e=fs(e);var n=ea(t,e);n!==null&&de(n,t,e),po(t,e)}}var Hu=!0;function $p(t,e,n,a){var u=w.T;w.T=null;var c=X.p;try{X.p=2,go(t,e,n,a)}finally{X.p=c,w.T=u}}function tg(t,e,n,a){var u=w.T;w.T=null;var c=X.p;try{X.p=8,go(t,e,n,a)}finally{X.p=c,w.T=u}}function go(t,e,n,a){if(Hu){var u=So(a);if(u===null)ao(t,e,a,qu,n),am(t,a);else if(ng(u,t,e,n,a))a.stopPropagation();else if(am(t,a),e&4&&-1<eg.indexOf(t)){for(;u!==null;){var c=Aa(u);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var f=kn(c.pendingLanes);if(f!==0){var v=c;for(v.pendingLanes|=2,v.entangledLanes|=2;f;){var R=1<<31-ve(f);v.entanglements[1]|=R,f&=~R}Ze(c),(_t&6)===0&&(_u=ne()+500,ei(0))}}break;case 31:case 13:v=ea(c,2),v!==null&&de(v,c,2),Eu(),po(c,2)}if(c=So(a),c===null&&ao(t,e,a,qu,n),c===u)break;u=c}u!==null&&a.stopPropagation()}else ao(t,e,a,null,n)}}function So(t){return t=bs(t),bo(t)}var qu=null;function bo(t){if(qu=null,t=Ca(t),t!==null){var e=h(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=m(e),t!==null)return t;t=null}else if(n===31){if(t=y(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return qu=t,null}function nm(t){switch(t){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(Dt()){case kt:return 2;case Ge:return 8;case Ma:case Yy:return 32;case fr:return 268435456;default:return 32}default:return 32}}var _o=!1,Hn=null,qn=null,Qn=null,ci=new Map,oi=new Map,Yn=[],eg="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 am(t,e){switch(t){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":ci.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":oi.delete(e.pointerId)}}function ri(t,e,n,a,u,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:c,targetContainers:[u]},e!==null&&(e=Aa(e),e!==null&&tm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function ng(t,e,n,a,u){switch(e){case"focusin":return Hn=ri(Hn,t,e,n,a,u),!0;case"dragenter":return qn=ri(qn,t,e,n,a,u),!0;case"mouseover":return Qn=ri(Qn,t,e,n,a,u),!0;case"pointerover":var c=u.pointerId;return ci.set(c,ri(ci.get(c)||null,t,e,n,a,u)),!0;case"gotpointercapture":return c=u.pointerId,oi.set(c,ri(oi.get(c)||null,t,e,n,a,u)),!0}return!1}function lm(t){var e=Ca(t.target);if(e!==null){var n=h(e);if(n!==null){if(e=n.tag,e===13){if(e=m(n),e!==null){t.blockedOn=e,pr(t.priority,function(){em(n)});return}}else if(e===31){if(e=y(n),e!==null){t.blockedOn=e,pr(t.priority,function(){em(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Qu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=So(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);Ss=a,n.target.dispatchEvent(a),Ss=null}else return e=Aa(n),e!==null&&tm(e),t.blockedOn=n,!1;e.shift()}return!0}function im(t,e,n){Qu(t)&&n.delete(e)}function ag(){_o=!1,Hn!==null&&Qu(Hn)&&(Hn=null),qn!==null&&Qu(qn)&&(qn=null),Qn!==null&&Qu(Qn)&&(Qn=null),ci.forEach(im),oi.forEach(im)}function Yu(t,e){t.blockedOn===e&&(t.blockedOn=null,_o||(_o=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,ag)))}var Gu=null;function um(t){Gu!==t&&(Gu=t,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){Gu===t&&(Gu=null);for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1],u=t[e+2];if(typeof a!="function"){if(bo(a||n)===null)continue;break}var c=Aa(n);c!==null&&(t.splice(e,3),e-=3,gc(c,{pending:!0,data:u,method:n.method,action:a},a,u))}}))}function ol(t){function e(R){return Yu(R,t)}Hn!==null&&Yu(Hn,t),qn!==null&&Yu(qn,t),Qn!==null&&Yu(Qn,t),ci.forEach(e),oi.forEach(e);for(var n=0;n<Yn.length;n++){var a=Yn[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Yn.length&&(n=Yn[0],n.blockedOn===null);)lm(n),n.blockedOn===null&&Yn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var u=n[a],c=n[a+1],f=u[se]||null;if(typeof c=="function")f||um(n);else if(f){var v=null;if(c&&c.hasAttribute("formAction")){if(u=c,f=c[se]||null)v=f.formAction;else if(bo(u)!==null)continue}else v=f.action;typeof v=="function"?n[a+1]=v:(n.splice(a,3),a-=3),um(n)}}}function sm(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(f){return u=f})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function Ro(t){this._internalRoot=t}Xu.prototype.render=Ro.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var n=e.current,a=Ee();Id(n,a,t,e,null,null)},Xu.prototype.unmount=Ro.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Id(t.current,2,null,t,null,null),Eu(),e[Oa]=null}};function Xu(t){this._internalRoot=t}Xu.prototype.unstable_scheduleHydration=function(t){if(t){var e=vr();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Yn.length&&e!==0&&e<Yn[n].priority;n++);Yn.splice(n,0,t),n===0&&lm(t)}};var cm=i.version;if(cm!=="19.2.0")throw Error(o(527,cm,"19.2.0"));X.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=d(e),t=t!==null?S(t):null,t=t===null?null:t.stateNode,t};var lg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:w,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vu.isDisabled&&Vu.supportsFiber)try{Sl=Vu.inject(lg),ye=Vu}catch{}}return hi.createRoot=function(t,e){if(!r(t))throw Error(o(299));var n=!1,a="",u=yh,c=vh,f=ph;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError)),e=kd(t,1,!1,null,null,n,a,null,u,c,f,sm),t[Oa]=e.current,no(t),new Ro(e)},hi.hydrateRoot=function(t,e,n){if(!r(t))throw Error(o(299));var a=!1,u="",c=yh,f=vh,v=ph,R=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(R=n.formState)),e=kd(t,1,!0,e,n??null,a,u,R,c,f,v,sm),e.context=Wd(null),n=e.current,a=Ee(),a=fs(a),u=On(a),u.callback=null,Cn(n,u,a),n=a,e.current.lanes=n,_l(e,n),Ze(e),t[Oa]=e.current,no(t),new Xu(e)},hi.version="19.2.0",hi}var gm;function mg(){if(gm)return Mo.exports;gm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Mo.exports=dg(),Mo.exports}var ZS=mg(),yl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(l){return this.listeners.add(l),this.onSubscribe(),()=>{this.listeners.delete(l),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yg=class extends yl{#t;#e;#n;constructor(){super(),this.#n=l=>{if(typeof window<"u"&&window.addEventListener){const i=()=>l();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(l){this.#n=l,this.#e?.(),this.#e=l(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(l){this.#t!==l&&(this.#t=l,this.onFocus())}onFocus(){const l=this.isFocused();this.listeners.forEach(i=>{i(l)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},tr=new yg,vg={setTimeout:(l,i)=>setTimeout(l,i),clearTimeout:l=>clearTimeout(l),setInterval:(l,i)=>setInterval(l,i),clearInterval:l=>clearInterval(l)},pg=class{#t=vg;#e=!1;setTimeoutProvider(l){this.#t=l}setTimeout(l,i){return this.#t.setTimeout(l,i)}clearTimeout(l){this.#t.clearTimeout(l)}setInterval(l,i){return this.#t.setInterval(l,i)}clearInterval(l){this.#t.clearInterval(l)}},ya=new pg;function gg(l){setTimeout(l,0)}var Sg=typeof window>"u"||"Deno"in globalThis;function ue(){}function bg(l,i){return typeof l=="function"?l(i):l}function Go(l){return typeof l=="number"&&l>=0&&l!==1/0}function ny(l,i){return Math.max(l+(i||0)-Date.now(),0)}function Zn(l,i){return typeof l=="function"?l(i):l}function Te(l,i){return typeof l=="function"?l(i):l}function Sm(l,i){const{type:s="all",exact:o,fetchStatus:r,predicate:h,queryKey:m,stale:y}=l;if(m){if(o){if(i.queryHash!==er(m,i.options))return!1}else if(!bi(i.queryKey,m))return!1}if(s!=="all"){const p=i.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||r&&r!==i.state.fetchStatus||h&&!h(i))}function bm(l,i){const{exact:s,status:o,predicate:r,mutationKey:h}=l;if(h){if(!i.options.mutationKey)return!1;if(s){if(Ra(i.options.mutationKey)!==Ra(h))return!1}else if(!bi(i.options.mutationKey,h))return!1}return!(o&&i.state.status!==o||r&&!r(i))}function er(l,i){return(i?.queryKeyHashFn||Ra)(l)}function Ra(l){return JSON.stringify(l,(i,s)=>Xo(s)?Object.keys(s).sort().reduce((o,r)=>(o[r]=s[r],o),{}):s)}function bi(l,i){return l===i?!0:typeof l!=typeof i?!1:l&&i&&typeof l=="object"&&typeof i=="object"?Object.keys(i).every(s=>bi(l[s],i[s])):!1}var _g=Object.prototype.hasOwnProperty;function ay(l,i,s=0){if(l===i)return l;if(s>500)return i;const o=_m(l)&&_m(i);if(!o&&!(Xo(l)&&Xo(i)))return i;const h=(o?l:Object.keys(l)).length,m=o?i:Object.keys(i),y=m.length,p=o?new Array(y):{};let d=0;for(let S=0;S<y;S++){const g=o?S:m[S],b=l[g],_=i[g];if(b===_){p[g]=b,(o?S<h:_g.call(l,g))&&d++;continue}if(b===null||_===null||typeof b!="object"||typeof _!="object"){p[g]=_;continue}const E=ay(b,_,s+1);p[g]=E,E===b&&d++}return h===y&&d===h?l:p}function Iu(l,i){if(!i||Object.keys(l).length!==Object.keys(i).length)return!1;for(const s in l)if(l[s]!==i[s])return!1;return!0}function _m(l){return Array.isArray(l)&&l.length===Object.keys(l).length}function Xo(l){if(!Rm(l))return!1;const i=l.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!Rm(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(l)!==Object.prototype)}function Rm(l){return Object.prototype.toString.call(l)==="[object Object]"}function Rg(l){return new Promise(i=>{ya.setTimeout(i,l)})}function Vo(l,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(l,i):s.structuralSharing!==!1?ay(l,i):i}function Eg(l,i,s=0){const o=[...l,i];return s&&o.length>s?o.slice(1):o}function Tg(l,i,s=0){const o=[i,...l];return s&&o.length>s?o.slice(0,-1):o}var nr=Symbol();function ly(l,i){return!l.queryFn&&i?.initialPromise?()=>i.initialPromise:!l.queryFn||l.queryFn===nr?()=>Promise.reject(new Error(`Missing queryFn: '${l.queryHash}'`)):l.queryFn}function ar(l,i){return typeof l=="function"?l(...i):!!l}function Mg(l,i,s){let o=!1,r;return Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(r??=i(),o||(o=!0,r.aborted?s():r.addEventListener("abort",s,{once:!0})),r)}),l}var _i=(()=>{let l=()=>Sg;return{isServer(){return l()},setIsServer(i){l=i}}})();function Ko(){let l,i;const s=new Promise((r,h)=>{l=r,i=h});s.status="pending",s.catch(()=>{});function o(r){Object.assign(s,r),delete s.resolve,delete s.reject}return s.resolve=r=>{o({status:"fulfilled",value:r}),l(r)},s.reject=r=>{o({status:"rejected",reason:r}),i(r)},s}var Og=gg;function Cg(){let l=[],i=0,s=y=>{y()},o=y=>{y()},r=Og;const h=y=>{i?l.push(y):r(()=>{s(y)})},m=()=>{const y=l;l=[],y.length&&r(()=>{o(()=>{y.forEach(p=>{s(p)})})})};return{batch:y=>{let p;i++;try{p=y()}finally{i--,i||m()}return p},batchCalls:y=>(...p)=>{h(()=>{y(...p)})},schedule:h,setNotifyFunction:y=>{s=y},setBatchNotifyFunction:y=>{o=y},setScheduler:y=>{r=y}}}var Jt=Cg(),Ag=class extends yl{#t=!0;#e;#n;constructor(){super(),this.#n=l=>{if(typeof window<"u"&&window.addEventListener){const i=()=>l(!0),s=()=>l(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(l){this.#n=l,this.#e?.(),this.#e=l(this.setOnline.bind(this))}setOnline(l){this.#t!==l&&(this.#t=l,this.listeners.forEach(s=>{s(l)}))}isOnline(){return this.#t}},$u=new Ag;function xg(l){return Math.min(1e3*2**l,3e4)}function iy(l){return(l??"online")==="online"?$u.isOnline():!0}var Zo=class extends Error{constructor(l){super("CancelledError"),this.revert=l?.revert,this.silent=l?.silent}};function uy(l){let i=!1,s=0,o;const r=Ko(),h=()=>r.status!=="pending",m=O=>{if(!h()){const L=new Zo(O);b(L),l.onCancel?.(L)}},y=()=>{i=!0},p=()=>{i=!1},d=()=>tr.isFocused()&&(l.networkMode==="always"||$u.isOnline())&&l.canRun(),S=()=>iy(l.networkMode)&&l.canRun(),g=O=>{h()||(o?.(),r.resolve(O))},b=O=>{h()||(o?.(),r.reject(O))},_=()=>new Promise(O=>{o=L=>{(h()||d())&&O(L)},l.onPause?.()}).then(()=>{o=void 0,h()||l.onContinue?.()}),E=()=>{if(h())return;let O;const L=s===0?l.initialPromise:void 0;try{O=L??l.fn()}catch(D){O=Promise.reject(D)}Promise.resolve(O).then(g).catch(D=>{if(h())return;const Q=l.retry??(_i.isServer()?0:3),G=l.retryDelay??xg,Y=typeof G=="function"?G(s,D):G,$=Q===!0||typeof Q=="number"&&s<Q||typeof Q=="function"&&Q(s,D);if(i||!$){b(D);return}s++,l.onFail?.(s,D),Rg(Y).then(()=>d()?void 0:_()).then(()=>{i?b(D):E()})})};return{promise:r,status:()=>r.status,cancel:m,continue:()=>(o?.(),r),cancelRetry:y,continueRetry:p,canStart:S,start:()=>(S()?E():_().then(E),r)}}var sy=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Go(this.gcTime)&&(this.#t=ya.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(l){this.gcTime=Math.max(this.gcTime||0,l??(_i.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(ya.clearTimeout(this.#t),this.#t=void 0)}},zg=class extends sy{#t;#e;#n;#l;#a;#i;#u;constructor(l){super(),this.#u=!1,this.#i=l.defaultOptions,this.setOptions(l.options),this.observers=[],this.#l=l.client,this.#n=this.#l.getQueryCache(),this.queryKey=l.queryKey,this.queryHash=l.queryHash,this.#t=Tm(this.options),this.state=l.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(l){if(this.options={...this.#i,...l},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Tm(this.options);i.data!==void 0&&(this.setState(Em(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(l,i){const s=Vo(this.state.data,l,this.options);return this.#c({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(l,i){this.#c({type:"setState",state:l,setStateOptions:i})}cancel(l){const i=this.#a?.promise;return this.#a?.cancel(l),i?i.then(ue).catch(ue):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(l=>Te(l.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nr||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(l=>Zn(l.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(l=>l.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(l=0){return this.state.data===void 0?!0:l==="static"?!1:this.state.isInvalidated?!0:!ny(this.state.dataUpdatedAt,l)}onFocus(){this.observers.find(i=>i.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(i=>i.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(l){this.observers.includes(l)||(this.observers.push(l),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:l}))}removeObserver(l){this.observers.includes(l)&&(this.observers=this.observers.filter(i=>i!==l),this.observers.length||(this.#a&&(this.#u||this.#s()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:l}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#c({type:"invalidate"})}async fetch(l,i){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(l&&this.setOptions(l),!this.options.queryFn){const y=this.observers.find(p=>p.options.queryFn);y&&this.setOptions(y.options)}const s=new AbortController,o=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(this.#u=!0,s.signal)})},r=()=>{const y=ly(this.options,i),d=(()=>{const S={client:this.#l,queryKey:this.queryKey,meta:this.meta};return o(S),S})();return this.#u=!1,this.options.persister?this.options.persister(y,d,this):y(d)},m=(()=>{const y={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:r};return o(y),y})();this.options.behavior?.onFetch(m,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==m.fetchOptions?.meta)&&this.#c({type:"fetch",meta:m.fetchOptions?.meta}),this.#a=uy({initialPromise:i?.initialPromise,fn:m.fetchFn,onCancel:y=>{y instanceof Zo&&y.revert&&this.setState({...this.#e,fetchStatus:"idle"}),s.abort()},onFail:(y,p)=>{this.#c({type:"failed",failureCount:y,error:p})},onPause:()=>{this.#c({type:"pause"})},onContinue:()=>{this.#c({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0});try{const y=await this.#a.start();if(y===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(y),this.#n.config.onSuccess?.(y,this),this.#n.config.onSettled?.(y,this.state.error,this),y}catch(y){if(y instanceof Zo){if(y.silent)return this.#a.promise;if(y.revert){if(this.state.data===void 0)throw y;return this.state.data}}throw this.#c({type:"error",error:y}),this.#n.config.onError?.(y,this),this.#n.config.onSettled?.(this.state.data,y,this),y}finally{this.scheduleGc()}}#c(l){const i=s=>{switch(l.type){case"failed":return{...s,fetchFailureCount:l.failureCount,fetchFailureReason:l.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...cy(s.data,this.options),fetchMeta:l.meta??null};case"success":const o={...s,...Em(l.data,l.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!l.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=l.manual?o:void 0,o;case"error":const r=l.error;return{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...l.state}}};this.state=i(this.state),Jt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:l})})}};function cy(l,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:iy(i.networkMode)?"fetching":"paused",...l===void 0&&{error:null,status:"pending"}}}function Em(l,i){return{data:l,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Tm(l){const i=typeof l.initialData=="function"?l.initialData():l.initialData,s=i!==void 0,o=s?typeof l.initialDataUpdatedAt=="function"?l.initialDataUpdatedAt():l.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var oy=class extends yl{constructor(l,i){super(),this.options=i,this.#t=l,this.#s=null,this.#u=Ko(),this.bindMethods(),this.setOptions(i)}#t;#e=void 0;#n=void 0;#l=void 0;#a;#i;#u;#s;#c;#d;#m;#r;#f;#o;#y=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),Mm(this.#e,this.options)?this.#h():this.updateResult(),this.#S())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Jo(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Jo(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#_(),this.#e.removeObserver(this)}setOptions(l){const i=this.options,s=this.#e;if(this.options=this.#t.defaultQueryOptions(l),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Te(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#e.setOptions(this.options),i._defaulted&&!Iu(this.options,i)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&Om(this.#e,s,this.options,i)&&this.#h(),this.updateResult(),o&&(this.#e!==s||Te(this.options.enabled,this.#e)!==Te(i.enabled,this.#e)||Zn(this.options.staleTime,this.#e)!==Zn(i.staleTime,this.#e))&&this.#v();const r=this.#p();o&&(this.#e!==s||Te(this.options.enabled,this.#e)!==Te(i.enabled,this.#e)||r!==this.#o)&&this.#g(r)}getOptimisticResult(l){const i=this.#t.getQueryCache().build(this.#t,l),s=this.createResult(i,l);return Ug(this,s)&&(this.#l=s,this.#i=this.options,this.#a=this.#e.state),s}getCurrentResult(){return this.#l}trackResult(l,i){return new Proxy(l,{get:(s,o)=>(this.trackProp(o),i?.(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#u.status==="pending"&&this.#u.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,o))})}trackProp(l){this.#y.add(l)}getCurrentQuery(){return this.#e}refetch({...l}={}){return this.fetch({...l})}fetchOptimistic(l){const i=this.#t.defaultQueryOptions(l),s=this.#t.getQueryCache().build(this.#t,i);return s.fetch().then(()=>this.createResult(s,i))}fetch(l){return this.#h({...l,cancelRefetch:l.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#l))}#h(l){this.#R();let i=this.#e.fetch(this.options,l);return l?.throwOnError||(i=i.catch(ue)),i}#v(){this.#b();const l=Zn(this.options.staleTime,this.#e);if(_i.isServer()||this.#l.isStale||!Go(l))return;const s=ny(this.#l.dataUpdatedAt,l)+1;this.#r=ya.setTimeout(()=>{this.#l.isStale||this.updateResult()},s)}#p(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#g(l){this.#_(),this.#o=l,!(_i.isServer()||Te(this.options.enabled,this.#e)===!1||!Go(this.#o)||this.#o===0)&&(this.#f=ya.setInterval(()=>{(this.options.refetchIntervalInBackground||tr.isFocused())&&this.#h()},this.#o))}#S(){this.#v(),this.#g(this.#p())}#b(){this.#r!==void 0&&(ya.clearTimeout(this.#r),this.#r=void 0)}#_(){this.#f!==void 0&&(ya.clearInterval(this.#f),this.#f=void 0)}createResult(l,i){const s=this.#e,o=this.options,r=this.#l,h=this.#a,m=this.#i,p=l!==s?l.state:this.#n,{state:d}=l;let S={...d},g=!1,b;if(i._optimisticResults){const V=this.hasListeners(),K=!V&&Mm(l,i),et=V&&Om(l,s,i,o);(K||et)&&(S={...S,...cy(d.data,l.options)}),i._optimisticResults==="isRestoring"&&(S.fetchStatus="idle")}let{error:_,errorUpdatedAt:E,status:O}=S;b=S.data;let L=!1;if(i.placeholderData!==void 0&&b===void 0&&O==="pending"){let V;r?.isPlaceholderData&&i.placeholderData===m?.placeholderData?(V=r.data,L=!0):V=typeof i.placeholderData=="function"?i.placeholderData(this.#m?.state.data,this.#m):i.placeholderData,V!==void 0&&(O="success",b=Vo(r?.data,V,i),g=!0)}if(i.select&&b!==void 0&&!L)if(r&&b===h?.data&&i.select===this.#c)b=this.#d;else try{this.#c=i.select,b=i.select(b),b=Vo(r?.data,b,i),this.#d=b,this.#s=null}catch(V){this.#s=V}this.#s&&(_=this.#s,b=this.#d,E=Date.now(),O="error");const D=S.fetchStatus==="fetching",Q=O==="pending",G=O==="error",Y=Q&&D,$=b!==void 0,q={status:O,fetchStatus:S.fetchStatus,isPending:Q,isSuccess:O==="success",isError:G,isInitialLoading:Y,isLoading:Y,data:b,dataUpdatedAt:S.dataUpdatedAt,error:_,errorUpdatedAt:E,failureCount:S.fetchFailureCount,failureReason:S.fetchFailureReason,errorUpdateCount:S.errorUpdateCount,isFetched:l.isFetched(),isFetchedAfterMount:S.dataUpdateCount>p.dataUpdateCount||S.errorUpdateCount>p.errorUpdateCount,isFetching:D,isRefetching:D&&!Q,isLoadingError:G&&!$,isPaused:S.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:G&&$,isStale:lr(l,i),refetch:this.refetch,promise:this.#u,isEnabled:Te(i.enabled,l)!==!1};if(this.options.experimental_prefetchInRender){const V=q.data!==void 0,K=q.status==="error"&&!V,et=rt=>{K?rt.reject(q.error):V&&rt.resolve(q.data)},F=()=>{const rt=this.#u=q.promise=Ko();et(rt)},ut=this.#u;switch(ut.status){case"pending":l.queryHash===s.queryHash&&et(ut);break;case"fulfilled":(K||q.data!==ut.value)&&F();break;case"rejected":(!K||q.error!==ut.reason)&&F();break}}return q}updateResult(){const l=this.#l,i=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#m=this.#e),Iu(i,l))return;this.#l=i;const s=()=>{if(!l)return!0;const{notifyOnChangeProps:o}=this.options,r=typeof o=="function"?o():o;if(r==="all"||!r&&!this.#y.size)return!0;const h=new Set(r??this.#y);return this.options.throwOnError&&h.add("error"),Object.keys(this.#l).some(m=>{const y=m;return this.#l[y]!==l[y]&&h.has(y)})};this.#E({listeners:s()})}#R(){const l=this.#t.getQueryCache().build(this.#t,this.options);if(l===this.#e)return;const i=this.#e;this.#e=l,this.#n=l.state,this.hasListeners()&&(i?.removeObserver(this),l.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#S()}#E(l){Jt.batch(()=>{l.listeners&&this.listeners.forEach(i=>{i(this.#l)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function Dg(l,i){return Te(i.enabled,l)!==!1&&l.state.data===void 0&&!(l.state.status==="error"&&Te(i.retryOnMount,l)===!1)}function Mm(l,i){return Dg(l,i)||l.state.data!==void 0&&Jo(l,i,i.refetchOnMount)}function Jo(l,i,s){if(Te(i.enabled,l)!==!1&&Zn(i.staleTime,l)!=="static"){const o=typeof s=="function"?s(l):s;return o==="always"||o!==!1&&lr(l,i)}return!1}function Om(l,i,s,o){return(l!==i||Te(o.enabled,l)===!1)&&(!s.suspense||l.state.status!=="error")&&lr(l,s)}function lr(l,i){return Te(i.enabled,l)!==!1&&l.isStaleByTime(Zn(i.staleTime,l))}function Ug(l,i){return!Iu(l.getCurrentResult(),i)}function ts(l){return{onFetch:(i,s)=>{const o=i.options,r=i.fetchOptions?.meta?.fetchMore?.direction,h=i.state.data?.pages||[],m=i.state.data?.pageParams||[];let y={pages:[],pageParams:[]},p=0;const d=async()=>{let S=!1;const g=E=>{Mg(E,()=>i.signal,()=>S=!0)},b=ly(i.options,i.fetchOptions),_=async(E,O,L)=>{if(S)return Promise.reject();if(O==null&&E.pages.length)return Promise.resolve(E);const Q=(()=>{const J={client:i.client,queryKey:i.queryKey,pageParam:O,direction:L?"backward":"forward",meta:i.options.meta};return g(J),J})(),G=await b(Q),{maxPages:Y}=i.options,$=L?Tg:Eg;return{pages:$(E.pages,G,Y),pageParams:$(E.pageParams,O,Y)}};if(r&&h.length){const E=r==="backward",O=E?ry:Po,L={pages:h,pageParams:m},D=O(o,L);y=await _(L,D,E)}else{const E=l??h.length;do{const O=p===0?m[0]??o.initialPageParam:Po(o,y);if(p>0&&O==null)break;y=await _(y,O),p++}while(p<E)}return y};i.options.persister?i.fetchFn=()=>i.options.persister?.(d,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=d}}}function Po(l,{pages:i,pageParams:s}){const o=i.length-1;return i.length>0?l.getNextPageParam(i[o],i,s[o],s):void 0}function ry(l,{pages:i,pageParams:s}){return i.length>0?l.getPreviousPageParam?.(i[0],i,s[0],s):void 0}function Lg(l,i){return i?Po(l,i)!=null:!1}function wg(l,i){return!i||!l.getPreviousPageParam?!1:ry(l,i)!=null}var Ng=class extends oy{constructor(l,i){super(l,i)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(l){super.setOptions({...l,behavior:ts()})}getOptimisticResult(l){return l.behavior=ts(),super.getOptimisticResult(l)}fetchNextPage(l){return this.fetch({...l,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(l){return this.fetch({...l,meta:{fetchMore:{direction:"backward"}}})}createResult(l,i){const{state:s}=l,o=super.createResult(l,i),{isFetching:r,isRefetching:h,isError:m,isRefetchError:y}=o,p=s.fetchMeta?.fetchMore?.direction,d=m&&p==="forward",S=r&&p==="forward",g=m&&p==="backward",b=r&&p==="backward";return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Lg(i,s.data),hasPreviousPage:wg(i,s.data),isFetchNextPageError:d,isFetchingNextPage:S,isFetchPreviousPageError:g,isFetchingPreviousPage:b,isRefetchError:y&&!d&&!g,isRefetching:h&&!S&&!b}}},Bg=class extends sy{#t;#e;#n;#l;constructor(l){super(),this.#t=l.client,this.mutationId=l.mutationId,this.#n=l.mutationCache,this.#e=[],this.state=l.state||fy(),this.setOptions(l.options),this.scheduleGc()}setOptions(l){this.options=l,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(l){this.#e.includes(l)||(this.#e.push(l),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:l}))}removeObserver(l){this.#e=this.#e.filter(i=>i!==l),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:l})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(l){const i=()=>{this.#a({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=uy({fn:()=>this.options.mutationFn?this.options.mutationFn(l,s):Promise.reject(new Error("No mutationFn found")),onFail:(h,m)=>{this.#a({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const o=this.state.status==="pending",r=!this.#l.canStart();try{if(o)i();else{this.#a({type:"pending",variables:l,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(l,this,s);const m=await this.options.onMutate?.(l,s);m!==this.state.context&&this.#a({type:"pending",context:m,variables:l,isPaused:r})}const h=await this.#l.start();return await this.#n.config.onSuccess?.(h,l,this.state.context,this,s),await this.options.onSuccess?.(h,l,this.state.context,s),await this.#n.config.onSettled?.(h,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(h,null,l,this.state.context,s),this.#a({type:"success",data:h}),h}catch(h){try{await this.#n.config.onError?.(h,l,this.state.context,this,s)}catch(m){Promise.reject(m)}try{await this.options.onError?.(h,l,this.state.context,s)}catch(m){Promise.reject(m)}try{await this.#n.config.onSettled?.(void 0,h,this.state.variables,this.state.context,this,s)}catch(m){Promise.reject(m)}try{await this.options.onSettled?.(void 0,h,l,this.state.context,s)}catch(m){Promise.reject(m)}throw this.#a({type:"error",error:h}),h}finally{this.#n.runNext(this)}}#a(l){const i=s=>{switch(l.type){case"failed":return{...s,failureCount:l.failureCount,failureReason:l.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:l.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:l.isPaused,status:"pending",variables:l.variables,submittedAt:Date.now()};case"success":return{...s,data:l.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:l.error,failureCount:s.failureCount+1,failureReason:l.error,isPaused:!1,status:"error"}}};this.state=i(this.state),Jt.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(l)}),this.#n.notify({mutation:this,type:"updated",action:l})})}};function fy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jg=class extends yl{constructor(l={}){super(),this.config=l,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(l,i,s){const o=new Bg({client:l,mutationCache:this,mutationId:++this.#n,options:l.defaultMutationOptions(i),state:s});return this.add(o),o}add(l){this.#t.add(l);const i=Ku(l);if(typeof i=="string"){const s=this.#e.get(i);s?s.push(l):this.#e.set(i,[l])}this.notify({type:"added",mutation:l})}remove(l){if(this.#t.delete(l)){const i=Ku(l);if(typeof i=="string"){const s=this.#e.get(i);if(s)if(s.length>1){const o=s.indexOf(l);o!==-1&&s.splice(o,1)}else s[0]===l&&this.#e.delete(i)}}this.notify({type:"removed",mutation:l})}canRun(l){const i=Ku(l);if(typeof i=="string"){const o=this.#e.get(i)?.find(r=>r.state.status==="pending");return!o||o===l}else return!0}runNext(l){const i=Ku(l);return typeof i=="string"?this.#e.get(i)?.find(o=>o!==l&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Jt.batch(()=>{this.#t.forEach(l=>{this.notify({type:"removed",mutation:l})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(l){const i={exact:!0,...l};return this.getAll().find(s=>bm(i,s))}findAll(l={}){return this.getAll().filter(i=>bm(l,i))}notify(l){Jt.batch(()=>{this.listeners.forEach(i=>{i(l)})})}resumePausedMutations(){const l=this.getAll().filter(i=>i.state.isPaused);return Jt.batch(()=>Promise.all(l.map(i=>i.continue().catch(ue))))}};function Ku(l){return l.options.scope?.id}var Hg=class extends yl{#t;#e=void 0;#n;#l;constructor(l,i){super(),this.#t=l,this.setOptions(i),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(l){const i=this.options;this.options=this.#t.defaultMutationOptions(l),Iu(this.options,i)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),i?.mutationKey&&this.options.mutationKey&&Ra(i.mutationKey)!==Ra(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(l){this.#a(),this.#i(l)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(l,i){return this.#l=i,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(l)}#a(){const l=this.#n?.state??fy();this.#e={...l,isPending:l.status==="pending",isSuccess:l.status==="success",isError:l.status==="error",isIdle:l.status==="idle",mutate:this.mutate,reset:this.reset}}#i(l){Jt.batch(()=>{if(this.#l&&this.hasListeners()){const i=this.#e.variables,s=this.#e.context,o={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(l?.type==="success"){try{this.#l.onSuccess?.(l.data,i,s,o)}catch(r){Promise.reject(r)}try{this.#l.onSettled?.(l.data,null,i,s,o)}catch(r){Promise.reject(r)}}else if(l?.type==="error"){try{this.#l.onError?.(l.error,i,s,o)}catch(r){Promise.reject(r)}try{this.#l.onSettled?.(void 0,l.error,i,s,o)}catch(r){Promise.reject(r)}}}this.listeners.forEach(i=>{i(this.#e)})})}},qg=class extends yl{constructor(l={}){super(),this.config=l,this.#t=new Map}#t;build(l,i,s){const o=i.queryKey,r=i.queryHash??er(o,i);let h=this.get(r);return h||(h=new zg({client:l,queryKey:o,queryHash:r,options:l.defaultQueryOptions(i),state:s,defaultOptions:l.getQueryDefaults(o)}),this.add(h)),h}add(l){this.#t.has(l.queryHash)||(this.#t.set(l.queryHash,l),this.notify({type:"added",query:l}))}remove(l){const i=this.#t.get(l.queryHash);i&&(l.destroy(),i===l&&this.#t.delete(l.queryHash),this.notify({type:"removed",query:l}))}clear(){Jt.batch(()=>{this.getAll().forEach(l=>{this.remove(l)})})}get(l){return this.#t.get(l)}getAll(){return[...this.#t.values()]}find(l){const i={exact:!0,...l};return this.getAll().find(s=>Sm(i,s))}findAll(l={}){const i=this.getAll();return Object.keys(l).length>0?i.filter(s=>Sm(l,s)):i}notify(l){Jt.batch(()=>{this.listeners.forEach(i=>{i(l)})})}onFocus(){Jt.batch(()=>{this.getAll().forEach(l=>{l.onFocus()})})}onOnline(){Jt.batch(()=>{this.getAll().forEach(l=>{l.onOnline()})})}},JS=class{#t;#e;#n;#l;#a;#i;#u;#s;constructor(l={}){this.#t=l.queryCache||new qg,this.#e=l.mutationCache||new jg,this.#n=l.defaultOptions||{},this.#l=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#u=tr.subscribe(async l=>{l&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=$u.subscribe(async l=>{l&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#u?.(),this.#u=void 0,this.#s?.(),this.#s=void 0)}isFetching(l){return this.#t.findAll({...l,fetchStatus:"fetching"}).length}isMutating(l){return this.#e.findAll({...l,status:"pending"}).length}getQueryData(l){const i=this.defaultQueryOptions({queryKey:l});return this.#t.get(i.queryHash)?.state.data}ensureQueryData(l){const i=this.defaultQueryOptions(l),s=this.#t.build(this,i),o=s.state.data;return o===void 0?this.fetchQuery(l):(l.revalidateIfStale&&s.isStaleByTime(Zn(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(o))}getQueriesData(l){return this.#t.findAll(l).map(({queryKey:i,state:s})=>{const o=s.data;return[i,o]})}setQueryData(l,i,s){const o=this.defaultQueryOptions({queryKey:l}),h=this.#t.get(o.queryHash)?.state.data,m=bg(i,h);if(m!==void 0)return this.#t.build(this,o).setData(m,{...s,manual:!0})}setQueriesData(l,i,s){return Jt.batch(()=>this.#t.findAll(l).map(({queryKey:o})=>[o,this.setQueryData(o,i,s)]))}getQueryState(l){const i=this.defaultQueryOptions({queryKey:l});return this.#t.get(i.queryHash)?.state}removeQueries(l){const i=this.#t;Jt.batch(()=>{i.findAll(l).forEach(s=>{i.remove(s)})})}resetQueries(l,i){const s=this.#t;return Jt.batch(()=>(s.findAll(l).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...l},i)))}cancelQueries(l,i={}){const s={revert:!0,...i},o=Jt.batch(()=>this.#t.findAll(l).map(r=>r.cancel(s)));return Promise.all(o).then(ue).catch(ue)}invalidateQueries(l,i={}){return Jt.batch(()=>(this.#t.findAll(l).forEach(s=>{s.invalidate()}),l?.refetchType==="none"?Promise.resolve():this.refetchQueries({...l,type:l?.refetchType??l?.type??"active"},i)))}refetchQueries(l,i={}){const s={...i,cancelRefetch:i.cancelRefetch??!0},o=Jt.batch(()=>this.#t.findAll(l).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let h=r.fetch(void 0,s);return s.throwOnError||(h=h.catch(ue)),r.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(o).then(ue)}fetchQuery(l){const i=this.defaultQueryOptions(l);i.retry===void 0&&(i.retry=!1);const s=this.#t.build(this,i);return s.isStaleByTime(Zn(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(l){return this.fetchQuery(l).then(ue).catch(ue)}fetchInfiniteQuery(l){return l.behavior=ts(l.pages),this.fetchQuery(l)}prefetchInfiniteQuery(l){return this.fetchInfiniteQuery(l).then(ue).catch(ue)}ensureInfiniteQueryData(l){return l.behavior=ts(l.pages),this.ensureQueryData(l)}resumePausedMutations(){return $u.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(l){this.#n=l}setQueryDefaults(l,i){this.#l.set(Ra(l),{queryKey:l,defaultOptions:i})}getQueryDefaults(l){const i=[...this.#l.values()],s={};return i.forEach(o=>{bi(l,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(l,i){this.#a.set(Ra(l),{mutationKey:l,defaultOptions:i})}getMutationDefaults(l){const i=[...this.#a.values()],s={};return i.forEach(o=>{bi(l,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(l){if(l._defaulted)return l;const i={...this.#n.queries,...this.getQueryDefaults(l.queryKey),...l,_defaulted:!0};return i.queryHash||(i.queryHash=er(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===nr&&(i.enabled=!1),i}defaultMutationOptions(l){return l?._defaulted?l:{...this.#n.mutations,...l?.mutationKey&&this.getMutationDefaults(l.mutationKey),...l,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},hy=W.createContext(void 0),dy=l=>{const i=W.useContext(hy);if(!i)throw new Error("No QueryClient set, use QueryClientProvider to set one");return i},PS=({client:l,children:i})=>(W.useEffect(()=>(l.mount(),()=>{l.unmount()}),[l]),lt.jsx(hy.Provider,{value:l,children:i})),my=W.createContext(!1),Qg=()=>W.useContext(my);my.Provider;function Yg(){let l=!1;return{clearReset:()=>{l=!1},reset:()=>{l=!0},isReset:()=>l}}var Gg=W.createContext(Yg()),Xg=()=>W.useContext(Gg),Vg=(l,i,s)=>{const o=s?.state.error&&typeof l.throwOnError=="function"?ar(l.throwOnError,[s.state.error,s]):l.throwOnError;(l.suspense||l.experimental_prefetchInRender||o)&&(i.isReset()||(l.retryOnMount=!1))},Kg=l=>{W.useEffect(()=>{l.clearReset()},[l])},Zg=({result:l,errorResetBoundary:i,throwOnError:s,query:o,suspense:r})=>l.isError&&!i.isReset()&&!l.isFetching&&o&&(r&&l.data===void 0||ar(s,[l.error,o])),Jg=l=>{if(l.suspense){const s=r=>r==="static"?r:Math.max(r??1e3,1e3),o=l.staleTime;l.staleTime=typeof o=="function"?(...r)=>s(o(...r)):s(o),typeof l.gcTime=="number"&&(l.gcTime=Math.max(l.gcTime,1e3))}},Pg=(l,i)=>l.isLoading&&l.isFetching&&!i,Fg=(l,i)=>l?.suspense&&i.isPending,Cm=(l,i,s)=>i.fetchOptimistic(l).catch(()=>{s.clearReset()});function yy(l,i,s){const o=Qg(),r=Xg(),h=dy(),m=h.defaultQueryOptions(l);h.getDefaultOptions().queries?._experimental_beforeQuery?.(m);const y=h.getQueryCache().get(m.queryHash);m._optimisticResults=o?"isRestoring":"optimistic",Jg(m),Vg(m,r,y),Kg(r);const p=!h.getQueryCache().get(m.queryHash),[d]=W.useState(()=>new i(h,m)),S=d.getOptimisticResult(m),g=!o&&l.subscribed!==!1;if(W.useSyncExternalStore(W.useCallback(b=>{const _=g?d.subscribe(Jt.batchCalls(b)):ue;return d.updateResult(),_},[d,g]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),W.useEffect(()=>{d.setOptions(m)},[m,d]),Fg(m,S))throw Cm(m,d,r);if(Zg({result:S,errorResetBoundary:r,throwOnError:m.throwOnError,query:y,suspense:m.suspense}))throw S.error;return h.getDefaultOptions().queries?._experimental_afterQuery?.(m,S),m.experimental_prefetchInRender&&!_i.isServer()&&Pg(S,o)&&(p?Cm(m,d,r):y?.promise)?.catch(ue).finally(()=>{d.updateResult()}),m.notifyOnChangeProps?S:d.trackResult(S)}function FS(l,i){return yy(l,oy)}function kS(l,i){const s=dy(),[o]=W.useState(()=>new Hg(s,l));W.useEffect(()=>{o.setOptions(l)},[o,l]);const r=W.useSyncExternalStore(W.useCallback(m=>o.subscribe(Jt.batchCalls(m)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),h=W.useCallback((m,y)=>{o.mutate(m,y).catch(ue)},[o]);if(r.error&&ar(o.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:h,mutateAsync:r.mutate}}function WS(l,i){return yy(l,Ng)}var gi=typeof window<"u"?W.useLayoutEffect:W.useEffect;function xo(l){const i=W.useRef({value:l,prev:null}),s=i.current.value;return l!==s&&(i.current={value:l,prev:s}),i.current.prev}function kg(l,i,s={},o={}){W.useEffect(()=>{if(!l.current||o.disabled||typeof IntersectionObserver!="function")return;const r=new IntersectionObserver(([h])=>{i(h)},s);return r.observe(l.current),()=>{r.disconnect()}},[i,s,o.disabled,l])}function Wg(l){const i=W.useRef(null);return W.useImperativeHandle(l,()=>i.current,[]),i}var vy=!1;function Ri(l){return l[l.length-1]}function Ig(l){return typeof l=="function"}function Vn(l,i){return Ig(l)?l(i):l}var $g=Object.prototype.hasOwnProperty,Am=Object.prototype.propertyIsEnumerable,t0=()=>Object.create(null),ma=(l,i)=>va(l,i,t0);function va(l,i,s=()=>({}),o=0){if(l===i)return l;if(o>500)return i;const r=i,h=Dm(l)&&Dm(r);if(!h&&!(dl(l)&&dl(r)))return r;const m=h?l:xm(l);if(!m)return r;const y=h?r:xm(r);if(!y)return r;const p=m.length,d=y.length,S=h?new Array(d):s();let g=0;for(let b=0;b<d;b++){const _=h?b:y[b],E=l[_],O=r[_];if(E===O){S[_]=E,(h?b<p:$g.call(l,_))&&g++;continue}if(E===null||O===null||typeof E!="object"||typeof O!="object"){S[_]=O;continue}const L=va(E,O,s,o+1);S[_]=L,L===E&&g++}return p===d&&g===p?l:S}function xm(l){const i=Object.getOwnPropertyNames(l);for(const r of i)if(!Am.call(l,r))return!1;const s=Object.getOwnPropertySymbols(l);if(s.length===0)return i;const o=i;for(const r of s){if(!Am.call(l,r))return!1;o.push(r)}return o}function dl(l){if(!zm(l))return!1;const i=l.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!zm(s)||!s.hasOwnProperty("isPrototypeOf"))}function zm(l){return Object.prototype.toString.call(l)==="[object Object]"}function Dm(l){return Array.isArray(l)&&l.length===Object.keys(l).length}function Sa(l,i,s){if(l===i)return!0;if(typeof l!=typeof i)return!1;if(Array.isArray(l)&&Array.isArray(i)){if(l.length!==i.length)return!1;for(let o=0,r=l.length;o<r;o++)if(!Sa(l[o],i[o],s))return!1;return!0}if(dl(l)&&dl(i)){const o=s?.ignoreUndefined??!0;if(s?.partial){for(const m in i)if((!o||i[m]!==void 0)&&!Sa(l[m],i[m],s))return!1;return!0}let r=0;if(!o)r=Object.keys(l).length;else for(const m in l)l[m]!==void 0&&r++;let h=0;for(const m in i)if((!o||i[m]!==void 0)&&(h++,h>r||!Sa(l[m],i[m],s)))return!1;return r===h}return!1}function ml(l){let i,s;const o=new Promise((r,h)=>{i=r,s=h});return o.status="pending",o.resolve=r=>{o.status="resolved",o.value=r,i(r),l?.(r)},o.reject=r=>{o.status="rejected",s(r)},o}function Ei(l){return!!(l&&typeof l=="object"&&typeof l.then=="function")}function e0(l){return l.replace(/[\x00-\x1f\x7f]/g,"")}function Um(l){let i;try{i=decodeURI(l)}catch{i=l.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return e0(i)}var n0=["http:","https:","mailto:","tel:"];function es(l,i){if(!l)return!1;try{const s=new URL(l);return!i.has(s.protocol)}catch{return!1}}function di(l){if(!l)return{path:l,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(l)&&!l.startsWith("//"))return{path:l,handledProtocolRelativeURL:!1};const i=/%25|%5C/gi;let s=0,o="",r;for(;(r=i.exec(l))!==null;)o+=Um(l.slice(s,r.index))+r[0],s=i.lastIndex;o=o+Um(s?l.slice(s):l);let h=!1;return o.startsWith("//")&&(h=!0,o="/"+o.replace(/^\/+/,"")),{path:o,handledProtocolRelativeURL:h}}function a0(l){return/\s|[^\u0000-\u007F]/.test(l)?l.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):l}function l0(l,i){if(l===i)return!0;if(l.length!==i.length)return!1;for(let s=0;s<l.length;s++)if(l[s]!==i[s])return!1;return!0}function vn(){throw new Error("Invariant failed")}function Ti(l){const i=new Map;let s,o;const r=h=>{h.next&&(h.prev?(h.prev.next=h.next,h.next.prev=h.prev,h.next=void 0,o&&(o.next=h,h.prev=o)):(h.next.prev=void 0,s=h.next,h.next=void 0,o&&(h.prev=o,o.next=h)),o=h)};return{get(h){const m=i.get(h);if(m)return r(m),m.value},set(h,m){if(i.size>=l&&s){const p=s;i.delete(p.key),p.next&&(s=p.next,p.next.prev=void 0),p===o&&(o=void 0)}const y=i.get(h);if(y)y.value=m,r(y);else{const p={key:h,value:m,prev:o};o&&(o.next=p),o=p,s||(s=p),i.set(h,p)}},clear(){i.clear(),s=void 0,o=void 0}}}var pa=4,py=5;function i0(l){const i=l.indexOf("{");if(i===-1)return null;const s=l.indexOf("}",i);return s===-1||i+1>=l.length?null:[i,s]}function ir(l,i,s=new Uint16Array(6)){const o=l.indexOf("/",i),r=o===-1?l.length:o,h=l.substring(i,r);if(!h||!h.includes("$"))return s[0]=0,s[1]=i,s[2]=i,s[3]=r,s[4]=r,s[5]=r,s;if(h==="$"){const y=l.length;return s[0]=2,s[1]=i,s[2]=i,s[3]=y,s[4]=y,s[5]=y,s}if(h.charCodeAt(0)===36)return s[0]=1,s[1]=i,s[2]=i+1,s[3]=r,s[4]=r,s[5]=r,s;const m=i0(h);if(m){const[y,p]=m,d=h.charCodeAt(y+1);if(d===45){if(y+2<h.length&&h.charCodeAt(y+2)===36){const S=y+3,g=p;if(S<g)return s[0]=3,s[1]=i+y,s[2]=i+S,s[3]=i+g,s[4]=i+p+1,s[5]=r,s}}else if(d===36){const S=y+1,g=y+2;return g===p?(s[0]=2,s[1]=i+y,s[2]=i+S,s[3]=i+g,s[4]=i+p+1,s[5]=l.length,s):(s[0]=1,s[1]=i+y,s[2]=i+g,s[3]=i+p,s[4]=i+p+1,s[5]=r,s)}}return s[0]=0,s[1]=i,s[2]=i,s[3]=r,s[4]=r,s[5]=r,s}function us(l,i,s,o,r,h,m){m?.(s);let y=o;{const p=s.fullPath??s.from,d=p.length,S=s.options?.caseSensitive??l,g=!!(s.options?.params?.parse&&s.options?.skipRouteOnParseError?.params);for(;y<d;){const _=ir(p,y,i);let E;const O=y,L=_[5];switch(y=L+1,h++,_[0]){case 0:{const D=p.substring(_[2],_[3]);if(S){const Q=r.static?.get(D);if(Q)E=Q;else{r.static??=new Map;const G=ga(s.fullPath??s.from);G.parent=r,G.depth=h,E=G,r.static.set(D,G)}}else{const Q=D.toLowerCase(),G=r.staticInsensitive?.get(Q);if(G)E=G;else{r.staticInsensitive??=new Map;const Y=ga(s.fullPath??s.from);Y.parent=r,Y.depth=h,E=Y,r.staticInsensitive.set(Q,Y)}}break}case 1:{const D=p.substring(O,_[1]),Q=p.substring(_[4],L),G=S&&!!(D||Q),Y=D?G?D:D.toLowerCase():void 0,$=Q?G?Q:Q.toLowerCase():void 0,J=!g&&r.dynamic?.find(q=>!q.skipOnParamError&&q.caseSensitive===G&&q.prefix===Y&&q.suffix===$);if(J)E=J;else{const q=Do(1,s.fullPath??s.from,G,Y,$);E=q,q.depth=h,q.parent=r,r.dynamic??=[],r.dynamic.push(q)}break}case 3:{const D=p.substring(O,_[1]),Q=p.substring(_[4],L),G=S&&!!(D||Q),Y=D?G?D:D.toLowerCase():void 0,$=Q?G?Q:Q.toLowerCase():void 0,J=!g&&r.optional?.find(q=>!q.skipOnParamError&&q.caseSensitive===G&&q.prefix===Y&&q.suffix===$);if(J)E=J;else{const q=Do(3,s.fullPath??s.from,G,Y,$);E=q,q.parent=r,q.depth=h,r.optional??=[],r.optional.push(q)}break}case 2:{const D=p.substring(O,_[1]),Q=p.substring(_[4],L),G=S&&!!(D||Q),Y=D?G?D:D.toLowerCase():void 0,$=Q?G?Q:Q.toLowerCase():void 0,J=Do(2,s.fullPath??s.from,G,Y,$);E=J,J.parent=r,J.depth=h,r.wildcard??=[],r.wildcard.push(J)}}r=E}if(g&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const _=ga(s.fullPath??s.from);_.kind=py,_.parent=r,h++,_.depth=h,r.pathless??=[],r.pathless.push(_),r=_}const b=(s.path||!s.children)&&!s.isRoot;if(b&&p.endsWith("/")){const _=ga(s.fullPath??s.from);_.kind=pa,_.parent=r,h++,_.depth=h,r.index=_,r=_}r.parse=s.options?.params?.parse??null,r.skipOnParamError=g,r.parsingPriority=s.options?.skipRouteOnParseError?.priority??0,b&&!r.route&&(r.route=s,r.fullPath=s.fullPath??s.from)}if(s.children)for(const p of s.children)us(l,i,p,y,r,h,m)}function zo(l,i){if(l.skipOnParamError&&!i.skipOnParamError)return-1;if(!l.skipOnParamError&&i.skipOnParamError)return 1;if(l.skipOnParamError&&i.skipOnParamError&&(l.parsingPriority||i.parsingPriority))return i.parsingPriority-l.parsingPriority;if(l.prefix&&i.prefix&&l.prefix!==i.prefix){if(l.prefix.startsWith(i.prefix))return-1;if(i.prefix.startsWith(l.prefix))return 1}if(l.suffix&&i.suffix&&l.suffix!==i.suffix){if(l.suffix.endsWith(i.suffix))return-1;if(i.suffix.endsWith(l.suffix))return 1}return l.prefix&&!i.prefix?-1:!l.prefix&&i.prefix?1:l.suffix&&!i.suffix?-1:!l.suffix&&i.suffix?1:l.caseSensitive&&!i.caseSensitive?-1:!l.caseSensitive&&i.caseSensitive?1:0}function Xn(l){if(l.pathless)for(const i of l.pathless)Xn(i);if(l.static)for(const i of l.static.values())Xn(i);if(l.staticInsensitive)for(const i of l.staticInsensitive.values())Xn(i);if(l.dynamic?.length){l.dynamic.sort(zo);for(const i of l.dynamic)Xn(i)}if(l.optional?.length){l.optional.sort(zo);for(const i of l.optional)Xn(i)}if(l.wildcard?.length){l.wildcard.sort(zo);for(const i of l.wildcard)Xn(i)}}function ga(l){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:l,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function Do(l,i,s,o,r){return{kind:l,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:i,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:s,prefix:o,suffix:r}}function u0(l,i){const s=ga("/"),o=new Uint16Array(6);for(const r of l)us(!1,o,r,1,s,0);Xn(s),i.masksTree=s,i.flatCache=Ti(1e3)}function s0(l,i){l||="/";const s=i.flatCache.get(l);if(s)return s;const o=ur(l,i.masksTree);return i.flatCache.set(l,o),o}function c0(l,i,s,o,r){l||="/",o||="/";const h=i?`case\0${l}`:l;let m=r.singleCache.get(h);return m||(m=ga("/"),us(i,new Uint16Array(6),{from:l},1,m,0),r.singleCache.set(h,m)),ur(o,m,s)}function o0(l,i,s=!1){const o=s?l:`nofuzz\0${l}`,r=i.matchCache.get(o);if(r!==void 0)return r;l||="/";let h;try{h=ur(l,i.segmentTree,s)}catch(m){if(m instanceof URIError)h=null;else throw m}return h&&(h.branch=h0(h.route)),i.matchCache.set(o,h),h}function r0(l){return l==="/"?l:l.replace(/\/{1,}$/,"")}function f0(l,i=!1,s){const o=ga(l.fullPath),r=new Uint16Array(6),h={},m={};let y=0;return us(i,r,l,1,o,0,p=>{if(s?.(p,y),p.id in h&&vn(),h[p.id]=p,y!==0&&p.path){const d=r0(p.fullPath);(!m[d]||p.fullPath.endsWith("/"))&&(m[d]=p)}y++}),Xn(o),{processedTree:{segmentTree:o,singleCache:Ti(1e3),matchCache:Ti(1e3),flatCache:null,masksTree:null},routesById:h,routesByPath:m}}function ur(l,i,s=!1){const o=l.split("/"),r=m0(l,o,i,s);if(!r)return null;const[h]=gy(l,o,r);return{route:r.node.route,rawParams:h,parsedParams:r.parsedParams}}function gy(l,i,s){const o=d0(s.node);let r=null;const h=Object.create(null);let m=s.extract?.part??0,y=s.extract?.node??0,p=s.extract?.path??0,d=s.extract?.segment??0;for(;y<o.length;m++,y++,p++,d++){const S=o[y];if(S.kind===pa)break;if(S.kind===py){d--,m--,p--;continue}const g=i[m],b=p;if(g&&(p+=g.length),S.kind===1){r??=s.node.fullPath.split("/");const _=r[d],E=S.prefix?.length??0;if(_.charCodeAt(E)===123){const O=S.suffix?.length??0,L=_.substring(E+2,_.length-O-1),D=g.substring(E,g.length-O);h[L]=decodeURIComponent(D)}else{const O=_.substring(1);h[O]=decodeURIComponent(g)}}else if(S.kind===3){if(s.skipped&1<<y){m--,p=b-1;continue}r??=s.node.fullPath.split("/");const _=r[d],E=S.prefix?.length??0,O=S.suffix?.length??0,L=_.substring(E+3,_.length-O-1),D=S.suffix||S.prefix?g.substring(E,g.length-O):g;D&&(h[L]=decodeURIComponent(D))}else if(S.kind===2){const _=S,E=l.substring(b+(_.prefix?.length??0),l.length-(_.suffix?.length??0)),O=decodeURIComponent(E);h["*"]=O,h._splat=O;break}}return s.rawParams&&Object.assign(h,s.rawParams),[h,{part:m,node:y,path:p,segment:d}]}function h0(l){const i=[l];for(;l.parentRoute;)l=l.parentRoute,i.push(l);return i.reverse(),i}function d0(l){const i=Array(l.depth+1);do i[l.depth]=l,l=l.parent;while(l);return i}function m0(l,i,s,o){if(l==="/"&&s.index)return{node:s.index,skipped:0};const r=!Ri(i),h=r&&l!=="/",m=i.length-(r?1:0),y=[{node:s,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}];let p=null,d=null,S=null;for(;y.length;){const g=y.pop(),{node:b,index:_,skipped:E,depth:O,statics:L,dynamics:D,optionals:Q}=g;let{extract:G,rawParams:Y,parsedParams:$}=g;if(b.skipOnParamError){if(!Uo(l,i,g))continue;Y=g.rawParams,G=g.extract,$=g.parsedParams}o&&b.route&&b.kind!==pa&&mi(d,g)&&(d=g);const J=_===m;if(J&&(b.route&&!h&&mi(S,g)&&(S=g),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const q=J?void 0:i[_];let V;if(J&&b.index){const K={node:b.index,index:_,skipped:E,depth:O+1,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$};let et=!0;if(b.index.skipOnParamError&&(Uo(l,i,K)||(et=!1)),et){if(L===m&&!D&&!Q&&!E)return K;mi(S,K)&&(S=K)}}if(b.wildcard&&mi(p,g))for(const K of b.wildcard){const{prefix:et,suffix:F}=K;if(et&&(J||!(K.caseSensitive?q:V??=q.toLowerCase()).startsWith(et)))continue;if(F){if(J)continue;const rt=i.slice(_).join("/").slice(-F.length);if((K.caseSensitive?rt:rt.toLowerCase())!==F)continue}const ut={node:K,index:m,skipped:E,depth:O,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$};if(!(K.skipOnParamError&&!Uo(l,i,ut))){p=ut;break}}if(b.optional){const K=E|1<<O,et=O+1;for(let F=b.optional.length-1;F>=0;F--){const ut=b.optional[F];y.push({node:ut,index:_,skipped:K,depth:et,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(!J)for(let F=b.optional.length-1;F>=0;F--){const ut=b.optional[F],{prefix:rt,suffix:Bt}=ut;if(rt||Bt){const Mt=ut.caseSensitive?q:V??=q.toLowerCase();if(rt&&!Mt.startsWith(rt)||Bt&&!Mt.endsWith(Bt))continue}y.push({node:ut,index:_+1,skipped:E,depth:et,statics:L,dynamics:D,optionals:Q+1,extract:G,rawParams:Y,parsedParams:$})}}if(!J&&b.dynamic&&q)for(let K=b.dynamic.length-1;K>=0;K--){const et=b.dynamic[K],{prefix:F,suffix:ut}=et;if(F||ut){const rt=et.caseSensitive?q:V??=q.toLowerCase();if(F&&!rt.startsWith(F)||ut&&!rt.endsWith(ut))continue}y.push({node:et,index:_+1,skipped:E,depth:O+1,statics:L,dynamics:D+1,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(!J&&b.staticInsensitive){const K=b.staticInsensitive.get(V??=q.toLowerCase());K&&y.push({node:K,index:_+1,skipped:E,depth:O+1,statics:L+1,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(!J&&b.static){const K=b.static.get(q);K&&y.push({node:K,index:_+1,skipped:E,depth:O+1,statics:L+1,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}if(b.pathless){const K=O+1;for(let et=b.pathless.length-1;et>=0;et--){const F=b.pathless[et];y.push({node:F,index:_,skipped:E,depth:K,statics:L,dynamics:D,optionals:Q,extract:G,rawParams:Y,parsedParams:$})}}}if(S&&p)return mi(p,S)?S:p;if(S)return S;if(p)return p;if(o&&d){let g=d.index;for(let _=0;_<d.index;_++)g+=i[_].length;const b=g===l.length?"/":l.slice(g);return d.rawParams??=Object.create(null),d.rawParams["**"]=decodeURIComponent(b),d}return null}function Uo(l,i,s){try{const[o,r]=gy(l,i,s);s.rawParams=o,s.extract=r;const h=s.node.parse(o);return s.parsedParams=Object.assign(Object.create(null),s.parsedParams,h),!0}catch{return null}}function mi(l,i){return l?i.statics>l.statics||i.statics===l.statics&&(i.dynamics>l.dynamics||i.dynamics===l.dynamics&&(i.optionals>l.optionals||i.optionals===l.optionals&&((i.node.kind===pa)>(l.node.kind===pa)||i.node.kind===pa==(l.node.kind===pa)&&i.depth>l.depth))):!0}function Pu(l){return sr(l.filter(i=>i!==void 0).join("/"))}function sr(l){return l.replace(/\/{2,}/g,"/")}function Sy(l){return l==="/"?l:l.replace(/^\/{1,}/,"")}function Jn(l){const i=l.length;return i>1&&l[i-1]==="/"?l.replace(/\/{1,}$/,""):l}function by(l){return Jn(Sy(l))}function ns(l,i){return l?.endsWith("/")&&l!=="/"&&l!==`${i}/`?l.slice(0,-1):l}function y0(l,i,s){return ns(l,s)===ns(i,s)}function v0({base:l,to:i,trailingSlash:s="never",cache:o}){const r=i.startsWith("/"),h=!r&&i===".";let m;if(o){m=r?i:h?l:l+"\0"+i;const g=o.get(m);if(g)return g}let y;if(h)y=l.split("/");else if(r)y=i.split("/");else{for(y=l.split("/");y.length>1&&Ri(y)==="";)y.pop();const g=i.split("/");for(let b=0,_=g.length;b<_;b++){const E=g[b];E===""?b?b===_-1&&y.push(E):y=[E]:E===".."?y.pop():E==="."||y.push(E)}}y.length>1&&(Ri(y)===""?s==="never"&&y.pop():s==="always"&&y.push(""));let p,d="";for(let g=0;g<y.length;g++){g>0&&(d+="/");const b=y[g];if(!b)continue;p=ir(b,0,p);const _=p[0];if(_===0){d+=b;continue}const E=p[5],O=b.substring(0,p[1]),L=b.substring(p[4],E),D=b.substring(p[2],p[3]);_===1?d+=O||L?`${O}{$${D}}${L}`:`$${D}`:_===2?d+=O||L?`${O}{$}${L}`:"$":d+=`${O}{-$${D}}${L}`}d=sr(d);const S=d||"/";return m&&o&&o.set(m,S),S}function p0(l){const i=new Map(l.map(r=>[encodeURIComponent(r),r])),s=Array.from(i.keys()).map(r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),o=new RegExp(s,"g");return r=>r.replace(o,h=>i.get(h)??h)}function Lo(l,i,s){const o=i[l];return typeof o!="string"?o:l==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(o)?o:o.split("/").map(r=>wm(r,s)).join("/"):wm(o,s)}function Lm({path:l,params:i,decoder:s,...o}){let r=!1;const h=Object.create(null);if(!l||l==="/")return{interpolatedPath:"/",usedParams:h,isMissingParams:r};if(!l.includes("$"))return{interpolatedPath:l,usedParams:h,isMissingParams:r};const m=l.length;let y=0,p,d="";for(;y<m;){const S=y;p=ir(l,S,p);const g=p[5];if(y=g+1,S===g)continue;const b=p[0];if(b===0){d+="/"+l.substring(S,g);continue}if(b===2){const _=i._splat;h._splat=_,h["*"]=_;const E=l.substring(S,p[1]),O=l.substring(p[4],g);if(!_){r=!0,(E||O)&&(d+="/"+E+O);continue}const L=Lo("_splat",i,s);d+="/"+E+L+O;continue}if(b===1){const _=l.substring(p[2],p[3]);!r&&!(_ in i)&&(r=!0),h[_]=i[_];const E=l.substring(S,p[1]),O=l.substring(p[4],g),L=Lo(_,i,s)??"undefined";d+="/"+E+L+O;continue}if(b===3){const _=l.substring(p[2],p[3]),E=i[_];if(E==null)continue;h[_]=E;const O=l.substring(S,p[1]),L=l.substring(p[4],g),D=Lo(_,i,s)??"";d+="/"+O+D+L;continue}}return l.endsWith("/")&&(d+="/"),{usedParams:h,interpolatedPath:d||"/",isMissingParams:r}}function wm(l,i){const s=encodeURIComponent(l);return i?.(s)??s}function le(l){return l?.isNotFound===!0}function g0(){try{return typeof window<"u"&&typeof window.sessionStorage=="object"?window.sessionStorage:void 0}catch{return}}var S0="tsr-scroll-restoration-v1_3";function b0(){const l=g0();if(!l)return null;let i={};try{const o=JSON.parse(l.getItem("tsr-scroll-restoration-v1_3")||"{}");dl(o)&&(i=o)}catch{}return{get state(){return i},set:o=>{i=Vn(o,i)||i},persist:()=>{try{l.setItem(S0,JSON.stringify(i))}catch{}}}}var Nm=b0(),_0=l=>l.state.__TSR_key||l.href;function R0(l){const i=[];let s;for(;s=l.parentNode;)i.push(`${l.tagName}:nth-child(${Array.prototype.indexOf.call(s.children,l)+1})`),l=s;return`${i.reverse().join(" > ")}`.toLowerCase()}var Zu=!1,yi="window",Bm="data-scroll-restoration-id";function E0(l,i){if(!Nm)return;const s=Nm;if((l.options.scrollRestoration??!1)&&(l.isScrollRestoring=!0),l.isScrollRestorationSetup||!s)return;l.isScrollRestorationSetup=!0,Zu=!1;const o=l.options.getScrollRestorationKey||_0,r=new Map;window.history.scrollRestoration="manual";const h=y=>{if(!(Zu||!l.isScrollRestoring))if(y.target===document||y.target===window)r.set(yi,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{const p=y.target;r.set(p,{scrollX:p.scrollLeft||0,scrollY:p.scrollTop||0})}},m=y=>{if(!l.isScrollRestoring||!y||r.size===0||!s)return;const p=s.state[y]||={};for(const[d,S]of r){let g;if(d===yi)g=yi;else if(d.isConnected){const b=d.getAttribute(Bm);g=b?`[${Bm}="${b}"]`:R0(d)}g&&(p[g]=S)}};document.addEventListener("scroll",h,!0),l.subscribe("onBeforeLoad",y=>{m(y.fromLocation?o(y.fromLocation):void 0),r.clear()}),window.addEventListener("pagehide",()=>{m(o(l.stores.resolvedLocation.get()??l.stores.location.get())),s.persist()}),l.subscribe("onRendered",y=>{const p=o(y.toLocation),d=l.options.scrollRestorationBehavior,S=l.options.scrollToTopSelectors;if(r.clear(),!l.resetNextScroll){l.resetNextScroll=!0;return}if(!(typeof l.options.scrollRestoration=="function"&&!l.options.scrollRestoration({location:l.latestLocation}))){Zu=!0;try{const g=l.isScrollRestoring?s.state[p]:void 0;let b=!1;if(g)for(const _ in g){const E=g[_];if(!dl(E))continue;const{scrollX:O,scrollY:L}=E;if(!(!Number.isFinite(O)||!Number.isFinite(L))){if(_===yi)window.scrollTo({top:L,left:O,behavior:d}),b=!0;else if(_){let D;try{D=document.querySelector(_)}catch{continue}D&&(D.scrollLeft=O,D.scrollTop=L,b=!0)}}}if(!b){const _=l.history.location.hash.slice(1);if(_){const E=window.history.state?.__hashScrollIntoViewOptions??!0;if(E){const O=document.getElementById(_);O&&O.scrollIntoView(E)}}else{const E={top:0,left:0,behavior:d};if(window.scrollTo(E),S)for(const O of S){if(O===yi)continue;const L=typeof O=="function"?O():document.querySelector(O);L&&L.scrollTo(E)}}}}finally{Zu=!1}l.isScrollRestoring&&s.set(g=>(g[p]||={},g))}})}function T0(l,i=String){const s=new URLSearchParams;for(const o in l){const r=l[o];r!==void 0&&s.set(o,i(r))}return s.toString()}function wo(l){return l?l==="false"?!1:l==="true"?!0:+l*0===0&&+l+""===l?+l:l:""}function M0(l){const i=new URLSearchParams(l),s=Object.create(null);for(const[o,r]of i.entries()){const h=s[o];h==null?s[o]=wo(r):Array.isArray(h)?h.push(wo(r)):s[o]=[h,wo(r)]}return s}var O0=A0(JSON.parse),C0=x0(JSON.stringify,JSON.parse);function A0(l){return i=>{i[0]==="?"&&(i=i.substring(1));const s=M0(i);for(const o in s){const r=s[o];if(typeof r=="string")try{s[o]=l(r)}catch{}}return s}}function x0(l,i){const s=typeof i=="function";function o(r){if(typeof r=="object"&&r!==null)try{return l(r)}catch{}else if(s&&typeof r=="string")try{return i(r),l(r)}catch{}return r}return r=>{const h=T0(r,o);return h?`?${h}`:""}}var ba="__root__";function z0(l){if(l.statusCode=l.statusCode||l.code||307,!l._builtLocation&&!l.reloadDocument&&typeof l.href=="string")try{new URL(l.href),l.reloadDocument=!0}catch{}const i=new Headers(l.headers);l.href&&i.get("Location")===null&&i.set("Location",l.href);const s=new Response(null,{status:l.statusCode,headers:i});if(s.options=l,l.throw)throw s;return s}function me(l){return l instanceof Response&&!!l.options}function D0(l){return{input:({url:i})=>{for(const s of l)i=Fo(s,i);return i},output:({url:i})=>{for(let s=l.length-1;s>=0;s--)i=_y(l[s],i);return i}}}function U0(l){const i=by(l.basepath),s=`/${i}`,o=`${s}/`,r=l.caseSensitive?s:s.toLowerCase(),h=l.caseSensitive?o:o.toLowerCase();return{input:({url:m})=>{const y=l.caseSensitive?m.pathname:m.pathname.toLowerCase();return y===r?m.pathname="/":y.startsWith(h)&&(m.pathname=m.pathname.slice(s.length)),m},output:({url:m})=>(m.pathname=Pu(["/",i,m.pathname]),m)}}function Fo(l,i){const s=l?.input?.({url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function _y(l,i){const s=l?.output?.({url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function L0(l,i){const{createMutableStore:s,createReadonlyStore:o,batch:r,init:h}=i,m=new Map,y=new Map,p=new Map,d=s(l.status),S=s(l.loadedAt),g=s(l.isLoading),b=s(l.isTransitioning),_=s(l.location),E=s(l.resolvedLocation),O=s(l.statusCode),L=s(l.redirect),D=s([]),Q=s([]),G=s([]),Y=o(()=>No(m,D.get())),$=o(()=>No(y,Q.get())),J=o(()=>No(p,G.get())),q=o(()=>D.get()[0]),V=o(()=>D.get().some(X=>m.get(X)?.get().status==="pending")),K=o(()=>({locationHref:_.get().href,resolvedLocationHref:E.get()?.href,status:d.get()})),et=o(()=>({status:d.get(),loadedAt:S.get(),isLoading:g.get(),isTransitioning:b.get(),matches:Y.get(),location:_.get(),resolvedLocation:E.get(),statusCode:O.get(),redirect:L.get()})),F=Ti(64);function ut(X){let at=F.get(X);return at||(at=o(()=>{const bt=D.get();for(const Rt of bt){const M=m.get(Rt);if(M&&M.routeId===X)return M.get()}}),F.set(X,at)),at}const rt={status:d,loadedAt:S,isLoading:g,isTransitioning:b,location:_,resolvedLocation:E,statusCode:O,redirect:L,matchesId:D,pendingIds:Q,cachedIds:G,matches:Y,pendingMatches:$,cachedMatches:J,firstId:q,hasPending:V,matchRouteDeps:K,matchStores:m,pendingMatchStores:y,cachedMatchStores:p,__store:et,getRouteMatchStore:ut,setMatches:Bt,setPending:Mt,setCached:w};Bt(l.matches),h?.(rt);function Bt(X){Bo(X,m,D,s,r)}function Mt(X){Bo(X,y,Q,s,r)}function w(X){Bo(X,p,G,s,r)}return rt}function No(l,i){const s=[];for(const o of i){const r=l.get(o);r&&s.push(r.get())}return s}function Bo(l,i,s,o,r){const h=l.map(y=>y.id),m=new Set(h);r(()=>{for(const y of i.keys())m.has(y)||i.delete(y);for(const y of l){const p=i.get(y.id);if(!p){const d=o(y);d.routeId=y.routeId,i.set(y.id,d);continue}p.routeId=y.routeId,p.get()!==y&&p.set(y)}l0(s.get(),h)||s.set(h)})}var ko=l=>{if(!l.rendered)return l.rendered=!0,l.onReady?.()},w0=l=>l.stores.matchesId.get().some(i=>l.stores.matchStores.get(i)?.get()._forcePending),ss=(l,i)=>!!(l.preload&&!l.router.stores.matchStores.has(i)),_a=(l,i,s=!0)=>{const o={...l.router.options.context??{}},r=s?i:i-1;for(let h=0;h<=r;h++){const m=l.matches[h];if(!m)continue;const y=l.router.getMatch(m.id);y&&Object.assign(o,y.__routeContext,y.__beforeLoadContext)}return o},jm=(l,i)=>{if(!l.matches.length)return;const s=i.routeId,o=l.matches.findIndex(m=>m.routeId===l.router.routeTree.id),r=o>=0?o:0;let h=s?l.matches.findIndex(m=>m.routeId===s):l.firstBadMatchIndex??l.matches.length-1;h<0&&(h=r);for(let m=h;m>=0;m--){const y=l.matches[m];if(l.router.looseRoutesById[y.routeId].options.notFoundComponent)return m}return s?h:r},Kn=(l,i,s)=>{if(!(!me(s)&&!le(s)))throw me(s)&&s.redirectHandled&&!s.options.reloadDocument||(i&&(i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.loaderPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,i._nonReactive.loaderPromise=void 0,i._nonReactive.error=s,l.updateMatch(i.id,o=>({...o,status:me(s)?"redirected":le(s)?"notFound":o.status==="pending"?"success":o.status,context:_a(l,i.index),isFetching:!1,error:s})),le(s)&&!s.routeId&&(s.routeId=i.routeId),i._nonReactive.loadPromise?.resolve()),me(s)&&(l.rendered=!0,s.options._fromLocation=l.location,s.redirectHandled=!0,s=l.router.resolveRedirect(s))),s},Ry=(l,i)=>{const s=l.router.getMatch(i);return!!(!s||s._nonReactive.dehydrated)},Hm=(l,i,s)=>{const o=_a(l,s);l.updateMatch(i,r=>({...r,context:o}))},vi=(l,i,s,o)=>{const{id:r,routeId:h}=l.matches[i],m=l.router.looseRoutesById[h];if(s instanceof Promise)throw s;s.routerCode=o,l.firstBadMatchIndex??=i,Kn(l,l.router.getMatch(r),s);try{m.options.onError?.(s)}catch(y){s=y,Kn(l,l.router.getMatch(r),s)}l.updateMatch(r,y=>(y._nonReactive.beforeLoadPromise?.resolve(),y._nonReactive.beforeLoadPromise=void 0,y._nonReactive.loadPromise?.resolve(),{...y,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!l.preload&&!me(s)&&!le(s)&&(l.serialError??=s)},Ey=(l,i,s,o)=>{if(o._nonReactive.pendingTimeout!==void 0)return;const r=s.options.pendingMs??l.router.options.defaultPendingMs;if(l.onReady&&!ss(l,i)&&(s.options.loader||s.options.beforeLoad||My(s))&&typeof r=="number"&&r!==1/0&&(s.options.pendingComponent??l.router.options?.defaultPendingComponent)){const h=setTimeout(()=>{ko(l)},r);o._nonReactive.pendingTimeout=h}},N0=(l,i,s)=>{const o=l.router.getMatch(i);if(!o._nonReactive.beforeLoadPromise&&!o._nonReactive.loaderPromise)return;Ey(l,i,s,o);const r=()=>{const h=l.router.getMatch(i);h.preload&&(h.status==="redirected"||h.status==="notFound")&&Kn(l,h,h.error)};return o._nonReactive.beforeLoadPromise?o._nonReactive.beforeLoadPromise.then(r):r()},B0=(l,i,s,o)=>{const r=l.router.getMatch(i);let h=r._nonReactive.loadPromise;r._nonReactive.loadPromise=ml(()=>{h?.resolve(),h=void 0});const{paramsError:m,searchError:y}=r;m&&vi(l,s,m,"PARSE_PARAMS"),y&&vi(l,s,y,"VALIDATE_SEARCH"),Ey(l,i,o,r);const p=new AbortController;let d=!1;const S=()=>{d||(d=!0,l.updateMatch(i,Y=>({...Y,isFetching:"beforeLoad",fetchCount:Y.fetchCount+1,abortController:p})))},g=()=>{r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,l.updateMatch(i,Y=>({...Y,isFetching:!1}))};if(!o.options.beforeLoad){l.router.batch(()=>{S(),g()});return}r._nonReactive.beforeLoadPromise=ml();const b={..._a(l,s,!1),...r.__routeContext},{search:_,params:E,cause:O}=r,L=ss(l,i),D={search:_,abortController:p,params:E,preload:L,context:b,location:l.location,navigate:Y=>l.router.navigate({...Y,_fromLocation:l.location}),buildLocation:l.router.buildLocation,cause:L?"preload":O,matches:l.matches,routeId:o.id,...l.router.options.additionalContext},Q=Y=>{if(Y===void 0){l.router.batch(()=>{S(),g()});return}(me(Y)||le(Y))&&(S(),vi(l,s,Y,"BEFORE_LOAD")),l.router.batch(()=>{S(),l.updateMatch(i,$=>({...$,__beforeLoadContext:Y})),g()})};let G;try{if(G=o.options.beforeLoad(D),Ei(G))return S(),G.catch(Y=>{vi(l,s,Y,"BEFORE_LOAD")}).then(Q)}catch(Y){S(),vi(l,s,Y,"BEFORE_LOAD")}Q(G)},j0=(l,i)=>{const{id:s,routeId:o}=l.matches[i],r=l.router.looseRoutesById[o],h=()=>y(),m=()=>B0(l,s,i,r),y=()=>{if(Ry(l,s))return;const p=N0(l,s,r);return Ei(p)?p.then(m):m()};return h()},H0=(l,i,s)=>{const o=l.router.getMatch(i);if(!o||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const r={ssr:l.router.options.ssr,matches:l.matches,match:o,params:o.params,loaderData:o.loaderData};return Promise.all([s.options.head?.(r),s.options.scripts?.(r),s.options.headers?.(r)]).then(([h,m,y])=>({meta:h?.meta,links:h?.links,headScripts:h?.scripts,headers:y,scripts:m,styles:h?.styles}))},Ty=(l,i,s,o,r)=>{const h=i[o-1],{params:m,loaderDeps:y,abortController:p,cause:d}=l.router.getMatch(s),S=_a(l,o),g=ss(l,s);return{params:m,deps:y,preload:!!g,parentMatchPromise:h,abortController:p,context:S,location:l.location,navigate:b=>l.router.navigate({...b,_fromLocation:l.location}),cause:g?"preload":d,route:r,...l.router.options.additionalContext}},qm=async(l,i,s,o,r)=>{try{const h=l.router.getMatch(s);try{(!(vy??l.router.isServer)||h.ssr===!0)&&Mi(r);const m=r.options.loader,y=typeof m=="function"?m:m?.handler,p=y?.(Ty(l,i,s,o,r)),d=!!y&&Ei(p);if((d||r._lazyPromise||r._componentsPromise||r.options.head||r.options.scripts||r.options.headers||h._nonReactive.minPendingPromise)&&l.updateMatch(s,g=>({...g,isFetching:"loader"})),y){const g=d?await p:p;Kn(l,l.router.getMatch(s),g),g!==void 0&&l.updateMatch(s,b=>({...b,loaderData:g}))}r._lazyPromise&&await r._lazyPromise;const S=h._nonReactive.minPendingPromise;S&&await S,r._componentsPromise&&await r._componentsPromise,l.updateMatch(s,g=>({...g,error:void 0,context:_a(l,o),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(m){let y=m;if(y?.name==="AbortError"){if(h.abortController.signal.aborted){h._nonReactive.loaderPromise?.resolve(),h._nonReactive.loaderPromise=void 0;return}l.updateMatch(s,d=>({...d,status:d.status==="pending"?"success":d.status,isFetching:!1,context:_a(l,o)}));return}const p=h._nonReactive.minPendingPromise;p&&await p,le(m)&&await r.options.notFoundComponent?.preload?.(),Kn(l,l.router.getMatch(s),m);try{r.options.onError?.(m)}catch(d){y=d,Kn(l,l.router.getMatch(s),d)}!me(y)&&!le(y)&&await Mi(r,["errorComponent"]),l.updateMatch(s,d=>({...d,error:y,context:_a(l,o),status:"error",isFetching:!1}))}}catch(h){const m=l.router.getMatch(s);m&&(m._nonReactive.loaderPromise=void 0),Kn(l,m,h)}},q0=async(l,i,s)=>{async function o(_,E,O,L,D){const Q=Date.now()-E.updatedAt,G=_?D.options.preloadStaleTime??l.router.options.defaultPreloadStaleTime??3e4:D.options.staleTime??l.router.options.defaultStaleTime??0,Y=D.options.shouldReload,$=typeof Y=="function"?Y(Ty(l,i,r,s,D)):Y,{status:J,invalid:q}=L,V=Q>=G&&(!!l.forceStaleReload||L.cause==="enter"||O!==void 0&&O!==L.id);m=J==="success"&&(q||($??V)),_&&D.options.preload===!1||(m&&!l.sync&&S?(y=!0,(async()=>{try{await qm(l,i,r,s,D);const K=l.router.getMatch(r);K._nonReactive.loaderPromise?.resolve(),K._nonReactive.loadPromise?.resolve(),K._nonReactive.loaderPromise=void 0,K._nonReactive.loadPromise=void 0}catch(K){me(K)&&await l.router.navigate(K.options)}})()):J!=="success"||m?await qm(l,i,r,s,D):Hm(l,r,s))}const{id:r,routeId:h}=l.matches[s];let m=!1,y=!1;const p=l.router.looseRoutesById[h],d=p.options.loader,S=((typeof d=="function"?void 0:d?.staleReloadMode)??l.router.options.defaultStaleReloadMode)!=="blocking";if(Ry(l,r)){if(!l.router.getMatch(r))return l.matches[s];Hm(l,r,s)}else{const _=l.router.getMatch(r),E=l.router.stores.matchesId.get()[s],O=(E&&l.router.stores.matchStores.get(E)||null)?.routeId===h?E:l.router.stores.matches.get().find(D=>D.routeId===h)?.id,L=ss(l,r);if(_._nonReactive.loaderPromise){if(_.status==="success"&&!l.sync&&!_.preload&&S)return _;await _._nonReactive.loaderPromise;const D=l.router.getMatch(r),Q=D._nonReactive.error||D.error;Q&&Kn(l,D,Q),D.status==="pending"&&await o(L,_,O,D,p)}else{const D=L&&!l.router.stores.matchStores.has(r),Q=l.router.getMatch(r);Q._nonReactive.loaderPromise=ml(),D!==Q.preload&&l.updateMatch(r,G=>({...G,preload:D})),await o(L,_,O,Q,p)}}const g=l.router.getMatch(r);y||(g._nonReactive.loaderPromise?.resolve(),g._nonReactive.loadPromise?.resolve(),g._nonReactive.loadPromise=void 0),clearTimeout(g._nonReactive.pendingTimeout),g._nonReactive.pendingTimeout=void 0,y||(g._nonReactive.loaderPromise=void 0),g._nonReactive.dehydrated=void 0;const b=y?g.isFetching:!1;return b!==g.isFetching||g.invalid!==!1?(l.updateMatch(r,_=>({..._,isFetching:b,invalid:!1})),l.router.getMatch(r)):g};async function Qm(l){const i=l,s=[];w0(i.router)&&ko(i);let o;for(let b=0;b<i.matches.length;b++){try{const _=j0(i,b);Ei(_)&&await _}catch(_){if(me(_))throw _;if(le(_))o=_;else if(!i.preload)throw _;break}if(i.serialError||i.firstBadMatchIndex!=null)break}const r=i.firstBadMatchIndex??i.matches.length,h=o&&!i.preload?jm(i,o):void 0,m=o&&i.preload?0:h!==void 0?Math.min(h+1,r):r;let y,p;for(let b=0;b<m;b++)s.push(q0(i,s,b));try{await Promise.all(s)}catch{const b=await Promise.allSettled(s);for(const _ of b){if(_.status!=="rejected")continue;const E=_.reason;if(me(E))throw E;le(E)?y??=E:p??=E}if(p!==void 0)throw p}const d=y??(o&&!i.preload?o:void 0);let S=i.firstBadMatchIndex!==void 0?i.firstBadMatchIndex:i.matches.length-1;if(!d&&o&&i.preload)return i.matches;if(d){const b=jm(i,d);b===void 0&&vn();const _=i.matches[b],E=i.router.looseRoutesById[_.routeId],O=i.router.options?.defaultNotFoundComponent;!E.options.notFoundComponent&&O&&(E.options.notFoundComponent=O),d.routeId=_.routeId;const L=_.routeId===i.router.routeTree.id;i.updateMatch(_.id,D=>({...D,...L?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:d},isFetching:!1})),S=b,await Mi(E,["notFoundComponent"])}else if(!i.preload){const b=i.matches[0];b.globalNotFound||i.router.getMatch(b.id)?.globalNotFound&&i.updateMatch(b.id,_=>({..._,globalNotFound:!1,error:void 0}))}if(i.serialError&&i.firstBadMatchIndex!==void 0){const b=i.router.looseRoutesById[i.matches[i.firstBadMatchIndex].routeId];await Mi(b,["errorComponent"])}for(let b=0;b<=S;b++){const{id:_,routeId:E}=i.matches[b],O=i.router.looseRoutesById[E];try{const L=H0(i,_,O);if(L){const D=await L;i.updateMatch(_,Q=>({...Q,...D}))}}catch(L){console.error(`Error executing head for route ${E}:`,L)}}const g=ko(i);if(Ei(g)&&await g,d)throw d;if(i.serialError&&!i.preload&&!i.onReady)throw i.serialError;return i.matches}function Ym(l,i){const s=i.map(o=>l.options[o]?.preload?.()).filter(Boolean);if(s.length!==0)return Promise.all(s)}function Mi(l,i=Fu){!l._lazyLoaded&&l._lazyPromise===void 0&&(l.lazyFn?l._lazyPromise=l.lazyFn().then(o=>{const{id:r,...h}=o.options;Object.assign(l.options,h),l._lazyLoaded=!0,l._lazyPromise=void 0}):l._lazyLoaded=!0);const s=()=>l._componentsLoaded?void 0:i===Fu?(()=>{if(l._componentsPromise===void 0){const o=Ym(l,Fu);o?l._componentsPromise=o.then(()=>{l._componentsLoaded=!0,l._componentsPromise=void 0}):l._componentsLoaded=!0}return l._componentsPromise})():Ym(l,i);return l._lazyPromise?l._lazyPromise.then(s):s()}function My(l){for(const i of Fu)if(l.options[i]?.preload)return!0;return!1}var Fu=["component","errorComponent","pendingComponent","notFoundComponent"],Pn="__TSR_index",Gm="popstate",Xm="beforeunload";function Q0(l){let i=l.getLocation();const s=new Set,o=m=>{i=l.getLocation(),s.forEach(y=>y({location:i,action:m}))},r=m=>{l.notifyOnIndexChange??!0?o(m):i=l.getLocation()},h=async({task:m,navigateOpts:y,...p})=>{if(y?.ignoreBlocker??!1){m();return}const d=l.getBlockers?.()??[],S=p.type==="PUSH"||p.type==="REPLACE";if(typeof document<"u"&&d.length&&S)for(const g of d){const b=as(p.path,p.state);if(await g.blockerFn({currentLocation:i,nextLocation:b,action:p.type})){l.onBlocked?.();return}}m()};return{get location(){return i},get length(){return l.getLength()},subscribers:s,subscribe:m=>(s.add(m),()=>{s.delete(m)}),push:(m,y,p)=>{const d=i.state[Pn];y=Vm(d+1,y),h({task:()=>{l.pushState(m,y),o({type:"PUSH"})},navigateOpts:p,type:"PUSH",path:m,state:y})},replace:(m,y,p)=>{const d=i.state[Pn];y=Vm(d,y),h({task:()=>{l.replaceState(m,y),o({type:"REPLACE"})},navigateOpts:p,type:"REPLACE",path:m,state:y})},go:(m,y)=>{h({task:()=>{l.go(m),r({type:"GO",index:m})},navigateOpts:y,type:"GO"})},back:m=>{h({task:()=>{l.back(m?.ignoreBlocker??!1),r({type:"BACK"})},navigateOpts:m,type:"BACK"})},forward:m=>{h({task:()=>{l.forward(m?.ignoreBlocker??!1),r({type:"FORWARD"})},navigateOpts:m,type:"FORWARD"})},canGoBack:()=>i.state[Pn]!==0,createHref:m=>l.createHref(m),block:m=>{if(!l.setBlockers)return()=>{};const y=l.getBlockers?.()??[];return l.setBlockers([...y,m]),()=>{const p=l.getBlockers?.()??[];l.setBlockers?.(p.filter(d=>d!==m))}},flush:()=>l.flush?.(),destroy:()=>l.destroy?.(),notify:o}}function Vm(l,i){i||(i={});const s=cr();return{...i,key:s,__TSR_key:s,[Pn]:l}}function Y0(l){const i=typeof document<"u"?window:void 0,s=i.history.pushState,o=i.history.replaceState;let r=[];const h=()=>r,m=V=>r=V,y=(V=>V),p=(()=>as(`${i.location.pathname}${i.location.search}${i.location.hash}`,i.history.state));if(!i.history.state?.__TSR_key&&!i.history.state?.key){const V=cr();i.history.replaceState({[Pn]:0,key:V,__TSR_key:V},"")}let d=p(),S,g=!1,b=!1,_=!1,E=!1;const O=()=>d;let L,D;const Q=()=>{L&&(q._ignoreSubscribers=!0,(L.isPush?i.history.pushState:i.history.replaceState)(L.state,"",L.href),q._ignoreSubscribers=!1,L=void 0,D=void 0,S=void 0)},G=(V,K,et)=>{const F=y(K);D||(S=d),d=as(K,et),L={href:F,state:et,isPush:L?.isPush||V==="push"},D||(D=Promise.resolve().then(()=>Q()))},Y=V=>{d=p(),q.notify({type:V})},$=async()=>{if(b){b=!1;return}const V=p(),K=V.state[Pn]-d.state[Pn],et=K===1,F=K===-1,ut=!et&&!F||g;g=!1;const rt=ut?"GO":F?"BACK":"FORWARD",Bt=ut?{type:"GO",index:K}:{type:F?"BACK":"FORWARD"};if(_)_=!1;else{const Mt=h();if(typeof document<"u"&&Mt.length){for(const w of Mt)if(await w.blockerFn({currentLocation:d,nextLocation:V,action:rt})){b=!0,i.history.go(1),q.notify(Bt);return}}}d=p(),q.notify(Bt)},J=V=>{if(E){E=!1;return}let K=!1;const et=h();if(typeof document<"u"&&et.length)for(const F of et){const ut=F.enableBeforeUnload??!0;if(ut===!0){K=!0;break}if(typeof ut=="function"&&ut()===!0){K=!0;break}}if(K)return V.preventDefault(),V.returnValue=""},q=Q0({getLocation:O,getLength:()=>i.history.length,pushState:(V,K)=>G("push",V,K),replaceState:(V,K)=>G("replace",V,K),back:V=>(V&&(_=!0),E=!0,i.history.back()),forward:V=>{V&&(_=!0),E=!0,i.history.forward()},go:V=>{g=!0,i.history.go(V)},createHref:V=>y(V),flush:Q,destroy:()=>{i.history.pushState=s,i.history.replaceState=o,i.removeEventListener(Xm,J,{capture:!0}),i.removeEventListener(Gm,$)},onBlocked:()=>{S&&d!==S&&(d=S)},getBlockers:h,setBlockers:m,notifyOnIndexChange:!1});return i.addEventListener(Xm,J,{capture:!0}),i.addEventListener(Gm,$),i.history.pushState=function(...V){const K=s.apply(i.history,V);return q._ignoreSubscribers||Y("PUSH"),K},i.history.replaceState=function(...V){const K=o.apply(i.history,V);return q._ignoreSubscribers||Y("REPLACE"),K},q}function G0(l){let i=l.replace(/[\x00-\x1f\x7f]/g,"");return i.startsWith("//")&&(i="/"+i.replace(/^\/+/,"")),i}function as(l,i){const s=G0(l),o=s.indexOf("#"),r=s.indexOf("?"),h=cr();return{href:s,pathname:s.substring(0,o>0?r>0?Math.min(o,r):o:r>0?r:s.length),hash:o>-1?s.substring(o):"",search:r>-1?s.slice(r,o===-1?void 0:o):"",state:i||{[Pn]:0,key:h,__TSR_key:h}}}function cr(){return(Math.random()+1).toString(36).substring(7)}function hl(l,i){const s=i,o=l;return{fromLocation:s,toLocation:o,pathChanged:s?.pathname!==o.pathname,hrefChanged:s?.href!==o.href,hashChanged:s?.hash!==o.hash}}var X0=class{constructor(l,i){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=s=>s(),this.update=s=>{const o=this.options,r=this.basepath??o?.basepath??"/",h=this.basepath===void 0,m=o?.rewrite;if(this.options={...o,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=p0(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Y0()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let S;this.resolvePathCache=Ti(1e3),S=this.buildRouteTree(),this.setRoutes(S)}if(!this.stores&&this.latestLocation){const S=this.getStoreConfig(this);this.batch=S.batch,this.stores=L0(K0(this.latestLocation),S),E0(this)}let y=!1;const p=this.options.basepath??"/",d=this.options.rewrite;if(h||r!==p||m!==d){this.basepath=p;const S=[],g=by(p);g&&g!=="/"&&S.push(U0({basepath:p})),d&&S.push(d),this.rewrite=S.length===0?void 0:S.length===1?S[0]:D0(S),this.history&&this.updateLatestLocation(),y=!0}y&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=f0(this.routeTree,this.options.caseSensitive,(o,r)=>{o.init({originalIndex:r})});return this.options.routeMasks&&u0(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,o)=>{const r={eventType:s,fn:o};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=s=>{this.subscribers.forEach(o=>{o.eventType===s.type&&o.fn(s)})},this.parseLocation=(s,o)=>{const r=({pathname:p,search:d,hash:S,href:g,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(p)){const D=this.options.parseSearch(d),Q=this.options.stringifySearch(D);return{href:p+Q+S,publicHref:p+Q+S,pathname:di(p).path,external:!1,searchStr:Q,search:ma(o?.search,D),hash:di(S.slice(1)).path,state:va(o?.state,b)}}const _=new URL(g,this.origin),E=Fo(this.rewrite,_),O=this.options.parseSearch(E.search),L=this.options.stringifySearch(O);return E.search=L,{href:E.href.replace(E.origin,""),publicHref:g,pathname:di(E.pathname).path,external:!!this.rewrite&&E.origin!==this.origin,searchStr:L,search:ma(o?.search,O),hash:di(E.hash.slice(1)).path,state:va(o?.state,b)}},h=r(s),{__tempLocation:m,__tempKey:y}=h.state;if(m&&(!y||y===this.tempLocationKey)){const p=r(m);return p.state.key=h.state.key,p.state.__TSR_key=h.state.__TSR_key,delete p.state.__tempLocation,{...p,maskedLocation:h}}return h},this.resolvePathWithBase=(s,o)=>v0({base:s,to:sr(o),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,o,r)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:o},r):this.matchRoutesInternal(s,o),this.getMatchedRoutes=s=>Z0({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const o=this.getMatch(s);o&&(o.abortController.abort(),clearTimeout(o._nonReactive.pendingTimeout),o._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(s=>{this.cancelMatch(s)}),this.stores.matchesId.get().forEach(s=>{if(this.stores.pendingMatchStores.has(s))return;const o=this.stores.matchStores.get(s)?.get();o&&(o.status==="pending"||o.isFetching==="loader")&&this.cancelMatch(s)})},this.buildLocation=s=>{const o=(h={})=>{const m=h._fromLocation||this.pendingBuiltLocation||this.latestLocation,y=this.matchRoutesLightweight(m);h.from;const p=h.unsafeRelative==="path"?m.pathname:h.from??y.fullPath,d=this.resolvePathWithBase(p,"."),S=y.search,g=Object.assign(Object.create(null),y.params),b=h.to?this.resolvePathWithBase(d,`${h.to}`):this.resolvePathWithBase(d,"."),_=h.params===!1||h.params===null?Object.create(null):(h.params??!0)===!0?g:Object.assign(g,Vn(h.params,g)),E=this.getMatchedRoutes(b);let O=E.matchedRoutes;if((!E.foundRoute||E.foundRoute.path!=="/"&&E.routeParams["**"])&&this.options.notFoundRoute&&(O=[...O,this.options.notFoundRoute]),Object.keys(_).length>0)for(const et of O){const F=et.options.params?.stringify??et.options.stringifyParams;if(F)try{Object.assign(_,F(_))}catch{}}const L=s.leaveParams?b:di(Lm({path:b,params:_,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let D=S;if(s._includeValidateSearch&&this.options.search?.strict){const et={};O.forEach(F=>{if(F.options.validateSearch)try{Object.assign(et,ku(F.options.validateSearch,{...et,...D}))}catch{}}),D=et}D=J0({search:D,dest:h,destRoutes:O,_includeValidateSearch:s._includeValidateSearch}),D=ma(S,D);const Q=this.options.stringifySearch(D),G=h.hash===!0?m.hash:h.hash?Vn(h.hash,m.hash):void 0,Y=G?`#${G}`:"";let $=h.state===!0?m.state:h.state?Vn(h.state,m.state):{};$=va(m.state,$);const J=`${L}${Q}${Y}`;let q,V,K=!1;if(this.rewrite){const et=new URL(J,this.origin),F=_y(this.rewrite,et);q=et.href.replace(et.origin,""),F.origin!==this.origin?(V=F.href,K=!0):V=F.pathname+F.search+F.hash}else q=a0(J),V=q;return{publicHref:V,href:q,pathname:L,search:D,searchStr:Q,state:$,hash:G??"",external:K,unmaskOnReload:h.unmaskOnReload}},r=(h={},m)=>{const y=o(h);let p=m?o(m):void 0;if(!p){const d=Object.create(null);if(this.options.routeMasks){const S=s0(y.pathname,this.processedTree);if(S){Object.assign(d,S.rawParams);const{from:g,params:b,..._}=S.route,E=b===!1||b===null?Object.create(null):(b??!0)===!0?d:Object.assign(d,Vn(b,d));m={from:s.from,..._,params:E},p=o(m)}}}return p&&(y.maskedLocation=p),y};return s.mask?r(s,{from:s.from,...s.mask}):r(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:o,...r})=>{const h=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(S=>{r.state[S]=this.latestLocation.state[S]});const d=Sa(r.state,this.latestLocation.state);return p.forEach(S=>{delete r.state[S]}),d},m=Jn(this.latestLocation.href)===Jn(r.href);let y=this.commitLocationPromise;if(this.commitLocationPromise=ml(()=>{y?.resolve(),y=void 0}),m&&h())this.load();else{let{maskedLocation:p,hashScrollIntoView:d,...S}=r;p&&(S={...p,state:{...p.state,__tempKey:void 0,__tempLocation:{...S,search:S.searchStr,state:{...S.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(S.unmaskOnReload??this.options.unmaskOnReload??!1)&&(S.state.__tempKey=this.tempLocationKey)),S.state.__hashScrollIntoViewOptions=d??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,this.history[r.replace?"replace":"push"](S.publicHref,S.state,{ignoreBlocker:o})}return this.resetNextScroll=r.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:o,hashScrollIntoView:r,viewTransition:h,ignoreBlocker:m,href:y,...p}={})=>{if(y){const g=this.history.location.state.__TSR_index,b=as(y,{__TSR_index:s?g:g+1}),_=new URL(b.pathname,this.origin);p.to=Fo(this.rewrite,_).pathname,p.search=this.options.parseSearch(b.search),p.hash=b.hash.slice(1)}const d=this.buildLocation({...p,_includeValidateSearch:!0});this.pendingBuiltLocation=d;const S=this.commitLocation({...d,viewTransition:h,replace:s,resetScroll:o,hashScrollIntoView:r,ignoreBlocker:m});return Promise.resolve().then(()=>{this.pendingBuiltLocation===d&&(this.pendingBuiltLocation=void 0)}),S},this.navigate=async({to:s,reloadDocument:o,href:r,publicHref:h,...m})=>{let y=!1;if(r)try{new URL(`${r}`),y=!0}catch{}if(y&&!o&&(o=!0),o){if(s!==void 0||!r){const d=this.buildLocation({to:s,...m});r=r??d.publicHref,h=h??d.publicHref}const p=!y&&h?h:r;if(es(p,this.protocolAllowlist))return Promise.resolve();if(!m.ignoreBlocker){const d=this.history.getBlockers?.()??[];for(const S of d)if(S?.blockerFn&&await S.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return m.replace?window.location.replace(p):window.location.href=p,Promise.resolve()}return this.buildAndCommitLocation({...m,href:r,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation),o=this.stores.cachedMatches.get().filter(r=>!s.some(h=>h.id===r.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(s),this.stores.setCached(o)})},this.load=async s=>{let o,r,h;const m=this.stores.resolvedLocation.get()??this.stores.location.get();for(h=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad();const d=this.latestLocation,S=hl(d,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...S}),this.emit({type:"onBeforeLoad",...S}),await Qm({router:this,sync:s?.sync,forceStaleReload:m.href===d.href,matches:this.stores.pendingMatches.get(),location:d,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let g=null,b=null,_=null,E=null;this.batch(()=>{const O=this.stores.pendingMatches.get(),L=O.length,D=this.stores.matches.get();g=L?D.filter(Y=>!this.stores.pendingMatchStores.has(Y.id)):null;const Q=new Set;for(const Y of this.stores.pendingMatchStores.values())Y.routeId&&Q.add(Y.routeId);const G=new Set;for(const Y of this.stores.matchStores.values())Y.routeId&&G.add(Y.routeId);b=L?D.filter(Y=>!Q.has(Y.routeId)):null,_=L?O.filter(Y=>!G.has(Y.routeId)):null,E=L?O.filter(Y=>G.has(Y.routeId)):D,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),L&&(this.stores.setMatches(O),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...g.filter(Y=>Y.status!=="error"&&Y.status!=="notFound"&&Y.status!=="redirected")]),this.clearExpiredCache())});for(const[O,L]of[[b,"onLeave"],[_,"onEnter"],[E,"onStay"]])if(O)for(const D of O)this.looseRoutesById[D.routeId].options[L]?.(D)})})}})}catch(d){me(d)?(o=d,this.navigate({...o.options,replace:!0,ignoreBlocker:!0})):le(d)&&(r=d);const S=o?o.status:r?404:this.stores.matches.get().some(g=>g.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(S),this.stores.redirect.set(o)})}this.latestLoadPromise===h&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=h,await h;this.latestLoadPromise&&h!==this.latestLoadPromise;)await this.latestLoadPromise;let y;this.hasNotFoundMatch()?y=404:this.stores.matches.get().some(p=>p.status==="error")&&(y=500),y!==void 0&&this.stores.statusCode.set(y)},this.startViewTransition=s=>{const o=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,o&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let r;if(typeof o=="object"&&this.isViewTransitionTypesSupported){const h=this.latestLocation,m=this.stores.resolvedLocation.get(),y=typeof o.types=="function"?o.types(hl(h,m)):o.types;if(y===!1){s();return}r={update:s,types:y}}else r=s;document.startViewTransition(r)}else s()},this.updateMatch=(s,o)=>{this.startTransition(()=>{const r=this.stores.pendingMatchStores.get(s);if(r){r.set(o);return}const h=this.stores.matchStores.get(s);if(h){h.set(o);return}const m=this.stores.cachedMatchStores.get(s);if(m){const y=o(m.get());y.status==="redirected"?this.stores.cachedMatchStores.delete(s)&&this.stores.cachedIds.set(p=>p.filter(d=>d!==s)):m.set(y)}})},this.getMatch=s=>this.stores.cachedMatchStores.get(s)?.get()??this.stores.pendingMatchStores.get(s)?.get()??this.stores.matchStores.get(s)?.get(),this.invalidate=s=>{const o=r=>s?.filter?.(r)??!0?{...r,invalid:!0,...s?.forcePending||r.status==="error"||r.status==="notFound"?{status:"pending",error:void 0}:void 0}:r;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(o)),this.stores.setCached(this.stores.cachedMatches.get().map(o)),this.stores.setPending(this.stores.pendingMatches.get().map(o))}),this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const o=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const r=s.options._builtLocation??this.buildLocation(s.options),h=this.getParsedLocationHref(r);s.options.href=h,s.headers.set("Location",h)}else if(o)try{const r=new URL(o);if(this.origin&&r.origin===this.origin){const h=r.pathname+r.search+r.hash;s.options.href=h,s.headers.set("Location",h)}}catch{}if(s.options.href&&!s.options._builtLocation&&es(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const o=s?.filter;o!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(r=>!o(r))):this.stores.setCached([])},this.clearExpiredCache=()=>{const s=Date.now(),o=r=>{const h=this.looseRoutesById[r.routeId];if(!h.options.loader)return!0;const m=(r.preload?h.options.preloadGcTime??this.options.defaultPreloadGcTime:h.options.gcTime??this.options.defaultGcTime)??300*1e3;return r.status==="error"?!0:s-r.updatedAt>=m};this.clearCache({filter:o})},this.loadRouteChunk=Mi,this.preloadRoute=async s=>{const o=s._builtLocation??this.buildLocation(s);let r=this.matchRoutes(o,{throwOnError:!0,preload:!0,dest:s});const h=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),m=new Set([...h,...this.stores.cachedIds.get()]),y=r.filter(p=>!m.has(p.id));if(y.length){const p=this.stores.cachedMatches.get();this.stores.setCached([...p,...y])}try{return r=await Qm({router:this,matches:r,location:o,preload:!0,updateMatch:(p,d)=>{h.has(p)?r=r.map(S=>S.id===p?d(S):S):this.updateMatch(p,d)}}),r}catch(p){if(me(p))return p.options.reloadDocument?void 0:await this.preloadRoute({...p.options,_fromLocation:o});le(p)||console.error(p);return}},this.matchRoute=(s,o)=>{const r={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},h=this.buildLocation(r);if(o?.pending&&this.stores.status.get()!=="pending")return!1;const m=(o?.pending===void 0?!this.stores.isLoading.get():o.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),y=c0(h.pathname,o?.caseSensitive??!1,o?.fuzzy??!1,m.pathname,this.processedTree);return!y||s.params&&!Sa(y.rawParams,s.params,{partial:!0})?!1:o?.includeSearch??!0?Sa(m.search,h.search,{partial:!0})?y.rawParams:!1:y.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(s=>s.status==="notFound"||s.globalNotFound),this.getStoreConfig=i,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...l,caseSensitive:l.caseSensitive??!1,notFoundMode:l.notFoundMode??"fuzzy",stringifySearch:l.stringifySearch??C0,parseSearch:l.parseSearch??O0,protocolAllowlist:l.protocolAllowlist??n0}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:l,routesByPath:i,processedTree:s}){this.routesById=l,this.routesByPath=i,this.processedTree=s;const o=this.options.notFoundRoute;o&&(o.init({originalIndex:99999999999}),this.routesById[o.id]=o)}get looseRoutesById(){return this.routesById}getParentContext(l){return l?.id?l.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(l,i){const s=this.getMatchedRoutes(l.pathname),{foundRoute:o,routeParams:r,parsedParams:h}=s;let{matchedRoutes:m}=s,y=!1;(o?o.path!=="/"&&r["**"]:Jn(l.pathname))&&(this.options.notFoundRoute?m=[...m,this.options.notFoundRoute]:y=!0);const p=y?F0(this.options.notFoundMode,m):void 0,d=new Array(m.length),S=new Map;for(const g of this.stores.matchStores.values())g.routeId&&S.set(g.routeId,g.get());for(let g=0;g<m.length;g++){const b=m[g],_=d[g-1];let E,O,L;{const rt=_?.search??l.search,Bt=_?._strictSearch??void 0;try{const Mt=ku(b.options.validateSearch,{...rt})??void 0;E={...rt,...Mt},O={...Bt,...Mt},L=void 0}catch(Mt){let w=Mt;if(Mt instanceof ls||(w=new ls(Mt.message,{cause:Mt})),i?.throwOnError)throw w;E=rt,O={},L=w}}const D=b.options.loaderDeps?.({search:E})??"",Q=D?JSON.stringify(D):"",{interpolatedPath:G,usedParams:Y}=Lm({path:b.fullPath,params:r,decoder:this.pathParamsDecoder,server:this.isServer}),$=b.id+G+Q,J=this.getMatch($),q=S.get(b.id),V=J?._strictParams??Y;let K;if(!J)try{Km(b,Y,h,V)}catch(rt){if(le(rt)||me(rt)?K=rt:K=new V0(rt.message,{cause:rt}),i?.throwOnError)throw K}Object.assign(r,V);const et=q?"stay":"enter";let F;if(J)F={...J,cause:et,params:q?.params??r,_strictParams:V,search:ma(q?q.search:J.search,E),_strictSearch:O};else{const rt=b.options.loader||b.options.beforeLoad||b.lazyFn||My(b)?"pending":"success";F={id:$,ssr:b.options.ssr,index:g,routeId:b.id,params:q?.params??r,_strictParams:V,pathname:G,updatedAt:Date.now(),search:q?ma(q.search,E):E,_strictSearch:O,searchError:void 0,status:rt,isFetching:!1,error:void 0,paramsError:K,__routeContext:void 0,_nonReactive:{loadPromise:ml()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:et,loaderDeps:q?va(q.loaderDeps,D):D,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:b.options.staticData||{},fullPath:b.fullPath}}i?.preload||(F.globalNotFound=p===b.id),F.searchError=L;const ut=this.getParentContext(_);F.context={...ut,...F.__routeContext,...F.__beforeLoadContext},d[g]=F}for(let g=0;g<d.length;g++){const b=d[g],_=this.looseRoutesById[b.routeId],E=this.getMatch(b.id),O=S.get(b.routeId);if(b.params=O?ma(O.params,r):r,!E){const L=d[g-1],D=this.getParentContext(L);if(_.options.context){const Q={deps:b.loaderDeps,params:b.params,context:D??{},location:l,navigate:G=>this.navigate({...G,_fromLocation:l}),buildLocation:this.buildLocation,cause:b.cause,abortController:b.abortController,preload:!!b.preload,matches:d,routeId:_.id};b.__routeContext=_.options.context(Q)??void 0}b.context={...D,...b.__routeContext,...b.__beforeLoadContext}}}return d}matchRoutesLightweight(l){const{matchedRoutes:i,routeParams:s,parsedParams:o}=this.getMatchedRoutes(l.pathname),r=Ri(i),h={...l.search};for(const S of i)try{Object.assign(h,ku(S.options.validateSearch,h))}catch{}const m=Ri(this.stores.matchesId.get()),y=m&&this.stores.matchStores.get(m)?.get(),p=y&&y.routeId===r.id&&y.pathname===l.pathname;let d;if(p)d=y.params;else{const S=Object.assign(Object.create(null),s);for(const g of i)try{Km(g,s,o??{},S)}catch{}d=S}return{matchedRoutes:i,fullPath:r.fullPath,search:h,params:d}}},ls=class extends Error{},V0=class extends Error{};function K0(l){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:l,matches:[],statusCode:200}}function ku(l,i){if(l==null)return{};if("~standard"in l){const s=l["~standard"].validate(i);if(s instanceof Promise)throw new ls("Async validation not supported");if(s.issues)throw new ls(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in l?l.parse(i):typeof l=="function"?l(i):{}}function Z0({pathname:l,routesById:i,processedTree:s}){const o=Object.create(null),r=Jn(l);let h,m;const y=o0(r,s,!0);return y&&(h=y.route,Object.assign(o,y.rawParams),m=Object.assign(Object.create(null),y.parsedParams)),{matchedRoutes:y?.branch||[i.__root__],routeParams:o,foundRoute:h,parsedParams:m}}function J0({search:l,dest:i,destRoutes:s,_includeValidateSearch:o}){return P0(s)(l,i,o??!1)}function P0(l){const i={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const r of l){if("search"in r.options)r.options.search?.middlewares&&i.middlewares.push(...r.options.search.middlewares);else if(r.options.preSearchFilters||r.options.postSearchFilters){const h=({search:m,next:y})=>{let p=m;"preSearchFilters"in r.options&&r.options.preSearchFilters&&(p=r.options.preSearchFilters.reduce((S,g)=>g(S),m));const d=y(p);return"postSearchFilters"in r.options&&r.options.postSearchFilters?r.options.postSearchFilters.reduce((S,g)=>g(S),d):d};i.middlewares.push(h)}if(r.options.validateSearch){const h=({search:m,next:y})=>{const p=y(m);if(!i._includeValidateSearch)return p;try{return{...p,...ku(r.options.validateSearch,p)??void 0}}catch{return p}};i.middlewares.push(h)}}const s=({search:r})=>{const h=i.dest;return h.search?h.search===!0?r:Vn(h.search,r):{}};i.middlewares.push(s);const o=(r,h,m)=>{if(r>=m.length)return h;const y=m[r];return y({search:h,next:d=>o(r+1,d,m)})};return function(h,m,y){return i.dest=m,i._includeValidateSearch=y,o(0,h,i.middlewares)}}function F0(l,i){if(l!=="root")for(let s=i.length-1;s>=0;s--){const o=i[s];if(o.children)return o.id}return ba}function Km(l,i,s,o){const r=l.options.params?.parse??l.options.parseParams;if(r)if(l.options.skipRouteOnParseError)for(const h in i)h in s&&(o[h]=s[h]);else{const h=r(o);Object.assign(o,h)}}var k0="Error preloading route! ☝️",Oy=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(l){if(this.init=i=>{this.originalIndex=i.originalIndex;const s=this.options,o=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),o?this._path=ba:this.parentRoute||vn();let r=o?ba:s?.path;r&&r!=="/"&&(r=Sy(r));const h=s?.id||r;let m=o?ba:Pu([this.parentRoute.id==="__root__"?"":this.parentRoute.id,h]);r==="__root__"&&(r="/"),m!=="__root__"&&(m=Pu(["/",m]));const y=m==="__root__"?"/":Pu([this.parentRoute.fullPath,r]);this._path=r,this._id=m,this._fullPath=y,this._to=Jn(y)},this.addChildren=i=>this._addFileChildren(i),this._addFileChildren=i=>(Array.isArray(i)&&(this.children=i),typeof i=="object"&&i!==null&&(this.children=Object.values(i)),this),this._addFileTypes=()=>this,this.updateLoader=i=>(Object.assign(this.options,i),this),this.update=i=>(Object.assign(this.options,i),this),this.lazy=i=>(this.lazyFn=i,this),this.redirect=i=>z0({from:this.fullPath,...i}),this.options=l||{},this.isRoot=!l?.getParentRoute,l?.id&&l?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},W0=class extends Oy{constructor(l){super(l)}};function I0(l){if(typeof document<"u"&&document.querySelector){const i=l.stores.location.get(),s=i.state.__hashScrollIntoViewOptions??!0;if(s&&i.hash!==""){const o=document.getElementById(i.hash);o&&o.scrollIntoView(s)}}}function or(l){const i=l.errorComponent??rr;return lt.jsx($0,{getResetKey:l.getResetKey,onCatch:l.onCatch,children:({error:s,reset:o})=>s?W.createElement(i,{error:s,reset:o}):l.children})}var $0=class extends W.Component{constructor(...l){super(...l),this.state={error:null}}static getDerivedStateFromProps(l,i){const s=l.getResetKey();return i.error&&i.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(l){return{error:l}}reset(){this.setState({error:null})}componentDidCatch(l,i){this.props.onCatch&&this.props.onCatch(l,i)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function rr({error:l}){const[i,s]=W.useState(!1);return lt.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[lt.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[lt.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),lt.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(o=>!o),children:i?"Hide Error":"Show Error"})]}),lt.jsx("div",{style:{height:".25rem"}}),i?lt.jsx("div",{children:lt.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:l.message?lt.jsx("code",{children:l.message}):null})}):null]})}function tS({children:l,fallback:i=null}){return Cy()?lt.jsx(Si.Fragment,{children:l}):lt.jsx(Si.Fragment,{children:i})}function Cy(){return Si.useSyncExternalStore(eS,()=>!0,()=>!1)}function eS(){return()=>{}}var Ay=W.createContext(null);function Be(l){return W.useContext(Ay)}var cs=W.createContext(void 0),nS=W.createContext(void 0),Nt=(l=>(l[l.None=0]="None",l[l.Mutable=1]="Mutable",l[l.Watching=2]="Watching",l[l.RecursedCheck=4]="RecursedCheck",l[l.Recursed=8]="Recursed",l[l.Dirty=16]="Dirty",l[l.Pending=32]="Pending",l))(Nt||{});function aS({update:l,notify:i,unwatched:s}){return{link:o,unlink:r,propagate:h,checkDirty:m,shallowPropagate:y};function o(d,S,g){const b=S.depsTail;if(b!==void 0&&b.dep===d)return;const _=b!==void 0?b.nextDep:S.deps;if(_!==void 0&&_.dep===d){_.version=g,S.depsTail=_;return}const E=d.subsTail;if(E!==void 0&&E.version===g&&E.sub===S)return;const O=S.depsTail=d.subsTail={version:g,dep:d,sub:S,prevDep:b,nextDep:_,prevSub:E,nextSub:void 0};_!==void 0&&(_.prevDep=O),b!==void 0?b.nextDep=O:S.deps=O,E!==void 0?E.nextSub=O:d.subs=O}function r(d,S=d.sub){const g=d.dep,b=d.prevDep,_=d.nextDep,E=d.nextSub,O=d.prevSub;return _!==void 0?_.prevDep=b:S.depsTail=b,b!==void 0?b.nextDep=_:S.deps=_,E!==void 0?E.prevSub=O:g.subsTail=O,O!==void 0?O.nextSub=E:(g.subs=E)===void 0&&s(g),_}function h(d){let S=d.nextSub,g;t:do{const b=d.sub;let _=b.flags;if(_&60?_&12?_&4?!(_&48)&&p(d,b)?(b.flags=_|40,_&=1):_=0:b.flags=_&-9|32:_=0:b.flags=_|32,_&2&&i(b),_&1){const E=b.subs;if(E!==void 0){const O=(d=E).nextSub;O!==void 0&&(g={value:S,prev:g},S=O);continue}}if((d=S)!==void 0){S=d.nextSub;continue}for(;g!==void 0;)if(d=g.value,g=g.prev,d!==void 0){S=d.nextSub;continue t}break}while(!0)}function m(d,S){let g,b=0,_=!1;t:do{const E=d.dep,O=E.flags;if(S.flags&16)_=!0;else if((O&17)===17){if(l(E)){const L=E.subs;L.nextSub!==void 0&&y(L),_=!0}}else if((O&33)===33){(d.nextSub!==void 0||d.prevSub!==void 0)&&(g={value:d,prev:g}),d=E.deps,S=E,++b;continue}if(!_){const L=d.nextDep;if(L!==void 0){d=L;continue}}for(;b--;){const L=S.subs,D=L.nextSub!==void 0;if(D?(d=g.value,g=g.prev):d=L,_){if(l(S)){D&&y(L),S=d.sub;continue}_=!1}else S.flags&=-33;S=d.sub;const Q=d.nextDep;if(Q!==void 0){d=Q;continue t}}return _}while(!0)}function y(d){do{const S=d.sub,g=S.flags;(g&48)===32&&(S.flags=g|16,(g&6)===2&&i(S))}while((d=d.nextSub)!==void 0)}function p(d,S){let g=S.depsTail;for(;g!==void 0;){if(g===d)return!0;g=g.prevDep}return!1}}function lS(l,i,s){const o=typeof l=="object",r=o?l:void 0;return{next:(o?l.next:l)?.bind(r),error:(o?l.error:i)?.bind(r),complete:(o?l.complete:s)?.bind(r)}}const Wo=[];let Wu=0;const{link:Zm,unlink:iS,propagate:uS,checkDirty:xy,shallowPropagate:Jm}=aS({update(l){return l._update()},notify(l){Wo[Io++]=l,l.flags&=~Nt.Watching},unwatched(l){l.depsTail!==void 0&&(l.depsTail=void 0,l.flags=Nt.Mutable|Nt.Dirty,is(l))}});let Ju=0,Io=0,Je,$o=0;function zy(l){try{++$o,l()}finally{--$o||Dy()}}function is(l){const i=l.depsTail;let s=i!==void 0?i.nextDep:l.deps;for(;s!==void 0;)s=iS(s,l)}function Dy(){if(!($o>0)){for(;Ju<Io;){const l=Wo[Ju];Wo[Ju++]=void 0,l.notify()}Ju=0,Io=0}}function Pm(l,i){const s=typeof l=="function",o=l,r={_snapshot:s?void 0:l,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?Nt.None:Nt.Mutable,get(){return Je!==void 0&&Zm(r,Je,Wu),r._snapshot},subscribe(h){const m=lS(h),y={current:!1},p=sS(()=>{r.get(),y.current?m.next?.(r._snapshot):y.current=!0});return{unsubscribe:()=>{p.stop()}}},_update(h){const m=Je,y=i?.compare??Object.is;if(s)Je=r,++Wu,r.depsTail=void 0;else if(h===void 0)return!1;s&&(r.flags=Nt.Mutable|Nt.RecursedCheck);try{const p=r._snapshot,d=typeof h=="function"?h(p):h===void 0&&s?o(p):h;return p===void 0||!y(p,d)?(r._snapshot=d,!0):!1}finally{Je=m,s&&(r.flags&=~Nt.RecursedCheck),is(r)}}};return s?(r.flags=Nt.Mutable|Nt.Dirty,r.get=function(){const h=r.flags;if(h&Nt.Dirty||h&Nt.Pending&&xy(r.deps,r)){if(r._update()){const m=r.subs;m!==void 0&&Jm(m)}}else h&Nt.Pending&&(r.flags=h&~Nt.Pending);return Je!==void 0&&Zm(r,Je,Wu),r._snapshot}):r.set=function(h){if(r._update(h)){const m=r.subs;m!==void 0&&(uS(m),Jm(m),Dy())}},r}function sS(l){const i=()=>{const o=Je;Je=s,++Wu,s.depsTail=void 0,s.flags=Nt.Watching|Nt.RecursedCheck;try{return l()}finally{Je=o,s.flags&=~Nt.RecursedCheck,is(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Nt.Watching|Nt.RecursedCheck,notify(){const o=this.flags;o&Nt.Dirty||o&Nt.Pending&&xy(this.deps,this)?i():this.flags=Nt.Watching},stop(){this.flags=Nt.None,this.depsTail=void 0,is(this)}};return i(),s}var jo={exports:{}},Ho={},qo={exports:{}},Qo={};var Fm;function cS(){if(Fm)return Qo;Fm=1;var l=Oi();function i(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var s=typeof Object.is=="function"?Object.is:i,o=l.useState,r=l.useEffect,h=l.useLayoutEffect,m=l.useDebugValue;function y(g,b){var _=b(),E=o({inst:{value:_,getSnapshot:b}}),O=E[0].inst,L=E[1];return h(function(){O.value=_,O.getSnapshot=b,p(O)&&L({inst:O})},[g,_,b]),r(function(){return p(O)&&L({inst:O}),g(function(){p(O)&&L({inst:O})})},[g]),m(_),_}function p(g){var b=g.getSnapshot;g=g.value;try{var _=b();return!s(g,_)}catch{return!0}}function d(g,b){return b()}var S=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:y;return Qo.useSyncExternalStore=l.useSyncExternalStore!==void 0?l.useSyncExternalStore:S,Qo}var km;function oS(){return km||(km=1,qo.exports=cS()),qo.exports}var Wm;function rS(){if(Wm)return Ho;Wm=1;var l=Oi(),i=oS();function s(d,S){return d===S&&(d!==0||1/d===1/S)||d!==d&&S!==S}var o=typeof Object.is=="function"?Object.is:s,r=i.useSyncExternalStore,h=l.useRef,m=l.useEffect,y=l.useMemo,p=l.useDebugValue;return Ho.useSyncExternalStoreWithSelector=function(d,S,g,b,_){var E=h(null);if(E.current===null){var O={hasValue:!1,value:null};E.current=O}else O=E.current;E=y(function(){function D(J){if(!Q){if(Q=!0,G=J,J=b(J),_!==void 0&&O.hasValue){var q=O.value;if(_(q,J))return Y=q}return Y=J}if(q=Y,o(G,J))return q;var V=b(J);return _!==void 0&&_(q,V)?(G=J,q):(G=J,Y=V)}var Q=!1,G,Y,$=g===void 0?null:g;return[function(){return D(S())},$===null?void 0:function(){return D($())}]},[S,g,b,_]);var L=r(d,E[0],E[1]);return m(function(){O.hasValue=!0,O.value=L},[L]),p(L),L},Ho}var Im;function fS(){return Im||(Im=1,jo.exports=rS()),jo.exports}var hS=fS();function dS(l,i){return l===i}function Me(l,i,s=dS){const o=W.useCallback(m=>{if(!l)return()=>{};const{unsubscribe:y}=l.subscribe(m);return y},[l]),r=W.useCallback(()=>l?.get(),[l]);return hS.useSyncExternalStoreWithSelector(o,r,r,i,s)}var mS={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function Ea(l){const i=Be(),s=W.useContext(l.from?nS:cs),o=l.from??s,r=o?l.from?i.stores.getRouteMatchStore(o):i.stores.matchStores.get(o):void 0,h=W.useRef(void 0);return Me(r??mS,m=>{if((l.shouldThrow??!0)&&!m&&vn(),m===void 0)return;const y=l.select?l.select(m):m;if(l.structuralSharing??i.options.defaultStructuralSharing){const p=va(h.current,y);return h.current=p,p}return y})}function Uy(l){return Ea({from:l.from,strict:l.strict,structuralSharing:l.structuralSharing,select:i=>l.select?l.select(i.loaderData):i.loaderData})}function Ly(l){const{select:i,...s}=l;return Ea({...s,select:o=>i?i(o.loaderDeps):o.loaderDeps})}function wy(l){return Ea({from:l.from,shouldThrow:l.shouldThrow,structuralSharing:l.structuralSharing,strict:l.strict,select:i=>{const s=l.strict===!1?i.params:i._strictParams;return l.select?l.select(s):s}})}function Ny(l){return Ea({from:l.from,strict:l.strict,shouldThrow:l.shouldThrow,structuralSharing:l.structuralSharing,select:i=>l.select?l.select(i.search):i.search})}function By(l){const i=Be();return W.useCallback(s=>i.navigate({...s,from:s.from??l?.from}),[l?.from,i])}function jy(l){return Ea({...l,select:i=>l.select?l.select(i.context):i.context})}var yS=ey();function vS(l,i){const s=Be(),o=Wg(i),{activeProps:r,inactiveProps:h,activeOptions:m,to:y,preload:p,preloadDelay:d,preloadIntentProximity:S,hashScrollIntoView:g,replace:b,startTransition:_,resetScroll:E,viewTransition:O,children:L,target:D,disabled:Q,style:G,className:Y,onClick:$,onBlur:J,onFocus:q,onMouseEnter:V,onMouseLeave:K,onTouchStart:et,ignoreBlocker:F,params:ut,search:rt,hash:Bt,state:Mt,mask:w,reloadDocument:X,unsafeRelative:at,from:bt,_fromLocation:Rt,...M}=l,j=Cy(),Z=W.useMemo(()=>l,[s,l.from,l._fromLocation,l.hash,l.to,l.search,l.params,l.state,l.mask,l.unsafeRelative]),P=Me(s.stores.location,Dt=>Dt,(Dt,kt)=>Dt.href===kt.href),tt=W.useMemo(()=>{const Dt={_fromLocation:P,...Z};return s.buildLocation(Dt)},[s,P,Z]),ft=tt.maskedLocation?tt.maskedLocation.publicHref:tt.publicHref,pt=tt.maskedLocation?tt.maskedLocation.external:tt.external,qt=W.useMemo(()=>RS(ft,pt,s.history,Q),[Q,pt,ft,s.history]),xt=W.useMemo(()=>{if(qt?.external)return es(qt.href,s.protocolAllowlist)?void 0:qt.href;if(!ES(y)&&!(typeof y!="string"||y.indexOf(":")===-1))try{return new URL(y),es(y,s.protocolAllowlist)?void 0:y}catch{}},[y,qt,s.protocolAllowlist]),Pe=W.useMemo(()=>{if(xt)return!1;if(m?.exact){if(!y0(P.pathname,tt.pathname,s.basepath))return!1}else{const Dt=ns(P.pathname,s.basepath),kt=ns(tt.pathname,s.basepath);if(!(Dt.startsWith(kt)&&(Dt.length===kt.length||Dt[kt.length]==="/")))return!1}return(m?.includeSearch??!0)&&!Sa(P.search,tt.search,{partial:!m?.exact,ignoreUndefined:!m?.explicitUndefined})?!1:m?.includeHash?j&&P.hash===tt.hash:!0},[m?.exact,m?.explicitUndefined,m?.includeHash,m?.includeSearch,P,xt,j,tt.hash,tt.pathname,tt.search,s.basepath]),Fe=Pe?Vn(r,{})??pS:Yo,pn=Pe?Yo:Vn(h,{})??Yo,vl=[Y,Fe.className,pn.className].filter(Boolean).join(" "),Ye=(G||Fe.style||pn.style)&&{...G,...Fe.style,...pn.style},[pl,Ta]=W.useState(!1),Ci=W.useRef(!1),ke=l.reloadDocument||xt?!1:p??s.options.defaultPreload,Fn=d??s.options.defaultPreloadDelay??0,je=W.useCallback(()=>{s.preloadRoute({...Z,_builtLocation:tt}).catch(Dt=>{console.warn(Dt),console.warn(k0)})},[s,Z,tt]);kg(o,W.useCallback(Dt=>{Dt?.isIntersecting&&je()},[je]),_S,{disabled:!!Q||ke!=="viewport"}),W.useEffect(()=>{Ci.current||!Q&&ke==="render"&&(je(),Ci.current=!0)},[Q,je,ke]);const gl=Dt=>{const kt=Dt.currentTarget.getAttribute("target"),Ge=D!==void 0?D:kt;if(!Q&&!TS(Dt)&&!Dt.defaultPrevented&&(!Ge||Ge==="_self")&&Dt.button===0){Dt.preventDefault(),yS.flushSync(()=>{Ta(!0)});const Ma=s.subscribe("onResolved",()=>{Ma(),Ta(!1)});s.navigate({...Z,replace:b,resetScroll:E,hashScrollIntoView:g,startTransition:_,viewTransition:O,ignoreBlocker:F})}};if(xt)return{...M,ref:o,href:xt,...L&&{children:L},...D&&{target:D},...Q&&{disabled:Q},...G&&{style:G},...Y&&{className:Y},...$&&{onClick:$},...J&&{onBlur:J},...q&&{onFocus:q},...V&&{onMouseEnter:V},...K&&{onMouseLeave:K},...et&&{onTouchStart:et}};const Ai=Dt=>{if(Q||ke!=="intent")return;if(!Fn){je();return}const kt=Dt.currentTarget;if(pi.has(kt))return;const Ge=setTimeout(()=>{pi.delete(kt),je()},Fn);pi.set(kt,Ge)},os=Dt=>{Q||ke!=="intent"||je()},ne=Dt=>{if(Q||!ke||!Fn)return;const kt=Dt.currentTarget,Ge=pi.get(kt);Ge&&(clearTimeout(Ge),pi.delete(kt))};return{...M,...Fe,...pn,href:qt?.href,ref:o,onClick:rl([$,gl]),onBlur:rl([J,ne]),onFocus:rl([q,Ai]),onMouseEnter:rl([V,Ai]),onMouseLeave:rl([K,ne]),onTouchStart:rl([et,os]),disabled:!!Q,target:D,...Ye&&{style:Ye},...vl&&{className:vl},...Q&&gS,...Pe&&SS,...j&&pl&&bS}}var Yo={},pS={className:"active"},gS={role:"link","aria-disabled":!0},SS={"data-status":"active","aria-current":"page"},bS={"data-transitioning":"transitioning"},pi=new WeakMap,_S={rootMargin:"100px"},rl=l=>i=>{for(const s of l)if(s){if(i.defaultPrevented)return;s(i)}};function RS(l,i,s,o){if(!o)return i?{href:l,external:!0}:{href:s.createHref(l)||"/",external:!1}}function ES(l){if(typeof l!="string")return!1;const i=l.charCodeAt(0);return i===47?l.charCodeAt(1)!==47:i===46}var Hy=W.forwardRef((l,i)=>{const{_asChild:s,...o}=l,{type:r,...h}=vS(o,i),m=typeof o.children=="function"?o.children({isActive:h["data-status"]==="active"}):o.children;if(!s){const{disabled:y,...p}=h;return W.createElement("a",p,m)}return W.createElement(s,h,m)});function TS(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}var MS=class extends Oy{constructor(l){super(l),this.useMatch=i=>Ea({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>jy({...i,from:this.id}),this.useSearch=i=>Ny({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>wy({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>Ly({...i,from:this.id}),this.useLoaderData=i=>Uy({...i,from:this.id}),this.useNavigate=()=>By({from:this.fullPath}),this.Link=Si.forwardRef((i,s)=>lt.jsx(Hy,{ref:s,from:this.fullPath,...i}))}};function OS(l){return new MS(l)}var CS=class extends W0{constructor(l){super(l),this.useMatch=i=>Ea({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>jy({...i,from:this.id}),this.useSearch=i=>Ny({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>wy({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>Ly({...i,from:this.id}),this.useLoaderData=i=>Uy({...i,from:this.id}),this.useNavigate=()=>By({from:this.fullPath}),this.Link=Si.forwardRef((i,s)=>lt.jsx(Hy,{ref:s,from:this.fullPath,...i}))}};function IS(l){return new CS(l)}function $S(l){return new AS(l,{silent:!0}).createRoute}var AS=class{constructor(l,i){this.path=l,this.createRoute=s=>{const o=OS(s);return o.isRoot=!1,o},this.silent=i?.silent}};function xS(l){const i=Be(),s=`not-found-${Me(i.stores.location,o=>o.pathname)}-${Me(i.stores.status,o=>o)}`;return lt.jsx(or,{getResetKey:()=>s,onCatch:(o,r)=>{if(le(o))l.onCatch?.(o,r);else throw o},errorComponent:({error:o})=>{if(le(o))return l.fallback?.(o);throw o},children:l.children})}function zS(){return lt.jsx("p",{children:"Not Found"})}function fl(l){return lt.jsx(lt.Fragment,{children:l.children})}function qy(l,i,s){return i.options.notFoundComponent?lt.jsx(i.options.notFoundComponent,{...s}):l.options.defaultNotFoundComponent?lt.jsx(l.options.defaultNotFoundComponent,{...s}):lt.jsx(zS,{})}function DS(l){return null}function US(){return DS(Be()),null}var Qy=W.memo(function({matchId:i}){const s=Be(),o=s.stores.matchStores.get(i);o||vn();const r=Me(s.stores.loadedAt,m=>m),h=Me(o,m=>m);return lt.jsx(LS,{router:s,matchId:i,resetKey:r,matchState:W.useMemo(()=>{const m=h.routeId,y=s.routesById[m].parentRoute?.id;return{routeId:m,ssr:h.ssr,_displayPending:h._displayPending,parentRouteId:y}},[h._displayPending,h.routeId,h.ssr,s.routesById])})});function LS({router:l,matchId:i,resetKey:s,matchState:o}){const r=l.routesById[o.routeId],h=r.options.pendingComponent??l.options.defaultPendingComponent,m=h?lt.jsx(h,{}):null,y=r.options.errorComponent??l.options.defaultErrorComponent,p=r.options.onCatch??l.options.defaultOnCatch,d=r.isRoot?r.options.notFoundComponent??l.options.notFoundRoute?.options.component:r.options.notFoundComponent,S=o.ssr===!1||o.ssr==="data-only",g=(!r.isRoot||r.options.wrapInSuspense||S)&&(r.options.wrapInSuspense??h??(r.options.errorComponent?.preload||S))?W.Suspense:fl,b=y?or:fl,_=d?xS:fl;return lt.jsxs(r.isRoot?r.options.shellComponent??fl:fl,{children:[lt.jsx(cs.Provider,{value:i,children:lt.jsx(g,{fallback:m,children:lt.jsx(b,{getResetKey:()=>s,errorComponent:y||rr,onCatch:(E,O)=>{if(le(E))throw E.routeId??=o.routeId,E;p?.(E,O)},children:lt.jsx(_,{fallback:E=>{if(E.routeId??=o.routeId,!d||E.routeId&&E.routeId!==o.routeId||!E.routeId&&!r.isRoot)throw E;return W.createElement(d,E)},children:S||o._displayPending?lt.jsx(tS,{fallback:m,children:lt.jsx($m,{matchId:i})}):lt.jsx($m,{matchId:i})})})})}),o.parentRouteId===ba?lt.jsxs(lt.Fragment,{children:[lt.jsx(wS,{resetKey:s}),l.options.scrollRestoration&&vy?lt.jsx(US,{}):null]}):null]})}function wS({resetKey:l}){const i=Be(),s=W.useRef(void 0);return gi(()=>{const o=i.latestLocation.href;(s.current===void 0||s.current!==o)&&(i.emit({type:"onRendered",...hl(i.stores.location.get(),i.stores.resolvedLocation.get())}),s.current=o)},[i.latestLocation.state.__TSR_key,l,i]),null}var $m=W.memo(function({matchId:i}){const s=Be(),o=(S,g)=>s.getMatch(S.id)?._nonReactive[g]??S._nonReactive[g],r=s.stores.matchStores.get(i);r||vn();const h=Me(r,S=>S),m=h.routeId,y=s.routesById[m],p=W.useMemo(()=>{const S=(s.routesById[m].options.remountDeps??s.options.defaultRemountDeps)?.({routeId:m,loaderDeps:h.loaderDeps,params:h._strictParams,search:h._strictSearch});return S?JSON.stringify(S):void 0},[m,h.loaderDeps,h._strictParams,h._strictSearch,s.options.defaultRemountDeps,s.routesById]),d=W.useMemo(()=>{const S=y.options.component??s.options.defaultComponent;return S?lt.jsx(S,{},p):lt.jsx(NS,{})},[p,y.options.component,s.options.defaultComponent]);if(h._displayPending)throw o(h,"displayPendingPromise");if(h._forcePending)throw o(h,"minPendingPromise");if(h.status==="pending"){const S=y.options.pendingMinMs??s.options.defaultPendingMinMs;if(S){const g=s.getMatch(h.id);if(g&&!g._nonReactive.minPendingPromise){const b=ml();g._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),g._nonReactive.minPendingPromise=void 0},S)}}throw o(h,"loadPromise")}if(h.status==="notFound")return le(h.error)||vn(),qy(s,y,h.error);if(h.status==="redirected")throw me(h.error)||vn(),o(h,"loadPromise");if(h.status==="error")throw h.error;return d}),NS=W.memo(function(){const i=Be(),s=W.useContext(cs);let o,r=!1,h;{const d=s?i.stores.matchStores.get(s):void 0;[o,r]=Me(d,S=>[S?.routeId,S?.globalNotFound??!1]),h=Me(i.stores.matchesId,S=>S[S.findIndex(g=>g===s)+1])}const m=o?i.routesById[o]:void 0,y=i.options.defaultPendingComponent?lt.jsx(i.options.defaultPendingComponent,{}):null;if(r)return m||vn(),qy(i,m,void 0);if(!h)return null;const p=lt.jsx(Qy,{matchId:h});return o===ba?lt.jsx(W.Suspense,{fallback:y,children:p}):p});function BS(){const l=Be(),i=W.useRef({router:l,mounted:!1}),[s,o]=W.useState(!1),r=Me(l.stores.isLoading,g=>g),h=Me(l.stores.hasPending,g=>g),m=xo(r),y=r||s||h,p=xo(y),d=r||h,S=xo(d);return l.startTransition=g=>{o(!0),W.startTransition(()=>{g(),o(!1)})},W.useEffect(()=>{const g=l.history.subscribe(l.load),b=l.buildLocation({to:l.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Jn(l.latestLocation.publicHref)!==Jn(b.publicHref)&&l.commitLocation({...b,replace:!0}),()=>{g()}},[l,l.history]),gi(()=>{if(typeof window<"u"&&l.ssr||i.current.router===l&&i.current.mounted)return;i.current={router:l,mounted:!0},(async()=>{try{await l.load()}catch(b){console.error(b)}})()},[l]),gi(()=>{m&&!r&&l.emit({type:"onLoad",...hl(l.stores.location.get(),l.stores.resolvedLocation.get())})},[m,l,r]),gi(()=>{S&&!d&&l.emit({type:"onBeforeRouteMount",...hl(l.stores.location.get(),l.stores.resolvedLocation.get())})},[d,S,l]),gi(()=>{if(p&&!y){const g=hl(l.stores.location.get(),l.stores.resolvedLocation.get());l.emit({type:"onResolved",...g}),zy(()=>{l.stores.status.set("idle"),l.stores.resolvedLocation.set(l.stores.location.get())}),g.hrefChanged&&I0(l)}},[y,p,l]),null}function jS(){const l=Be(),i=l.routesById[ba].options.pendingComponent??l.options.defaultPendingComponent,s=i?lt.jsx(i,{}):null,o=lt.jsxs(typeof document<"u"&&l.ssr?fl:W.Suspense,{fallback:s,children:[lt.jsx(BS,{}),lt.jsx(HS,{})]});return l.options.InnerWrap?lt.jsx(l.options.InnerWrap,{children:o}):o}function HS(){const l=Be(),i=Me(l.stores.firstId,r=>r),s=Me(l.stores.loadedAt,r=>r),o=i?lt.jsx(Qy,{matchId:i}):null;return lt.jsx(cs.Provider,{value:i,children:l.options.disableGlobalCatchBoundary?o:lt.jsx(or,{getResetKey:()=>s,errorComponent:rr,onCatch:void 0,children:o})})}var qS=l=>({createMutableStore:Pm,createReadonlyStore:Pm,batch:zy}),tb=l=>new QS(l),QS=class extends X0{constructor(l){super(l,qS)}};function YS({router:l,children:i,...s}){Object.keys(s).length>0&&l.update({...l.options,...s,context:{...l.options.context,...s.context}});const o=lt.jsx(Ay.Provider,{value:l,children:i});return l.options.Wrap?lt.jsx(l.options.Wrap,{children:o}):o}function eb({router:l,...i}){return lt.jsx(YS,{router:l,...i,children:lt.jsx(jS,{})})}const GS="modulepreload",XS=function(l){return"/"+l},ty={},nb=function(i,s,o){let r=Promise.resolve();if(s&&s.length>0){let p=function(d){return Promise.all(d.map(S=>Promise.resolve(S).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),y=m?.nonce||m?.getAttribute("nonce");r=p(s.map(d=>{if(d=XS(d),d in ty)return;ty[d]=!0;const S=d.endsWith(".css"),g=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${g}`))return;const b=document.createElement("link");if(b.rel=S?"stylesheet":GS,S||(b.as="script"),b.crossOrigin="",b.href=d,y&&b.setAttribute("nonce",y),document.head.appendChild(b),S)return new Promise((_,E)=>{b.addEventListener("load",_),b.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${d}`)))})}))}function h(m){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=m,window.dispatchEvent(y),!y.defaultPrevented)throw m}return r.then(m=>{for(const y of m||[])y.status==="rejected"&&h(y.reason);return i().catch(h)})};export{NS as O,JS as Q,Si as R,nb as _,dy as a,kS as b,VS as c,WS as d,KS as e,IS as f,ug as g,$S as h,z0 as i,lt as j,By as k,tb as l,PS as m,eb as n,ZS as o,W as r,FS as u};
|