@jxtools/visualgit 1.5.3 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))c(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&c(h)}).observe(document,{childList:!0,subtree:!0});function r(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function c(s){if(s.ep)return;s.ep=!0;const f=r(s);fetch(s.href,f)}})();function Wp(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var fo={exports:{}},oa={};var tp;function $g(){if(tp)return oa;tp=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(c,s,f){var h=null;if(f!==void 0&&(h=""+f),s.key!==void 0&&(h=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:i,type:c,key:h,ref:s!==void 0?s:null,props:f}}return oa.Fragment=a,oa.jsx=r,oa.jsxs=r,oa}var ep;function Pg(){return ep||(ep=1,fo.exports=$g()),fo.exports}var D=Pg(),ho={exports:{}},gt={};var np;function t1(){if(np)return gt;np=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),z=Symbol.iterator;function b(T){return T===null||typeof T!="object"?null:(T=z&&T[z]||T["@@iterator"],typeof T=="function"?T:null)}var Y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G=Object.assign,F={};function B(T,U,S){this.props=T,this.context=U,this.refs=F,this.updater=S||Y}B.prototype.isReactComponent={},B.prototype.setState=function(T,U){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,U,"setState")},B.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function P(){}P.prototype=B.prototype;function Z(T,U,S){this.props=T,this.context=U,this.refs=F,this.updater=S||Y}var I=Z.prototype=new P;I.constructor=Z,G(I,B.prototype),I.isPureReactComponent=!0;var ht=Array.isArray;function j(){}var nt={H:null,A:null,T:null,S:null},ot=Object.prototype.hasOwnProperty;function ct(T,U,S){var et=S.ref;return{$$typeof:i,type:T,key:U,ref:et!==void 0?et:null,props:S}}function pt(T,U){return ct(T.type,U,T.props)}function X(T){return typeof T=="object"&&T!==null&&T.$$typeof===i}function V(T){var U={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(S){return U[S]})}var tt=/\/+/g;function W(T,U){return typeof T=="object"&&T!==null&&T.key!=null?V(""+T.key):U.toString(36)}function Q(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(j,j):(T.status="pending",T.then(function(U){T.status==="pending"&&(T.status="fulfilled",T.value=U)},function(U){T.status==="pending"&&(T.status="rejected",T.reason=U)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function N(T,U,S,et,ft){var ut=typeof T;(ut==="undefined"||ut==="boolean")&&(T=null);var Tt=!1;if(T===null)Tt=!0;else switch(ut){case"bigint":case"string":case"number":Tt=!0;break;case"object":switch(T.$$typeof){case i:case a:Tt=!0;break;case v:return Tt=T._init,N(Tt(T._payload),U,S,et,ft)}}if(Tt)return ft=ft(T),Tt=et===""?"."+W(T,0):et,ht(ft)?(S="",Tt!=null&&(S=Tt.replace(tt,"$&/")+"/"),N(ft,U,S,"",function(Le){return Le})):ft!=null&&(X(ft)&&(ft=pt(ft,S+(ft.key==null||T&&T.key===ft.key?"":(""+ft.key).replace(tt,"$&/")+"/")+Tt)),U.push(ft)),1;Tt=0;var Zt=et===""?".":et+":";if(ht(T))for(var Bt=0;Bt<T.length;Bt++)et=T[Bt],ut=Zt+W(et,Bt),Tt+=N(et,U,S,ut,ft);else if(Bt=b(T),typeof Bt=="function")for(T=Bt.call(T),Bt=0;!(et=T.next()).done;)et=et.value,ut=Zt+W(et,Bt++),Tt+=N(et,U,S,ut,ft);else if(ut==="object"){if(typeof T.then=="function")return N(Q(T),U,S,et,ft);throw U=String(T),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Tt}function K(T,U,S){if(T==null)return T;var et=[],ft=0;return N(T,et,"","",function(ut){return U.call(S,ut,ft++)}),et}function at(T){if(T._status===-1){var U=T._result;U=U(),U.then(function(S){(T._status===0||T._status===-1)&&(T._status=1,T._result=S)},function(S){(T._status===0||T._status===-1)&&(T._status=2,T._result=S)}),T._status===-1&&(T._status=0,T._result=U)}if(T._status===1)return T._result.default;throw T._result}var St=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=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(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},E={map:K,forEach:function(T,U,S){K(T,function(){U.apply(this,arguments)},S)},count:function(T){var U=0;return K(T,function(){U++}),U},toArray:function(T){return K(T,function(U){return U})||[]},only:function(T){if(!X(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return gt.Activity=x,gt.Children=E,gt.Component=B,gt.Fragment=r,gt.Profiler=s,gt.PureComponent=Z,gt.StrictMode=c,gt.Suspense=g,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=nt,gt.__COMPILER_RUNTIME={__proto__:null,c:function(T){return nt.H.useMemoCache(T)}},gt.cache=function(T){return function(){return T.apply(null,arguments)}},gt.cacheSignal=function(){return null},gt.cloneElement=function(T,U,S){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var et=G({},T.props),ft=T.key;if(U!=null)for(ut in U.key!==void 0&&(ft=""+U.key),U)!ot.call(U,ut)||ut==="key"||ut==="__self"||ut==="__source"||ut==="ref"&&U.ref===void 0||(et[ut]=U[ut]);var ut=arguments.length-2;if(ut===1)et.children=S;else if(1<ut){for(var Tt=Array(ut),Zt=0;Zt<ut;Zt++)Tt[Zt]=arguments[Zt+2];et.children=Tt}return ct(T.type,ft,et)},gt.createContext=function(T){return T={$$typeof:h,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},gt.createElement=function(T,U,S){var et,ft={},ut=null;if(U!=null)for(et in U.key!==void 0&&(ut=""+U.key),U)ot.call(U,et)&&et!=="key"&&et!=="__self"&&et!=="__source"&&(ft[et]=U[et]);var Tt=arguments.length-2;if(Tt===1)ft.children=S;else if(1<Tt){for(var Zt=Array(Tt),Bt=0;Bt<Tt;Bt++)Zt[Bt]=arguments[Bt+2];ft.children=Zt}if(T&&T.defaultProps)for(et in Tt=T.defaultProps,Tt)ft[et]===void 0&&(ft[et]=Tt[et]);return ct(T,ut,ft)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(T){return{$$typeof:m,render:T}},gt.isValidElement=X,gt.lazy=function(T){return{$$typeof:v,_payload:{_status:-1,_result:T},_init:at}},gt.memo=function(T,U){return{$$typeof:p,type:T,compare:U===void 0?null:U}},gt.startTransition=function(T){var U=nt.T,S={};nt.T=S;try{var et=T(),ft=nt.S;ft!==null&&ft(S,et),typeof et=="object"&&et!==null&&typeof et.then=="function"&&et.then(j,St)}catch(ut){St(ut)}finally{U!==null&&S.types!==null&&(U.types=S.types),nt.T=U}},gt.unstable_useCacheRefresh=function(){return nt.H.useCacheRefresh()},gt.use=function(T){return nt.H.use(T)},gt.useActionState=function(T,U,S){return nt.H.useActionState(T,U,S)},gt.useCallback=function(T,U){return nt.H.useCallback(T,U)},gt.useContext=function(T){return nt.H.useContext(T)},gt.useDebugValue=function(){},gt.useDeferredValue=function(T,U){return nt.H.useDeferredValue(T,U)},gt.useEffect=function(T,U){return nt.H.useEffect(T,U)},gt.useEffectEvent=function(T){return nt.H.useEffectEvent(T)},gt.useId=function(){return nt.H.useId()},gt.useImperativeHandle=function(T,U,S){return nt.H.useImperativeHandle(T,U,S)},gt.useInsertionEffect=function(T,U){return nt.H.useInsertionEffect(T,U)},gt.useLayoutEffect=function(T,U){return nt.H.useLayoutEffect(T,U)},gt.useMemo=function(T,U){return nt.H.useMemo(T,U)},gt.useOptimistic=function(T,U){return nt.H.useOptimistic(T,U)},gt.useReducer=function(T,U,S){return nt.H.useReducer(T,U,S)},gt.useRef=function(T){return nt.H.useRef(T)},gt.useState=function(T){return nt.H.useState(T)},gt.useSyncExternalStore=function(T,U,S){return nt.H.useSyncExternalStore(T,U,S)},gt.useTransition=function(){return nt.H.useTransition()},gt.version="19.2.4",gt}var lp;function Yo(){return lp||(lp=1,ho.exports=t1()),ho.exports}var mt=Yo(),po={exports:{}},sa={},mo={exports:{}},yo={};var ip;function e1(){return ip||(ip=1,(function(i){function a(N,K){var at=N.length;N.push(K);t:for(;0<at;){var St=at-1>>>1,E=N[St];if(0<s(E,K))N[St]=K,N[at]=E,at=St;else break t}}function r(N){return N.length===0?null:N[0]}function c(N){if(N.length===0)return null;var K=N[0],at=N.pop();if(at!==K){N[0]=at;t:for(var St=0,E=N.length,T=E>>>1;St<T;){var U=2*(St+1)-1,S=N[U],et=U+1,ft=N[et];if(0>s(S,at))et<E&&0>s(ft,S)?(N[St]=ft,N[et]=at,St=et):(N[St]=S,N[U]=at,St=U);else if(et<E&&0>s(ft,at))N[St]=ft,N[et]=at,St=et;else break t}}return K}function s(N,K){var at=N.sortIndex-K.sortIndex;return at!==0?at:N.id-K.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var h=Date,m=h.now();i.unstable_now=function(){return h.now()-m}}var g=[],p=[],v=1,x=null,z=3,b=!1,Y=!1,G=!1,F=!1,B=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function I(N){for(var K=r(p);K!==null;){if(K.callback===null)c(p);else if(K.startTime<=N)c(p),K.sortIndex=K.expirationTime,a(g,K);else break;K=r(p)}}function ht(N){if(G=!1,I(N),!Y)if(r(g)!==null)Y=!0,j||(j=!0,V());else{var K=r(p);K!==null&&Q(ht,K.startTime-N)}}var j=!1,nt=-1,ot=5,ct=-1;function pt(){return F?!0:!(i.unstable_now()-ct<ot)}function X(){if(F=!1,j){var N=i.unstable_now();ct=N;var K=!0;try{t:{Y=!1,G&&(G=!1,P(nt),nt=-1),b=!0;var at=z;try{e:{for(I(N),x=r(g);x!==null&&!(x.expirationTime>N&&pt());){var St=x.callback;if(typeof St=="function"){x.callback=null,z=x.priorityLevel;var E=St(x.expirationTime<=N);if(N=i.unstable_now(),typeof E=="function"){x.callback=E,I(N),K=!0;break e}x===r(g)&&c(g),I(N)}else c(g);x=r(g)}if(x!==null)K=!0;else{var T=r(p);T!==null&&Q(ht,T.startTime-N),K=!1}}break t}finally{x=null,z=at,b=!1}K=void 0}}finally{K?V():j=!1}}}var V;if(typeof Z=="function")V=function(){Z(X)};else if(typeof MessageChannel<"u"){var tt=new MessageChannel,W=tt.port2;tt.port1.onmessage=X,V=function(){W.postMessage(null)}}else V=function(){B(X,0)};function Q(N,K){nt=B(function(){N(i.unstable_now())},K)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(N){N.callback=null},i.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ot=0<N?Math.floor(1e3/N):5},i.unstable_getCurrentPriorityLevel=function(){return z},i.unstable_next=function(N){switch(z){case 1:case 2:case 3:var K=3;break;default:K=z}var at=z;z=K;try{return N()}finally{z=at}},i.unstable_requestPaint=function(){F=!0},i.unstable_runWithPriority=function(N,K){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var at=z;z=N;try{return K()}finally{z=at}},i.unstable_scheduleCallback=function(N,K,at){var St=i.unstable_now();switch(typeof at=="object"&&at!==null?(at=at.delay,at=typeof at=="number"&&0<at?St+at:St):at=St,N){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=at+E,N={id:v++,callback:K,priorityLevel:N,startTime:at,expirationTime:E,sortIndex:-1},at>St?(N.sortIndex=at,a(p,N),r(g)===null&&N===r(p)&&(G?(P(nt),nt=-1):G=!0,Q(ht,at-St))):(N.sortIndex=E,a(g,N),Y||b||(Y=!0,j||(j=!0,V()))),N},i.unstable_shouldYield=pt,i.unstable_wrapCallback=function(N){var K=z;return function(){var at=z;z=K;try{return N.apply(this,arguments)}finally{z=at}}}})(yo)),yo}var ap;function n1(){return ap||(ap=1,mo.exports=e1()),mo.exports}var go={exports:{}},de={};var up;function l1(){if(up)return de;up=1;var i=Yo();function a(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(g,p,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:x==null?null:""+x,children:g,containerInfo:p,implementation:v}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,de.createPortal=function(g,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return f(g,p,null,v)},de.flushSync=function(g){var p=h.T,v=c.p;try{if(h.T=null,c.p=2,g)return g()}finally{h.T=p,c.p=v,c.d.f()}},de.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,c.d.C(g,p))},de.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},de.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin),z=typeof p.integrity=="string"?p.integrity:void 0,b=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?c.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:z,fetchPriority:b}):v==="script"&&c.d.X(g,{crossOrigin:x,integrity:z,fetchPriority:b,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},de.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);c.d.M(g,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&c.d.M(g)},de.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin);c.d.L(g,v,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},de.preloadModule=function(g,p){if(typeof g=="string")if(p){var v=m(p.as,p.crossOrigin);c.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else c.d.m(g)},de.requestFormReset=function(g){c.d.r(g)},de.unstable_batchedUpdates=function(g,p){return g(p)},de.useFormState=function(g,p,v){return h.H.useFormState(g,p,v)},de.useFormStatus=function(){return h.H.useHostTransitionStatus()},de.version="19.2.4",de}var rp;function i1(){if(rp)return go.exports;rp=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),go.exports=l1(),go.exports}var cp;function a1(){if(cp)return sa;cp=1;var i=n1(),a=Yo(),r=i1();function c(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 s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(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 h(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 m(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 g(t){if(f(t)!==t)throw Error(c(188))}function p(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,l=e;;){var u=n.return;if(u===null)break;var o=u.alternate;if(o===null){if(l=u.return,l!==null){n=l;continue}break}if(u.child===o.child){for(o=u.child;o;){if(o===n)return g(u),t;if(o===l)return g(u),e;o=o.sibling}throw Error(c(188))}if(n.return!==l.return)n=u,l=o;else{for(var d=!1,y=u.child;y;){if(y===n){d=!0,n=u,l=o;break}if(y===l){d=!0,l=u,n=o;break}y=y.sibling}if(!d){for(y=o.child;y;){if(y===n){d=!0,n=o,l=u;break}if(y===l){d=!0,l=o,n=u;break}y=y.sibling}if(!d)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var x=Object.assign,z=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),nt=Symbol.for("react.memo"),ot=Symbol.for("react.lazy"),ct=Symbol.for("react.activity"),pt=Symbol.for("react.memo_cache_sentinel"),X=Symbol.iterator;function V(t){return t===null||typeof t!="object"?null:(t=X&&t[X]||t["@@iterator"],typeof t=="function"?t:null)}var tt=Symbol.for("react.client.reference");function W(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===tt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case G:return"Fragment";case B:return"Profiler";case F:return"StrictMode";case ht:return"Suspense";case j:return"SuspenseList";case ct:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Y:return"Portal";case Z:return t.displayName||"Context";case P:return(t._context.displayName||"Context")+".Consumer";case I:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case nt:return e=t.displayName||null,e!==null?e:W(t.type)||"Memo";case ot:e=t._payload,t=t._init;try{return W(t(e))}catch{}}return null}var Q=Array.isArray,N=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at={pending:!1,data:null,method:null,action:null},St=[],E=-1;function T(t){return{current:t}}function U(t){0>E||(t.current=St[E],St[E]=null,E--)}function S(t,e){E++,St[E]=t.current,t.current=e}var et=T(null),ft=T(null),ut=T(null),Tt=T(null);function Zt(t,e){switch(S(ut,e),S(ft,t),S(et,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?zd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=zd(e),t=Ad(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}U(et),S(et,t)}function Bt(){U(et),U(ft),U(ut)}function Le(t){t.memoizedState!==null&&S(Tt,t);var e=et.current,n=Ad(e,t.type);e!==n&&(S(ft,t),S(et,n))}function on(t){ft.current===t&&(U(et),U(ft)),Tt.current===t&&(U(Tt),aa._currentValue=at)}var yi,Sa;function sn(t){if(yi===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);yi=e&&e[1]||"",Sa=-1<n.stack.indexOf(`
1
+ (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))c(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&c(h)}).observe(document,{childList:!0,subtree:!0});function r(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function c(s){if(s.ep)return;s.ep=!0;const f=r(s);fetch(s.href,f)}})();function Wp(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var fo={exports:{}},oa={};var tp;function $g(){if(tp)return oa;tp=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(c,s,f){var h=null;if(f!==void 0&&(h=""+f),s.key!==void 0&&(h=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:i,type:c,key:h,ref:s!==void 0?s:null,props:f}}return oa.Fragment=a,oa.jsx=r,oa.jsxs=r,oa}var ep;function Pg(){return ep||(ep=1,fo.exports=$g()),fo.exports}var M=Pg(),ho={exports:{}},gt={};var np;function t1(){if(np)return gt;np=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),z=Symbol.iterator;function b(T){return T===null||typeof T!="object"?null:(T=z&&T[z]||T["@@iterator"],typeof T=="function"?T:null)}var Y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G=Object.assign,F={};function B(T,U,S){this.props=T,this.context=U,this.refs=F,this.updater=S||Y}B.prototype.isReactComponent={},B.prototype.setState=function(T,U){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,U,"setState")},B.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function P(){}P.prototype=B.prototype;function Z(T,U,S){this.props=T,this.context=U,this.refs=F,this.updater=S||Y}var I=Z.prototype=new P;I.constructor=Z,G(I,B.prototype),I.isPureReactComponent=!0;var ht=Array.isArray;function j(){}var nt={H:null,A:null,T:null,S:null},ot=Object.prototype.hasOwnProperty;function ct(T,U,S){var et=S.ref;return{$$typeof:i,type:T,key:U,ref:et!==void 0?et:null,props:S}}function pt(T,U){return ct(T.type,U,T.props)}function X(T){return typeof T=="object"&&T!==null&&T.$$typeof===i}function V(T){var U={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(S){return U[S]})}var tt=/\/+/g;function W(T,U){return typeof T=="object"&&T!==null&&T.key!=null?V(""+T.key):U.toString(36)}function Q(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(j,j):(T.status="pending",T.then(function(U){T.status==="pending"&&(T.status="fulfilled",T.value=U)},function(U){T.status==="pending"&&(T.status="rejected",T.reason=U)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function N(T,U,S,et,ft){var ut=typeof T;(ut==="undefined"||ut==="boolean")&&(T=null);var Tt=!1;if(T===null)Tt=!0;else switch(ut){case"bigint":case"string":case"number":Tt=!0;break;case"object":switch(T.$$typeof){case i:case a:Tt=!0;break;case v:return Tt=T._init,N(Tt(T._payload),U,S,et,ft)}}if(Tt)return ft=ft(T),Tt=et===""?"."+W(T,0):et,ht(ft)?(S="",Tt!=null&&(S=Tt.replace(tt,"$&/")+"/"),N(ft,U,S,"",function(Le){return Le})):ft!=null&&(X(ft)&&(ft=pt(ft,S+(ft.key==null||T&&T.key===ft.key?"":(""+ft.key).replace(tt,"$&/")+"/")+Tt)),U.push(ft)),1;Tt=0;var Zt=et===""?".":et+":";if(ht(T))for(var Bt=0;Bt<T.length;Bt++)et=T[Bt],ut=Zt+W(et,Bt),Tt+=N(et,U,S,ut,ft);else if(Bt=b(T),typeof Bt=="function")for(T=Bt.call(T),Bt=0;!(et=T.next()).done;)et=et.value,ut=Zt+W(et,Bt++),Tt+=N(et,U,S,ut,ft);else if(ut==="object"){if(typeof T.then=="function")return N(Q(T),U,S,et,ft);throw U=String(T),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Tt}function K(T,U,S){if(T==null)return T;var et=[],ft=0;return N(T,et,"","",function(ut){return U.call(S,ut,ft++)}),et}function at(T){if(T._status===-1){var U=T._result;U=U(),U.then(function(S){(T._status===0||T._status===-1)&&(T._status=1,T._result=S)},function(S){(T._status===0||T._status===-1)&&(T._status=2,T._result=S)}),T._status===-1&&(T._status=0,T._result=U)}if(T._status===1)return T._result.default;throw T._result}var St=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=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(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},E={map:K,forEach:function(T,U,S){K(T,function(){U.apply(this,arguments)},S)},count:function(T){var U=0;return K(T,function(){U++}),U},toArray:function(T){return K(T,function(U){return U})||[]},only:function(T){if(!X(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return gt.Activity=x,gt.Children=E,gt.Component=B,gt.Fragment=r,gt.Profiler=s,gt.PureComponent=Z,gt.StrictMode=c,gt.Suspense=g,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=nt,gt.__COMPILER_RUNTIME={__proto__:null,c:function(T){return nt.H.useMemoCache(T)}},gt.cache=function(T){return function(){return T.apply(null,arguments)}},gt.cacheSignal=function(){return null},gt.cloneElement=function(T,U,S){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var et=G({},T.props),ft=T.key;if(U!=null)for(ut in U.key!==void 0&&(ft=""+U.key),U)!ot.call(U,ut)||ut==="key"||ut==="__self"||ut==="__source"||ut==="ref"&&U.ref===void 0||(et[ut]=U[ut]);var ut=arguments.length-2;if(ut===1)et.children=S;else if(1<ut){for(var Tt=Array(ut),Zt=0;Zt<ut;Zt++)Tt[Zt]=arguments[Zt+2];et.children=Tt}return ct(T.type,ft,et)},gt.createContext=function(T){return T={$$typeof:h,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},gt.createElement=function(T,U,S){var et,ft={},ut=null;if(U!=null)for(et in U.key!==void 0&&(ut=""+U.key),U)ot.call(U,et)&&et!=="key"&&et!=="__self"&&et!=="__source"&&(ft[et]=U[et]);var Tt=arguments.length-2;if(Tt===1)ft.children=S;else if(1<Tt){for(var Zt=Array(Tt),Bt=0;Bt<Tt;Bt++)Zt[Bt]=arguments[Bt+2];ft.children=Zt}if(T&&T.defaultProps)for(et in Tt=T.defaultProps,Tt)ft[et]===void 0&&(ft[et]=Tt[et]);return ct(T,ut,ft)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(T){return{$$typeof:m,render:T}},gt.isValidElement=X,gt.lazy=function(T){return{$$typeof:v,_payload:{_status:-1,_result:T},_init:at}},gt.memo=function(T,U){return{$$typeof:p,type:T,compare:U===void 0?null:U}},gt.startTransition=function(T){var U=nt.T,S={};nt.T=S;try{var et=T(),ft=nt.S;ft!==null&&ft(S,et),typeof et=="object"&&et!==null&&typeof et.then=="function"&&et.then(j,St)}catch(ut){St(ut)}finally{U!==null&&S.types!==null&&(U.types=S.types),nt.T=U}},gt.unstable_useCacheRefresh=function(){return nt.H.useCacheRefresh()},gt.use=function(T){return nt.H.use(T)},gt.useActionState=function(T,U,S){return nt.H.useActionState(T,U,S)},gt.useCallback=function(T,U){return nt.H.useCallback(T,U)},gt.useContext=function(T){return nt.H.useContext(T)},gt.useDebugValue=function(){},gt.useDeferredValue=function(T,U){return nt.H.useDeferredValue(T,U)},gt.useEffect=function(T,U){return nt.H.useEffect(T,U)},gt.useEffectEvent=function(T){return nt.H.useEffectEvent(T)},gt.useId=function(){return nt.H.useId()},gt.useImperativeHandle=function(T,U,S){return nt.H.useImperativeHandle(T,U,S)},gt.useInsertionEffect=function(T,U){return nt.H.useInsertionEffect(T,U)},gt.useLayoutEffect=function(T,U){return nt.H.useLayoutEffect(T,U)},gt.useMemo=function(T,U){return nt.H.useMemo(T,U)},gt.useOptimistic=function(T,U){return nt.H.useOptimistic(T,U)},gt.useReducer=function(T,U,S){return nt.H.useReducer(T,U,S)},gt.useRef=function(T){return nt.H.useRef(T)},gt.useState=function(T){return nt.H.useState(T)},gt.useSyncExternalStore=function(T,U,S){return nt.H.useSyncExternalStore(T,U,S)},gt.useTransition=function(){return nt.H.useTransition()},gt.version="19.2.4",gt}var lp;function Yo(){return lp||(lp=1,ho.exports=t1()),ho.exports}var mt=Yo(),po={exports:{}},sa={},mo={exports:{}},yo={};var ip;function e1(){return ip||(ip=1,(function(i){function a(N,K){var at=N.length;N.push(K);t:for(;0<at;){var St=at-1>>>1,E=N[St];if(0<s(E,K))N[St]=K,N[at]=E,at=St;else break t}}function r(N){return N.length===0?null:N[0]}function c(N){if(N.length===0)return null;var K=N[0],at=N.pop();if(at!==K){N[0]=at;t:for(var St=0,E=N.length,T=E>>>1;St<T;){var U=2*(St+1)-1,S=N[U],et=U+1,ft=N[et];if(0>s(S,at))et<E&&0>s(ft,S)?(N[St]=ft,N[et]=at,St=et):(N[St]=S,N[U]=at,St=U);else if(et<E&&0>s(ft,at))N[St]=ft,N[et]=at,St=et;else break t}}return K}function s(N,K){var at=N.sortIndex-K.sortIndex;return at!==0?at:N.id-K.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var h=Date,m=h.now();i.unstable_now=function(){return h.now()-m}}var g=[],p=[],v=1,x=null,z=3,b=!1,Y=!1,G=!1,F=!1,B=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function I(N){for(var K=r(p);K!==null;){if(K.callback===null)c(p);else if(K.startTime<=N)c(p),K.sortIndex=K.expirationTime,a(g,K);else break;K=r(p)}}function ht(N){if(G=!1,I(N),!Y)if(r(g)!==null)Y=!0,j||(j=!0,V());else{var K=r(p);K!==null&&Q(ht,K.startTime-N)}}var j=!1,nt=-1,ot=5,ct=-1;function pt(){return F?!0:!(i.unstable_now()-ct<ot)}function X(){if(F=!1,j){var N=i.unstable_now();ct=N;var K=!0;try{t:{Y=!1,G&&(G=!1,P(nt),nt=-1),b=!0;var at=z;try{e:{for(I(N),x=r(g);x!==null&&!(x.expirationTime>N&&pt());){var St=x.callback;if(typeof St=="function"){x.callback=null,z=x.priorityLevel;var E=St(x.expirationTime<=N);if(N=i.unstable_now(),typeof E=="function"){x.callback=E,I(N),K=!0;break e}x===r(g)&&c(g),I(N)}else c(g);x=r(g)}if(x!==null)K=!0;else{var T=r(p);T!==null&&Q(ht,T.startTime-N),K=!1}}break t}finally{x=null,z=at,b=!1}K=void 0}}finally{K?V():j=!1}}}var V;if(typeof Z=="function")V=function(){Z(X)};else if(typeof MessageChannel<"u"){var tt=new MessageChannel,W=tt.port2;tt.port1.onmessage=X,V=function(){W.postMessage(null)}}else V=function(){B(X,0)};function Q(N,K){nt=B(function(){N(i.unstable_now())},K)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(N){N.callback=null},i.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ot=0<N?Math.floor(1e3/N):5},i.unstable_getCurrentPriorityLevel=function(){return z},i.unstable_next=function(N){switch(z){case 1:case 2:case 3:var K=3;break;default:K=z}var at=z;z=K;try{return N()}finally{z=at}},i.unstable_requestPaint=function(){F=!0},i.unstable_runWithPriority=function(N,K){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var at=z;z=N;try{return K()}finally{z=at}},i.unstable_scheduleCallback=function(N,K,at){var St=i.unstable_now();switch(typeof at=="object"&&at!==null?(at=at.delay,at=typeof at=="number"&&0<at?St+at:St):at=St,N){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=at+E,N={id:v++,callback:K,priorityLevel:N,startTime:at,expirationTime:E,sortIndex:-1},at>St?(N.sortIndex=at,a(p,N),r(g)===null&&N===r(p)&&(G?(P(nt),nt=-1):G=!0,Q(ht,at-St))):(N.sortIndex=E,a(g,N),Y||b||(Y=!0,j||(j=!0,V()))),N},i.unstable_shouldYield=pt,i.unstable_wrapCallback=function(N){var K=z;return function(){var at=z;z=K;try{return N.apply(this,arguments)}finally{z=at}}}})(yo)),yo}var ap;function n1(){return ap||(ap=1,mo.exports=e1()),mo.exports}var go={exports:{}},de={};var up;function l1(){if(up)return de;up=1;var i=Yo();function a(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(g,p,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:x==null?null:""+x,children:g,containerInfo:p,implementation:v}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,de.createPortal=function(g,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return f(g,p,null,v)},de.flushSync=function(g){var p=h.T,v=c.p;try{if(h.T=null,c.p=2,g)return g()}finally{h.T=p,c.p=v,c.d.f()}},de.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,c.d.C(g,p))},de.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},de.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin),z=typeof p.integrity=="string"?p.integrity:void 0,b=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?c.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:z,fetchPriority:b}):v==="script"&&c.d.X(g,{crossOrigin:x,integrity:z,fetchPriority:b,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},de.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);c.d.M(g,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&c.d.M(g)},de.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin);c.d.L(g,v,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},de.preloadModule=function(g,p){if(typeof g=="string")if(p){var v=m(p.as,p.crossOrigin);c.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else c.d.m(g)},de.requestFormReset=function(g){c.d.r(g)},de.unstable_batchedUpdates=function(g,p){return g(p)},de.useFormState=function(g,p,v){return h.H.useFormState(g,p,v)},de.useFormStatus=function(){return h.H.useHostTransitionStatus()},de.version="19.2.4",de}var rp;function i1(){if(rp)return go.exports;rp=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),go.exports=l1(),go.exports}var cp;function a1(){if(cp)return sa;cp=1;var i=n1(),a=Yo(),r=i1();function c(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 s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(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 h(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 m(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 g(t){if(f(t)!==t)throw Error(c(188))}function p(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,l=e;;){var u=n.return;if(u===null)break;var o=u.alternate;if(o===null){if(l=u.return,l!==null){n=l;continue}break}if(u.child===o.child){for(o=u.child;o;){if(o===n)return g(u),t;if(o===l)return g(u),e;o=o.sibling}throw Error(c(188))}if(n.return!==l.return)n=u,l=o;else{for(var d=!1,y=u.child;y;){if(y===n){d=!0,n=u,l=o;break}if(y===l){d=!0,l=u,n=o;break}y=y.sibling}if(!d){for(y=o.child;y;){if(y===n){d=!0,n=o,l=u;break}if(y===l){d=!0,l=o,n=u;break}y=y.sibling}if(!d)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var x=Object.assign,z=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),nt=Symbol.for("react.memo"),ot=Symbol.for("react.lazy"),ct=Symbol.for("react.activity"),pt=Symbol.for("react.memo_cache_sentinel"),X=Symbol.iterator;function V(t){return t===null||typeof t!="object"?null:(t=X&&t[X]||t["@@iterator"],typeof t=="function"?t:null)}var tt=Symbol.for("react.client.reference");function W(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===tt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case G:return"Fragment";case B:return"Profiler";case F:return"StrictMode";case ht:return"Suspense";case j:return"SuspenseList";case ct:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Y:return"Portal";case Z:return t.displayName||"Context";case P:return(t._context.displayName||"Context")+".Consumer";case I:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case nt:return e=t.displayName||null,e!==null?e:W(t.type)||"Memo";case ot:e=t._payload,t=t._init;try{return W(t(e))}catch{}}return null}var Q=Array.isArray,N=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at={pending:!1,data:null,method:null,action:null},St=[],E=-1;function T(t){return{current:t}}function U(t){0>E||(t.current=St[E],St[E]=null,E--)}function S(t,e){E++,St[E]=t.current,t.current=e}var et=T(null),ft=T(null),ut=T(null),Tt=T(null);function Zt(t,e){switch(S(ut,e),S(ft,t),S(et,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?zd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=zd(e),t=Ad(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}U(et),S(et,t)}function Bt(){U(et),U(ft),U(ut)}function Le(t){t.memoizedState!==null&&S(Tt,t);var e=et.current,n=Ad(e,t.type);e!==n&&(S(ft,t),S(et,n))}function on(t){ft.current===t&&(U(et),U(ft)),Tt.current===t&&(U(Tt),aa._currentValue=at)}var yi,Sa;function sn(t){if(yi===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);yi=e&&e[1]||"",Sa=-1<n.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
3
  `+yi+t+Sa}var El=!1;function zl(t,e){if(!t||El)return"";El=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(w){var k=w}Reflect.construct(t,[],q)}else{try{q.call()}catch(w){k=w}t.call(q.prototype)}}else{try{throw Error()}catch(w){k=w}(q=t())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(w){if(w&&k&&typeof w.stack=="string")return[w.stack,k.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),d=o[0],y=o[1];if(d&&y){var A=d.split(`
4
- `),M=y.split(`
5
- `);for(u=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;u<M.length&&!M[u].includes("DetermineComponentFrameRoot");)u++;if(l===A.length||u===M.length)for(l=A.length-1,u=M.length-1;1<=l&&0<=u&&A[l]!==M[u];)u--;for(;1<=l&&0<=u;l--,u--)if(A[l]!==M[u]){if(l!==1||u!==1)do if(l--,u--,0>u||A[l]!==M[u]){var R=`
4
+ `),O=y.split(`
5
+ `);for(u=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;u<O.length&&!O[u].includes("DetermineComponentFrameRoot");)u++;if(l===A.length||u===O.length)for(l=A.length-1,u=O.length-1;1<=l&&0<=u&&A[l]!==O[u];)u--;for(;1<=l&&0<=u;l--,u--)if(A[l]!==O[u]){if(l!==1||u!==1)do if(l--,u--,0>u||A[l]!==O[u]){var R=`
6
6
  `+A[l].replace(" at new "," at ");return t.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",t.displayName)),R}while(1<=l&&0<=u);break}}}finally{El=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?sn(n):""}function Ea(t,e){switch(t.tag){case 26:case 27:case 5:return sn(t.type);case 16:return sn("Lazy");case 13:return t.child!==e&&e!==null?sn("Suspense Fallback"):sn("Suspense");case 19:return sn("SuspenseList");case 0:case 15:return zl(t.type,!1);case 11:return zl(t.type.render,!1);case 1:return zl(t.type,!0);case 31:return sn("Activity");default:return""}}function za(t){try{var e="",n=null;do e+=Ea(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
7
7
  Error generating stack: `+l.message+`
8
- `+l.stack}}var Al=Object.prototype.hasOwnProperty,Tl=i.unstable_scheduleCallback,gi=i.unstable_cancelCallback,Iu=i.unstable_shouldYield,Wu=i.unstable_requestPaint,me=i.unstable_now,$u=i.unstable_getCurrentPriorityLevel,H=i.unstable_ImmediatePriority,$=i.unstable_UserBlockingPriority,dt=i.unstable_NormalPriority,Et=i.unstable_LowPriority,wt=i.unstable_IdlePriority,Oe=i.log,fn=i.unstable_setDisableYieldValue,ye=null,le=null;function ve(t){if(typeof Oe=="function"&&fn(t),le&&typeof le.setStrictMode=="function")try{le.setStrictMode(ye,t)}catch{}}var qt=Math.clz32?Math.clz32:Hm,Mn=Math.log,We=Math.LN2;function Hm(t){return t>>>=0,t===0?32:31-(Mn(t)/We|0)|0}var Aa=256,Ta=262144,Ca=4194304;function ll(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 _a(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var u=0,o=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var y=l&134217727;return y!==0?(l=y&~o,l!==0?u=ll(l):(d&=y,d!==0?u=ll(d):n||(n=y&~t,n!==0&&(u=ll(n))))):(y=l&~o,y!==0?u=ll(y):d!==0?u=ll(d):n||(n=l&~t,n!==0&&(u=ll(n)))),u===0?0:e!==0&&e!==u&&(e&o)===0&&(o=u&-u,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:u}function vi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Lm(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 ls(){var t=Ca;return Ca<<=1,(Ca&62914560)===0&&(Ca=4194304),t}function Pu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function xi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function qm(t,e,n,l,u,o){var d=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 y=t.entanglements,A=t.expirationTimes,M=t.hiddenUpdates;for(n=d&~n;0<n;){var R=31-qt(n),q=1<<R;y[R]=0,A[R]=-1;var k=M[R];if(k!==null)for(M[R]=null,R=0;R<k.length;R++){var w=k[R];w!==null&&(w.lane&=-536870913)}n&=~q}l!==0&&is(t,l,0),o!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=o&~(d&~e))}function is(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-qt(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function as(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-qt(n),u=1<<l;u&e|t[l]&e&&(t[l]|=e),n&=~u}}function us(t,e){var n=e&-e;return n=(n&42)!==0?1:tr(n),(n&(t.suspendedLanes|e))!==0?0:n}function tr(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 er(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function rs(){var t=K.p;return t!==0?t:(t=window.event,t===void 0?32:Kd(t.type))}function cs(t,e){var n=K.p;try{return K.p=t,e()}finally{K.p=n}}var Nn=Math.random().toString(36).slice(2),ce="__reactFiber$"+Nn,xe="__reactProps$"+Nn,Cl="__reactContainer$"+Nn,nr="__reactEvents$"+Nn,Ym="__reactListeners$"+Nn,Vm="__reactHandles$"+Nn,os="__reactResources$"+Nn,bi="__reactMarker$"+Nn;function lr(t){delete t[ce],delete t[xe],delete t[nr],delete t[Ym],delete t[Vm]}function _l(t){var e=t[ce];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Cl]||n[ce]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Nd(t);t!==null;){if(n=t[ce])return n;t=Nd(t)}return e}t=n,n=t.parentNode}return null}function Dl(t){if(t=t[ce]||t[Cl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Si(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ol(t){var e=t[os];return e||(e=t[os]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ae(t){t[bi]=!0}var ss=new Set,fs={};function il(t,e){Ml(t,e),Ml(t+"Capture",e)}function Ml(t,e){for(fs[t]=e,t=0;t<e.length;t++)ss.add(e[t])}var Xm=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]*$"),hs={},ds={};function Gm(t){return Al.call(ds,t)?!0:Al.call(hs,t)?!1:Xm.test(t)?ds[t]=!0:(hs[t]=!0,!1)}function Da(t,e,n){if(Gm(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Oa(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 hn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function qe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ps(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Qm(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(d){n=""+d,o.call(this,d)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ir(t){if(!t._valueTracker){var e=ps(t)?"checked":"value";t._valueTracker=Qm(t,e,""+t[e])}}function ms(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=ps(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function Ma(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 Zm=/[\n"\\]/g;function Ye(t){return t.replace(Zm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function ar(t,e,n,l,u,o,d,y){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+qe(e)):t.value!==""+qe(e)&&(t.value=""+qe(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?ur(t,d,qe(e)):n!=null?ur(t,d,qe(n)):l!=null&&t.removeAttribute("value"),u==null&&o!=null&&(t.defaultChecked=!!o),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+qe(y):t.removeAttribute("name")}function ys(t,e,n,l,u,o,d,y){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){ir(t);return}n=n!=null?""+qe(n):"",e=e!=null?""+qe(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=y?t.checked:!!l,t.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d),ir(t)}function ur(t,e,n){e==="number"&&Ma(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Nl(t,e,n,l){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&&l&&(t[n].defaultSelected=!0)}else{for(n=""+qe(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,l&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function gs(t,e,n){if(e!=null&&(e=""+qe(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+qe(n):""}function vs(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(c(92));if(Q(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=qe(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),ir(t)}function kl(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Km=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 xs(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Km.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function bs(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var u in e)l=e[u],e.hasOwnProperty(u)&&n[u]!==l&&xs(t,u,l)}else for(var o in e)e.hasOwnProperty(o)&&xs(t,o,e[o])}function rr(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 Fm=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"]]),Jm=/^[\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 Na(t){return Jm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function dn(){}var cr=null;function or(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var wl=null,Rl=null;function Ss(t){var e=Dl(t);if(e&&(t=e.stateNode)){var n=t[xe]||null;t:switch(t=e.stateNode,e.type){case"input":if(ar(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="'+Ye(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var u=l[xe]||null;if(!u)throw Error(c(90));ar(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&ms(l)}break t;case"textarea":gs(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Nl(t,!!n.multiple,e,!1)}}}var sr=!1;function Es(t,e,n){if(sr)return t(e,n);sr=!0;try{var l=t(e);return l}finally{if(sr=!1,(wl!==null||Rl!==null)&&(vu(),wl&&(e=wl,t=Rl,Rl=wl=null,Ss(e),t)))for(e=0;e<t.length;e++)Ss(t[e])}}function Ei(t,e){var n=t.stateNode;if(n===null)return null;var l=n[xe]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fr=!1;if(pn)try{var zi={};Object.defineProperty(zi,"passive",{get:function(){fr=!0}}),window.addEventListener("test",zi,zi),window.removeEventListener("test",zi,zi)}catch{fr=!1}var kn=null,hr=null,ka=null;function zs(){if(ka)return ka;var t,e=hr,n=e.length,l,u="value"in kn?kn.value:kn.textContent,o=u.length;for(t=0;t<n&&e[t]===u[t];t++);var d=n-t;for(l=1;l<=d&&e[n-l]===u[o-l];l++);return ka=u.slice(t,1<l?1-l:void 0)}function wa(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 Ra(){return!0}function As(){return!1}function be(t){function e(n,l,u,o,d){this._reactName=n,this._targetInst=u,this.type=l,this.nativeEvent=o,this.target=d,this.currentTarget=null;for(var y in t)t.hasOwnProperty(y)&&(n=t[y],this[y]=n?n(o):o[y]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ra:As,this.isPropagationStopped=As,this}return x(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=Ra)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ra)},persist:function(){},isPersistent:Ra}),e}var al={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ja=be(al),Ai=x({},al,{view:0,detail:0}),Im=be(Ai),dr,pr,Ti,Ba=x({},Ai,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yr,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!==Ti&&(Ti&&t.type==="mousemove"?(dr=t.screenX-Ti.screenX,pr=t.screenY-Ti.screenY):pr=dr=0,Ti=t),dr)},movementY:function(t){return"movementY"in t?t.movementY:pr}}),Ts=be(Ba),Wm=x({},Ba,{dataTransfer:0}),$m=be(Wm),Pm=x({},Ai,{relatedTarget:0}),mr=be(Pm),ty=x({},al,{animationName:0,elapsedTime:0,pseudoElement:0}),ey=be(ty),ny=x({},al,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ly=be(ny),iy=x({},al,{data:0}),Cs=be(iy),ay={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uy={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"},ry={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cy(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ry[t])?!!e[t]:!1}function yr(){return cy}var oy=x({},Ai,{key:function(t){if(t.key){var e=ay[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=wa(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?uy[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yr,charCode:function(t){return t.type==="keypress"?wa(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?wa(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),sy=be(oy),fy=x({},Ba,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_s=be(fy),hy=x({},Ai,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yr}),dy=be(hy),py=x({},al,{propertyName:0,elapsedTime:0,pseudoElement:0}),my=be(py),yy=x({},Ba,{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}),gy=be(yy),vy=x({},al,{newState:0,oldState:0}),xy=be(vy),by=[9,13,27,32],gr=pn&&"CompositionEvent"in window,Ci=null;pn&&"documentMode"in document&&(Ci=document.documentMode);var Sy=pn&&"TextEvent"in window&&!Ci,Ds=pn&&(!gr||Ci&&8<Ci&&11>=Ci),Os=" ",Ms=!1;function Ns(t,e){switch(t){case"keyup":return by.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ks(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var jl=!1;function Ey(t,e){switch(t){case"compositionend":return ks(e);case"keypress":return e.which!==32?null:(Ms=!0,Os);case"textInput":return t=e.data,t===Os&&Ms?null:t;default:return null}}function zy(t,e){if(jl)return t==="compositionend"||!gr&&Ns(t,e)?(t=zs(),ka=hr=kn=null,jl=!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 Ds&&e.locale!=="ko"?null:e.data;default:return null}}var Ay={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 ws(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Ay[t.type]:e==="textarea"}function Rs(t,e,n,l){wl?Rl?Rl.push(l):Rl=[l]:wl=l,e=Tu(e,"onChange"),0<e.length&&(n=new ja("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var _i=null,Di=null;function Ty(t){gd(t,0)}function Ua(t){var e=Si(t);if(ms(e))return t}function js(t,e){if(t==="change")return e}var Bs=!1;if(pn){var vr;if(pn){var xr="oninput"in document;if(!xr){var Us=document.createElement("div");Us.setAttribute("oninput","return;"),xr=typeof Us.oninput=="function"}vr=xr}else vr=!1;Bs=vr&&(!document.documentMode||9<document.documentMode)}function Hs(){_i&&(_i.detachEvent("onpropertychange",Ls),Di=_i=null)}function Ls(t){if(t.propertyName==="value"&&Ua(Di)){var e=[];Rs(e,Di,t,or(t)),Es(Ty,e)}}function Cy(t,e,n){t==="focusin"?(Hs(),_i=e,Di=n,_i.attachEvent("onpropertychange",Ls)):t==="focusout"&&Hs()}function _y(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ua(Di)}function Dy(t,e){if(t==="click")return Ua(e)}function Oy(t,e){if(t==="input"||t==="change")return Ua(e)}function My(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Me=typeof Object.is=="function"?Object.is:My;function Oi(t,e){if(Me(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var u=n[l];if(!Al.call(e,u)||!Me(t[u],e[u]))return!1}return!0}function qs(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ys(t,e){var n=qs(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=qs(n)}}function Vs(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Vs(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Xs(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ma(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=Ma(t.document)}return e}function br(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 Ny=pn&&"documentMode"in document&&11>=document.documentMode,Bl=null,Sr=null,Mi=null,Er=!1;function Gs(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Er||Bl==null||Bl!==Ma(l)||(l=Bl,"selectionStart"in l&&br(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Mi&&Oi(Mi,l)||(Mi=l,l=Tu(Sr,"onSelect"),0<l.length&&(e=new ja("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Bl)))}function ul(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ul={animationend:ul("Animation","AnimationEnd"),animationiteration:ul("Animation","AnimationIteration"),animationstart:ul("Animation","AnimationStart"),transitionrun:ul("Transition","TransitionRun"),transitionstart:ul("Transition","TransitionStart"),transitioncancel:ul("Transition","TransitionCancel"),transitionend:ul("Transition","TransitionEnd")},zr={},Qs={};pn&&(Qs=document.createElement("div").style,"AnimationEvent"in window||(delete Ul.animationend.animation,delete Ul.animationiteration.animation,delete Ul.animationstart.animation),"TransitionEvent"in window||delete Ul.transitionend.transition);function rl(t){if(zr[t])return zr[t];if(!Ul[t])return t;var e=Ul[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Qs)return zr[t]=e[n];return t}var Zs=rl("animationend"),Ks=rl("animationiteration"),Fs=rl("animationstart"),ky=rl("transitionrun"),wy=rl("transitionstart"),Ry=rl("transitioncancel"),Js=rl("transitionend"),Is=new Map,Ar="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(" ");Ar.push("scrollEnd");function $e(t,e){Is.set(t,e),il(e,[t])}var Ha=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)},Ve=[],Hl=0,Tr=0;function La(){for(var t=Hl,e=Tr=Hl=0;e<t;){var n=Ve[e];Ve[e++]=null;var l=Ve[e];Ve[e++]=null;var u=Ve[e];Ve[e++]=null;var o=Ve[e];if(Ve[e++]=null,l!==null&&u!==null){var d=l.pending;d===null?u.next=u:(u.next=d.next,d.next=u),l.pending=u}o!==0&&Ws(n,u,o)}}function qa(t,e,n,l){Ve[Hl++]=t,Ve[Hl++]=e,Ve[Hl++]=n,Ve[Hl++]=l,Tr|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Cr(t,e,n,l){return qa(t,e,n,l),Ya(t)}function cl(t,e){return qa(t,null,null,e),Ya(t)}function Ws(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var u=!1,o=t.return;o!==null;)o.childLanes|=n,l=o.alternate,l!==null&&(l.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(u=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,u&&e!==null&&(u=31-qt(n),t=o.hiddenUpdates,l=t[u],l===null?t[u]=[e]:l.push(e),e.lane=n|536870912),o):null}function Ya(t){if(50<$i)throw $i=0,jc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ll={};function jy(t,e,n,l){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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(t,e,n,l){return new jy(t,e,n,l)}function _r(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mn(t,e){var n=t.alternate;return n===null?(n=Ne(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 $s(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 Va(t,e,n,l,u,o){var d=0;if(l=t,typeof t=="function")_r(t)&&(d=1);else if(typeof t=="string")d=qg(t,n,et.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ct:return t=Ne(31,n,e,u),t.elementType=ct,t.lanes=o,t;case G:return ol(n.children,u,o,e);case F:d=8,u|=24;break;case B:return t=Ne(12,n,e,u|2),t.elementType=B,t.lanes=o,t;case ht:return t=Ne(13,n,e,u),t.elementType=ht,t.lanes=o,t;case j:return t=Ne(19,n,e,u),t.elementType=j,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Z:d=10;break t;case P:d=9;break t;case I:d=11;break t;case nt:d=14;break t;case ot:d=16,l=null;break t}d=29,n=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ne(d,n,e,u),e.elementType=t,e.type=l,e.lanes=o,e}function ol(t,e,n,l){return t=Ne(7,t,l,e),t.lanes=n,t}function Dr(t,e,n){return t=Ne(6,t,null,e),t.lanes=n,t}function Ps(t){var e=Ne(18,null,null,0);return e.stateNode=t,e}function Or(t,e,n){return e=Ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var tf=new WeakMap;function Xe(t,e){if(typeof t=="object"&&t!==null){var n=tf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:za(e)},tf.set(t,e),e)}return{value:t,source:e,stack:za(e)}}var ql=[],Yl=0,Xa=null,Ni=0,Ge=[],Qe=0,wn=null,en=1,nn="";function yn(t,e){ql[Yl++]=Ni,ql[Yl++]=Xa,Xa=t,Ni=e}function ef(t,e,n){Ge[Qe++]=en,Ge[Qe++]=nn,Ge[Qe++]=wn,wn=t;var l=en;t=nn;var u=32-qt(l)-1;l&=~(1<<u),n+=1;var o=32-qt(e)+u;if(30<o){var d=u-u%5;o=(l&(1<<d)-1).toString(32),l>>=d,u-=d,en=1<<32-qt(e)+u|n<<u|l,nn=o+t}else en=1<<o|n<<u|l,nn=t}function Mr(t){t.return!==null&&(yn(t,1),ef(t,1,0))}function Nr(t){for(;t===Xa;)Xa=ql[--Yl],ql[Yl]=null,Ni=ql[--Yl],ql[Yl]=null;for(;t===wn;)wn=Ge[--Qe],Ge[Qe]=null,nn=Ge[--Qe],Ge[Qe]=null,en=Ge[--Qe],Ge[Qe]=null}function nf(t,e){Ge[Qe++]=en,Ge[Qe++]=nn,Ge[Qe++]=wn,en=e.id,nn=e.overflow,wn=t}var oe=null,Gt=null,Dt=!1,Rn=null,Ze=!1,kr=Error(c(519));function jn(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ki(Xe(e,t)),kr}function lf(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ce]=t,e[xe]=l,n){case"dialog":At("cancel",e),At("close",e);break;case"iframe":case"object":case"embed":At("load",e);break;case"video":case"audio":for(n=0;n<ta.length;n++)At(ta[n],e);break;case"source":At("error",e);break;case"img":case"image":case"link":At("error",e),At("load",e);break;case"details":At("toggle",e);break;case"input":At("invalid",e),ys(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":At("invalid",e);break;case"textarea":At("invalid",e),vs(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||Sd(e.textContent,n)?(l.popover!=null&&(At("beforetoggle",e),At("toggle",e)),l.onScroll!=null&&At("scroll",e),l.onScrollEnd!=null&&At("scrollend",e),l.onClick!=null&&(e.onclick=dn),e=!0):e=!1,e||jn(t,!0)}function af(t){for(oe=t.return;oe;)switch(oe.tag){case 5:case 31:case 13:Ze=!1;return;case 27:case 3:Ze=!0;return;default:oe=oe.return}}function Vl(t){if(t!==oe)return!1;if(!Dt)return af(t),Dt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Ic(t.type,t.memoizedProps)),n=!n),n&&Gt&&jn(t),af(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Gt=Md(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Gt=Md(t)}else e===27?(e=Gt,Jn(t.type)?(t=eo,eo=null,Gt=t):Gt=e):Gt=oe?Fe(t.stateNode.nextSibling):null;return!0}function sl(){Gt=oe=null,Dt=!1}function wr(){var t=Rn;return t!==null&&(Ae===null?Ae=t:Ae.push.apply(Ae,t),Rn=null),t}function ki(t){Rn===null?Rn=[t]:Rn.push(t)}var Rr=T(null),fl=null,gn=null;function Bn(t,e,n){S(Rr,e._currentValue),e._currentValue=n}function vn(t){t._currentValue=Rr.current,U(Rr)}function jr(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function Br(t,e,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){var d=u.child;o=o.firstContext;t:for(;o!==null;){var y=o;o=u;for(var A=0;A<e.length;A++)if(y.context===e[A]){o.lanes|=n,y=o.alternate,y!==null&&(y.lanes|=n),jr(o.return,n,t),l||(d=null);break t}o=y.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(c(341));d.lanes|=n,o=d.alternate,o!==null&&(o.lanes|=n),jr(d,n,t),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===t){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function Xl(t,e,n,l){t=null;for(var u=e,o=!1;u!==null;){if(!o){if((u.flags&524288)!==0)o=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(c(387));if(d=d.memoizedProps,d!==null){var y=u.type;Me(u.pendingProps.value,d.value)||(t!==null?t.push(y):t=[y])}}else if(u===Tt.current){if(d=u.alternate,d===null)throw Error(c(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(aa):t=[aa])}u=u.return}t!==null&&Br(e,t,n,l),e.flags|=262144}function Ga(t){for(t=t.firstContext;t!==null;){if(!Me(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function hl(t){fl=t,gn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function se(t){return uf(fl,t)}function Qa(t,e){return fl===null&&hl(t),uf(t,e)}function uf(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},gn===null){if(t===null)throw Error(c(308));gn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else gn=gn.next=e;return n}var By=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Uy=i.unstable_scheduleCallback,Hy=i.unstable_NormalPriority,$t={$$typeof:Z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ur(){return{controller:new By,data:new Map,refCount:0}}function wi(t){t.refCount--,t.refCount===0&&Uy(Hy,function(){t.controller.abort()})}var Ri=null,Hr=0,Gl=0,Ql=null;function Ly(t,e){if(Ri===null){var n=Ri=[];Hr=0,Gl=Yc(),Ql={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Hr++,e.then(rf,rf),e}function rf(){if(--Hr===0&&Ri!==null){Ql!==null&&(Ql.status="fulfilled");var t=Ri;Ri=null,Gl=0,Ql=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function qy(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(l.status="rejected",l.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),l}var cf=N.S;N.S=function(t,e){Qh=me(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Ly(t,e),cf!==null&&cf(t,e)};var dl=T(null);function Lr(){var t=dl.current;return t!==null?t:Yt.pooledCache}function Za(t,e){e===null?S(dl,dl.current):S(dl,e.pool)}function of(){var t=Lr();return t===null?null:{parent:$t._currentValue,pool:t}}var Zl=Error(c(460)),qr=Error(c(474)),Ka=Error(c(542)),Fa={then:function(){}};function sf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ff(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(dn,dn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,df(t),t;default:if(typeof e.status=="string")e.then(dn,dn);else{if(t=Yt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=l}},function(l){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,df(t),t}throw ml=e,Zl}}function pl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ml=n,Zl):n}}var ml=null;function hf(){if(ml===null)throw Error(c(459));var t=ml;return ml=null,t}function df(t){if(t===Zl||t===Ka)throw Error(c(483))}var Kl=null,ji=0;function Ja(t){var e=ji;return ji+=1,Kl===null&&(Kl=[]),ff(Kl,t,e)}function Bi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Ia(t,e){throw e.$$typeof===z?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function pf(t){function e(_,C){if(t){var O=_.deletions;O===null?(_.deletions=[C],_.flags|=16):O.push(C)}}function n(_,C){if(!t)return null;for(;C!==null;)e(_,C),C=C.sibling;return null}function l(_){for(var C=new Map;_!==null;)_.key!==null?C.set(_.key,_):C.set(_.index,_),_=_.sibling;return C}function u(_,C){return _=mn(_,C),_.index=0,_.sibling=null,_}function o(_,C,O){return _.index=O,t?(O=_.alternate,O!==null?(O=O.index,O<C?(_.flags|=67108866,C):O):(_.flags|=67108866,C)):(_.flags|=1048576,C)}function d(_){return t&&_.alternate===null&&(_.flags|=67108866),_}function y(_,C,O,L){return C===null||C.tag!==6?(C=Dr(O,_.mode,L),C.return=_,C):(C=u(C,O),C.return=_,C)}function A(_,C,O,L){var rt=O.type;return rt===G?R(_,C,O.props.children,L,O.key):C!==null&&(C.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===ot&&pl(rt)===C.type)?(C=u(C,O.props),Bi(C,O),C.return=_,C):(C=Va(O.type,O.key,O.props,null,_.mode,L),Bi(C,O),C.return=_,C)}function M(_,C,O,L){return C===null||C.tag!==4||C.stateNode.containerInfo!==O.containerInfo||C.stateNode.implementation!==O.implementation?(C=Or(O,_.mode,L),C.return=_,C):(C=u(C,O.children||[]),C.return=_,C)}function R(_,C,O,L,rt){return C===null||C.tag!==7?(C=ol(O,_.mode,L,rt),C.return=_,C):(C=u(C,O),C.return=_,C)}function q(_,C,O){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Dr(""+C,_.mode,O),C.return=_,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case b:return O=Va(C.type,C.key,C.props,null,_.mode,O),Bi(O,C),O.return=_,O;case Y:return C=Or(C,_.mode,O),C.return=_,C;case ot:return C=pl(C),q(_,C,O)}if(Q(C)||V(C))return C=ol(C,_.mode,O,null),C.return=_,C;if(typeof C.then=="function")return q(_,Ja(C),O);if(C.$$typeof===Z)return q(_,Qa(_,C),O);Ia(_,C)}return null}function k(_,C,O,L){var rt=C!==null?C.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return rt!==null?null:y(_,C,""+O,L);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case b:return O.key===rt?A(_,C,O,L):null;case Y:return O.key===rt?M(_,C,O,L):null;case ot:return O=pl(O),k(_,C,O,L)}if(Q(O)||V(O))return rt!==null?null:R(_,C,O,L,null);if(typeof O.then=="function")return k(_,C,Ja(O),L);if(O.$$typeof===Z)return k(_,C,Qa(_,O),L);Ia(_,O)}return null}function w(_,C,O,L,rt){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return _=_.get(O)||null,y(C,_,""+L,rt);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case b:return _=_.get(L.key===null?O:L.key)||null,A(C,_,L,rt);case Y:return _=_.get(L.key===null?O:L.key)||null,M(C,_,L,rt);case ot:return L=pl(L),w(_,C,O,L,rt)}if(Q(L)||V(L))return _=_.get(O)||null,R(C,_,L,rt,null);if(typeof L.then=="function")return w(_,C,O,Ja(L),rt);if(L.$$typeof===Z)return w(_,C,O,Qa(C,L),rt);Ia(C,L)}return null}function lt(_,C,O,L){for(var rt=null,Ot=null,it=C,xt=C=0,_t=null;it!==null&&xt<O.length;xt++){it.index>xt?(_t=it,it=null):_t=it.sibling;var Mt=k(_,it,O[xt],L);if(Mt===null){it===null&&(it=_t);break}t&&it&&Mt.alternate===null&&e(_,it),C=o(Mt,C,xt),Ot===null?rt=Mt:Ot.sibling=Mt,Ot=Mt,it=_t}if(xt===O.length)return n(_,it),Dt&&yn(_,xt),rt;if(it===null){for(;xt<O.length;xt++)it=q(_,O[xt],L),it!==null&&(C=o(it,C,xt),Ot===null?rt=it:Ot.sibling=it,Ot=it);return Dt&&yn(_,xt),rt}for(it=l(it);xt<O.length;xt++)_t=w(it,_,xt,O[xt],L),_t!==null&&(t&&_t.alternate!==null&&it.delete(_t.key===null?xt:_t.key),C=o(_t,C,xt),Ot===null?rt=_t:Ot.sibling=_t,Ot=_t);return t&&it.forEach(function(tl){return e(_,tl)}),Dt&&yn(_,xt),rt}function st(_,C,O,L){if(O==null)throw Error(c(151));for(var rt=null,Ot=null,it=C,xt=C=0,_t=null,Mt=O.next();it!==null&&!Mt.done;xt++,Mt=O.next()){it.index>xt?(_t=it,it=null):_t=it.sibling;var tl=k(_,it,Mt.value,L);if(tl===null){it===null&&(it=_t);break}t&&it&&tl.alternate===null&&e(_,it),C=o(tl,C,xt),Ot===null?rt=tl:Ot.sibling=tl,Ot=tl,it=_t}if(Mt.done)return n(_,it),Dt&&yn(_,xt),rt;if(it===null){for(;!Mt.done;xt++,Mt=O.next())Mt=q(_,Mt.value,L),Mt!==null&&(C=o(Mt,C,xt),Ot===null?rt=Mt:Ot.sibling=Mt,Ot=Mt);return Dt&&yn(_,xt),rt}for(it=l(it);!Mt.done;xt++,Mt=O.next())Mt=w(it,_,xt,Mt.value,L),Mt!==null&&(t&&Mt.alternate!==null&&it.delete(Mt.key===null?xt:Mt.key),C=o(Mt,C,xt),Ot===null?rt=Mt:Ot.sibling=Mt,Ot=Mt);return t&&it.forEach(function(Wg){return e(_,Wg)}),Dt&&yn(_,xt),rt}function Lt(_,C,O,L){if(typeof O=="object"&&O!==null&&O.type===G&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case b:t:{for(var rt=O.key;C!==null;){if(C.key===rt){if(rt=O.type,rt===G){if(C.tag===7){n(_,C.sibling),L=u(C,O.props.children),L.return=_,_=L;break t}}else if(C.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===ot&&pl(rt)===C.type){n(_,C.sibling),L=u(C,O.props),Bi(L,O),L.return=_,_=L;break t}n(_,C);break}else e(_,C);C=C.sibling}O.type===G?(L=ol(O.props.children,_.mode,L,O.key),L.return=_,_=L):(L=Va(O.type,O.key,O.props,null,_.mode,L),Bi(L,O),L.return=_,_=L)}return d(_);case Y:t:{for(rt=O.key;C!==null;){if(C.key===rt)if(C.tag===4&&C.stateNode.containerInfo===O.containerInfo&&C.stateNode.implementation===O.implementation){n(_,C.sibling),L=u(C,O.children||[]),L.return=_,_=L;break t}else{n(_,C);break}else e(_,C);C=C.sibling}L=Or(O,_.mode,L),L.return=_,_=L}return d(_);case ot:return O=pl(O),Lt(_,C,O,L)}if(Q(O))return lt(_,C,O,L);if(V(O)){if(rt=V(O),typeof rt!="function")throw Error(c(150));return O=rt.call(O),st(_,C,O,L)}if(typeof O.then=="function")return Lt(_,C,Ja(O),L);if(O.$$typeof===Z)return Lt(_,C,Qa(_,O),L);Ia(_,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,C!==null&&C.tag===6?(n(_,C.sibling),L=u(C,O),L.return=_,_=L):(n(_,C),L=Dr(O,_.mode,L),L.return=_,_=L),d(_)):n(_,C)}return function(_,C,O,L){try{ji=0;var rt=Lt(_,C,O,L);return Kl=null,rt}catch(it){if(it===Zl||it===Ka)throw it;var Ot=Ne(29,it,null,_.mode);return Ot.lanes=L,Ot.return=_,Ot}}}var yl=pf(!0),mf=pf(!1),Un=!1;function Yr(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vr(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 Hn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Nt&2)!==0){var u=l.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),l.pending=e,e=Ya(t),Ws(t,null,n),e}return qa(t,l,e,n),Ya(t)}function Ui(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,as(t,n)}}function Xr(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var u=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?u=o=d:o=o.next=d,n=n.next}while(n!==null);o===null?u=o=e:o=o.next=e}else u=o=e;n={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Gr=!1;function Hi(){if(Gr){var t=Ql;if(t!==null)throw t}}function Li(t,e,n,l){Gr=!1;var u=t.updateQueue;Un=!1;var o=u.firstBaseUpdate,d=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var A=y,M=A.next;A.next=null,d===null?o=M:d.next=M,d=A;var R=t.alternate;R!==null&&(R=R.updateQueue,y=R.lastBaseUpdate,y!==d&&(y===null?R.firstBaseUpdate=M:y.next=M,R.lastBaseUpdate=A))}if(o!==null){var q=u.baseState;d=0,R=M=A=null,y=o;do{var k=y.lane&-536870913,w=k!==y.lane;if(w?(Ct&k)===k:(l&k)===k){k!==0&&k===Gl&&(Gr=!0),R!==null&&(R=R.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var lt=t,st=y;k=e;var Lt=n;switch(st.tag){case 1:if(lt=st.payload,typeof lt=="function"){q=lt.call(Lt,q,k);break t}q=lt;break t;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=st.payload,k=typeof lt=="function"?lt.call(Lt,q,k):lt,k==null)break t;q=x({},q,k);break t;case 2:Un=!0}}k=y.callback,k!==null&&(t.flags|=64,w&&(t.flags|=8192),w=u.callbacks,w===null?u.callbacks=[k]:w.push(k))}else w={lane:k,tag:y.tag,payload:y.payload,callback:y.callback,next:null},R===null?(M=R=w,A=q):R=R.next=w,d|=k;if(y=y.next,y===null){if(y=u.shared.pending,y===null)break;w=y,y=w.next,w.next=null,u.lastBaseUpdate=w,u.shared.pending=null}}while(!0);R===null&&(A=q),u.baseState=A,u.firstBaseUpdate=M,u.lastBaseUpdate=R,o===null&&(u.shared.lanes=0),Gn|=d,t.lanes=d,t.memoizedState=q}}function yf(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function gf(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)yf(n[t],e)}var Fl=T(null),Wa=T(0);function vf(t,e){t=_n,S(Wa,t),S(Fl,e),_n=t|e.baseLanes}function Qr(){S(Wa,_n),S(Fl,Fl.current)}function Zr(){_n=Wa.current,U(Fl),U(Wa)}var ke=T(null),Ke=null;function qn(t){var e=t.alternate;S(It,It.current&1),S(ke,t),Ke===null&&(e===null||Fl.current!==null||e.memoizedState!==null)&&(Ke=t)}function Kr(t){S(It,It.current),S(ke,t),Ke===null&&(Ke=t)}function xf(t){t.tag===22?(S(It,It.current),S(ke,t),Ke===null&&(Ke=t)):Yn()}function Yn(){S(It,It.current),S(ke,ke.current)}function we(t){U(ke),Ke===t&&(Ke=null),U(It)}var It=T(0);function $a(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Pc(n)||to(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 xn=0,vt=null,Ut=null,Pt=null,Pa=!1,Jl=!1,gl=!1,tu=0,qi=0,Il=null,Yy=0;function Ft(){throw Error(c(321))}function Fr(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Me(t[n],e[n]))return!1;return!0}function Jr(t,e,n,l,u,o){return xn=o,vt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?nh:sc,gl=!1,o=n(l,u),gl=!1,Jl&&(o=Sf(e,n,l,u)),bf(t),o}function bf(t){N.H=Xi;var e=Ut!==null&&Ut.next!==null;if(xn=0,Pt=Ut=vt=null,Pa=!1,qi=0,Il=null,e)throw Error(c(300));t===null||te||(t=t.dependencies,t!==null&&Ga(t)&&(te=!0))}function Sf(t,e,n,l){vt=t;var u=0;do{if(Jl&&(Il=null),qi=0,Jl=!1,25<=u)throw Error(c(301));if(u+=1,Pt=Ut=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=lh,o=e(n,l)}while(Jl);return o}function Vy(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?Yi(e):e,t=t.useState()[0],(Ut!==null?Ut.memoizedState:null)!==t&&(vt.flags|=1024),e}function Ir(){var t=tu!==0;return tu=0,t}function Wr(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function $r(t){if(Pa){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Pa=!1}xn=0,Pt=Ut=vt=null,Jl=!1,qi=tu=0,Il=null}function ge(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?vt.memoizedState=Pt=t:Pt=Pt.next=t,Pt}function Wt(){if(Ut===null){var t=vt.alternate;t=t!==null?t.memoizedState:null}else t=Ut.next;var e=Pt===null?vt.memoizedState:Pt.next;if(e!==null)Pt=e,Ut=t;else{if(t===null)throw vt.alternate===null?Error(c(467)):Error(c(310));Ut=t,t={memoizedState:Ut.memoizedState,baseState:Ut.baseState,baseQueue:Ut.baseQueue,queue:Ut.queue,next:null},Pt===null?vt.memoizedState=Pt=t:Pt=Pt.next=t}return Pt}function eu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yi(t){var e=qi;return qi+=1,Il===null&&(Il=[]),t=ff(Il,t,e),e=vt,(Pt===null?e.memoizedState:Pt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?nh:sc),t}function nu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Yi(t);if(t.$$typeof===Z)return se(t)}throw Error(c(438,String(t)))}function Pr(t){var e=null,n=vt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=vt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=eu(),vt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=pt;return e.index++,n}function bn(t,e){return typeof e=="function"?e(t):e}function lu(t){var e=Wt();return tc(e,Ut,t)}function tc(t,e,n){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var u=t.baseQueue,o=l.pending;if(o!==null){if(u!==null){var d=u.next;u.next=o.next,o.next=d}e.baseQueue=u=o,l.pending=null}if(o=t.baseState,u===null)t.memoizedState=o;else{e=u.next;var y=d=null,A=null,M=e,R=!1;do{var q=M.lane&-536870913;if(q!==M.lane?(Ct&q)===q:(xn&q)===q){var k=M.revertLane;if(k===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),q===Gl&&(R=!0);else if((xn&k)===k){M=M.next,k===Gl&&(R=!0);continue}else q={lane:0,revertLane:M.revertLane,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},A===null?(y=A=q,d=o):A=A.next=q,vt.lanes|=k,Gn|=k;q=M.action,gl&&n(o,q),o=M.hasEagerState?M.eagerState:n(o,q)}else k={lane:q,revertLane:M.revertLane,gesture:M.gesture,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},A===null?(y=A=k,d=o):A=A.next=k,vt.lanes|=q,Gn|=q;M=M.next}while(M!==null&&M!==e);if(A===null?d=o:A.next=y,!Me(o,t.memoizedState)&&(te=!0,R&&(n=Ql,n!==null)))throw n;t.memoizedState=o,t.baseState=d,t.baseQueue=A,l.lastRenderedState=o}return u===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function ec(t){var e=Wt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var l=n.dispatch,u=n.pending,o=e.memoizedState;if(u!==null){n.pending=null;var d=u=u.next;do o=t(o,d.action),d=d.next;while(d!==u);Me(o,e.memoizedState)||(te=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,l]}function Ef(t,e,n){var l=vt,u=Wt(),o=Dt;if(o){if(n===void 0)throw Error(c(407));n=n()}else n=e();var d=!Me((Ut||u).memoizedState,n);if(d&&(u.memoizedState=n,te=!0),u=u.queue,ic(Tf.bind(null,l,u,t),[t]),u.getSnapshot!==e||d||Pt!==null&&Pt.memoizedState.tag&1){if(l.flags|=2048,Wl(9,{destroy:void 0},Af.bind(null,l,u,n,e),null),Yt===null)throw Error(c(349));o||(xn&127)!==0||zf(l,e,n)}return n}function zf(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=vt.updateQueue,e===null?(e=eu(),vt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Af(t,e,n,l){e.value=n,e.getSnapshot=l,Cf(e)&&_f(t)}function Tf(t,e,n){return n(function(){Cf(e)&&_f(t)})}function Cf(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Me(t,n)}catch{return!0}}function _f(t){var e=cl(t,2);e!==null&&Te(e,t,2)}function nc(t){var e=ge();if(typeof t=="function"){var n=t;if(t=n(),gl){ve(!0);try{n()}finally{ve(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:t},e}function Df(t,e,n,l){return t.baseState=n,tc(t,Ut,typeof l=="function"?l:bn)}function Xy(t,e,n,l,u){if(uu(t))throw Error(c(485));if(t=e.action,t!==null){var o={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){o.listeners.push(d)}};N.T!==null?n(!0):o.isTransition=!1,l(o),n=e.pending,n===null?(o.next=e.pending=o,Of(e,o)):(o.next=n.next,e.pending=n.next=o)}}function Of(t,e){var n=e.action,l=e.payload,u=t.state;if(e.isTransition){var o=N.T,d={};N.T=d;try{var y=n(u,l),A=N.S;A!==null&&A(d,y),Mf(t,e,y)}catch(M){lc(t,e,M)}finally{o!==null&&d.types!==null&&(o.types=d.types),N.T=o}}else try{o=n(u,l),Mf(t,e,o)}catch(M){lc(t,e,M)}}function Mf(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Nf(t,e,l)},function(l){return lc(t,e,l)}):Nf(t,e,n)}function Nf(t,e,n){e.status="fulfilled",e.value=n,kf(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Of(t,n)))}function lc(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,kf(e),e=e.next;while(e!==l)}t.action=null}function kf(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function wf(t,e){return e}function Rf(t,e){if(Dt){var n=Yt.formState;if(n!==null){t:{var l=vt;if(Dt){if(Gt){e:{for(var u=Gt,o=Ze;u.nodeType!==8;){if(!o){u=null;break e}if(u=Fe(u.nextSibling),u===null){u=null;break e}}o=u.data,u=o==="F!"||o==="F"?u:null}if(u){Gt=Fe(u.nextSibling),l=u.data==="F!";break t}}jn(l)}l=!1}l&&(e=n[0])}}return n=ge(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wf,lastRenderedState:e},n.queue=l,n=Pf.bind(null,vt,l),l.dispatch=n,l=nc(!1),o=oc.bind(null,vt,!1,l.queue),l=ge(),u={state:e,dispatch:null,action:t,pending:null},l.queue=u,n=Xy.bind(null,vt,u,o,n),u.dispatch=n,l.memoizedState=t,[e,n,!1]}function jf(t){var e=Wt();return Bf(e,Ut,t)}function Bf(t,e,n){if(e=tc(t,e,wf)[0],t=lu(bn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Yi(e)}catch(d){throw d===Zl?Ka:d}else l=e;e=Wt();var u=e.queue,o=u.dispatch;return n!==e.memoizedState&&(vt.flags|=2048,Wl(9,{destroy:void 0},Gy.bind(null,u,n),null)),[l,o,t]}function Gy(t,e){t.action=e}function Uf(t){var e=Wt(),n=Ut;if(n!==null)return Bf(e,n,t);Wt(),e=e.memoizedState,n=Wt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function Wl(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=vt.updateQueue,e===null&&(e=eu(),vt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Hf(){return Wt().memoizedState}function iu(t,e,n,l){var u=ge();vt.flags|=t,u.memoizedState=Wl(1|e,{destroy:void 0},n,l===void 0?null:l)}function au(t,e,n,l){var u=Wt();l=l===void 0?null:l;var o=u.memoizedState.inst;Ut!==null&&l!==null&&Fr(l,Ut.memoizedState.deps)?u.memoizedState=Wl(e,o,n,l):(vt.flags|=t,u.memoizedState=Wl(1|e,o,n,l))}function Lf(t,e){iu(8390656,8,t,e)}function ic(t,e){au(2048,8,t,e)}function Qy(t){vt.flags|=4;var e=vt.updateQueue;if(e===null)e=eu(),vt.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function qf(t){var e=Wt().memoizedState;return Qy({ref:e,nextImpl:t}),function(){if((Nt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function Yf(t,e){return au(4,2,t,e)}function Vf(t,e){return au(4,4,t,e)}function Xf(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 Gf(t,e,n){n=n!=null?n.concat([t]):null,au(4,4,Xf.bind(null,e,t),n)}function ac(){}function Qf(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Fr(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Zf(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Fr(e,l[1]))return l[0];if(l=t(),gl){ve(!0);try{t()}finally{ve(!1)}}return n.memoizedState=[l,e],l}function uc(t,e,n){return n===void 0||(xn&1073741824)!==0&&(Ct&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=Kh(),vt.lanes|=t,Gn|=t,n)}function Kf(t,e,n,l){return Me(n,e)?n:Fl.current!==null?(t=uc(t,n,l),Me(t,e)||(te=!0),t):(xn&42)===0||(xn&1073741824)!==0&&(Ct&261930)===0?(te=!0,t.memoizedState=n):(t=Kh(),vt.lanes|=t,Gn|=t,e)}function Ff(t,e,n,l,u){var o=K.p;K.p=o!==0&&8>o?o:8;var d=N.T,y={};N.T=y,oc(t,!1,e,n);try{var A=u(),M=N.S;if(M!==null&&M(y,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var R=qy(A,l);Vi(t,e,R,Be(t))}else Vi(t,e,l,Be(t))}catch(q){Vi(t,e,{then:function(){},status:"rejected",reason:q},Be())}finally{K.p=o,d!==null&&y.types!==null&&(d.types=y.types),N.T=d}}function Zy(){}function rc(t,e,n,l){if(t.tag!==5)throw Error(c(476));var u=Jf(t).queue;Ff(t,u,e,at,n===null?Zy:function(){return If(t),n(l)})}function Jf(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:bn,lastRenderedState:at},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function If(t){var e=Jf(t);e.next===null&&(e=t.alternate.memoizedState),Vi(t,e.next.queue,{},Be())}function cc(){return se(aa)}function Wf(){return Wt().memoizedState}function $f(){return Wt().memoizedState}function Ky(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Be();t=Hn(n);var l=Ln(e,t,n);l!==null&&(Te(l,e,n),Ui(l,e,n)),e={cache:Ur()},t.payload=e;return}e=e.return}}function Fy(t,e,n){var l=Be();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},uu(t)?th(e,n):(n=Cr(t,e,n,l),n!==null&&(Te(n,t,l),eh(n,e,l)))}function Pf(t,e,n){var l=Be();Vi(t,e,n,l)}function Vi(t,e,n,l){var u={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(uu(t))th(e,u);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var d=e.lastRenderedState,y=o(d,n);if(u.hasEagerState=!0,u.eagerState=y,Me(y,d))return qa(t,e,u,0),Yt===null&&La(),!1}catch{}if(n=Cr(t,e,u,l),n!==null)return Te(n,t,l),eh(n,e,l),!0}return!1}function oc(t,e,n,l){if(l={lane:2,revertLane:Yc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},uu(t)){if(e)throw Error(c(479))}else e=Cr(t,n,l,2),e!==null&&Te(e,t,2)}function uu(t){var e=t.alternate;return t===vt||e!==null&&e===vt}function th(t,e){Jl=Pa=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function eh(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,as(t,n)}}var Xi={readContext:se,use:nu,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useLayoutEffect:Ft,useInsertionEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useSyncExternalStore:Ft,useId:Ft,useHostTransitionStatus:Ft,useFormState:Ft,useActionState:Ft,useOptimistic:Ft,useMemoCache:Ft,useCacheRefresh:Ft};Xi.useEffectEvent=Ft;var nh={readContext:se,use:nu,useCallback:function(t,e){return ge().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:Lf,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,iu(4194308,4,Xf.bind(null,e,t),n)},useLayoutEffect:function(t,e){return iu(4194308,4,t,e)},useInsertionEffect:function(t,e){iu(4,2,t,e)},useMemo:function(t,e){var n=ge();e=e===void 0?null:e;var l=t();if(gl){ve(!0);try{t()}finally{ve(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ge();if(n!==void 0){var u=n(e);if(gl){ve(!0);try{n(e)}finally{ve(!1)}}}else u=e;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=Fy.bind(null,vt,t),[l.memoizedState,t]},useRef:function(t){var e=ge();return t={current:t},e.memoizedState=t},useState:function(t){t=nc(t);var e=t.queue,n=Pf.bind(null,vt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:ac,useDeferredValue:function(t,e){var n=ge();return uc(n,t,e)},useTransition:function(){var t=nc(!1);return t=Ff.bind(null,vt,t.queue,!0,!1),ge().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=vt,u=ge();if(Dt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Yt===null)throw Error(c(349));(Ct&127)!==0||zf(l,e,n)}u.memoizedState=n;var o={value:n,getSnapshot:e};return u.queue=o,Lf(Tf.bind(null,l,o,t),[t]),l.flags|=2048,Wl(9,{destroy:void 0},Af.bind(null,l,o,n,e),null),n},useId:function(){var t=ge(),e=Yt.identifierPrefix;if(Dt){var n=nn,l=en;n=(l&~(1<<32-qt(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=tu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Yy++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:cc,useFormState:Rf,useActionState:Rf,useOptimistic:function(t){var e=ge();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=oc.bind(null,vt,!0,n),n.dispatch=e,[t,e]},useMemoCache:Pr,useCacheRefresh:function(){return ge().memoizedState=Ky.bind(null,vt)},useEffectEvent:function(t){var e=ge(),n={impl:t};return e.memoizedState=n,function(){if((Nt&2)!==0)throw Error(c(440));return n.impl.apply(void 0,arguments)}}},sc={readContext:se,use:nu,useCallback:Qf,useContext:se,useEffect:ic,useImperativeHandle:Gf,useInsertionEffect:Yf,useLayoutEffect:Vf,useMemo:Zf,useReducer:lu,useRef:Hf,useState:function(){return lu(bn)},useDebugValue:ac,useDeferredValue:function(t,e){var n=Wt();return Kf(n,Ut.memoizedState,t,e)},useTransition:function(){var t=lu(bn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:Yi(t),e]},useSyncExternalStore:Ef,useId:Wf,useHostTransitionStatus:cc,useFormState:jf,useActionState:jf,useOptimistic:function(t,e){var n=Wt();return Df(n,Ut,t,e)},useMemoCache:Pr,useCacheRefresh:$f};sc.useEffectEvent=qf;var lh={readContext:se,use:nu,useCallback:Qf,useContext:se,useEffect:ic,useImperativeHandle:Gf,useInsertionEffect:Yf,useLayoutEffect:Vf,useMemo:Zf,useReducer:ec,useRef:Hf,useState:function(){return ec(bn)},useDebugValue:ac,useDeferredValue:function(t,e){var n=Wt();return Ut===null?uc(n,t,e):Kf(n,Ut.memoizedState,t,e)},useTransition:function(){var t=ec(bn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:Yi(t),e]},useSyncExternalStore:Ef,useId:Wf,useHostTransitionStatus:cc,useFormState:Uf,useActionState:Uf,useOptimistic:function(t,e){var n=Wt();return Ut!==null?Df(n,Ut,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Pr,useCacheRefresh:$f};lh.useEffectEvent=qf;function fc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:x({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var hc={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Be(),u=Hn(l);u.payload=e,n!=null&&(u.callback=n),e=Ln(t,u,l),e!==null&&(Te(e,t,l),Ui(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Be(),u=Hn(l);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Ln(t,u,l),e!==null&&(Te(e,t,l),Ui(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Be(),l=Hn(n);l.tag=2,e!=null&&(l.callback=e),e=Ln(t,l,n),e!==null&&(Te(e,t,n),Ui(e,t,n))}};function ih(t,e,n,l,u,o,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,d):e.prototype&&e.prototype.isPureReactComponent?!Oi(n,l)||!Oi(u,o):!0}function ah(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&hc.enqueueReplaceState(e,e.state,null)}function vl(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=x({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function uh(t){Ha(t)}function rh(t){console.error(t)}function ch(t){Ha(t)}function ru(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function oh(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function dc(t,e,n){return n=Hn(n),n.tag=3,n.payload={element:null},n.callback=function(){ru(t,e)},n}function sh(t){return t=Hn(t),t.tag=3,t}function fh(t,e,n,l){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var o=l.value;t.payload=function(){return u(o)},t.callback=function(){oh(e,n,l)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){oh(e,n,l),typeof u!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var y=l.stack;this.componentDidCatch(l.value,{componentStack:y!==null?y:""})})}function Jy(t,e,n,l,u){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Xl(e,n,u,!0),n=ke.current,n!==null){switch(n.tag){case 31:case 13:return Ke===null?xu():n.alternate===null&&Jt===0&&(Jt=3),n.flags&=-257,n.flags|=65536,n.lanes=u,l===Fa?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),Hc(t,l,u)),!1;case 22:return n.flags|=65536,l===Fa?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),Hc(t,l,u)),!1}throw Error(c(435,n.tag))}return Hc(t,l,u),xu(),!1}if(Dt)return e=ke.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,l!==kr&&(t=Error(c(422),{cause:l}),ki(Xe(t,n)))):(l!==kr&&(e=Error(c(423),{cause:l}),ki(Xe(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=Xe(l,n),u=dc(t.stateNode,l,u),Xr(t,u),Jt!==4&&(Jt=2)),!1;var o=Error(c(520),{cause:l});if(o=Xe(o,n),Wi===null?Wi=[o]:Wi.push(o),Jt!==4&&(Jt=2),e===null)return!0;l=Xe(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=dc(n.stateNode,l,t),Xr(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Qn===null||!Qn.has(o))))return n.flags|=65536,u&=-u,n.lanes|=u,u=sh(u),fh(u,t,n,l),Xr(n,u),!1}n=n.return}while(n!==null);return!1}var pc=Error(c(461)),te=!1;function fe(t,e,n,l){e.child=t===null?mf(e,null,n,l):yl(e,t.child,n,l)}function hh(t,e,n,l,u){n=n.render;var o=e.ref;if("ref"in l){var d={};for(var y in l)y!=="ref"&&(d[y]=l[y])}else d=l;return hl(e),l=Jr(t,e,n,d,o,u),y=Ir(),t!==null&&!te?(Wr(t,e,u),Sn(t,e,u)):(Dt&&y&&Mr(e),e.flags|=1,fe(t,e,l,u),e.child)}function dh(t,e,n,l,u){if(t===null){var o=n.type;return typeof o=="function"&&!_r(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,ph(t,e,o,l,u)):(t=Va(n.type,null,l,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!Ec(t,u)){var d=o.memoizedProps;if(n=n.compare,n=n!==null?n:Oi,n(d,l)&&t.ref===e.ref)return Sn(t,e,u)}return e.flags|=1,t=mn(o,l),t.ref=e.ref,t.return=e,e.child=t}function ph(t,e,n,l,u){if(t!==null){var o=t.memoizedProps;if(Oi(o,l)&&t.ref===e.ref)if(te=!1,e.pendingProps=l=o,Ec(t,u))(t.flags&131072)!==0&&(te=!0);else return e.lanes=t.lanes,Sn(t,e,u)}return mc(t,e,n,l,u)}function mh(t,e,n,l){var u=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){for(l=e.child=t.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~o}else l=0,e.child=null;return yh(t,e,o,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Za(e,o!==null?o.cachePool:null),o!==null?vf(e,o):Qr(),xf(e);else return l=e.lanes=536870912,yh(t,e,o!==null?o.baseLanes|n:n,n,l)}else o!==null?(Za(e,o.cachePool),vf(e,o),Yn(),e.memoizedState=null):(t!==null&&Za(e,null),Qr(),Yn());return fe(t,e,u,n),e.child}function Gi(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function yh(t,e,n,l,u){var o=Lr();return o=o===null?null:{parent:$t._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&Za(e,null),Qr(),xf(e),t!==null&&Xl(t,e,l,!0),e.childLanes=u,null}function cu(t,e){return e=su({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function gh(t,e,n){return yl(e,t.child,null,n),t=cu(e,e.pendingProps),t.flags|=2,we(e),e.memoizedState=null,t}function Iy(t,e,n){var l=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Dt){if(l.mode==="hidden")return t=cu(e,l),e.lanes=536870912,Gi(null,t);if(Kr(e),(t=Gt)?(t=Od(t,Ze),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:wn!==null?{id:en,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},n=Ps(t),n.return=e,e.child=n,oe=e,Gt=null)):t=null,t===null)throw jn(e);return e.lanes=536870912,null}return cu(e,l)}var o=t.memoizedState;if(o!==null){var d=o.dehydrated;if(Kr(e),u)if(e.flags&256)e.flags&=-257,e=gh(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(te||Xl(t,e,n,!1),u=(n&t.childLanes)!==0,te||u){if(l=Yt,l!==null&&(d=us(l,n),d!==0&&d!==o.retryLane))throw o.retryLane=d,cl(t,d),Te(l,t,d),pc;xu(),e=gh(t,e,n)}else t=o.treeContext,Gt=Fe(d.nextSibling),oe=e,Dt=!0,Rn=null,Ze=!1,t!==null&&nf(e,t),e=cu(e,l),e.flags|=4096;return e}return t=mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ou(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(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function mc(t,e,n,l,u){return hl(e),n=Jr(t,e,n,l,void 0,u),l=Ir(),t!==null&&!te?(Wr(t,e,u),Sn(t,e,u)):(Dt&&l&&Mr(e),e.flags|=1,fe(t,e,n,u),e.child)}function vh(t,e,n,l,u,o){return hl(e),e.updateQueue=null,n=Sf(e,l,n,u),bf(t),l=Ir(),t!==null&&!te?(Wr(t,e,o),Sn(t,e,o)):(Dt&&l&&Mr(e),e.flags|=1,fe(t,e,n,o),e.child)}function xh(t,e,n,l,u){if(hl(e),e.stateNode===null){var o=Ll,d=n.contextType;typeof d=="object"&&d!==null&&(o=se(d)),o=new n(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=hc,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},Yr(e),d=n.contextType,o.context=typeof d=="object"&&d!==null?se(d):Ll,o.state=e.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(fc(e,n,d,l),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(d=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),d!==o.state&&hc.enqueueReplaceState(o,o.state,null),Li(e,l,o,u),Hi(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var y=e.memoizedProps,A=vl(n,y);o.props=A;var M=o.context,R=n.contextType;d=Ll,typeof R=="object"&&R!==null&&(d=se(R));var q=n.getDerivedStateFromProps;R=typeof q=="function"||typeof o.getSnapshotBeforeUpdate=="function",y=e.pendingProps!==y,R||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(y||M!==d)&&ah(e,o,l,d),Un=!1;var k=e.memoizedState;o.state=k,Li(e,l,o,u),Hi(),M=e.memoizedState,y||k!==M||Un?(typeof q=="function"&&(fc(e,n,q,l),M=e.memoizedState),(A=Un||ih(e,n,A,l,k,M,d))?(R||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=M),o.props=l,o.state=M,o.context=d,l=A):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,Vr(t,e),d=e.memoizedProps,R=vl(n,d),o.props=R,q=e.pendingProps,k=o.context,M=n.contextType,A=Ll,typeof M=="object"&&M!==null&&(A=se(M)),y=n.getDerivedStateFromProps,(M=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(d!==q||k!==A)&&ah(e,o,l,A),Un=!1,k=e.memoizedState,o.state=k,Li(e,l,o,u),Hi();var w=e.memoizedState;d!==q||k!==w||Un||t!==null&&t.dependencies!==null&&Ga(t.dependencies)?(typeof y=="function"&&(fc(e,n,y,l),w=e.memoizedState),(R=Un||ih(e,n,R,l,k,w,A)||t!==null&&t.dependencies!==null&&Ga(t.dependencies))?(M||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,w,A),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,w,A)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=w),o.props=l,o.state=w,o.context=A,l=R):(typeof o.componentDidUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,ou(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=yl(e,t.child,null,u),e.child=yl(e,null,n,u)):fe(t,e,n,u),e.memoizedState=o.state,t=e.child):t=Sn(t,e,u),t}function bh(t,e,n,l){return sl(),e.flags|=256,fe(t,e,n,l),e.child}var yc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gc(t){return{baseLanes:t,cachePool:of()}}function vc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=je),t}function Sh(t,e,n){var l=e.pendingProps,u=!1,o=(e.flags&128)!==0,d;if((d=o)||(d=t!==null&&t.memoizedState===null?!1:(It.current&2)!==0),d&&(u=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(Dt){if(u?qn(e):Yn(),(t=Gt)?(t=Od(t,Ze),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:wn!==null?{id:en,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},n=Ps(t),n.return=e,e.child=n,oe=e,Gt=null)):t=null,t===null)throw jn(e);return to(t)?e.lanes=32:e.lanes=536870912,null}var y=l.children;return l=l.fallback,u?(Yn(),u=e.mode,y=su({mode:"hidden",children:y},u),l=ol(l,u,n,null),y.return=e,l.return=e,y.sibling=l,e.child=y,l=e.child,l.memoizedState=gc(n),l.childLanes=vc(t,d,n),e.memoizedState=yc,Gi(null,l)):(qn(e),xc(e,y))}var A=t.memoizedState;if(A!==null&&(y=A.dehydrated,y!==null)){if(o)e.flags&256?(qn(e),e.flags&=-257,e=bc(t,e,n)):e.memoizedState!==null?(Yn(),e.child=t.child,e.flags|=128,e=null):(Yn(),y=l.fallback,u=e.mode,l=su({mode:"visible",children:l.children},u),y=ol(y,u,n,null),y.flags|=2,l.return=e,y.return=e,l.sibling=y,e.child=l,yl(e,t.child,null,n),l=e.child,l.memoizedState=gc(n),l.childLanes=vc(t,d,n),e.memoizedState=yc,e=Gi(null,l));else if(qn(e),to(y)){if(d=y.nextSibling&&y.nextSibling.dataset,d)var M=d.dgst;d=M,l=Error(c(419)),l.stack="",l.digest=d,ki({value:l,source:null,stack:null}),e=bc(t,e,n)}else if(te||Xl(t,e,n,!1),d=(n&t.childLanes)!==0,te||d){if(d=Yt,d!==null&&(l=us(d,n),l!==0&&l!==A.retryLane))throw A.retryLane=l,cl(t,l),Te(d,t,l),pc;Pc(y)||xu(),e=bc(t,e,n)}else Pc(y)?(e.flags|=192,e.child=t.child,e=null):(t=A.treeContext,Gt=Fe(y.nextSibling),oe=e,Dt=!0,Rn=null,Ze=!1,t!==null&&nf(e,t),e=xc(e,l.children),e.flags|=4096);return e}return u?(Yn(),y=l.fallback,u=e.mode,A=t.child,M=A.sibling,l=mn(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,M!==null?y=mn(M,y):(y=ol(y,u,n,null),y.flags|=2),y.return=e,l.return=e,l.sibling=y,e.child=l,Gi(null,l),l=e.child,y=t.child.memoizedState,y===null?y=gc(n):(u=y.cachePool,u!==null?(A=$t._currentValue,u=u.parent!==A?{parent:A,pool:A}:u):u=of(),y={baseLanes:y.baseLanes|n,cachePool:u}),l.memoizedState=y,l.childLanes=vc(t,d,n),e.memoizedState=yc,Gi(t.child,l)):(qn(e),n=t.child,t=n.sibling,n=mn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=n,e.memoizedState=null,n)}function xc(t,e){return e=su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function su(t,e){return t=Ne(22,t,null,e),t.lanes=0,t}function bc(t,e,n){return yl(e,t.child,null,n),t=xc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Eh(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),jr(t.return,e,n)}function Sc(t,e,n,l,u,o){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:u,treeForkCount:o}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=n,d.tailMode=u,d.treeForkCount=o)}function zh(t,e,n){var l=e.pendingProps,u=l.revealOrder,o=l.tail;l=l.children;var d=It.current,y=(d&2)!==0;if(y?(d=d&1|2,e.flags|=128):d&=1,S(It,d),fe(t,e,l,n),l=Dt?Ni:0,!y&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Eh(t,n,e);else if(t.tag===19)Eh(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&&$a(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),Sc(e,!1,u,n,o,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&$a(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}Sc(e,!0,n,null,o,l);break;case"together":Sc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function Sn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Gn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Xl(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=mn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=mn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Ec(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ga(t)))}function Wy(t,e,n){switch(e.tag){case 3:Zt(e,e.stateNode.containerInfo),Bn(e,$t,t.memoizedState.cache),sl();break;case 27:case 5:Le(e);break;case 4:Zt(e,e.stateNode.containerInfo);break;case 10:Bn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Kr(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(qn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Sh(t,e,n):(qn(e),t=Sn(t,e,n),t!==null?t.sibling:null);qn(e);break;case 19:var u=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Xl(t,e,n,!1),l=(n&e.childLanes)!==0),u){if(l)return zh(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),S(It,It.current),l)break;return null;case 22:return e.lanes=0,mh(t,e,n,e.pendingProps);case 24:Bn(e,$t,t.memoizedState.cache)}return Sn(t,e,n)}function Ah(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)te=!0;else{if(!Ec(t,n)&&(e.flags&128)===0)return te=!1,Wy(t,e,n);te=(t.flags&131072)!==0}else te=!1,Dt&&(e.flags&1048576)!==0&&ef(e,Ni,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=pl(e.elementType),e.type=t,typeof t=="function")_r(t)?(l=vl(t,l),e.tag=1,e=xh(null,e,t,l,n)):(e.tag=0,e=mc(null,e,t,l,n));else{if(t!=null){var u=t.$$typeof;if(u===I){e.tag=11,e=hh(null,e,t,l,n);break t}else if(u===nt){e.tag=14,e=dh(null,e,t,l,n);break t}}throw e=W(t)||t,Error(c(306,e,""))}}return e;case 0:return mc(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,u=vl(l,e.pendingProps),xh(t,e,l,u,n);case 3:t:{if(Zt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var o=e.memoizedState;u=o.element,Vr(t,e),Li(e,l,null,n);var d=e.memoizedState;if(l=d.cache,Bn(e,$t,l),l!==o.cache&&Br(e,[$t],n,!0),Hi(),l=d.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=bh(t,e,l,n);break t}else if(l!==u){u=Xe(Error(c(424)),e),ki(u),e=bh(t,e,l,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Gt=Fe(t.firstChild),oe=e,Dt=!0,Rn=null,Ze=!0,n=mf(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sl(),l===u){e=Sn(t,e,n);break t}fe(t,e,l,n)}e=e.child}return e;case 26:return ou(t,e),t===null?(n=jd(e.type,null,e.pendingProps,null))?e.memoizedState=n:Dt||(n=e.type,t=e.pendingProps,l=Cu(ut.current).createElement(n),l[ce]=e,l[xe]=t,he(l,n,t),ae(l),e.stateNode=l):e.memoizedState=jd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Le(e),t===null&&Dt&&(l=e.stateNode=kd(e.type,e.pendingProps,ut.current),oe=e,Ze=!0,u=Gt,Jn(e.type)?(eo=u,Gt=Fe(l.firstChild)):Gt=u),fe(t,e,e.pendingProps.children,n),ou(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Dt&&((u=l=Gt)&&(l=_g(l,e.type,e.pendingProps,Ze),l!==null?(e.stateNode=l,oe=e,Gt=Fe(l.firstChild),Ze=!1,u=!0):u=!1),u||jn(e)),Le(e),u=e.type,o=e.pendingProps,d=t!==null?t.memoizedProps:null,l=o.children,Ic(u,o)?l=null:d!==null&&Ic(u,d)&&(e.flags|=32),e.memoizedState!==null&&(u=Jr(t,e,Vy,null,null,n),aa._currentValue=u),ou(t,e),fe(t,e,l,n),e.child;case 6:return t===null&&Dt&&((t=n=Gt)&&(n=Dg(n,e.pendingProps,Ze),n!==null?(e.stateNode=n,oe=e,Gt=null,t=!0):t=!1),t||jn(e)),null;case 13:return Sh(t,e,n);case 4:return Zt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=yl(e,null,l,n):fe(t,e,l,n),e.child;case 11:return hh(t,e,e.type,e.pendingProps,n);case 7:return fe(t,e,e.pendingProps,n),e.child;case 8:return fe(t,e,e.pendingProps.children,n),e.child;case 12:return fe(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Bn(e,e.type,l.value),fe(t,e,l.children,n),e.child;case 9:return u=e.type._context,l=e.pendingProps.children,hl(e),u=se(u),l=l(u),e.flags|=1,fe(t,e,l,n),e.child;case 14:return dh(t,e,e.type,e.pendingProps,n);case 15:return ph(t,e,e.type,e.pendingProps,n);case 19:return zh(t,e,n);case 31:return Iy(t,e,n);case 22:return mh(t,e,n,e.pendingProps);case 24:return hl(e),l=se($t),t===null?(u=Lr(),u===null&&(u=Yt,o=Ur(),u.pooledCache=o,o.refCount++,o!==null&&(u.pooledCacheLanes|=n),u=o),e.memoizedState={parent:l,cache:u},Yr(e),Bn(e,$t,u)):((t.lanes&n)!==0&&(Vr(t,e),Li(e,null,null,n),Hi()),u=t.memoizedState,o=e.memoizedState,u.parent!==l?(u={parent:l,cache:l},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Bn(e,$t,l)):(l=o.cache,Bn(e,$t,l),l!==u.cache&&Br(e,[$t],n,!0))),fe(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function En(t){t.flags|=4}function zc(t,e,n,l,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(Wh())t.flags|=8192;else throw ml=Fa,qr}else t.flags&=-16777217}function Th(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!qd(e))if(Wh())t.flags|=8192;else throw ml=Fa,qr}function fu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ls():536870912,t.lanes|=e,ei|=e)}function Qi(t,e){if(!Dt)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 l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Qt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function $y(t,e,n){var l=e.pendingProps;switch(Nr(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qt(e),null;case 1:return Qt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),vn($t),Bt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Vl(e)?En(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,wr())),Qt(e),null;case 26:var u=e.type,o=e.memoizedState;return t===null?(En(e),o!==null?(Qt(e),Th(e,o)):(Qt(e),zc(e,u,null,l,n))):o?o!==t.memoizedState?(En(e),Qt(e),Th(e,o)):(Qt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&En(e),Qt(e),zc(e,u,t,l,n)),null;case 27:if(on(e),n=ut.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Qt(e),null}t=et.current,Vl(e)?lf(e):(t=kd(u,l,n),e.stateNode=t,En(e))}return Qt(e),null;case 5:if(on(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Qt(e),null}if(o=et.current,Vl(e))lf(e);else{var d=Cu(ut.current);switch(o){case 1:o=d.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:o=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":o=d.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":o=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":o=d.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?d.createElement(u,{is:l.is}):d.createElement(u)}}o[ce]=e,o[xe]=l;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)o.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=o;t:switch(he(o,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&En(e)}}return Qt(e),zc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=ut.current,Vl(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,u=oe,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}t[ce]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Sd(t.nodeValue,n)),t||jn(e,!0)}else t=Cu(t).createTextNode(l),t[ce]=e,e.stateNode=t}return Qt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=Vl(e),n!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ce]=e}else sl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Qt(e),t=!1}else n=wr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(we(e),e):(we(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Qt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Vl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!u)throw Error(c(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(c(317));u[ce]=e}else sl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Qt(e),u=!1}else u=wr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(we(e),e):(we(e),null)}return we(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==u&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),fu(e,e.updateQueue),Qt(e),null);case 4:return Bt(),t===null&&Qc(e.stateNode.containerInfo),Qt(e),null;case 10:return vn(e.type),Qt(e),null;case 19:if(U(It),l=e.memoizedState,l===null)return Qt(e),null;if(u=(e.flags&128)!==0,o=l.rendering,o===null)if(u)Qi(l,!1);else{if(Jt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=$a(t),o!==null){for(e.flags|=128,Qi(l,!1),t=o.updateQueue,e.updateQueue=t,fu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)$s(n,t),n=n.sibling;return S(It,It.current&1|2),Dt&&yn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&me()>yu&&(e.flags|=128,u=!0,Qi(l,!1),e.lanes=4194304)}else{if(!u)if(t=$a(o),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,fu(e,t),Qi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!Dt)return Qt(e),null}else 2*me()-l.renderingStartTime>yu&&n!==536870912&&(e.flags|=128,u=!0,Qi(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=me(),t.sibling=null,n=It.current,S(It,u?n&1|2:n&1),Dt&&yn(e,l.treeForkCount),t):(Qt(e),null);case 22:case 23:return we(e),Zr(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Qt(e),e.subtreeFlags&6&&(e.flags|=8192)):Qt(e),n=e.updateQueue,n!==null&&fu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&U(dl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),vn($t),Qt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Py(t,e){switch(Nr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return vn($t),Bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return on(e),null;case 31:if(e.memoizedState!==null){if(we(e),e.alternate===null)throw Error(c(340));sl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(we(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));sl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return U(It),null;case 4:return Bt(),null;case 10:return vn(e.type),null;case 22:case 23:return we(e),Zr(),t!==null&&U(dl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return vn($t),null;case 25:return null;default:return null}}function Ch(t,e){switch(Nr(e),e.tag){case 3:vn($t),Bt();break;case 26:case 27:case 5:on(e);break;case 4:Bt();break;case 31:e.memoizedState!==null&&we(e);break;case 13:we(e);break;case 19:U(It);break;case 10:vn(e.type);break;case 22:case 23:we(e),Zr(),t!==null&&U(dl);break;case 24:vn($t)}}function Zi(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var u=l.next;n=u;do{if((n.tag&t)===t){l=void 0;var o=n.create,d=n.inst;l=o(),d.destroy=l}n=n.next}while(n!==u)}}catch(y){jt(e,e.return,y)}}function Vn(t,e,n){try{var l=e.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var o=u.next;l=o;do{if((l.tag&t)===t){var d=l.inst,y=d.destroy;if(y!==void 0){d.destroy=void 0,u=e;var A=n,M=y;try{M()}catch(R){jt(u,A,R)}}}l=l.next}while(l!==o)}}catch(R){jt(e,e.return,R)}}function _h(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{gf(e,n)}catch(l){jt(t,t.return,l)}}}function Dh(t,e,n){n.props=vl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){jt(t,e,l)}}function Ki(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(u){jt(t,e,u)}}function ln(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(u){jt(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){jt(t,e,u)}else n.current=null}function Oh(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(u){jt(t,t.return,u)}}function Ac(t,e,n){try{var l=t.stateNode;Sg(l,t.type,n,e),l[xe]=e}catch(u){jt(t,t.return,u)}}function Mh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Jn(t.type)||t.tag===4}function Tc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Mh(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 Cc(t,e,n){var l=t.tag;if(l===5||l===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=dn));else if(l!==4&&(l===27&&Jn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Cc(t,e,n),t=t.sibling;t!==null;)Cc(t,e,n),t=t.sibling}function hu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&Jn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(hu(t,e,n),t=t.sibling;t!==null;)hu(t,e,n),t=t.sibling}function Nh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);he(e,l,n),e[ce]=t,e[xe]=n}catch(o){jt(t,t.return,o)}}var zn=!1,ee=!1,_c=!1,kh=typeof WeakSet=="function"?WeakSet:Set,ue=null;function tg(t,e){if(t=t.containerInfo,Fc=wu,t=Xs(t),br(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var u=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var d=0,y=-1,A=-1,M=0,R=0,q=t,k=null;e:for(;;){for(var w;q!==n||u!==0&&q.nodeType!==3||(y=d+u),q!==o||l!==0&&q.nodeType!==3||(A=d+l),q.nodeType===3&&(d+=q.nodeValue.length),(w=q.firstChild)!==null;)k=q,q=w;for(;;){if(q===t)break e;if(k===n&&++M===u&&(y=d),k===o&&++R===l&&(A=d),(w=q.nextSibling)!==null)break;q=k,k=q.parentNode}q=w}n=y===-1||A===-1?null:{start:y,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jc={focusedElem:t,selectionRange:n},wu=!1,ue=e;ue!==null;)if(e=ue,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ue=t;else for(;ue!==null;){switch(e=ue,o=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&&o!==null){t=void 0,n=e,u=o.memoizedProps,o=o.memoizedState,l=n.stateNode;try{var lt=vl(n.type,u);t=l.getSnapshotBeforeUpdate(lt,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(st){jt(n,n.return,st)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)$c(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":$c(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(c(163))}if(t=e.sibling,t!==null){t.return=e.return,ue=t;break}ue=e.return}}function wh(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(t,n),l&4&&Zi(5,n);break;case 1:if(Tn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(d){jt(n,n.return,d)}else{var u=vl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){jt(n,n.return,d)}}l&64&&_h(n),l&512&&Ki(n,n.return);break;case 3:if(Tn(t,n),l&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{gf(t,e)}catch(d){jt(n,n.return,d)}}break;case 27:e===null&&l&4&&Nh(n);case 26:case 5:Tn(t,n),e===null&&l&4&&Oh(n),l&512&&Ki(n,n.return);break;case 12:Tn(t,n);break;case 31:Tn(t,n),l&4&&Bh(t,n);break;case 13:Tn(t,n),l&4&&Uh(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=og.bind(null,n),Og(t,n))));break;case 22:if(l=n.memoizedState!==null||zn,!l){e=e!==null&&e.memoizedState!==null||ee,u=zn;var o=ee;zn=l,(ee=e)&&!o?Cn(t,n,(n.subtreeFlags&8772)!==0):Tn(t,n),zn=u,ee=o}break;case 30:break;default:Tn(t,n)}}function Rh(t){var e=t.alternate;e!==null&&(t.alternate=null,Rh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&lr(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 Kt=null,Se=!1;function An(t,e,n){for(n=n.child;n!==null;)jh(t,e,n),n=n.sibling}function jh(t,e,n){if(le&&typeof le.onCommitFiberUnmount=="function")try{le.onCommitFiberUnmount(ye,n)}catch{}switch(n.tag){case 26:ee||ln(n,e),An(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ee||ln(n,e);var l=Kt,u=Se;Jn(n.type)&&(Kt=n.stateNode,Se=!1),An(t,e,n),na(n.stateNode),Kt=l,Se=u;break;case 5:ee||ln(n,e);case 6:if(l=Kt,u=Se,Kt=null,An(t,e,n),Kt=l,Se=u,Kt!==null)if(Se)try{(Kt.nodeType===9?Kt.body:Kt.nodeName==="HTML"?Kt.ownerDocument.body:Kt).removeChild(n.stateNode)}catch(o){jt(n,e,o)}else try{Kt.removeChild(n.stateNode)}catch(o){jt(n,e,o)}break;case 18:Kt!==null&&(Se?(t=Kt,_d(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),oi(t)):_d(Kt,n.stateNode));break;case 4:l=Kt,u=Se,Kt=n.stateNode.containerInfo,Se=!0,An(t,e,n),Kt=l,Se=u;break;case 0:case 11:case 14:case 15:Vn(2,n,e),ee||Vn(4,n,e),An(t,e,n);break;case 1:ee||(ln(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&Dh(n,e,l)),An(t,e,n);break;case 21:An(t,e,n);break;case 22:ee=(l=ee)||n.memoizedState!==null,An(t,e,n),ee=l;break;default:An(t,e,n)}}function Bh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{oi(t)}catch(n){jt(e,e.return,n)}}}function Uh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{oi(t)}catch(n){jt(e,e.return,n)}}function eg(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new kh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new kh),e;default:throw Error(c(435,t.tag))}}function du(t,e){var n=eg(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var u=sg.bind(null,t,l);l.then(u,u)}})}function Ee(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var u=n[l],o=t,d=e,y=d;t:for(;y!==null;){switch(y.tag){case 27:if(Jn(y.type)){Kt=y.stateNode,Se=!1;break t}break;case 5:Kt=y.stateNode,Se=!1;break t;case 3:case 4:Kt=y.stateNode.containerInfo,Se=!0;break t}y=y.return}if(Kt===null)throw Error(c(160));jh(o,d,u),Kt=null,Se=!1,o=u.alternate,o!==null&&(o.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Hh(e,t),e=e.sibling}var Pe=null;function Hh(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ee(e,t),ze(t),l&4&&(Vn(3,t,t.return),Zi(3,t),Vn(5,t,t.return));break;case 1:Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),l&64&&zn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var u=Pe;if(Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),l&4){var o=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(l){case"title":o=u.getElementsByTagName("title")[0],(!o||o[bi]||o[ce]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=u.createElement(l),u.head.insertBefore(o,u.querySelector("head > title"))),he(o,l,n),o[ce]=t,ae(o),l=o;break t;case"link":var d=Hd("link","href",u).get(l+(n.href||""));if(d){for(var y=0;y<d.length;y++)if(o=d[y],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(y,1);break e}}o=u.createElement(l),he(o,l,n),u.head.appendChild(o);break;case"meta":if(d=Hd("meta","content",u).get(l+(n.content||""))){for(y=0;y<d.length;y++)if(o=d[y],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(y,1);break e}}o=u.createElement(l),he(o,l,n),u.head.appendChild(o);break;default:throw Error(c(468,l))}o[ce]=t,ae(o),l=o}t.stateNode=l}else Ld(u,t.type,t.stateNode);else t.stateNode=Ud(u,l,t.memoizedProps);else o!==l?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,l===null?Ld(u,t.type,t.stateNode):Ud(u,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Ac(t,t.memoizedProps,n.memoizedProps)}break;case 27:Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),n!==null&&l&4&&Ac(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),t.flags&32){u=t.stateNode;try{kl(u,"")}catch(lt){jt(t,t.return,lt)}}l&4&&t.stateNode!=null&&(u=t.memoizedProps,Ac(t,u,n!==null?n.memoizedProps:u)),l&1024&&(_c=!0);break;case 6:if(Ee(e,t),ze(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(lt){jt(t,t.return,lt)}}break;case 3:if(Ou=null,u=Pe,Pe=_u(e.containerInfo),Ee(e,t),Pe=u,ze(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{oi(e.containerInfo)}catch(lt){jt(t,t.return,lt)}_c&&(_c=!1,Lh(t));break;case 4:l=Pe,Pe=_u(t.stateNode.containerInfo),Ee(e,t),ze(t),Pe=l;break;case 12:Ee(e,t),ze(t);break;case 31:Ee(e,t),ze(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,du(t,l)));break;case 13:Ee(e,t),ze(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(mu=me()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,du(t,l)));break;case 22:u=t.memoizedState!==null;var A=n!==null&&n.memoizedState!==null,M=zn,R=ee;if(zn=M||u,ee=R||A,Ee(e,t),ee=R,zn=M,ze(t),l&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||A||zn||ee||xl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){A=n=e;try{if(o=A.stateNode,u)d=o.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{y=A.stateNode;var q=A.memoizedProps.style,k=q!=null&&q.hasOwnProperty("display")?q.display:null;y.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(lt){jt(A,A.return,lt)}}}else if(e.tag===6){if(n===null){A=e;try{A.stateNode.nodeValue=u?"":A.memoizedProps}catch(lt){jt(A,A.return,lt)}}}else if(e.tag===18){if(n===null){A=e;try{var w=A.stateNode;u?Dd(w,!0):Dd(A.stateNode,!1)}catch(lt){jt(A,A.return,lt)}}}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}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,du(t,n))));break;case 19:Ee(e,t),ze(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,du(t,l)));break;case 30:break;case 21:break;default:Ee(e,t),ze(t)}}function ze(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(Mh(l)){n=l;break}l=l.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var u=n.stateNode,o=Tc(t);hu(t,o,u);break;case 5:var d=n.stateNode;n.flags&32&&(kl(d,""),n.flags&=-33);var y=Tc(t);hu(t,y,d);break;case 3:case 4:var A=n.stateNode.containerInfo,M=Tc(t);Cc(t,M,A);break;default:throw Error(c(161))}}catch(R){jt(t,t.return,R)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Lh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Lh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Tn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)wh(t,e.alternate,e),e=e.sibling}function xl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Vn(4,e,e.return),xl(e);break;case 1:ln(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Dh(e,e.return,n),xl(e);break;case 27:na(e.stateNode);case 26:case 5:ln(e,e.return),xl(e);break;case 22:e.memoizedState===null&&xl(e);break;case 30:xl(e);break;default:xl(e)}t=t.sibling}}function Cn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,u=t,o=e,d=o.flags;switch(o.tag){case 0:case 11:case 15:Cn(u,o,n),Zi(4,o);break;case 1:if(Cn(u,o,n),l=o,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(M){jt(l,l.return,M)}if(l=o,u=l.updateQueue,u!==null){var y=l.stateNode;try{var A=u.shared.hiddenCallbacks;if(A!==null)for(u.shared.hiddenCallbacks=null,u=0;u<A.length;u++)yf(A[u],y)}catch(M){jt(l,l.return,M)}}n&&d&64&&_h(o),Ki(o,o.return);break;case 27:Nh(o);case 26:case 5:Cn(u,o,n),n&&l===null&&d&4&&Oh(o),Ki(o,o.return);break;case 12:Cn(u,o,n);break;case 31:Cn(u,o,n),n&&d&4&&Bh(u,o);break;case 13:Cn(u,o,n),n&&d&4&&Uh(u,o);break;case 22:o.memoizedState===null&&Cn(u,o,n),Ki(o,o.return);break;case 30:break;default:Cn(u,o,n)}e=e.sibling}}function Dc(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&&wi(n))}function Oc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&wi(t))}function tn(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qh(t,e,n,l),e=e.sibling}function qh(t,e,n,l){var u=e.flags;switch(e.tag){case 0:case 11:case 15:tn(t,e,n,l),u&2048&&Zi(9,e);break;case 1:tn(t,e,n,l);break;case 3:tn(t,e,n,l),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&wi(t)));break;case 12:if(u&2048){tn(t,e,n,l),t=e.stateNode;try{var o=e.memoizedProps,d=o.id,y=o.onPostCommit;typeof y=="function"&&y(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){jt(e,e.return,A)}}else tn(t,e,n,l);break;case 31:tn(t,e,n,l);break;case 13:tn(t,e,n,l);break;case 23:break;case 22:o=e.stateNode,d=e.alternate,e.memoizedState!==null?o._visibility&2?tn(t,e,n,l):Fi(t,e):o._visibility&2?tn(t,e,n,l):(o._visibility|=2,$l(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),u&2048&&Dc(d,e);break;case 24:tn(t,e,n,l),u&2048&&Oc(e.alternate,e);break;default:tn(t,e,n,l)}}function $l(t,e,n,l,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,d=e,y=n,A=l,M=d.flags;switch(d.tag){case 0:case 11:case 15:$l(o,d,y,A,u),Zi(8,d);break;case 23:break;case 22:var R=d.stateNode;d.memoizedState!==null?R._visibility&2?$l(o,d,y,A,u):Fi(o,d):(R._visibility|=2,$l(o,d,y,A,u)),u&&M&2048&&Dc(d.alternate,d);break;case 24:$l(o,d,y,A,u),u&&M&2048&&Oc(d.alternate,d);break;default:$l(o,d,y,A,u)}e=e.sibling}}function Fi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,u=l.flags;switch(l.tag){case 22:Fi(n,l),u&2048&&Dc(l.alternate,l);break;case 24:Fi(n,l),u&2048&&Oc(l.alternate,l);break;default:Fi(n,l)}e=e.sibling}}var Ji=8192;function Pl(t,e,n){if(t.subtreeFlags&Ji)for(t=t.child;t!==null;)Yh(t,e,n),t=t.sibling}function Yh(t,e,n){switch(t.tag){case 26:Pl(t,e,n),t.flags&Ji&&t.memoizedState!==null&&Yg(n,Pe,t.memoizedState,t.memoizedProps);break;case 5:Pl(t,e,n);break;case 3:case 4:var l=Pe;Pe=_u(t.stateNode.containerInfo),Pl(t,e,n),Pe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Ji,Ji=16777216,Pl(t,e,n),Ji=l):Pl(t,e,n));break;default:Pl(t,e,n)}}function Vh(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 Ii(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];ue=l,Gh(l,t)}Vh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xh(t),t=t.sibling}function Xh(t){switch(t.tag){case 0:case 11:case 15:Ii(t),t.flags&2048&&Vn(9,t,t.return);break;case 3:Ii(t);break;case 12:Ii(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,pu(t)):Ii(t);break;default:Ii(t)}}function pu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];ue=l,Gh(l,t)}Vh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Vn(8,e,e.return),pu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,pu(e));break;default:pu(e)}t=t.sibling}}function Gh(t,e){for(;ue!==null;){var n=ue;switch(n.tag){case 0:case 11:case 15:Vn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:wi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,ue=l;else t:for(n=t;ue!==null;){l=ue;var u=l.sibling,o=l.return;if(Rh(l),l===n){ue=null;break t}if(u!==null){u.return=o,ue=u;break t}ue=o}}}var ng={getCacheForType:function(t){var e=se($t),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return se($t).controller.signal}},lg=typeof WeakMap=="function"?WeakMap:Map,Nt=0,Yt=null,zt=null,Ct=0,Rt=0,Re=null,Xn=!1,ti=!1,Mc=!1,_n=0,Jt=0,Gn=0,bl=0,Nc=0,je=0,ei=0,Wi=null,Ae=null,kc=!1,mu=0,Qh=0,yu=1/0,gu=null,Qn=null,ie=0,Zn=null,ni=null,Dn=0,wc=0,Rc=null,Zh=null,$i=0,jc=null;function Be(){return(Nt&2)!==0&&Ct!==0?Ct&-Ct:N.T!==null?Yc():rs()}function Kh(){if(je===0)if((Ct&536870912)===0||Dt){var t=Ta;Ta<<=1,(Ta&3932160)===0&&(Ta=262144),je=t}else je=536870912;return t=ke.current,t!==null&&(t.flags|=32),je}function Te(t,e,n){(t===Yt&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)&&(li(t,0),Kn(t,Ct,je,!1)),xi(t,n),((Nt&2)===0||t!==Yt)&&(t===Yt&&((Nt&2)===0&&(bl|=n),Jt===4&&Kn(t,Ct,je,!1)),an(t))}function Fh(t,e,n){if((Nt&6)!==0)throw Error(c(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||vi(t,e),u=l?ug(t,e):Uc(t,e,!0),o=l;do{if(u===0){ti&&!l&&Kn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!ig(n)){u=Uc(t,e,!1),o=!1;continue}if(u===2){if(o=e,t.errorRecoveryDisabledLanes&o)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var y=t;u=Wi;var A=y.current.memoizedState.isDehydrated;if(A&&(li(y,d).flags|=256),d=Uc(y,d,!1),d!==2){if(Mc&&!A){y.errorRecoveryDisabledLanes|=o,bl|=o,u=4;break t}o=Ae,Ae=u,o!==null&&(Ae===null?Ae=o:Ae.push.apply(Ae,o))}u=d}if(o=!1,u!==2)continue}}if(u===1){li(t,0),Kn(t,e,0,!0);break}t:{switch(l=t,o=u,o){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Kn(l,e,je,!Xn);break t;case 2:Ae=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(u=mu+300-me(),10<u)){if(Kn(l,e,je,!Xn),_a(l,0,!0)!==0)break t;Dn=e,l.timeoutHandle=Td(Jh.bind(null,l,n,Ae,gu,kc,e,je,bl,ei,Xn,o,"Throttled",-0,0),u);break t}Jh(l,n,Ae,gu,kc,e,je,bl,ei,Xn,o,null,-0,0)}}break}while(!0);an(t)}function Jh(t,e,n,l,u,o,d,y,A,M,R,q,k,w){if(t.timeoutHandle=-1,q=e.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:dn},Yh(e,o,q);var lt=(o&62914560)===o?mu-me():(o&4194048)===o?Qh-me():0;if(lt=Vg(q,lt),lt!==null){Dn=o,t.cancelPendingCommit=lt(ld.bind(null,t,e,o,n,l,u,d,y,A,R,q,null,k,w)),Kn(t,o,d,!M);return}}ld(t,e,o,n,l,u,d,y,A)}function ig(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 l=0;l<n.length;l++){var u=n[l],o=u.getSnapshot;u=u.value;try{if(!Me(o(),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 Kn(t,e,n,l){e&=~Nc,e&=~bl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var u=e;0<u;){var o=31-qt(u),d=1<<o;l[o]=-1,u&=~d}n!==0&&is(t,n,e)}function vu(){return(Nt&6)===0?(Pi(0),!1):!0}function Bc(){if(zt!==null){if(Rt===0)var t=zt.return;else t=zt,gn=fl=null,$r(t),Kl=null,ji=0,t=zt;for(;t!==null;)Ch(t.alternate,t),t=t.return;zt=null}}function li(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Ag(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Dn=0,Bc(),Yt=t,zt=n=mn(t.current,null),Ct=e,Rt=0,Re=null,Xn=!1,ti=vi(t,e),Mc=!1,ei=je=Nc=bl=Gn=Jt=0,Ae=Wi=null,kc=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var u=31-qt(l),o=1<<u;e|=t[u],l&=~o}return _n=e,La(),n}function Ih(t,e){vt=null,N.H=Xi,e===Zl||e===Ka?(e=hf(),Rt=3):e===qr?(e=hf(),Rt=4):Rt=e===pc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Re=e,zt===null&&(Jt=1,ru(t,Xe(e,t.current)))}function Wh(){var t=ke.current;return t===null?!0:(Ct&4194048)===Ct?Ke===null:(Ct&62914560)===Ct||(Ct&536870912)!==0?t===Ke:!1}function $h(){var t=N.H;return N.H=Xi,t===null?Xi:t}function Ph(){var t=N.A;return N.A=ng,t}function xu(){Jt=4,Xn||(Ct&4194048)!==Ct&&ke.current!==null||(ti=!0),(Gn&134217727)===0&&(bl&134217727)===0||Yt===null||Kn(Yt,Ct,je,!1)}function Uc(t,e,n){var l=Nt;Nt|=2;var u=$h(),o=Ph();(Yt!==t||Ct!==e)&&(gu=null,li(t,e)),e=!1;var d=Jt;t:do try{if(Rt!==0&&zt!==null){var y=zt,A=Re;switch(Rt){case 8:Bc(),d=6;break t;case 3:case 2:case 9:case 6:ke.current===null&&(e=!0);var M=Rt;if(Rt=0,Re=null,ii(t,y,A,M),n&&ti){d=0;break t}break;default:M=Rt,Rt=0,Re=null,ii(t,y,A,M)}}ag(),d=Jt;break}catch(R){Ih(t,R)}while(!0);return e&&t.shellSuspendCounter++,gn=fl=null,Nt=l,N.H=u,N.A=o,zt===null&&(Yt=null,Ct=0,La()),d}function ag(){for(;zt!==null;)td(zt)}function ug(t,e){var n=Nt;Nt|=2;var l=$h(),u=Ph();Yt!==t||Ct!==e?(gu=null,yu=me()+500,li(t,e)):ti=vi(t,e);t:do try{if(Rt!==0&&zt!==null){e=zt;var o=Re;e:switch(Rt){case 1:Rt=0,Re=null,ii(t,e,o,1);break;case 2:case 9:if(sf(o)){Rt=0,Re=null,ed(e);break}e=function(){Rt!==2&&Rt!==9||Yt!==t||(Rt=7),an(t)},o.then(e,e);break t;case 3:Rt=7;break t;case 4:Rt=5;break t;case 7:sf(o)?(Rt=0,Re=null,ed(e)):(Rt=0,Re=null,ii(t,e,o,7));break;case 5:var d=null;switch(zt.tag){case 26:d=zt.memoizedState;case 5:case 27:var y=zt;if(d?qd(d):y.stateNode.complete){Rt=0,Re=null;var A=y.sibling;if(A!==null)zt=A;else{var M=y.return;M!==null?(zt=M,bu(M)):zt=null}break e}}Rt=0,Re=null,ii(t,e,o,5);break;case 6:Rt=0,Re=null,ii(t,e,o,6);break;case 8:Bc(),Jt=6;break t;default:throw Error(c(462))}}rg();break}catch(R){Ih(t,R)}while(!0);return gn=fl=null,N.H=l,N.A=u,Nt=n,zt!==null?0:(Yt=null,Ct=0,La(),Jt)}function rg(){for(;zt!==null&&!Iu();)td(zt)}function td(t){var e=Ah(t.alternate,t,_n);t.memoizedProps=t.pendingProps,e===null?bu(t):zt=e}function ed(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=vh(n,e,e.pendingProps,e.type,void 0,Ct);break;case 11:e=vh(n,e,e.pendingProps,e.type.render,e.ref,Ct);break;case 5:$r(e);default:Ch(n,e),e=zt=$s(e,_n),e=Ah(n,e,_n)}t.memoizedProps=t.pendingProps,e===null?bu(t):zt=e}function ii(t,e,n,l){gn=fl=null,$r(e),Kl=null,ji=0;var u=e.return;try{if(Jy(t,u,e,n,Ct)){Jt=1,ru(t,Xe(n,t.current)),zt=null;return}}catch(o){if(u!==null)throw zt=u,o;Jt=1,ru(t,Xe(n,t.current)),zt=null;return}e.flags&32768?(Dt||l===1?t=!0:ti||(Ct&536870912)!==0?t=!1:(Xn=t=!0,(l===2||l===9||l===3||l===6)&&(l=ke.current,l!==null&&l.tag===13&&(l.flags|=16384))),nd(e,t)):bu(e)}function bu(t){var e=t;do{if((e.flags&32768)!==0){nd(e,Xn);return}t=e.return;var n=$y(e.alternate,e,_n);if(n!==null){zt=n;return}if(e=e.sibling,e!==null){zt=e;return}zt=e=t}while(e!==null);Jt===0&&(Jt=5)}function nd(t,e){do{var n=Py(t.alternate,t);if(n!==null){n.flags&=32767,zt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){zt=t;return}zt=t=n}while(t!==null);Jt=6,zt=null}function ld(t,e,n,l,u,o,d,y,A){t.cancelPendingCommit=null;do Su();while(ie!==0);if((Nt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(o=e.lanes|e.childLanes,o|=Tr,qm(t,n,o,d,y,A),t===Yt&&(zt=Yt=null,Ct=0),ni=e,Zn=t,Dn=n,wc=o,Rc=u,Zh=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,fg(dt,function(){return cd(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=N.T,N.T=null,u=K.p,K.p=2,d=Nt,Nt|=4;try{tg(t,e,n)}finally{Nt=d,K.p=u,N.T=l}}ie=1,id(),ad(),ud()}}function id(){if(ie===1){ie=0;var t=Zn,e=ni,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var l=K.p;K.p=2;var u=Nt;Nt|=4;try{Hh(e,t);var o=Jc,d=Xs(t.containerInfo),y=o.focusedElem,A=o.selectionRange;if(d!==y&&y&&y.ownerDocument&&Vs(y.ownerDocument.documentElement,y)){if(A!==null&&br(y)){var M=A.start,R=A.end;if(R===void 0&&(R=M),"selectionStart"in y)y.selectionStart=M,y.selectionEnd=Math.min(R,y.value.length);else{var q=y.ownerDocument||document,k=q&&q.defaultView||window;if(k.getSelection){var w=k.getSelection(),lt=y.textContent.length,st=Math.min(A.start,lt),Lt=A.end===void 0?st:Math.min(A.end,lt);!w.extend&&st>Lt&&(d=Lt,Lt=st,st=d);var _=Ys(y,st),C=Ys(y,Lt);if(_&&C&&(w.rangeCount!==1||w.anchorNode!==_.node||w.anchorOffset!==_.offset||w.focusNode!==C.node||w.focusOffset!==C.offset)){var O=q.createRange();O.setStart(_.node,_.offset),w.removeAllRanges(),st>Lt?(w.addRange(O),w.extend(C.node,C.offset)):(O.setEnd(C.node,C.offset),w.addRange(O))}}}}for(q=[],w=y;w=w.parentNode;)w.nodeType===1&&q.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<q.length;y++){var L=q[y];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}wu=!!Fc,Jc=Fc=null}finally{Nt=u,K.p=l,N.T=n}}t.current=e,ie=2}}function ad(){if(ie===2){ie=0;var t=Zn,e=ni,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var l=K.p;K.p=2;var u=Nt;Nt|=4;try{wh(t,e.alternate,e)}finally{Nt=u,K.p=l,N.T=n}}ie=3}}function ud(){if(ie===4||ie===3){ie=0,Wu();var t=Zn,e=ni,n=Dn,l=Zh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ie=5:(ie=0,ni=Zn=null,rd(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Qn=null),er(n),e=e.stateNode,le&&typeof le.onCommitFiberRoot=="function")try{le.onCommitFiberRoot(ye,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=N.T,u=K.p,K.p=2,N.T=null;try{for(var o=t.onRecoverableError,d=0;d<l.length;d++){var y=l[d];o(y.value,{componentStack:y.stack})}}finally{N.T=e,K.p=u}}(Dn&3)!==0&&Su(),an(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===jc?$i++:($i=0,jc=t):$i=0,Pi(0)}}function rd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,wi(e)))}function Su(){return id(),ad(),ud(),cd()}function cd(){if(ie!==5)return!1;var t=Zn,e=wc;wc=0;var n=er(Dn),l=N.T,u=K.p;try{K.p=32>n?32:n,N.T=null,n=Rc,Rc=null;var o=Zn,d=Dn;if(ie=0,ni=Zn=null,Dn=0,(Nt&6)!==0)throw Error(c(331));var y=Nt;if(Nt|=4,Xh(o.current),qh(o,o.current,d,n),Nt=y,Pi(0,!1),le&&typeof le.onPostCommitFiberRoot=="function")try{le.onPostCommitFiberRoot(ye,o)}catch{}return!0}finally{K.p=u,N.T=l,rd(t,e)}}function od(t,e,n){e=Xe(n,e),e=dc(t.stateNode,e,2),t=Ln(t,e,2),t!==null&&(xi(t,2),an(t))}function jt(t,e,n){if(t.tag===3)od(t,t,n);else for(;e!==null;){if(e.tag===3){od(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Qn===null||!Qn.has(l))){t=Xe(n,t),n=sh(2),l=Ln(e,n,2),l!==null&&(fh(n,l,e,t),xi(l,2),an(l));break}}e=e.return}}function Hc(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new lg;var u=new Set;l.set(e,u)}else u=l.get(e),u===void 0&&(u=new Set,l.set(e,u));u.has(n)||(Mc=!0,u.add(n),t=cg.bind(null,t,e,n),e.then(t,t))}function cg(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Yt===t&&(Ct&n)===n&&(Jt===4||Jt===3&&(Ct&62914560)===Ct&&300>me()-mu?(Nt&2)===0&&li(t,0):Nc|=n,ei===Ct&&(ei=0)),an(t)}function sd(t,e){e===0&&(e=ls()),t=cl(t,e),t!==null&&(xi(t,e),an(t))}function og(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),sd(t,n)}function sg(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),sd(t,n)}function fg(t,e){return Tl(t,e)}var Eu=null,ai=null,Lc=!1,zu=!1,qc=!1,Fn=0;function an(t){t!==ai&&t.next===null&&(ai===null?Eu=ai=t:ai=ai.next=t),zu=!0,Lc||(Lc=!0,dg())}function Pi(t,e){if(!qc&&zu){qc=!0;do for(var n=!1,l=Eu;l!==null;){if(t!==0){var u=l.pendingLanes;if(u===0)var o=0;else{var d=l.suspendedLanes,y=l.pingedLanes;o=(1<<31-qt(42|t)+1)-1,o&=u&~(d&~y),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,pd(l,o))}else o=Ct,o=_a(l,l===Yt?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||vi(l,o)||(n=!0,pd(l,o));l=l.next}while(n);qc=!1}}function hg(){fd()}function fd(){zu=Lc=!1;var t=0;Fn!==0&&zg()&&(t=Fn);for(var e=me(),n=null,l=Eu;l!==null;){var u=l.next,o=hd(l,e);o===0?(l.next=null,n===null?Eu=u:n.next=u,u===null&&(ai=n)):(n=l,(t!==0||(o&3)!==0)&&(zu=!0)),l=u}ie!==0&&ie!==5||Pi(t),Fn!==0&&(Fn=0)}function hd(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,u=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var d=31-qt(o),y=1<<d,A=u[d];A===-1?((y&n)===0||(y&l)!==0)&&(u[d]=Lm(y,e)):A<=e&&(t.expiredLanes|=y),o&=~y}if(e=Yt,n=Ct,n=_a(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&gi(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||vi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&gi(l),er(n)){case 2:case 8:n=$;break;case 32:n=dt;break;case 268435456:n=wt;break;default:n=dt}return l=dd.bind(null,t),n=Tl(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&gi(l),t.callbackPriority=2,t.callbackNode=null,2}function dd(t,e){if(ie!==0&&ie!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Su()&&t.callbackNode!==n)return null;var l=Ct;return l=_a(t,t===Yt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Fh(t,l,e),hd(t,me()),t.callbackNode!=null&&t.callbackNode===n?dd.bind(null,t):null)}function pd(t,e){if(Su())return null;Fh(t,e,!0)}function dg(){Tg(function(){(Nt&6)!==0?Tl(H,hg):fd()})}function Yc(){if(Fn===0){var t=Gl;t===0&&(t=Aa,Aa<<=1,(Aa&261888)===0&&(Aa=256)),Fn=t}return Fn}function md(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Na(""+t)}function yd(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 pg(t,e,n,l,u){if(e==="submit"&&n&&n.stateNode===u){var o=md((u[xe]||null).action),d=l.submitter;d&&(e=(e=d[xe]||null)?md(e.formAction):d.getAttribute("formAction"),e!==null&&(o=e,d=null));var y=new ja("action","action",null,l,u);t.push({event:y,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Fn!==0){var A=d?yd(u,d):new FormData(u);rc(n,{pending:!0,data:A,method:u.method,action:o},null,A)}}else typeof o=="function"&&(y.preventDefault(),A=d?yd(u,d):new FormData(u),rc(n,{pending:!0,data:A,method:u.method,action:o},o,A))},currentTarget:u}]})}}for(var Vc=0;Vc<Ar.length;Vc++){var Xc=Ar[Vc],mg=Xc.toLowerCase(),yg=Xc[0].toUpperCase()+Xc.slice(1);$e(mg,"on"+yg)}$e(Zs,"onAnimationEnd"),$e(Ks,"onAnimationIteration"),$e(Fs,"onAnimationStart"),$e("dblclick","onDoubleClick"),$e("focusin","onFocus"),$e("focusout","onBlur"),$e(ky,"onTransitionRun"),$e(wy,"onTransitionStart"),$e(Ry,"onTransitionCancel"),$e(Js,"onTransitionEnd"),Ml("onMouseEnter",["mouseout","mouseover"]),Ml("onMouseLeave",["mouseout","mouseover"]),Ml("onPointerEnter",["pointerout","pointerover"]),Ml("onPointerLeave",["pointerout","pointerover"]),il("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),il("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),il("onBeforeInput",["compositionend","keypress","textInput","paste"]),il("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),il("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),il("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ta="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(" "),gg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ta));function gd(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],u=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var d=l.length-1;0<=d;d--){var y=l[d],A=y.instance,M=y.currentTarget;if(y=y.listener,A!==o&&u.isPropagationStopped())break t;o=y,u.currentTarget=M;try{o(u)}catch(R){Ha(R)}u.currentTarget=null,o=A}else for(d=0;d<l.length;d++){if(y=l[d],A=y.instance,M=y.currentTarget,y=y.listener,A!==o&&u.isPropagationStopped())break t;o=y,u.currentTarget=M;try{o(u)}catch(R){Ha(R)}u.currentTarget=null,o=A}}}}function At(t,e){var n=e[nr];n===void 0&&(n=e[nr]=new Set);var l=t+"__bubble";n.has(l)||(vd(e,t,2,!1),n.add(l))}function Gc(t,e,n){var l=0;e&&(l|=4),vd(n,t,l,e)}var Au="_reactListening"+Math.random().toString(36).slice(2);function Qc(t){if(!t[Au]){t[Au]=!0,ss.forEach(function(n){n!=="selectionchange"&&(gg.has(n)||Gc(n,!1,t),Gc(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Au]||(e[Au]=!0,Gc("selectionchange",!1,e))}}function vd(t,e,n,l){switch(Kd(e)){case 2:var u=Qg;break;case 8:u=Zg;break;default:u=uo}n=u.bind(null,e,n,t),u=void 0,!fr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),l?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 Zc(t,e,n,l,u){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var y=l.stateNode.containerInfo;if(y===u)break;if(d===4)for(d=l.return;d!==null;){var A=d.tag;if((A===3||A===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;y!==null;){if(d=_l(y),d===null)return;if(A=d.tag,A===5||A===6||A===26||A===27){l=o=d;continue t}y=y.parentNode}}l=l.return}Es(function(){var M=o,R=or(n),q=[];t:{var k=Is.get(t);if(k!==void 0){var w=ja,lt=t;switch(t){case"keypress":if(wa(n)===0)break t;case"keydown":case"keyup":w=sy;break;case"focusin":lt="focus",w=mr;break;case"focusout":lt="blur",w=mr;break;case"beforeblur":case"afterblur":w=mr;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":w=Ts;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=$m;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=dy;break;case Zs:case Ks:case Fs:w=ey;break;case Js:w=my;break;case"scroll":case"scrollend":w=Im;break;case"wheel":w=gy;break;case"copy":case"cut":case"paste":w=ly;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=_s;break;case"toggle":case"beforetoggle":w=xy}var st=(e&4)!==0,Lt=!st&&(t==="scroll"||t==="scrollend"),_=st?k!==null?k+"Capture":null:k;st=[];for(var C=M,O;C!==null;){var L=C;if(O=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||O===null||_===null||(L=Ei(C,_),L!=null&&st.push(ea(C,L,O))),Lt)break;C=C.return}0<st.length&&(k=new w(k,lt,null,n,R),q.push({event:k,listeners:st}))}}if((e&7)===0){t:{if(k=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout",k&&n!==cr&&(lt=n.relatedTarget||n.fromElement)&&(_l(lt)||lt[Cl]))break t;if((w||k)&&(k=R.window===R?R:(k=R.ownerDocument)?k.defaultView||k.parentWindow:window,w?(lt=n.relatedTarget||n.toElement,w=M,lt=lt?_l(lt):null,lt!==null&&(Lt=f(lt),st=lt.tag,lt!==Lt||st!==5&&st!==27&&st!==6)&&(lt=null)):(w=null,lt=M),w!==lt)){if(st=Ts,L="onMouseLeave",_="onMouseEnter",C="mouse",(t==="pointerout"||t==="pointerover")&&(st=_s,L="onPointerLeave",_="onPointerEnter",C="pointer"),Lt=w==null?k:Si(w),O=lt==null?k:Si(lt),k=new st(L,C+"leave",w,n,R),k.target=Lt,k.relatedTarget=O,L=null,_l(R)===M&&(st=new st(_,C+"enter",lt,n,R),st.target=O,st.relatedTarget=Lt,L=st),Lt=L,w&&lt)e:{for(st=vg,_=w,C=lt,O=0,L=_;L;L=st(L))O++;L=0;for(var rt=C;rt;rt=st(rt))L++;for(;0<O-L;)_=st(_),O--;for(;0<L-O;)C=st(C),L--;for(;O--;){if(_===C||C!==null&&_===C.alternate){st=_;break e}_=st(_),C=st(C)}st=null}else st=null;w!==null&&xd(q,k,w,st,!1),lt!==null&&Lt!==null&&xd(q,Lt,lt,st,!0)}}t:{if(k=M?Si(M):window,w=k.nodeName&&k.nodeName.toLowerCase(),w==="select"||w==="input"&&k.type==="file")var Ot=js;else if(ws(k))if(Bs)Ot=Oy;else{Ot=_y;var it=Cy}else w=k.nodeName,!w||w.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?M&&rr(M.elementType)&&(Ot=js):Ot=Dy;if(Ot&&(Ot=Ot(t,M))){Rs(q,Ot,n,R);break t}it&&it(t,k,M),t==="focusout"&&M&&k.type==="number"&&M.memoizedProps.value!=null&&ur(k,"number",k.value)}switch(it=M?Si(M):window,t){case"focusin":(ws(it)||it.contentEditable==="true")&&(Bl=it,Sr=M,Mi=null);break;case"focusout":Mi=Sr=Bl=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,Gs(q,n,R);break;case"selectionchange":if(Ny)break;case"keydown":case"keyup":Gs(q,n,R)}var xt;if(gr)t:{switch(t){case"compositionstart":var _t="onCompositionStart";break t;case"compositionend":_t="onCompositionEnd";break t;case"compositionupdate":_t="onCompositionUpdate";break t}_t=void 0}else jl?Ns(t,n)&&(_t="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(_t="onCompositionStart");_t&&(Ds&&n.locale!=="ko"&&(jl||_t!=="onCompositionStart"?_t==="onCompositionEnd"&&jl&&(xt=zs()):(kn=R,hr="value"in kn?kn.value:kn.textContent,jl=!0)),it=Tu(M,_t),0<it.length&&(_t=new Cs(_t,t,null,n,R),q.push({event:_t,listeners:it}),xt?_t.data=xt:(xt=ks(n),xt!==null&&(_t.data=xt)))),(xt=Sy?Ey(t,n):zy(t,n))&&(_t=Tu(M,"onBeforeInput"),0<_t.length&&(it=new Cs("onBeforeInput","beforeinput",null,n,R),q.push({event:it,listeners:_t}),it.data=xt)),pg(q,t,M,n,R)}gd(q,e)})}function ea(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Tu(t,e){for(var n=e+"Capture",l=[];t!==null;){var u=t,o=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||o===null||(u=Ei(t,n),u!=null&&l.unshift(ea(t,u,o)),u=Ei(t,e),u!=null&&l.push(ea(t,u,o))),t.tag===3)return l;t=t.return}return[]}function vg(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function xd(t,e,n,l,u){for(var o=e._reactName,d=[];n!==null&&n!==l;){var y=n,A=y.alternate,M=y.stateNode;if(y=y.tag,A!==null&&A===l)break;y!==5&&y!==26&&y!==27||M===null||(A=M,u?(M=Ei(n,o),M!=null&&d.unshift(ea(n,M,A))):u||(M=Ei(n,o),M!=null&&d.push(ea(n,M,A)))),n=n.return}d.length!==0&&t.push({event:e,listeners:d})}var xg=/\r\n?/g,bg=/\u0000|\uFFFD/g;function bd(t){return(typeof t=="string"?t:""+t).replace(xg,`
9
- `).replace(bg,"")}function Sd(t,e){return e=bd(e),bd(t)===e}function Ht(t,e,n,l,u,o){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||kl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&kl(t,""+l);break;case"className":Oa(t,"class",l);break;case"tabIndex":Oa(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Oa(t,n,l);break;case"style":bs(t,l,o);break;case"data":if(e!=="object"){Oa(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Na(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="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 o=="function"&&(n==="formAction"?(e!=="input"&&Ht(t,e,"name",u.name,u,null),Ht(t,e,"formEncType",u.formEncType,u,null),Ht(t,e,"formMethod",u.formMethod,u,null),Ht(t,e,"formTarget",u.formTarget,u,null)):(Ht(t,e,"encType",u.encType,u,null),Ht(t,e,"method",u.method,u,null),Ht(t,e,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Na(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=dn);break;case"onScroll":l!=null&&At("scroll",t);break;case"onScrollEnd":l!=null&&At("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Na(""+l),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":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":At("beforetoggle",t),At("toggle",t),Da(t,"popover",l);break;case"xlinkActuate":hn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":hn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":hn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":hn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":hn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":hn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":hn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":hn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":hn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Da(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Fm.get(n)||n,Da(t,n,l))}}function Kc(t,e,n,l,u,o){switch(n){case"style":bs(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof l=="string"?kl(t,l):(typeof l=="number"||typeof l=="bigint")&&kl(t,""+l);break;case"onScroll":l!=null&&At("scroll",t);break;case"onScrollEnd":l!=null&&At("scrollend",t);break;case"onClick":l!=null&&(t.onclick=dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fs.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),o=t[xe]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,u),typeof l=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,u);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Da(t,n,l)}}}function he(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":At("error",t),At("load",t);var l=!1,u=!1,o;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(d!=null)switch(o){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ht(t,e,o,d,n,null)}}u&&Ht(t,e,"srcSet",n.srcSet,n,null),l&&Ht(t,e,"src",n.src,n,null);return;case"input":At("invalid",t);var y=o=d=u=null,A=null,M=null;for(l in n)if(n.hasOwnProperty(l)){var R=n[l];if(R!=null)switch(l){case"name":u=R;break;case"type":d=R;break;case"checked":A=R;break;case"defaultChecked":M=R;break;case"value":o=R;break;case"defaultValue":y=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:Ht(t,e,l,R,n,null)}}ys(t,o,y,A,M,d,u,!1);return;case"select":At("invalid",t),l=d=o=null;for(u in n)if(n.hasOwnProperty(u)&&(y=n[u],y!=null))switch(u){case"value":o=y;break;case"defaultValue":d=y;break;case"multiple":l=y;default:Ht(t,e,u,y,n,null)}e=o,n=d,t.multiple=!!l,e!=null?Nl(t,!!l,e,!1):n!=null&&Nl(t,!!l,n,!0);return;case"textarea":At("invalid",t),o=u=l=null;for(d in n)if(n.hasOwnProperty(d)&&(y=n[d],y!=null))switch(d){case"value":l=y;break;case"defaultValue":u=y;break;case"children":o=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(c(91));break;default:Ht(t,e,d,y,n,null)}vs(t,l,u,o);return;case"option":for(A in n)n.hasOwnProperty(A)&&(l=n[A],l!=null)&&(A==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":Ht(t,e,A,l,n,null));return;case"dialog":At("beforetoggle",t),At("toggle",t),At("cancel",t),At("close",t);break;case"iframe":case"object":At("load",t);break;case"video":case"audio":for(l=0;l<ta.length;l++)At(ta[l],t);break;case"image":At("error",t),At("load",t);break;case"details":At("toggle",t);break;case"embed":case"source":case"link":At("error",t),At("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(M in n)if(n.hasOwnProperty(M)&&(l=n[M],l!=null))switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ht(t,e,M,l,n,null)}return;default:if(rr(e)){for(R in n)n.hasOwnProperty(R)&&(l=n[R],l!==void 0&&Kc(t,e,R,l,n,void 0));return}}for(y in n)n.hasOwnProperty(y)&&(l=n[y],l!=null&&Ht(t,e,y,l,n,null))}function Sg(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,o=null,d=null,y=null,A=null,M=null,R=null;for(w in n){var q=n[w];if(n.hasOwnProperty(w)&&q!=null)switch(w){case"checked":break;case"value":break;case"defaultValue":A=q;default:l.hasOwnProperty(w)||Ht(t,e,w,null,l,q)}}for(var k in l){var w=l[k];if(q=n[k],l.hasOwnProperty(k)&&(w!=null||q!=null))switch(k){case"type":o=w;break;case"name":u=w;break;case"checked":M=w;break;case"defaultChecked":R=w;break;case"value":d=w;break;case"defaultValue":y=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(c(137,e));break;default:w!==q&&Ht(t,e,k,w,l,q)}}ar(t,d,y,A,M,R,o,u);return;case"select":w=d=y=k=null;for(o in n)if(A=n[o],n.hasOwnProperty(o)&&A!=null)switch(o){case"value":break;case"multiple":w=A;default:l.hasOwnProperty(o)||Ht(t,e,o,null,l,A)}for(u in l)if(o=l[u],A=n[u],l.hasOwnProperty(u)&&(o!=null||A!=null))switch(u){case"value":k=o;break;case"defaultValue":y=o;break;case"multiple":d=o;default:o!==A&&Ht(t,e,u,o,l,A)}e=y,n=d,l=w,k!=null?Nl(t,!!n,k,!1):!!l!=!!n&&(e!=null?Nl(t,!!n,e,!0):Nl(t,!!n,n?[]:"",!1));return;case"textarea":w=k=null;for(y in n)if(u=n[y],n.hasOwnProperty(y)&&u!=null&&!l.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Ht(t,e,y,null,l,u)}for(d in l)if(u=l[d],o=n[d],l.hasOwnProperty(d)&&(u!=null||o!=null))switch(d){case"value":k=u;break;case"defaultValue":w=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(c(91));break;default:u!==o&&Ht(t,e,d,u,l,o)}gs(t,k,w);return;case"option":for(var lt in n)k=n[lt],n.hasOwnProperty(lt)&&k!=null&&!l.hasOwnProperty(lt)&&(lt==="selected"?t.selected=!1:Ht(t,e,lt,null,l,k));for(A in l)k=l[A],w=n[A],l.hasOwnProperty(A)&&k!==w&&(k!=null||w!=null)&&(A==="selected"?t.selected=k&&typeof k!="function"&&typeof k!="symbol":Ht(t,e,A,k,l,w));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 st in n)k=n[st],n.hasOwnProperty(st)&&k!=null&&!l.hasOwnProperty(st)&&Ht(t,e,st,null,l,k);for(M in l)if(k=l[M],w=n[M],l.hasOwnProperty(M)&&k!==w&&(k!=null||w!=null))switch(M){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(c(137,e));break;default:Ht(t,e,M,k,l,w)}return;default:if(rr(e)){for(var Lt in n)k=n[Lt],n.hasOwnProperty(Lt)&&k!==void 0&&!l.hasOwnProperty(Lt)&&Kc(t,e,Lt,void 0,l,k);for(R in l)k=l[R],w=n[R],!l.hasOwnProperty(R)||k===w||k===void 0&&w===void 0||Kc(t,e,R,k,l,w);return}}for(var _ in n)k=n[_],n.hasOwnProperty(_)&&k!=null&&!l.hasOwnProperty(_)&&Ht(t,e,_,null,l,k);for(q in l)k=l[q],w=n[q],!l.hasOwnProperty(q)||k===w||k==null&&w==null||Ht(t,e,q,k,l,w)}function Ed(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Eg(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var u=n[l],o=u.transferSize,d=u.initiatorType,y=u.duration;if(o&&y&&Ed(d)){for(d=0,y=u.responseEnd,l+=1;l<n.length;l++){var A=n[l],M=A.startTime;if(M>y)break;var R=A.transferSize,q=A.initiatorType;R&&Ed(q)&&(A=A.responseEnd,d+=R*(A<y?1:(y-M)/(A-M)))}if(--l,e+=8*(o+d)/(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 Fc=null,Jc=null;function Cu(t){return t.nodeType===9?t:t.ownerDocument}function zd(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 Ad(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 Ic(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 Wc=null;function zg(){var t=window.event;return t&&t.type==="popstate"?t===Wc?!1:(Wc=t,!0):(Wc=null,!1)}var Td=typeof setTimeout=="function"?setTimeout:void 0,Ag=typeof clearTimeout=="function"?clearTimeout:void 0,Cd=typeof Promise=="function"?Promise:void 0,Tg=typeof queueMicrotask=="function"?queueMicrotask:typeof Cd<"u"?function(t){return Cd.resolve(null).then(t).catch(Cg)}:Td;function Cg(t){setTimeout(function(){throw t})}function Jn(t){return t==="head"}function _d(t,e){var n=e,l=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(u),oi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")na(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,na(n);for(var o=n.firstChild;o;){var d=o.nextSibling,y=o.nodeName;o[bi]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=d}}else n==="body"&&na(t.ownerDocument.body);n=u}while(n);oi(e)}function Dd(t,e){var n=t;t=0;do{var l=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||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function $c(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":$c(n),lr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function _g(t,e,n,l){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[bi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==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(o=t.getAttribute("src"),(o!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Fe(t.nextSibling),t===null)break}return null}function Dg(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Fe(t.nextSibling),t===null))return null;return t}function Od(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Fe(t.nextSibling),t===null))return null;return t}function Pc(t){return t.data==="$?"||t.data==="$~"}function to(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Og(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Fe(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 eo=null;function Md(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Fe(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Nd(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 kd(t,e,n){switch(e=Cu(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function na(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);lr(t)}var Je=new Map,wd=new Set;function _u(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var On=K.d;K.d={f:Mg,r:Ng,D:kg,C:wg,L:Rg,m:jg,X:Ug,S:Bg,M:Hg};function Mg(){var t=On.f(),e=vu();return t||e}function Ng(t){var e=Dl(t);e!==null&&e.tag===5&&e.type==="form"?If(e):On.r(t)}var ui=typeof document>"u"?null:document;function Rd(t,e,n){var l=ui;if(l&&typeof e=="string"&&e){var u=Ye(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),wd.has(u)||(wd.add(u),t={rel:t,crossOrigin:n,href:e},l.querySelector(u)===null&&(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function kg(t){On.D(t),Rd("dns-prefetch",t,null)}function wg(t,e){On.C(t,e),Rd("preconnect",t,e)}function Rg(t,e,n){On.L(t,e,n);var l=ui;if(l&&t&&e){var u='link[rel="preload"][as="'+Ye(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Ye(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Ye(n.imageSizes)+'"]')):u+='[href="'+Ye(t)+'"]';var o=u;switch(e){case"style":o=ri(t);break;case"script":o=ci(t)}Je.has(o)||(t=x({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Je.set(o,t),l.querySelector(u)!==null||e==="style"&&l.querySelector(la(o))||e==="script"&&l.querySelector(ia(o))||(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function jg(t,e){On.m(t,e);var n=ui;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Ye(l)+'"][href="'+Ye(t)+'"]',o=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=ci(t)}if(!Je.has(o)&&(t=x({rel:"modulepreload",href:t},e),Je.set(o,t),n.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ia(o)))return}l=n.createElement("link"),he(l,"link",t),ae(l),n.head.appendChild(l)}}}function Bg(t,e,n){On.S(t,e,n);var l=ui;if(l&&t){var u=Ol(l).hoistableStyles,o=ri(t);e=e||"default";var d=u.get(o);if(!d){var y={loading:0,preload:null};if(d=l.querySelector(la(o)))y.loading=5;else{t=x({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Je.get(o))&&no(t,n);var A=d=l.createElement("link");ae(A),he(A,"link",t),A._p=new Promise(function(M,R){A.onload=M,A.onerror=R}),A.addEventListener("load",function(){y.loading|=1}),A.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Du(d,e,l)}d={type:"stylesheet",instance:d,count:1,state:y},u.set(o,d)}}}function Ug(t,e){On.X(t,e);var n=ui;if(n&&t){var l=Ol(n).hoistableScripts,u=ci(t),o=l.get(u);o||(o=n.querySelector(ia(u)),o||(t=x({src:t,async:!0},e),(e=Je.get(u))&&lo(t,e),o=n.createElement("script"),ae(o),he(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function Hg(t,e){On.M(t,e);var n=ui;if(n&&t){var l=Ol(n).hoistableScripts,u=ci(t),o=l.get(u);o||(o=n.querySelector(ia(u)),o||(t=x({src:t,async:!0,type:"module"},e),(e=Je.get(u))&&lo(t,e),o=n.createElement("script"),ae(o),he(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function jd(t,e,n,l){var u=(u=ut.current)?_u(u):null;if(!u)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=ri(n.href),n=Ol(u).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=ri(n.href);var o=Ol(u).hoistableStyles,d=o.get(t);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,d),(o=u.querySelector(la(t)))&&!o._p&&(d.instance=o,d.state.loading=5),Je.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},Je.set(t,n),o||Lg(u,t,n,d.state))),e&&l===null)throw Error(c(528,""));return d}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ci(n),n=Ol(u).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function ri(t){return'href="'+Ye(t)+'"'}function la(t){return'link[rel="stylesheet"]['+t+"]"}function Bd(t){return x({},t,{"data-precedence":t.precedence,precedence:null})}function Lg(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),he(e,"link",n),ae(e),t.head.appendChild(e))}function ci(t){return'[src="'+Ye(t)+'"]'}function ia(t){return"script[async]"+t}function Ud(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ye(n.href)+'"]');if(l)return e.instance=l,ae(l),l;var u=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ae(l),he(l,"style",u),Du(l,n.precedence,t),e.instance=l;case"stylesheet":u=ri(n.href);var o=t.querySelector(la(u));if(o)return e.state.loading|=4,e.instance=o,ae(o),o;l=Bd(n),(u=Je.get(u))&&no(l,u),o=(t.ownerDocument||t).createElement("link"),ae(o);var d=o;return d._p=new Promise(function(y,A){d.onload=y,d.onerror=A}),he(o,"link",l),e.state.loading|=4,Du(o,n.precedence,t),e.instance=o;case"script":return o=ci(n.src),(u=t.querySelector(ia(o)))?(e.instance=u,ae(u),u):(l=n,(u=Je.get(o))&&(l=x({},n),lo(l,u)),t=t.ownerDocument||t,u=t.createElement("script"),ae(u),he(u,"link",l),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Du(l,n.precedence,t));return e.instance}function Du(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,o=u,d=0;d<l.length;d++){var y=l[d];if(y.dataset.precedence===e)o=y;else if(o!==u)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function no(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function lo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ou=null;function Hd(t,e,n){if(Ou===null){var l=new Map,u=Ou=new Map;u.set(n,l)}else u=Ou,l=u.get(n),l||(l=new Map,u.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var o=n[u];if(!(o[bi]||o[ce]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var d=o.getAttribute(e)||"";d=t+d;var y=l.get(d);y?y.push(o):l.set(d,[o])}}return l}function Ld(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function qg(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 qd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Yg(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=ri(l.href),o=e.querySelector(la(u));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Mu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,ae(o);return}o=e.ownerDocument||e,l=Bd(l),(u=Je.get(u))&&no(l,u),o=o.createElement("link"),ae(o);var d=o;d._p=new Promise(function(y,A){d.onload=y,d.onerror=A}),he(o,"link",l),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Mu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var io=0;function Vg(t,e){return t.stylesheets&&t.count===0&&ku(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&ku(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&io===0&&(io=62500*Eg());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ku(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>io?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function Mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ku(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Nu=null;function ku(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Nu=new Map,e.forEach(Xg,t),Nu=null,Mu.call(t))}function Xg(t,e){if(!(e.state.loading&4)){var n=Nu.get(t);if(n)var l=n.get(null);else{n=new Map,Nu.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<u.length;o++){var d=u[o];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),l=d)}l&&n.set(null,l)}u=e.instance,d=u.getAttribute("data-precedence"),o=n.get(d)||l,o===l&&n.set(null,u),n.set(d,u),this.count++,l=Mu.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),o?o.parentNode.insertBefore(u,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var aa={$$typeof:Z,Provider:null,Consumer:null,_currentValue:at,_currentValue2:at,_threadCount:0};function Gg(t,e,n,l,u,o,d,y,A){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=Pu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pu(0),this.hiddenUpdates=Pu(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=o,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Yd(t,e,n,l,u,o,d,y,A,M,R,q){return t=new Gg(t,e,n,d,A,M,R,q,y),e=1,o===!0&&(e|=24),o=Ne(3,null,null,e),t.current=o,o.stateNode=t,e=Ur(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:n,cache:e},Yr(o),t}function Vd(t){return t?(t=Ll,t):Ll}function Xd(t,e,n,l,u,o){u=Vd(u),l.context===null?l.context=u:l.pendingContext=u,l=Hn(e),l.payload={element:n},o=o===void 0?null:o,o!==null&&(l.callback=o),n=Ln(t,l,e),n!==null&&(Te(n,t,e),Ui(n,t,e))}function Gd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function ao(t,e){Gd(t,e),(t=t.alternate)&&Gd(t,e)}function Qd(t){if(t.tag===13||t.tag===31){var e=cl(t,67108864);e!==null&&Te(e,t,67108864),ao(t,67108864)}}function Zd(t){if(t.tag===13||t.tag===31){var e=Be();e=tr(e);var n=cl(t,e);n!==null&&Te(n,t,e),ao(t,e)}}var wu=!0;function Qg(t,e,n,l){var u=N.T;N.T=null;var o=K.p;try{K.p=2,uo(t,e,n,l)}finally{K.p=o,N.T=u}}function Zg(t,e,n,l){var u=N.T;N.T=null;var o=K.p;try{K.p=8,uo(t,e,n,l)}finally{K.p=o,N.T=u}}function uo(t,e,n,l){if(wu){var u=ro(l);if(u===null)Zc(t,e,l,Ru,n),Fd(t,l);else if(Fg(u,t,e,n,l))l.stopPropagation();else if(Fd(t,l),e&4&&-1<Kg.indexOf(t)){for(;u!==null;){var o=Dl(u);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var d=ll(o.pendingLanes);if(d!==0){var y=o;for(y.pendingLanes|=2,y.entangledLanes|=2;d;){var A=1<<31-qt(d);y.entanglements[1]|=A,d&=~A}an(o),(Nt&6)===0&&(yu=me()+500,Pi(0))}}break;case 31:case 13:y=cl(o,2),y!==null&&Te(y,o,2),vu(),ao(o,2)}if(o=ro(l),o===null&&Zc(t,e,l,Ru,n),o===u)break;u=o}u!==null&&l.stopPropagation()}else Zc(t,e,l,null,n)}}function ro(t){return t=or(t),co(t)}var Ru=null;function co(t){if(Ru=null,t=_l(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(e),t!==null)return t;t=null}else if(n===31){if(t=m(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 Ru=t,null}function Kd(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($u()){case H:return 2;case $:return 8;case dt:case Et:return 32;case wt:return 268435456;default:return 32}default:return 32}}var oo=!1,In=null,Wn=null,$n=null,ua=new Map,ra=new Map,Pn=[],Kg="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 Fd(t,e){switch(t){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":ua.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ra.delete(e.pointerId)}}function ca(t,e,n,l,u,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:o,targetContainers:[u]},e!==null&&(e=Dl(e),e!==null&&Qd(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function Fg(t,e,n,l,u){switch(e){case"focusin":return In=ca(In,t,e,n,l,u),!0;case"dragenter":return Wn=ca(Wn,t,e,n,l,u),!0;case"mouseover":return $n=ca($n,t,e,n,l,u),!0;case"pointerover":var o=u.pointerId;return ua.set(o,ca(ua.get(o)||null,t,e,n,l,u)),!0;case"gotpointercapture":return o=u.pointerId,ra.set(o,ca(ra.get(o)||null,t,e,n,l,u)),!0}return!1}function Jd(t){var e=_l(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,cs(t.priority,function(){Zd(n)});return}}else if(e===31){if(e=m(n),e!==null){t.blockedOn=e,cs(t.priority,function(){Zd(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 ju(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ro(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);cr=l,n.target.dispatchEvent(l),cr=null}else return e=Dl(n),e!==null&&Qd(e),t.blockedOn=n,!1;e.shift()}return!0}function Id(t,e,n){ju(t)&&n.delete(e)}function Jg(){oo=!1,In!==null&&ju(In)&&(In=null),Wn!==null&&ju(Wn)&&(Wn=null),$n!==null&&ju($n)&&($n=null),ua.forEach(Id),ra.forEach(Id)}function Bu(t,e){t.blockedOn===e&&(t.blockedOn=null,oo||(oo=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Jg)))}var Uu=null;function Wd(t){Uu!==t&&(Uu=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Uu===t&&(Uu=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],u=t[e+2];if(typeof l!="function"){if(co(l||n)===null)continue;break}var o=Dl(n);o!==null&&(t.splice(e,3),e-=3,rc(o,{pending:!0,data:u,method:n.method,action:l},l,u))}}))}function oi(t){function e(A){return Bu(A,t)}In!==null&&Bu(In,t),Wn!==null&&Bu(Wn,t),$n!==null&&Bu($n,t),ua.forEach(e),ra.forEach(e);for(var n=0;n<Pn.length;n++){var l=Pn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Pn.length&&(n=Pn[0],n.blockedOn===null);)Jd(n),n.blockedOn===null&&Pn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var u=n[l],o=n[l+1],d=u[xe]||null;if(typeof o=="function")d||Wd(n);else if(d){var y=null;if(o&&o.hasAttribute("formAction")){if(u=o,d=o[xe]||null)y=d.formAction;else if(co(u)!==null)continue}else y=d.action;typeof y=="function"?n[l+1]=y:(n.splice(l,3),l-=3),Wd(n)}}}function $d(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(d){return u=d})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function so(t){this._internalRoot=t}Hu.prototype.render=so.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,l=Be();Xd(n,l,t,e,null,null)},Hu.prototype.unmount=so.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Xd(t.current,2,null,t,null,null),vu(),e[Cl]=null}};function Hu(t){this._internalRoot=t}Hu.prototype.unstable_scheduleHydration=function(t){if(t){var e=rs();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Pn.length&&e!==0&&e<Pn[n].priority;n++);Pn.splice(n,0,t),n===0&&Jd(t)}};var Pd=a.version;if(Pd!=="19.2.4")throw Error(c(527,Pd,"19.2.4"));K.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=p(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var Ig={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lu.isDisabled&&Lu.supportsFiber)try{ye=Lu.inject(Ig),le=Lu}catch{}}return sa.createRoot=function(t,e){if(!s(t))throw Error(c(299));var n=!1,l="",u=uh,o=rh,d=ch;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=Yd(t,1,!1,null,null,n,l,null,u,o,d,$d),t[Cl]=e.current,Qc(t),new so(e)},sa.hydrateRoot=function(t,e,n){if(!s(t))throw Error(c(299));var l=!1,u="",o=uh,d=rh,y=ch,A=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.formState!==void 0&&(A=n.formState)),e=Yd(t,1,!0,e,n??null,l,u,A,o,d,y,$d),e.context=Vd(null),n=e.current,l=Be(),l=tr(l),u=Hn(l),u.callback=null,Ln(n,u,l),n=l,e.current.lanes=n,xi(e,n),an(e),t[Cl]=e.current,Qc(t),new Hu(e)},sa.version="19.2.4",sa}var op;function u1(){if(op)return po.exports;op=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),po.exports=a1(),po.exports}var r1=u1();const $p=(...i)=>i.filter((a,r,c)=>!!a&&a.trim()!==""&&c.indexOf(a)===r).join(" ").trim();const c1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const o1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,r,c)=>c?c.toUpperCase():r.toLowerCase());const sp=i=>{const a=o1(i);return a.charAt(0).toUpperCase()+a.slice(1)};var s1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const f1=i=>{for(const a in i)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const h1=mt.forwardRef(({color:i="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:s="",children:f,iconNode:h,...m},g)=>mt.createElement("svg",{ref:g,...s1,width:a,height:a,stroke:i,strokeWidth:c?Number(r)*24/Number(a):r,className:$p("lucide",s),...!f&&!f1(m)&&{"aria-hidden":"true"},...m},[...h.map(([p,v])=>mt.createElement(p,v)),...Array.isArray(f)?f:[f]]));const re=(i,a)=>{const r=mt.forwardRef(({className:c,...s},f)=>mt.createElement(h1,{ref:f,iconNode:a,className:$p(`lucide-${c1(sp(i))}`,`lucide-${i}`,c),...s}));return r.displayName=sp(i),r};const d1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],p1=re("arrow-right",d1);const m1=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],y1=re("check",m1);const g1=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Gu=re("chevron-down",g1);const v1=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Pp=re("chevron-right",v1);const x1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],b1=re("circle",x1);const S1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],tm=re("file-code",S1);const E1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],z1=re("file-text",E1);const A1=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],T1=re("folder-open",A1);const C1=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],_1=re("folder",C1);const D1=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],Vo=re("git-branch",D1);const O1=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],M1=re("layers",O1);const N1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],k1=re("loader-circle",N1);const w1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],R1=re("panel-left-close",w1);const j1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],B1=re("panel-left",j1);const U1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],H1=re("panel-right-close",U1);const L1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],q1=re("panel-right",L1);const Y1=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],em=re("scan-search",Y1);const V1=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],X1=re("triangle-alert",V1);function G1({repoName:i,currentBranch:a,baseBranch:r,ahead:c,behind:s}){return D.jsxs("header",{className:"h-12 shrink-0 flex items-center justify-between px-6",style:{borderBottom:"1px solid #30363D"},children:[D.jsxs("div",{className:"flex items-center gap-8",children:[D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsx(Vo,{size:16,color:"#E6EDF3"}),D.jsx("span",{style:{color:"#E6EDF3",fontSize:"14px"},children:i})]}),D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsx("span",{style:{color:"#9DA5AE",fontSize:"13px"},children:r}),D.jsx(p1,{size:14,color:"#9DA5AE"}),D.jsx("span",{style:{color:"#58A6FF",fontSize:"13px"},children:a})]})]}),D.jsxs("div",{className:"flex items-center gap-3",children:[D.jsx(b1,{size:8,fill:"#2EA043",color:"#2EA043"}),D.jsxs("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:[c," ahead, ",s," behind"]})]})]})}function Q1({path:i,additions:a,deletions:r,collapsed:c,onToggle:s,viewed:f,onToggleViewed:h}){const m=c?Pp:Gu;return D.jsxs("div",{className:"h-10 flex items-center justify-between px-4 shrink-0 cursor-pointer select-none",style:{background:"#161B22",borderBottom:"1px solid #30363D"},onClick:s,children:[D.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[D.jsx(m,{size:14,color:"#9DA5AE",className:"shrink-0"}),D.jsx(tm,{size:14,color:f?"#3FB950":"#9DA5AE",className:"shrink-0"}),D.jsx("span",{className:"truncate",style:{color:f?"#9DA5AE":"#E6EDF3",fontSize:"13px"},children:i})]}),D.jsxs("div",{className:"flex items-center gap-3 shrink-0 ml-3",children:[D.jsxs("span",{style:{color:"#3FB950",fontSize:"12px"},children:["+",a]}),D.jsxs("span",{style:{color:"#F47067",fontSize:"12px"},children:["-",r]}),D.jsx("div",{className:"flex items-center justify-center cursor-pointer shrink-0",style:{width:"15px",height:"15px",border:`1.5px solid ${f?"#3FB950":"#484F58"}`,borderRadius:"3px",background:"transparent"},onClick:g=>{g.stopPropagation(),h?.()},children:f&&D.jsx("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",children:D.jsx("path",{d:"M2 5.5L4.5 8L9 3",stroke:"#3FB950",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}const Z1={context:{bg:"transparent",text:"#9DA5AE",ln:"#484F58",prefix:" "},addition:{bg:"#122117",text:"#7EE787",ln:"#3FB950",prefix:"+"},deletion:{bg:"#2A1516",text:"#FFA198",ln:"#F47067",prefix:"-"}};function K1({type:i,lineNumber:a,content:r}){const c=Z1[i];return D.jsxs("div",{className:"flex items-center h-[22px] min-w-full",style:{background:c.bg},children:[D.jsx("span",{className:"w-12 shrink-0 text-right pr-3 select-none",style:{color:c.ln,fontSize:"12px"},children:a}),D.jsx("span",{className:"flex-1 whitespace-pre",style:{color:c.text,fontSize:"12px"},children:r})]})}function F1(i){const a={name:"",children:new Map};return i.forEach((r,c)=>{const s=r.path.split("/");let f=a;s.forEach((h,m)=>{f.children.has(h)||f.children.set(h,{name:h,children:new Map}),f=f.children.get(h),m===s.length-1&&(f.fileIndex=c,f.additions=r.additions,f.deletions=r.deletions)})}),a}function nm({node:i,depth:a,selectedFile:r,onSelectFile:c,expandedFolders:s,toggleFolder:f,viewedFiles:h}){const m=i.fileIndex!==void 0,g=m&&i.fileIndex===r,p=m&&h.has(i.fileIndex),v=Array.from(i.children.values()),x=v.filter(P=>P.fileIndex===void 0||P.children.size>0),z=v.filter(P=>P.fileIndex!==void 0&&P.children.size===0),b=[...x,...z];if(m&&i.children.size===0)return D.jsxs("button",{className:"flex items-center gap-1.5 py-1 text-left cursor-pointer w-full",style:{paddingLeft:`${a*12+8}px`,background:g?"#1C2128":"transparent",border:"none",borderLeft:g?"2px solid #58A6FF":"2px solid transparent"},onClick:()=>c(i.fileIndex),children:[p?D.jsx(y1,{size:12,color:"#3FB950",className:"shrink-0"}):D.jsx(tm,{size:12,color:g?"#58A6FF":"#9DA5AE",className:"shrink-0"}),D.jsx("span",{className:"truncate",style:{color:p?"#9DA5AE":g?"#E6EDF3":"#C9D1D9",fontSize:"12px"},children:i.name}),D.jsxs("span",{className:"ml-auto shrink-0 flex gap-1 pr-2",style:{fontSize:"11px"},children:[D.jsxs("span",{style:{color:"#3FB950"},children:["+",i.additions]}),D.jsxs("span",{style:{color:"#F47067"},children:["-",i.deletions]})]})]});const Y=`${a}-${i.name}`,G=s.has(Y),F=G?T1:_1,B=G?Gu:Pp;return D.jsxs(D.Fragment,{children:[D.jsxs("button",{className:"flex items-center gap-1.5 py-1 text-left cursor-pointer w-full",style:{paddingLeft:`${a*12+8}px`,background:"transparent",border:"none"},onClick:()=>f(Y),children:[D.jsx(B,{size:10,color:"#484F58",className:"shrink-0"}),D.jsx(F,{size:12,color:"#9DA5AE",className:"shrink-0"}),D.jsx("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:i.name})]}),G&&b.map(P=>D.jsx(nm,{node:P,depth:a+1,selectedFile:r,onSelectFile:c,expandedFolders:s,toggleFolder:f,viewedFiles:h},P.name))]})}function J1({files:i,selectedFile:a,onSelectFile:r,onSelectionChange:c,onAnalyzeSelection:s}){const[f,h]=mt.useState(!0),[m,g]=mt.useState(240),[p,v]=mt.useState(null),[x,z]=mt.useState(new Set),[b,Y]=mt.useState(new Set),G=mt.useMemo(()=>F1(i),[i]),F=mt.useRef(null),B=mt.useRef(null),P=mt.useRef([]),Z=mt.useRef(!1),I=mt.useCallback(X=>{X.preventDefault();const V=B.current;if(!V)return;const tt=Q=>{const N=V.getBoundingClientRect(),K=Q.clientX-N.left;g(Math.max(150,Math.min(400,K)))},W=()=>{document.removeEventListener("mousemove",tt),document.removeEventListener("mouseup",W),document.body.style.cursor="",document.body.style.userSelect=""};document.body.style.cursor="col-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",tt),document.addEventListener("mouseup",W)},[]);mt.useEffect(()=>{const X=()=>{const V=window.getSelection(),tt=V?.toString().trim();if(tt&&tt.length>3&&F.current?.contains(V?.anchorNode??null)){c(tt);const Q=V.getRangeAt(0).getBoundingClientRect(),N=F.current.getBoundingClientRect();v({x:Q.left-N.left+Q.width/2,y:Q.top-N.top-8})}else c(null),v(null)};return document.addEventListener("mouseup",X),()=>document.removeEventListener("mouseup",X)},[c]);const[ht,j]=mt.useState(()=>{const X=new Set;function V(tt,W){tt.children.size>0&&tt.name&&X.add(`${W}-${tt.name}`),tt.children.forEach(Q=>V(Q,W+1))}return V(G,0),X}),nt=X=>{j(V=>{const tt=new Set(V);return tt.has(X)?tt.delete(X):tt.add(X),tt})},ot=mt.useCallback(X=>{r(X);const V=P.current[X];V&&F.current&&(Z.current=!0,V.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{Z.current=!1},500))},[r]),ct=mt.useCallback(()=>{if(Z.current||!F.current)return;const V=F.current.scrollTop;for(let tt=P.current.length-1;tt>=0;tt--){const W=P.current[tt];if(W&&W.offsetTop<=V+60){tt!==a&&r(tt);break}}},[a,r]);if(mt.useEffect(()=>{const X=F.current;if(X)return X.addEventListener("scroll",ct,{passive:!0}),()=>X.removeEventListener("scroll",ct)},[ct]),mt.useEffect(()=>{if(!F.current)return;const V=F.current.scrollTop;for(let tt=P.current.length-1;tt>=0;tt--){const W=P.current[tt];if(W&&W.offsetTop<=V+60){tt!==a&&r(tt);break}}},[x]),i.length===0)return D.jsx("div",{className:"flex-1 flex items-center justify-center h-full",style:{color:"#9DA5AE",fontSize:"13px"},children:"No diff available. Are you on a feature branch?"});const pt=Array.from(G.children.values());return D.jsxs("div",{className:"flex h-full",ref:B,children:[f&&D.jsxs(D.Fragment,{children:[D.jsxs("div",{className:"shrink-0 flex flex-col overflow-y-auto",style:{width:`${m}px`,background:"#161B22"},children:[D.jsxs("div",{className:"flex items-center justify-between px-3 h-10 shrink-0",style:{borderBottom:"1px solid #30363D"},children:[D.jsxs("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:["Files (",i.length,")"]}),D.jsx("button",{className:"cursor-pointer",style:{background:"transparent",border:"none"},onClick:()=>h(!1),children:D.jsx(R1,{size:14,color:"#9DA5AE"})})]}),D.jsx("div",{className:"py-1",children:pt.map(X=>D.jsx(nm,{node:X,depth:0,selectedFile:a,onSelectFile:ot,expandedFolders:ht,toggleFolder:nt,viewedFiles:b},X.name))})]}),D.jsx("div",{className:"w-1 shrink-0 cursor-col-resize hover:bg-[#58A6FF]/40 transition-colors",style:{background:"#30363D"},onMouseDown:I})]}),D.jsxs("div",{className:"flex-1 flex flex-col min-w-0",children:[D.jsxs("div",{className:"flex items-center",children:[!f&&D.jsx("button",{className:"h-10 px-3 shrink-0 cursor-pointer flex items-center",style:{background:"#161B22",border:"none",borderBottom:"1px solid #30363D",borderRight:"1px solid #30363D"},onClick:()=>h(!0),children:D.jsx(B1,{size:14,color:"#9DA5AE"})}),D.jsx("div",{className:"flex-1 h-10 flex items-center px-4 shrink-0",style:{background:"#161B22",borderBottom:"1px solid #30363D"},children:D.jsx("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:b.size>0?D.jsxs(D.Fragment,{children:[b.size," / ",i.length," files viewed"]}):D.jsxs(D.Fragment,{children:[i.length," files"]})})})]}),D.jsxs("div",{className:"flex-1 overflow-auto relative",ref:F,children:[p&&D.jsxs("button",{className:"absolute z-20 flex items-center gap-1 px-2.5 py-1.5 cursor-pointer -translate-x-1/2 -translate-y-full",style:{left:p.x,top:p.y,background:"#161B22",border:"1px solid #58A6FF",borderRadius:"6px",boxShadow:"0 4px 12px rgba(0,0,0,0.4)"},onMouseDown:X=>{X.preventDefault(),s(),v(null)},children:[D.jsx(em,{size:12,color:"#58A6FF"}),D.jsx("span",{style:{color:"#58A6FF",fontSize:"11px",whiteSpace:"nowrap"},children:"Analyze Selection"})]}),D.jsx("div",{children:i.map((X,V)=>D.jsxs("div",{ref:tt=>{P.current[V]=tt},children:[D.jsx("div",{className:"sticky top-0 z-10",children:D.jsx(Q1,{path:X.path,additions:X.additions,deletions:X.deletions,collapsed:x.has(V),onToggle:()=>{z(tt=>{const W=new Set(tt);return W.has(V)?W.delete(V):W.add(V),W})},viewed:b.has(V),onToggleViewed:()=>{const tt=!b.has(V);Y(W=>{const Q=new Set(W);return Q.has(V)?Q.delete(V):Q.add(V),Q}),z(W=>{const Q=new Set(W);return tt?Q.add(V):Q.delete(V),Q})}})}),!x.has(V)&&D.jsx("div",{className:"py-2",style:{minWidth:"fit-content"},children:X.lines.map((tt,W)=>D.jsx(K1,{type:tt.type,lineNumber:tt.lineNumber,content:tt.content},W))})]},X.path))})]})]})]})}function I1(i,a){const r={};return(i[i.length-1]===""?[...i,""]:i).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const W1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,P1={};function fp(i,a){return(P1.jsx?$1:W1).test(i)}const t0=/[ \t\n\f\r]/g;function e0(i){return typeof i=="object"?i.type==="text"?hp(i.value):!1:hp(i)}function hp(i){return i.replace(t0,"")===""}class xa{constructor(a,r,c){this.normal=r,this.property=a,c&&(this.space=c)}}xa.prototype.normal={};xa.prototype.property={};xa.prototype.space=void 0;function lm(i,a){const r={},c={};for(const s of i)Object.assign(r,s.property),Object.assign(c,s.normal);return new xa(r,c,a)}function No(i){return i.toLowerCase()}class De{constructor(a,r){this.attribute=r,this.property=a}}De.prototype.attribute="";De.prototype.booleanish=!1;De.prototype.boolean=!1;De.prototype.commaOrSpaceSeparated=!1;De.prototype.commaSeparated=!1;De.prototype.defined=!1;De.prototype.mustUseProperty=!1;De.prototype.number=!1;De.prototype.overloadedBoolean=!1;De.prototype.property="";De.prototype.spaceSeparated=!1;De.prototype.space=void 0;let n0=0;const bt=Sl(),ne=Sl(),ko=Sl(),J=Sl(),Vt=Sl(),hi=Sl(),Ue=Sl();function Sl(){return 2**++n0}const wo=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:ne,commaOrSpaceSeparated:Ue,commaSeparated:hi,number:J,overloadedBoolean:ko,spaceSeparated:Vt},Symbol.toStringTag,{value:"Module"})),vo=Object.keys(wo);class Xo extends De{constructor(a,r,c,s){let f=-1;if(super(a,r),dp(this,"space",s),typeof c=="number")for(;++f<vo.length;){const h=vo[f];dp(this,vo[f],(c&wo[h])===wo[h])}}}Xo.prototype.defined=!0;function dp(i,a,r){r&&(i[a]=r)}function pi(i){const a={},r={};for(const[c,s]of Object.entries(i.properties)){const f=new Xo(c,i.transform(i.attributes||{},c),s,i.space);i.mustUseProperty&&i.mustUseProperty.includes(c)&&(f.mustUseProperty=!0),a[c]=f,r[No(c)]=c,r[No(f.attribute)]=c}return new xa(a,r,i.space)}const im=pi({properties:{ariaActiveDescendant:null,ariaAtomic:ne,ariaAutoComplete:null,ariaBusy:ne,ariaChecked:ne,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:Vt,ariaCurrent:null,ariaDescribedBy:Vt,ariaDetails:null,ariaDisabled:ne,ariaDropEffect:Vt,ariaErrorMessage:null,ariaExpanded:ne,ariaFlowTo:Vt,ariaGrabbed:ne,ariaHasPopup:null,ariaHidden:ne,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Vt,ariaLevel:J,ariaLive:null,ariaModal:ne,ariaMultiLine:ne,ariaMultiSelectable:ne,ariaOrientation:null,ariaOwns:Vt,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:ne,ariaReadOnly:ne,ariaRelevant:null,ariaRequired:ne,ariaRoleDescription:Vt,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:ne,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(i,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function am(i,a){return a in i?i[a]:a}function um(i,a){return am(i,a.toLowerCase())}const l0=pi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hi,acceptCharset:Vt,accessKey:Vt,action:null,allow:null,allowFullScreen:bt,allowPaymentRequest:bt,allowUserMedia:bt,alt:null,as:null,async:bt,autoCapitalize:null,autoComplete:Vt,autoFocus:bt,autoPlay:bt,blocking:Vt,capture:null,charSet:null,checked:bt,cite:null,className:Vt,cols:J,colSpan:null,content:null,contentEditable:ne,controls:bt,controlsList:Vt,coords:J|hi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:ko,draggable:ne,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:Vt,height:J,hidden:ko,high:J,href:null,hrefLang:null,htmlFor:Vt,httpEquiv:Vt,id:null,imageSizes:null,imageSrcSet:null,inert:bt,inputMode:null,integrity:null,is:null,isMap:bt,itemId:null,itemProp:Vt,itemRef:Vt,itemScope:bt,itemType:Vt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bt,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:bt,muted:bt,name:null,nonce:null,noModule:bt,noValidate:bt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:bt,optimum:J,pattern:null,ping:Vt,placeholder:null,playsInline:bt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:bt,referrerPolicy:null,rel:Vt,required:bt,reversed:bt,rows:J,rowSpan:J,sandbox:Vt,scope:null,scoped:bt,seamless:bt,selected:bt,shadowRootClonable:bt,shadowRootDelegatesFocus:bt,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:ne,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:ne,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Vt,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bt,declare:bt,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:ne,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:um}),i0=pi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ue,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:Vt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hi,g2:hi,glyphName:hi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:Ue,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Vt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ue,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ue,rev:Ue,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ue,requiredFeatures:Ue,requiredFonts:Ue,requiredFormats:Ue,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:Ue,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ue,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ue,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:am}),rm=pi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(i,a){return"xlink:"+a.slice(5).toLowerCase()}}),cm=pi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:um}),om=pi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,a){return"xml:"+a.slice(3).toLowerCase()}}),a0={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},u0=/[A-Z]/g,pp=/-[a-z]/g,r0=/^data[-\w.:]+$/i;function c0(i,a){const r=No(a);let c=a,s=De;if(r in i.normal)return i.property[i.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&r0.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(pp,s0);c="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!pp.test(f)){let h=f.replace(u0,o0);h.charAt(0)!=="-"&&(h="-"+h),a="data"+h}}s=Xo}return new s(c,a)}function o0(i){return"-"+i.toLowerCase()}function s0(i){return i.charAt(1).toUpperCase()}const f0=lm([im,l0,rm,cm,om],"html"),Go=lm([im,i0,rm,cm,om],"svg");function h0(i){return i.join(" ").trim()}var si={},xo,mp;function d0(){if(mp)return xo;mp=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,c=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h=/^[;\s]*/,m=/^\s+|\s+$/g,g=`
10
- `,p="/",v="*",x="",z="comment",b="declaration";function Y(F,B){if(typeof F!="string")throw new TypeError("First argument must be a string");if(!F)return[];B=B||{};var P=1,Z=1;function I(W){var Q=W.match(a);Q&&(P+=Q.length);var N=W.lastIndexOf(g);Z=~N?W.length-N:Z+W.length}function ht(){var W={line:P,column:Z};return function(Q){return Q.position=new j(W),ct(),Q}}function j(W){this.start=W,this.end={line:P,column:Z},this.source=B.source}j.prototype.content=F;function nt(W){var Q=new Error(B.source+":"+P+":"+Z+": "+W);if(Q.reason=W,Q.filename=B.source,Q.line=P,Q.column=Z,Q.source=F,!B.silent)throw Q}function ot(W){var Q=W.exec(F);if(Q){var N=Q[0];return I(N),F=F.slice(N.length),Q}}function ct(){ot(r)}function pt(W){var Q;for(W=W||[];Q=X();)Q!==!1&&W.push(Q);return W}function X(){var W=ht();if(!(p!=F.charAt(0)||v!=F.charAt(1))){for(var Q=2;x!=F.charAt(Q)&&(v!=F.charAt(Q)||p!=F.charAt(Q+1));)++Q;if(Q+=2,x===F.charAt(Q-1))return nt("End of comment missing");var N=F.slice(2,Q-2);return Z+=2,I(N),F=F.slice(Q),Z+=2,W({type:z,comment:N})}}function V(){var W=ht(),Q=ot(c);if(Q){if(X(),!ot(s))return nt("property missing ':'");var N=ot(f),K=W({type:b,property:G(Q[0].replace(i,x)),value:N?G(N[0].replace(i,x)):x});return ot(h),K}}function tt(){var W=[];pt(W);for(var Q;Q=V();)Q!==!1&&(W.push(Q),pt(W));return W}return ct(),tt()}function G(F){return F?F.replace(m,x):x}return xo=Y,xo}var yp;function p0(){if(yp)return si;yp=1;var i=si&&si.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(si,"__esModule",{value:!0}),si.default=r;const a=i(d0());function r(c,s){let f=null;if(!c||typeof c!="string")return f;const h=(0,a.default)(c),m=typeof s=="function";return h.forEach(g=>{if(g.type!=="declaration")return;const{property:p,value:v}=g;m?s(p,v,g):v&&(f=f||{},f[p]=v)}),f}return si}var fa={},gp;function m0(){if(gp)return fa;gp=1,Object.defineProperty(fa,"__esModule",{value:!0}),fa.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,r=/^[^-]+$/,c=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,f=function(p){return!p||r.test(p)||i.test(p)},h=function(p,v){return v.toUpperCase()},m=function(p,v){return"".concat(v,"-")},g=function(p,v){return v===void 0&&(v={}),f(p)?p:(p=p.toLowerCase(),v.reactCompat?p=p.replace(s,m):p=p.replace(c,m),p.replace(a,h))};return fa.camelCase=g,fa}var ha,vp;function y0(){if(vp)return ha;vp=1;var i=ha&&ha.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=i(p0()),r=m0();function c(s,f){var h={};return!s||typeof s!="string"||(0,a.default)(s,function(m,g){m&&g&&(h[(0,r.camelCase)(m,f)]=g)}),h}return c.default=c,ha=c,ha}var g0=y0();const v0=Wp(g0),sm=fm("end"),Qo=fm("start");function fm(i){return a;function a(r){const c=r&&r.position&&r.position[i]||{};if(typeof c.line=="number"&&c.line>0&&typeof c.column=="number"&&c.column>0)return{line:c.line,column:c.column,offset:typeof c.offset=="number"&&c.offset>-1?c.offset:void 0}}}function x0(i){const a=Qo(i),r=sm(i);if(a&&r)return{start:a,end:r}}function ma(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?xp(i.position):"start"in i||"end"in i?xp(i):"line"in i||"column"in i?Ro(i):""}function Ro(i){return bp(i&&i.line)+":"+bp(i&&i.column)}function xp(i){return Ro(i&&i.start)+"-"+Ro(i&&i.end)}function bp(i){return i&&typeof i=="number"?i:1}class pe extends Error{constructor(a,r,c){super(),typeof r=="string"&&(c=r,r=void 0);let s="",f={},h=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof a=="string"?s=a:!f.cause&&a&&(h=!0,s=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof c=="string"){const g=c.indexOf(":");g===-1?f.ruleId=c:(f.source=c.slice(0,g),f.ruleId=c.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const m=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=m?m.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=m?m.line:void 0,this.name=ma(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=h&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}pe.prototype.file="";pe.prototype.name="";pe.prototype.reason="";pe.prototype.message="";pe.prototype.stack="";pe.prototype.column=void 0;pe.prototype.line=void 0;pe.prototype.ancestors=void 0;pe.prototype.cause=void 0;pe.prototype.fatal=void 0;pe.prototype.place=void 0;pe.prototype.ruleId=void 0;pe.prototype.source=void 0;const Zo={}.hasOwnProperty,b0=new Map,S0=/[A-Z]/g,E0=new Set(["table","tbody","thead","tfoot","tr"]),z0=new Set(["td","th"]),hm="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function A0(i,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=a.filePath||void 0;let c;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");c=k0(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");c=N0(r,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:c,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Go:f0,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=dm(s,i,void 0);return f&&typeof f!="string"?f:s.create(i,s.Fragment,{children:f||void 0},void 0)}function dm(i,a,r){if(a.type==="element")return T0(i,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return C0(i,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return D0(i,a,r);if(a.type==="mdxjsEsm")return _0(i,a);if(a.type==="root")return O0(i,a,r);if(a.type==="text")return M0(i,a)}function T0(i,a,r){const c=i.schema;let s=c;a.tagName.toLowerCase()==="svg"&&c.space==="html"&&(s=Go,i.schema=s),i.ancestors.push(a);const f=mm(i,a.tagName,!1),h=w0(i,a);let m=Fo(i,a);return E0.has(a.tagName)&&(m=m.filter(function(g){return typeof g=="string"?!e0(g):!0})),pm(i,h,f,a),Ko(h,m),i.ancestors.pop(),i.schema=c,i.create(a,f,h,r)}function C0(i,a){if(a.data&&a.data.estree&&i.evaluater){const c=a.data.estree.body[0];return c.type,i.evaluater.evaluateExpression(c.expression)}va(i,a.position)}function _0(i,a){if(a.data&&a.data.estree&&i.evaluater)return i.evaluater.evaluateProgram(a.data.estree);va(i,a.position)}function D0(i,a,r){const c=i.schema;let s=c;a.name==="svg"&&c.space==="html"&&(s=Go,i.schema=s),i.ancestors.push(a);const f=a.name===null?i.Fragment:mm(i,a.name,!0),h=R0(i,a),m=Fo(i,a);return pm(i,h,f,a),Ko(h,m),i.ancestors.pop(),i.schema=c,i.create(a,f,h,r)}function O0(i,a,r){const c={};return Ko(c,Fo(i,a)),i.create(a,i.Fragment,c,r)}function M0(i,a){return a.value}function pm(i,a,r,c){typeof r!="string"&&r!==i.Fragment&&i.passNode&&(a.node=c)}function Ko(i,a){if(a.length>0){const r=a.length>1?a:a[0];r&&(i.children=r)}}function N0(i,a,r){return c;function c(s,f,h,m){const p=Array.isArray(h.children)?r:a;return m?p(f,h,m):p(f,h)}}function k0(i,a){return r;function r(c,s,f,h){const m=Array.isArray(f.children),g=Qo(c);return a(s,f,h,m,{columnNumber:g?g.column-1:void 0,fileName:i,lineNumber:g?g.line:void 0},void 0)}}function w0(i,a){const r={};let c,s;for(s in a.properties)if(s!=="children"&&Zo.call(a.properties,s)){const f=j0(i,s,a.properties[s]);if(f){const[h,m]=f;i.tableCellAlignToStyle&&h==="align"&&typeof m=="string"&&z0.has(a.tagName)?c=m:r[h]=m}}if(c){const f=r.style||(r.style={});f[i.stylePropertyNameCase==="css"?"text-align":"textAlign"]=c}return r}function R0(i,a){const r={};for(const c of a.attributes)if(c.type==="mdxJsxExpressionAttribute")if(c.data&&c.data.estree&&i.evaluater){const f=c.data.estree.body[0];f.type;const h=f.expression;h.type;const m=h.properties[0];m.type,Object.assign(r,i.evaluater.evaluateExpression(m.argument))}else va(i,a.position);else{const s=c.name;let f;if(c.value&&typeof c.value=="object")if(c.value.data&&c.value.data.estree&&i.evaluater){const m=c.value.data.estree.body[0];m.type,f=i.evaluater.evaluateExpression(m.expression)}else va(i,a.position);else f=c.value===null?!0:c.value;r[s]=f}return r}function Fo(i,a){const r=[];let c=-1;const s=i.passKeys?new Map:b0;for(;++c<a.children.length;){const f=a.children[c];let h;if(i.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const p=s.get(g)||0;h=g+"-"+p,s.set(g,p+1)}}const m=dm(i,f,h);m!==void 0&&r.push(m)}return r}function j0(i,a,r){const c=c0(i.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=c.commaSeparated?I1(r):h0(r)),c.property==="style"){let s=typeof r=="object"?r:B0(i,String(r));return i.stylePropertyNameCase==="css"&&(s=U0(s)),["style",s]}return[i.elementAttributeNameCase==="react"&&c.space?a0[c.property]||c.property:c.attribute,r]}}function B0(i,a){try{return v0(a,{reactCompat:!0})}catch(r){if(i.ignoreInvalidStyle)return{};const c=r,s=new pe("Cannot parse `style` attribute",{ancestors:i.ancestors,cause:c,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=i.filePath||void 0,s.url=hm+"#cannot-parse-style-attribute",s}}function mm(i,a,r){let c;if(!r)c={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let f=-1,h;for(;++f<s.length;){const m=fp(s[f])?{type:"Identifier",name:s[f]}:{type:"Literal",value:s[f]};h=h?{type:"MemberExpression",object:h,property:m,computed:!!(f&&m.type==="Literal"),optional:!1}:m}c=h}else c=fp(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(c.type==="Literal"){const s=c.value;return Zo.call(i.components,s)?i.components[s]:s}if(i.evaluater)return i.evaluater.evaluateExpression(c);va(i)}function va(i,a){const r=new pe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:i.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=i.filePath||void 0,r.url=hm+"#cannot-handle-mdx-estrees-without-createevaluater",r}function U0(i){const a={};let r;for(r in i)Zo.call(i,r)&&(a[H0(r)]=i[r]);return a}function H0(i){let a=i.replace(S0,L0);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function L0(i){return"-"+i.toLowerCase()}const bo={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},q0={};function Y0(i,a){const r=q0,c=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,s=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ym(i,c,s)}function ym(i,a,r){if(V0(i)){if("value"in i)return i.type==="html"&&!r?"":i.value;if(a&&"alt"in i&&i.alt)return i.alt;if("children"in i)return Sp(i.children,a,r)}return Array.isArray(i)?Sp(i,a,r):""}function Sp(i,a,r){const c=[];let s=-1;for(;++s<i.length;)c[s]=ym(i[s],a,r);return c.join("")}function V0(i){return!!(i&&typeof i=="object")}const Ep=document.createElement("i");function Jo(i){const a="&"+i+";";Ep.innerHTML=a;const r=Ep.textContent;return r.charCodeAt(r.length-1)===59&&i!=="semi"||r===a?!1:r}function cn(i,a,r,c){const s=i.length;let f=0,h;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,r=r>0?r:0,c.length<1e4)h=Array.from(c),h.unshift(a,r),i.splice(...h);else for(r&&i.splice(a,r);f<c.length;)h=c.slice(f,f+1e4),h.unshift(a,0),i.splice(...h),f+=1e4,a+=1e4}function Ie(i,a){return i.length>0?(cn(i,i.length,0,a),i):a}const zp={}.hasOwnProperty;function X0(i){const a={};let r=-1;for(;++r<i.length;)G0(a,i[r]);return a}function G0(i,a){let r;for(r in a){const s=(zp.call(i,r)?i[r]:void 0)||(i[r]={}),f=a[r];let h;if(f)for(h in f){zp.call(s,h)||(s[h]=[]);const m=f[h];Q0(s[h],Array.isArray(m)?m:m?[m]:[])}}}function Q0(i,a){let r=-1;const c=[];for(;++r<a.length;)(a[r].add==="after"?i:c).push(a[r]);cn(i,0,0,c)}function gm(i,a){const r=Number.parseInt(i,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function di(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const rn=nl(/[A-Za-z]/),He=nl(/[\dA-Za-z]/),Z0=nl(/[#-'*+\--9=?A-Z^-~]/);function jo(i){return i!==null&&(i<32||i===127)}const Bo=nl(/\d/),K0=nl(/[\dA-Fa-f]/),F0=nl(/[!-/:-@[-`{-~]/);function yt(i){return i!==null&&i<-2}function _e(i){return i!==null&&(i<0||i===32)}function kt(i){return i===-2||i===-1||i===32}const J0=nl(new RegExp("\\p{P}|\\p{S}","u")),I0=nl(/\s/);function nl(i){return a;function a(r){return r!==null&&r>-1&&i.test(String.fromCharCode(r))}}function mi(i){const a=[];let r=-1,c=0,s=0;for(;++r<i.length;){const f=i.charCodeAt(r);let h="";if(f===37&&He(i.charCodeAt(r+1))&&He(i.charCodeAt(r+2)))s=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(h=String.fromCharCode(f));else if(f>55295&&f<57344){const m=i.charCodeAt(r+1);f<56320&&m>56319&&m<57344?(h=String.fromCharCode(f,m),s=1):h="�"}else h=String.fromCharCode(f);h&&(a.push(i.slice(c,r),encodeURIComponent(h)),c=r+s+1,h=""),s&&(r+=s,s=0)}return a.join("")+i.slice(c)}function Xt(i,a,r,c){const s=c?c-1:Number.POSITIVE_INFINITY;let f=0;return h;function h(g){return kt(g)?(i.enter(r),m(g)):a(g)}function m(g){return kt(g)&&f++<s?(i.consume(g),m):(i.exit(r),a(g))}}const W0={tokenize:$0};function $0(i){const a=i.attempt(this.parser.constructs.contentInitial,c,s);let r;return a;function c(m){if(m===null){i.consume(m);return}return i.enter("lineEnding"),i.consume(m),i.exit("lineEnding"),Xt(i,a,"linePrefix")}function s(m){return i.enter("paragraph"),f(m)}function f(m){const g=i.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=g),r=g,h(m)}function h(m){if(m===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(m);return}return yt(m)?(i.consume(m),i.exit("chunkText"),f):(i.consume(m),h)}}const P0={tokenize:tv},Ap={tokenize:ev};function tv(i){const a=this,r=[];let c=0,s,f,h;return m;function m(Z){if(c<r.length){const I=r[c];return a.containerState=I[1],i.attempt(I[0].continuation,g,p)(Z)}return p(Z)}function g(Z){if(c++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&P();const I=a.events.length;let ht=I,j;for(;ht--;)if(a.events[ht][0]==="exit"&&a.events[ht][1].type==="chunkFlow"){j=a.events[ht][1].end;break}B(c);let nt=I;for(;nt<a.events.length;)a.events[nt][1].end={...j},nt++;return cn(a.events,ht+1,0,a.events.slice(I)),a.events.length=nt,p(Z)}return m(Z)}function p(Z){if(c===r.length){if(!s)return z(Z);if(s.currentConstruct&&s.currentConstruct.concrete)return Y(Z);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},i.check(Ap,v,x)(Z)}function v(Z){return s&&P(),B(c),z(Z)}function x(Z){return a.parser.lazy[a.now().line]=c!==r.length,h=a.now().offset,Y(Z)}function z(Z){return a.containerState={},i.attempt(Ap,b,Y)(Z)}function b(Z){return c++,r.push([a.currentConstruct,a.containerState]),z(Z)}function Y(Z){if(Z===null){s&&P(),B(0),i.consume(Z);return}return s=s||a.parser.flow(a.now()),i.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:f}),G(Z)}function G(Z){if(Z===null){F(i.exit("chunkFlow"),!0),B(0),i.consume(Z);return}return yt(Z)?(i.consume(Z),F(i.exit("chunkFlow")),c=0,a.interrupt=void 0,m):(i.consume(Z),G)}function F(Z,I){const ht=a.sliceStream(Z);if(I&&ht.push(null),Z.previous=f,f&&(f.next=Z),f=Z,s.defineSkip(Z.start),s.write(ht),a.parser.lazy[Z.start.line]){let j=s.events.length;for(;j--;)if(s.events[j][1].start.offset<h&&(!s.events[j][1].end||s.events[j][1].end.offset>h))return;const nt=a.events.length;let ot=nt,ct,pt;for(;ot--;)if(a.events[ot][0]==="exit"&&a.events[ot][1].type==="chunkFlow"){if(ct){pt=a.events[ot][1].end;break}ct=!0}for(B(c),j=nt;j<a.events.length;)a.events[j][1].end={...pt},j++;cn(a.events,ot+1,0,a.events.slice(nt)),a.events.length=j}}function B(Z){let I=r.length;for(;I-- >Z;){const ht=r[I];a.containerState=ht[1],ht[0].exit.call(a,i)}r.length=Z}function P(){s.write([null]),f=void 0,s=void 0,a.containerState._closeFlow=void 0}}function ev(i,a,r){return Xt(i,i.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Tp(i){if(i===null||_e(i)||I0(i))return 1;if(J0(i))return 2}function Io(i,a,r){const c=[];let s=-1;for(;++s<i.length;){const f=i[s].resolveAll;f&&!c.includes(f)&&(a=f(a,r),c.push(f))}return a}const Uo={name:"attention",resolveAll:nv,tokenize:lv};function nv(i,a){let r=-1,c,s,f,h,m,g,p,v;for(;++r<i.length;)if(i[r][0]==="enter"&&i[r][1].type==="attentionSequence"&&i[r][1]._close){for(c=r;c--;)if(i[c][0]==="exit"&&i[c][1].type==="attentionSequence"&&i[c][1]._open&&a.sliceSerialize(i[c][1]).charCodeAt(0)===a.sliceSerialize(i[r][1]).charCodeAt(0)){if((i[c][1]._close||i[r][1]._open)&&(i[r][1].end.offset-i[r][1].start.offset)%3&&!((i[c][1].end.offset-i[c][1].start.offset+i[r][1].end.offset-i[r][1].start.offset)%3))continue;g=i[c][1].end.offset-i[c][1].start.offset>1&&i[r][1].end.offset-i[r][1].start.offset>1?2:1;const x={...i[c][1].end},z={...i[r][1].start};Cp(x,-g),Cp(z,g),h={type:g>1?"strongSequence":"emphasisSequence",start:x,end:{...i[c][1].end}},m={type:g>1?"strongSequence":"emphasisSequence",start:{...i[r][1].start},end:z},f={type:g>1?"strongText":"emphasisText",start:{...i[c][1].end},end:{...i[r][1].start}},s={type:g>1?"strong":"emphasis",start:{...h.start},end:{...m.end}},i[c][1].end={...h.start},i[r][1].start={...m.end},p=[],i[c][1].end.offset-i[c][1].start.offset&&(p=Ie(p,[["enter",i[c][1],a],["exit",i[c][1],a]])),p=Ie(p,[["enter",s,a],["enter",h,a],["exit",h,a],["enter",f,a]]),p=Ie(p,Io(a.parser.constructs.insideSpan.null,i.slice(c+1,r),a)),p=Ie(p,[["exit",f,a],["enter",m,a],["exit",m,a],["exit",s,a]]),i[r][1].end.offset-i[r][1].start.offset?(v=2,p=Ie(p,[["enter",i[r][1],a],["exit",i[r][1],a]])):v=0,cn(i,c-1,r-c+3,p),r=c+p.length-v-2;break}}for(r=-1;++r<i.length;)i[r][1].type==="attentionSequence"&&(i[r][1].type="data");return i}function lv(i,a){const r=this.parser.constructs.attentionMarkers.null,c=this.previous,s=Tp(c);let f;return h;function h(g){return f=g,i.enter("attentionSequence"),m(g)}function m(g){if(g===f)return i.consume(g),m;const p=i.exit("attentionSequence"),v=Tp(g),x=!v||v===2&&s||r.includes(g),z=!s||s===2&&v||r.includes(c);return p._open=!!(f===42?x:x&&(s||!z)),p._close=!!(f===42?z:z&&(v||!x)),a(g)}}function Cp(i,a){i.column+=a,i.offset+=a,i._bufferIndex+=a}const iv={name:"autolink",tokenize:av};function av(i,a,r){let c=0;return s;function s(b){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(b),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),f}function f(b){return rn(b)?(i.consume(b),h):b===64?r(b):p(b)}function h(b){return b===43||b===45||b===46||He(b)?(c=1,m(b)):p(b)}function m(b){return b===58?(i.consume(b),c=0,g):(b===43||b===45||b===46||He(b))&&c++<32?(i.consume(b),m):(c=0,p(b))}function g(b){return b===62?(i.exit("autolinkProtocol"),i.enter("autolinkMarker"),i.consume(b),i.exit("autolinkMarker"),i.exit("autolink"),a):b===null||b===32||b===60||jo(b)?r(b):(i.consume(b),g)}function p(b){return b===64?(i.consume(b),v):Z0(b)?(i.consume(b),p):r(b)}function v(b){return He(b)?x(b):r(b)}function x(b){return b===46?(i.consume(b),c=0,v):b===62?(i.exit("autolinkProtocol").type="autolinkEmail",i.enter("autolinkMarker"),i.consume(b),i.exit("autolinkMarker"),i.exit("autolink"),a):z(b)}function z(b){if((b===45||He(b))&&c++<63){const Y=b===45?z:x;return i.consume(b),Y}return r(b)}}const Ku={partial:!0,tokenize:uv};function uv(i,a,r){return c;function c(f){return kt(f)?Xt(i,s,"linePrefix")(f):s(f)}function s(f){return f===null||yt(f)?a(f):r(f)}}const vm={continuation:{tokenize:cv},exit:ov,name:"blockQuote",tokenize:rv};function rv(i,a,r){const c=this;return s;function s(h){if(h===62){const m=c.containerState;return m.open||(i.enter("blockQuote",{_container:!0}),m.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(h),i.exit("blockQuoteMarker"),f}return r(h)}function f(h){return kt(h)?(i.enter("blockQuotePrefixWhitespace"),i.consume(h),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),a):(i.exit("blockQuotePrefix"),a(h))}}function cv(i,a,r){const c=this;return s;function s(h){return kt(h)?Xt(i,f,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):f(h)}function f(h){return i.attempt(vm,a,r)(h)}}function ov(i){i.exit("blockQuote")}const xm={name:"characterEscape",tokenize:sv};function sv(i,a,r){return c;function c(f){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(f),i.exit("escapeMarker"),s}function s(f){return F0(f)?(i.enter("characterEscapeValue"),i.consume(f),i.exit("characterEscapeValue"),i.exit("characterEscape"),a):r(f)}}const bm={name:"characterReference",tokenize:fv};function fv(i,a,r){const c=this;let s=0,f,h;return m;function m(x){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(x),i.exit("characterReferenceMarker"),g}function g(x){return x===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(x),i.exit("characterReferenceMarkerNumeric"),p):(i.enter("characterReferenceValue"),f=31,h=He,v(x))}function p(x){return x===88||x===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(x),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),f=6,h=K0,v):(i.enter("characterReferenceValue"),f=7,h=Bo,v(x))}function v(x){if(x===59&&s){const z=i.exit("characterReferenceValue");return h===He&&!Jo(c.sliceSerialize(z))?r(x):(i.enter("characterReferenceMarker"),i.consume(x),i.exit("characterReferenceMarker"),i.exit("characterReference"),a)}return h(x)&&s++<f?(i.consume(x),v):r(x)}}const _p={partial:!0,tokenize:dv},Dp={concrete:!0,name:"codeFenced",tokenize:hv};function hv(i,a,r){const c=this,s={partial:!0,tokenize:ht};let f=0,h=0,m;return g;function g(j){return p(j)}function p(j){const nt=c.events[c.events.length-1];return f=nt&&nt[1].type==="linePrefix"?nt[2].sliceSerialize(nt[1],!0).length:0,m=j,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),v(j)}function v(j){return j===m?(h++,i.consume(j),v):h<3?r(j):(i.exit("codeFencedFenceSequence"),kt(j)?Xt(i,x,"whitespace")(j):x(j))}function x(j){return j===null||yt(j)?(i.exit("codeFencedFence"),c.interrupt?a(j):i.check(_p,G,I)(j)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),z(j))}function z(j){return j===null||yt(j)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),x(j)):kt(j)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),Xt(i,b,"whitespace")(j)):j===96&&j===m?r(j):(i.consume(j),z)}function b(j){return j===null||yt(j)?x(j):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),Y(j))}function Y(j){return j===null||yt(j)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),x(j)):j===96&&j===m?r(j):(i.consume(j),Y)}function G(j){return i.attempt(s,I,F)(j)}function F(j){return i.enter("lineEnding"),i.consume(j),i.exit("lineEnding"),B}function B(j){return f>0&&kt(j)?Xt(i,P,"linePrefix",f+1)(j):P(j)}function P(j){return j===null||yt(j)?i.check(_p,G,I)(j):(i.enter("codeFlowValue"),Z(j))}function Z(j){return j===null||yt(j)?(i.exit("codeFlowValue"),P(j)):(i.consume(j),Z)}function I(j){return i.exit("codeFenced"),a(j)}function ht(j,nt,ot){let ct=0;return pt;function pt(Q){return j.enter("lineEnding"),j.consume(Q),j.exit("lineEnding"),X}function X(Q){return j.enter("codeFencedFence"),kt(Q)?Xt(j,V,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):V(Q)}function V(Q){return Q===m?(j.enter("codeFencedFenceSequence"),tt(Q)):ot(Q)}function tt(Q){return Q===m?(ct++,j.consume(Q),tt):ct>=h?(j.exit("codeFencedFenceSequence"),kt(Q)?Xt(j,W,"whitespace")(Q):W(Q)):ot(Q)}function W(Q){return Q===null||yt(Q)?(j.exit("codeFencedFence"),nt(Q)):ot(Q)}}}function dv(i,a,r){const c=this;return s;function s(h){return h===null?r(h):(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),f)}function f(h){return c.parser.lazy[c.now().line]?r(h):a(h)}}const So={name:"codeIndented",tokenize:mv},pv={partial:!0,tokenize:yv};function mv(i,a,r){const c=this;return s;function s(p){return i.enter("codeIndented"),Xt(i,f,"linePrefix",5)(p)}function f(p){const v=c.events[c.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?h(p):r(p)}function h(p){return p===null?g(p):yt(p)?i.attempt(pv,h,g)(p):(i.enter("codeFlowValue"),m(p))}function m(p){return p===null||yt(p)?(i.exit("codeFlowValue"),h(p)):(i.consume(p),m)}function g(p){return i.exit("codeIndented"),a(p)}}function yv(i,a,r){const c=this;return s;function s(h){return c.parser.lazy[c.now().line]?r(h):yt(h)?(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),s):Xt(i,f,"linePrefix",5)(h)}function f(h){const m=c.events[c.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(h):yt(h)?s(h):r(h)}}const gv={name:"codeText",previous:xv,resolve:vv,tokenize:bv};function vv(i){let a=i.length-4,r=3,c,s;if((i[r][1].type==="lineEnding"||i[r][1].type==="space")&&(i[a][1].type==="lineEnding"||i[a][1].type==="space")){for(c=r;++c<a;)if(i[c][1].type==="codeTextData"){i[r][1].type="codeTextPadding",i[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(c=r-1,a++;++c<=a;)s===void 0?c!==a&&i[c][1].type!=="lineEnding"&&(s=c):(c===a||i[c][1].type==="lineEnding")&&(i[s][1].type="codeTextData",c!==s+2&&(i[s][1].end=i[c-1][1].end,i.splice(s+2,c-s-2),a-=c-s-2,c=s+2),s=void 0);return i}function xv(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function bv(i,a,r){let c=0,s,f;return h;function h(x){return i.enter("codeText"),i.enter("codeTextSequence"),m(x)}function m(x){return x===96?(i.consume(x),c++,m):(i.exit("codeTextSequence"),g(x))}function g(x){return x===null?r(x):x===32?(i.enter("space"),i.consume(x),i.exit("space"),g):x===96?(f=i.enter("codeTextSequence"),s=0,v(x)):yt(x)?(i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),g):(i.enter("codeTextData"),p(x))}function p(x){return x===null||x===32||x===96||yt(x)?(i.exit("codeTextData"),g(x)):(i.consume(x),p)}function v(x){return x===96?(i.consume(x),s++,v):s===c?(i.exit("codeTextSequence"),i.exit("codeText"),a(x)):(f.type="codeTextData",p(x))}}class Sv{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){const c=r??Number.POSITIVE_INFINITY;return c<this.left.length?this.left.slice(a,c):a>this.left.length?this.right.slice(this.right.length-c+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-c+this.left.length).reverse())}splice(a,r,c){const s=r||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return c&&da(this.left,c),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),da(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),da(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const r=this.left.splice(a,Number.POSITIVE_INFINITY);da(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);da(this.left,r.reverse())}}}function da(i,a){let r=0;if(a.length<1e4)i.push(...a);else for(;r<a.length;)i.push(...a.slice(r,r+1e4)),r+=1e4}function Sm(i){const a={};let r=-1,c,s,f,h,m,g,p;const v=new Sv(i);for(;++r<v.length;){for(;r in a;)r=a[r];if(c=v.get(r),r&&c[1].type==="chunkFlow"&&v.get(r-1)[1].type==="listItemPrefix"&&(g=c[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(c[0]==="enter")c[1].contentType&&(Object.assign(a,Ev(v,r)),r=a[r],p=!0);else if(c[1]._container){for(f=r,s=void 0;f--;)if(h=v.get(f),h[1].type==="lineEnding"||h[1].type==="lineEndingBlank")h[0]==="enter"&&(s&&(v.get(s)[1].type="lineEndingBlank"),h[1].type="lineEnding",s=f);else if(!(h[1].type==="linePrefix"||h[1].type==="listItemIndent"))break;s&&(c[1].end={...v.get(s)[1].start},m=v.slice(s,r),m.unshift(c),v.splice(s,r-s+1,m))}}return cn(i,0,Number.POSITIVE_INFINITY,v.slice(0)),!p}function Ev(i,a){const r=i.get(a)[1],c=i.get(a)[2];let s=a-1;const f=[];let h=r._tokenizer;h||(h=c.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(h._contentTypeTextTrailing=!0));const m=h.events,g=[],p={};let v,x,z=-1,b=r,Y=0,G=0;const F=[G];for(;b;){for(;i.get(++s)[1]!==b;);f.push(s),b._tokenizer||(v=c.sliceStream(b),b.next||v.push(null),x&&h.defineSkip(b.start),b._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(v),b._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),x=b,b=b.next}for(b=r;++z<m.length;)m[z][0]==="exit"&&m[z-1][0]==="enter"&&m[z][1].type===m[z-1][1].type&&m[z][1].start.line!==m[z][1].end.line&&(G=z+1,F.push(G),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(h.events=[],b?(b._tokenizer=void 0,b.previous=void 0):F.pop(),z=F.length;z--;){const B=m.slice(F[z],F[z+1]),P=f.pop();g.push([P,P+B.length-1]),i.splice(P,2,B)}for(g.reverse(),z=-1;++z<g.length;)p[Y+g[z][0]]=Y+g[z][1],Y+=g[z][1]-g[z][0]-1;return p}const zv={resolve:Tv,tokenize:Cv},Av={partial:!0,tokenize:_v};function Tv(i){return Sm(i),i}function Cv(i,a){let r;return c;function c(m){return i.enter("content"),r=i.enter("chunkContent",{contentType:"content"}),s(m)}function s(m){return m===null?f(m):yt(m)?i.check(Av,h,f)(m):(i.consume(m),s)}function f(m){return i.exit("chunkContent"),i.exit("content"),a(m)}function h(m){return i.consume(m),i.exit("chunkContent"),r.next=i.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,s}}function _v(i,a,r){const c=this;return s;function s(h){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),Xt(i,f,"linePrefix")}function f(h){if(h===null||yt(h))return r(h);const m=c.events[c.events.length-1];return!c.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(h):i.interrupt(c.parser.constructs.flow,r,a)(h)}}function Em(i,a,r,c,s,f,h,m,g){const p=g||Number.POSITIVE_INFINITY;let v=0;return x;function x(B){return B===60?(i.enter(c),i.enter(s),i.enter(f),i.consume(B),i.exit(f),z):B===null||B===32||B===41||jo(B)?r(B):(i.enter(c),i.enter(h),i.enter(m),i.enter("chunkString",{contentType:"string"}),G(B))}function z(B){return B===62?(i.enter(f),i.consume(B),i.exit(f),i.exit(s),i.exit(c),a):(i.enter(m),i.enter("chunkString",{contentType:"string"}),b(B))}function b(B){return B===62?(i.exit("chunkString"),i.exit(m),z(B)):B===null||B===60||yt(B)?r(B):(i.consume(B),B===92?Y:b)}function Y(B){return B===60||B===62||B===92?(i.consume(B),b):b(B)}function G(B){return!v&&(B===null||B===41||_e(B))?(i.exit("chunkString"),i.exit(m),i.exit(h),i.exit(c),a(B)):v<p&&B===40?(i.consume(B),v++,G):B===41?(i.consume(B),v--,G):B===null||B===32||B===40||jo(B)?r(B):(i.consume(B),B===92?F:G)}function F(B){return B===40||B===41||B===92?(i.consume(B),G):G(B)}}function zm(i,a,r,c,s,f){const h=this;let m=0,g;return p;function p(b){return i.enter(c),i.enter(s),i.consume(b),i.exit(s),i.enter(f),v}function v(b){return m>999||b===null||b===91||b===93&&!g||b===94&&!m&&"_hiddenFootnoteSupport"in h.parser.constructs?r(b):b===93?(i.exit(f),i.enter(s),i.consume(b),i.exit(s),i.exit(c),a):yt(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),v):(i.enter("chunkString",{contentType:"string"}),x(b))}function x(b){return b===null||b===91||b===93||yt(b)||m++>999?(i.exit("chunkString"),v(b)):(i.consume(b),g||(g=!kt(b)),b===92?z:x)}function z(b){return b===91||b===92||b===93?(i.consume(b),m++,x):x(b)}}function Am(i,a,r,c,s,f){let h;return m;function m(z){return z===34||z===39||z===40?(i.enter(c),i.enter(s),i.consume(z),i.exit(s),h=z===40?41:z,g):r(z)}function g(z){return z===h?(i.enter(s),i.consume(z),i.exit(s),i.exit(c),a):(i.enter(f),p(z))}function p(z){return z===h?(i.exit(f),g(h)):z===null?r(z):yt(z)?(i.enter("lineEnding"),i.consume(z),i.exit("lineEnding"),Xt(i,p,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),v(z))}function v(z){return z===h||z===null||yt(z)?(i.exit("chunkString"),p(z)):(i.consume(z),z===92?x:v)}function x(z){return z===h||z===92?(i.consume(z),v):v(z)}}function ya(i,a){let r;return c;function c(s){return yt(s)?(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),r=!0,c):kt(s)?Xt(i,c,r?"linePrefix":"lineSuffix")(s):a(s)}}const Dv={name:"definition",tokenize:Mv},Ov={partial:!0,tokenize:Nv};function Mv(i,a,r){const c=this;let s;return f;function f(b){return i.enter("definition"),h(b)}function h(b){return zm.call(c,i,m,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function m(b){return s=di(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),b===58?(i.enter("definitionMarker"),i.consume(b),i.exit("definitionMarker"),g):r(b)}function g(b){return _e(b)?ya(i,p)(b):p(b)}function p(b){return Em(i,v,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function v(b){return i.attempt(Ov,x,x)(b)}function x(b){return kt(b)?Xt(i,z,"whitespace")(b):z(b)}function z(b){return b===null||yt(b)?(i.exit("definition"),c.parser.defined.push(s),a(b)):r(b)}}function Nv(i,a,r){return c;function c(m){return _e(m)?ya(i,s)(m):r(m)}function s(m){return Am(i,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function f(m){return kt(m)?Xt(i,h,"whitespace")(m):h(m)}function h(m){return m===null||yt(m)?a(m):r(m)}}const kv={name:"hardBreakEscape",tokenize:wv};function wv(i,a,r){return c;function c(f){return i.enter("hardBreakEscape"),i.consume(f),s}function s(f){return yt(f)?(i.exit("hardBreakEscape"),a(f)):r(f)}}const Rv={name:"headingAtx",resolve:jv,tokenize:Bv};function jv(i,a){let r=i.length-2,c=3,s,f;return i[c][1].type==="whitespace"&&(c+=2),r-2>c&&i[r][1].type==="whitespace"&&(r-=2),i[r][1].type==="atxHeadingSequence"&&(c===r-1||r-4>c&&i[r-2][1].type==="whitespace")&&(r-=c+1===r?2:4),r>c&&(s={type:"atxHeadingText",start:i[c][1].start,end:i[r][1].end},f={type:"chunkText",start:i[c][1].start,end:i[r][1].end,contentType:"text"},cn(i,c,r-c+1,[["enter",s,a],["enter",f,a],["exit",f,a],["exit",s,a]])),i}function Bv(i,a,r){let c=0;return s;function s(v){return i.enter("atxHeading"),f(v)}function f(v){return i.enter("atxHeadingSequence"),h(v)}function h(v){return v===35&&c++<6?(i.consume(v),h):v===null||_e(v)?(i.exit("atxHeadingSequence"),m(v)):r(v)}function m(v){return v===35?(i.enter("atxHeadingSequence"),g(v)):v===null||yt(v)?(i.exit("atxHeading"),a(v)):kt(v)?Xt(i,m,"whitespace")(v):(i.enter("atxHeadingText"),p(v))}function g(v){return v===35?(i.consume(v),g):(i.exit("atxHeadingSequence"),m(v))}function p(v){return v===null||v===35||_e(v)?(i.exit("atxHeadingText"),m(v)):(i.consume(v),p)}}const Uv=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Op=["pre","script","style","textarea"],Hv={concrete:!0,name:"htmlFlow",resolveTo:Yv,tokenize:Vv},Lv={partial:!0,tokenize:Gv},qv={partial:!0,tokenize:Xv};function Yv(i){let a=i.length;for(;a--&&!(i[a][0]==="enter"&&i[a][1].type==="htmlFlow"););return a>1&&i[a-2][1].type==="linePrefix"&&(i[a][1].start=i[a-2][1].start,i[a+1][1].start=i[a-2][1].start,i.splice(a-2,2)),i}function Vv(i,a,r){const c=this;let s,f,h,m,g;return p;function p(S){return v(S)}function v(S){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(S),x}function x(S){return S===33?(i.consume(S),z):S===47?(i.consume(S),f=!0,G):S===63?(i.consume(S),s=3,c.interrupt?a:E):rn(S)?(i.consume(S),h=String.fromCharCode(S),F):r(S)}function z(S){return S===45?(i.consume(S),s=2,b):S===91?(i.consume(S),s=5,m=0,Y):rn(S)?(i.consume(S),s=4,c.interrupt?a:E):r(S)}function b(S){return S===45?(i.consume(S),c.interrupt?a:E):r(S)}function Y(S){const et="CDATA[";return S===et.charCodeAt(m++)?(i.consume(S),m===et.length?c.interrupt?a:V:Y):r(S)}function G(S){return rn(S)?(i.consume(S),h=String.fromCharCode(S),F):r(S)}function F(S){if(S===null||S===47||S===62||_e(S)){const et=S===47,ft=h.toLowerCase();return!et&&!f&&Op.includes(ft)?(s=1,c.interrupt?a(S):V(S)):Uv.includes(h.toLowerCase())?(s=6,et?(i.consume(S),B):c.interrupt?a(S):V(S)):(s=7,c.interrupt&&!c.parser.lazy[c.now().line]?r(S):f?P(S):Z(S))}return S===45||He(S)?(i.consume(S),h+=String.fromCharCode(S),F):r(S)}function B(S){return S===62?(i.consume(S),c.interrupt?a:V):r(S)}function P(S){return kt(S)?(i.consume(S),P):pt(S)}function Z(S){return S===47?(i.consume(S),pt):S===58||S===95||rn(S)?(i.consume(S),I):kt(S)?(i.consume(S),Z):pt(S)}function I(S){return S===45||S===46||S===58||S===95||He(S)?(i.consume(S),I):ht(S)}function ht(S){return S===61?(i.consume(S),j):kt(S)?(i.consume(S),ht):Z(S)}function j(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(i.consume(S),g=S,nt):kt(S)?(i.consume(S),j):ot(S)}function nt(S){return S===g?(i.consume(S),g=null,ct):S===null||yt(S)?r(S):(i.consume(S),nt)}function ot(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||_e(S)?ht(S):(i.consume(S),ot)}function ct(S){return S===47||S===62||kt(S)?Z(S):r(S)}function pt(S){return S===62?(i.consume(S),X):r(S)}function X(S){return S===null||yt(S)?V(S):kt(S)?(i.consume(S),X):r(S)}function V(S){return S===45&&s===2?(i.consume(S),N):S===60&&s===1?(i.consume(S),K):S===62&&s===4?(i.consume(S),T):S===63&&s===3?(i.consume(S),E):S===93&&s===5?(i.consume(S),St):yt(S)&&(s===6||s===7)?(i.exit("htmlFlowData"),i.check(Lv,U,tt)(S)):S===null||yt(S)?(i.exit("htmlFlowData"),tt(S)):(i.consume(S),V)}function tt(S){return i.check(qv,W,U)(S)}function W(S){return i.enter("lineEnding"),i.consume(S),i.exit("lineEnding"),Q}function Q(S){return S===null||yt(S)?tt(S):(i.enter("htmlFlowData"),V(S))}function N(S){return S===45?(i.consume(S),E):V(S)}function K(S){return S===47?(i.consume(S),h="",at):V(S)}function at(S){if(S===62){const et=h.toLowerCase();return Op.includes(et)?(i.consume(S),T):V(S)}return rn(S)&&h.length<8?(i.consume(S),h+=String.fromCharCode(S),at):V(S)}function St(S){return S===93?(i.consume(S),E):V(S)}function E(S){return S===62?(i.consume(S),T):S===45&&s===2?(i.consume(S),E):V(S)}function T(S){return S===null||yt(S)?(i.exit("htmlFlowData"),U(S)):(i.consume(S),T)}function U(S){return i.exit("htmlFlow"),a(S)}}function Xv(i,a,r){const c=this;return s;function s(h){return yt(h)?(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),f):r(h)}function f(h){return c.parser.lazy[c.now().line]?r(h):a(h)}}function Gv(i,a,r){return c;function c(s){return i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),i.attempt(Ku,a,r)}}const Qv={name:"htmlText",tokenize:Zv};function Zv(i,a,r){const c=this;let s,f,h;return m;function m(E){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(E),g}function g(E){return E===33?(i.consume(E),p):E===47?(i.consume(E),ht):E===63?(i.consume(E),Z):rn(E)?(i.consume(E),ot):r(E)}function p(E){return E===45?(i.consume(E),v):E===91?(i.consume(E),f=0,Y):rn(E)?(i.consume(E),P):r(E)}function v(E){return E===45?(i.consume(E),b):r(E)}function x(E){return E===null?r(E):E===45?(i.consume(E),z):yt(E)?(h=x,K(E)):(i.consume(E),x)}function z(E){return E===45?(i.consume(E),b):x(E)}function b(E){return E===62?N(E):E===45?z(E):x(E)}function Y(E){const T="CDATA[";return E===T.charCodeAt(f++)?(i.consume(E),f===T.length?G:Y):r(E)}function G(E){return E===null?r(E):E===93?(i.consume(E),F):yt(E)?(h=G,K(E)):(i.consume(E),G)}function F(E){return E===93?(i.consume(E),B):G(E)}function B(E){return E===62?N(E):E===93?(i.consume(E),B):G(E)}function P(E){return E===null||E===62?N(E):yt(E)?(h=P,K(E)):(i.consume(E),P)}function Z(E){return E===null?r(E):E===63?(i.consume(E),I):yt(E)?(h=Z,K(E)):(i.consume(E),Z)}function I(E){return E===62?N(E):Z(E)}function ht(E){return rn(E)?(i.consume(E),j):r(E)}function j(E){return E===45||He(E)?(i.consume(E),j):nt(E)}function nt(E){return yt(E)?(h=nt,K(E)):kt(E)?(i.consume(E),nt):N(E)}function ot(E){return E===45||He(E)?(i.consume(E),ot):E===47||E===62||_e(E)?ct(E):r(E)}function ct(E){return E===47?(i.consume(E),N):E===58||E===95||rn(E)?(i.consume(E),pt):yt(E)?(h=ct,K(E)):kt(E)?(i.consume(E),ct):N(E)}function pt(E){return E===45||E===46||E===58||E===95||He(E)?(i.consume(E),pt):X(E)}function X(E){return E===61?(i.consume(E),V):yt(E)?(h=X,K(E)):kt(E)?(i.consume(E),X):ct(E)}function V(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(i.consume(E),s=E,tt):yt(E)?(h=V,K(E)):kt(E)?(i.consume(E),V):(i.consume(E),W)}function tt(E){return E===s?(i.consume(E),s=void 0,Q):E===null?r(E):yt(E)?(h=tt,K(E)):(i.consume(E),tt)}function W(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||_e(E)?ct(E):(i.consume(E),W)}function Q(E){return E===47||E===62||_e(E)?ct(E):r(E)}function N(E){return E===62?(i.consume(E),i.exit("htmlTextData"),i.exit("htmlText"),a):r(E)}function K(E){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),at}function at(E){return kt(E)?Xt(i,St,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):St(E)}function St(E){return i.enter("htmlTextData"),h(E)}}const Wo={name:"labelEnd",resolveAll:Iv,resolveTo:Wv,tokenize:$v},Kv={tokenize:Pv},Fv={tokenize:tx},Jv={tokenize:ex};function Iv(i){let a=-1;const r=[];for(;++a<i.length;){const c=i[a][1];if(r.push(i[a]),c.type==="labelImage"||c.type==="labelLink"||c.type==="labelEnd"){const s=c.type==="labelImage"?4:2;c.type="data",a+=s}}return i.length!==r.length&&cn(i,0,i.length,r),i}function Wv(i,a){let r=i.length,c=0,s,f,h,m;for(;r--;)if(s=i[r][1],f){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;i[r][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(h){if(i[r][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(f=r,s.type!=="labelLink")){c=2;break}}else s.type==="labelEnd"&&(h=r);const g={type:i[f][1].type==="labelLink"?"link":"image",start:{...i[f][1].start},end:{...i[i.length-1][1].end}},p={type:"label",start:{...i[f][1].start},end:{...i[h][1].end}},v={type:"labelText",start:{...i[f+c+2][1].end},end:{...i[h-2][1].start}};return m=[["enter",g,a],["enter",p,a]],m=Ie(m,i.slice(f+1,f+c+3)),m=Ie(m,[["enter",v,a]]),m=Ie(m,Io(a.parser.constructs.insideSpan.null,i.slice(f+c+4,h-3),a)),m=Ie(m,[["exit",v,a],i[h-2],i[h-1],["exit",p,a]]),m=Ie(m,i.slice(h+1)),m=Ie(m,[["exit",g,a]]),cn(i,f,i.length,m),i}function $v(i,a,r){const c=this;let s=c.events.length,f,h;for(;s--;)if((c.events[s][1].type==="labelImage"||c.events[s][1].type==="labelLink")&&!c.events[s][1]._balanced){f=c.events[s][1];break}return m;function m(z){return f?f._inactive?x(z):(h=c.parser.defined.includes(di(c.sliceSerialize({start:f.end,end:c.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(z),i.exit("labelMarker"),i.exit("labelEnd"),g):r(z)}function g(z){return z===40?i.attempt(Kv,v,h?v:x)(z):z===91?i.attempt(Fv,v,h?p:x)(z):h?v(z):x(z)}function p(z){return i.attempt(Jv,v,x)(z)}function v(z){return a(z)}function x(z){return f._balanced=!0,r(z)}}function Pv(i,a,r){return c;function c(x){return i.enter("resource"),i.enter("resourceMarker"),i.consume(x),i.exit("resourceMarker"),s}function s(x){return _e(x)?ya(i,f)(x):f(x)}function f(x){return x===41?v(x):Em(i,h,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function h(x){return _e(x)?ya(i,g)(x):v(x)}function m(x){return r(x)}function g(x){return x===34||x===39||x===40?Am(i,p,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(x):v(x)}function p(x){return _e(x)?ya(i,v)(x):v(x)}function v(x){return x===41?(i.enter("resourceMarker"),i.consume(x),i.exit("resourceMarker"),i.exit("resource"),a):r(x)}}function tx(i,a,r){const c=this;return s;function s(m){return zm.call(c,i,f,h,"reference","referenceMarker","referenceString")(m)}function f(m){return c.parser.defined.includes(di(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)))?a(m):r(m)}function h(m){return r(m)}}function ex(i,a,r){return c;function c(f){return i.enter("reference"),i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),s}function s(f){return f===93?(i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),i.exit("reference"),a):r(f)}}const nx={name:"labelStartImage",resolveAll:Wo.resolveAll,tokenize:lx};function lx(i,a,r){const c=this;return s;function s(m){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(m),i.exit("labelImageMarker"),f}function f(m){return m===91?(i.enter("labelMarker"),i.consume(m),i.exit("labelMarker"),i.exit("labelImage"),h):r(m)}function h(m){return m===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(m):a(m)}}const ix={name:"labelStartLink",resolveAll:Wo.resolveAll,tokenize:ax};function ax(i,a,r){const c=this;return s;function s(h){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(h),i.exit("labelMarker"),i.exit("labelLink"),f}function f(h){return h===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(h):a(h)}}const Eo={name:"lineEnding",tokenize:ux};function ux(i,a){return r;function r(c){return i.enter("lineEnding"),i.consume(c),i.exit("lineEnding"),Xt(i,a,"linePrefix")}}const Xu={name:"thematicBreak",tokenize:rx};function rx(i,a,r){let c=0,s;return f;function f(p){return i.enter("thematicBreak"),h(p)}function h(p){return s=p,m(p)}function m(p){return p===s?(i.enter("thematicBreakSequence"),g(p)):c>=3&&(p===null||yt(p))?(i.exit("thematicBreak"),a(p)):r(p)}function g(p){return p===s?(i.consume(p),c++,g):(i.exit("thematicBreakSequence"),kt(p)?Xt(i,m,"whitespace")(p):m(p))}}const Ce={continuation:{tokenize:fx},exit:dx,name:"list",tokenize:sx},cx={partial:!0,tokenize:px},ox={partial:!0,tokenize:hx};function sx(i,a,r){const c=this,s=c.events[c.events.length-1];let f=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,h=0;return m;function m(b){const Y=c.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(Y==="listUnordered"?!c.containerState.marker||b===c.containerState.marker:Bo(b)){if(c.containerState.type||(c.containerState.type=Y,i.enter(Y,{_container:!0})),Y==="listUnordered")return i.enter("listItemPrefix"),b===42||b===45?i.check(Xu,r,p)(b):p(b);if(!c.interrupt||b===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),g(b)}return r(b)}function g(b){return Bo(b)&&++h<10?(i.consume(b),g):(!c.interrupt||h<2)&&(c.containerState.marker?b===c.containerState.marker:b===41||b===46)?(i.exit("listItemValue"),p(b)):r(b)}function p(b){return i.enter("listItemMarker"),i.consume(b),i.exit("listItemMarker"),c.containerState.marker=c.containerState.marker||b,i.check(Ku,c.interrupt?r:v,i.attempt(cx,z,x))}function v(b){return c.containerState.initialBlankLine=!0,f++,z(b)}function x(b){return kt(b)?(i.enter("listItemPrefixWhitespace"),i.consume(b),i.exit("listItemPrefixWhitespace"),z):r(b)}function z(b){return c.containerState.size=f+c.sliceSerialize(i.exit("listItemPrefix"),!0).length,a(b)}}function fx(i,a,r){const c=this;return c.containerState._closeFlow=void 0,i.check(Ku,s,f);function s(m){return c.containerState.furtherBlankLines=c.containerState.furtherBlankLines||c.containerState.initialBlankLine,Xt(i,a,"listItemIndent",c.containerState.size+1)(m)}function f(m){return c.containerState.furtherBlankLines||!kt(m)?(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,h(m)):(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,i.attempt(ox,a,h)(m))}function h(m){return c.containerState._closeFlow=!0,c.interrupt=void 0,Xt(i,i.attempt(Ce,a,r),"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function hx(i,a,r){const c=this;return Xt(i,s,"listItemIndent",c.containerState.size+1);function s(f){const h=c.events[c.events.length-1];return h&&h[1].type==="listItemIndent"&&h[2].sliceSerialize(h[1],!0).length===c.containerState.size?a(f):r(f)}}function dx(i){i.exit(this.containerState.type)}function px(i,a,r){const c=this;return Xt(i,s,"listItemPrefixWhitespace",c.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(f){const h=c.events[c.events.length-1];return!kt(f)&&h&&h[1].type==="listItemPrefixWhitespace"?a(f):r(f)}}const Mp={name:"setextUnderline",resolveTo:mx,tokenize:yx};function mx(i,a){let r=i.length,c,s,f;for(;r--;)if(i[r][0]==="enter"){if(i[r][1].type==="content"){c=r;break}i[r][1].type==="paragraph"&&(s=r)}else i[r][1].type==="content"&&i.splice(r,1),!f&&i[r][1].type==="definition"&&(f=r);const h={type:"setextHeading",start:{...i[c][1].start},end:{...i[i.length-1][1].end}};return i[s][1].type="setextHeadingText",f?(i.splice(s,0,["enter",h,a]),i.splice(f+1,0,["exit",i[c][1],a]),i[c][1].end={...i[f][1].end}):i[c][1]=h,i.push(["exit",h,a]),i}function yx(i,a,r){const c=this;let s;return f;function f(p){let v=c.events.length,x;for(;v--;)if(c.events[v][1].type!=="lineEnding"&&c.events[v][1].type!=="linePrefix"&&c.events[v][1].type!=="content"){x=c.events[v][1].type==="paragraph";break}return!c.parser.lazy[c.now().line]&&(c.interrupt||x)?(i.enter("setextHeadingLine"),s=p,h(p)):r(p)}function h(p){return i.enter("setextHeadingLineSequence"),m(p)}function m(p){return p===s?(i.consume(p),m):(i.exit("setextHeadingLineSequence"),kt(p)?Xt(i,g,"lineSuffix")(p):g(p))}function g(p){return p===null||yt(p)?(i.exit("setextHeadingLine"),a(p)):r(p)}}const gx={tokenize:vx};function vx(i){const a=this,r=i.attempt(Ku,c,i.attempt(this.parser.constructs.flowInitial,s,Xt(i,i.attempt(this.parser.constructs.flow,s,i.attempt(zv,s)),"linePrefix")));return r;function c(f){if(f===null){i.consume(f);return}return i.enter("lineEndingBlank"),i.consume(f),i.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function s(f){if(f===null){i.consume(f);return}return i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),a.currentConstruct=void 0,r}}const xx={resolveAll:Cm()},bx=Tm("string"),Sx=Tm("text");function Tm(i){return{resolveAll:Cm(i==="text"?Ex:void 0),tokenize:a};function a(r){const c=this,s=this.parser.constructs[i],f=r.attempt(s,h,m);return h;function h(v){return p(v)?f(v):m(v)}function m(v){if(v===null){r.consume(v);return}return r.enter("data"),r.consume(v),g}function g(v){return p(v)?(r.exit("data"),f(v)):(r.consume(v),g)}function p(v){if(v===null)return!0;const x=s[v];let z=-1;if(x)for(;++z<x.length;){const b=x[z];if(!b.previous||b.previous.call(c,c.previous))return!0}return!1}}}function Cm(i){return a;function a(r,c){let s=-1,f;for(;++s<=r.length;)f===void 0?r[s]&&r[s][1].type==="data"&&(f=s,s++):(!r[s]||r[s][1].type!=="data")&&(s!==f+2&&(r[f][1].end=r[s-1][1].end,r.splice(f+2,s-f-2),s=f+2),f=void 0);return i?i(r,c):r}}function Ex(i,a){let r=0;for(;++r<=i.length;)if((r===i.length||i[r][1].type==="lineEnding")&&i[r-1][1].type==="data"){const c=i[r-1][1],s=a.sliceStream(c);let f=s.length,h=-1,m=0,g;for(;f--;){const p=s[f];if(typeof p=="string"){for(h=p.length;p.charCodeAt(h-1)===32;)m++,h--;if(h)break;h=-1}else if(p===-2)g=!0,m++;else if(p!==-1){f++;break}}if(a._contentTypeTextTrailing&&r===i.length&&(m=0),m){const p={type:r===i.length||g||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?h:c.start._bufferIndex+h,_index:c.start._index+f,line:c.end.line,column:c.end.column-m,offset:c.end.offset-m},end:{...c.end}};c.end={...p.start},c.start.offset===c.end.offset?Object.assign(c,p):(i.splice(r,0,["enter",p,a],["exit",p,a]),r+=2)}r++}return i}const zx={42:Ce,43:Ce,45:Ce,48:Ce,49:Ce,50:Ce,51:Ce,52:Ce,53:Ce,54:Ce,55:Ce,56:Ce,57:Ce,62:vm},Ax={91:Dv},Tx={[-2]:So,[-1]:So,32:So},Cx={35:Rv,42:Xu,45:[Mp,Xu],60:Hv,61:Mp,95:Xu,96:Dp,126:Dp},_x={38:bm,92:xm},Dx={[-5]:Eo,[-4]:Eo,[-3]:Eo,33:nx,38:bm,42:Uo,60:[iv,Qv],91:ix,92:[kv,xm],93:Wo,95:Uo,96:gv},Ox={null:[Uo,xx]},Mx={null:[42,95]},Nx={null:[]},kx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Mx,contentInitial:Ax,disable:Nx,document:zx,flow:Cx,flowInitial:Tx,insideSpan:Ox,string:_x,text:Dx},Symbol.toStringTag,{value:"Module"}));function wx(i,a,r){let c={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const s={},f=[];let h=[],m=[];const g={attempt:nt(ht),check:nt(j),consume:P,enter:Z,exit:I,interrupt:nt(j,{interrupt:!0})},p={code:null,containerState:{},defineSkip:G,events:[],now:Y,parser:i,previous:null,sliceSerialize:z,sliceStream:b,write:x};let v=a.tokenize.call(p,g);return a.resolveAll&&f.push(a),p;function x(X){return h=Ie(h,X),F(),h[h.length-1]!==null?[]:(ot(a,0),p.events=Io(f,p.events,p),p.events)}function z(X,V){return jx(b(X),V)}function b(X){return Rx(h,X)}function Y(){const{_bufferIndex:X,_index:V,line:tt,column:W,offset:Q}=c;return{_bufferIndex:X,_index:V,line:tt,column:W,offset:Q}}function G(X){s[X.line]=X.column,pt()}function F(){let X;for(;c._index<h.length;){const V=h[c._index];if(typeof V=="string")for(X=c._index,c._bufferIndex<0&&(c._bufferIndex=0);c._index===X&&c._bufferIndex<V.length;)B(V.charCodeAt(c._bufferIndex));else B(V)}}function B(X){v=v(X)}function P(X){yt(X)?(c.line++,c.column=1,c.offset+=X===-3?2:1,pt()):X!==-1&&(c.column++,c.offset++),c._bufferIndex<0?c._index++:(c._bufferIndex++,c._bufferIndex===h[c._index].length&&(c._bufferIndex=-1,c._index++)),p.previous=X}function Z(X,V){const tt=V||{};return tt.type=X,tt.start=Y(),p.events.push(["enter",tt,p]),m.push(tt),tt}function I(X){const V=m.pop();return V.end=Y(),p.events.push(["exit",V,p]),V}function ht(X,V){ot(X,V.from)}function j(X,V){V.restore()}function nt(X,V){return tt;function tt(W,Q,N){let K,at,St,E;return Array.isArray(W)?U(W):"tokenize"in W?U([W]):T(W);function T(ut){return Tt;function Tt(Zt){const Bt=Zt!==null&&ut[Zt],Le=Zt!==null&&ut.null,on=[...Array.isArray(Bt)?Bt:Bt?[Bt]:[],...Array.isArray(Le)?Le:Le?[Le]:[]];return U(on)(Zt)}}function U(ut){return K=ut,at=0,ut.length===0?N:S(ut[at])}function S(ut){return Tt;function Tt(Zt){return E=ct(),St=ut,ut.partial||(p.currentConstruct=ut),ut.name&&p.parser.constructs.disable.null.includes(ut.name)?ft():ut.tokenize.call(V?Object.assign(Object.create(p),V):p,g,et,ft)(Zt)}}function et(ut){return X(St,E),Q}function ft(ut){return E.restore(),++at<K.length?S(K[at]):N}}}function ot(X,V){X.resolveAll&&!f.includes(X)&&f.push(X),X.resolve&&cn(p.events,V,p.events.length-V,X.resolve(p.events.slice(V),p)),X.resolveTo&&(p.events=X.resolveTo(p.events,p))}function ct(){const X=Y(),V=p.previous,tt=p.currentConstruct,W=p.events.length,Q=Array.from(m);return{from:W,restore:N};function N(){c=X,p.previous=V,p.currentConstruct=tt,p.events.length=W,m=Q,pt()}}function pt(){c.line in s&&c.column<2&&(c.column=s[c.line],c.offset+=s[c.line]-1)}}function Rx(i,a){const r=a.start._index,c=a.start._bufferIndex,s=a.end._index,f=a.end._bufferIndex;let h;if(r===s)h=[i[r].slice(c,f)];else{if(h=i.slice(r,s),c>-1){const m=h[0];typeof m=="string"?h[0]=m.slice(c):h.shift()}f>0&&h.push(i[s].slice(0,f))}return h}function jx(i,a){let r=-1;const c=[];let s;for(;++r<i.length;){const f=i[r];let h;if(typeof f=="string")h=f;else switch(f){case-5:{h="\r";break}case-4:{h=`
8
+ `+l.stack}}var Al=Object.prototype.hasOwnProperty,Tl=i.unstable_scheduleCallback,gi=i.unstable_cancelCallback,Iu=i.unstable_shouldYield,Wu=i.unstable_requestPaint,me=i.unstable_now,$u=i.unstable_getCurrentPriorityLevel,H=i.unstable_ImmediatePriority,$=i.unstable_UserBlockingPriority,dt=i.unstable_NormalPriority,Et=i.unstable_LowPriority,wt=i.unstable_IdlePriority,Oe=i.log,fn=i.unstable_setDisableYieldValue,ye=null,le=null;function ve(t){if(typeof Oe=="function"&&fn(t),le&&typeof le.setStrictMode=="function")try{le.setStrictMode(ye,t)}catch{}}var qt=Math.clz32?Math.clz32:Hm,Mn=Math.log,We=Math.LN2;function Hm(t){return t>>>=0,t===0?32:31-(Mn(t)/We|0)|0}var Aa=256,Ta=262144,Ca=4194304;function ll(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 _a(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var u=0,o=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var y=l&134217727;return y!==0?(l=y&~o,l!==0?u=ll(l):(d&=y,d!==0?u=ll(d):n||(n=y&~t,n!==0&&(u=ll(n))))):(y=l&~o,y!==0?u=ll(y):d!==0?u=ll(d):n||(n=l&~t,n!==0&&(u=ll(n)))),u===0?0:e!==0&&e!==u&&(e&o)===0&&(o=u&-u,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:u}function vi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Lm(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 ls(){var t=Ca;return Ca<<=1,(Ca&62914560)===0&&(Ca=4194304),t}function Pu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function xi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function qm(t,e,n,l,u,o){var d=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 y=t.entanglements,A=t.expirationTimes,O=t.hiddenUpdates;for(n=d&~n;0<n;){var R=31-qt(n),q=1<<R;y[R]=0,A[R]=-1;var k=O[R];if(k!==null)for(O[R]=null,R=0;R<k.length;R++){var w=k[R];w!==null&&(w.lane&=-536870913)}n&=~q}l!==0&&is(t,l,0),o!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=o&~(d&~e))}function is(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-qt(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function as(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-qt(n),u=1<<l;u&e|t[l]&e&&(t[l]|=e),n&=~u}}function us(t,e){var n=e&-e;return n=(n&42)!==0?1:tr(n),(n&(t.suspendedLanes|e))!==0?0:n}function tr(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 er(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function rs(){var t=K.p;return t!==0?t:(t=window.event,t===void 0?32:Kd(t.type))}function cs(t,e){var n=K.p;try{return K.p=t,e()}finally{K.p=n}}var Nn=Math.random().toString(36).slice(2),re="__reactFiber$"+Nn,xe="__reactProps$"+Nn,Cl="__reactContainer$"+Nn,nr="__reactEvents$"+Nn,Ym="__reactListeners$"+Nn,Vm="__reactHandles$"+Nn,os="__reactResources$"+Nn,bi="__reactMarker$"+Nn;function lr(t){delete t[re],delete t[xe],delete t[nr],delete t[Ym],delete t[Vm]}function _l(t){var e=t[re];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Cl]||n[re]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Nd(t);t!==null;){if(n=t[re])return n;t=Nd(t)}return e}t=n,n=t.parentNode}return null}function Dl(t){if(t=t[re]||t[Cl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Si(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ol(t){var e=t[os];return e||(e=t[os]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ae(t){t[bi]=!0}var ss=new Set,fs={};function il(t,e){Ml(t,e),Ml(t+"Capture",e)}function Ml(t,e){for(fs[t]=e,t=0;t<e.length;t++)ss.add(e[t])}var Xm=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]*$"),hs={},ds={};function Gm(t){return Al.call(ds,t)?!0:Al.call(hs,t)?!1:Xm.test(t)?ds[t]=!0:(hs[t]=!0,!1)}function Da(t,e,n){if(Gm(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Oa(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 hn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function qe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ps(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Qm(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(d){n=""+d,o.call(this,d)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ir(t){if(!t._valueTracker){var e=ps(t)?"checked":"value";t._valueTracker=Qm(t,e,""+t[e])}}function ms(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=ps(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function Ma(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 Zm=/[\n"\\]/g;function Ye(t){return t.replace(Zm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function ar(t,e,n,l,u,o,d,y){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+qe(e)):t.value!==""+qe(e)&&(t.value=""+qe(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?ur(t,d,qe(e)):n!=null?ur(t,d,qe(n)):l!=null&&t.removeAttribute("value"),u==null&&o!=null&&(t.defaultChecked=!!o),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+qe(y):t.removeAttribute("name")}function ys(t,e,n,l,u,o,d,y){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){ir(t);return}n=n!=null?""+qe(n):"",e=e!=null?""+qe(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=y?t.checked:!!l,t.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d),ir(t)}function ur(t,e,n){e==="number"&&Ma(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Nl(t,e,n,l){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&&l&&(t[n].defaultSelected=!0)}else{for(n=""+qe(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,l&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function gs(t,e,n){if(e!=null&&(e=""+qe(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+qe(n):""}function vs(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(c(92));if(Q(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=qe(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),ir(t)}function kl(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Km=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 xs(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Km.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function bs(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var u in e)l=e[u],e.hasOwnProperty(u)&&n[u]!==l&&xs(t,u,l)}else for(var o in e)e.hasOwnProperty(o)&&xs(t,o,e[o])}function rr(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 Fm=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"]]),Jm=/^[\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 Na(t){return Jm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function dn(){}var cr=null;function or(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var wl=null,Rl=null;function Ss(t){var e=Dl(t);if(e&&(t=e.stateNode)){var n=t[xe]||null;t:switch(t=e.stateNode,e.type){case"input":if(ar(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="'+Ye(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var u=l[xe]||null;if(!u)throw Error(c(90));ar(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&ms(l)}break t;case"textarea":gs(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Nl(t,!!n.multiple,e,!1)}}}var sr=!1;function Es(t,e,n){if(sr)return t(e,n);sr=!0;try{var l=t(e);return l}finally{if(sr=!1,(wl!==null||Rl!==null)&&(vu(),wl&&(e=wl,t=Rl,Rl=wl=null,Ss(e),t)))for(e=0;e<t.length;e++)Ss(t[e])}}function Ei(t,e){var n=t.stateNode;if(n===null)return null;var l=n[xe]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fr=!1;if(pn)try{var zi={};Object.defineProperty(zi,"passive",{get:function(){fr=!0}}),window.addEventListener("test",zi,zi),window.removeEventListener("test",zi,zi)}catch{fr=!1}var kn=null,hr=null,ka=null;function zs(){if(ka)return ka;var t,e=hr,n=e.length,l,u="value"in kn?kn.value:kn.textContent,o=u.length;for(t=0;t<n&&e[t]===u[t];t++);var d=n-t;for(l=1;l<=d&&e[n-l]===u[o-l];l++);return ka=u.slice(t,1<l?1-l:void 0)}function wa(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 Ra(){return!0}function As(){return!1}function be(t){function e(n,l,u,o,d){this._reactName=n,this._targetInst=u,this.type=l,this.nativeEvent=o,this.target=d,this.currentTarget=null;for(var y in t)t.hasOwnProperty(y)&&(n=t[y],this[y]=n?n(o):o[y]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ra:As,this.isPropagationStopped=As,this}return x(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=Ra)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ra)},persist:function(){},isPersistent:Ra}),e}var al={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ja=be(al),Ai=x({},al,{view:0,detail:0}),Im=be(Ai),dr,pr,Ti,Ba=x({},Ai,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yr,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!==Ti&&(Ti&&t.type==="mousemove"?(dr=t.screenX-Ti.screenX,pr=t.screenY-Ti.screenY):pr=dr=0,Ti=t),dr)},movementY:function(t){return"movementY"in t?t.movementY:pr}}),Ts=be(Ba),Wm=x({},Ba,{dataTransfer:0}),$m=be(Wm),Pm=x({},Ai,{relatedTarget:0}),mr=be(Pm),ty=x({},al,{animationName:0,elapsedTime:0,pseudoElement:0}),ey=be(ty),ny=x({},al,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ly=be(ny),iy=x({},al,{data:0}),Cs=be(iy),ay={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uy={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"},ry={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cy(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ry[t])?!!e[t]:!1}function yr(){return cy}var oy=x({},Ai,{key:function(t){if(t.key){var e=ay[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=wa(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?uy[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yr,charCode:function(t){return t.type==="keypress"?wa(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?wa(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),sy=be(oy),fy=x({},Ba,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_s=be(fy),hy=x({},Ai,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yr}),dy=be(hy),py=x({},al,{propertyName:0,elapsedTime:0,pseudoElement:0}),my=be(py),yy=x({},Ba,{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}),gy=be(yy),vy=x({},al,{newState:0,oldState:0}),xy=be(vy),by=[9,13,27,32],gr=pn&&"CompositionEvent"in window,Ci=null;pn&&"documentMode"in document&&(Ci=document.documentMode);var Sy=pn&&"TextEvent"in window&&!Ci,Ds=pn&&(!gr||Ci&&8<Ci&&11>=Ci),Os=" ",Ms=!1;function Ns(t,e){switch(t){case"keyup":return by.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ks(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var jl=!1;function Ey(t,e){switch(t){case"compositionend":return ks(e);case"keypress":return e.which!==32?null:(Ms=!0,Os);case"textInput":return t=e.data,t===Os&&Ms?null:t;default:return null}}function zy(t,e){if(jl)return t==="compositionend"||!gr&&Ns(t,e)?(t=zs(),ka=hr=kn=null,jl=!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 Ds&&e.locale!=="ko"?null:e.data;default:return null}}var Ay={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 ws(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Ay[t.type]:e==="textarea"}function Rs(t,e,n,l){wl?Rl?Rl.push(l):Rl=[l]:wl=l,e=Tu(e,"onChange"),0<e.length&&(n=new ja("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var _i=null,Di=null;function Ty(t){gd(t,0)}function Ua(t){var e=Si(t);if(ms(e))return t}function js(t,e){if(t==="change")return e}var Bs=!1;if(pn){var vr;if(pn){var xr="oninput"in document;if(!xr){var Us=document.createElement("div");Us.setAttribute("oninput","return;"),xr=typeof Us.oninput=="function"}vr=xr}else vr=!1;Bs=vr&&(!document.documentMode||9<document.documentMode)}function Hs(){_i&&(_i.detachEvent("onpropertychange",Ls),Di=_i=null)}function Ls(t){if(t.propertyName==="value"&&Ua(Di)){var e=[];Rs(e,Di,t,or(t)),Es(Ty,e)}}function Cy(t,e,n){t==="focusin"?(Hs(),_i=e,Di=n,_i.attachEvent("onpropertychange",Ls)):t==="focusout"&&Hs()}function _y(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ua(Di)}function Dy(t,e){if(t==="click")return Ua(e)}function Oy(t,e){if(t==="input"||t==="change")return Ua(e)}function My(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Me=typeof Object.is=="function"?Object.is:My;function Oi(t,e){if(Me(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var u=n[l];if(!Al.call(e,u)||!Me(t[u],e[u]))return!1}return!0}function qs(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ys(t,e){var n=qs(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=qs(n)}}function Vs(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Vs(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Xs(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ma(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=Ma(t.document)}return e}function br(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 Ny=pn&&"documentMode"in document&&11>=document.documentMode,Bl=null,Sr=null,Mi=null,Er=!1;function Gs(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Er||Bl==null||Bl!==Ma(l)||(l=Bl,"selectionStart"in l&&br(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Mi&&Oi(Mi,l)||(Mi=l,l=Tu(Sr,"onSelect"),0<l.length&&(e=new ja("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Bl)))}function ul(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ul={animationend:ul("Animation","AnimationEnd"),animationiteration:ul("Animation","AnimationIteration"),animationstart:ul("Animation","AnimationStart"),transitionrun:ul("Transition","TransitionRun"),transitionstart:ul("Transition","TransitionStart"),transitioncancel:ul("Transition","TransitionCancel"),transitionend:ul("Transition","TransitionEnd")},zr={},Qs={};pn&&(Qs=document.createElement("div").style,"AnimationEvent"in window||(delete Ul.animationend.animation,delete Ul.animationiteration.animation,delete Ul.animationstart.animation),"TransitionEvent"in window||delete Ul.transitionend.transition);function rl(t){if(zr[t])return zr[t];if(!Ul[t])return t;var e=Ul[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Qs)return zr[t]=e[n];return t}var Zs=rl("animationend"),Ks=rl("animationiteration"),Fs=rl("animationstart"),ky=rl("transitionrun"),wy=rl("transitionstart"),Ry=rl("transitioncancel"),Js=rl("transitionend"),Is=new Map,Ar="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(" ");Ar.push("scrollEnd");function $e(t,e){Is.set(t,e),il(e,[t])}var Ha=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)},Ve=[],Hl=0,Tr=0;function La(){for(var t=Hl,e=Tr=Hl=0;e<t;){var n=Ve[e];Ve[e++]=null;var l=Ve[e];Ve[e++]=null;var u=Ve[e];Ve[e++]=null;var o=Ve[e];if(Ve[e++]=null,l!==null&&u!==null){var d=l.pending;d===null?u.next=u:(u.next=d.next,d.next=u),l.pending=u}o!==0&&Ws(n,u,o)}}function qa(t,e,n,l){Ve[Hl++]=t,Ve[Hl++]=e,Ve[Hl++]=n,Ve[Hl++]=l,Tr|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Cr(t,e,n,l){return qa(t,e,n,l),Ya(t)}function cl(t,e){return qa(t,null,null,e),Ya(t)}function Ws(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var u=!1,o=t.return;o!==null;)o.childLanes|=n,l=o.alternate,l!==null&&(l.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(u=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,u&&e!==null&&(u=31-qt(n),t=o.hiddenUpdates,l=t[u],l===null?t[u]=[e]:l.push(e),e.lane=n|536870912),o):null}function Ya(t){if(50<$i)throw $i=0,jc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ll={};function jy(t,e,n,l){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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(t,e,n,l){return new jy(t,e,n,l)}function _r(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mn(t,e){var n=t.alternate;return n===null?(n=Ne(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 $s(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 Va(t,e,n,l,u,o){var d=0;if(l=t,typeof t=="function")_r(t)&&(d=1);else if(typeof t=="string")d=qg(t,n,et.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ct:return t=Ne(31,n,e,u),t.elementType=ct,t.lanes=o,t;case G:return ol(n.children,u,o,e);case F:d=8,u|=24;break;case B:return t=Ne(12,n,e,u|2),t.elementType=B,t.lanes=o,t;case ht:return t=Ne(13,n,e,u),t.elementType=ht,t.lanes=o,t;case j:return t=Ne(19,n,e,u),t.elementType=j,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Z:d=10;break t;case P:d=9;break t;case I:d=11;break t;case nt:d=14;break t;case ot:d=16,l=null;break t}d=29,n=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ne(d,n,e,u),e.elementType=t,e.type=l,e.lanes=o,e}function ol(t,e,n,l){return t=Ne(7,t,l,e),t.lanes=n,t}function Dr(t,e,n){return t=Ne(6,t,null,e),t.lanes=n,t}function Ps(t){var e=Ne(18,null,null,0);return e.stateNode=t,e}function Or(t,e,n){return e=Ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var tf=new WeakMap;function Xe(t,e){if(typeof t=="object"&&t!==null){var n=tf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:za(e)},tf.set(t,e),e)}return{value:t,source:e,stack:za(e)}}var ql=[],Yl=0,Xa=null,Ni=0,Ge=[],Qe=0,wn=null,en=1,nn="";function yn(t,e){ql[Yl++]=Ni,ql[Yl++]=Xa,Xa=t,Ni=e}function ef(t,e,n){Ge[Qe++]=en,Ge[Qe++]=nn,Ge[Qe++]=wn,wn=t;var l=en;t=nn;var u=32-qt(l)-1;l&=~(1<<u),n+=1;var o=32-qt(e)+u;if(30<o){var d=u-u%5;o=(l&(1<<d)-1).toString(32),l>>=d,u-=d,en=1<<32-qt(e)+u|n<<u|l,nn=o+t}else en=1<<o|n<<u|l,nn=t}function Mr(t){t.return!==null&&(yn(t,1),ef(t,1,0))}function Nr(t){for(;t===Xa;)Xa=ql[--Yl],ql[Yl]=null,Ni=ql[--Yl],ql[Yl]=null;for(;t===wn;)wn=Ge[--Qe],Ge[Qe]=null,nn=Ge[--Qe],Ge[Qe]=null,en=Ge[--Qe],Ge[Qe]=null}function nf(t,e){Ge[Qe++]=en,Ge[Qe++]=nn,Ge[Qe++]=wn,en=e.id,nn=e.overflow,wn=t}var ce=null,Gt=null,Dt=!1,Rn=null,Ze=!1,kr=Error(c(519));function jn(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ki(Xe(e,t)),kr}function lf(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[re]=t,e[xe]=l,n){case"dialog":At("cancel",e),At("close",e);break;case"iframe":case"object":case"embed":At("load",e);break;case"video":case"audio":for(n=0;n<ta.length;n++)At(ta[n],e);break;case"source":At("error",e);break;case"img":case"image":case"link":At("error",e),At("load",e);break;case"details":At("toggle",e);break;case"input":At("invalid",e),ys(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":At("invalid",e);break;case"textarea":At("invalid",e),vs(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||Sd(e.textContent,n)?(l.popover!=null&&(At("beforetoggle",e),At("toggle",e)),l.onScroll!=null&&At("scroll",e),l.onScrollEnd!=null&&At("scrollend",e),l.onClick!=null&&(e.onclick=dn),e=!0):e=!1,e||jn(t,!0)}function af(t){for(ce=t.return;ce;)switch(ce.tag){case 5:case 31:case 13:Ze=!1;return;case 27:case 3:Ze=!0;return;default:ce=ce.return}}function Vl(t){if(t!==ce)return!1;if(!Dt)return af(t),Dt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Ic(t.type,t.memoizedProps)),n=!n),n&&Gt&&jn(t),af(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Gt=Md(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Gt=Md(t)}else e===27?(e=Gt,Jn(t.type)?(t=eo,eo=null,Gt=t):Gt=e):Gt=ce?Fe(t.stateNode.nextSibling):null;return!0}function sl(){Gt=ce=null,Dt=!1}function wr(){var t=Rn;return t!==null&&(Ae===null?Ae=t:Ae.push.apply(Ae,t),Rn=null),t}function ki(t){Rn===null?Rn=[t]:Rn.push(t)}var Rr=T(null),fl=null,gn=null;function Bn(t,e,n){S(Rr,e._currentValue),e._currentValue=n}function vn(t){t._currentValue=Rr.current,U(Rr)}function jr(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function Br(t,e,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){var d=u.child;o=o.firstContext;t:for(;o!==null;){var y=o;o=u;for(var A=0;A<e.length;A++)if(y.context===e[A]){o.lanes|=n,y=o.alternate,y!==null&&(y.lanes|=n),jr(o.return,n,t),l||(d=null);break t}o=y.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(c(341));d.lanes|=n,o=d.alternate,o!==null&&(o.lanes|=n),jr(d,n,t),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===t){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function Xl(t,e,n,l){t=null;for(var u=e,o=!1;u!==null;){if(!o){if((u.flags&524288)!==0)o=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(c(387));if(d=d.memoizedProps,d!==null){var y=u.type;Me(u.pendingProps.value,d.value)||(t!==null?t.push(y):t=[y])}}else if(u===Tt.current){if(d=u.alternate,d===null)throw Error(c(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(aa):t=[aa])}u=u.return}t!==null&&Br(e,t,n,l),e.flags|=262144}function Ga(t){for(t=t.firstContext;t!==null;){if(!Me(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function hl(t){fl=t,gn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function oe(t){return uf(fl,t)}function Qa(t,e){return fl===null&&hl(t),uf(t,e)}function uf(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},gn===null){if(t===null)throw Error(c(308));gn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else gn=gn.next=e;return n}var By=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Uy=i.unstable_scheduleCallback,Hy=i.unstable_NormalPriority,$t={$$typeof:Z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ur(){return{controller:new By,data:new Map,refCount:0}}function wi(t){t.refCount--,t.refCount===0&&Uy(Hy,function(){t.controller.abort()})}var Ri=null,Hr=0,Gl=0,Ql=null;function Ly(t,e){if(Ri===null){var n=Ri=[];Hr=0,Gl=Yc(),Ql={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Hr++,e.then(rf,rf),e}function rf(){if(--Hr===0&&Ri!==null){Ql!==null&&(Ql.status="fulfilled");var t=Ri;Ri=null,Gl=0,Ql=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function qy(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(l.status="rejected",l.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),l}var cf=N.S;N.S=function(t,e){Qh=me(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Ly(t,e),cf!==null&&cf(t,e)};var dl=T(null);function Lr(){var t=dl.current;return t!==null?t:Yt.pooledCache}function Za(t,e){e===null?S(dl,dl.current):S(dl,e.pool)}function of(){var t=Lr();return t===null?null:{parent:$t._currentValue,pool:t}}var Zl=Error(c(460)),qr=Error(c(474)),Ka=Error(c(542)),Fa={then:function(){}};function sf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ff(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(dn,dn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,df(t),t;default:if(typeof e.status=="string")e.then(dn,dn);else{if(t=Yt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=l}},function(l){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,df(t),t}throw ml=e,Zl}}function pl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ml=n,Zl):n}}var ml=null;function hf(){if(ml===null)throw Error(c(459));var t=ml;return ml=null,t}function df(t){if(t===Zl||t===Ka)throw Error(c(483))}var Kl=null,ji=0;function Ja(t){var e=ji;return ji+=1,Kl===null&&(Kl=[]),ff(Kl,t,e)}function Bi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Ia(t,e){throw e.$$typeof===z?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function pf(t){function e(_,C){if(t){var D=_.deletions;D===null?(_.deletions=[C],_.flags|=16):D.push(C)}}function n(_,C){if(!t)return null;for(;C!==null;)e(_,C),C=C.sibling;return null}function l(_){for(var C=new Map;_!==null;)_.key!==null?C.set(_.key,_):C.set(_.index,_),_=_.sibling;return C}function u(_,C){return _=mn(_,C),_.index=0,_.sibling=null,_}function o(_,C,D){return _.index=D,t?(D=_.alternate,D!==null?(D=D.index,D<C?(_.flags|=67108866,C):D):(_.flags|=67108866,C)):(_.flags|=1048576,C)}function d(_){return t&&_.alternate===null&&(_.flags|=67108866),_}function y(_,C,D,L){return C===null||C.tag!==6?(C=Dr(D,_.mode,L),C.return=_,C):(C=u(C,D),C.return=_,C)}function A(_,C,D,L){var rt=D.type;return rt===G?R(_,C,D.props.children,L,D.key):C!==null&&(C.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===ot&&pl(rt)===C.type)?(C=u(C,D.props),Bi(C,D),C.return=_,C):(C=Va(D.type,D.key,D.props,null,_.mode,L),Bi(C,D),C.return=_,C)}function O(_,C,D,L){return C===null||C.tag!==4||C.stateNode.containerInfo!==D.containerInfo||C.stateNode.implementation!==D.implementation?(C=Or(D,_.mode,L),C.return=_,C):(C=u(C,D.children||[]),C.return=_,C)}function R(_,C,D,L,rt){return C===null||C.tag!==7?(C=ol(D,_.mode,L,rt),C.return=_,C):(C=u(C,D),C.return=_,C)}function q(_,C,D){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Dr(""+C,_.mode,D),C.return=_,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case b:return D=Va(C.type,C.key,C.props,null,_.mode,D),Bi(D,C),D.return=_,D;case Y:return C=Or(C,_.mode,D),C.return=_,C;case ot:return C=pl(C),q(_,C,D)}if(Q(C)||V(C))return C=ol(C,_.mode,D,null),C.return=_,C;if(typeof C.then=="function")return q(_,Ja(C),D);if(C.$$typeof===Z)return q(_,Qa(_,C),D);Ia(_,C)}return null}function k(_,C,D,L){var rt=C!==null?C.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return rt!==null?null:y(_,C,""+D,L);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case b:return D.key===rt?A(_,C,D,L):null;case Y:return D.key===rt?O(_,C,D,L):null;case ot:return D=pl(D),k(_,C,D,L)}if(Q(D)||V(D))return rt!==null?null:R(_,C,D,L,null);if(typeof D.then=="function")return k(_,C,Ja(D),L);if(D.$$typeof===Z)return k(_,C,Qa(_,D),L);Ia(_,D)}return null}function w(_,C,D,L,rt){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return _=_.get(D)||null,y(C,_,""+L,rt);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case b:return _=_.get(L.key===null?D:L.key)||null,A(C,_,L,rt);case Y:return _=_.get(L.key===null?D:L.key)||null,O(C,_,L,rt);case ot:return L=pl(L),w(_,C,D,L,rt)}if(Q(L)||V(L))return _=_.get(D)||null,R(C,_,L,rt,null);if(typeof L.then=="function")return w(_,C,D,Ja(L),rt);if(L.$$typeof===Z)return w(_,C,D,Qa(C,L),rt);Ia(C,L)}return null}function lt(_,C,D,L){for(var rt=null,Ot=null,it=C,xt=C=0,_t=null;it!==null&&xt<D.length;xt++){it.index>xt?(_t=it,it=null):_t=it.sibling;var Mt=k(_,it,D[xt],L);if(Mt===null){it===null&&(it=_t);break}t&&it&&Mt.alternate===null&&e(_,it),C=o(Mt,C,xt),Ot===null?rt=Mt:Ot.sibling=Mt,Ot=Mt,it=_t}if(xt===D.length)return n(_,it),Dt&&yn(_,xt),rt;if(it===null){for(;xt<D.length;xt++)it=q(_,D[xt],L),it!==null&&(C=o(it,C,xt),Ot===null?rt=it:Ot.sibling=it,Ot=it);return Dt&&yn(_,xt),rt}for(it=l(it);xt<D.length;xt++)_t=w(it,_,xt,D[xt],L),_t!==null&&(t&&_t.alternate!==null&&it.delete(_t.key===null?xt:_t.key),C=o(_t,C,xt),Ot===null?rt=_t:Ot.sibling=_t,Ot=_t);return t&&it.forEach(function(tl){return e(_,tl)}),Dt&&yn(_,xt),rt}function st(_,C,D,L){if(D==null)throw Error(c(151));for(var rt=null,Ot=null,it=C,xt=C=0,_t=null,Mt=D.next();it!==null&&!Mt.done;xt++,Mt=D.next()){it.index>xt?(_t=it,it=null):_t=it.sibling;var tl=k(_,it,Mt.value,L);if(tl===null){it===null&&(it=_t);break}t&&it&&tl.alternate===null&&e(_,it),C=o(tl,C,xt),Ot===null?rt=tl:Ot.sibling=tl,Ot=tl,it=_t}if(Mt.done)return n(_,it),Dt&&yn(_,xt),rt;if(it===null){for(;!Mt.done;xt++,Mt=D.next())Mt=q(_,Mt.value,L),Mt!==null&&(C=o(Mt,C,xt),Ot===null?rt=Mt:Ot.sibling=Mt,Ot=Mt);return Dt&&yn(_,xt),rt}for(it=l(it);!Mt.done;xt++,Mt=D.next())Mt=w(it,_,xt,Mt.value,L),Mt!==null&&(t&&Mt.alternate!==null&&it.delete(Mt.key===null?xt:Mt.key),C=o(Mt,C,xt),Ot===null?rt=Mt:Ot.sibling=Mt,Ot=Mt);return t&&it.forEach(function(Wg){return e(_,Wg)}),Dt&&yn(_,xt),rt}function Lt(_,C,D,L){if(typeof D=="object"&&D!==null&&D.type===G&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case b:t:{for(var rt=D.key;C!==null;){if(C.key===rt){if(rt=D.type,rt===G){if(C.tag===7){n(_,C.sibling),L=u(C,D.props.children),L.return=_,_=L;break t}}else if(C.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===ot&&pl(rt)===C.type){n(_,C.sibling),L=u(C,D.props),Bi(L,D),L.return=_,_=L;break t}n(_,C);break}else e(_,C);C=C.sibling}D.type===G?(L=ol(D.props.children,_.mode,L,D.key),L.return=_,_=L):(L=Va(D.type,D.key,D.props,null,_.mode,L),Bi(L,D),L.return=_,_=L)}return d(_);case Y:t:{for(rt=D.key;C!==null;){if(C.key===rt)if(C.tag===4&&C.stateNode.containerInfo===D.containerInfo&&C.stateNode.implementation===D.implementation){n(_,C.sibling),L=u(C,D.children||[]),L.return=_,_=L;break t}else{n(_,C);break}else e(_,C);C=C.sibling}L=Or(D,_.mode,L),L.return=_,_=L}return d(_);case ot:return D=pl(D),Lt(_,C,D,L)}if(Q(D))return lt(_,C,D,L);if(V(D)){if(rt=V(D),typeof rt!="function")throw Error(c(150));return D=rt.call(D),st(_,C,D,L)}if(typeof D.then=="function")return Lt(_,C,Ja(D),L);if(D.$$typeof===Z)return Lt(_,C,Qa(_,D),L);Ia(_,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,C!==null&&C.tag===6?(n(_,C.sibling),L=u(C,D),L.return=_,_=L):(n(_,C),L=Dr(D,_.mode,L),L.return=_,_=L),d(_)):n(_,C)}return function(_,C,D,L){try{ji=0;var rt=Lt(_,C,D,L);return Kl=null,rt}catch(it){if(it===Zl||it===Ka)throw it;var Ot=Ne(29,it,null,_.mode);return Ot.lanes=L,Ot.return=_,Ot}}}var yl=pf(!0),mf=pf(!1),Un=!1;function Yr(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vr(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 Hn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Nt&2)!==0){var u=l.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),l.pending=e,e=Ya(t),Ws(t,null,n),e}return qa(t,l,e,n),Ya(t)}function Ui(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,as(t,n)}}function Xr(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var u=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?u=o=d:o=o.next=d,n=n.next}while(n!==null);o===null?u=o=e:o=o.next=e}else u=o=e;n={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Gr=!1;function Hi(){if(Gr){var t=Ql;if(t!==null)throw t}}function Li(t,e,n,l){Gr=!1;var u=t.updateQueue;Un=!1;var o=u.firstBaseUpdate,d=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var A=y,O=A.next;A.next=null,d===null?o=O:d.next=O,d=A;var R=t.alternate;R!==null&&(R=R.updateQueue,y=R.lastBaseUpdate,y!==d&&(y===null?R.firstBaseUpdate=O:y.next=O,R.lastBaseUpdate=A))}if(o!==null){var q=u.baseState;d=0,R=O=A=null,y=o;do{var k=y.lane&-536870913,w=k!==y.lane;if(w?(Ct&k)===k:(l&k)===k){k!==0&&k===Gl&&(Gr=!0),R!==null&&(R=R.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var lt=t,st=y;k=e;var Lt=n;switch(st.tag){case 1:if(lt=st.payload,typeof lt=="function"){q=lt.call(Lt,q,k);break t}q=lt;break t;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=st.payload,k=typeof lt=="function"?lt.call(Lt,q,k):lt,k==null)break t;q=x({},q,k);break t;case 2:Un=!0}}k=y.callback,k!==null&&(t.flags|=64,w&&(t.flags|=8192),w=u.callbacks,w===null?u.callbacks=[k]:w.push(k))}else w={lane:k,tag:y.tag,payload:y.payload,callback:y.callback,next:null},R===null?(O=R=w,A=q):R=R.next=w,d|=k;if(y=y.next,y===null){if(y=u.shared.pending,y===null)break;w=y,y=w.next,w.next=null,u.lastBaseUpdate=w,u.shared.pending=null}}while(!0);R===null&&(A=q),u.baseState=A,u.firstBaseUpdate=O,u.lastBaseUpdate=R,o===null&&(u.shared.lanes=0),Gn|=d,t.lanes=d,t.memoizedState=q}}function yf(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function gf(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)yf(n[t],e)}var Fl=T(null),Wa=T(0);function vf(t,e){t=_n,S(Wa,t),S(Fl,e),_n=t|e.baseLanes}function Qr(){S(Wa,_n),S(Fl,Fl.current)}function Zr(){_n=Wa.current,U(Fl),U(Wa)}var ke=T(null),Ke=null;function qn(t){var e=t.alternate;S(It,It.current&1),S(ke,t),Ke===null&&(e===null||Fl.current!==null||e.memoizedState!==null)&&(Ke=t)}function Kr(t){S(It,It.current),S(ke,t),Ke===null&&(Ke=t)}function xf(t){t.tag===22?(S(It,It.current),S(ke,t),Ke===null&&(Ke=t)):Yn()}function Yn(){S(It,It.current),S(ke,ke.current)}function we(t){U(ke),Ke===t&&(Ke=null),U(It)}var It=T(0);function $a(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Pc(n)||to(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 xn=0,vt=null,Ut=null,Pt=null,Pa=!1,Jl=!1,gl=!1,tu=0,qi=0,Il=null,Yy=0;function Ft(){throw Error(c(321))}function Fr(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Me(t[n],e[n]))return!1;return!0}function Jr(t,e,n,l,u,o){return xn=o,vt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?nh:sc,gl=!1,o=n(l,u),gl=!1,Jl&&(o=Sf(e,n,l,u)),bf(t),o}function bf(t){N.H=Xi;var e=Ut!==null&&Ut.next!==null;if(xn=0,Pt=Ut=vt=null,Pa=!1,qi=0,Il=null,e)throw Error(c(300));t===null||te||(t=t.dependencies,t!==null&&Ga(t)&&(te=!0))}function Sf(t,e,n,l){vt=t;var u=0;do{if(Jl&&(Il=null),qi=0,Jl=!1,25<=u)throw Error(c(301));if(u+=1,Pt=Ut=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=lh,o=e(n,l)}while(Jl);return o}function Vy(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?Yi(e):e,t=t.useState()[0],(Ut!==null?Ut.memoizedState:null)!==t&&(vt.flags|=1024),e}function Ir(){var t=tu!==0;return tu=0,t}function Wr(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function $r(t){if(Pa){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Pa=!1}xn=0,Pt=Ut=vt=null,Jl=!1,qi=tu=0,Il=null}function ge(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?vt.memoizedState=Pt=t:Pt=Pt.next=t,Pt}function Wt(){if(Ut===null){var t=vt.alternate;t=t!==null?t.memoizedState:null}else t=Ut.next;var e=Pt===null?vt.memoizedState:Pt.next;if(e!==null)Pt=e,Ut=t;else{if(t===null)throw vt.alternate===null?Error(c(467)):Error(c(310));Ut=t,t={memoizedState:Ut.memoizedState,baseState:Ut.baseState,baseQueue:Ut.baseQueue,queue:Ut.queue,next:null},Pt===null?vt.memoizedState=Pt=t:Pt=Pt.next=t}return Pt}function eu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yi(t){var e=qi;return qi+=1,Il===null&&(Il=[]),t=ff(Il,t,e),e=vt,(Pt===null?e.memoizedState:Pt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?nh:sc),t}function nu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Yi(t);if(t.$$typeof===Z)return oe(t)}throw Error(c(438,String(t)))}function Pr(t){var e=null,n=vt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=vt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=eu(),vt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=pt;return e.index++,n}function bn(t,e){return typeof e=="function"?e(t):e}function lu(t){var e=Wt();return tc(e,Ut,t)}function tc(t,e,n){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var u=t.baseQueue,o=l.pending;if(o!==null){if(u!==null){var d=u.next;u.next=o.next,o.next=d}e.baseQueue=u=o,l.pending=null}if(o=t.baseState,u===null)t.memoizedState=o;else{e=u.next;var y=d=null,A=null,O=e,R=!1;do{var q=O.lane&-536870913;if(q!==O.lane?(Ct&q)===q:(xn&q)===q){var k=O.revertLane;if(k===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),q===Gl&&(R=!0);else if((xn&k)===k){O=O.next,k===Gl&&(R=!0);continue}else q={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},A===null?(y=A=q,d=o):A=A.next=q,vt.lanes|=k,Gn|=k;q=O.action,gl&&n(o,q),o=O.hasEagerState?O.eagerState:n(o,q)}else k={lane:q,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},A===null?(y=A=k,d=o):A=A.next=k,vt.lanes|=q,Gn|=q;O=O.next}while(O!==null&&O!==e);if(A===null?d=o:A.next=y,!Me(o,t.memoizedState)&&(te=!0,R&&(n=Ql,n!==null)))throw n;t.memoizedState=o,t.baseState=d,t.baseQueue=A,l.lastRenderedState=o}return u===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function ec(t){var e=Wt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var l=n.dispatch,u=n.pending,o=e.memoizedState;if(u!==null){n.pending=null;var d=u=u.next;do o=t(o,d.action),d=d.next;while(d!==u);Me(o,e.memoizedState)||(te=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,l]}function Ef(t,e,n){var l=vt,u=Wt(),o=Dt;if(o){if(n===void 0)throw Error(c(407));n=n()}else n=e();var d=!Me((Ut||u).memoizedState,n);if(d&&(u.memoizedState=n,te=!0),u=u.queue,ic(Tf.bind(null,l,u,t),[t]),u.getSnapshot!==e||d||Pt!==null&&Pt.memoizedState.tag&1){if(l.flags|=2048,Wl(9,{destroy:void 0},Af.bind(null,l,u,n,e),null),Yt===null)throw Error(c(349));o||(xn&127)!==0||zf(l,e,n)}return n}function zf(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=vt.updateQueue,e===null?(e=eu(),vt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Af(t,e,n,l){e.value=n,e.getSnapshot=l,Cf(e)&&_f(t)}function Tf(t,e,n){return n(function(){Cf(e)&&_f(t)})}function Cf(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Me(t,n)}catch{return!0}}function _f(t){var e=cl(t,2);e!==null&&Te(e,t,2)}function nc(t){var e=ge();if(typeof t=="function"){var n=t;if(t=n(),gl){ve(!0);try{n()}finally{ve(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:t},e}function Df(t,e,n,l){return t.baseState=n,tc(t,Ut,typeof l=="function"?l:bn)}function Xy(t,e,n,l,u){if(uu(t))throw Error(c(485));if(t=e.action,t!==null){var o={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){o.listeners.push(d)}};N.T!==null?n(!0):o.isTransition=!1,l(o),n=e.pending,n===null?(o.next=e.pending=o,Of(e,o)):(o.next=n.next,e.pending=n.next=o)}}function Of(t,e){var n=e.action,l=e.payload,u=t.state;if(e.isTransition){var o=N.T,d={};N.T=d;try{var y=n(u,l),A=N.S;A!==null&&A(d,y),Mf(t,e,y)}catch(O){lc(t,e,O)}finally{o!==null&&d.types!==null&&(o.types=d.types),N.T=o}}else try{o=n(u,l),Mf(t,e,o)}catch(O){lc(t,e,O)}}function Mf(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Nf(t,e,l)},function(l){return lc(t,e,l)}):Nf(t,e,n)}function Nf(t,e,n){e.status="fulfilled",e.value=n,kf(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Of(t,n)))}function lc(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,kf(e),e=e.next;while(e!==l)}t.action=null}function kf(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function wf(t,e){return e}function Rf(t,e){if(Dt){var n=Yt.formState;if(n!==null){t:{var l=vt;if(Dt){if(Gt){e:{for(var u=Gt,o=Ze;u.nodeType!==8;){if(!o){u=null;break e}if(u=Fe(u.nextSibling),u===null){u=null;break e}}o=u.data,u=o==="F!"||o==="F"?u:null}if(u){Gt=Fe(u.nextSibling),l=u.data==="F!";break t}}jn(l)}l=!1}l&&(e=n[0])}}return n=ge(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wf,lastRenderedState:e},n.queue=l,n=Pf.bind(null,vt,l),l.dispatch=n,l=nc(!1),o=oc.bind(null,vt,!1,l.queue),l=ge(),u={state:e,dispatch:null,action:t,pending:null},l.queue=u,n=Xy.bind(null,vt,u,o,n),u.dispatch=n,l.memoizedState=t,[e,n,!1]}function jf(t){var e=Wt();return Bf(e,Ut,t)}function Bf(t,e,n){if(e=tc(t,e,wf)[0],t=lu(bn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Yi(e)}catch(d){throw d===Zl?Ka:d}else l=e;e=Wt();var u=e.queue,o=u.dispatch;return n!==e.memoizedState&&(vt.flags|=2048,Wl(9,{destroy:void 0},Gy.bind(null,u,n),null)),[l,o,t]}function Gy(t,e){t.action=e}function Uf(t){var e=Wt(),n=Ut;if(n!==null)return Bf(e,n,t);Wt(),e=e.memoizedState,n=Wt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function Wl(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=vt.updateQueue,e===null&&(e=eu(),vt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Hf(){return Wt().memoizedState}function iu(t,e,n,l){var u=ge();vt.flags|=t,u.memoizedState=Wl(1|e,{destroy:void 0},n,l===void 0?null:l)}function au(t,e,n,l){var u=Wt();l=l===void 0?null:l;var o=u.memoizedState.inst;Ut!==null&&l!==null&&Fr(l,Ut.memoizedState.deps)?u.memoizedState=Wl(e,o,n,l):(vt.flags|=t,u.memoizedState=Wl(1|e,o,n,l))}function Lf(t,e){iu(8390656,8,t,e)}function ic(t,e){au(2048,8,t,e)}function Qy(t){vt.flags|=4;var e=vt.updateQueue;if(e===null)e=eu(),vt.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function qf(t){var e=Wt().memoizedState;return Qy({ref:e,nextImpl:t}),function(){if((Nt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function Yf(t,e){return au(4,2,t,e)}function Vf(t,e){return au(4,4,t,e)}function Xf(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 Gf(t,e,n){n=n!=null?n.concat([t]):null,au(4,4,Xf.bind(null,e,t),n)}function ac(){}function Qf(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Fr(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Zf(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Fr(e,l[1]))return l[0];if(l=t(),gl){ve(!0);try{t()}finally{ve(!1)}}return n.memoizedState=[l,e],l}function uc(t,e,n){return n===void 0||(xn&1073741824)!==0&&(Ct&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=Kh(),vt.lanes|=t,Gn|=t,n)}function Kf(t,e,n,l){return Me(n,e)?n:Fl.current!==null?(t=uc(t,n,l),Me(t,e)||(te=!0),t):(xn&42)===0||(xn&1073741824)!==0&&(Ct&261930)===0?(te=!0,t.memoizedState=n):(t=Kh(),vt.lanes|=t,Gn|=t,e)}function Ff(t,e,n,l,u){var o=K.p;K.p=o!==0&&8>o?o:8;var d=N.T,y={};N.T=y,oc(t,!1,e,n);try{var A=u(),O=N.S;if(O!==null&&O(y,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var R=qy(A,l);Vi(t,e,R,Be(t))}else Vi(t,e,l,Be(t))}catch(q){Vi(t,e,{then:function(){},status:"rejected",reason:q},Be())}finally{K.p=o,d!==null&&y.types!==null&&(d.types=y.types),N.T=d}}function Zy(){}function rc(t,e,n,l){if(t.tag!==5)throw Error(c(476));var u=Jf(t).queue;Ff(t,u,e,at,n===null?Zy:function(){return If(t),n(l)})}function Jf(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:bn,lastRenderedState:at},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function If(t){var e=Jf(t);e.next===null&&(e=t.alternate.memoizedState),Vi(t,e.next.queue,{},Be())}function cc(){return oe(aa)}function Wf(){return Wt().memoizedState}function $f(){return Wt().memoizedState}function Ky(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Be();t=Hn(n);var l=Ln(e,t,n);l!==null&&(Te(l,e,n),Ui(l,e,n)),e={cache:Ur()},t.payload=e;return}e=e.return}}function Fy(t,e,n){var l=Be();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},uu(t)?th(e,n):(n=Cr(t,e,n,l),n!==null&&(Te(n,t,l),eh(n,e,l)))}function Pf(t,e,n){var l=Be();Vi(t,e,n,l)}function Vi(t,e,n,l){var u={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(uu(t))th(e,u);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var d=e.lastRenderedState,y=o(d,n);if(u.hasEagerState=!0,u.eagerState=y,Me(y,d))return qa(t,e,u,0),Yt===null&&La(),!1}catch{}if(n=Cr(t,e,u,l),n!==null)return Te(n,t,l),eh(n,e,l),!0}return!1}function oc(t,e,n,l){if(l={lane:2,revertLane:Yc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},uu(t)){if(e)throw Error(c(479))}else e=Cr(t,n,l,2),e!==null&&Te(e,t,2)}function uu(t){var e=t.alternate;return t===vt||e!==null&&e===vt}function th(t,e){Jl=Pa=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function eh(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,as(t,n)}}var Xi={readContext:oe,use:nu,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useLayoutEffect:Ft,useInsertionEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useSyncExternalStore:Ft,useId:Ft,useHostTransitionStatus:Ft,useFormState:Ft,useActionState:Ft,useOptimistic:Ft,useMemoCache:Ft,useCacheRefresh:Ft};Xi.useEffectEvent=Ft;var nh={readContext:oe,use:nu,useCallback:function(t,e){return ge().memoizedState=[t,e===void 0?null:e],t},useContext:oe,useEffect:Lf,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,iu(4194308,4,Xf.bind(null,e,t),n)},useLayoutEffect:function(t,e){return iu(4194308,4,t,e)},useInsertionEffect:function(t,e){iu(4,2,t,e)},useMemo:function(t,e){var n=ge();e=e===void 0?null:e;var l=t();if(gl){ve(!0);try{t()}finally{ve(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ge();if(n!==void 0){var u=n(e);if(gl){ve(!0);try{n(e)}finally{ve(!1)}}}else u=e;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=Fy.bind(null,vt,t),[l.memoizedState,t]},useRef:function(t){var e=ge();return t={current:t},e.memoizedState=t},useState:function(t){t=nc(t);var e=t.queue,n=Pf.bind(null,vt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:ac,useDeferredValue:function(t,e){var n=ge();return uc(n,t,e)},useTransition:function(){var t=nc(!1);return t=Ff.bind(null,vt,t.queue,!0,!1),ge().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=vt,u=ge();if(Dt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Yt===null)throw Error(c(349));(Ct&127)!==0||zf(l,e,n)}u.memoizedState=n;var o={value:n,getSnapshot:e};return u.queue=o,Lf(Tf.bind(null,l,o,t),[t]),l.flags|=2048,Wl(9,{destroy:void 0},Af.bind(null,l,o,n,e),null),n},useId:function(){var t=ge(),e=Yt.identifierPrefix;if(Dt){var n=nn,l=en;n=(l&~(1<<32-qt(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=tu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Yy++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:cc,useFormState:Rf,useActionState:Rf,useOptimistic:function(t){var e=ge();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=oc.bind(null,vt,!0,n),n.dispatch=e,[t,e]},useMemoCache:Pr,useCacheRefresh:function(){return ge().memoizedState=Ky.bind(null,vt)},useEffectEvent:function(t){var e=ge(),n={impl:t};return e.memoizedState=n,function(){if((Nt&2)!==0)throw Error(c(440));return n.impl.apply(void 0,arguments)}}},sc={readContext:oe,use:nu,useCallback:Qf,useContext:oe,useEffect:ic,useImperativeHandle:Gf,useInsertionEffect:Yf,useLayoutEffect:Vf,useMemo:Zf,useReducer:lu,useRef:Hf,useState:function(){return lu(bn)},useDebugValue:ac,useDeferredValue:function(t,e){var n=Wt();return Kf(n,Ut.memoizedState,t,e)},useTransition:function(){var t=lu(bn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:Yi(t),e]},useSyncExternalStore:Ef,useId:Wf,useHostTransitionStatus:cc,useFormState:jf,useActionState:jf,useOptimistic:function(t,e){var n=Wt();return Df(n,Ut,t,e)},useMemoCache:Pr,useCacheRefresh:$f};sc.useEffectEvent=qf;var lh={readContext:oe,use:nu,useCallback:Qf,useContext:oe,useEffect:ic,useImperativeHandle:Gf,useInsertionEffect:Yf,useLayoutEffect:Vf,useMemo:Zf,useReducer:ec,useRef:Hf,useState:function(){return ec(bn)},useDebugValue:ac,useDeferredValue:function(t,e){var n=Wt();return Ut===null?uc(n,t,e):Kf(n,Ut.memoizedState,t,e)},useTransition:function(){var t=ec(bn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:Yi(t),e]},useSyncExternalStore:Ef,useId:Wf,useHostTransitionStatus:cc,useFormState:Uf,useActionState:Uf,useOptimistic:function(t,e){var n=Wt();return Ut!==null?Df(n,Ut,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Pr,useCacheRefresh:$f};lh.useEffectEvent=qf;function fc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:x({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var hc={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Be(),u=Hn(l);u.payload=e,n!=null&&(u.callback=n),e=Ln(t,u,l),e!==null&&(Te(e,t,l),Ui(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Be(),u=Hn(l);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Ln(t,u,l),e!==null&&(Te(e,t,l),Ui(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Be(),l=Hn(n);l.tag=2,e!=null&&(l.callback=e),e=Ln(t,l,n),e!==null&&(Te(e,t,n),Ui(e,t,n))}};function ih(t,e,n,l,u,o,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,d):e.prototype&&e.prototype.isPureReactComponent?!Oi(n,l)||!Oi(u,o):!0}function ah(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&hc.enqueueReplaceState(e,e.state,null)}function vl(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=x({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function uh(t){Ha(t)}function rh(t){console.error(t)}function ch(t){Ha(t)}function ru(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function oh(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function dc(t,e,n){return n=Hn(n),n.tag=3,n.payload={element:null},n.callback=function(){ru(t,e)},n}function sh(t){return t=Hn(t),t.tag=3,t}function fh(t,e,n,l){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var o=l.value;t.payload=function(){return u(o)},t.callback=function(){oh(e,n,l)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){oh(e,n,l),typeof u!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var y=l.stack;this.componentDidCatch(l.value,{componentStack:y!==null?y:""})})}function Jy(t,e,n,l,u){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Xl(e,n,u,!0),n=ke.current,n!==null){switch(n.tag){case 31:case 13:return Ke===null?xu():n.alternate===null&&Jt===0&&(Jt=3),n.flags&=-257,n.flags|=65536,n.lanes=u,l===Fa?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),Hc(t,l,u)),!1;case 22:return n.flags|=65536,l===Fa?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),Hc(t,l,u)),!1}throw Error(c(435,n.tag))}return Hc(t,l,u),xu(),!1}if(Dt)return e=ke.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,l!==kr&&(t=Error(c(422),{cause:l}),ki(Xe(t,n)))):(l!==kr&&(e=Error(c(423),{cause:l}),ki(Xe(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=Xe(l,n),u=dc(t.stateNode,l,u),Xr(t,u),Jt!==4&&(Jt=2)),!1;var o=Error(c(520),{cause:l});if(o=Xe(o,n),Wi===null?Wi=[o]:Wi.push(o),Jt!==4&&(Jt=2),e===null)return!0;l=Xe(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=dc(n.stateNode,l,t),Xr(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Qn===null||!Qn.has(o))))return n.flags|=65536,u&=-u,n.lanes|=u,u=sh(u),fh(u,t,n,l),Xr(n,u),!1}n=n.return}while(n!==null);return!1}var pc=Error(c(461)),te=!1;function se(t,e,n,l){e.child=t===null?mf(e,null,n,l):yl(e,t.child,n,l)}function hh(t,e,n,l,u){n=n.render;var o=e.ref;if("ref"in l){var d={};for(var y in l)y!=="ref"&&(d[y]=l[y])}else d=l;return hl(e),l=Jr(t,e,n,d,o,u),y=Ir(),t!==null&&!te?(Wr(t,e,u),Sn(t,e,u)):(Dt&&y&&Mr(e),e.flags|=1,se(t,e,l,u),e.child)}function dh(t,e,n,l,u){if(t===null){var o=n.type;return typeof o=="function"&&!_r(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,ph(t,e,o,l,u)):(t=Va(n.type,null,l,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!Ec(t,u)){var d=o.memoizedProps;if(n=n.compare,n=n!==null?n:Oi,n(d,l)&&t.ref===e.ref)return Sn(t,e,u)}return e.flags|=1,t=mn(o,l),t.ref=e.ref,t.return=e,e.child=t}function ph(t,e,n,l,u){if(t!==null){var o=t.memoizedProps;if(Oi(o,l)&&t.ref===e.ref)if(te=!1,e.pendingProps=l=o,Ec(t,u))(t.flags&131072)!==0&&(te=!0);else return e.lanes=t.lanes,Sn(t,e,u)}return mc(t,e,n,l,u)}function mh(t,e,n,l){var u=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){for(l=e.child=t.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~o}else l=0,e.child=null;return yh(t,e,o,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Za(e,o!==null?o.cachePool:null),o!==null?vf(e,o):Qr(),xf(e);else return l=e.lanes=536870912,yh(t,e,o!==null?o.baseLanes|n:n,n,l)}else o!==null?(Za(e,o.cachePool),vf(e,o),Yn(),e.memoizedState=null):(t!==null&&Za(e,null),Qr(),Yn());return se(t,e,u,n),e.child}function Gi(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function yh(t,e,n,l,u){var o=Lr();return o=o===null?null:{parent:$t._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&Za(e,null),Qr(),xf(e),t!==null&&Xl(t,e,l,!0),e.childLanes=u,null}function cu(t,e){return e=su({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function gh(t,e,n){return yl(e,t.child,null,n),t=cu(e,e.pendingProps),t.flags|=2,we(e),e.memoizedState=null,t}function Iy(t,e,n){var l=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Dt){if(l.mode==="hidden")return t=cu(e,l),e.lanes=536870912,Gi(null,t);if(Kr(e),(t=Gt)?(t=Od(t,Ze),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:wn!==null?{id:en,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},n=Ps(t),n.return=e,e.child=n,ce=e,Gt=null)):t=null,t===null)throw jn(e);return e.lanes=536870912,null}return cu(e,l)}var o=t.memoizedState;if(o!==null){var d=o.dehydrated;if(Kr(e),u)if(e.flags&256)e.flags&=-257,e=gh(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(te||Xl(t,e,n,!1),u=(n&t.childLanes)!==0,te||u){if(l=Yt,l!==null&&(d=us(l,n),d!==0&&d!==o.retryLane))throw o.retryLane=d,cl(t,d),Te(l,t,d),pc;xu(),e=gh(t,e,n)}else t=o.treeContext,Gt=Fe(d.nextSibling),ce=e,Dt=!0,Rn=null,Ze=!1,t!==null&&nf(e,t),e=cu(e,l),e.flags|=4096;return e}return t=mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ou(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(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function mc(t,e,n,l,u){return hl(e),n=Jr(t,e,n,l,void 0,u),l=Ir(),t!==null&&!te?(Wr(t,e,u),Sn(t,e,u)):(Dt&&l&&Mr(e),e.flags|=1,se(t,e,n,u),e.child)}function vh(t,e,n,l,u,o){return hl(e),e.updateQueue=null,n=Sf(e,l,n,u),bf(t),l=Ir(),t!==null&&!te?(Wr(t,e,o),Sn(t,e,o)):(Dt&&l&&Mr(e),e.flags|=1,se(t,e,n,o),e.child)}function xh(t,e,n,l,u){if(hl(e),e.stateNode===null){var o=Ll,d=n.contextType;typeof d=="object"&&d!==null&&(o=oe(d)),o=new n(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=hc,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},Yr(e),d=n.contextType,o.context=typeof d=="object"&&d!==null?oe(d):Ll,o.state=e.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(fc(e,n,d,l),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(d=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),d!==o.state&&hc.enqueueReplaceState(o,o.state,null),Li(e,l,o,u),Hi(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var y=e.memoizedProps,A=vl(n,y);o.props=A;var O=o.context,R=n.contextType;d=Ll,typeof R=="object"&&R!==null&&(d=oe(R));var q=n.getDerivedStateFromProps;R=typeof q=="function"||typeof o.getSnapshotBeforeUpdate=="function",y=e.pendingProps!==y,R||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(y||O!==d)&&ah(e,o,l,d),Un=!1;var k=e.memoizedState;o.state=k,Li(e,l,o,u),Hi(),O=e.memoizedState,y||k!==O||Un?(typeof q=="function"&&(fc(e,n,q,l),O=e.memoizedState),(A=Un||ih(e,n,A,l,k,O,d))?(R||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=O),o.props=l,o.state=O,o.context=d,l=A):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,Vr(t,e),d=e.memoizedProps,R=vl(n,d),o.props=R,q=e.pendingProps,k=o.context,O=n.contextType,A=Ll,typeof O=="object"&&O!==null&&(A=oe(O)),y=n.getDerivedStateFromProps,(O=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(d!==q||k!==A)&&ah(e,o,l,A),Un=!1,k=e.memoizedState,o.state=k,Li(e,l,o,u),Hi();var w=e.memoizedState;d!==q||k!==w||Un||t!==null&&t.dependencies!==null&&Ga(t.dependencies)?(typeof y=="function"&&(fc(e,n,y,l),w=e.memoizedState),(R=Un||ih(e,n,R,l,k,w,A)||t!==null&&t.dependencies!==null&&Ga(t.dependencies))?(O||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,w,A),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,w,A)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=w),o.props=l,o.state=w,o.context=A,l=R):(typeof o.componentDidUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&k===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,ou(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=yl(e,t.child,null,u),e.child=yl(e,null,n,u)):se(t,e,n,u),e.memoizedState=o.state,t=e.child):t=Sn(t,e,u),t}function bh(t,e,n,l){return sl(),e.flags|=256,se(t,e,n,l),e.child}var yc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gc(t){return{baseLanes:t,cachePool:of()}}function vc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=je),t}function Sh(t,e,n){var l=e.pendingProps,u=!1,o=(e.flags&128)!==0,d;if((d=o)||(d=t!==null&&t.memoizedState===null?!1:(It.current&2)!==0),d&&(u=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(Dt){if(u?qn(e):Yn(),(t=Gt)?(t=Od(t,Ze),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:wn!==null?{id:en,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},n=Ps(t),n.return=e,e.child=n,ce=e,Gt=null)):t=null,t===null)throw jn(e);return to(t)?e.lanes=32:e.lanes=536870912,null}var y=l.children;return l=l.fallback,u?(Yn(),u=e.mode,y=su({mode:"hidden",children:y},u),l=ol(l,u,n,null),y.return=e,l.return=e,y.sibling=l,e.child=y,l=e.child,l.memoizedState=gc(n),l.childLanes=vc(t,d,n),e.memoizedState=yc,Gi(null,l)):(qn(e),xc(e,y))}var A=t.memoizedState;if(A!==null&&(y=A.dehydrated,y!==null)){if(o)e.flags&256?(qn(e),e.flags&=-257,e=bc(t,e,n)):e.memoizedState!==null?(Yn(),e.child=t.child,e.flags|=128,e=null):(Yn(),y=l.fallback,u=e.mode,l=su({mode:"visible",children:l.children},u),y=ol(y,u,n,null),y.flags|=2,l.return=e,y.return=e,l.sibling=y,e.child=l,yl(e,t.child,null,n),l=e.child,l.memoizedState=gc(n),l.childLanes=vc(t,d,n),e.memoizedState=yc,e=Gi(null,l));else if(qn(e),to(y)){if(d=y.nextSibling&&y.nextSibling.dataset,d)var O=d.dgst;d=O,l=Error(c(419)),l.stack="",l.digest=d,ki({value:l,source:null,stack:null}),e=bc(t,e,n)}else if(te||Xl(t,e,n,!1),d=(n&t.childLanes)!==0,te||d){if(d=Yt,d!==null&&(l=us(d,n),l!==0&&l!==A.retryLane))throw A.retryLane=l,cl(t,l),Te(d,t,l),pc;Pc(y)||xu(),e=bc(t,e,n)}else Pc(y)?(e.flags|=192,e.child=t.child,e=null):(t=A.treeContext,Gt=Fe(y.nextSibling),ce=e,Dt=!0,Rn=null,Ze=!1,t!==null&&nf(e,t),e=xc(e,l.children),e.flags|=4096);return e}return u?(Yn(),y=l.fallback,u=e.mode,A=t.child,O=A.sibling,l=mn(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,O!==null?y=mn(O,y):(y=ol(y,u,n,null),y.flags|=2),y.return=e,l.return=e,l.sibling=y,e.child=l,Gi(null,l),l=e.child,y=t.child.memoizedState,y===null?y=gc(n):(u=y.cachePool,u!==null?(A=$t._currentValue,u=u.parent!==A?{parent:A,pool:A}:u):u=of(),y={baseLanes:y.baseLanes|n,cachePool:u}),l.memoizedState=y,l.childLanes=vc(t,d,n),e.memoizedState=yc,Gi(t.child,l)):(qn(e),n=t.child,t=n.sibling,n=mn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=n,e.memoizedState=null,n)}function xc(t,e){return e=su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function su(t,e){return t=Ne(22,t,null,e),t.lanes=0,t}function bc(t,e,n){return yl(e,t.child,null,n),t=xc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Eh(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),jr(t.return,e,n)}function Sc(t,e,n,l,u,o){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:u,treeForkCount:o}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=n,d.tailMode=u,d.treeForkCount=o)}function zh(t,e,n){var l=e.pendingProps,u=l.revealOrder,o=l.tail;l=l.children;var d=It.current,y=(d&2)!==0;if(y?(d=d&1|2,e.flags|=128):d&=1,S(It,d),se(t,e,l,n),l=Dt?Ni:0,!y&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Eh(t,n,e);else if(t.tag===19)Eh(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&&$a(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),Sc(e,!1,u,n,o,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&$a(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}Sc(e,!0,n,null,o,l);break;case"together":Sc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function Sn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Gn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Xl(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=mn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=mn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Ec(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ga(t)))}function Wy(t,e,n){switch(e.tag){case 3:Zt(e,e.stateNode.containerInfo),Bn(e,$t,t.memoizedState.cache),sl();break;case 27:case 5:Le(e);break;case 4:Zt(e,e.stateNode.containerInfo);break;case 10:Bn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Kr(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(qn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Sh(t,e,n):(qn(e),t=Sn(t,e,n),t!==null?t.sibling:null);qn(e);break;case 19:var u=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Xl(t,e,n,!1),l=(n&e.childLanes)!==0),u){if(l)return zh(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),S(It,It.current),l)break;return null;case 22:return e.lanes=0,mh(t,e,n,e.pendingProps);case 24:Bn(e,$t,t.memoizedState.cache)}return Sn(t,e,n)}function Ah(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)te=!0;else{if(!Ec(t,n)&&(e.flags&128)===0)return te=!1,Wy(t,e,n);te=(t.flags&131072)!==0}else te=!1,Dt&&(e.flags&1048576)!==0&&ef(e,Ni,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=pl(e.elementType),e.type=t,typeof t=="function")_r(t)?(l=vl(t,l),e.tag=1,e=xh(null,e,t,l,n)):(e.tag=0,e=mc(null,e,t,l,n));else{if(t!=null){var u=t.$$typeof;if(u===I){e.tag=11,e=hh(null,e,t,l,n);break t}else if(u===nt){e.tag=14,e=dh(null,e,t,l,n);break t}}throw e=W(t)||t,Error(c(306,e,""))}}return e;case 0:return mc(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,u=vl(l,e.pendingProps),xh(t,e,l,u,n);case 3:t:{if(Zt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var o=e.memoizedState;u=o.element,Vr(t,e),Li(e,l,null,n);var d=e.memoizedState;if(l=d.cache,Bn(e,$t,l),l!==o.cache&&Br(e,[$t],n,!0),Hi(),l=d.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=bh(t,e,l,n);break t}else if(l!==u){u=Xe(Error(c(424)),e),ki(u),e=bh(t,e,l,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Gt=Fe(t.firstChild),ce=e,Dt=!0,Rn=null,Ze=!0,n=mf(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sl(),l===u){e=Sn(t,e,n);break t}se(t,e,l,n)}e=e.child}return e;case 26:return ou(t,e),t===null?(n=jd(e.type,null,e.pendingProps,null))?e.memoizedState=n:Dt||(n=e.type,t=e.pendingProps,l=Cu(ut.current).createElement(n),l[re]=e,l[xe]=t,fe(l,n,t),ae(l),e.stateNode=l):e.memoizedState=jd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Le(e),t===null&&Dt&&(l=e.stateNode=kd(e.type,e.pendingProps,ut.current),ce=e,Ze=!0,u=Gt,Jn(e.type)?(eo=u,Gt=Fe(l.firstChild)):Gt=u),se(t,e,e.pendingProps.children,n),ou(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Dt&&((u=l=Gt)&&(l=_g(l,e.type,e.pendingProps,Ze),l!==null?(e.stateNode=l,ce=e,Gt=Fe(l.firstChild),Ze=!1,u=!0):u=!1),u||jn(e)),Le(e),u=e.type,o=e.pendingProps,d=t!==null?t.memoizedProps:null,l=o.children,Ic(u,o)?l=null:d!==null&&Ic(u,d)&&(e.flags|=32),e.memoizedState!==null&&(u=Jr(t,e,Vy,null,null,n),aa._currentValue=u),ou(t,e),se(t,e,l,n),e.child;case 6:return t===null&&Dt&&((t=n=Gt)&&(n=Dg(n,e.pendingProps,Ze),n!==null?(e.stateNode=n,ce=e,Gt=null,t=!0):t=!1),t||jn(e)),null;case 13:return Sh(t,e,n);case 4:return Zt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=yl(e,null,l,n):se(t,e,l,n),e.child;case 11:return hh(t,e,e.type,e.pendingProps,n);case 7:return se(t,e,e.pendingProps,n),e.child;case 8:return se(t,e,e.pendingProps.children,n),e.child;case 12:return se(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Bn(e,e.type,l.value),se(t,e,l.children,n),e.child;case 9:return u=e.type._context,l=e.pendingProps.children,hl(e),u=oe(u),l=l(u),e.flags|=1,se(t,e,l,n),e.child;case 14:return dh(t,e,e.type,e.pendingProps,n);case 15:return ph(t,e,e.type,e.pendingProps,n);case 19:return zh(t,e,n);case 31:return Iy(t,e,n);case 22:return mh(t,e,n,e.pendingProps);case 24:return hl(e),l=oe($t),t===null?(u=Lr(),u===null&&(u=Yt,o=Ur(),u.pooledCache=o,o.refCount++,o!==null&&(u.pooledCacheLanes|=n),u=o),e.memoizedState={parent:l,cache:u},Yr(e),Bn(e,$t,u)):((t.lanes&n)!==0&&(Vr(t,e),Li(e,null,null,n),Hi()),u=t.memoizedState,o=e.memoizedState,u.parent!==l?(u={parent:l,cache:l},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Bn(e,$t,l)):(l=o.cache,Bn(e,$t,l),l!==u.cache&&Br(e,[$t],n,!0))),se(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function En(t){t.flags|=4}function zc(t,e,n,l,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(Wh())t.flags|=8192;else throw ml=Fa,qr}else t.flags&=-16777217}function Th(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!qd(e))if(Wh())t.flags|=8192;else throw ml=Fa,qr}function fu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ls():536870912,t.lanes|=e,ei|=e)}function Qi(t,e){if(!Dt)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 l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Qt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function $y(t,e,n){var l=e.pendingProps;switch(Nr(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qt(e),null;case 1:return Qt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),vn($t),Bt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Vl(e)?En(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,wr())),Qt(e),null;case 26:var u=e.type,o=e.memoizedState;return t===null?(En(e),o!==null?(Qt(e),Th(e,o)):(Qt(e),zc(e,u,null,l,n))):o?o!==t.memoizedState?(En(e),Qt(e),Th(e,o)):(Qt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&En(e),Qt(e),zc(e,u,t,l,n)),null;case 27:if(on(e),n=ut.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Qt(e),null}t=et.current,Vl(e)?lf(e):(t=kd(u,l,n),e.stateNode=t,En(e))}return Qt(e),null;case 5:if(on(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Qt(e),null}if(o=et.current,Vl(e))lf(e);else{var d=Cu(ut.current);switch(o){case 1:o=d.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:o=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":o=d.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":o=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":o=d.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?d.createElement(u,{is:l.is}):d.createElement(u)}}o[re]=e,o[xe]=l;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)o.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=o;t:switch(fe(o,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&En(e)}}return Qt(e),zc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=ut.current,Vl(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,u=ce,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}t[re]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Sd(t.nodeValue,n)),t||jn(e,!0)}else t=Cu(t).createTextNode(l),t[re]=e,e.stateNode=t}return Qt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=Vl(e),n!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[re]=e}else sl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Qt(e),t=!1}else n=wr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(we(e),e):(we(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Qt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Vl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!u)throw Error(c(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(c(317));u[re]=e}else sl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Qt(e),u=!1}else u=wr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(we(e),e):(we(e),null)}return we(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==u&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),fu(e,e.updateQueue),Qt(e),null);case 4:return Bt(),t===null&&Qc(e.stateNode.containerInfo),Qt(e),null;case 10:return vn(e.type),Qt(e),null;case 19:if(U(It),l=e.memoizedState,l===null)return Qt(e),null;if(u=(e.flags&128)!==0,o=l.rendering,o===null)if(u)Qi(l,!1);else{if(Jt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=$a(t),o!==null){for(e.flags|=128,Qi(l,!1),t=o.updateQueue,e.updateQueue=t,fu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)$s(n,t),n=n.sibling;return S(It,It.current&1|2),Dt&&yn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&me()>yu&&(e.flags|=128,u=!0,Qi(l,!1),e.lanes=4194304)}else{if(!u)if(t=$a(o),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,fu(e,t),Qi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!Dt)return Qt(e),null}else 2*me()-l.renderingStartTime>yu&&n!==536870912&&(e.flags|=128,u=!0,Qi(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=me(),t.sibling=null,n=It.current,S(It,u?n&1|2:n&1),Dt&&yn(e,l.treeForkCount),t):(Qt(e),null);case 22:case 23:return we(e),Zr(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Qt(e),e.subtreeFlags&6&&(e.flags|=8192)):Qt(e),n=e.updateQueue,n!==null&&fu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&U(dl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),vn($t),Qt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Py(t,e){switch(Nr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return vn($t),Bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return on(e),null;case 31:if(e.memoizedState!==null){if(we(e),e.alternate===null)throw Error(c(340));sl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(we(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));sl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return U(It),null;case 4:return Bt(),null;case 10:return vn(e.type),null;case 22:case 23:return we(e),Zr(),t!==null&&U(dl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return vn($t),null;case 25:return null;default:return null}}function Ch(t,e){switch(Nr(e),e.tag){case 3:vn($t),Bt();break;case 26:case 27:case 5:on(e);break;case 4:Bt();break;case 31:e.memoizedState!==null&&we(e);break;case 13:we(e);break;case 19:U(It);break;case 10:vn(e.type);break;case 22:case 23:we(e),Zr(),t!==null&&U(dl);break;case 24:vn($t)}}function Zi(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var u=l.next;n=u;do{if((n.tag&t)===t){l=void 0;var o=n.create,d=n.inst;l=o(),d.destroy=l}n=n.next}while(n!==u)}}catch(y){jt(e,e.return,y)}}function Vn(t,e,n){try{var l=e.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var o=u.next;l=o;do{if((l.tag&t)===t){var d=l.inst,y=d.destroy;if(y!==void 0){d.destroy=void 0,u=e;var A=n,O=y;try{O()}catch(R){jt(u,A,R)}}}l=l.next}while(l!==o)}}catch(R){jt(e,e.return,R)}}function _h(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{gf(e,n)}catch(l){jt(t,t.return,l)}}}function Dh(t,e,n){n.props=vl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){jt(t,e,l)}}function Ki(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(u){jt(t,e,u)}}function ln(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(u){jt(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){jt(t,e,u)}else n.current=null}function Oh(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(u){jt(t,t.return,u)}}function Ac(t,e,n){try{var l=t.stateNode;Sg(l,t.type,n,e),l[xe]=e}catch(u){jt(t,t.return,u)}}function Mh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Jn(t.type)||t.tag===4}function Tc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Mh(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 Cc(t,e,n){var l=t.tag;if(l===5||l===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=dn));else if(l!==4&&(l===27&&Jn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Cc(t,e,n),t=t.sibling;t!==null;)Cc(t,e,n),t=t.sibling}function hu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&Jn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(hu(t,e,n),t=t.sibling;t!==null;)hu(t,e,n),t=t.sibling}function Nh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);fe(e,l,n),e[re]=t,e[xe]=n}catch(o){jt(t,t.return,o)}}var zn=!1,ee=!1,_c=!1,kh=typeof WeakSet=="function"?WeakSet:Set,ue=null;function tg(t,e){if(t=t.containerInfo,Fc=wu,t=Xs(t),br(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var u=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var d=0,y=-1,A=-1,O=0,R=0,q=t,k=null;e:for(;;){for(var w;q!==n||u!==0&&q.nodeType!==3||(y=d+u),q!==o||l!==0&&q.nodeType!==3||(A=d+l),q.nodeType===3&&(d+=q.nodeValue.length),(w=q.firstChild)!==null;)k=q,q=w;for(;;){if(q===t)break e;if(k===n&&++O===u&&(y=d),k===o&&++R===l&&(A=d),(w=q.nextSibling)!==null)break;q=k,k=q.parentNode}q=w}n=y===-1||A===-1?null:{start:y,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jc={focusedElem:t,selectionRange:n},wu=!1,ue=e;ue!==null;)if(e=ue,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ue=t;else for(;ue!==null;){switch(e=ue,o=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&&o!==null){t=void 0,n=e,u=o.memoizedProps,o=o.memoizedState,l=n.stateNode;try{var lt=vl(n.type,u);t=l.getSnapshotBeforeUpdate(lt,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(st){jt(n,n.return,st)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)$c(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":$c(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(c(163))}if(t=e.sibling,t!==null){t.return=e.return,ue=t;break}ue=e.return}}function wh(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(t,n),l&4&&Zi(5,n);break;case 1:if(Tn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(d){jt(n,n.return,d)}else{var u=vl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){jt(n,n.return,d)}}l&64&&_h(n),l&512&&Ki(n,n.return);break;case 3:if(Tn(t,n),l&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{gf(t,e)}catch(d){jt(n,n.return,d)}}break;case 27:e===null&&l&4&&Nh(n);case 26:case 5:Tn(t,n),e===null&&l&4&&Oh(n),l&512&&Ki(n,n.return);break;case 12:Tn(t,n);break;case 31:Tn(t,n),l&4&&Bh(t,n);break;case 13:Tn(t,n),l&4&&Uh(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=og.bind(null,n),Og(t,n))));break;case 22:if(l=n.memoizedState!==null||zn,!l){e=e!==null&&e.memoizedState!==null||ee,u=zn;var o=ee;zn=l,(ee=e)&&!o?Cn(t,n,(n.subtreeFlags&8772)!==0):Tn(t,n),zn=u,ee=o}break;case 30:break;default:Tn(t,n)}}function Rh(t){var e=t.alternate;e!==null&&(t.alternate=null,Rh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&lr(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 Kt=null,Se=!1;function An(t,e,n){for(n=n.child;n!==null;)jh(t,e,n),n=n.sibling}function jh(t,e,n){if(le&&typeof le.onCommitFiberUnmount=="function")try{le.onCommitFiberUnmount(ye,n)}catch{}switch(n.tag){case 26:ee||ln(n,e),An(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ee||ln(n,e);var l=Kt,u=Se;Jn(n.type)&&(Kt=n.stateNode,Se=!1),An(t,e,n),na(n.stateNode),Kt=l,Se=u;break;case 5:ee||ln(n,e);case 6:if(l=Kt,u=Se,Kt=null,An(t,e,n),Kt=l,Se=u,Kt!==null)if(Se)try{(Kt.nodeType===9?Kt.body:Kt.nodeName==="HTML"?Kt.ownerDocument.body:Kt).removeChild(n.stateNode)}catch(o){jt(n,e,o)}else try{Kt.removeChild(n.stateNode)}catch(o){jt(n,e,o)}break;case 18:Kt!==null&&(Se?(t=Kt,_d(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),oi(t)):_d(Kt,n.stateNode));break;case 4:l=Kt,u=Se,Kt=n.stateNode.containerInfo,Se=!0,An(t,e,n),Kt=l,Se=u;break;case 0:case 11:case 14:case 15:Vn(2,n,e),ee||Vn(4,n,e),An(t,e,n);break;case 1:ee||(ln(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&Dh(n,e,l)),An(t,e,n);break;case 21:An(t,e,n);break;case 22:ee=(l=ee)||n.memoizedState!==null,An(t,e,n),ee=l;break;default:An(t,e,n)}}function Bh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{oi(t)}catch(n){jt(e,e.return,n)}}}function Uh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{oi(t)}catch(n){jt(e,e.return,n)}}function eg(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new kh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new kh),e;default:throw Error(c(435,t.tag))}}function du(t,e){var n=eg(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var u=sg.bind(null,t,l);l.then(u,u)}})}function Ee(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var u=n[l],o=t,d=e,y=d;t:for(;y!==null;){switch(y.tag){case 27:if(Jn(y.type)){Kt=y.stateNode,Se=!1;break t}break;case 5:Kt=y.stateNode,Se=!1;break t;case 3:case 4:Kt=y.stateNode.containerInfo,Se=!0;break t}y=y.return}if(Kt===null)throw Error(c(160));jh(o,d,u),Kt=null,Se=!1,o=u.alternate,o!==null&&(o.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Hh(e,t),e=e.sibling}var Pe=null;function Hh(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ee(e,t),ze(t),l&4&&(Vn(3,t,t.return),Zi(3,t),Vn(5,t,t.return));break;case 1:Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),l&64&&zn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var u=Pe;if(Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),l&4){var o=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(l){case"title":o=u.getElementsByTagName("title")[0],(!o||o[bi]||o[re]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=u.createElement(l),u.head.insertBefore(o,u.querySelector("head > title"))),fe(o,l,n),o[re]=t,ae(o),l=o;break t;case"link":var d=Hd("link","href",u).get(l+(n.href||""));if(d){for(var y=0;y<d.length;y++)if(o=d[y],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(y,1);break e}}o=u.createElement(l),fe(o,l,n),u.head.appendChild(o);break;case"meta":if(d=Hd("meta","content",u).get(l+(n.content||""))){for(y=0;y<d.length;y++)if(o=d[y],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(y,1);break e}}o=u.createElement(l),fe(o,l,n),u.head.appendChild(o);break;default:throw Error(c(468,l))}o[re]=t,ae(o),l=o}t.stateNode=l}else Ld(u,t.type,t.stateNode);else t.stateNode=Ud(u,l,t.memoizedProps);else o!==l?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,l===null?Ld(u,t.type,t.stateNode):Ud(u,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Ac(t,t.memoizedProps,n.memoizedProps)}break;case 27:Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),n!==null&&l&4&&Ac(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Ee(e,t),ze(t),l&512&&(ee||n===null||ln(n,n.return)),t.flags&32){u=t.stateNode;try{kl(u,"")}catch(lt){jt(t,t.return,lt)}}l&4&&t.stateNode!=null&&(u=t.memoizedProps,Ac(t,u,n!==null?n.memoizedProps:u)),l&1024&&(_c=!0);break;case 6:if(Ee(e,t),ze(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(lt){jt(t,t.return,lt)}}break;case 3:if(Ou=null,u=Pe,Pe=_u(e.containerInfo),Ee(e,t),Pe=u,ze(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{oi(e.containerInfo)}catch(lt){jt(t,t.return,lt)}_c&&(_c=!1,Lh(t));break;case 4:l=Pe,Pe=_u(t.stateNode.containerInfo),Ee(e,t),ze(t),Pe=l;break;case 12:Ee(e,t),ze(t);break;case 31:Ee(e,t),ze(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,du(t,l)));break;case 13:Ee(e,t),ze(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(mu=me()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,du(t,l)));break;case 22:u=t.memoizedState!==null;var A=n!==null&&n.memoizedState!==null,O=zn,R=ee;if(zn=O||u,ee=R||A,Ee(e,t),ee=R,zn=O,ze(t),l&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||A||zn||ee||xl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){A=n=e;try{if(o=A.stateNode,u)d=o.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{y=A.stateNode;var q=A.memoizedProps.style,k=q!=null&&q.hasOwnProperty("display")?q.display:null;y.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(lt){jt(A,A.return,lt)}}}else if(e.tag===6){if(n===null){A=e;try{A.stateNode.nodeValue=u?"":A.memoizedProps}catch(lt){jt(A,A.return,lt)}}}else if(e.tag===18){if(n===null){A=e;try{var w=A.stateNode;u?Dd(w,!0):Dd(A.stateNode,!1)}catch(lt){jt(A,A.return,lt)}}}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}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,du(t,n))));break;case 19:Ee(e,t),ze(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,du(t,l)));break;case 30:break;case 21:break;default:Ee(e,t),ze(t)}}function ze(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(Mh(l)){n=l;break}l=l.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var u=n.stateNode,o=Tc(t);hu(t,o,u);break;case 5:var d=n.stateNode;n.flags&32&&(kl(d,""),n.flags&=-33);var y=Tc(t);hu(t,y,d);break;case 3:case 4:var A=n.stateNode.containerInfo,O=Tc(t);Cc(t,O,A);break;default:throw Error(c(161))}}catch(R){jt(t,t.return,R)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Lh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Lh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Tn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)wh(t,e.alternate,e),e=e.sibling}function xl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Vn(4,e,e.return),xl(e);break;case 1:ln(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Dh(e,e.return,n),xl(e);break;case 27:na(e.stateNode);case 26:case 5:ln(e,e.return),xl(e);break;case 22:e.memoizedState===null&&xl(e);break;case 30:xl(e);break;default:xl(e)}t=t.sibling}}function Cn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,u=t,o=e,d=o.flags;switch(o.tag){case 0:case 11:case 15:Cn(u,o,n),Zi(4,o);break;case 1:if(Cn(u,o,n),l=o,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(O){jt(l,l.return,O)}if(l=o,u=l.updateQueue,u!==null){var y=l.stateNode;try{var A=u.shared.hiddenCallbacks;if(A!==null)for(u.shared.hiddenCallbacks=null,u=0;u<A.length;u++)yf(A[u],y)}catch(O){jt(l,l.return,O)}}n&&d&64&&_h(o),Ki(o,o.return);break;case 27:Nh(o);case 26:case 5:Cn(u,o,n),n&&l===null&&d&4&&Oh(o),Ki(o,o.return);break;case 12:Cn(u,o,n);break;case 31:Cn(u,o,n),n&&d&4&&Bh(u,o);break;case 13:Cn(u,o,n),n&&d&4&&Uh(u,o);break;case 22:o.memoizedState===null&&Cn(u,o,n),Ki(o,o.return);break;case 30:break;default:Cn(u,o,n)}e=e.sibling}}function Dc(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&&wi(n))}function Oc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&wi(t))}function tn(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qh(t,e,n,l),e=e.sibling}function qh(t,e,n,l){var u=e.flags;switch(e.tag){case 0:case 11:case 15:tn(t,e,n,l),u&2048&&Zi(9,e);break;case 1:tn(t,e,n,l);break;case 3:tn(t,e,n,l),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&wi(t)));break;case 12:if(u&2048){tn(t,e,n,l),t=e.stateNode;try{var o=e.memoizedProps,d=o.id,y=o.onPostCommit;typeof y=="function"&&y(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){jt(e,e.return,A)}}else tn(t,e,n,l);break;case 31:tn(t,e,n,l);break;case 13:tn(t,e,n,l);break;case 23:break;case 22:o=e.stateNode,d=e.alternate,e.memoizedState!==null?o._visibility&2?tn(t,e,n,l):Fi(t,e):o._visibility&2?tn(t,e,n,l):(o._visibility|=2,$l(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),u&2048&&Dc(d,e);break;case 24:tn(t,e,n,l),u&2048&&Oc(e.alternate,e);break;default:tn(t,e,n,l)}}function $l(t,e,n,l,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,d=e,y=n,A=l,O=d.flags;switch(d.tag){case 0:case 11:case 15:$l(o,d,y,A,u),Zi(8,d);break;case 23:break;case 22:var R=d.stateNode;d.memoizedState!==null?R._visibility&2?$l(o,d,y,A,u):Fi(o,d):(R._visibility|=2,$l(o,d,y,A,u)),u&&O&2048&&Dc(d.alternate,d);break;case 24:$l(o,d,y,A,u),u&&O&2048&&Oc(d.alternate,d);break;default:$l(o,d,y,A,u)}e=e.sibling}}function Fi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,u=l.flags;switch(l.tag){case 22:Fi(n,l),u&2048&&Dc(l.alternate,l);break;case 24:Fi(n,l),u&2048&&Oc(l.alternate,l);break;default:Fi(n,l)}e=e.sibling}}var Ji=8192;function Pl(t,e,n){if(t.subtreeFlags&Ji)for(t=t.child;t!==null;)Yh(t,e,n),t=t.sibling}function Yh(t,e,n){switch(t.tag){case 26:Pl(t,e,n),t.flags&Ji&&t.memoizedState!==null&&Yg(n,Pe,t.memoizedState,t.memoizedProps);break;case 5:Pl(t,e,n);break;case 3:case 4:var l=Pe;Pe=_u(t.stateNode.containerInfo),Pl(t,e,n),Pe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Ji,Ji=16777216,Pl(t,e,n),Ji=l):Pl(t,e,n));break;default:Pl(t,e,n)}}function Vh(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 Ii(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];ue=l,Gh(l,t)}Vh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xh(t),t=t.sibling}function Xh(t){switch(t.tag){case 0:case 11:case 15:Ii(t),t.flags&2048&&Vn(9,t,t.return);break;case 3:Ii(t);break;case 12:Ii(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,pu(t)):Ii(t);break;default:Ii(t)}}function pu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];ue=l,Gh(l,t)}Vh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Vn(8,e,e.return),pu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,pu(e));break;default:pu(e)}t=t.sibling}}function Gh(t,e){for(;ue!==null;){var n=ue;switch(n.tag){case 0:case 11:case 15:Vn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:wi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,ue=l;else t:for(n=t;ue!==null;){l=ue;var u=l.sibling,o=l.return;if(Rh(l),l===n){ue=null;break t}if(u!==null){u.return=o,ue=u;break t}ue=o}}}var ng={getCacheForType:function(t){var e=oe($t),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return oe($t).controller.signal}},lg=typeof WeakMap=="function"?WeakMap:Map,Nt=0,Yt=null,zt=null,Ct=0,Rt=0,Re=null,Xn=!1,ti=!1,Mc=!1,_n=0,Jt=0,Gn=0,bl=0,Nc=0,je=0,ei=0,Wi=null,Ae=null,kc=!1,mu=0,Qh=0,yu=1/0,gu=null,Qn=null,ie=0,Zn=null,ni=null,Dn=0,wc=0,Rc=null,Zh=null,$i=0,jc=null;function Be(){return(Nt&2)!==0&&Ct!==0?Ct&-Ct:N.T!==null?Yc():rs()}function Kh(){if(je===0)if((Ct&536870912)===0||Dt){var t=Ta;Ta<<=1,(Ta&3932160)===0&&(Ta=262144),je=t}else je=536870912;return t=ke.current,t!==null&&(t.flags|=32),je}function Te(t,e,n){(t===Yt&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)&&(li(t,0),Kn(t,Ct,je,!1)),xi(t,n),((Nt&2)===0||t!==Yt)&&(t===Yt&&((Nt&2)===0&&(bl|=n),Jt===4&&Kn(t,Ct,je,!1)),an(t))}function Fh(t,e,n){if((Nt&6)!==0)throw Error(c(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||vi(t,e),u=l?ug(t,e):Uc(t,e,!0),o=l;do{if(u===0){ti&&!l&&Kn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!ig(n)){u=Uc(t,e,!1),o=!1;continue}if(u===2){if(o=e,t.errorRecoveryDisabledLanes&o)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var y=t;u=Wi;var A=y.current.memoizedState.isDehydrated;if(A&&(li(y,d).flags|=256),d=Uc(y,d,!1),d!==2){if(Mc&&!A){y.errorRecoveryDisabledLanes|=o,bl|=o,u=4;break t}o=Ae,Ae=u,o!==null&&(Ae===null?Ae=o:Ae.push.apply(Ae,o))}u=d}if(o=!1,u!==2)continue}}if(u===1){li(t,0),Kn(t,e,0,!0);break}t:{switch(l=t,o=u,o){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Kn(l,e,je,!Xn);break t;case 2:Ae=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(u=mu+300-me(),10<u)){if(Kn(l,e,je,!Xn),_a(l,0,!0)!==0)break t;Dn=e,l.timeoutHandle=Td(Jh.bind(null,l,n,Ae,gu,kc,e,je,bl,ei,Xn,o,"Throttled",-0,0),u);break t}Jh(l,n,Ae,gu,kc,e,je,bl,ei,Xn,o,null,-0,0)}}break}while(!0);an(t)}function Jh(t,e,n,l,u,o,d,y,A,O,R,q,k,w){if(t.timeoutHandle=-1,q=e.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:dn},Yh(e,o,q);var lt=(o&62914560)===o?mu-me():(o&4194048)===o?Qh-me():0;if(lt=Vg(q,lt),lt!==null){Dn=o,t.cancelPendingCommit=lt(ld.bind(null,t,e,o,n,l,u,d,y,A,R,q,null,k,w)),Kn(t,o,d,!O);return}}ld(t,e,o,n,l,u,d,y,A)}function ig(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 l=0;l<n.length;l++){var u=n[l],o=u.getSnapshot;u=u.value;try{if(!Me(o(),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 Kn(t,e,n,l){e&=~Nc,e&=~bl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var u=e;0<u;){var o=31-qt(u),d=1<<o;l[o]=-1,u&=~d}n!==0&&is(t,n,e)}function vu(){return(Nt&6)===0?(Pi(0),!1):!0}function Bc(){if(zt!==null){if(Rt===0)var t=zt.return;else t=zt,gn=fl=null,$r(t),Kl=null,ji=0,t=zt;for(;t!==null;)Ch(t.alternate,t),t=t.return;zt=null}}function li(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Ag(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Dn=0,Bc(),Yt=t,zt=n=mn(t.current,null),Ct=e,Rt=0,Re=null,Xn=!1,ti=vi(t,e),Mc=!1,ei=je=Nc=bl=Gn=Jt=0,Ae=Wi=null,kc=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var u=31-qt(l),o=1<<u;e|=t[u],l&=~o}return _n=e,La(),n}function Ih(t,e){vt=null,N.H=Xi,e===Zl||e===Ka?(e=hf(),Rt=3):e===qr?(e=hf(),Rt=4):Rt=e===pc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Re=e,zt===null&&(Jt=1,ru(t,Xe(e,t.current)))}function Wh(){var t=ke.current;return t===null?!0:(Ct&4194048)===Ct?Ke===null:(Ct&62914560)===Ct||(Ct&536870912)!==0?t===Ke:!1}function $h(){var t=N.H;return N.H=Xi,t===null?Xi:t}function Ph(){var t=N.A;return N.A=ng,t}function xu(){Jt=4,Xn||(Ct&4194048)!==Ct&&ke.current!==null||(ti=!0),(Gn&134217727)===0&&(bl&134217727)===0||Yt===null||Kn(Yt,Ct,je,!1)}function Uc(t,e,n){var l=Nt;Nt|=2;var u=$h(),o=Ph();(Yt!==t||Ct!==e)&&(gu=null,li(t,e)),e=!1;var d=Jt;t:do try{if(Rt!==0&&zt!==null){var y=zt,A=Re;switch(Rt){case 8:Bc(),d=6;break t;case 3:case 2:case 9:case 6:ke.current===null&&(e=!0);var O=Rt;if(Rt=0,Re=null,ii(t,y,A,O),n&&ti){d=0;break t}break;default:O=Rt,Rt=0,Re=null,ii(t,y,A,O)}}ag(),d=Jt;break}catch(R){Ih(t,R)}while(!0);return e&&t.shellSuspendCounter++,gn=fl=null,Nt=l,N.H=u,N.A=o,zt===null&&(Yt=null,Ct=0,La()),d}function ag(){for(;zt!==null;)td(zt)}function ug(t,e){var n=Nt;Nt|=2;var l=$h(),u=Ph();Yt!==t||Ct!==e?(gu=null,yu=me()+500,li(t,e)):ti=vi(t,e);t:do try{if(Rt!==0&&zt!==null){e=zt;var o=Re;e:switch(Rt){case 1:Rt=0,Re=null,ii(t,e,o,1);break;case 2:case 9:if(sf(o)){Rt=0,Re=null,ed(e);break}e=function(){Rt!==2&&Rt!==9||Yt!==t||(Rt=7),an(t)},o.then(e,e);break t;case 3:Rt=7;break t;case 4:Rt=5;break t;case 7:sf(o)?(Rt=0,Re=null,ed(e)):(Rt=0,Re=null,ii(t,e,o,7));break;case 5:var d=null;switch(zt.tag){case 26:d=zt.memoizedState;case 5:case 27:var y=zt;if(d?qd(d):y.stateNode.complete){Rt=0,Re=null;var A=y.sibling;if(A!==null)zt=A;else{var O=y.return;O!==null?(zt=O,bu(O)):zt=null}break e}}Rt=0,Re=null,ii(t,e,o,5);break;case 6:Rt=0,Re=null,ii(t,e,o,6);break;case 8:Bc(),Jt=6;break t;default:throw Error(c(462))}}rg();break}catch(R){Ih(t,R)}while(!0);return gn=fl=null,N.H=l,N.A=u,Nt=n,zt!==null?0:(Yt=null,Ct=0,La(),Jt)}function rg(){for(;zt!==null&&!Iu();)td(zt)}function td(t){var e=Ah(t.alternate,t,_n);t.memoizedProps=t.pendingProps,e===null?bu(t):zt=e}function ed(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=vh(n,e,e.pendingProps,e.type,void 0,Ct);break;case 11:e=vh(n,e,e.pendingProps,e.type.render,e.ref,Ct);break;case 5:$r(e);default:Ch(n,e),e=zt=$s(e,_n),e=Ah(n,e,_n)}t.memoizedProps=t.pendingProps,e===null?bu(t):zt=e}function ii(t,e,n,l){gn=fl=null,$r(e),Kl=null,ji=0;var u=e.return;try{if(Jy(t,u,e,n,Ct)){Jt=1,ru(t,Xe(n,t.current)),zt=null;return}}catch(o){if(u!==null)throw zt=u,o;Jt=1,ru(t,Xe(n,t.current)),zt=null;return}e.flags&32768?(Dt||l===1?t=!0:ti||(Ct&536870912)!==0?t=!1:(Xn=t=!0,(l===2||l===9||l===3||l===6)&&(l=ke.current,l!==null&&l.tag===13&&(l.flags|=16384))),nd(e,t)):bu(e)}function bu(t){var e=t;do{if((e.flags&32768)!==0){nd(e,Xn);return}t=e.return;var n=$y(e.alternate,e,_n);if(n!==null){zt=n;return}if(e=e.sibling,e!==null){zt=e;return}zt=e=t}while(e!==null);Jt===0&&(Jt=5)}function nd(t,e){do{var n=Py(t.alternate,t);if(n!==null){n.flags&=32767,zt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){zt=t;return}zt=t=n}while(t!==null);Jt=6,zt=null}function ld(t,e,n,l,u,o,d,y,A){t.cancelPendingCommit=null;do Su();while(ie!==0);if((Nt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(o=e.lanes|e.childLanes,o|=Tr,qm(t,n,o,d,y,A),t===Yt&&(zt=Yt=null,Ct=0),ni=e,Zn=t,Dn=n,wc=o,Rc=u,Zh=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,fg(dt,function(){return cd(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=N.T,N.T=null,u=K.p,K.p=2,d=Nt,Nt|=4;try{tg(t,e,n)}finally{Nt=d,K.p=u,N.T=l}}ie=1,id(),ad(),ud()}}function id(){if(ie===1){ie=0;var t=Zn,e=ni,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var l=K.p;K.p=2;var u=Nt;Nt|=4;try{Hh(e,t);var o=Jc,d=Xs(t.containerInfo),y=o.focusedElem,A=o.selectionRange;if(d!==y&&y&&y.ownerDocument&&Vs(y.ownerDocument.documentElement,y)){if(A!==null&&br(y)){var O=A.start,R=A.end;if(R===void 0&&(R=O),"selectionStart"in y)y.selectionStart=O,y.selectionEnd=Math.min(R,y.value.length);else{var q=y.ownerDocument||document,k=q&&q.defaultView||window;if(k.getSelection){var w=k.getSelection(),lt=y.textContent.length,st=Math.min(A.start,lt),Lt=A.end===void 0?st:Math.min(A.end,lt);!w.extend&&st>Lt&&(d=Lt,Lt=st,st=d);var _=Ys(y,st),C=Ys(y,Lt);if(_&&C&&(w.rangeCount!==1||w.anchorNode!==_.node||w.anchorOffset!==_.offset||w.focusNode!==C.node||w.focusOffset!==C.offset)){var D=q.createRange();D.setStart(_.node,_.offset),w.removeAllRanges(),st>Lt?(w.addRange(D),w.extend(C.node,C.offset)):(D.setEnd(C.node,C.offset),w.addRange(D))}}}}for(q=[],w=y;w=w.parentNode;)w.nodeType===1&&q.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<q.length;y++){var L=q[y];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}wu=!!Fc,Jc=Fc=null}finally{Nt=u,K.p=l,N.T=n}}t.current=e,ie=2}}function ad(){if(ie===2){ie=0;var t=Zn,e=ni,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var l=K.p;K.p=2;var u=Nt;Nt|=4;try{wh(t,e.alternate,e)}finally{Nt=u,K.p=l,N.T=n}}ie=3}}function ud(){if(ie===4||ie===3){ie=0,Wu();var t=Zn,e=ni,n=Dn,l=Zh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ie=5:(ie=0,ni=Zn=null,rd(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Qn=null),er(n),e=e.stateNode,le&&typeof le.onCommitFiberRoot=="function")try{le.onCommitFiberRoot(ye,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=N.T,u=K.p,K.p=2,N.T=null;try{for(var o=t.onRecoverableError,d=0;d<l.length;d++){var y=l[d];o(y.value,{componentStack:y.stack})}}finally{N.T=e,K.p=u}}(Dn&3)!==0&&Su(),an(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===jc?$i++:($i=0,jc=t):$i=0,Pi(0)}}function rd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,wi(e)))}function Su(){return id(),ad(),ud(),cd()}function cd(){if(ie!==5)return!1;var t=Zn,e=wc;wc=0;var n=er(Dn),l=N.T,u=K.p;try{K.p=32>n?32:n,N.T=null,n=Rc,Rc=null;var o=Zn,d=Dn;if(ie=0,ni=Zn=null,Dn=0,(Nt&6)!==0)throw Error(c(331));var y=Nt;if(Nt|=4,Xh(o.current),qh(o,o.current,d,n),Nt=y,Pi(0,!1),le&&typeof le.onPostCommitFiberRoot=="function")try{le.onPostCommitFiberRoot(ye,o)}catch{}return!0}finally{K.p=u,N.T=l,rd(t,e)}}function od(t,e,n){e=Xe(n,e),e=dc(t.stateNode,e,2),t=Ln(t,e,2),t!==null&&(xi(t,2),an(t))}function jt(t,e,n){if(t.tag===3)od(t,t,n);else for(;e!==null;){if(e.tag===3){od(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Qn===null||!Qn.has(l))){t=Xe(n,t),n=sh(2),l=Ln(e,n,2),l!==null&&(fh(n,l,e,t),xi(l,2),an(l));break}}e=e.return}}function Hc(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new lg;var u=new Set;l.set(e,u)}else u=l.get(e),u===void 0&&(u=new Set,l.set(e,u));u.has(n)||(Mc=!0,u.add(n),t=cg.bind(null,t,e,n),e.then(t,t))}function cg(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Yt===t&&(Ct&n)===n&&(Jt===4||Jt===3&&(Ct&62914560)===Ct&&300>me()-mu?(Nt&2)===0&&li(t,0):Nc|=n,ei===Ct&&(ei=0)),an(t)}function sd(t,e){e===0&&(e=ls()),t=cl(t,e),t!==null&&(xi(t,e),an(t))}function og(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),sd(t,n)}function sg(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),sd(t,n)}function fg(t,e){return Tl(t,e)}var Eu=null,ai=null,Lc=!1,zu=!1,qc=!1,Fn=0;function an(t){t!==ai&&t.next===null&&(ai===null?Eu=ai=t:ai=ai.next=t),zu=!0,Lc||(Lc=!0,dg())}function Pi(t,e){if(!qc&&zu){qc=!0;do for(var n=!1,l=Eu;l!==null;){if(t!==0){var u=l.pendingLanes;if(u===0)var o=0;else{var d=l.suspendedLanes,y=l.pingedLanes;o=(1<<31-qt(42|t)+1)-1,o&=u&~(d&~y),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,pd(l,o))}else o=Ct,o=_a(l,l===Yt?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||vi(l,o)||(n=!0,pd(l,o));l=l.next}while(n);qc=!1}}function hg(){fd()}function fd(){zu=Lc=!1;var t=0;Fn!==0&&zg()&&(t=Fn);for(var e=me(),n=null,l=Eu;l!==null;){var u=l.next,o=hd(l,e);o===0?(l.next=null,n===null?Eu=u:n.next=u,u===null&&(ai=n)):(n=l,(t!==0||(o&3)!==0)&&(zu=!0)),l=u}ie!==0&&ie!==5||Pi(t),Fn!==0&&(Fn=0)}function hd(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,u=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var d=31-qt(o),y=1<<d,A=u[d];A===-1?((y&n)===0||(y&l)!==0)&&(u[d]=Lm(y,e)):A<=e&&(t.expiredLanes|=y),o&=~y}if(e=Yt,n=Ct,n=_a(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&gi(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||vi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&gi(l),er(n)){case 2:case 8:n=$;break;case 32:n=dt;break;case 268435456:n=wt;break;default:n=dt}return l=dd.bind(null,t),n=Tl(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&gi(l),t.callbackPriority=2,t.callbackNode=null,2}function dd(t,e){if(ie!==0&&ie!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Su()&&t.callbackNode!==n)return null;var l=Ct;return l=_a(t,t===Yt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Fh(t,l,e),hd(t,me()),t.callbackNode!=null&&t.callbackNode===n?dd.bind(null,t):null)}function pd(t,e){if(Su())return null;Fh(t,e,!0)}function dg(){Tg(function(){(Nt&6)!==0?Tl(H,hg):fd()})}function Yc(){if(Fn===0){var t=Gl;t===0&&(t=Aa,Aa<<=1,(Aa&261888)===0&&(Aa=256)),Fn=t}return Fn}function md(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Na(""+t)}function yd(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 pg(t,e,n,l,u){if(e==="submit"&&n&&n.stateNode===u){var o=md((u[xe]||null).action),d=l.submitter;d&&(e=(e=d[xe]||null)?md(e.formAction):d.getAttribute("formAction"),e!==null&&(o=e,d=null));var y=new ja("action","action",null,l,u);t.push({event:y,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Fn!==0){var A=d?yd(u,d):new FormData(u);rc(n,{pending:!0,data:A,method:u.method,action:o},null,A)}}else typeof o=="function"&&(y.preventDefault(),A=d?yd(u,d):new FormData(u),rc(n,{pending:!0,data:A,method:u.method,action:o},o,A))},currentTarget:u}]})}}for(var Vc=0;Vc<Ar.length;Vc++){var Xc=Ar[Vc],mg=Xc.toLowerCase(),yg=Xc[0].toUpperCase()+Xc.slice(1);$e(mg,"on"+yg)}$e(Zs,"onAnimationEnd"),$e(Ks,"onAnimationIteration"),$e(Fs,"onAnimationStart"),$e("dblclick","onDoubleClick"),$e("focusin","onFocus"),$e("focusout","onBlur"),$e(ky,"onTransitionRun"),$e(wy,"onTransitionStart"),$e(Ry,"onTransitionCancel"),$e(Js,"onTransitionEnd"),Ml("onMouseEnter",["mouseout","mouseover"]),Ml("onMouseLeave",["mouseout","mouseover"]),Ml("onPointerEnter",["pointerout","pointerover"]),Ml("onPointerLeave",["pointerout","pointerover"]),il("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),il("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),il("onBeforeInput",["compositionend","keypress","textInput","paste"]),il("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),il("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),il("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ta="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(" "),gg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ta));function gd(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],u=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var d=l.length-1;0<=d;d--){var y=l[d],A=y.instance,O=y.currentTarget;if(y=y.listener,A!==o&&u.isPropagationStopped())break t;o=y,u.currentTarget=O;try{o(u)}catch(R){Ha(R)}u.currentTarget=null,o=A}else for(d=0;d<l.length;d++){if(y=l[d],A=y.instance,O=y.currentTarget,y=y.listener,A!==o&&u.isPropagationStopped())break t;o=y,u.currentTarget=O;try{o(u)}catch(R){Ha(R)}u.currentTarget=null,o=A}}}}function At(t,e){var n=e[nr];n===void 0&&(n=e[nr]=new Set);var l=t+"__bubble";n.has(l)||(vd(e,t,2,!1),n.add(l))}function Gc(t,e,n){var l=0;e&&(l|=4),vd(n,t,l,e)}var Au="_reactListening"+Math.random().toString(36).slice(2);function Qc(t){if(!t[Au]){t[Au]=!0,ss.forEach(function(n){n!=="selectionchange"&&(gg.has(n)||Gc(n,!1,t),Gc(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Au]||(e[Au]=!0,Gc("selectionchange",!1,e))}}function vd(t,e,n,l){switch(Kd(e)){case 2:var u=Qg;break;case 8:u=Zg;break;default:u=uo}n=u.bind(null,e,n,t),u=void 0,!fr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),l?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 Zc(t,e,n,l,u){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var y=l.stateNode.containerInfo;if(y===u)break;if(d===4)for(d=l.return;d!==null;){var A=d.tag;if((A===3||A===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;y!==null;){if(d=_l(y),d===null)return;if(A=d.tag,A===5||A===6||A===26||A===27){l=o=d;continue t}y=y.parentNode}}l=l.return}Es(function(){var O=o,R=or(n),q=[];t:{var k=Is.get(t);if(k!==void 0){var w=ja,lt=t;switch(t){case"keypress":if(wa(n)===0)break t;case"keydown":case"keyup":w=sy;break;case"focusin":lt="focus",w=mr;break;case"focusout":lt="blur",w=mr;break;case"beforeblur":case"afterblur":w=mr;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":w=Ts;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=$m;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=dy;break;case Zs:case Ks:case Fs:w=ey;break;case Js:w=my;break;case"scroll":case"scrollend":w=Im;break;case"wheel":w=gy;break;case"copy":case"cut":case"paste":w=ly;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=_s;break;case"toggle":case"beforetoggle":w=xy}var st=(e&4)!==0,Lt=!st&&(t==="scroll"||t==="scrollend"),_=st?k!==null?k+"Capture":null:k;st=[];for(var C=O,D;C!==null;){var L=C;if(D=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||D===null||_===null||(L=Ei(C,_),L!=null&&st.push(ea(C,L,D))),Lt)break;C=C.return}0<st.length&&(k=new w(k,lt,null,n,R),q.push({event:k,listeners:st}))}}if((e&7)===0){t:{if(k=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout",k&&n!==cr&&(lt=n.relatedTarget||n.fromElement)&&(_l(lt)||lt[Cl]))break t;if((w||k)&&(k=R.window===R?R:(k=R.ownerDocument)?k.defaultView||k.parentWindow:window,w?(lt=n.relatedTarget||n.toElement,w=O,lt=lt?_l(lt):null,lt!==null&&(Lt=f(lt),st=lt.tag,lt!==Lt||st!==5&&st!==27&&st!==6)&&(lt=null)):(w=null,lt=O),w!==lt)){if(st=Ts,L="onMouseLeave",_="onMouseEnter",C="mouse",(t==="pointerout"||t==="pointerover")&&(st=_s,L="onPointerLeave",_="onPointerEnter",C="pointer"),Lt=w==null?k:Si(w),D=lt==null?k:Si(lt),k=new st(L,C+"leave",w,n,R),k.target=Lt,k.relatedTarget=D,L=null,_l(R)===O&&(st=new st(_,C+"enter",lt,n,R),st.target=D,st.relatedTarget=Lt,L=st),Lt=L,w&&lt)e:{for(st=vg,_=w,C=lt,D=0,L=_;L;L=st(L))D++;L=0;for(var rt=C;rt;rt=st(rt))L++;for(;0<D-L;)_=st(_),D--;for(;0<L-D;)C=st(C),L--;for(;D--;){if(_===C||C!==null&&_===C.alternate){st=_;break e}_=st(_),C=st(C)}st=null}else st=null;w!==null&&xd(q,k,w,st,!1),lt!==null&&Lt!==null&&xd(q,Lt,lt,st,!0)}}t:{if(k=O?Si(O):window,w=k.nodeName&&k.nodeName.toLowerCase(),w==="select"||w==="input"&&k.type==="file")var Ot=js;else if(ws(k))if(Bs)Ot=Oy;else{Ot=_y;var it=Cy}else w=k.nodeName,!w||w.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?O&&rr(O.elementType)&&(Ot=js):Ot=Dy;if(Ot&&(Ot=Ot(t,O))){Rs(q,Ot,n,R);break t}it&&it(t,k,O),t==="focusout"&&O&&k.type==="number"&&O.memoizedProps.value!=null&&ur(k,"number",k.value)}switch(it=O?Si(O):window,t){case"focusin":(ws(it)||it.contentEditable==="true")&&(Bl=it,Sr=O,Mi=null);break;case"focusout":Mi=Sr=Bl=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,Gs(q,n,R);break;case"selectionchange":if(Ny)break;case"keydown":case"keyup":Gs(q,n,R)}var xt;if(gr)t:{switch(t){case"compositionstart":var _t="onCompositionStart";break t;case"compositionend":_t="onCompositionEnd";break t;case"compositionupdate":_t="onCompositionUpdate";break t}_t=void 0}else jl?Ns(t,n)&&(_t="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(_t="onCompositionStart");_t&&(Ds&&n.locale!=="ko"&&(jl||_t!=="onCompositionStart"?_t==="onCompositionEnd"&&jl&&(xt=zs()):(kn=R,hr="value"in kn?kn.value:kn.textContent,jl=!0)),it=Tu(O,_t),0<it.length&&(_t=new Cs(_t,t,null,n,R),q.push({event:_t,listeners:it}),xt?_t.data=xt:(xt=ks(n),xt!==null&&(_t.data=xt)))),(xt=Sy?Ey(t,n):zy(t,n))&&(_t=Tu(O,"onBeforeInput"),0<_t.length&&(it=new Cs("onBeforeInput","beforeinput",null,n,R),q.push({event:it,listeners:_t}),it.data=xt)),pg(q,t,O,n,R)}gd(q,e)})}function ea(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Tu(t,e){for(var n=e+"Capture",l=[];t!==null;){var u=t,o=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||o===null||(u=Ei(t,n),u!=null&&l.unshift(ea(t,u,o)),u=Ei(t,e),u!=null&&l.push(ea(t,u,o))),t.tag===3)return l;t=t.return}return[]}function vg(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function xd(t,e,n,l,u){for(var o=e._reactName,d=[];n!==null&&n!==l;){var y=n,A=y.alternate,O=y.stateNode;if(y=y.tag,A!==null&&A===l)break;y!==5&&y!==26&&y!==27||O===null||(A=O,u?(O=Ei(n,o),O!=null&&d.unshift(ea(n,O,A))):u||(O=Ei(n,o),O!=null&&d.push(ea(n,O,A)))),n=n.return}d.length!==0&&t.push({event:e,listeners:d})}var xg=/\r\n?/g,bg=/\u0000|\uFFFD/g;function bd(t){return(typeof t=="string"?t:""+t).replace(xg,`
9
+ `).replace(bg,"")}function Sd(t,e){return e=bd(e),bd(t)===e}function Ht(t,e,n,l,u,o){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||kl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&kl(t,""+l);break;case"className":Oa(t,"class",l);break;case"tabIndex":Oa(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Oa(t,n,l);break;case"style":bs(t,l,o);break;case"data":if(e!=="object"){Oa(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Na(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="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 o=="function"&&(n==="formAction"?(e!=="input"&&Ht(t,e,"name",u.name,u,null),Ht(t,e,"formEncType",u.formEncType,u,null),Ht(t,e,"formMethod",u.formMethod,u,null),Ht(t,e,"formTarget",u.formTarget,u,null)):(Ht(t,e,"encType",u.encType,u,null),Ht(t,e,"method",u.method,u,null),Ht(t,e,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Na(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=dn);break;case"onScroll":l!=null&&At("scroll",t);break;case"onScrollEnd":l!=null&&At("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Na(""+l),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":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":At("beforetoggle",t),At("toggle",t),Da(t,"popover",l);break;case"xlinkActuate":hn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":hn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":hn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":hn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":hn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":hn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":hn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":hn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":hn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Da(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Fm.get(n)||n,Da(t,n,l))}}function Kc(t,e,n,l,u,o){switch(n){case"style":bs(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof l=="string"?kl(t,l):(typeof l=="number"||typeof l=="bigint")&&kl(t,""+l);break;case"onScroll":l!=null&&At("scroll",t);break;case"onScrollEnd":l!=null&&At("scrollend",t);break;case"onClick":l!=null&&(t.onclick=dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fs.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),o=t[xe]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,u),typeof l=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,u);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Da(t,n,l)}}}function fe(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":At("error",t),At("load",t);var l=!1,u=!1,o;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(d!=null)switch(o){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ht(t,e,o,d,n,null)}}u&&Ht(t,e,"srcSet",n.srcSet,n,null),l&&Ht(t,e,"src",n.src,n,null);return;case"input":At("invalid",t);var y=o=d=u=null,A=null,O=null;for(l in n)if(n.hasOwnProperty(l)){var R=n[l];if(R!=null)switch(l){case"name":u=R;break;case"type":d=R;break;case"checked":A=R;break;case"defaultChecked":O=R;break;case"value":o=R;break;case"defaultValue":y=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:Ht(t,e,l,R,n,null)}}ys(t,o,y,A,O,d,u,!1);return;case"select":At("invalid",t),l=d=o=null;for(u in n)if(n.hasOwnProperty(u)&&(y=n[u],y!=null))switch(u){case"value":o=y;break;case"defaultValue":d=y;break;case"multiple":l=y;default:Ht(t,e,u,y,n,null)}e=o,n=d,t.multiple=!!l,e!=null?Nl(t,!!l,e,!1):n!=null&&Nl(t,!!l,n,!0);return;case"textarea":At("invalid",t),o=u=l=null;for(d in n)if(n.hasOwnProperty(d)&&(y=n[d],y!=null))switch(d){case"value":l=y;break;case"defaultValue":u=y;break;case"children":o=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(c(91));break;default:Ht(t,e,d,y,n,null)}vs(t,l,u,o);return;case"option":for(A in n)n.hasOwnProperty(A)&&(l=n[A],l!=null)&&(A==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":Ht(t,e,A,l,n,null));return;case"dialog":At("beforetoggle",t),At("toggle",t),At("cancel",t),At("close",t);break;case"iframe":case"object":At("load",t);break;case"video":case"audio":for(l=0;l<ta.length;l++)At(ta[l],t);break;case"image":At("error",t),At("load",t);break;case"details":At("toggle",t);break;case"embed":case"source":case"link":At("error",t),At("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(O in n)if(n.hasOwnProperty(O)&&(l=n[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ht(t,e,O,l,n,null)}return;default:if(rr(e)){for(R in n)n.hasOwnProperty(R)&&(l=n[R],l!==void 0&&Kc(t,e,R,l,n,void 0));return}}for(y in n)n.hasOwnProperty(y)&&(l=n[y],l!=null&&Ht(t,e,y,l,n,null))}function Sg(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,o=null,d=null,y=null,A=null,O=null,R=null;for(w in n){var q=n[w];if(n.hasOwnProperty(w)&&q!=null)switch(w){case"checked":break;case"value":break;case"defaultValue":A=q;default:l.hasOwnProperty(w)||Ht(t,e,w,null,l,q)}}for(var k in l){var w=l[k];if(q=n[k],l.hasOwnProperty(k)&&(w!=null||q!=null))switch(k){case"type":o=w;break;case"name":u=w;break;case"checked":O=w;break;case"defaultChecked":R=w;break;case"value":d=w;break;case"defaultValue":y=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(c(137,e));break;default:w!==q&&Ht(t,e,k,w,l,q)}}ar(t,d,y,A,O,R,o,u);return;case"select":w=d=y=k=null;for(o in n)if(A=n[o],n.hasOwnProperty(o)&&A!=null)switch(o){case"value":break;case"multiple":w=A;default:l.hasOwnProperty(o)||Ht(t,e,o,null,l,A)}for(u in l)if(o=l[u],A=n[u],l.hasOwnProperty(u)&&(o!=null||A!=null))switch(u){case"value":k=o;break;case"defaultValue":y=o;break;case"multiple":d=o;default:o!==A&&Ht(t,e,u,o,l,A)}e=y,n=d,l=w,k!=null?Nl(t,!!n,k,!1):!!l!=!!n&&(e!=null?Nl(t,!!n,e,!0):Nl(t,!!n,n?[]:"",!1));return;case"textarea":w=k=null;for(y in n)if(u=n[y],n.hasOwnProperty(y)&&u!=null&&!l.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Ht(t,e,y,null,l,u)}for(d in l)if(u=l[d],o=n[d],l.hasOwnProperty(d)&&(u!=null||o!=null))switch(d){case"value":k=u;break;case"defaultValue":w=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(c(91));break;default:u!==o&&Ht(t,e,d,u,l,o)}gs(t,k,w);return;case"option":for(var lt in n)k=n[lt],n.hasOwnProperty(lt)&&k!=null&&!l.hasOwnProperty(lt)&&(lt==="selected"?t.selected=!1:Ht(t,e,lt,null,l,k));for(A in l)k=l[A],w=n[A],l.hasOwnProperty(A)&&k!==w&&(k!=null||w!=null)&&(A==="selected"?t.selected=k&&typeof k!="function"&&typeof k!="symbol":Ht(t,e,A,k,l,w));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 st in n)k=n[st],n.hasOwnProperty(st)&&k!=null&&!l.hasOwnProperty(st)&&Ht(t,e,st,null,l,k);for(O in l)if(k=l[O],w=n[O],l.hasOwnProperty(O)&&k!==w&&(k!=null||w!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(c(137,e));break;default:Ht(t,e,O,k,l,w)}return;default:if(rr(e)){for(var Lt in n)k=n[Lt],n.hasOwnProperty(Lt)&&k!==void 0&&!l.hasOwnProperty(Lt)&&Kc(t,e,Lt,void 0,l,k);for(R in l)k=l[R],w=n[R],!l.hasOwnProperty(R)||k===w||k===void 0&&w===void 0||Kc(t,e,R,k,l,w);return}}for(var _ in n)k=n[_],n.hasOwnProperty(_)&&k!=null&&!l.hasOwnProperty(_)&&Ht(t,e,_,null,l,k);for(q in l)k=l[q],w=n[q],!l.hasOwnProperty(q)||k===w||k==null&&w==null||Ht(t,e,q,k,l,w)}function Ed(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Eg(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var u=n[l],o=u.transferSize,d=u.initiatorType,y=u.duration;if(o&&y&&Ed(d)){for(d=0,y=u.responseEnd,l+=1;l<n.length;l++){var A=n[l],O=A.startTime;if(O>y)break;var R=A.transferSize,q=A.initiatorType;R&&Ed(q)&&(A=A.responseEnd,d+=R*(A<y?1:(y-O)/(A-O)))}if(--l,e+=8*(o+d)/(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 Fc=null,Jc=null;function Cu(t){return t.nodeType===9?t:t.ownerDocument}function zd(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 Ad(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 Ic(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 Wc=null;function zg(){var t=window.event;return t&&t.type==="popstate"?t===Wc?!1:(Wc=t,!0):(Wc=null,!1)}var Td=typeof setTimeout=="function"?setTimeout:void 0,Ag=typeof clearTimeout=="function"?clearTimeout:void 0,Cd=typeof Promise=="function"?Promise:void 0,Tg=typeof queueMicrotask=="function"?queueMicrotask:typeof Cd<"u"?function(t){return Cd.resolve(null).then(t).catch(Cg)}:Td;function Cg(t){setTimeout(function(){throw t})}function Jn(t){return t==="head"}function _d(t,e){var n=e,l=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(u),oi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")na(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,na(n);for(var o=n.firstChild;o;){var d=o.nextSibling,y=o.nodeName;o[bi]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=d}}else n==="body"&&na(t.ownerDocument.body);n=u}while(n);oi(e)}function Dd(t,e){var n=t;t=0;do{var l=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||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function $c(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":$c(n),lr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function _g(t,e,n,l){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[bi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==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(o=t.getAttribute("src"),(o!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Fe(t.nextSibling),t===null)break}return null}function Dg(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Fe(t.nextSibling),t===null))return null;return t}function Od(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Fe(t.nextSibling),t===null))return null;return t}function Pc(t){return t.data==="$?"||t.data==="$~"}function to(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Og(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Fe(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 eo=null;function Md(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Fe(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Nd(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 kd(t,e,n){switch(e=Cu(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function na(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);lr(t)}var Je=new Map,wd=new Set;function _u(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var On=K.d;K.d={f:Mg,r:Ng,D:kg,C:wg,L:Rg,m:jg,X:Ug,S:Bg,M:Hg};function Mg(){var t=On.f(),e=vu();return t||e}function Ng(t){var e=Dl(t);e!==null&&e.tag===5&&e.type==="form"?If(e):On.r(t)}var ui=typeof document>"u"?null:document;function Rd(t,e,n){var l=ui;if(l&&typeof e=="string"&&e){var u=Ye(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),wd.has(u)||(wd.add(u),t={rel:t,crossOrigin:n,href:e},l.querySelector(u)===null&&(e=l.createElement("link"),fe(e,"link",t),ae(e),l.head.appendChild(e)))}}function kg(t){On.D(t),Rd("dns-prefetch",t,null)}function wg(t,e){On.C(t,e),Rd("preconnect",t,e)}function Rg(t,e,n){On.L(t,e,n);var l=ui;if(l&&t&&e){var u='link[rel="preload"][as="'+Ye(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Ye(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Ye(n.imageSizes)+'"]')):u+='[href="'+Ye(t)+'"]';var o=u;switch(e){case"style":o=ri(t);break;case"script":o=ci(t)}Je.has(o)||(t=x({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Je.set(o,t),l.querySelector(u)!==null||e==="style"&&l.querySelector(la(o))||e==="script"&&l.querySelector(ia(o))||(e=l.createElement("link"),fe(e,"link",t),ae(e),l.head.appendChild(e)))}}function jg(t,e){On.m(t,e);var n=ui;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Ye(l)+'"][href="'+Ye(t)+'"]',o=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=ci(t)}if(!Je.has(o)&&(t=x({rel:"modulepreload",href:t},e),Je.set(o,t),n.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ia(o)))return}l=n.createElement("link"),fe(l,"link",t),ae(l),n.head.appendChild(l)}}}function Bg(t,e,n){On.S(t,e,n);var l=ui;if(l&&t){var u=Ol(l).hoistableStyles,o=ri(t);e=e||"default";var d=u.get(o);if(!d){var y={loading:0,preload:null};if(d=l.querySelector(la(o)))y.loading=5;else{t=x({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Je.get(o))&&no(t,n);var A=d=l.createElement("link");ae(A),fe(A,"link",t),A._p=new Promise(function(O,R){A.onload=O,A.onerror=R}),A.addEventListener("load",function(){y.loading|=1}),A.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Du(d,e,l)}d={type:"stylesheet",instance:d,count:1,state:y},u.set(o,d)}}}function Ug(t,e){On.X(t,e);var n=ui;if(n&&t){var l=Ol(n).hoistableScripts,u=ci(t),o=l.get(u);o||(o=n.querySelector(ia(u)),o||(t=x({src:t,async:!0},e),(e=Je.get(u))&&lo(t,e),o=n.createElement("script"),ae(o),fe(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function Hg(t,e){On.M(t,e);var n=ui;if(n&&t){var l=Ol(n).hoistableScripts,u=ci(t),o=l.get(u);o||(o=n.querySelector(ia(u)),o||(t=x({src:t,async:!0,type:"module"},e),(e=Je.get(u))&&lo(t,e),o=n.createElement("script"),ae(o),fe(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function jd(t,e,n,l){var u=(u=ut.current)?_u(u):null;if(!u)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=ri(n.href),n=Ol(u).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=ri(n.href);var o=Ol(u).hoistableStyles,d=o.get(t);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,d),(o=u.querySelector(la(t)))&&!o._p&&(d.instance=o,d.state.loading=5),Je.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},Je.set(t,n),o||Lg(u,t,n,d.state))),e&&l===null)throw Error(c(528,""));return d}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ci(n),n=Ol(u).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function ri(t){return'href="'+Ye(t)+'"'}function la(t){return'link[rel="stylesheet"]['+t+"]"}function Bd(t){return x({},t,{"data-precedence":t.precedence,precedence:null})}function Lg(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),fe(e,"link",n),ae(e),t.head.appendChild(e))}function ci(t){return'[src="'+Ye(t)+'"]'}function ia(t){return"script[async]"+t}function Ud(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ye(n.href)+'"]');if(l)return e.instance=l,ae(l),l;var u=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ae(l),fe(l,"style",u),Du(l,n.precedence,t),e.instance=l;case"stylesheet":u=ri(n.href);var o=t.querySelector(la(u));if(o)return e.state.loading|=4,e.instance=o,ae(o),o;l=Bd(n),(u=Je.get(u))&&no(l,u),o=(t.ownerDocument||t).createElement("link"),ae(o);var d=o;return d._p=new Promise(function(y,A){d.onload=y,d.onerror=A}),fe(o,"link",l),e.state.loading|=4,Du(o,n.precedence,t),e.instance=o;case"script":return o=ci(n.src),(u=t.querySelector(ia(o)))?(e.instance=u,ae(u),u):(l=n,(u=Je.get(o))&&(l=x({},n),lo(l,u)),t=t.ownerDocument||t,u=t.createElement("script"),ae(u),fe(u,"link",l),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Du(l,n.precedence,t));return e.instance}function Du(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,o=u,d=0;d<l.length;d++){var y=l[d];if(y.dataset.precedence===e)o=y;else if(o!==u)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function no(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function lo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ou=null;function Hd(t,e,n){if(Ou===null){var l=new Map,u=Ou=new Map;u.set(n,l)}else u=Ou,l=u.get(n),l||(l=new Map,u.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var o=n[u];if(!(o[bi]||o[re]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var d=o.getAttribute(e)||"";d=t+d;var y=l.get(d);y?y.push(o):l.set(d,[o])}}return l}function Ld(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function qg(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 qd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Yg(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=ri(l.href),o=e.querySelector(la(u));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Mu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,ae(o);return}o=e.ownerDocument||e,l=Bd(l),(u=Je.get(u))&&no(l,u),o=o.createElement("link"),ae(o);var d=o;d._p=new Promise(function(y,A){d.onload=y,d.onerror=A}),fe(o,"link",l),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Mu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var io=0;function Vg(t,e){return t.stylesheets&&t.count===0&&ku(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&ku(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&io===0&&(io=62500*Eg());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ku(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>io?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function Mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ku(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Nu=null;function ku(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Nu=new Map,e.forEach(Xg,t),Nu=null,Mu.call(t))}function Xg(t,e){if(!(e.state.loading&4)){var n=Nu.get(t);if(n)var l=n.get(null);else{n=new Map,Nu.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<u.length;o++){var d=u[o];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),l=d)}l&&n.set(null,l)}u=e.instance,d=u.getAttribute("data-precedence"),o=n.get(d)||l,o===l&&n.set(null,u),n.set(d,u),this.count++,l=Mu.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),o?o.parentNode.insertBefore(u,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var aa={$$typeof:Z,Provider:null,Consumer:null,_currentValue:at,_currentValue2:at,_threadCount:0};function Gg(t,e,n,l,u,o,d,y,A){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=Pu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pu(0),this.hiddenUpdates=Pu(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=o,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Yd(t,e,n,l,u,o,d,y,A,O,R,q){return t=new Gg(t,e,n,d,A,O,R,q,y),e=1,o===!0&&(e|=24),o=Ne(3,null,null,e),t.current=o,o.stateNode=t,e=Ur(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:n,cache:e},Yr(o),t}function Vd(t){return t?(t=Ll,t):Ll}function Xd(t,e,n,l,u,o){u=Vd(u),l.context===null?l.context=u:l.pendingContext=u,l=Hn(e),l.payload={element:n},o=o===void 0?null:o,o!==null&&(l.callback=o),n=Ln(t,l,e),n!==null&&(Te(n,t,e),Ui(n,t,e))}function Gd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function ao(t,e){Gd(t,e),(t=t.alternate)&&Gd(t,e)}function Qd(t){if(t.tag===13||t.tag===31){var e=cl(t,67108864);e!==null&&Te(e,t,67108864),ao(t,67108864)}}function Zd(t){if(t.tag===13||t.tag===31){var e=Be();e=tr(e);var n=cl(t,e);n!==null&&Te(n,t,e),ao(t,e)}}var wu=!0;function Qg(t,e,n,l){var u=N.T;N.T=null;var o=K.p;try{K.p=2,uo(t,e,n,l)}finally{K.p=o,N.T=u}}function Zg(t,e,n,l){var u=N.T;N.T=null;var o=K.p;try{K.p=8,uo(t,e,n,l)}finally{K.p=o,N.T=u}}function uo(t,e,n,l){if(wu){var u=ro(l);if(u===null)Zc(t,e,l,Ru,n),Fd(t,l);else if(Fg(u,t,e,n,l))l.stopPropagation();else if(Fd(t,l),e&4&&-1<Kg.indexOf(t)){for(;u!==null;){var o=Dl(u);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var d=ll(o.pendingLanes);if(d!==0){var y=o;for(y.pendingLanes|=2,y.entangledLanes|=2;d;){var A=1<<31-qt(d);y.entanglements[1]|=A,d&=~A}an(o),(Nt&6)===0&&(yu=me()+500,Pi(0))}}break;case 31:case 13:y=cl(o,2),y!==null&&Te(y,o,2),vu(),ao(o,2)}if(o=ro(l),o===null&&Zc(t,e,l,Ru,n),o===u)break;u=o}u!==null&&l.stopPropagation()}else Zc(t,e,l,null,n)}}function ro(t){return t=or(t),co(t)}var Ru=null;function co(t){if(Ru=null,t=_l(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(e),t!==null)return t;t=null}else if(n===31){if(t=m(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 Ru=t,null}function Kd(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($u()){case H:return 2;case $:return 8;case dt:case Et:return 32;case wt:return 268435456;default:return 32}default:return 32}}var oo=!1,In=null,Wn=null,$n=null,ua=new Map,ra=new Map,Pn=[],Kg="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 Fd(t,e){switch(t){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":ua.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ra.delete(e.pointerId)}}function ca(t,e,n,l,u,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:o,targetContainers:[u]},e!==null&&(e=Dl(e),e!==null&&Qd(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function Fg(t,e,n,l,u){switch(e){case"focusin":return In=ca(In,t,e,n,l,u),!0;case"dragenter":return Wn=ca(Wn,t,e,n,l,u),!0;case"mouseover":return $n=ca($n,t,e,n,l,u),!0;case"pointerover":var o=u.pointerId;return ua.set(o,ca(ua.get(o)||null,t,e,n,l,u)),!0;case"gotpointercapture":return o=u.pointerId,ra.set(o,ca(ra.get(o)||null,t,e,n,l,u)),!0}return!1}function Jd(t){var e=_l(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,cs(t.priority,function(){Zd(n)});return}}else if(e===31){if(e=m(n),e!==null){t.blockedOn=e,cs(t.priority,function(){Zd(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 ju(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ro(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);cr=l,n.target.dispatchEvent(l),cr=null}else return e=Dl(n),e!==null&&Qd(e),t.blockedOn=n,!1;e.shift()}return!0}function Id(t,e,n){ju(t)&&n.delete(e)}function Jg(){oo=!1,In!==null&&ju(In)&&(In=null),Wn!==null&&ju(Wn)&&(Wn=null),$n!==null&&ju($n)&&($n=null),ua.forEach(Id),ra.forEach(Id)}function Bu(t,e){t.blockedOn===e&&(t.blockedOn=null,oo||(oo=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Jg)))}var Uu=null;function Wd(t){Uu!==t&&(Uu=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Uu===t&&(Uu=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],u=t[e+2];if(typeof l!="function"){if(co(l||n)===null)continue;break}var o=Dl(n);o!==null&&(t.splice(e,3),e-=3,rc(o,{pending:!0,data:u,method:n.method,action:l},l,u))}}))}function oi(t){function e(A){return Bu(A,t)}In!==null&&Bu(In,t),Wn!==null&&Bu(Wn,t),$n!==null&&Bu($n,t),ua.forEach(e),ra.forEach(e);for(var n=0;n<Pn.length;n++){var l=Pn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Pn.length&&(n=Pn[0],n.blockedOn===null);)Jd(n),n.blockedOn===null&&Pn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var u=n[l],o=n[l+1],d=u[xe]||null;if(typeof o=="function")d||Wd(n);else if(d){var y=null;if(o&&o.hasAttribute("formAction")){if(u=o,d=o[xe]||null)y=d.formAction;else if(co(u)!==null)continue}else y=d.action;typeof y=="function"?n[l+1]=y:(n.splice(l,3),l-=3),Wd(n)}}}function $d(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(d){return u=d})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function so(t){this._internalRoot=t}Hu.prototype.render=so.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,l=Be();Xd(n,l,t,e,null,null)},Hu.prototype.unmount=so.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Xd(t.current,2,null,t,null,null),vu(),e[Cl]=null}};function Hu(t){this._internalRoot=t}Hu.prototype.unstable_scheduleHydration=function(t){if(t){var e=rs();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Pn.length&&e!==0&&e<Pn[n].priority;n++);Pn.splice(n,0,t),n===0&&Jd(t)}};var Pd=a.version;if(Pd!=="19.2.4")throw Error(c(527,Pd,"19.2.4"));K.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=p(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var Ig={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lu.isDisabled&&Lu.supportsFiber)try{ye=Lu.inject(Ig),le=Lu}catch{}}return sa.createRoot=function(t,e){if(!s(t))throw Error(c(299));var n=!1,l="",u=uh,o=rh,d=ch;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=Yd(t,1,!1,null,null,n,l,null,u,o,d,$d),t[Cl]=e.current,Qc(t),new so(e)},sa.hydrateRoot=function(t,e,n){if(!s(t))throw Error(c(299));var l=!1,u="",o=uh,d=rh,y=ch,A=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.formState!==void 0&&(A=n.formState)),e=Yd(t,1,!0,e,n??null,l,u,A,o,d,y,$d),e.context=Vd(null),n=e.current,l=Be(),l=tr(l),u=Hn(l),u.callback=null,Ln(n,u,l),n=l,e.current.lanes=n,xi(e,n),an(e),t[Cl]=e.current,Qc(t),new Hu(e)},sa.version="19.2.4",sa}var op;function u1(){if(op)return po.exports;op=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),po.exports=a1(),po.exports}var r1=u1();const $p=(...i)=>i.filter((a,r,c)=>!!a&&a.trim()!==""&&c.indexOf(a)===r).join(" ").trim();const c1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const o1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,r,c)=>c?c.toUpperCase():r.toLowerCase());const sp=i=>{const a=o1(i);return a.charAt(0).toUpperCase()+a.slice(1)};var s1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const f1=i=>{for(const a in i)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const h1=mt.forwardRef(({color:i="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:s="",children:f,iconNode:h,...m},g)=>mt.createElement("svg",{ref:g,...s1,width:a,height:a,stroke:i,strokeWidth:c?Number(r)*24/Number(a):r,className:$p("lucide",s),...!f&&!f1(m)&&{"aria-hidden":"true"},...m},[...h.map(([p,v])=>mt.createElement(p,v)),...Array.isArray(f)?f:[f]]));const he=(i,a)=>{const r=mt.forwardRef(({className:c,...s},f)=>mt.createElement(h1,{ref:f,iconNode:a,className:$p(`lucide-${c1(sp(i))}`,`lucide-${i}`,c),...s}));return r.displayName=sp(i),r};const d1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],p1=he("arrow-right",d1);const m1=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],y1=he("check",m1);const g1=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Gu=he("chevron-down",g1);const v1=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Pp=he("chevron-right",v1);const x1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],tm=he("file-code",x1);const b1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],S1=he("file-text",b1);const E1=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],z1=he("folder-open",E1);const A1=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],T1=he("folder",A1);const C1=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],Vo=he("git-branch",C1);const _1=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],D1=he("layers",_1);const O1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],M1=he("loader-circle",O1);const N1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],k1=he("panel-left-close",N1);const w1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],R1=he("panel-left",w1);const j1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],B1=he("panel-right-close",j1);const U1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],H1=he("panel-right",U1);const L1=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],em=he("scan-search",L1);const q1=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Y1=he("triangle-alert",q1);function V1({repoName:i,currentBranch:a,baseBranch:r}){return M.jsx("header",{className:"h-12 shrink-0 flex items-center justify-between px-6",style:{borderBottom:"1px solid #30363D"},children:M.jsxs("div",{className:"flex items-center gap-8",children:[M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsx(Vo,{size:16,color:"#E6EDF3"}),M.jsx("span",{style:{color:"#E6EDF3",fontSize:"14px"},children:i})]}),M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsx("span",{style:{color:"#9DA5AE",fontSize:"13px"},children:r}),M.jsx(p1,{size:14,color:"#9DA5AE"}),M.jsx("span",{style:{color:"#58A6FF",fontSize:"13px"},children:a})]})]})})}function X1({path:i,additions:a,deletions:r,collapsed:c,onToggle:s,viewed:f,onToggleViewed:h}){const m=c?Pp:Gu;return M.jsxs("div",{className:"h-10 flex items-center justify-between px-4 shrink-0 cursor-pointer select-none",style:{background:"#161B22",borderBottom:"1px solid #30363D"},onClick:s,children:[M.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[M.jsx(m,{size:14,color:"#9DA5AE",className:"shrink-0"}),M.jsx(tm,{size:14,color:f?"#3FB950":"#9DA5AE",className:"shrink-0"}),M.jsx("span",{className:"truncate",style:{color:f?"#9DA5AE":"#E6EDF3",fontSize:"13px"},children:i})]}),M.jsxs("div",{className:"flex items-center gap-3 shrink-0 ml-3",children:[M.jsxs("span",{style:{color:"#3FB950",fontSize:"12px"},children:["+",a]}),M.jsxs("span",{style:{color:"#F47067",fontSize:"12px"},children:["-",r]}),M.jsx("div",{className:"flex items-center justify-center cursor-pointer shrink-0",style:{width:"15px",height:"15px",border:`1.5px solid ${f?"#3FB950":"#484F58"}`,borderRadius:"3px",background:"transparent"},onClick:g=>{g.stopPropagation(),h?.()},children:f&&M.jsx("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",children:M.jsx("path",{d:"M2 5.5L4.5 8L9 3",stroke:"#3FB950",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}const G1={context:{bg:"transparent",text:"#9DA5AE",ln:"#484F58",prefix:" "},addition:{bg:"#122117",text:"#7EE787",ln:"#3FB950",prefix:"+"},deletion:{bg:"#2A1516",text:"#FFA198",ln:"#F47067",prefix:"-"}};function Q1({type:i,lineNumber:a,content:r}){const c=G1[i];return M.jsxs("div",{className:"flex items-center h-[22px] min-w-full",style:{background:c.bg},children:[M.jsx("span",{className:"w-12 shrink-0 text-right pr-3 select-none",style:{color:c.ln,fontSize:"12px"},children:a}),M.jsx("span",{className:"flex-1 whitespace-pre",style:{color:c.text,fontSize:"12px"},children:r})]})}function Z1(i){const a={name:"",children:new Map};return i.forEach((r,c)=>{const s=r.path.split("/");let f=a;s.forEach((h,m)=>{f.children.has(h)||f.children.set(h,{name:h,children:new Map}),f=f.children.get(h),m===s.length-1&&(f.fileIndex=c,f.additions=r.additions,f.deletions=r.deletions)})}),a}function nm({node:i,depth:a,selectedFile:r,onSelectFile:c,expandedFolders:s,toggleFolder:f,viewedFiles:h}){const m=i.fileIndex!==void 0,g=m&&i.fileIndex===r,p=m&&h.has(i.fileIndex),v=Array.from(i.children.values()),x=v.filter(P=>P.fileIndex===void 0||P.children.size>0),z=v.filter(P=>P.fileIndex!==void 0&&P.children.size===0),b=[...x,...z];if(m&&i.children.size===0)return M.jsxs("button",{className:"flex items-center gap-1.5 py-1 text-left cursor-pointer w-full",style:{paddingLeft:`${a*12+8}px`,background:g?"#1C2128":"transparent",border:"none",borderLeft:g?"2px solid #58A6FF":"2px solid transparent"},onClick:()=>c(i.fileIndex),children:[p?M.jsx(y1,{size:12,color:"#3FB950",className:"shrink-0"}):M.jsx(tm,{size:12,color:g?"#58A6FF":"#9DA5AE",className:"shrink-0"}),M.jsx("span",{className:"truncate",style:{color:p?"#9DA5AE":g?"#E6EDF3":"#C9D1D9",fontSize:"12px"},children:i.name}),M.jsxs("span",{className:"ml-auto shrink-0 flex gap-1 pr-2",style:{fontSize:"11px"},children:[M.jsxs("span",{style:{color:"#3FB950"},children:["+",i.additions]}),M.jsxs("span",{style:{color:"#F47067"},children:["-",i.deletions]})]})]});const Y=`${a}-${i.name}`,G=s.has(Y),F=G?z1:T1,B=G?Gu:Pp;return M.jsxs(M.Fragment,{children:[M.jsxs("button",{className:"flex items-center gap-1.5 py-1 text-left cursor-pointer w-full",style:{paddingLeft:`${a*12+8}px`,background:"transparent",border:"none"},onClick:()=>f(Y),children:[M.jsx(B,{size:10,color:"#484F58",className:"shrink-0"}),M.jsx(F,{size:12,color:"#9DA5AE",className:"shrink-0"}),M.jsx("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:i.name})]}),G&&b.map(P=>M.jsx(nm,{node:P,depth:a+1,selectedFile:r,onSelectFile:c,expandedFolders:s,toggleFolder:f,viewedFiles:h},P.name))]})}function K1({files:i,selectedFile:a,onSelectFile:r,onSelectionChange:c,onAnalyzeSelection:s}){const[f,h]=mt.useState(!0),[m,g]=mt.useState(240),[p,v]=mt.useState(null),[x,z]=mt.useState(new Set),[b,Y]=mt.useState(new Set),G=mt.useMemo(()=>Z1(i),[i]),F=mt.useRef(null),B=mt.useRef(null),P=mt.useRef([]),Z=mt.useRef(!1),I=mt.useCallback(X=>{X.preventDefault();const V=B.current;if(!V)return;const tt=Q=>{const N=V.getBoundingClientRect(),K=Q.clientX-N.left;g(Math.max(150,Math.min(400,K)))},W=()=>{document.removeEventListener("mousemove",tt),document.removeEventListener("mouseup",W),document.body.style.cursor="",document.body.style.userSelect=""};document.body.style.cursor="col-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",tt),document.addEventListener("mouseup",W)},[]);mt.useEffect(()=>{const X=()=>{const V=window.getSelection(),tt=V?.toString().trim();if(tt&&tt.length>3&&F.current?.contains(V?.anchorNode??null)){c(tt);const Q=V.getRangeAt(0).getBoundingClientRect(),N=F.current.getBoundingClientRect();v({x:Q.left-N.left+Q.width/2,y:Q.top-N.top-8})}else c(null),v(null)};return document.addEventListener("mouseup",X),()=>document.removeEventListener("mouseup",X)},[c]);const[ht,j]=mt.useState(()=>{const X=new Set;function V(tt,W){tt.children.size>0&&tt.name&&X.add(`${W}-${tt.name}`),tt.children.forEach(Q=>V(Q,W+1))}return V(G,0),X}),nt=X=>{j(V=>{const tt=new Set(V);return tt.has(X)?tt.delete(X):tt.add(X),tt})},ot=mt.useCallback(X=>{r(X);const V=P.current[X];V&&F.current&&(Z.current=!0,V.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{Z.current=!1},500))},[r]),ct=mt.useCallback(()=>{if(Z.current||!F.current)return;const V=F.current.scrollTop;for(let tt=P.current.length-1;tt>=0;tt--){const W=P.current[tt];if(W&&W.offsetTop<=V+60){tt!==a&&r(tt);break}}},[a,r]);if(mt.useEffect(()=>{const X=F.current;if(X)return X.addEventListener("scroll",ct,{passive:!0}),()=>X.removeEventListener("scroll",ct)},[ct]),mt.useEffect(()=>{if(!F.current)return;const V=F.current.scrollTop;for(let tt=P.current.length-1;tt>=0;tt--){const W=P.current[tt];if(W&&W.offsetTop<=V+60){tt!==a&&r(tt);break}}},[x]),i.length===0)return M.jsx("div",{className:"flex-1 flex items-center justify-center h-full",style:{color:"#9DA5AE",fontSize:"13px"},children:"No diff available. Are you on a feature branch?"});const pt=Array.from(G.children.values());return M.jsxs("div",{className:"flex h-full",ref:B,children:[f&&M.jsxs(M.Fragment,{children:[M.jsxs("div",{className:"shrink-0 flex flex-col overflow-y-auto",style:{width:`${m}px`,background:"#161B22"},children:[M.jsxs("div",{className:"flex items-center justify-between px-3 h-10 shrink-0",style:{borderBottom:"1px solid #30363D"},children:[M.jsxs("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:["Files (",i.length,")"]}),M.jsx("button",{className:"cursor-pointer",style:{background:"transparent",border:"none"},onClick:()=>h(!1),children:M.jsx(k1,{size:14,color:"#9DA5AE"})})]}),M.jsx("div",{className:"py-1",children:pt.map(X=>M.jsx(nm,{node:X,depth:0,selectedFile:a,onSelectFile:ot,expandedFolders:ht,toggleFolder:nt,viewedFiles:b},X.name))})]}),M.jsx("div",{className:"w-1 shrink-0 cursor-col-resize hover:bg-[#58A6FF]/40 transition-colors",style:{background:"#30363D"},onMouseDown:I})]}),M.jsxs("div",{className:"flex-1 flex flex-col min-w-0",children:[M.jsxs("div",{className:"flex items-center",children:[!f&&M.jsx("button",{className:"h-10 px-3 shrink-0 cursor-pointer flex items-center",style:{background:"#161B22",border:"none",borderBottom:"1px solid #30363D",borderRight:"1px solid #30363D"},onClick:()=>h(!0),children:M.jsx(R1,{size:14,color:"#9DA5AE"})}),M.jsx("div",{className:"flex-1 h-10 flex items-center px-4 shrink-0",style:{background:"#161B22",borderBottom:"1px solid #30363D"},children:M.jsx("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:b.size>0?M.jsxs(M.Fragment,{children:[b.size," / ",i.length," files viewed"]}):M.jsxs(M.Fragment,{children:[i.length," files"]})})})]}),M.jsxs("div",{className:"flex-1 overflow-auto relative",ref:F,children:[p&&M.jsxs("button",{className:"absolute z-20 flex items-center gap-1 px-2.5 py-1.5 cursor-pointer -translate-x-1/2 -translate-y-full",style:{left:p.x,top:p.y,background:"#161B22",border:"1px solid #58A6FF",borderRadius:"6px",boxShadow:"0 4px 12px rgba(0,0,0,0.4)"},onMouseDown:X=>{X.preventDefault(),s(),v(null)},children:[M.jsx(em,{size:12,color:"#58A6FF"}),M.jsx("span",{style:{color:"#58A6FF",fontSize:"11px",whiteSpace:"nowrap"},children:"Analyze Selection"})]}),M.jsx("div",{children:i.map((X,V)=>M.jsxs("div",{ref:tt=>{P.current[V]=tt},children:[M.jsx("div",{className:"sticky top-0 z-10",children:M.jsx(X1,{path:X.path,additions:X.additions,deletions:X.deletions,collapsed:x.has(V),onToggle:()=>{z(tt=>{const W=new Set(tt);return W.has(V)?W.delete(V):W.add(V),W})},viewed:b.has(V),onToggleViewed:()=>{const tt=!b.has(V);Y(W=>{const Q=new Set(W);return Q.has(V)?Q.delete(V):Q.add(V),Q}),z(W=>{const Q=new Set(W);return tt?Q.add(V):Q.delete(V),Q})}})}),!x.has(V)&&M.jsx("div",{className:"py-2",style:{minWidth:"fit-content"},children:X.lines.map((tt,W)=>M.jsx(Q1,{type:tt.type,lineNumber:tt.lineNumber,content:tt.content},W))})]},X.path))})]})]})]})}function F1(i,a){const r={};return(i[i.length-1]===""?[...i,""]:i).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const J1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,I1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,W1={};function fp(i,a){return(W1.jsx?I1:J1).test(i)}const $1=/[ \t\n\f\r]/g;function P1(i){return typeof i=="object"?i.type==="text"?hp(i.value):!1:hp(i)}function hp(i){return i.replace($1,"")===""}class xa{constructor(a,r,c){this.normal=r,this.property=a,c&&(this.space=c)}}xa.prototype.normal={};xa.prototype.property={};xa.prototype.space=void 0;function lm(i,a){const r={},c={};for(const s of i)Object.assign(r,s.property),Object.assign(c,s.normal);return new xa(r,c,a)}function No(i){return i.toLowerCase()}class De{constructor(a,r){this.attribute=r,this.property=a}}De.prototype.attribute="";De.prototype.booleanish=!1;De.prototype.boolean=!1;De.prototype.commaOrSpaceSeparated=!1;De.prototype.commaSeparated=!1;De.prototype.defined=!1;De.prototype.mustUseProperty=!1;De.prototype.number=!1;De.prototype.overloadedBoolean=!1;De.prototype.property="";De.prototype.spaceSeparated=!1;De.prototype.space=void 0;let t0=0;const bt=Sl(),ne=Sl(),ko=Sl(),J=Sl(),Vt=Sl(),hi=Sl(),Ue=Sl();function Sl(){return 2**++t0}const wo=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:ne,commaOrSpaceSeparated:Ue,commaSeparated:hi,number:J,overloadedBoolean:ko,spaceSeparated:Vt},Symbol.toStringTag,{value:"Module"})),vo=Object.keys(wo);class Xo extends De{constructor(a,r,c,s){let f=-1;if(super(a,r),dp(this,"space",s),typeof c=="number")for(;++f<vo.length;){const h=vo[f];dp(this,vo[f],(c&wo[h])===wo[h])}}}Xo.prototype.defined=!0;function dp(i,a,r){r&&(i[a]=r)}function pi(i){const a={},r={};for(const[c,s]of Object.entries(i.properties)){const f=new Xo(c,i.transform(i.attributes||{},c),s,i.space);i.mustUseProperty&&i.mustUseProperty.includes(c)&&(f.mustUseProperty=!0),a[c]=f,r[No(c)]=c,r[No(f.attribute)]=c}return new xa(a,r,i.space)}const im=pi({properties:{ariaActiveDescendant:null,ariaAtomic:ne,ariaAutoComplete:null,ariaBusy:ne,ariaChecked:ne,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:Vt,ariaCurrent:null,ariaDescribedBy:Vt,ariaDetails:null,ariaDisabled:ne,ariaDropEffect:Vt,ariaErrorMessage:null,ariaExpanded:ne,ariaFlowTo:Vt,ariaGrabbed:ne,ariaHasPopup:null,ariaHidden:ne,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Vt,ariaLevel:J,ariaLive:null,ariaModal:ne,ariaMultiLine:ne,ariaMultiSelectable:ne,ariaOrientation:null,ariaOwns:Vt,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:ne,ariaReadOnly:ne,ariaRelevant:null,ariaRequired:ne,ariaRoleDescription:Vt,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:ne,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(i,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function am(i,a){return a in i?i[a]:a}function um(i,a){return am(i,a.toLowerCase())}const e0=pi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hi,acceptCharset:Vt,accessKey:Vt,action:null,allow:null,allowFullScreen:bt,allowPaymentRequest:bt,allowUserMedia:bt,alt:null,as:null,async:bt,autoCapitalize:null,autoComplete:Vt,autoFocus:bt,autoPlay:bt,blocking:Vt,capture:null,charSet:null,checked:bt,cite:null,className:Vt,cols:J,colSpan:null,content:null,contentEditable:ne,controls:bt,controlsList:Vt,coords:J|hi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:ko,draggable:ne,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:Vt,height:J,hidden:ko,high:J,href:null,hrefLang:null,htmlFor:Vt,httpEquiv:Vt,id:null,imageSizes:null,imageSrcSet:null,inert:bt,inputMode:null,integrity:null,is:null,isMap:bt,itemId:null,itemProp:Vt,itemRef:Vt,itemScope:bt,itemType:Vt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bt,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:bt,muted:bt,name:null,nonce:null,noModule:bt,noValidate:bt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:bt,optimum:J,pattern:null,ping:Vt,placeholder:null,playsInline:bt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:bt,referrerPolicy:null,rel:Vt,required:bt,reversed:bt,rows:J,rowSpan:J,sandbox:Vt,scope:null,scoped:bt,seamless:bt,selected:bt,shadowRootClonable:bt,shadowRootDelegatesFocus:bt,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:ne,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:ne,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Vt,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bt,declare:bt,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:ne,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:um}),n0=pi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ue,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:Vt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hi,g2:hi,glyphName:hi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:Ue,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Vt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ue,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ue,rev:Ue,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ue,requiredFeatures:Ue,requiredFonts:Ue,requiredFormats:Ue,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:Ue,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ue,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ue,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:am}),rm=pi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(i,a){return"xlink:"+a.slice(5).toLowerCase()}}),cm=pi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:um}),om=pi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,a){return"xml:"+a.slice(3).toLowerCase()}}),l0={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},i0=/[A-Z]/g,pp=/-[a-z]/g,a0=/^data[-\w.:]+$/i;function u0(i,a){const r=No(a);let c=a,s=De;if(r in i.normal)return i.property[i.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&a0.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(pp,c0);c="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!pp.test(f)){let h=f.replace(i0,r0);h.charAt(0)!=="-"&&(h="-"+h),a="data"+h}}s=Xo}return new s(c,a)}function r0(i){return"-"+i.toLowerCase()}function c0(i){return i.charAt(1).toUpperCase()}const o0=lm([im,e0,rm,cm,om],"html"),Go=lm([im,n0,rm,cm,om],"svg");function s0(i){return i.join(" ").trim()}var si={},xo,mp;function f0(){if(mp)return xo;mp=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,c=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h=/^[;\s]*/,m=/^\s+|\s+$/g,g=`
10
+ `,p="/",v="*",x="",z="comment",b="declaration";function Y(F,B){if(typeof F!="string")throw new TypeError("First argument must be a string");if(!F)return[];B=B||{};var P=1,Z=1;function I(W){var Q=W.match(a);Q&&(P+=Q.length);var N=W.lastIndexOf(g);Z=~N?W.length-N:Z+W.length}function ht(){var W={line:P,column:Z};return function(Q){return Q.position=new j(W),ct(),Q}}function j(W){this.start=W,this.end={line:P,column:Z},this.source=B.source}j.prototype.content=F;function nt(W){var Q=new Error(B.source+":"+P+":"+Z+": "+W);if(Q.reason=W,Q.filename=B.source,Q.line=P,Q.column=Z,Q.source=F,!B.silent)throw Q}function ot(W){var Q=W.exec(F);if(Q){var N=Q[0];return I(N),F=F.slice(N.length),Q}}function ct(){ot(r)}function pt(W){var Q;for(W=W||[];Q=X();)Q!==!1&&W.push(Q);return W}function X(){var W=ht();if(!(p!=F.charAt(0)||v!=F.charAt(1))){for(var Q=2;x!=F.charAt(Q)&&(v!=F.charAt(Q)||p!=F.charAt(Q+1));)++Q;if(Q+=2,x===F.charAt(Q-1))return nt("End of comment missing");var N=F.slice(2,Q-2);return Z+=2,I(N),F=F.slice(Q),Z+=2,W({type:z,comment:N})}}function V(){var W=ht(),Q=ot(c);if(Q){if(X(),!ot(s))return nt("property missing ':'");var N=ot(f),K=W({type:b,property:G(Q[0].replace(i,x)),value:N?G(N[0].replace(i,x)):x});return ot(h),K}}function tt(){var W=[];pt(W);for(var Q;Q=V();)Q!==!1&&(W.push(Q),pt(W));return W}return ct(),tt()}function G(F){return F?F.replace(m,x):x}return xo=Y,xo}var yp;function h0(){if(yp)return si;yp=1;var i=si&&si.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(si,"__esModule",{value:!0}),si.default=r;const a=i(f0());function r(c,s){let f=null;if(!c||typeof c!="string")return f;const h=(0,a.default)(c),m=typeof s=="function";return h.forEach(g=>{if(g.type!=="declaration")return;const{property:p,value:v}=g;m?s(p,v,g):v&&(f=f||{},f[p]=v)}),f}return si}var fa={},gp;function d0(){if(gp)return fa;gp=1,Object.defineProperty(fa,"__esModule",{value:!0}),fa.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,r=/^[^-]+$/,c=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,f=function(p){return!p||r.test(p)||i.test(p)},h=function(p,v){return v.toUpperCase()},m=function(p,v){return"".concat(v,"-")},g=function(p,v){return v===void 0&&(v={}),f(p)?p:(p=p.toLowerCase(),v.reactCompat?p=p.replace(s,m):p=p.replace(c,m),p.replace(a,h))};return fa.camelCase=g,fa}var ha,vp;function p0(){if(vp)return ha;vp=1;var i=ha&&ha.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=i(h0()),r=d0();function c(s,f){var h={};return!s||typeof s!="string"||(0,a.default)(s,function(m,g){m&&g&&(h[(0,r.camelCase)(m,f)]=g)}),h}return c.default=c,ha=c,ha}var m0=p0();const y0=Wp(m0),sm=fm("end"),Qo=fm("start");function fm(i){return a;function a(r){const c=r&&r.position&&r.position[i]||{};if(typeof c.line=="number"&&c.line>0&&typeof c.column=="number"&&c.column>0)return{line:c.line,column:c.column,offset:typeof c.offset=="number"&&c.offset>-1?c.offset:void 0}}}function g0(i){const a=Qo(i),r=sm(i);if(a&&r)return{start:a,end:r}}function ma(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?xp(i.position):"start"in i||"end"in i?xp(i):"line"in i||"column"in i?Ro(i):""}function Ro(i){return bp(i&&i.line)+":"+bp(i&&i.column)}function xp(i){return Ro(i&&i.start)+"-"+Ro(i&&i.end)}function bp(i){return i&&typeof i=="number"?i:1}class pe extends Error{constructor(a,r,c){super(),typeof r=="string"&&(c=r,r=void 0);let s="",f={},h=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof a=="string"?s=a:!f.cause&&a&&(h=!0,s=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof c=="string"){const g=c.indexOf(":");g===-1?f.ruleId=c:(f.source=c.slice(0,g),f.ruleId=c.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const m=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=m?m.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=m?m.line:void 0,this.name=ma(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=h&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}pe.prototype.file="";pe.prototype.name="";pe.prototype.reason="";pe.prototype.message="";pe.prototype.stack="";pe.prototype.column=void 0;pe.prototype.line=void 0;pe.prototype.ancestors=void 0;pe.prototype.cause=void 0;pe.prototype.fatal=void 0;pe.prototype.place=void 0;pe.prototype.ruleId=void 0;pe.prototype.source=void 0;const Zo={}.hasOwnProperty,v0=new Map,x0=/[A-Z]/g,b0=new Set(["table","tbody","thead","tfoot","tr"]),S0=new Set(["td","th"]),hm="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function E0(i,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=a.filePath||void 0;let c;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");c=M0(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");c=O0(r,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:c,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Go:o0,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=dm(s,i,void 0);return f&&typeof f!="string"?f:s.create(i,s.Fragment,{children:f||void 0},void 0)}function dm(i,a,r){if(a.type==="element")return z0(i,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return A0(i,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return C0(i,a,r);if(a.type==="mdxjsEsm")return T0(i,a);if(a.type==="root")return _0(i,a,r);if(a.type==="text")return D0(i,a)}function z0(i,a,r){const c=i.schema;let s=c;a.tagName.toLowerCase()==="svg"&&c.space==="html"&&(s=Go,i.schema=s),i.ancestors.push(a);const f=mm(i,a.tagName,!1),h=N0(i,a);let m=Fo(i,a);return b0.has(a.tagName)&&(m=m.filter(function(g){return typeof g=="string"?!P1(g):!0})),pm(i,h,f,a),Ko(h,m),i.ancestors.pop(),i.schema=c,i.create(a,f,h,r)}function A0(i,a){if(a.data&&a.data.estree&&i.evaluater){const c=a.data.estree.body[0];return c.type,i.evaluater.evaluateExpression(c.expression)}va(i,a.position)}function T0(i,a){if(a.data&&a.data.estree&&i.evaluater)return i.evaluater.evaluateProgram(a.data.estree);va(i,a.position)}function C0(i,a,r){const c=i.schema;let s=c;a.name==="svg"&&c.space==="html"&&(s=Go,i.schema=s),i.ancestors.push(a);const f=a.name===null?i.Fragment:mm(i,a.name,!0),h=k0(i,a),m=Fo(i,a);return pm(i,h,f,a),Ko(h,m),i.ancestors.pop(),i.schema=c,i.create(a,f,h,r)}function _0(i,a,r){const c={};return Ko(c,Fo(i,a)),i.create(a,i.Fragment,c,r)}function D0(i,a){return a.value}function pm(i,a,r,c){typeof r!="string"&&r!==i.Fragment&&i.passNode&&(a.node=c)}function Ko(i,a){if(a.length>0){const r=a.length>1?a:a[0];r&&(i.children=r)}}function O0(i,a,r){return c;function c(s,f,h,m){const p=Array.isArray(h.children)?r:a;return m?p(f,h,m):p(f,h)}}function M0(i,a){return r;function r(c,s,f,h){const m=Array.isArray(f.children),g=Qo(c);return a(s,f,h,m,{columnNumber:g?g.column-1:void 0,fileName:i,lineNumber:g?g.line:void 0},void 0)}}function N0(i,a){const r={};let c,s;for(s in a.properties)if(s!=="children"&&Zo.call(a.properties,s)){const f=w0(i,s,a.properties[s]);if(f){const[h,m]=f;i.tableCellAlignToStyle&&h==="align"&&typeof m=="string"&&S0.has(a.tagName)?c=m:r[h]=m}}if(c){const f=r.style||(r.style={});f[i.stylePropertyNameCase==="css"?"text-align":"textAlign"]=c}return r}function k0(i,a){const r={};for(const c of a.attributes)if(c.type==="mdxJsxExpressionAttribute")if(c.data&&c.data.estree&&i.evaluater){const f=c.data.estree.body[0];f.type;const h=f.expression;h.type;const m=h.properties[0];m.type,Object.assign(r,i.evaluater.evaluateExpression(m.argument))}else va(i,a.position);else{const s=c.name;let f;if(c.value&&typeof c.value=="object")if(c.value.data&&c.value.data.estree&&i.evaluater){const m=c.value.data.estree.body[0];m.type,f=i.evaluater.evaluateExpression(m.expression)}else va(i,a.position);else f=c.value===null?!0:c.value;r[s]=f}return r}function Fo(i,a){const r=[];let c=-1;const s=i.passKeys?new Map:v0;for(;++c<a.children.length;){const f=a.children[c];let h;if(i.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const p=s.get(g)||0;h=g+"-"+p,s.set(g,p+1)}}const m=dm(i,f,h);m!==void 0&&r.push(m)}return r}function w0(i,a,r){const c=u0(i.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=c.commaSeparated?F1(r):s0(r)),c.property==="style"){let s=typeof r=="object"?r:R0(i,String(r));return i.stylePropertyNameCase==="css"&&(s=j0(s)),["style",s]}return[i.elementAttributeNameCase==="react"&&c.space?l0[c.property]||c.property:c.attribute,r]}}function R0(i,a){try{return y0(a,{reactCompat:!0})}catch(r){if(i.ignoreInvalidStyle)return{};const c=r,s=new pe("Cannot parse `style` attribute",{ancestors:i.ancestors,cause:c,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=i.filePath||void 0,s.url=hm+"#cannot-parse-style-attribute",s}}function mm(i,a,r){let c;if(!r)c={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let f=-1,h;for(;++f<s.length;){const m=fp(s[f])?{type:"Identifier",name:s[f]}:{type:"Literal",value:s[f]};h=h?{type:"MemberExpression",object:h,property:m,computed:!!(f&&m.type==="Literal"),optional:!1}:m}c=h}else c=fp(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(c.type==="Literal"){const s=c.value;return Zo.call(i.components,s)?i.components[s]:s}if(i.evaluater)return i.evaluater.evaluateExpression(c);va(i)}function va(i,a){const r=new pe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:i.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=i.filePath||void 0,r.url=hm+"#cannot-handle-mdx-estrees-without-createevaluater",r}function j0(i){const a={};let r;for(r in i)Zo.call(i,r)&&(a[B0(r)]=i[r]);return a}function B0(i){let a=i.replace(x0,U0);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function U0(i){return"-"+i.toLowerCase()}const bo={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},H0={};function L0(i,a){const r=H0,c=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,s=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ym(i,c,s)}function ym(i,a,r){if(q0(i)){if("value"in i)return i.type==="html"&&!r?"":i.value;if(a&&"alt"in i&&i.alt)return i.alt;if("children"in i)return Sp(i.children,a,r)}return Array.isArray(i)?Sp(i,a,r):""}function Sp(i,a,r){const c=[];let s=-1;for(;++s<i.length;)c[s]=ym(i[s],a,r);return c.join("")}function q0(i){return!!(i&&typeof i=="object")}const Ep=document.createElement("i");function Jo(i){const a="&"+i+";";Ep.innerHTML=a;const r=Ep.textContent;return r.charCodeAt(r.length-1)===59&&i!=="semi"||r===a?!1:r}function cn(i,a,r,c){const s=i.length;let f=0,h;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,r=r>0?r:0,c.length<1e4)h=Array.from(c),h.unshift(a,r),i.splice(...h);else for(r&&i.splice(a,r);f<c.length;)h=c.slice(f,f+1e4),h.unshift(a,0),i.splice(...h),f+=1e4,a+=1e4}function Ie(i,a){return i.length>0?(cn(i,i.length,0,a),i):a}const zp={}.hasOwnProperty;function Y0(i){const a={};let r=-1;for(;++r<i.length;)V0(a,i[r]);return a}function V0(i,a){let r;for(r in a){const s=(zp.call(i,r)?i[r]:void 0)||(i[r]={}),f=a[r];let h;if(f)for(h in f){zp.call(s,h)||(s[h]=[]);const m=f[h];X0(s[h],Array.isArray(m)?m:m?[m]:[])}}}function X0(i,a){let r=-1;const c=[];for(;++r<a.length;)(a[r].add==="after"?i:c).push(a[r]);cn(i,0,0,c)}function gm(i,a){const r=Number.parseInt(i,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function di(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const rn=nl(/[A-Za-z]/),He=nl(/[\dA-Za-z]/),G0=nl(/[#-'*+\--9=?A-Z^-~]/);function jo(i){return i!==null&&(i<32||i===127)}const Bo=nl(/\d/),Q0=nl(/[\dA-Fa-f]/),Z0=nl(/[!-/:-@[-`{-~]/);function yt(i){return i!==null&&i<-2}function _e(i){return i!==null&&(i<0||i===32)}function kt(i){return i===-2||i===-1||i===32}const K0=nl(new RegExp("\\p{P}|\\p{S}","u")),F0=nl(/\s/);function nl(i){return a;function a(r){return r!==null&&r>-1&&i.test(String.fromCharCode(r))}}function mi(i){const a=[];let r=-1,c=0,s=0;for(;++r<i.length;){const f=i.charCodeAt(r);let h="";if(f===37&&He(i.charCodeAt(r+1))&&He(i.charCodeAt(r+2)))s=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(h=String.fromCharCode(f));else if(f>55295&&f<57344){const m=i.charCodeAt(r+1);f<56320&&m>56319&&m<57344?(h=String.fromCharCode(f,m),s=1):h="�"}else h=String.fromCharCode(f);h&&(a.push(i.slice(c,r),encodeURIComponent(h)),c=r+s+1,h=""),s&&(r+=s,s=0)}return a.join("")+i.slice(c)}function Xt(i,a,r,c){const s=c?c-1:Number.POSITIVE_INFINITY;let f=0;return h;function h(g){return kt(g)?(i.enter(r),m(g)):a(g)}function m(g){return kt(g)&&f++<s?(i.consume(g),m):(i.exit(r),a(g))}}const J0={tokenize:I0};function I0(i){const a=i.attempt(this.parser.constructs.contentInitial,c,s);let r;return a;function c(m){if(m===null){i.consume(m);return}return i.enter("lineEnding"),i.consume(m),i.exit("lineEnding"),Xt(i,a,"linePrefix")}function s(m){return i.enter("paragraph"),f(m)}function f(m){const g=i.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=g),r=g,h(m)}function h(m){if(m===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(m);return}return yt(m)?(i.consume(m),i.exit("chunkText"),f):(i.consume(m),h)}}const W0={tokenize:$0},Ap={tokenize:P0};function $0(i){const a=this,r=[];let c=0,s,f,h;return m;function m(Z){if(c<r.length){const I=r[c];return a.containerState=I[1],i.attempt(I[0].continuation,g,p)(Z)}return p(Z)}function g(Z){if(c++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&P();const I=a.events.length;let ht=I,j;for(;ht--;)if(a.events[ht][0]==="exit"&&a.events[ht][1].type==="chunkFlow"){j=a.events[ht][1].end;break}B(c);let nt=I;for(;nt<a.events.length;)a.events[nt][1].end={...j},nt++;return cn(a.events,ht+1,0,a.events.slice(I)),a.events.length=nt,p(Z)}return m(Z)}function p(Z){if(c===r.length){if(!s)return z(Z);if(s.currentConstruct&&s.currentConstruct.concrete)return Y(Z);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},i.check(Ap,v,x)(Z)}function v(Z){return s&&P(),B(c),z(Z)}function x(Z){return a.parser.lazy[a.now().line]=c!==r.length,h=a.now().offset,Y(Z)}function z(Z){return a.containerState={},i.attempt(Ap,b,Y)(Z)}function b(Z){return c++,r.push([a.currentConstruct,a.containerState]),z(Z)}function Y(Z){if(Z===null){s&&P(),B(0),i.consume(Z);return}return s=s||a.parser.flow(a.now()),i.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:f}),G(Z)}function G(Z){if(Z===null){F(i.exit("chunkFlow"),!0),B(0),i.consume(Z);return}return yt(Z)?(i.consume(Z),F(i.exit("chunkFlow")),c=0,a.interrupt=void 0,m):(i.consume(Z),G)}function F(Z,I){const ht=a.sliceStream(Z);if(I&&ht.push(null),Z.previous=f,f&&(f.next=Z),f=Z,s.defineSkip(Z.start),s.write(ht),a.parser.lazy[Z.start.line]){let j=s.events.length;for(;j--;)if(s.events[j][1].start.offset<h&&(!s.events[j][1].end||s.events[j][1].end.offset>h))return;const nt=a.events.length;let ot=nt,ct,pt;for(;ot--;)if(a.events[ot][0]==="exit"&&a.events[ot][1].type==="chunkFlow"){if(ct){pt=a.events[ot][1].end;break}ct=!0}for(B(c),j=nt;j<a.events.length;)a.events[j][1].end={...pt},j++;cn(a.events,ot+1,0,a.events.slice(nt)),a.events.length=j}}function B(Z){let I=r.length;for(;I-- >Z;){const ht=r[I];a.containerState=ht[1],ht[0].exit.call(a,i)}r.length=Z}function P(){s.write([null]),f=void 0,s=void 0,a.containerState._closeFlow=void 0}}function P0(i,a,r){return Xt(i,i.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Tp(i){if(i===null||_e(i)||F0(i))return 1;if(K0(i))return 2}function Io(i,a,r){const c=[];let s=-1;for(;++s<i.length;){const f=i[s].resolveAll;f&&!c.includes(f)&&(a=f(a,r),c.push(f))}return a}const Uo={name:"attention",resolveAll:tv,tokenize:ev};function tv(i,a){let r=-1,c,s,f,h,m,g,p,v;for(;++r<i.length;)if(i[r][0]==="enter"&&i[r][1].type==="attentionSequence"&&i[r][1]._close){for(c=r;c--;)if(i[c][0]==="exit"&&i[c][1].type==="attentionSequence"&&i[c][1]._open&&a.sliceSerialize(i[c][1]).charCodeAt(0)===a.sliceSerialize(i[r][1]).charCodeAt(0)){if((i[c][1]._close||i[r][1]._open)&&(i[r][1].end.offset-i[r][1].start.offset)%3&&!((i[c][1].end.offset-i[c][1].start.offset+i[r][1].end.offset-i[r][1].start.offset)%3))continue;g=i[c][1].end.offset-i[c][1].start.offset>1&&i[r][1].end.offset-i[r][1].start.offset>1?2:1;const x={...i[c][1].end},z={...i[r][1].start};Cp(x,-g),Cp(z,g),h={type:g>1?"strongSequence":"emphasisSequence",start:x,end:{...i[c][1].end}},m={type:g>1?"strongSequence":"emphasisSequence",start:{...i[r][1].start},end:z},f={type:g>1?"strongText":"emphasisText",start:{...i[c][1].end},end:{...i[r][1].start}},s={type:g>1?"strong":"emphasis",start:{...h.start},end:{...m.end}},i[c][1].end={...h.start},i[r][1].start={...m.end},p=[],i[c][1].end.offset-i[c][1].start.offset&&(p=Ie(p,[["enter",i[c][1],a],["exit",i[c][1],a]])),p=Ie(p,[["enter",s,a],["enter",h,a],["exit",h,a],["enter",f,a]]),p=Ie(p,Io(a.parser.constructs.insideSpan.null,i.slice(c+1,r),a)),p=Ie(p,[["exit",f,a],["enter",m,a],["exit",m,a],["exit",s,a]]),i[r][1].end.offset-i[r][1].start.offset?(v=2,p=Ie(p,[["enter",i[r][1],a],["exit",i[r][1],a]])):v=0,cn(i,c-1,r-c+3,p),r=c+p.length-v-2;break}}for(r=-1;++r<i.length;)i[r][1].type==="attentionSequence"&&(i[r][1].type="data");return i}function ev(i,a){const r=this.parser.constructs.attentionMarkers.null,c=this.previous,s=Tp(c);let f;return h;function h(g){return f=g,i.enter("attentionSequence"),m(g)}function m(g){if(g===f)return i.consume(g),m;const p=i.exit("attentionSequence"),v=Tp(g),x=!v||v===2&&s||r.includes(g),z=!s||s===2&&v||r.includes(c);return p._open=!!(f===42?x:x&&(s||!z)),p._close=!!(f===42?z:z&&(v||!x)),a(g)}}function Cp(i,a){i.column+=a,i.offset+=a,i._bufferIndex+=a}const nv={name:"autolink",tokenize:lv};function lv(i,a,r){let c=0;return s;function s(b){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(b),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),f}function f(b){return rn(b)?(i.consume(b),h):b===64?r(b):p(b)}function h(b){return b===43||b===45||b===46||He(b)?(c=1,m(b)):p(b)}function m(b){return b===58?(i.consume(b),c=0,g):(b===43||b===45||b===46||He(b))&&c++<32?(i.consume(b),m):(c=0,p(b))}function g(b){return b===62?(i.exit("autolinkProtocol"),i.enter("autolinkMarker"),i.consume(b),i.exit("autolinkMarker"),i.exit("autolink"),a):b===null||b===32||b===60||jo(b)?r(b):(i.consume(b),g)}function p(b){return b===64?(i.consume(b),v):G0(b)?(i.consume(b),p):r(b)}function v(b){return He(b)?x(b):r(b)}function x(b){return b===46?(i.consume(b),c=0,v):b===62?(i.exit("autolinkProtocol").type="autolinkEmail",i.enter("autolinkMarker"),i.consume(b),i.exit("autolinkMarker"),i.exit("autolink"),a):z(b)}function z(b){if((b===45||He(b))&&c++<63){const Y=b===45?z:x;return i.consume(b),Y}return r(b)}}const Ku={partial:!0,tokenize:iv};function iv(i,a,r){return c;function c(f){return kt(f)?Xt(i,s,"linePrefix")(f):s(f)}function s(f){return f===null||yt(f)?a(f):r(f)}}const vm={continuation:{tokenize:uv},exit:rv,name:"blockQuote",tokenize:av};function av(i,a,r){const c=this;return s;function s(h){if(h===62){const m=c.containerState;return m.open||(i.enter("blockQuote",{_container:!0}),m.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(h),i.exit("blockQuoteMarker"),f}return r(h)}function f(h){return kt(h)?(i.enter("blockQuotePrefixWhitespace"),i.consume(h),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),a):(i.exit("blockQuotePrefix"),a(h))}}function uv(i,a,r){const c=this;return s;function s(h){return kt(h)?Xt(i,f,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):f(h)}function f(h){return i.attempt(vm,a,r)(h)}}function rv(i){i.exit("blockQuote")}const xm={name:"characterEscape",tokenize:cv};function cv(i,a,r){return c;function c(f){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(f),i.exit("escapeMarker"),s}function s(f){return Z0(f)?(i.enter("characterEscapeValue"),i.consume(f),i.exit("characterEscapeValue"),i.exit("characterEscape"),a):r(f)}}const bm={name:"characterReference",tokenize:ov};function ov(i,a,r){const c=this;let s=0,f,h;return m;function m(x){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(x),i.exit("characterReferenceMarker"),g}function g(x){return x===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(x),i.exit("characterReferenceMarkerNumeric"),p):(i.enter("characterReferenceValue"),f=31,h=He,v(x))}function p(x){return x===88||x===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(x),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),f=6,h=Q0,v):(i.enter("characterReferenceValue"),f=7,h=Bo,v(x))}function v(x){if(x===59&&s){const z=i.exit("characterReferenceValue");return h===He&&!Jo(c.sliceSerialize(z))?r(x):(i.enter("characterReferenceMarker"),i.consume(x),i.exit("characterReferenceMarker"),i.exit("characterReference"),a)}return h(x)&&s++<f?(i.consume(x),v):r(x)}}const _p={partial:!0,tokenize:fv},Dp={concrete:!0,name:"codeFenced",tokenize:sv};function sv(i,a,r){const c=this,s={partial:!0,tokenize:ht};let f=0,h=0,m;return g;function g(j){return p(j)}function p(j){const nt=c.events[c.events.length-1];return f=nt&&nt[1].type==="linePrefix"?nt[2].sliceSerialize(nt[1],!0).length:0,m=j,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),v(j)}function v(j){return j===m?(h++,i.consume(j),v):h<3?r(j):(i.exit("codeFencedFenceSequence"),kt(j)?Xt(i,x,"whitespace")(j):x(j))}function x(j){return j===null||yt(j)?(i.exit("codeFencedFence"),c.interrupt?a(j):i.check(_p,G,I)(j)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),z(j))}function z(j){return j===null||yt(j)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),x(j)):kt(j)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),Xt(i,b,"whitespace")(j)):j===96&&j===m?r(j):(i.consume(j),z)}function b(j){return j===null||yt(j)?x(j):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),Y(j))}function Y(j){return j===null||yt(j)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),x(j)):j===96&&j===m?r(j):(i.consume(j),Y)}function G(j){return i.attempt(s,I,F)(j)}function F(j){return i.enter("lineEnding"),i.consume(j),i.exit("lineEnding"),B}function B(j){return f>0&&kt(j)?Xt(i,P,"linePrefix",f+1)(j):P(j)}function P(j){return j===null||yt(j)?i.check(_p,G,I)(j):(i.enter("codeFlowValue"),Z(j))}function Z(j){return j===null||yt(j)?(i.exit("codeFlowValue"),P(j)):(i.consume(j),Z)}function I(j){return i.exit("codeFenced"),a(j)}function ht(j,nt,ot){let ct=0;return pt;function pt(Q){return j.enter("lineEnding"),j.consume(Q),j.exit("lineEnding"),X}function X(Q){return j.enter("codeFencedFence"),kt(Q)?Xt(j,V,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):V(Q)}function V(Q){return Q===m?(j.enter("codeFencedFenceSequence"),tt(Q)):ot(Q)}function tt(Q){return Q===m?(ct++,j.consume(Q),tt):ct>=h?(j.exit("codeFencedFenceSequence"),kt(Q)?Xt(j,W,"whitespace")(Q):W(Q)):ot(Q)}function W(Q){return Q===null||yt(Q)?(j.exit("codeFencedFence"),nt(Q)):ot(Q)}}}function fv(i,a,r){const c=this;return s;function s(h){return h===null?r(h):(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),f)}function f(h){return c.parser.lazy[c.now().line]?r(h):a(h)}}const So={name:"codeIndented",tokenize:dv},hv={partial:!0,tokenize:pv};function dv(i,a,r){const c=this;return s;function s(p){return i.enter("codeIndented"),Xt(i,f,"linePrefix",5)(p)}function f(p){const v=c.events[c.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?h(p):r(p)}function h(p){return p===null?g(p):yt(p)?i.attempt(hv,h,g)(p):(i.enter("codeFlowValue"),m(p))}function m(p){return p===null||yt(p)?(i.exit("codeFlowValue"),h(p)):(i.consume(p),m)}function g(p){return i.exit("codeIndented"),a(p)}}function pv(i,a,r){const c=this;return s;function s(h){return c.parser.lazy[c.now().line]?r(h):yt(h)?(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),s):Xt(i,f,"linePrefix",5)(h)}function f(h){const m=c.events[c.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(h):yt(h)?s(h):r(h)}}const mv={name:"codeText",previous:gv,resolve:yv,tokenize:vv};function yv(i){let a=i.length-4,r=3,c,s;if((i[r][1].type==="lineEnding"||i[r][1].type==="space")&&(i[a][1].type==="lineEnding"||i[a][1].type==="space")){for(c=r;++c<a;)if(i[c][1].type==="codeTextData"){i[r][1].type="codeTextPadding",i[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(c=r-1,a++;++c<=a;)s===void 0?c!==a&&i[c][1].type!=="lineEnding"&&(s=c):(c===a||i[c][1].type==="lineEnding")&&(i[s][1].type="codeTextData",c!==s+2&&(i[s][1].end=i[c-1][1].end,i.splice(s+2,c-s-2),a-=c-s-2,c=s+2),s=void 0);return i}function gv(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function vv(i,a,r){let c=0,s,f;return h;function h(x){return i.enter("codeText"),i.enter("codeTextSequence"),m(x)}function m(x){return x===96?(i.consume(x),c++,m):(i.exit("codeTextSequence"),g(x))}function g(x){return x===null?r(x):x===32?(i.enter("space"),i.consume(x),i.exit("space"),g):x===96?(f=i.enter("codeTextSequence"),s=0,v(x)):yt(x)?(i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),g):(i.enter("codeTextData"),p(x))}function p(x){return x===null||x===32||x===96||yt(x)?(i.exit("codeTextData"),g(x)):(i.consume(x),p)}function v(x){return x===96?(i.consume(x),s++,v):s===c?(i.exit("codeTextSequence"),i.exit("codeText"),a(x)):(f.type="codeTextData",p(x))}}class xv{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){const c=r??Number.POSITIVE_INFINITY;return c<this.left.length?this.left.slice(a,c):a>this.left.length?this.right.slice(this.right.length-c+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-c+this.left.length).reverse())}splice(a,r,c){const s=r||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return c&&da(this.left,c),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),da(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),da(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const r=this.left.splice(a,Number.POSITIVE_INFINITY);da(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);da(this.left,r.reverse())}}}function da(i,a){let r=0;if(a.length<1e4)i.push(...a);else for(;r<a.length;)i.push(...a.slice(r,r+1e4)),r+=1e4}function Sm(i){const a={};let r=-1,c,s,f,h,m,g,p;const v=new xv(i);for(;++r<v.length;){for(;r in a;)r=a[r];if(c=v.get(r),r&&c[1].type==="chunkFlow"&&v.get(r-1)[1].type==="listItemPrefix"&&(g=c[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(c[0]==="enter")c[1].contentType&&(Object.assign(a,bv(v,r)),r=a[r],p=!0);else if(c[1]._container){for(f=r,s=void 0;f--;)if(h=v.get(f),h[1].type==="lineEnding"||h[1].type==="lineEndingBlank")h[0]==="enter"&&(s&&(v.get(s)[1].type="lineEndingBlank"),h[1].type="lineEnding",s=f);else if(!(h[1].type==="linePrefix"||h[1].type==="listItemIndent"))break;s&&(c[1].end={...v.get(s)[1].start},m=v.slice(s,r),m.unshift(c),v.splice(s,r-s+1,m))}}return cn(i,0,Number.POSITIVE_INFINITY,v.slice(0)),!p}function bv(i,a){const r=i.get(a)[1],c=i.get(a)[2];let s=a-1;const f=[];let h=r._tokenizer;h||(h=c.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(h._contentTypeTextTrailing=!0));const m=h.events,g=[],p={};let v,x,z=-1,b=r,Y=0,G=0;const F=[G];for(;b;){for(;i.get(++s)[1]!==b;);f.push(s),b._tokenizer||(v=c.sliceStream(b),b.next||v.push(null),x&&h.defineSkip(b.start),b._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(v),b._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),x=b,b=b.next}for(b=r;++z<m.length;)m[z][0]==="exit"&&m[z-1][0]==="enter"&&m[z][1].type===m[z-1][1].type&&m[z][1].start.line!==m[z][1].end.line&&(G=z+1,F.push(G),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(h.events=[],b?(b._tokenizer=void 0,b.previous=void 0):F.pop(),z=F.length;z--;){const B=m.slice(F[z],F[z+1]),P=f.pop();g.push([P,P+B.length-1]),i.splice(P,2,B)}for(g.reverse(),z=-1;++z<g.length;)p[Y+g[z][0]]=Y+g[z][1],Y+=g[z][1]-g[z][0]-1;return p}const Sv={resolve:zv,tokenize:Av},Ev={partial:!0,tokenize:Tv};function zv(i){return Sm(i),i}function Av(i,a){let r;return c;function c(m){return i.enter("content"),r=i.enter("chunkContent",{contentType:"content"}),s(m)}function s(m){return m===null?f(m):yt(m)?i.check(Ev,h,f)(m):(i.consume(m),s)}function f(m){return i.exit("chunkContent"),i.exit("content"),a(m)}function h(m){return i.consume(m),i.exit("chunkContent"),r.next=i.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,s}}function Tv(i,a,r){const c=this;return s;function s(h){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),Xt(i,f,"linePrefix")}function f(h){if(h===null||yt(h))return r(h);const m=c.events[c.events.length-1];return!c.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(h):i.interrupt(c.parser.constructs.flow,r,a)(h)}}function Em(i,a,r,c,s,f,h,m,g){const p=g||Number.POSITIVE_INFINITY;let v=0;return x;function x(B){return B===60?(i.enter(c),i.enter(s),i.enter(f),i.consume(B),i.exit(f),z):B===null||B===32||B===41||jo(B)?r(B):(i.enter(c),i.enter(h),i.enter(m),i.enter("chunkString",{contentType:"string"}),G(B))}function z(B){return B===62?(i.enter(f),i.consume(B),i.exit(f),i.exit(s),i.exit(c),a):(i.enter(m),i.enter("chunkString",{contentType:"string"}),b(B))}function b(B){return B===62?(i.exit("chunkString"),i.exit(m),z(B)):B===null||B===60||yt(B)?r(B):(i.consume(B),B===92?Y:b)}function Y(B){return B===60||B===62||B===92?(i.consume(B),b):b(B)}function G(B){return!v&&(B===null||B===41||_e(B))?(i.exit("chunkString"),i.exit(m),i.exit(h),i.exit(c),a(B)):v<p&&B===40?(i.consume(B),v++,G):B===41?(i.consume(B),v--,G):B===null||B===32||B===40||jo(B)?r(B):(i.consume(B),B===92?F:G)}function F(B){return B===40||B===41||B===92?(i.consume(B),G):G(B)}}function zm(i,a,r,c,s,f){const h=this;let m=0,g;return p;function p(b){return i.enter(c),i.enter(s),i.consume(b),i.exit(s),i.enter(f),v}function v(b){return m>999||b===null||b===91||b===93&&!g||b===94&&!m&&"_hiddenFootnoteSupport"in h.parser.constructs?r(b):b===93?(i.exit(f),i.enter(s),i.consume(b),i.exit(s),i.exit(c),a):yt(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),v):(i.enter("chunkString",{contentType:"string"}),x(b))}function x(b){return b===null||b===91||b===93||yt(b)||m++>999?(i.exit("chunkString"),v(b)):(i.consume(b),g||(g=!kt(b)),b===92?z:x)}function z(b){return b===91||b===92||b===93?(i.consume(b),m++,x):x(b)}}function Am(i,a,r,c,s,f){let h;return m;function m(z){return z===34||z===39||z===40?(i.enter(c),i.enter(s),i.consume(z),i.exit(s),h=z===40?41:z,g):r(z)}function g(z){return z===h?(i.enter(s),i.consume(z),i.exit(s),i.exit(c),a):(i.enter(f),p(z))}function p(z){return z===h?(i.exit(f),g(h)):z===null?r(z):yt(z)?(i.enter("lineEnding"),i.consume(z),i.exit("lineEnding"),Xt(i,p,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),v(z))}function v(z){return z===h||z===null||yt(z)?(i.exit("chunkString"),p(z)):(i.consume(z),z===92?x:v)}function x(z){return z===h||z===92?(i.consume(z),v):v(z)}}function ya(i,a){let r;return c;function c(s){return yt(s)?(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),r=!0,c):kt(s)?Xt(i,c,r?"linePrefix":"lineSuffix")(s):a(s)}}const Cv={name:"definition",tokenize:Dv},_v={partial:!0,tokenize:Ov};function Dv(i,a,r){const c=this;let s;return f;function f(b){return i.enter("definition"),h(b)}function h(b){return zm.call(c,i,m,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function m(b){return s=di(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),b===58?(i.enter("definitionMarker"),i.consume(b),i.exit("definitionMarker"),g):r(b)}function g(b){return _e(b)?ya(i,p)(b):p(b)}function p(b){return Em(i,v,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function v(b){return i.attempt(_v,x,x)(b)}function x(b){return kt(b)?Xt(i,z,"whitespace")(b):z(b)}function z(b){return b===null||yt(b)?(i.exit("definition"),c.parser.defined.push(s),a(b)):r(b)}}function Ov(i,a,r){return c;function c(m){return _e(m)?ya(i,s)(m):r(m)}function s(m){return Am(i,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function f(m){return kt(m)?Xt(i,h,"whitespace")(m):h(m)}function h(m){return m===null||yt(m)?a(m):r(m)}}const Mv={name:"hardBreakEscape",tokenize:Nv};function Nv(i,a,r){return c;function c(f){return i.enter("hardBreakEscape"),i.consume(f),s}function s(f){return yt(f)?(i.exit("hardBreakEscape"),a(f)):r(f)}}const kv={name:"headingAtx",resolve:wv,tokenize:Rv};function wv(i,a){let r=i.length-2,c=3,s,f;return i[c][1].type==="whitespace"&&(c+=2),r-2>c&&i[r][1].type==="whitespace"&&(r-=2),i[r][1].type==="atxHeadingSequence"&&(c===r-1||r-4>c&&i[r-2][1].type==="whitespace")&&(r-=c+1===r?2:4),r>c&&(s={type:"atxHeadingText",start:i[c][1].start,end:i[r][1].end},f={type:"chunkText",start:i[c][1].start,end:i[r][1].end,contentType:"text"},cn(i,c,r-c+1,[["enter",s,a],["enter",f,a],["exit",f,a],["exit",s,a]])),i}function Rv(i,a,r){let c=0;return s;function s(v){return i.enter("atxHeading"),f(v)}function f(v){return i.enter("atxHeadingSequence"),h(v)}function h(v){return v===35&&c++<6?(i.consume(v),h):v===null||_e(v)?(i.exit("atxHeadingSequence"),m(v)):r(v)}function m(v){return v===35?(i.enter("atxHeadingSequence"),g(v)):v===null||yt(v)?(i.exit("atxHeading"),a(v)):kt(v)?Xt(i,m,"whitespace")(v):(i.enter("atxHeadingText"),p(v))}function g(v){return v===35?(i.consume(v),g):(i.exit("atxHeadingSequence"),m(v))}function p(v){return v===null||v===35||_e(v)?(i.exit("atxHeadingText"),m(v)):(i.consume(v),p)}}const jv=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Op=["pre","script","style","textarea"],Bv={concrete:!0,name:"htmlFlow",resolveTo:Lv,tokenize:qv},Uv={partial:!0,tokenize:Vv},Hv={partial:!0,tokenize:Yv};function Lv(i){let a=i.length;for(;a--&&!(i[a][0]==="enter"&&i[a][1].type==="htmlFlow"););return a>1&&i[a-2][1].type==="linePrefix"&&(i[a][1].start=i[a-2][1].start,i[a+1][1].start=i[a-2][1].start,i.splice(a-2,2)),i}function qv(i,a,r){const c=this;let s,f,h,m,g;return p;function p(S){return v(S)}function v(S){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(S),x}function x(S){return S===33?(i.consume(S),z):S===47?(i.consume(S),f=!0,G):S===63?(i.consume(S),s=3,c.interrupt?a:E):rn(S)?(i.consume(S),h=String.fromCharCode(S),F):r(S)}function z(S){return S===45?(i.consume(S),s=2,b):S===91?(i.consume(S),s=5,m=0,Y):rn(S)?(i.consume(S),s=4,c.interrupt?a:E):r(S)}function b(S){return S===45?(i.consume(S),c.interrupt?a:E):r(S)}function Y(S){const et="CDATA[";return S===et.charCodeAt(m++)?(i.consume(S),m===et.length?c.interrupt?a:V:Y):r(S)}function G(S){return rn(S)?(i.consume(S),h=String.fromCharCode(S),F):r(S)}function F(S){if(S===null||S===47||S===62||_e(S)){const et=S===47,ft=h.toLowerCase();return!et&&!f&&Op.includes(ft)?(s=1,c.interrupt?a(S):V(S)):jv.includes(h.toLowerCase())?(s=6,et?(i.consume(S),B):c.interrupt?a(S):V(S)):(s=7,c.interrupt&&!c.parser.lazy[c.now().line]?r(S):f?P(S):Z(S))}return S===45||He(S)?(i.consume(S),h+=String.fromCharCode(S),F):r(S)}function B(S){return S===62?(i.consume(S),c.interrupt?a:V):r(S)}function P(S){return kt(S)?(i.consume(S),P):pt(S)}function Z(S){return S===47?(i.consume(S),pt):S===58||S===95||rn(S)?(i.consume(S),I):kt(S)?(i.consume(S),Z):pt(S)}function I(S){return S===45||S===46||S===58||S===95||He(S)?(i.consume(S),I):ht(S)}function ht(S){return S===61?(i.consume(S),j):kt(S)?(i.consume(S),ht):Z(S)}function j(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(i.consume(S),g=S,nt):kt(S)?(i.consume(S),j):ot(S)}function nt(S){return S===g?(i.consume(S),g=null,ct):S===null||yt(S)?r(S):(i.consume(S),nt)}function ot(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||_e(S)?ht(S):(i.consume(S),ot)}function ct(S){return S===47||S===62||kt(S)?Z(S):r(S)}function pt(S){return S===62?(i.consume(S),X):r(S)}function X(S){return S===null||yt(S)?V(S):kt(S)?(i.consume(S),X):r(S)}function V(S){return S===45&&s===2?(i.consume(S),N):S===60&&s===1?(i.consume(S),K):S===62&&s===4?(i.consume(S),T):S===63&&s===3?(i.consume(S),E):S===93&&s===5?(i.consume(S),St):yt(S)&&(s===6||s===7)?(i.exit("htmlFlowData"),i.check(Uv,U,tt)(S)):S===null||yt(S)?(i.exit("htmlFlowData"),tt(S)):(i.consume(S),V)}function tt(S){return i.check(Hv,W,U)(S)}function W(S){return i.enter("lineEnding"),i.consume(S),i.exit("lineEnding"),Q}function Q(S){return S===null||yt(S)?tt(S):(i.enter("htmlFlowData"),V(S))}function N(S){return S===45?(i.consume(S),E):V(S)}function K(S){return S===47?(i.consume(S),h="",at):V(S)}function at(S){if(S===62){const et=h.toLowerCase();return Op.includes(et)?(i.consume(S),T):V(S)}return rn(S)&&h.length<8?(i.consume(S),h+=String.fromCharCode(S),at):V(S)}function St(S){return S===93?(i.consume(S),E):V(S)}function E(S){return S===62?(i.consume(S),T):S===45&&s===2?(i.consume(S),E):V(S)}function T(S){return S===null||yt(S)?(i.exit("htmlFlowData"),U(S)):(i.consume(S),T)}function U(S){return i.exit("htmlFlow"),a(S)}}function Yv(i,a,r){const c=this;return s;function s(h){return yt(h)?(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),f):r(h)}function f(h){return c.parser.lazy[c.now().line]?r(h):a(h)}}function Vv(i,a,r){return c;function c(s){return i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),i.attempt(Ku,a,r)}}const Xv={name:"htmlText",tokenize:Gv};function Gv(i,a,r){const c=this;let s,f,h;return m;function m(E){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(E),g}function g(E){return E===33?(i.consume(E),p):E===47?(i.consume(E),ht):E===63?(i.consume(E),Z):rn(E)?(i.consume(E),ot):r(E)}function p(E){return E===45?(i.consume(E),v):E===91?(i.consume(E),f=0,Y):rn(E)?(i.consume(E),P):r(E)}function v(E){return E===45?(i.consume(E),b):r(E)}function x(E){return E===null?r(E):E===45?(i.consume(E),z):yt(E)?(h=x,K(E)):(i.consume(E),x)}function z(E){return E===45?(i.consume(E),b):x(E)}function b(E){return E===62?N(E):E===45?z(E):x(E)}function Y(E){const T="CDATA[";return E===T.charCodeAt(f++)?(i.consume(E),f===T.length?G:Y):r(E)}function G(E){return E===null?r(E):E===93?(i.consume(E),F):yt(E)?(h=G,K(E)):(i.consume(E),G)}function F(E){return E===93?(i.consume(E),B):G(E)}function B(E){return E===62?N(E):E===93?(i.consume(E),B):G(E)}function P(E){return E===null||E===62?N(E):yt(E)?(h=P,K(E)):(i.consume(E),P)}function Z(E){return E===null?r(E):E===63?(i.consume(E),I):yt(E)?(h=Z,K(E)):(i.consume(E),Z)}function I(E){return E===62?N(E):Z(E)}function ht(E){return rn(E)?(i.consume(E),j):r(E)}function j(E){return E===45||He(E)?(i.consume(E),j):nt(E)}function nt(E){return yt(E)?(h=nt,K(E)):kt(E)?(i.consume(E),nt):N(E)}function ot(E){return E===45||He(E)?(i.consume(E),ot):E===47||E===62||_e(E)?ct(E):r(E)}function ct(E){return E===47?(i.consume(E),N):E===58||E===95||rn(E)?(i.consume(E),pt):yt(E)?(h=ct,K(E)):kt(E)?(i.consume(E),ct):N(E)}function pt(E){return E===45||E===46||E===58||E===95||He(E)?(i.consume(E),pt):X(E)}function X(E){return E===61?(i.consume(E),V):yt(E)?(h=X,K(E)):kt(E)?(i.consume(E),X):ct(E)}function V(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(i.consume(E),s=E,tt):yt(E)?(h=V,K(E)):kt(E)?(i.consume(E),V):(i.consume(E),W)}function tt(E){return E===s?(i.consume(E),s=void 0,Q):E===null?r(E):yt(E)?(h=tt,K(E)):(i.consume(E),tt)}function W(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||_e(E)?ct(E):(i.consume(E),W)}function Q(E){return E===47||E===62||_e(E)?ct(E):r(E)}function N(E){return E===62?(i.consume(E),i.exit("htmlTextData"),i.exit("htmlText"),a):r(E)}function K(E){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),at}function at(E){return kt(E)?Xt(i,St,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):St(E)}function St(E){return i.enter("htmlTextData"),h(E)}}const Wo={name:"labelEnd",resolveAll:Fv,resolveTo:Jv,tokenize:Iv},Qv={tokenize:Wv},Zv={tokenize:$v},Kv={tokenize:Pv};function Fv(i){let a=-1;const r=[];for(;++a<i.length;){const c=i[a][1];if(r.push(i[a]),c.type==="labelImage"||c.type==="labelLink"||c.type==="labelEnd"){const s=c.type==="labelImage"?4:2;c.type="data",a+=s}}return i.length!==r.length&&cn(i,0,i.length,r),i}function Jv(i,a){let r=i.length,c=0,s,f,h,m;for(;r--;)if(s=i[r][1],f){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;i[r][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(h){if(i[r][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(f=r,s.type!=="labelLink")){c=2;break}}else s.type==="labelEnd"&&(h=r);const g={type:i[f][1].type==="labelLink"?"link":"image",start:{...i[f][1].start},end:{...i[i.length-1][1].end}},p={type:"label",start:{...i[f][1].start},end:{...i[h][1].end}},v={type:"labelText",start:{...i[f+c+2][1].end},end:{...i[h-2][1].start}};return m=[["enter",g,a],["enter",p,a]],m=Ie(m,i.slice(f+1,f+c+3)),m=Ie(m,[["enter",v,a]]),m=Ie(m,Io(a.parser.constructs.insideSpan.null,i.slice(f+c+4,h-3),a)),m=Ie(m,[["exit",v,a],i[h-2],i[h-1],["exit",p,a]]),m=Ie(m,i.slice(h+1)),m=Ie(m,[["exit",g,a]]),cn(i,f,i.length,m),i}function Iv(i,a,r){const c=this;let s=c.events.length,f,h;for(;s--;)if((c.events[s][1].type==="labelImage"||c.events[s][1].type==="labelLink")&&!c.events[s][1]._balanced){f=c.events[s][1];break}return m;function m(z){return f?f._inactive?x(z):(h=c.parser.defined.includes(di(c.sliceSerialize({start:f.end,end:c.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(z),i.exit("labelMarker"),i.exit("labelEnd"),g):r(z)}function g(z){return z===40?i.attempt(Qv,v,h?v:x)(z):z===91?i.attempt(Zv,v,h?p:x)(z):h?v(z):x(z)}function p(z){return i.attempt(Kv,v,x)(z)}function v(z){return a(z)}function x(z){return f._balanced=!0,r(z)}}function Wv(i,a,r){return c;function c(x){return i.enter("resource"),i.enter("resourceMarker"),i.consume(x),i.exit("resourceMarker"),s}function s(x){return _e(x)?ya(i,f)(x):f(x)}function f(x){return x===41?v(x):Em(i,h,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function h(x){return _e(x)?ya(i,g)(x):v(x)}function m(x){return r(x)}function g(x){return x===34||x===39||x===40?Am(i,p,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(x):v(x)}function p(x){return _e(x)?ya(i,v)(x):v(x)}function v(x){return x===41?(i.enter("resourceMarker"),i.consume(x),i.exit("resourceMarker"),i.exit("resource"),a):r(x)}}function $v(i,a,r){const c=this;return s;function s(m){return zm.call(c,i,f,h,"reference","referenceMarker","referenceString")(m)}function f(m){return c.parser.defined.includes(di(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)))?a(m):r(m)}function h(m){return r(m)}}function Pv(i,a,r){return c;function c(f){return i.enter("reference"),i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),s}function s(f){return f===93?(i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),i.exit("reference"),a):r(f)}}const tx={name:"labelStartImage",resolveAll:Wo.resolveAll,tokenize:ex};function ex(i,a,r){const c=this;return s;function s(m){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(m),i.exit("labelImageMarker"),f}function f(m){return m===91?(i.enter("labelMarker"),i.consume(m),i.exit("labelMarker"),i.exit("labelImage"),h):r(m)}function h(m){return m===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(m):a(m)}}const nx={name:"labelStartLink",resolveAll:Wo.resolveAll,tokenize:lx};function lx(i,a,r){const c=this;return s;function s(h){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(h),i.exit("labelMarker"),i.exit("labelLink"),f}function f(h){return h===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(h):a(h)}}const Eo={name:"lineEnding",tokenize:ix};function ix(i,a){return r;function r(c){return i.enter("lineEnding"),i.consume(c),i.exit("lineEnding"),Xt(i,a,"linePrefix")}}const Xu={name:"thematicBreak",tokenize:ax};function ax(i,a,r){let c=0,s;return f;function f(p){return i.enter("thematicBreak"),h(p)}function h(p){return s=p,m(p)}function m(p){return p===s?(i.enter("thematicBreakSequence"),g(p)):c>=3&&(p===null||yt(p))?(i.exit("thematicBreak"),a(p)):r(p)}function g(p){return p===s?(i.consume(p),c++,g):(i.exit("thematicBreakSequence"),kt(p)?Xt(i,m,"whitespace")(p):m(p))}}const Ce={continuation:{tokenize:ox},exit:fx,name:"list",tokenize:cx},ux={partial:!0,tokenize:hx},rx={partial:!0,tokenize:sx};function cx(i,a,r){const c=this,s=c.events[c.events.length-1];let f=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,h=0;return m;function m(b){const Y=c.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(Y==="listUnordered"?!c.containerState.marker||b===c.containerState.marker:Bo(b)){if(c.containerState.type||(c.containerState.type=Y,i.enter(Y,{_container:!0})),Y==="listUnordered")return i.enter("listItemPrefix"),b===42||b===45?i.check(Xu,r,p)(b):p(b);if(!c.interrupt||b===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),g(b)}return r(b)}function g(b){return Bo(b)&&++h<10?(i.consume(b),g):(!c.interrupt||h<2)&&(c.containerState.marker?b===c.containerState.marker:b===41||b===46)?(i.exit("listItemValue"),p(b)):r(b)}function p(b){return i.enter("listItemMarker"),i.consume(b),i.exit("listItemMarker"),c.containerState.marker=c.containerState.marker||b,i.check(Ku,c.interrupt?r:v,i.attempt(ux,z,x))}function v(b){return c.containerState.initialBlankLine=!0,f++,z(b)}function x(b){return kt(b)?(i.enter("listItemPrefixWhitespace"),i.consume(b),i.exit("listItemPrefixWhitespace"),z):r(b)}function z(b){return c.containerState.size=f+c.sliceSerialize(i.exit("listItemPrefix"),!0).length,a(b)}}function ox(i,a,r){const c=this;return c.containerState._closeFlow=void 0,i.check(Ku,s,f);function s(m){return c.containerState.furtherBlankLines=c.containerState.furtherBlankLines||c.containerState.initialBlankLine,Xt(i,a,"listItemIndent",c.containerState.size+1)(m)}function f(m){return c.containerState.furtherBlankLines||!kt(m)?(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,h(m)):(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,i.attempt(rx,a,h)(m))}function h(m){return c.containerState._closeFlow=!0,c.interrupt=void 0,Xt(i,i.attempt(Ce,a,r),"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function sx(i,a,r){const c=this;return Xt(i,s,"listItemIndent",c.containerState.size+1);function s(f){const h=c.events[c.events.length-1];return h&&h[1].type==="listItemIndent"&&h[2].sliceSerialize(h[1],!0).length===c.containerState.size?a(f):r(f)}}function fx(i){i.exit(this.containerState.type)}function hx(i,a,r){const c=this;return Xt(i,s,"listItemPrefixWhitespace",c.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(f){const h=c.events[c.events.length-1];return!kt(f)&&h&&h[1].type==="listItemPrefixWhitespace"?a(f):r(f)}}const Mp={name:"setextUnderline",resolveTo:dx,tokenize:px};function dx(i,a){let r=i.length,c,s,f;for(;r--;)if(i[r][0]==="enter"){if(i[r][1].type==="content"){c=r;break}i[r][1].type==="paragraph"&&(s=r)}else i[r][1].type==="content"&&i.splice(r,1),!f&&i[r][1].type==="definition"&&(f=r);const h={type:"setextHeading",start:{...i[c][1].start},end:{...i[i.length-1][1].end}};return i[s][1].type="setextHeadingText",f?(i.splice(s,0,["enter",h,a]),i.splice(f+1,0,["exit",i[c][1],a]),i[c][1].end={...i[f][1].end}):i[c][1]=h,i.push(["exit",h,a]),i}function px(i,a,r){const c=this;let s;return f;function f(p){let v=c.events.length,x;for(;v--;)if(c.events[v][1].type!=="lineEnding"&&c.events[v][1].type!=="linePrefix"&&c.events[v][1].type!=="content"){x=c.events[v][1].type==="paragraph";break}return!c.parser.lazy[c.now().line]&&(c.interrupt||x)?(i.enter("setextHeadingLine"),s=p,h(p)):r(p)}function h(p){return i.enter("setextHeadingLineSequence"),m(p)}function m(p){return p===s?(i.consume(p),m):(i.exit("setextHeadingLineSequence"),kt(p)?Xt(i,g,"lineSuffix")(p):g(p))}function g(p){return p===null||yt(p)?(i.exit("setextHeadingLine"),a(p)):r(p)}}const mx={tokenize:yx};function yx(i){const a=this,r=i.attempt(Ku,c,i.attempt(this.parser.constructs.flowInitial,s,Xt(i,i.attempt(this.parser.constructs.flow,s,i.attempt(Sv,s)),"linePrefix")));return r;function c(f){if(f===null){i.consume(f);return}return i.enter("lineEndingBlank"),i.consume(f),i.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function s(f){if(f===null){i.consume(f);return}return i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),a.currentConstruct=void 0,r}}const gx={resolveAll:Cm()},vx=Tm("string"),xx=Tm("text");function Tm(i){return{resolveAll:Cm(i==="text"?bx:void 0),tokenize:a};function a(r){const c=this,s=this.parser.constructs[i],f=r.attempt(s,h,m);return h;function h(v){return p(v)?f(v):m(v)}function m(v){if(v===null){r.consume(v);return}return r.enter("data"),r.consume(v),g}function g(v){return p(v)?(r.exit("data"),f(v)):(r.consume(v),g)}function p(v){if(v===null)return!0;const x=s[v];let z=-1;if(x)for(;++z<x.length;){const b=x[z];if(!b.previous||b.previous.call(c,c.previous))return!0}return!1}}}function Cm(i){return a;function a(r,c){let s=-1,f;for(;++s<=r.length;)f===void 0?r[s]&&r[s][1].type==="data"&&(f=s,s++):(!r[s]||r[s][1].type!=="data")&&(s!==f+2&&(r[f][1].end=r[s-1][1].end,r.splice(f+2,s-f-2),s=f+2),f=void 0);return i?i(r,c):r}}function bx(i,a){let r=0;for(;++r<=i.length;)if((r===i.length||i[r][1].type==="lineEnding")&&i[r-1][1].type==="data"){const c=i[r-1][1],s=a.sliceStream(c);let f=s.length,h=-1,m=0,g;for(;f--;){const p=s[f];if(typeof p=="string"){for(h=p.length;p.charCodeAt(h-1)===32;)m++,h--;if(h)break;h=-1}else if(p===-2)g=!0,m++;else if(p!==-1){f++;break}}if(a._contentTypeTextTrailing&&r===i.length&&(m=0),m){const p={type:r===i.length||g||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?h:c.start._bufferIndex+h,_index:c.start._index+f,line:c.end.line,column:c.end.column-m,offset:c.end.offset-m},end:{...c.end}};c.end={...p.start},c.start.offset===c.end.offset?Object.assign(c,p):(i.splice(r,0,["enter",p,a],["exit",p,a]),r+=2)}r++}return i}const Sx={42:Ce,43:Ce,45:Ce,48:Ce,49:Ce,50:Ce,51:Ce,52:Ce,53:Ce,54:Ce,55:Ce,56:Ce,57:Ce,62:vm},Ex={91:Cv},zx={[-2]:So,[-1]:So,32:So},Ax={35:kv,42:Xu,45:[Mp,Xu],60:Bv,61:Mp,95:Xu,96:Dp,126:Dp},Tx={38:bm,92:xm},Cx={[-5]:Eo,[-4]:Eo,[-3]:Eo,33:tx,38:bm,42:Uo,60:[nv,Xv],91:nx,92:[Mv,xm],93:Wo,95:Uo,96:mv},_x={null:[Uo,gx]},Dx={null:[42,95]},Ox={null:[]},Mx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Dx,contentInitial:Ex,disable:Ox,document:Sx,flow:Ax,flowInitial:zx,insideSpan:_x,string:Tx,text:Cx},Symbol.toStringTag,{value:"Module"}));function Nx(i,a,r){let c={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const s={},f=[];let h=[],m=[];const g={attempt:nt(ht),check:nt(j),consume:P,enter:Z,exit:I,interrupt:nt(j,{interrupt:!0})},p={code:null,containerState:{},defineSkip:G,events:[],now:Y,parser:i,previous:null,sliceSerialize:z,sliceStream:b,write:x};let v=a.tokenize.call(p,g);return a.resolveAll&&f.push(a),p;function x(X){return h=Ie(h,X),F(),h[h.length-1]!==null?[]:(ot(a,0),p.events=Io(f,p.events,p),p.events)}function z(X,V){return wx(b(X),V)}function b(X){return kx(h,X)}function Y(){const{_bufferIndex:X,_index:V,line:tt,column:W,offset:Q}=c;return{_bufferIndex:X,_index:V,line:tt,column:W,offset:Q}}function G(X){s[X.line]=X.column,pt()}function F(){let X;for(;c._index<h.length;){const V=h[c._index];if(typeof V=="string")for(X=c._index,c._bufferIndex<0&&(c._bufferIndex=0);c._index===X&&c._bufferIndex<V.length;)B(V.charCodeAt(c._bufferIndex));else B(V)}}function B(X){v=v(X)}function P(X){yt(X)?(c.line++,c.column=1,c.offset+=X===-3?2:1,pt()):X!==-1&&(c.column++,c.offset++),c._bufferIndex<0?c._index++:(c._bufferIndex++,c._bufferIndex===h[c._index].length&&(c._bufferIndex=-1,c._index++)),p.previous=X}function Z(X,V){const tt=V||{};return tt.type=X,tt.start=Y(),p.events.push(["enter",tt,p]),m.push(tt),tt}function I(X){const V=m.pop();return V.end=Y(),p.events.push(["exit",V,p]),V}function ht(X,V){ot(X,V.from)}function j(X,V){V.restore()}function nt(X,V){return tt;function tt(W,Q,N){let K,at,St,E;return Array.isArray(W)?U(W):"tokenize"in W?U([W]):T(W);function T(ut){return Tt;function Tt(Zt){const Bt=Zt!==null&&ut[Zt],Le=Zt!==null&&ut.null,on=[...Array.isArray(Bt)?Bt:Bt?[Bt]:[],...Array.isArray(Le)?Le:Le?[Le]:[]];return U(on)(Zt)}}function U(ut){return K=ut,at=0,ut.length===0?N:S(ut[at])}function S(ut){return Tt;function Tt(Zt){return E=ct(),St=ut,ut.partial||(p.currentConstruct=ut),ut.name&&p.parser.constructs.disable.null.includes(ut.name)?ft():ut.tokenize.call(V?Object.assign(Object.create(p),V):p,g,et,ft)(Zt)}}function et(ut){return X(St,E),Q}function ft(ut){return E.restore(),++at<K.length?S(K[at]):N}}}function ot(X,V){X.resolveAll&&!f.includes(X)&&f.push(X),X.resolve&&cn(p.events,V,p.events.length-V,X.resolve(p.events.slice(V),p)),X.resolveTo&&(p.events=X.resolveTo(p.events,p))}function ct(){const X=Y(),V=p.previous,tt=p.currentConstruct,W=p.events.length,Q=Array.from(m);return{from:W,restore:N};function N(){c=X,p.previous=V,p.currentConstruct=tt,p.events.length=W,m=Q,pt()}}function pt(){c.line in s&&c.column<2&&(c.column=s[c.line],c.offset+=s[c.line]-1)}}function kx(i,a){const r=a.start._index,c=a.start._bufferIndex,s=a.end._index,f=a.end._bufferIndex;let h;if(r===s)h=[i[r].slice(c,f)];else{if(h=i.slice(r,s),c>-1){const m=h[0];typeof m=="string"?h[0]=m.slice(c):h.shift()}f>0&&h.push(i[s].slice(0,f))}return h}function wx(i,a){let r=-1;const c=[];let s;for(;++r<i.length;){const f=i[r];let h;if(typeof f=="string")h=f;else switch(f){case-5:{h="\r";break}case-4:{h=`
11
11
  `;break}case-3:{h=`\r
12
- `;break}case-2:{h=a?" ":" ";break}case-1:{if(!a&&s)continue;h=" ";break}default:h=String.fromCharCode(f)}s=f===-2,c.push(h)}return c.join("")}function Bx(i){const c={constructs:X0([kx,...(i||{}).extensions||[]]),content:s(W0),defined:[],document:s(P0),flow:s(gx),lazy:{},string:s(bx),text:s(Sx)};return c;function s(f){return h;function h(m){return wx(c,f,m)}}}function Ux(i){for(;!Sm(i););return i}const Np=/[\0\t\n\r]/g;function Hx(){let i=1,a="",r=!0,c;return s;function s(f,h,m){const g=[];let p,v,x,z,b;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(h||void 0).decode(f)),x=0,a="",r&&(f.charCodeAt(0)===65279&&x++,r=void 0);x<f.length;){if(Np.lastIndex=x,p=Np.exec(f),z=p&&p.index!==void 0?p.index:f.length,b=f.charCodeAt(z),!p){a=f.slice(x);break}if(b===10&&x===z&&c)g.push(-3),c=void 0;else switch(c&&(g.push(-5),c=void 0),x<z&&(g.push(f.slice(x,z)),i+=z-x),b){case 0:{g.push(65533),i++;break}case 9:{for(v=Math.ceil(i/4)*4,g.push(-2);i++<v;)g.push(-1);break}case 10:{g.push(-4),i=1;break}default:c=!0,i=1}x=z+1}return m&&(c&&g.push(-5),a&&g.push(a),g.push(null)),g}}const Lx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function qx(i){return i.replace(Lx,Yx)}function Yx(i,a,r){if(a)return a;if(r.charCodeAt(0)===35){const s=r.charCodeAt(1),f=s===120||s===88;return gm(r.slice(f?2:1),f?16:10)}return Jo(r)||i}const _m={}.hasOwnProperty;function Vx(i,a,r){return typeof a!="string"&&(r=a,a=void 0),Xx(r)(Ux(Bx(r).document().write(Hx()(i,a,!0))))}function Xx(i){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Al),autolinkProtocol:ct,autolinkEmail:ct,atxHeading:f(El),blockQuote:f(Le),characterEscape:ct,characterReference:ct,codeFenced:f(on),codeFencedFenceInfo:h,codeFencedFenceMeta:h,codeIndented:f(on,h),codeText:f(yi,h),codeTextData:ct,data:ct,codeFlowValue:ct,definition:f(Sa),definitionDestinationString:h,definitionLabelString:h,definitionTitleString:h,emphasis:f(sn),hardBreakEscape:f(zl),hardBreakTrailing:f(zl),htmlFlow:f(Ea,h),htmlFlowData:ct,htmlText:f(Ea,h),htmlTextData:ct,image:f(za),label:h,link:f(Al),listItem:f(gi),listItemValue:z,listOrdered:f(Tl,x),listUnordered:f(Tl),paragraph:f(Iu),reference:S,referenceString:h,resourceDestinationString:h,resourceTitleString:h,setextHeading:f(El),strong:f(Wu),thematicBreak:f($u)},exit:{atxHeading:g(),atxHeadingSequence:ht,autolink:g(),autolinkEmail:Bt,autolinkProtocol:Zt,blockQuote:g(),characterEscapeValue:pt,characterReferenceMarkerHexadecimal:ft,characterReferenceMarkerNumeric:ft,characterReferenceValue:ut,characterReference:Tt,codeFenced:g(F),codeFencedFence:G,codeFencedFenceInfo:b,codeFencedFenceMeta:Y,codeFlowValue:pt,codeIndented:g(B),codeText:g(Q),codeTextData:pt,data:pt,definition:g(),definitionDestinationString:I,definitionLabelString:P,definitionTitleString:Z,emphasis:g(),hardBreakEscape:g(V),hardBreakTrailing:g(V),htmlFlow:g(tt),htmlFlowData:pt,htmlText:g(W),htmlTextData:pt,image:g(K),label:St,labelText:at,lineEnding:X,link:g(N),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:et,resourceDestinationString:E,resourceTitleString:T,resource:U,setextHeading:g(ot),setextHeadingLineSequence:nt,setextHeadingText:j,strong:g(),thematicBreak:g()}};Dm(a,(i||{}).mdastExtensions||[]);const r={};return c;function c(H){let $={type:"root",children:[]};const dt={stack:[$],tokenStack:[],config:a,enter:m,exit:p,buffer:h,resume:v,data:r},Et=[];let wt=-1;for(;++wt<H.length;)if(H[wt][1].type==="listOrdered"||H[wt][1].type==="listUnordered")if(H[wt][0]==="enter")Et.push(wt);else{const Oe=Et.pop();wt=s(H,Oe,wt)}for(wt=-1;++wt<H.length;){const Oe=a[H[wt][0]];_m.call(Oe,H[wt][1].type)&&Oe[H[wt][1].type].call(Object.assign({sliceSerialize:H[wt][2].sliceSerialize},dt),H[wt][1])}if(dt.tokenStack.length>0){const Oe=dt.tokenStack[dt.tokenStack.length-1];(Oe[1]||kp).call(dt,void 0,Oe[0])}for($.position={start:el(H.length>0?H[0][1].start:{line:1,column:1,offset:0}),end:el(H.length>0?H[H.length-2][1].end:{line:1,column:1,offset:0})},wt=-1;++wt<a.transforms.length;)$=a.transforms[wt]($)||$;return $}function s(H,$,dt){let Et=$-1,wt=-1,Oe=!1,fn,ye,le,ve;for(;++Et<=dt;){const qt=H[Et];switch(qt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{qt[0]==="enter"?wt++:wt--,ve=void 0;break}case"lineEndingBlank":{qt[0]==="enter"&&(fn&&!ve&&!wt&&!le&&(le=Et),ve=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ve=void 0}if(!wt&&qt[0]==="enter"&&qt[1].type==="listItemPrefix"||wt===-1&&qt[0]==="exit"&&(qt[1].type==="listUnordered"||qt[1].type==="listOrdered")){if(fn){let Mn=Et;for(ye=void 0;Mn--;){const We=H[Mn];if(We[1].type==="lineEnding"||We[1].type==="lineEndingBlank"){if(We[0]==="exit")continue;ye&&(H[ye][1].type="lineEndingBlank",Oe=!0),We[1].type="lineEnding",ye=Mn}else if(!(We[1].type==="linePrefix"||We[1].type==="blockQuotePrefix"||We[1].type==="blockQuotePrefixWhitespace"||We[1].type==="blockQuoteMarker"||We[1].type==="listItemIndent"))break}le&&(!ye||le<ye)&&(fn._spread=!0),fn.end=Object.assign({},ye?H[ye][1].start:qt[1].end),H.splice(ye||Et,0,["exit",fn,qt[2]]),Et++,dt++}if(qt[1].type==="listItemPrefix"){const Mn={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};fn=Mn,H.splice(Et,0,["enter",Mn,qt[2]]),Et++,dt++,le=void 0,ve=!0}}}return H[$][1]._spread=Oe,dt}function f(H,$){return dt;function dt(Et){m.call(this,H(Et),Et),$&&$.call(this,Et)}}function h(){this.stack.push({type:"fragment",children:[]})}function m(H,$,dt){this.stack[this.stack.length-1].children.push(H),this.stack.push(H),this.tokenStack.push([$,dt||void 0]),H.position={start:el($.start),end:void 0}}function g(H){return $;function $(dt){H&&H.call(this,dt),p.call(this,dt)}}function p(H,$){const dt=this.stack.pop(),Et=this.tokenStack.pop();if(Et)Et[0].type!==H.type&&($?$.call(this,H,Et[0]):(Et[1]||kp).call(this,H,Et[0]));else throw new Error("Cannot close `"+H.type+"` ("+ma({start:H.start,end:H.end})+"): it’s not open");dt.position.end=el(H.end)}function v(){return Y0(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function z(H){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(H),10),this.data.expectingFirstListItemValue=void 0}}function b(){const H=this.resume(),$=this.stack[this.stack.length-1];$.lang=H}function Y(){const H=this.resume(),$=this.stack[this.stack.length-1];$.meta=H}function G(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function B(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H.replace(/(\r?\n|\r)$/g,"")}function P(H){const $=this.resume(),dt=this.stack[this.stack.length-1];dt.label=$,dt.identifier=di(this.sliceSerialize(H)).toLowerCase()}function Z(){const H=this.resume(),$=this.stack[this.stack.length-1];$.title=H}function I(){const H=this.resume(),$=this.stack[this.stack.length-1];$.url=H}function ht(H){const $=this.stack[this.stack.length-1];if(!$.depth){const dt=this.sliceSerialize(H).length;$.depth=dt}}function j(){this.data.setextHeadingSlurpLineEnding=!0}function nt(H){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(H).codePointAt(0)===61?1:2}function ot(){this.data.setextHeadingSlurpLineEnding=void 0}function ct(H){const dt=this.stack[this.stack.length-1].children;let Et=dt[dt.length-1];(!Et||Et.type!=="text")&&(Et=me(),Et.position={start:el(H.start),end:void 0},dt.push(Et)),this.stack.push(Et)}function pt(H){const $=this.stack.pop();$.value+=this.sliceSerialize(H),$.position.end=el(H.end)}function X(H){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const dt=$.children[$.children.length-1];dt.position.end=el(H.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes($.type)&&(ct.call(this,H),pt.call(this,H))}function V(){this.data.atHardBreak=!0}function tt(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H}function W(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H}function Q(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H}function N(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=$,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function K(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=$,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function at(H){const $=this.sliceSerialize(H),dt=this.stack[this.stack.length-2];dt.label=qx($),dt.identifier=di($).toLowerCase()}function St(){const H=this.stack[this.stack.length-1],$=this.resume(),dt=this.stack[this.stack.length-1];if(this.data.inReference=!0,dt.type==="link"){const Et=H.children;dt.children=Et}else dt.alt=$}function E(){const H=this.resume(),$=this.stack[this.stack.length-1];$.url=H}function T(){const H=this.resume(),$=this.stack[this.stack.length-1];$.title=H}function U(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function et(H){const $=this.resume(),dt=this.stack[this.stack.length-1];dt.label=$,dt.identifier=di(this.sliceSerialize(H)).toLowerCase(),this.data.referenceType="full"}function ft(H){this.data.characterReferenceType=H.type}function ut(H){const $=this.sliceSerialize(H),dt=this.data.characterReferenceType;let Et;dt?(Et=gm($,dt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Et=Jo($);const wt=this.stack[this.stack.length-1];wt.value+=Et}function Tt(H){const $=this.stack.pop();$.position.end=el(H.end)}function Zt(H){pt.call(this,H);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(H)}function Bt(H){pt.call(this,H);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(H)}function Le(){return{type:"blockquote",children:[]}}function on(){return{type:"code",lang:null,meta:null,value:""}}function yi(){return{type:"inlineCode",value:""}}function Sa(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sn(){return{type:"emphasis",children:[]}}function El(){return{type:"heading",depth:0,children:[]}}function zl(){return{type:"break"}}function Ea(){return{type:"html",value:""}}function za(){return{type:"image",title:null,url:"",alt:null}}function Al(){return{type:"link",title:null,url:"",children:[]}}function Tl(H){return{type:"list",ordered:H.type==="listOrdered",start:null,spread:H._spread,children:[]}}function gi(H){return{type:"listItem",spread:H._spread,checked:null,children:[]}}function Iu(){return{type:"paragraph",children:[]}}function Wu(){return{type:"strong",children:[]}}function me(){return{type:"text",value:""}}function $u(){return{type:"thematicBreak"}}}function el(i){return{line:i.line,column:i.column,offset:i.offset}}function Dm(i,a){let r=-1;for(;++r<a.length;){const c=a[r];Array.isArray(c)?Dm(i,c):Gx(i,c)}}function Gx(i,a){let r;for(r in a)if(_m.call(a,r))switch(r){case"canContainEols":{const c=a[r];c&&i[r].push(...c);break}case"transforms":{const c=a[r];c&&i[r].push(...c);break}case"enter":case"exit":{const c=a[r];c&&Object.assign(i[r],c);break}}}function kp(i,a){throw i?new Error("Cannot close `"+i.type+"` ("+ma({start:i.start,end:i.end})+"): a different token (`"+a.type+"`, "+ma({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+ma({start:a.start,end:a.end})+") is still open")}function Qx(i){const a=this;a.parser=r;function r(c){return Vx(c,{...a.data("settings"),...i,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function Zx(i,a){const r={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(a),!0)};return i.patch(a,r),i.applyData(a,r)}function Kx(i,a){const r={type:"element",tagName:"br",properties:{},children:[]};return i.patch(a,r),[i.applyData(a,r),{type:"text",value:`
13
- `}]}function Fx(i,a){const r=a.value?a.value+`
14
- `:"",c={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(c.className=["language-"+s[0]]);let f={type:"element",tagName:"code",properties:c,children:[{type:"text",value:r}]};return a.meta&&(f.data={meta:a.meta}),i.patch(a,f),f=i.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},i.patch(a,f),f}function Jx(i,a){const r={type:"element",tagName:"del",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function Ix(i,a){const r={type:"element",tagName:"em",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function Wx(i,a){const r=typeof i.options.clobberPrefix=="string"?i.options.clobberPrefix:"user-content-",c=String(a.identifier).toUpperCase(),s=mi(c.toLowerCase()),f=i.footnoteOrder.indexOf(c);let h,m=i.footnoteCounts.get(c);m===void 0?(m=0,i.footnoteOrder.push(c),h=i.footnoteOrder.length):h=f+1,m+=1,i.footnoteCounts.set(c,m);const g={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+s,id:r+"fnref-"+s+(m>1?"-"+m:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(h)}]};i.patch(a,g);const p={type:"element",tagName:"sup",properties:{},children:[g]};return i.patch(a,p),i.applyData(a,p)}function $x(i,a){const r={type:"element",tagName:"h"+a.depth,properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function Px(i,a){if(i.options.allowDangerousHtml){const r={type:"raw",value:a.value};return i.patch(a,r),i.applyData(a,r)}}function Om(i,a){const r=a.referenceType;let c="]";if(r==="collapsed"?c+="[]":r==="full"&&(c+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+c}];const s=i.all(a),f=s[0];f&&f.type==="text"?f.value="["+f.value:s.unshift({type:"text",value:"["});const h=s[s.length-1];return h&&h.type==="text"?h.value+=c:s.push({type:"text",value:c}),s}function tb(i,a){const r=String(a.identifier).toUpperCase(),c=i.definitionById.get(r);if(!c)return Om(i,a);const s={src:mi(c.url||""),alt:a.alt};c.title!==null&&c.title!==void 0&&(s.title=c.title);const f={type:"element",tagName:"img",properties:s,children:[]};return i.patch(a,f),i.applyData(a,f)}function eb(i,a){const r={src:mi(a.url)};a.alt!==null&&a.alt!==void 0&&(r.alt=a.alt),a.title!==null&&a.title!==void 0&&(r.title=a.title);const c={type:"element",tagName:"img",properties:r,children:[]};return i.patch(a,c),i.applyData(a,c)}function nb(i,a){const r={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};i.patch(a,r);const c={type:"element",tagName:"code",properties:{},children:[r]};return i.patch(a,c),i.applyData(a,c)}function lb(i,a){const r=String(a.identifier).toUpperCase(),c=i.definitionById.get(r);if(!c)return Om(i,a);const s={href:mi(c.url||"")};c.title!==null&&c.title!==void 0&&(s.title=c.title);const f={type:"element",tagName:"a",properties:s,children:i.all(a)};return i.patch(a,f),i.applyData(a,f)}function ib(i,a){const r={href:mi(a.url)};a.title!==null&&a.title!==void 0&&(r.title=a.title);const c={type:"element",tagName:"a",properties:r,children:i.all(a)};return i.patch(a,c),i.applyData(a,c)}function ab(i,a,r){const c=i.all(a),s=r?ub(r):Mm(a),f={},h=[];if(typeof a.checked=="boolean"){const v=c[0];let x;v&&v.type==="element"&&v.tagName==="p"?x=v:(x={type:"element",tagName:"p",properties:{},children:[]},c.unshift(x)),x.children.length>0&&x.children.unshift({type:"text",value:" "}),x.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let m=-1;for(;++m<c.length;){const v=c[m];(s||m!==0||v.type!=="element"||v.tagName!=="p")&&h.push({type:"text",value:`
12
+ `;break}case-2:{h=a?" ":" ";break}case-1:{if(!a&&s)continue;h=" ";break}default:h=String.fromCharCode(f)}s=f===-2,c.push(h)}return c.join("")}function Rx(i){const c={constructs:Y0([Mx,...(i||{}).extensions||[]]),content:s(J0),defined:[],document:s(W0),flow:s(mx),lazy:{},string:s(vx),text:s(xx)};return c;function s(f){return h;function h(m){return Nx(c,f,m)}}}function jx(i){for(;!Sm(i););return i}const Np=/[\0\t\n\r]/g;function Bx(){let i=1,a="",r=!0,c;return s;function s(f,h,m){const g=[];let p,v,x,z,b;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(h||void 0).decode(f)),x=0,a="",r&&(f.charCodeAt(0)===65279&&x++,r=void 0);x<f.length;){if(Np.lastIndex=x,p=Np.exec(f),z=p&&p.index!==void 0?p.index:f.length,b=f.charCodeAt(z),!p){a=f.slice(x);break}if(b===10&&x===z&&c)g.push(-3),c=void 0;else switch(c&&(g.push(-5),c=void 0),x<z&&(g.push(f.slice(x,z)),i+=z-x),b){case 0:{g.push(65533),i++;break}case 9:{for(v=Math.ceil(i/4)*4,g.push(-2);i++<v;)g.push(-1);break}case 10:{g.push(-4),i=1;break}default:c=!0,i=1}x=z+1}return m&&(c&&g.push(-5),a&&g.push(a),g.push(null)),g}}const Ux=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Hx(i){return i.replace(Ux,Lx)}function Lx(i,a,r){if(a)return a;if(r.charCodeAt(0)===35){const s=r.charCodeAt(1),f=s===120||s===88;return gm(r.slice(f?2:1),f?16:10)}return Jo(r)||i}const _m={}.hasOwnProperty;function qx(i,a,r){return typeof a!="string"&&(r=a,a=void 0),Yx(r)(jx(Rx(r).document().write(Bx()(i,a,!0))))}function Yx(i){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Al),autolinkProtocol:ct,autolinkEmail:ct,atxHeading:f(El),blockQuote:f(Le),characterEscape:ct,characterReference:ct,codeFenced:f(on),codeFencedFenceInfo:h,codeFencedFenceMeta:h,codeIndented:f(on,h),codeText:f(yi,h),codeTextData:ct,data:ct,codeFlowValue:ct,definition:f(Sa),definitionDestinationString:h,definitionLabelString:h,definitionTitleString:h,emphasis:f(sn),hardBreakEscape:f(zl),hardBreakTrailing:f(zl),htmlFlow:f(Ea,h),htmlFlowData:ct,htmlText:f(Ea,h),htmlTextData:ct,image:f(za),label:h,link:f(Al),listItem:f(gi),listItemValue:z,listOrdered:f(Tl,x),listUnordered:f(Tl),paragraph:f(Iu),reference:S,referenceString:h,resourceDestinationString:h,resourceTitleString:h,setextHeading:f(El),strong:f(Wu),thematicBreak:f($u)},exit:{atxHeading:g(),atxHeadingSequence:ht,autolink:g(),autolinkEmail:Bt,autolinkProtocol:Zt,blockQuote:g(),characterEscapeValue:pt,characterReferenceMarkerHexadecimal:ft,characterReferenceMarkerNumeric:ft,characterReferenceValue:ut,characterReference:Tt,codeFenced:g(F),codeFencedFence:G,codeFencedFenceInfo:b,codeFencedFenceMeta:Y,codeFlowValue:pt,codeIndented:g(B),codeText:g(Q),codeTextData:pt,data:pt,definition:g(),definitionDestinationString:I,definitionLabelString:P,definitionTitleString:Z,emphasis:g(),hardBreakEscape:g(V),hardBreakTrailing:g(V),htmlFlow:g(tt),htmlFlowData:pt,htmlText:g(W),htmlTextData:pt,image:g(K),label:St,labelText:at,lineEnding:X,link:g(N),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:et,resourceDestinationString:E,resourceTitleString:T,resource:U,setextHeading:g(ot),setextHeadingLineSequence:nt,setextHeadingText:j,strong:g(),thematicBreak:g()}};Dm(a,(i||{}).mdastExtensions||[]);const r={};return c;function c(H){let $={type:"root",children:[]};const dt={stack:[$],tokenStack:[],config:a,enter:m,exit:p,buffer:h,resume:v,data:r},Et=[];let wt=-1;for(;++wt<H.length;)if(H[wt][1].type==="listOrdered"||H[wt][1].type==="listUnordered")if(H[wt][0]==="enter")Et.push(wt);else{const Oe=Et.pop();wt=s(H,Oe,wt)}for(wt=-1;++wt<H.length;){const Oe=a[H[wt][0]];_m.call(Oe,H[wt][1].type)&&Oe[H[wt][1].type].call(Object.assign({sliceSerialize:H[wt][2].sliceSerialize},dt),H[wt][1])}if(dt.tokenStack.length>0){const Oe=dt.tokenStack[dt.tokenStack.length-1];(Oe[1]||kp).call(dt,void 0,Oe[0])}for($.position={start:el(H.length>0?H[0][1].start:{line:1,column:1,offset:0}),end:el(H.length>0?H[H.length-2][1].end:{line:1,column:1,offset:0})},wt=-1;++wt<a.transforms.length;)$=a.transforms[wt]($)||$;return $}function s(H,$,dt){let Et=$-1,wt=-1,Oe=!1,fn,ye,le,ve;for(;++Et<=dt;){const qt=H[Et];switch(qt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{qt[0]==="enter"?wt++:wt--,ve=void 0;break}case"lineEndingBlank":{qt[0]==="enter"&&(fn&&!ve&&!wt&&!le&&(le=Et),ve=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ve=void 0}if(!wt&&qt[0]==="enter"&&qt[1].type==="listItemPrefix"||wt===-1&&qt[0]==="exit"&&(qt[1].type==="listUnordered"||qt[1].type==="listOrdered")){if(fn){let Mn=Et;for(ye=void 0;Mn--;){const We=H[Mn];if(We[1].type==="lineEnding"||We[1].type==="lineEndingBlank"){if(We[0]==="exit")continue;ye&&(H[ye][1].type="lineEndingBlank",Oe=!0),We[1].type="lineEnding",ye=Mn}else if(!(We[1].type==="linePrefix"||We[1].type==="blockQuotePrefix"||We[1].type==="blockQuotePrefixWhitespace"||We[1].type==="blockQuoteMarker"||We[1].type==="listItemIndent"))break}le&&(!ye||le<ye)&&(fn._spread=!0),fn.end=Object.assign({},ye?H[ye][1].start:qt[1].end),H.splice(ye||Et,0,["exit",fn,qt[2]]),Et++,dt++}if(qt[1].type==="listItemPrefix"){const Mn={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};fn=Mn,H.splice(Et,0,["enter",Mn,qt[2]]),Et++,dt++,le=void 0,ve=!0}}}return H[$][1]._spread=Oe,dt}function f(H,$){return dt;function dt(Et){m.call(this,H(Et),Et),$&&$.call(this,Et)}}function h(){this.stack.push({type:"fragment",children:[]})}function m(H,$,dt){this.stack[this.stack.length-1].children.push(H),this.stack.push(H),this.tokenStack.push([$,dt||void 0]),H.position={start:el($.start),end:void 0}}function g(H){return $;function $(dt){H&&H.call(this,dt),p.call(this,dt)}}function p(H,$){const dt=this.stack.pop(),Et=this.tokenStack.pop();if(Et)Et[0].type!==H.type&&($?$.call(this,H,Et[0]):(Et[1]||kp).call(this,H,Et[0]));else throw new Error("Cannot close `"+H.type+"` ("+ma({start:H.start,end:H.end})+"): it’s not open");dt.position.end=el(H.end)}function v(){return L0(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function z(H){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(H),10),this.data.expectingFirstListItemValue=void 0}}function b(){const H=this.resume(),$=this.stack[this.stack.length-1];$.lang=H}function Y(){const H=this.resume(),$=this.stack[this.stack.length-1];$.meta=H}function G(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function B(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H.replace(/(\r?\n|\r)$/g,"")}function P(H){const $=this.resume(),dt=this.stack[this.stack.length-1];dt.label=$,dt.identifier=di(this.sliceSerialize(H)).toLowerCase()}function Z(){const H=this.resume(),$=this.stack[this.stack.length-1];$.title=H}function I(){const H=this.resume(),$=this.stack[this.stack.length-1];$.url=H}function ht(H){const $=this.stack[this.stack.length-1];if(!$.depth){const dt=this.sliceSerialize(H).length;$.depth=dt}}function j(){this.data.setextHeadingSlurpLineEnding=!0}function nt(H){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(H).codePointAt(0)===61?1:2}function ot(){this.data.setextHeadingSlurpLineEnding=void 0}function ct(H){const dt=this.stack[this.stack.length-1].children;let Et=dt[dt.length-1];(!Et||Et.type!=="text")&&(Et=me(),Et.position={start:el(H.start),end:void 0},dt.push(Et)),this.stack.push(Et)}function pt(H){const $=this.stack.pop();$.value+=this.sliceSerialize(H),$.position.end=el(H.end)}function X(H){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const dt=$.children[$.children.length-1];dt.position.end=el(H.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes($.type)&&(ct.call(this,H),pt.call(this,H))}function V(){this.data.atHardBreak=!0}function tt(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H}function W(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H}function Q(){const H=this.resume(),$=this.stack[this.stack.length-1];$.value=H}function N(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=$,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function K(){const H=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";H.type+="Reference",H.referenceType=$,delete H.url,delete H.title}else delete H.identifier,delete H.label;this.data.referenceType=void 0}function at(H){const $=this.sliceSerialize(H),dt=this.stack[this.stack.length-2];dt.label=Hx($),dt.identifier=di($).toLowerCase()}function St(){const H=this.stack[this.stack.length-1],$=this.resume(),dt=this.stack[this.stack.length-1];if(this.data.inReference=!0,dt.type==="link"){const Et=H.children;dt.children=Et}else dt.alt=$}function E(){const H=this.resume(),$=this.stack[this.stack.length-1];$.url=H}function T(){const H=this.resume(),$=this.stack[this.stack.length-1];$.title=H}function U(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function et(H){const $=this.resume(),dt=this.stack[this.stack.length-1];dt.label=$,dt.identifier=di(this.sliceSerialize(H)).toLowerCase(),this.data.referenceType="full"}function ft(H){this.data.characterReferenceType=H.type}function ut(H){const $=this.sliceSerialize(H),dt=this.data.characterReferenceType;let Et;dt?(Et=gm($,dt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Et=Jo($);const wt=this.stack[this.stack.length-1];wt.value+=Et}function Tt(H){const $=this.stack.pop();$.position.end=el(H.end)}function Zt(H){pt.call(this,H);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(H)}function Bt(H){pt.call(this,H);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(H)}function Le(){return{type:"blockquote",children:[]}}function on(){return{type:"code",lang:null,meta:null,value:""}}function yi(){return{type:"inlineCode",value:""}}function Sa(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sn(){return{type:"emphasis",children:[]}}function El(){return{type:"heading",depth:0,children:[]}}function zl(){return{type:"break"}}function Ea(){return{type:"html",value:""}}function za(){return{type:"image",title:null,url:"",alt:null}}function Al(){return{type:"link",title:null,url:"",children:[]}}function Tl(H){return{type:"list",ordered:H.type==="listOrdered",start:null,spread:H._spread,children:[]}}function gi(H){return{type:"listItem",spread:H._spread,checked:null,children:[]}}function Iu(){return{type:"paragraph",children:[]}}function Wu(){return{type:"strong",children:[]}}function me(){return{type:"text",value:""}}function $u(){return{type:"thematicBreak"}}}function el(i){return{line:i.line,column:i.column,offset:i.offset}}function Dm(i,a){let r=-1;for(;++r<a.length;){const c=a[r];Array.isArray(c)?Dm(i,c):Vx(i,c)}}function Vx(i,a){let r;for(r in a)if(_m.call(a,r))switch(r){case"canContainEols":{const c=a[r];c&&i[r].push(...c);break}case"transforms":{const c=a[r];c&&i[r].push(...c);break}case"enter":case"exit":{const c=a[r];c&&Object.assign(i[r],c);break}}}function kp(i,a){throw i?new Error("Cannot close `"+i.type+"` ("+ma({start:i.start,end:i.end})+"): a different token (`"+a.type+"`, "+ma({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+ma({start:a.start,end:a.end})+") is still open")}function Xx(i){const a=this;a.parser=r;function r(c){return qx(c,{...a.data("settings"),...i,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function Gx(i,a){const r={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(a),!0)};return i.patch(a,r),i.applyData(a,r)}function Qx(i,a){const r={type:"element",tagName:"br",properties:{},children:[]};return i.patch(a,r),[i.applyData(a,r),{type:"text",value:`
13
+ `}]}function Zx(i,a){const r=a.value?a.value+`
14
+ `:"",c={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(c.className=["language-"+s[0]]);let f={type:"element",tagName:"code",properties:c,children:[{type:"text",value:r}]};return a.meta&&(f.data={meta:a.meta}),i.patch(a,f),f=i.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},i.patch(a,f),f}function Kx(i,a){const r={type:"element",tagName:"del",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function Fx(i,a){const r={type:"element",tagName:"em",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function Jx(i,a){const r=typeof i.options.clobberPrefix=="string"?i.options.clobberPrefix:"user-content-",c=String(a.identifier).toUpperCase(),s=mi(c.toLowerCase()),f=i.footnoteOrder.indexOf(c);let h,m=i.footnoteCounts.get(c);m===void 0?(m=0,i.footnoteOrder.push(c),h=i.footnoteOrder.length):h=f+1,m+=1,i.footnoteCounts.set(c,m);const g={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+s,id:r+"fnref-"+s+(m>1?"-"+m:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(h)}]};i.patch(a,g);const p={type:"element",tagName:"sup",properties:{},children:[g]};return i.patch(a,p),i.applyData(a,p)}function Ix(i,a){const r={type:"element",tagName:"h"+a.depth,properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function Wx(i,a){if(i.options.allowDangerousHtml){const r={type:"raw",value:a.value};return i.patch(a,r),i.applyData(a,r)}}function Om(i,a){const r=a.referenceType;let c="]";if(r==="collapsed"?c+="[]":r==="full"&&(c+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+c}];const s=i.all(a),f=s[0];f&&f.type==="text"?f.value="["+f.value:s.unshift({type:"text",value:"["});const h=s[s.length-1];return h&&h.type==="text"?h.value+=c:s.push({type:"text",value:c}),s}function $x(i,a){const r=String(a.identifier).toUpperCase(),c=i.definitionById.get(r);if(!c)return Om(i,a);const s={src:mi(c.url||""),alt:a.alt};c.title!==null&&c.title!==void 0&&(s.title=c.title);const f={type:"element",tagName:"img",properties:s,children:[]};return i.patch(a,f),i.applyData(a,f)}function Px(i,a){const r={src:mi(a.url)};a.alt!==null&&a.alt!==void 0&&(r.alt=a.alt),a.title!==null&&a.title!==void 0&&(r.title=a.title);const c={type:"element",tagName:"img",properties:r,children:[]};return i.patch(a,c),i.applyData(a,c)}function tb(i,a){const r={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};i.patch(a,r);const c={type:"element",tagName:"code",properties:{},children:[r]};return i.patch(a,c),i.applyData(a,c)}function eb(i,a){const r=String(a.identifier).toUpperCase(),c=i.definitionById.get(r);if(!c)return Om(i,a);const s={href:mi(c.url||"")};c.title!==null&&c.title!==void 0&&(s.title=c.title);const f={type:"element",tagName:"a",properties:s,children:i.all(a)};return i.patch(a,f),i.applyData(a,f)}function nb(i,a){const r={href:mi(a.url)};a.title!==null&&a.title!==void 0&&(r.title=a.title);const c={type:"element",tagName:"a",properties:r,children:i.all(a)};return i.patch(a,c),i.applyData(a,c)}function lb(i,a,r){const c=i.all(a),s=r?ib(r):Mm(a),f={},h=[];if(typeof a.checked=="boolean"){const v=c[0];let x;v&&v.type==="element"&&v.tagName==="p"?x=v:(x={type:"element",tagName:"p",properties:{},children:[]},c.unshift(x)),x.children.length>0&&x.children.unshift({type:"text",value:" "}),x.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let m=-1;for(;++m<c.length;){const v=c[m];(s||m!==0||v.type!=="element"||v.tagName!=="p")&&h.push({type:"text",value:`
15
15
  `}),v.type==="element"&&v.tagName==="p"&&!s?h.push(...v.children):h.push(v)}const g=c[c.length-1];g&&(s||g.type!=="element"||g.tagName!=="p")&&h.push({type:"text",value:`
16
- `});const p={type:"element",tagName:"li",properties:f,children:h};return i.patch(a,p),i.applyData(a,p)}function ub(i){let a=!1;if(i.type==="list"){a=i.spread||!1;const r=i.children;let c=-1;for(;!a&&++c<r.length;)a=Mm(r[c])}return a}function Mm(i){const a=i.spread;return a??i.children.length>1}function rb(i,a){const r={},c=i.all(a);let s=-1;for(typeof a.start=="number"&&a.start!==1&&(r.start=a.start);++s<c.length;){const h=c[s];if(h.type==="element"&&h.tagName==="li"&&h.properties&&Array.isArray(h.properties.className)&&h.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:r,children:i.wrap(c,!0)};return i.patch(a,f),i.applyData(a,f)}function cb(i,a){const r={type:"element",tagName:"p",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function ob(i,a){const r={type:"root",children:i.wrap(i.all(a))};return i.patch(a,r),i.applyData(a,r)}function sb(i,a){const r={type:"element",tagName:"strong",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function fb(i,a){const r=i.all(a),c=r.shift(),s=[];if(c){const h={type:"element",tagName:"thead",properties:{},children:i.wrap([c],!0)};i.patch(a.children[0],h),s.push(h)}if(r.length>0){const h={type:"element",tagName:"tbody",properties:{},children:i.wrap(r,!0)},m=Qo(a.children[1]),g=sm(a.children[a.children.length-1]);m&&g&&(h.position={start:m,end:g}),s.push(h)}const f={type:"element",tagName:"table",properties:{},children:i.wrap(s,!0)};return i.patch(a,f),i.applyData(a,f)}function hb(i,a,r){const c=r?r.children:void 0,f=(c?c.indexOf(a):1)===0?"th":"td",h=r&&r.type==="table"?r.align:void 0,m=h?h.length:a.children.length;let g=-1;const p=[];for(;++g<m;){const x=a.children[g],z={},b=h?h[g]:void 0;b&&(z.align=b);let Y={type:"element",tagName:f,properties:z,children:[]};x&&(Y.children=i.all(x),i.patch(x,Y),Y=i.applyData(x,Y)),p.push(Y)}const v={type:"element",tagName:"tr",properties:{},children:i.wrap(p,!0)};return i.patch(a,v),i.applyData(a,v)}function db(i,a){const r={type:"element",tagName:"td",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}const wp=9,Rp=32;function pb(i){const a=String(i),r=/\r?\n|\r/g;let c=r.exec(a),s=0;const f=[];for(;c;)f.push(jp(a.slice(s,c.index),s>0,!0),c[0]),s=c.index+c[0].length,c=r.exec(a);return f.push(jp(a.slice(s),s>0,!1)),f.join("")}function jp(i,a,r){let c=0,s=i.length;if(a){let f=i.codePointAt(c);for(;f===wp||f===Rp;)c++,f=i.codePointAt(c)}if(r){let f=i.codePointAt(s-1);for(;f===wp||f===Rp;)s--,f=i.codePointAt(s-1)}return s>c?i.slice(c,s):""}function mb(i,a){const r={type:"text",value:pb(String(a.value))};return i.patch(a,r),i.applyData(a,r)}function yb(i,a){const r={type:"element",tagName:"hr",properties:{},children:[]};return i.patch(a,r),i.applyData(a,r)}const gb={blockquote:Zx,break:Kx,code:Fx,delete:Jx,emphasis:Ix,footnoteReference:Wx,heading:$x,html:Px,imageReference:tb,image:eb,inlineCode:nb,linkReference:lb,link:ib,listItem:ab,list:rb,paragraph:cb,root:ob,strong:sb,table:fb,tableCell:db,tableRow:hb,text:mb,thematicBreak:yb,toml:qu,yaml:qu,definition:qu,footnoteDefinition:qu};function qu(){}const Nm=-1,Fu=0,ga=1,Qu=2,$o=3,Po=4,ts=5,es=6,km=7,wm=8,Bp=typeof self=="object"?self:globalThis,vb=(i,a)=>{const r=(s,f)=>(i.set(f,s),s),c=s=>{if(i.has(s))return i.get(s);const[f,h]=a[s];switch(f){case Fu:case Nm:return r(h,s);case ga:{const m=r([],s);for(const g of h)m.push(c(g));return m}case Qu:{const m=r({},s);for(const[g,p]of h)m[c(g)]=c(p);return m}case $o:return r(new Date(h),s);case Po:{const{source:m,flags:g}=h;return r(new RegExp(m,g),s)}case ts:{const m=r(new Map,s);for(const[g,p]of h)m.set(c(g),c(p));return m}case es:{const m=r(new Set,s);for(const g of h)m.add(c(g));return m}case km:{const{name:m,message:g}=h;return r(new Bp[m](g),s)}case wm:return r(BigInt(h),s);case"BigInt":return r(Object(BigInt(h)),s);case"ArrayBuffer":return r(new Uint8Array(h).buffer,h);case"DataView":{const{buffer:m}=new Uint8Array(h);return r(new DataView(m),h)}}return r(new Bp[f](h),s)};return c},Up=i=>vb(new Map,i)(0),fi="",{toString:xb}={},{keys:bb}=Object,pa=i=>{const a=typeof i;if(a!=="object"||!i)return[Fu,a];const r=xb.call(i).slice(8,-1);switch(r){case"Array":return[ga,fi];case"Object":return[Qu,fi];case"Date":return[$o,fi];case"RegExp":return[Po,fi];case"Map":return[ts,fi];case"Set":return[es,fi];case"DataView":return[ga,r]}return r.includes("Array")?[ga,r]:r.includes("Error")?[km,r]:[Qu,r]},Yu=([i,a])=>i===Fu&&(a==="function"||a==="symbol"),Sb=(i,a,r,c)=>{const s=(h,m)=>{const g=c.push(h)-1;return r.set(m,g),g},f=h=>{if(r.has(h))return r.get(h);let[m,g]=pa(h);switch(m){case Fu:{let v=h;switch(g){case"bigint":m=wm,v=h.toString();break;case"function":case"symbol":if(i)throw new TypeError("unable to serialize "+g);v=null;break;case"undefined":return s([Nm],h)}return s([m,v],h)}case ga:{if(g){let z=h;return g==="DataView"?z=new Uint8Array(h.buffer):g==="ArrayBuffer"&&(z=new Uint8Array(h)),s([g,[...z]],h)}const v=[],x=s([m,v],h);for(const z of h)v.push(f(z));return x}case Qu:{if(g)switch(g){case"BigInt":return s([g,h.toString()],h);case"Boolean":case"Number":case"String":return s([g,h.valueOf()],h)}if(a&&"toJSON"in h)return f(h.toJSON());const v=[],x=s([m,v],h);for(const z of bb(h))(i||!Yu(pa(h[z])))&&v.push([f(z),f(h[z])]);return x}case $o:return s([m,h.toISOString()],h);case Po:{const{source:v,flags:x}=h;return s([m,{source:v,flags:x}],h)}case ts:{const v=[],x=s([m,v],h);for(const[z,b]of h)(i||!(Yu(pa(z))||Yu(pa(b))))&&v.push([f(z),f(b)]);return x}case es:{const v=[],x=s([m,v],h);for(const z of h)(i||!Yu(pa(z)))&&v.push(f(z));return x}}const{message:p}=h;return s([m,{name:g,message:p}],h)};return f},Hp=(i,{json:a,lossy:r}={})=>{const c=[];return Sb(!(a||r),!!a,new Map,c)(i),c},Zu=typeof structuredClone=="function"?(i,a)=>a&&("json"in a||"lossy"in a)?Up(Hp(i,a)):structuredClone(i):(i,a)=>Up(Hp(i,a));function Eb(i,a){const r=[{type:"text",value:"↩"}];return a>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),r}function zb(i,a){return"Back to reference "+(i+1)+(a>1?"-"+a:"")}function Ab(i){const a=typeof i.options.clobberPrefix=="string"?i.options.clobberPrefix:"user-content-",r=i.options.footnoteBackContent||Eb,c=i.options.footnoteBackLabel||zb,s=i.options.footnoteLabel||"Footnotes",f=i.options.footnoteLabelTagName||"h2",h=i.options.footnoteLabelProperties||{className:["sr-only"]},m=[];let g=-1;for(;++g<i.footnoteOrder.length;){const p=i.footnoteById.get(i.footnoteOrder[g]);if(!p)continue;const v=i.all(p),x=String(p.identifier).toUpperCase(),z=mi(x.toLowerCase());let b=0;const Y=[],G=i.footnoteCounts.get(x);for(;G!==void 0&&++b<=G;){Y.length>0&&Y.push({type:"text",value:" "});let P=typeof r=="string"?r:r(g,b);typeof P=="string"&&(P={type:"text",value:P}),Y.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+z+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof c=="string"?c:c(g,b),className:["data-footnote-backref"]},children:Array.isArray(P)?P:[P]})}const F=v[v.length-1];if(F&&F.type==="element"&&F.tagName==="p"){const P=F.children[F.children.length-1];P&&P.type==="text"?P.value+=" ":F.children.push({type:"text",value:" "}),F.children.push(...Y)}else v.push(...Y);const B={type:"element",tagName:"li",properties:{id:a+"fn-"+z},children:i.wrap(v,!0)};i.patch(p,B),m.push(B)}if(m.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Zu(h),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
16
+ `});const p={type:"element",tagName:"li",properties:f,children:h};return i.patch(a,p),i.applyData(a,p)}function ib(i){let a=!1;if(i.type==="list"){a=i.spread||!1;const r=i.children;let c=-1;for(;!a&&++c<r.length;)a=Mm(r[c])}return a}function Mm(i){const a=i.spread;return a??i.children.length>1}function ab(i,a){const r={},c=i.all(a);let s=-1;for(typeof a.start=="number"&&a.start!==1&&(r.start=a.start);++s<c.length;){const h=c[s];if(h.type==="element"&&h.tagName==="li"&&h.properties&&Array.isArray(h.properties.className)&&h.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:r,children:i.wrap(c,!0)};return i.patch(a,f),i.applyData(a,f)}function ub(i,a){const r={type:"element",tagName:"p",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function rb(i,a){const r={type:"root",children:i.wrap(i.all(a))};return i.patch(a,r),i.applyData(a,r)}function cb(i,a){const r={type:"element",tagName:"strong",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function ob(i,a){const r=i.all(a),c=r.shift(),s=[];if(c){const h={type:"element",tagName:"thead",properties:{},children:i.wrap([c],!0)};i.patch(a.children[0],h),s.push(h)}if(r.length>0){const h={type:"element",tagName:"tbody",properties:{},children:i.wrap(r,!0)},m=Qo(a.children[1]),g=sm(a.children[a.children.length-1]);m&&g&&(h.position={start:m,end:g}),s.push(h)}const f={type:"element",tagName:"table",properties:{},children:i.wrap(s,!0)};return i.patch(a,f),i.applyData(a,f)}function sb(i,a,r){const c=r?r.children:void 0,f=(c?c.indexOf(a):1)===0?"th":"td",h=r&&r.type==="table"?r.align:void 0,m=h?h.length:a.children.length;let g=-1;const p=[];for(;++g<m;){const x=a.children[g],z={},b=h?h[g]:void 0;b&&(z.align=b);let Y={type:"element",tagName:f,properties:z,children:[]};x&&(Y.children=i.all(x),i.patch(x,Y),Y=i.applyData(x,Y)),p.push(Y)}const v={type:"element",tagName:"tr",properties:{},children:i.wrap(p,!0)};return i.patch(a,v),i.applyData(a,v)}function fb(i,a){const r={type:"element",tagName:"td",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}const wp=9,Rp=32;function hb(i){const a=String(i),r=/\r?\n|\r/g;let c=r.exec(a),s=0;const f=[];for(;c;)f.push(jp(a.slice(s,c.index),s>0,!0),c[0]),s=c.index+c[0].length,c=r.exec(a);return f.push(jp(a.slice(s),s>0,!1)),f.join("")}function jp(i,a,r){let c=0,s=i.length;if(a){let f=i.codePointAt(c);for(;f===wp||f===Rp;)c++,f=i.codePointAt(c)}if(r){let f=i.codePointAt(s-1);for(;f===wp||f===Rp;)s--,f=i.codePointAt(s-1)}return s>c?i.slice(c,s):""}function db(i,a){const r={type:"text",value:hb(String(a.value))};return i.patch(a,r),i.applyData(a,r)}function pb(i,a){const r={type:"element",tagName:"hr",properties:{},children:[]};return i.patch(a,r),i.applyData(a,r)}const mb={blockquote:Gx,break:Qx,code:Zx,delete:Kx,emphasis:Fx,footnoteReference:Jx,heading:Ix,html:Wx,imageReference:$x,image:Px,inlineCode:tb,linkReference:eb,link:nb,listItem:lb,list:ab,paragraph:ub,root:rb,strong:cb,table:ob,tableCell:fb,tableRow:sb,text:db,thematicBreak:pb,toml:qu,yaml:qu,definition:qu,footnoteDefinition:qu};function qu(){}const Nm=-1,Fu=0,ga=1,Qu=2,$o=3,Po=4,ts=5,es=6,km=7,wm=8,Bp=typeof self=="object"?self:globalThis,yb=(i,a)=>{const r=(s,f)=>(i.set(f,s),s),c=s=>{if(i.has(s))return i.get(s);const[f,h]=a[s];switch(f){case Fu:case Nm:return r(h,s);case ga:{const m=r([],s);for(const g of h)m.push(c(g));return m}case Qu:{const m=r({},s);for(const[g,p]of h)m[c(g)]=c(p);return m}case $o:return r(new Date(h),s);case Po:{const{source:m,flags:g}=h;return r(new RegExp(m,g),s)}case ts:{const m=r(new Map,s);for(const[g,p]of h)m.set(c(g),c(p));return m}case es:{const m=r(new Set,s);for(const g of h)m.add(c(g));return m}case km:{const{name:m,message:g}=h;return r(new Bp[m](g),s)}case wm:return r(BigInt(h),s);case"BigInt":return r(Object(BigInt(h)),s);case"ArrayBuffer":return r(new Uint8Array(h).buffer,h);case"DataView":{const{buffer:m}=new Uint8Array(h);return r(new DataView(m),h)}}return r(new Bp[f](h),s)};return c},Up=i=>yb(new Map,i)(0),fi="",{toString:gb}={},{keys:vb}=Object,pa=i=>{const a=typeof i;if(a!=="object"||!i)return[Fu,a];const r=gb.call(i).slice(8,-1);switch(r){case"Array":return[ga,fi];case"Object":return[Qu,fi];case"Date":return[$o,fi];case"RegExp":return[Po,fi];case"Map":return[ts,fi];case"Set":return[es,fi];case"DataView":return[ga,r]}return r.includes("Array")?[ga,r]:r.includes("Error")?[km,r]:[Qu,r]},Yu=([i,a])=>i===Fu&&(a==="function"||a==="symbol"),xb=(i,a,r,c)=>{const s=(h,m)=>{const g=c.push(h)-1;return r.set(m,g),g},f=h=>{if(r.has(h))return r.get(h);let[m,g]=pa(h);switch(m){case Fu:{let v=h;switch(g){case"bigint":m=wm,v=h.toString();break;case"function":case"symbol":if(i)throw new TypeError("unable to serialize "+g);v=null;break;case"undefined":return s([Nm],h)}return s([m,v],h)}case ga:{if(g){let z=h;return g==="DataView"?z=new Uint8Array(h.buffer):g==="ArrayBuffer"&&(z=new Uint8Array(h)),s([g,[...z]],h)}const v=[],x=s([m,v],h);for(const z of h)v.push(f(z));return x}case Qu:{if(g)switch(g){case"BigInt":return s([g,h.toString()],h);case"Boolean":case"Number":case"String":return s([g,h.valueOf()],h)}if(a&&"toJSON"in h)return f(h.toJSON());const v=[],x=s([m,v],h);for(const z of vb(h))(i||!Yu(pa(h[z])))&&v.push([f(z),f(h[z])]);return x}case $o:return s([m,h.toISOString()],h);case Po:{const{source:v,flags:x}=h;return s([m,{source:v,flags:x}],h)}case ts:{const v=[],x=s([m,v],h);for(const[z,b]of h)(i||!(Yu(pa(z))||Yu(pa(b))))&&v.push([f(z),f(b)]);return x}case es:{const v=[],x=s([m,v],h);for(const z of h)(i||!Yu(pa(z)))&&v.push(f(z));return x}}const{message:p}=h;return s([m,{name:g,message:p}],h)};return f},Hp=(i,{json:a,lossy:r}={})=>{const c=[];return xb(!(a||r),!!a,new Map,c)(i),c},Zu=typeof structuredClone=="function"?(i,a)=>a&&("json"in a||"lossy"in a)?Up(Hp(i,a)):structuredClone(i):(i,a)=>Up(Hp(i,a));function bb(i,a){const r=[{type:"text",value:"↩"}];return a>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),r}function Sb(i,a){return"Back to reference "+(i+1)+(a>1?"-"+a:"")}function Eb(i){const a=typeof i.options.clobberPrefix=="string"?i.options.clobberPrefix:"user-content-",r=i.options.footnoteBackContent||bb,c=i.options.footnoteBackLabel||Sb,s=i.options.footnoteLabel||"Footnotes",f=i.options.footnoteLabelTagName||"h2",h=i.options.footnoteLabelProperties||{className:["sr-only"]},m=[];let g=-1;for(;++g<i.footnoteOrder.length;){const p=i.footnoteById.get(i.footnoteOrder[g]);if(!p)continue;const v=i.all(p),x=String(p.identifier).toUpperCase(),z=mi(x.toLowerCase());let b=0;const Y=[],G=i.footnoteCounts.get(x);for(;G!==void 0&&++b<=G;){Y.length>0&&Y.push({type:"text",value:" "});let P=typeof r=="string"?r:r(g,b);typeof P=="string"&&(P={type:"text",value:P}),Y.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+z+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof c=="string"?c:c(g,b),className:["data-footnote-backref"]},children:Array.isArray(P)?P:[P]})}const F=v[v.length-1];if(F&&F.type==="element"&&F.tagName==="p"){const P=F.children[F.children.length-1];P&&P.type==="text"?P.value+=" ":F.children.push({type:"text",value:" "}),F.children.push(...Y)}else v.push(...Y);const B={type:"element",tagName:"li",properties:{id:a+"fn-"+z},children:i.wrap(v,!0)};i.patch(p,B),m.push(B)}if(m.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Zu(h),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
17
17
  `},{type:"element",tagName:"ol",properties:{},children:i.wrap(m,!0)},{type:"text",value:`
18
- `}]}}const Rm=(function(i){if(i==null)return Db;if(typeof i=="function")return Ju(i);if(typeof i=="object")return Array.isArray(i)?Tb(i):Cb(i);if(typeof i=="string")return _b(i);throw new Error("Expected function, string, or object as test")});function Tb(i){const a=[];let r=-1;for(;++r<i.length;)a[r]=Rm(i[r]);return Ju(c);function c(...s){let f=-1;for(;++f<a.length;)if(a[f].apply(this,s))return!0;return!1}}function Cb(i){const a=i;return Ju(r);function r(c){const s=c;let f;for(f in i)if(s[f]!==a[f])return!1;return!0}}function _b(i){return Ju(a);function a(r){return r&&r.type===i}}function Ju(i){return a;function a(r,c,s){return!!(Ob(r)&&i.call(this,r,typeof c=="number"?c:void 0,s||void 0))}}function Db(){return!0}function Ob(i){return i!==null&&typeof i=="object"&&"type"in i}const jm=[],Mb=!0,Lp=!1,Nb="skip";function kb(i,a,r,c){let s;typeof a=="function"&&typeof r!="function"?(c=r,r=a):s=a;const f=Rm(s),h=c?-1:1;m(i,void 0,[])();function m(g,p,v){const x=g&&typeof g=="object"?g:{};if(typeof x.type=="string"){const b=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(z,"name",{value:"node ("+(g.type+(b?"<"+b+">":""))+")"})}return z;function z(){let b=jm,Y,G,F;if((!a||f(g,p,v[v.length-1]||void 0))&&(b=wb(r(g,v)),b[0]===Lp))return b;if("children"in g&&g.children){const B=g;if(B.children&&b[0]!==Nb)for(G=(c?B.children.length:-1)+h,F=v.concat(B);G>-1&&G<B.children.length;){const P=B.children[G];if(Y=m(P,G,F)(),Y[0]===Lp)return Y;G=typeof Y[1]=="number"?Y[1]:G+h}}return b}}}function wb(i){return Array.isArray(i)?i:typeof i=="number"?[Mb,i]:i==null?jm:[i]}function Bm(i,a,r,c){let s,f,h;typeof a=="function"&&typeof r!="function"?(f=void 0,h=a,s=r):(f=a,h=r,s=c),kb(i,f,m,s);function m(g,p){const v=p[p.length-1],x=v?v.children.indexOf(g):void 0;return h(g,x,v)}}const Ho={}.hasOwnProperty,Rb={};function jb(i,a){const r=a||Rb,c=new Map,s=new Map,f=new Map,h={...gb,...r.handlers},m={all:p,applyData:Ub,definitionById:c,footnoteById:s,footnoteCounts:f,footnoteOrder:[],handlers:h,one:g,options:r,patch:Bb,wrap:Lb};return Bm(i,function(v){if(v.type==="definition"||v.type==="footnoteDefinition"){const x=v.type==="definition"?c:s,z=String(v.identifier).toUpperCase();x.has(z)||x.set(z,v)}}),m;function g(v,x){const z=v.type,b=m.handlers[z];if(Ho.call(m.handlers,z)&&b)return b(m,v,x);if(m.options.passThrough&&m.options.passThrough.includes(z)){if("children"in v){const{children:G,...F}=v,B=Zu(F);return B.children=m.all(v),B}return Zu(v)}return(m.options.unknownHandler||Hb)(m,v,x)}function p(v){const x=[];if("children"in v){const z=v.children;let b=-1;for(;++b<z.length;){const Y=m.one(z[b],v);if(Y){if(b&&z[b-1].type==="break"&&(!Array.isArray(Y)&&Y.type==="text"&&(Y.value=qp(Y.value)),!Array.isArray(Y)&&Y.type==="element")){const G=Y.children[0];G&&G.type==="text"&&(G.value=qp(G.value))}Array.isArray(Y)?x.push(...Y):x.push(Y)}}}return x}}function Bb(i,a){i.position&&(a.position=x0(i))}function Ub(i,a){let r=a;if(i&&i.data){const c=i.data.hName,s=i.data.hChildren,f=i.data.hProperties;if(typeof c=="string")if(r.type==="element")r.tagName=c;else{const h="children"in r?r.children:[r];r={type:"element",tagName:c,properties:{},children:h}}r.type==="element"&&f&&Object.assign(r.properties,Zu(f)),"children"in r&&r.children&&s!==null&&s!==void 0&&(r.children=s)}return r}function Hb(i,a){const r=a.data||{},c="value"in a&&!(Ho.call(r,"hProperties")||Ho.call(r,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:i.all(a)};return i.patch(a,c),i.applyData(a,c)}function Lb(i,a){const r=[];let c=-1;for(a&&r.push({type:"text",value:`
18
+ `}]}}const Rm=(function(i){if(i==null)return Cb;if(typeof i=="function")return Ju(i);if(typeof i=="object")return Array.isArray(i)?zb(i):Ab(i);if(typeof i=="string")return Tb(i);throw new Error("Expected function, string, or object as test")});function zb(i){const a=[];let r=-1;for(;++r<i.length;)a[r]=Rm(i[r]);return Ju(c);function c(...s){let f=-1;for(;++f<a.length;)if(a[f].apply(this,s))return!0;return!1}}function Ab(i){const a=i;return Ju(r);function r(c){const s=c;let f;for(f in i)if(s[f]!==a[f])return!1;return!0}}function Tb(i){return Ju(a);function a(r){return r&&r.type===i}}function Ju(i){return a;function a(r,c,s){return!!(_b(r)&&i.call(this,r,typeof c=="number"?c:void 0,s||void 0))}}function Cb(){return!0}function _b(i){return i!==null&&typeof i=="object"&&"type"in i}const jm=[],Db=!0,Lp=!1,Ob="skip";function Mb(i,a,r,c){let s;typeof a=="function"&&typeof r!="function"?(c=r,r=a):s=a;const f=Rm(s),h=c?-1:1;m(i,void 0,[])();function m(g,p,v){const x=g&&typeof g=="object"?g:{};if(typeof x.type=="string"){const b=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(z,"name",{value:"node ("+(g.type+(b?"<"+b+">":""))+")"})}return z;function z(){let b=jm,Y,G,F;if((!a||f(g,p,v[v.length-1]||void 0))&&(b=Nb(r(g,v)),b[0]===Lp))return b;if("children"in g&&g.children){const B=g;if(B.children&&b[0]!==Ob)for(G=(c?B.children.length:-1)+h,F=v.concat(B);G>-1&&G<B.children.length;){const P=B.children[G];if(Y=m(P,G,F)(),Y[0]===Lp)return Y;G=typeof Y[1]=="number"?Y[1]:G+h}}return b}}}function Nb(i){return Array.isArray(i)?i:typeof i=="number"?[Db,i]:i==null?jm:[i]}function Bm(i,a,r,c){let s,f,h;typeof a=="function"&&typeof r!="function"?(f=void 0,h=a,s=r):(f=a,h=r,s=c),Mb(i,f,m,s);function m(g,p){const v=p[p.length-1],x=v?v.children.indexOf(g):void 0;return h(g,x,v)}}const Ho={}.hasOwnProperty,kb={};function wb(i,a){const r=a||kb,c=new Map,s=new Map,f=new Map,h={...mb,...r.handlers},m={all:p,applyData:jb,definitionById:c,footnoteById:s,footnoteCounts:f,footnoteOrder:[],handlers:h,one:g,options:r,patch:Rb,wrap:Ub};return Bm(i,function(v){if(v.type==="definition"||v.type==="footnoteDefinition"){const x=v.type==="definition"?c:s,z=String(v.identifier).toUpperCase();x.has(z)||x.set(z,v)}}),m;function g(v,x){const z=v.type,b=m.handlers[z];if(Ho.call(m.handlers,z)&&b)return b(m,v,x);if(m.options.passThrough&&m.options.passThrough.includes(z)){if("children"in v){const{children:G,...F}=v,B=Zu(F);return B.children=m.all(v),B}return Zu(v)}return(m.options.unknownHandler||Bb)(m,v,x)}function p(v){const x=[];if("children"in v){const z=v.children;let b=-1;for(;++b<z.length;){const Y=m.one(z[b],v);if(Y){if(b&&z[b-1].type==="break"&&(!Array.isArray(Y)&&Y.type==="text"&&(Y.value=qp(Y.value)),!Array.isArray(Y)&&Y.type==="element")){const G=Y.children[0];G&&G.type==="text"&&(G.value=qp(G.value))}Array.isArray(Y)?x.push(...Y):x.push(Y)}}}return x}}function Rb(i,a){i.position&&(a.position=g0(i))}function jb(i,a){let r=a;if(i&&i.data){const c=i.data.hName,s=i.data.hChildren,f=i.data.hProperties;if(typeof c=="string")if(r.type==="element")r.tagName=c;else{const h="children"in r?r.children:[r];r={type:"element",tagName:c,properties:{},children:h}}r.type==="element"&&f&&Object.assign(r.properties,Zu(f)),"children"in r&&r.children&&s!==null&&s!==void 0&&(r.children=s)}return r}function Bb(i,a){const r=a.data||{},c="value"in a&&!(Ho.call(r,"hProperties")||Ho.call(r,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:i.all(a)};return i.patch(a,c),i.applyData(a,c)}function Ub(i,a){const r=[];let c=-1;for(a&&r.push({type:"text",value:`
19
19
  `});++c<i.length;)c&&r.push({type:"text",value:`
20
20
  `}),r.push(i[c]);return a&&i.length>0&&r.push({type:"text",value:`
21
- `}),r}function qp(i){let a=0,r=i.charCodeAt(a);for(;r===9||r===32;)a++,r=i.charCodeAt(a);return i.slice(a)}function Yp(i,a){const r=jb(i,a),c=r.one(i,void 0),s=Ab(r),f=Array.isArray(c)?{type:"root",children:c}:c||{type:"root",children:[]};return s&&f.children.push({type:"text",value:`
22
- `},s),f}function qb(i,a){return i&&"run"in i?async function(r,c){const s=Yp(r,{file:c,...a});await i.run(s,c)}:function(r,c){return Yp(r,{file:c,...i||a})}}function Vp(i){if(i)throw i}var zo,Xp;function Yb(){if(Xp)return zo;Xp=1;var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,c=Object.getOwnPropertyDescriptor,s=function(p){return typeof Array.isArray=="function"?Array.isArray(p):a.call(p)==="[object Array]"},f=function(p){if(!p||a.call(p)!=="[object Object]")return!1;var v=i.call(p,"constructor"),x=p.constructor&&p.constructor.prototype&&i.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!v&&!x)return!1;var z;for(z in p);return typeof z>"u"||i.call(p,z)},h=function(p,v){r&&v.name==="__proto__"?r(p,v.name,{enumerable:!0,configurable:!0,value:v.newValue,writable:!0}):p[v.name]=v.newValue},m=function(p,v){if(v==="__proto__")if(i.call(p,v)){if(c)return c(p,v).value}else return;return p[v]};return zo=function g(){var p,v,x,z,b,Y,G=arguments[0],F=1,B=arguments.length,P=!1;for(typeof G=="boolean"&&(P=G,G=arguments[1]||{},F=2),(G==null||typeof G!="object"&&typeof G!="function")&&(G={});F<B;++F)if(p=arguments[F],p!=null)for(v in p)x=m(G,v),z=m(p,v),G!==z&&(P&&z&&(f(z)||(b=s(z)))?(b?(b=!1,Y=x&&s(x)?x:[]):Y=x&&f(x)?x:{},h(G,{name:v,newValue:g(P,Y,z)})):typeof z<"u"&&h(G,{name:v,newValue:z}));return G},zo}var Vb=Yb();const Ao=Wp(Vb);function Lo(i){if(typeof i!="object"||i===null)return!1;const a=Object.getPrototypeOf(i);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)}function Xb(){const i=[],a={run:r,use:c};return a;function r(...s){let f=-1;const h=s.pop();if(typeof h!="function")throw new TypeError("Expected function as last argument, not "+h);m(null,...s);function m(g,...p){const v=i[++f];let x=-1;if(g){h(g);return}for(;++x<s.length;)(p[x]===null||p[x]===void 0)&&(p[x]=s[x]);s=p,v?Gb(v,m)(...p):h(null,...p)}}function c(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return i.push(s),a}}function Gb(i,a){let r;return c;function c(...h){const m=i.length>h.length;let g;m&&h.push(s);try{g=i.apply(this,h)}catch(p){const v=p;if(m&&r)throw v;return s(v)}m||(g&&g.then&&typeof g.then=="function"?g.then(f,s):g instanceof Error?s(g):f(g))}function s(h,...m){r||(r=!0,a(h,...m))}function f(h){s(null,h)}}const un={basename:Qb,dirname:Zb,extname:Kb,join:Fb,sep:"/"};function Qb(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');ba(i);let r=0,c=-1,s=i.length,f;if(a===void 0||a.length===0||a.length>i.length){for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else c<0&&(f=!0,c=s+1);return c<0?"":i.slice(r,c)}if(a===i)return"";let h=-1,m=a.length-1;for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else h<0&&(f=!0,h=s+1),m>-1&&(i.codePointAt(s)===a.codePointAt(m--)?m<0&&(c=s):(m=-1,c=h));return r===c?c=h:c<0&&(c=i.length),i.slice(r,c)}function Zb(i){if(ba(i),i.length===0)return".";let a=-1,r=i.length,c;for(;--r;)if(i.codePointAt(r)===47){if(c){a=r;break}}else c||(c=!0);return a<0?i.codePointAt(0)===47?"/":".":a===1&&i.codePointAt(0)===47?"//":i.slice(0,a)}function Kb(i){ba(i);let a=i.length,r=-1,c=0,s=-1,f=0,h;for(;a--;){const m=i.codePointAt(a);if(m===47){if(h){c=a+1;break}continue}r<0&&(h=!0,r=a+1),m===46?s<0?s=a:f!==1&&(f=1):s>-1&&(f=-1)}return s<0||r<0||f===0||f===1&&s===r-1&&s===c+1?"":i.slice(s,r)}function Fb(...i){let a=-1,r;for(;++a<i.length;)ba(i[a]),i[a]&&(r=r===void 0?i[a]:r+"/"+i[a]);return r===void 0?".":Jb(r)}function Jb(i){ba(i);const a=i.codePointAt(0)===47;let r=Ib(i,!a);return r.length===0&&!a&&(r="."),r.length>0&&i.codePointAt(i.length-1)===47&&(r+="/"),a?"/"+r:r}function Ib(i,a){let r="",c=0,s=-1,f=0,h=-1,m,g;for(;++h<=i.length;){if(h<i.length)m=i.codePointAt(h);else{if(m===47)break;m=47}if(m===47){if(!(s===h-1||f===1))if(s!==h-1&&f===2){if(r.length<2||c!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(g=r.lastIndexOf("/"),g!==r.length-1){g<0?(r="",c=0):(r=r.slice(0,g),c=r.length-1-r.lastIndexOf("/")),s=h,f=0;continue}}else if(r.length>0){r="",c=0,s=h,f=0;continue}}a&&(r=r.length>0?r+"/..":"..",c=2)}else r.length>0?r+="/"+i.slice(s+1,h):r=i.slice(s+1,h),c=h-s-1;s=h,f=0}else m===46&&f>-1?f++:f=-1}return r}function ba(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}const Wb={cwd:$b};function $b(){return"/"}function qo(i){return!!(i!==null&&typeof i=="object"&&"href"in i&&i.href&&"protocol"in i&&i.protocol&&i.auth===void 0)}function Pb(i){if(typeof i=="string")i=new URL(i);else if(!qo(i)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(i.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return tS(i)}function tS(i){if(i.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const a=i.pathname;let r=-1;for(;++r<a.length;)if(a.codePointAt(r)===37&&a.codePointAt(r+1)===50){const c=a.codePointAt(r+2);if(c===70||c===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(a)}const To=["history","path","basename","stem","extname","dirname"];class Um{constructor(a){let r;a?qo(a)?r={path:a}:typeof a=="string"||eS(a)?r={value:a}:r=a:r={},this.cwd="cwd"in r?"":Wb.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<To.length;){const f=To[c];f in r&&r[f]!==void 0&&r[f]!==null&&(this[f]=f==="history"?[...r[f]]:r[f])}let s;for(s in r)To.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?un.basename(this.path):void 0}set basename(a){_o(a,"basename"),Co(a,"basename"),this.path=un.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?un.dirname(this.path):void 0}set dirname(a){Gp(this.basename,"dirname"),this.path=un.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?un.extname(this.path):void 0}set extname(a){if(Co(a,"extname"),Gp(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=un.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){qo(a)&&(a=Pb(a)),_o(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?un.basename(this.path,this.extname):void 0}set stem(a){_o(a,"stem"),Co(a,"stem"),this.path=un.join(this.dirname||"",a+(this.extname||""))}fail(a,r,c){const s=this.message(a,r,c);throw s.fatal=!0,s}info(a,r,c){const s=this.message(a,r,c);return s.fatal=void 0,s}message(a,r,c){const s=new pe(a,r,c);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function Co(i,a){if(i&&i.includes(un.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+un.sep+"`")}function _o(i,a){if(!i)throw new Error("`"+a+"` cannot be empty")}function Gp(i,a){if(!i)throw new Error("Setting `"+a+"` requires `path` to be set too")}function eS(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const nS=(function(i){const c=this.constructor.prototype,s=c[i],f=function(){return s.apply(f,arguments)};return Object.setPrototypeOf(f,c),f}),lS={}.hasOwnProperty;class ns extends nS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Xb()}copy(){const a=new ns;let r=-1;for(;++r<this.attachers.length;){const c=this.attachers[r];a.use(...c)}return a.data(Ao(!0,{},this.namespace)),a}data(a,r){return typeof a=="string"?arguments.length===2?(Mo("data",this.frozen),this.namespace[a]=r,this):lS.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Mo("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const s=r.call(a,...c);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const r=Vu(a),c=this.parser||this.Parser;return Do("parse",c),c(String(r),r)}process(a,r){const c=this;return this.freeze(),Do("process",this.parser||this.Parser),Oo("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(f,h){const m=Vu(a),g=c.parse(m);c.run(g,m,function(v,x,z){if(v||!x||!z)return p(v);const b=x,Y=c.stringify(b,z);uS(Y)?z.value=Y:z.result=Y,p(v,z)});function p(v,x){v||!x?h(v):f?f(x):r(void 0,x)}}}processSync(a){let r=!1,c;return this.freeze(),Do("processSync",this.parser||this.Parser),Oo("processSync",this.compiler||this.Compiler),this.process(a,s),Zp("processSync","process",r),c;function s(f,h){r=!0,Vp(f),c=h}}run(a,r,c){Qp(a),this.freeze();const s=this.transformers;return!c&&typeof r=="function"&&(c=r,r=void 0),c?f(void 0,c):new Promise(f);function f(h,m){const g=Vu(r);s.run(a,g,p);function p(v,x,z){const b=x||a;v?m(v):h?h(b):c(void 0,b,z)}}}runSync(a,r){let c=!1,s;return this.run(a,r,f),Zp("runSync","run",c),s;function f(h,m){Vp(h),s=m,c=!0}}stringify(a,r){this.freeze();const c=Vu(r),s=this.compiler||this.Compiler;return Oo("stringify",s),Qp(a),s(a,c)}use(a,...r){const c=this.attachers,s=this.namespace;if(Mo("use",this.frozen),a!=null)if(typeof a=="function")g(a,r);else if(typeof a=="object")Array.isArray(a)?m(a):h(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(p){if(typeof p=="function")g(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[v,...x]=p;g(v,x)}else h(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function h(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");m(p.plugins),p.settings&&(s.settings=Ao(!0,s.settings,p.settings))}function m(p){let v=-1;if(p!=null)if(Array.isArray(p))for(;++v<p.length;){const x=p[v];f(x)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function g(p,v){let x=-1,z=-1;for(;++x<c.length;)if(c[x][0]===p){z=x;break}if(z===-1)c.push([p,...v]);else if(v.length>0){let[b,...Y]=v;const G=c[z][1];Lo(G)&&Lo(b)&&(b=Ao(!0,G,b)),c[z]=[p,b,...Y]}}}}const iS=new ns().freeze();function Do(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `parser`")}function Oo(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `compiler`")}function Mo(i,a){if(a)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qp(i){if(!Lo(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function Zp(i,a,r){if(!r)throw new Error("`"+i+"` finished async. Use `"+a+"` instead")}function Vu(i){return aS(i)?i:new Um(i)}function aS(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function uS(i){return typeof i=="string"||rS(i)}function rS(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const cS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Kp=[],Fp={allowDangerousHtml:!0},oS=/^(https?|ircs?|mailto|xmpp)$/i,sS=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function fS(i){const a=hS(i),r=dS(i);return pS(a.runSync(a.parse(r),r),i)}function hS(i){const a=i.rehypePlugins||Kp,r=i.remarkPlugins||Kp,c=i.remarkRehypeOptions?{...i.remarkRehypeOptions,...Fp}:Fp;return iS().use(Qx).use(r).use(qb,c).use(a)}function dS(i){const a=i.children||"",r=new Um;return typeof a=="string"&&(r.value=a),r}function pS(i,a){const r=a.allowedElements,c=a.allowElement,s=a.components,f=a.disallowedElements,h=a.skipHtml,m=a.unwrapDisallowed,g=a.urlTransform||mS;for(const v of sS)Object.hasOwn(a,v.from)&&(""+v.from+(v.to?"use `"+v.to+"` instead":"remove it")+cS+v.id,void 0);return Bm(i,p),A0(i,{Fragment:D.Fragment,components:s,ignoreInvalidStyle:!0,jsx:D.jsx,jsxs:D.jsxs,passKeys:!0,passNode:!0});function p(v,x,z){if(v.type==="raw"&&z&&typeof x=="number")return h?z.children.splice(x,1):z.children[x]={type:"text",value:v.value},x;if(v.type==="element"){let b;for(b in bo)if(Object.hasOwn(bo,b)&&Object.hasOwn(v.properties,b)){const Y=v.properties[b],G=bo[b];(G===null||G.includes(v.tagName))&&(v.properties[b]=g(String(Y||""),b,v))}}if(v.type==="element"){let b=r?!r.includes(v.tagName):f?f.includes(v.tagName):!1;if(!b&&c&&typeof x=="number"&&(b=!c(v,x,z)),b&&z&&typeof x=="number")return m&&v.children?z.children.splice(x,1,...v.children):z.children.splice(x,1),x}}}function mS(i){const a=i.indexOf(":"),r=i.indexOf("?"),c=i.indexOf("#"),s=i.indexOf("/");return a===-1||s!==-1&&a>s||r!==-1&&a>r||c!==-1&&a>c||oS.test(i.slice(0,a))?i:""}const Jp=[{value:"claude",label:"Claude"},{value:"openai",label:"OpenAI"}],Ip=[{value:"opus",label:"Opus"},{value:"sonnet",label:"Sonnet"},{value:"haiku",label:"Haiku"}],yS={connecting:"Connecting to AI provider...",analyzing:"Analyzing changes...",streaming:""};function gS({analysis:i,isLoading:a,loadingPhase:r,provider:c,onProviderChange:s,model:f,onModelChange:h,onAnalyzeFull:m,onAnalyzeFile:g,hasSelection:p,onAnalyzeSelection:v,currentFileName:x,onClose:z}){const[b,Y]=mt.useState(!1),[G,F]=mt.useState(!1),B=mt.useRef(null),P=mt.useRef(null);mt.useEffect(()=>{function I(ht){B.current&&!B.current.contains(ht.target)&&Y(!1),P.current&&!P.current.contains(ht.target)&&F(!1)}return(b||G)&&document.addEventListener("mousedown",I),()=>document.removeEventListener("mousedown",I)},[b,G]);const Z={border:"1px solid #30363D",background:"transparent"};return D.jsxs("div",{className:"flex flex-col h-full",style:{background:"#0D1117"},children:[D.jsxs("div",{className:"flex items-center justify-between px-3 h-10 shrink-0",style:{background:"#161B22",borderBottom:"1px solid #30363D"},children:[D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsx("button",{className:"cursor-pointer",style:{background:"transparent",border:"none"},onClick:z,children:D.jsx(H1,{size:14,color:"#9DA5AE"})}),D.jsx("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:"AI Analysis"})]}),D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsxs("div",{className:"relative",ref:B,children:[D.jsxs("button",{className:"flex items-center gap-1.5 px-2.5 py-1 cursor-pointer",style:{border:"1px solid #30363D",background:"transparent",borderRadius:"4px"},onClick:()=>Y(!b),children:[D.jsx("span",{style:{color:"#E6EDF3",fontSize:"11px"},children:Jp.find(I=>I.value===c)?.label}),D.jsx(Gu,{size:10,color:"#9DA5AE"})]}),b&&D.jsx("div",{className:"absolute right-0 top-full mt-1 py-1 z-10 min-w-[120px]",style:{background:"#161B22",border:"1px solid #30363D"},children:Jp.map(I=>D.jsx("button",{className:"w-full text-left px-3 py-1.5 cursor-pointer",style:{background:I.value===c?"#1C2128":"transparent",border:"none",color:I.value===c?"#58A6FF":"#E6EDF3",fontSize:"12px"},onClick:()=>{s(I.value),Y(!1)},children:I.label},I.value))})]}),c==="claude"&&D.jsxs("div",{className:"relative",ref:P,children:[D.jsxs("button",{className:"flex items-center gap-1.5 px-2.5 py-1 cursor-pointer",style:{border:"1px solid #30363D",background:"transparent",borderRadius:"4px"},onClick:()=>F(!G),children:[D.jsx("span",{style:{color:"#E6EDF3",fontSize:"11px"},children:Ip.find(I=>I.value===f)?.label}),D.jsx(Gu,{size:10,color:"#9DA5AE"})]}),G&&D.jsx("div",{className:"absolute right-0 top-full mt-1 py-1 z-10 min-w-[120px]",style:{background:"#161B22",border:"1px solid #30363D"},children:Ip.map(I=>D.jsx("button",{className:"w-full text-left px-3 py-1.5 cursor-pointer",style:{background:I.value===f?"#1C2128":"transparent",border:"none",color:I.value===f?"#58A6FF":"#E6EDF3",fontSize:"12px"},onClick:()=>{h(I.value),F(!1)},children:I.label},I.value))})]})]})]}),D.jsx("div",{className:"flex-1 overflow-y-auto p-4",style:{fontSize:"12px",lineHeight:"1.6"},children:i?D.jsxs("div",{className:"ai-markdown",style:{color:"#E6EDF3"},children:[D.jsx(fS,{components:{h1:({children:I})=>D.jsx("h1",{style:{color:"#58A6FF",fontSize:"16px",fontWeight:600,margin:"12px 0 6px"},children:I}),h2:({children:I})=>D.jsx("h2",{style:{color:"#58A6FF",fontSize:"14px",fontWeight:600,margin:"10px 0 4px"},children:I}),h3:({children:I})=>D.jsx("h3",{style:{color:"#79C0FF",fontSize:"13px",fontWeight:600,margin:"8px 0 4px"},children:I}),p:({children:I})=>D.jsx("p",{style:{margin:"4px 0"},children:I}),ul:({children:I})=>D.jsx("ul",{style:{margin:"4px 0",paddingLeft:"20px"},children:I}),ol:({children:I})=>D.jsx("ol",{style:{margin:"4px 0",paddingLeft:"20px"},children:I}),li:({children:I})=>D.jsx("li",{style:{margin:"2px 0"},children:I}),strong:({children:I})=>D.jsx("strong",{style:{color:"#F0F6FC",fontWeight:600},children:I}),em:({children:I})=>D.jsx("em",{style:{color:"#D2A8FF"},children:I}),code:({children:I,className:ht})=>ht?.includes("language-")?D.jsx("pre",{style:{background:"#161B22",border:"1px solid #30363D",borderRadius:"4px",padding:"8px",margin:"6px 0",overflowX:"auto"},children:D.jsx("code",{style:{color:"#E6EDF3",fontSize:"11px",fontFamily:"monospace"},children:I})}):D.jsx("code",{style:{background:"#1C2128",color:"#79C0FF",padding:"1px 4px",borderRadius:"3px",fontSize:"11px",fontFamily:"monospace"},children:I}),pre:({children:I})=>D.jsx(D.Fragment,{children:I}),hr:()=>D.jsx("hr",{style:{border:"none",borderTop:"1px solid #30363D",margin:"8px 0"}})},children:i}),a&&D.jsx("span",{className:"inline-block w-[2px] h-[14px] ml-0.5 cursor-blink align-middle",style:{background:"#58A6FF"}})]}):a?D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsx(k1,{size:14,color:"#58A6FF",className:"animate-spin"}),D.jsx("span",{style:{color:"#9DA5AE"},children:r&&yS[r]||"Analyzing..."})]}):D.jsx("span",{style:{color:"#9DA5AE"},children:"Choose an analysis mode below."})}),D.jsxs("div",{className:"flex flex-col gap-2 shrink-0 p-4 pt-0",children:[D.jsxs("button",{className:`flex items-center justify-center gap-1.5 py-2 px-3 ${a?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,style:Z,onClick:m,disabled:a,children:[D.jsx(M1,{size:14,color:"#58A6FF"}),D.jsx("span",{style:{color:"#58A6FF",fontSize:"12px"},children:"Analyze All Files"})]}),D.jsxs("button",{className:`flex items-center justify-center gap-1.5 py-2 px-3 ${a?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,style:Z,onClick:g,disabled:a,children:[D.jsx(z1,{size:14,color:"#58A6FF"}),D.jsxs("span",{style:{color:"#58A6FF",fontSize:"12px"},children:["Analyze ",x?x.split("/").pop():"Current File"]})]}),p&&D.jsxs("button",{className:`flex items-center justify-center gap-1.5 py-2 px-3 ${a?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,style:{border:"1px solid #58A6FF",background:"rgba(88,166,255,0.1)"},onClick:v,disabled:a,children:[D.jsx(em,{size:14,color:"#58A6FF"}),D.jsx("span",{style:{color:"#58A6FF",fontSize:"12px"},children:"Analyze Selection"})]})]})]})}function vS({filesChanged:i,totalAdditions:a,totalDeletions:r}){return D.jsxs("footer",{className:"h-8 shrink-0 flex items-center justify-between px-6",style:{background:"#161B22",borderTop:"1px solid #30363D"},children:[D.jsxs("div",{className:"flex items-center gap-4",children:[D.jsxs("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:[i," file",i!==1?"s":""," changed"]}),D.jsxs("span",{style:{color:"#2EA043",fontSize:"12px"},children:[a," insertion",a!==1?"s":"","(+)"]}),D.jsxs("span",{style:{color:"#F85149",fontSize:"12px"},children:[r," deletion",r!==1?"s":"","(-)"]})]}),D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsx(Vo,{size:12,color:"#484F58"}),D.jsx("span",{style:{color:"#484F58",fontSize:"11px"},children:"visualgit"})]})]})}function xS(){const[i,a]=mt.useState(null),[r,c]=mt.useState(null),[s,f]=mt.useState(!0),[h,m]=mt.useState(null),[g,p]=mt.useState(!0);return mt.useEffect(()=>{async function v(){try{if(!(await(await fetch("/api/git/status")).json()).isGitRepo){p(!1);return}const[b,Y]=await Promise.all([fetch("/api/git/info"),fetch("/api/git/diff")]);if(!b.ok||!Y.ok)throw new Error("Failed to fetch git data");a(await b.json()),c(await Y.json())}catch(x){m(x instanceof Error?x.message:"Unknown error")}finally{f(!1)}}v()},[]),{info:i,diff:r,loading:s,error:h,isGitRepo:g}}function bS(){const[i,a]=mt.useState(""),[r,c]=mt.useState(!1),[s,f]=mt.useState(null),[h,m]=mt.useState("claude"),[g,p]=mt.useState("sonnet"),[v,x]=mt.useState(null),z=mt.useCallback(async(b,Y="full",G)=>{c(!0),f("connecting"),a(""),x(Y);try{const F=await fetch("/api/ai/analyze",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:h,mode:Y,content:b,filePath:G,model:h==="claude"?g:void 0})});f("analyzing");const B=F.body?.getReader(),P=new TextDecoder;if(!B)throw new Error("No stream available");let Z=!1;for(;;){const{done:I,value:ht}=await B.read();if(I)break;const nt=P.decode(ht).split(`
21
+ `}),r}function qp(i){let a=0,r=i.charCodeAt(a);for(;r===9||r===32;)a++,r=i.charCodeAt(a);return i.slice(a)}function Yp(i,a){const r=wb(i,a),c=r.one(i,void 0),s=Eb(r),f=Array.isArray(c)?{type:"root",children:c}:c||{type:"root",children:[]};return s&&f.children.push({type:"text",value:`
22
+ `},s),f}function Hb(i,a){return i&&"run"in i?async function(r,c){const s=Yp(r,{file:c,...a});await i.run(s,c)}:function(r,c){return Yp(r,{file:c,...i||a})}}function Vp(i){if(i)throw i}var zo,Xp;function Lb(){if(Xp)return zo;Xp=1;var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,c=Object.getOwnPropertyDescriptor,s=function(p){return typeof Array.isArray=="function"?Array.isArray(p):a.call(p)==="[object Array]"},f=function(p){if(!p||a.call(p)!=="[object Object]")return!1;var v=i.call(p,"constructor"),x=p.constructor&&p.constructor.prototype&&i.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!v&&!x)return!1;var z;for(z in p);return typeof z>"u"||i.call(p,z)},h=function(p,v){r&&v.name==="__proto__"?r(p,v.name,{enumerable:!0,configurable:!0,value:v.newValue,writable:!0}):p[v.name]=v.newValue},m=function(p,v){if(v==="__proto__")if(i.call(p,v)){if(c)return c(p,v).value}else return;return p[v]};return zo=function g(){var p,v,x,z,b,Y,G=arguments[0],F=1,B=arguments.length,P=!1;for(typeof G=="boolean"&&(P=G,G=arguments[1]||{},F=2),(G==null||typeof G!="object"&&typeof G!="function")&&(G={});F<B;++F)if(p=arguments[F],p!=null)for(v in p)x=m(G,v),z=m(p,v),G!==z&&(P&&z&&(f(z)||(b=s(z)))?(b?(b=!1,Y=x&&s(x)?x:[]):Y=x&&f(x)?x:{},h(G,{name:v,newValue:g(P,Y,z)})):typeof z<"u"&&h(G,{name:v,newValue:z}));return G},zo}var qb=Lb();const Ao=Wp(qb);function Lo(i){if(typeof i!="object"||i===null)return!1;const a=Object.getPrototypeOf(i);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)}function Yb(){const i=[],a={run:r,use:c};return a;function r(...s){let f=-1;const h=s.pop();if(typeof h!="function")throw new TypeError("Expected function as last argument, not "+h);m(null,...s);function m(g,...p){const v=i[++f];let x=-1;if(g){h(g);return}for(;++x<s.length;)(p[x]===null||p[x]===void 0)&&(p[x]=s[x]);s=p,v?Vb(v,m)(...p):h(null,...p)}}function c(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return i.push(s),a}}function Vb(i,a){let r;return c;function c(...h){const m=i.length>h.length;let g;m&&h.push(s);try{g=i.apply(this,h)}catch(p){const v=p;if(m&&r)throw v;return s(v)}m||(g&&g.then&&typeof g.then=="function"?g.then(f,s):g instanceof Error?s(g):f(g))}function s(h,...m){r||(r=!0,a(h,...m))}function f(h){s(null,h)}}const un={basename:Xb,dirname:Gb,extname:Qb,join:Zb,sep:"/"};function Xb(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');ba(i);let r=0,c=-1,s=i.length,f;if(a===void 0||a.length===0||a.length>i.length){for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else c<0&&(f=!0,c=s+1);return c<0?"":i.slice(r,c)}if(a===i)return"";let h=-1,m=a.length-1;for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else h<0&&(f=!0,h=s+1),m>-1&&(i.codePointAt(s)===a.codePointAt(m--)?m<0&&(c=s):(m=-1,c=h));return r===c?c=h:c<0&&(c=i.length),i.slice(r,c)}function Gb(i){if(ba(i),i.length===0)return".";let a=-1,r=i.length,c;for(;--r;)if(i.codePointAt(r)===47){if(c){a=r;break}}else c||(c=!0);return a<0?i.codePointAt(0)===47?"/":".":a===1&&i.codePointAt(0)===47?"//":i.slice(0,a)}function Qb(i){ba(i);let a=i.length,r=-1,c=0,s=-1,f=0,h;for(;a--;){const m=i.codePointAt(a);if(m===47){if(h){c=a+1;break}continue}r<0&&(h=!0,r=a+1),m===46?s<0?s=a:f!==1&&(f=1):s>-1&&(f=-1)}return s<0||r<0||f===0||f===1&&s===r-1&&s===c+1?"":i.slice(s,r)}function Zb(...i){let a=-1,r;for(;++a<i.length;)ba(i[a]),i[a]&&(r=r===void 0?i[a]:r+"/"+i[a]);return r===void 0?".":Kb(r)}function Kb(i){ba(i);const a=i.codePointAt(0)===47;let r=Fb(i,!a);return r.length===0&&!a&&(r="."),r.length>0&&i.codePointAt(i.length-1)===47&&(r+="/"),a?"/"+r:r}function Fb(i,a){let r="",c=0,s=-1,f=0,h=-1,m,g;for(;++h<=i.length;){if(h<i.length)m=i.codePointAt(h);else{if(m===47)break;m=47}if(m===47){if(!(s===h-1||f===1))if(s!==h-1&&f===2){if(r.length<2||c!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(g=r.lastIndexOf("/"),g!==r.length-1){g<0?(r="",c=0):(r=r.slice(0,g),c=r.length-1-r.lastIndexOf("/")),s=h,f=0;continue}}else if(r.length>0){r="",c=0,s=h,f=0;continue}}a&&(r=r.length>0?r+"/..":"..",c=2)}else r.length>0?r+="/"+i.slice(s+1,h):r=i.slice(s+1,h),c=h-s-1;s=h,f=0}else m===46&&f>-1?f++:f=-1}return r}function ba(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}const Jb={cwd:Ib};function Ib(){return"/"}function qo(i){return!!(i!==null&&typeof i=="object"&&"href"in i&&i.href&&"protocol"in i&&i.protocol&&i.auth===void 0)}function Wb(i){if(typeof i=="string")i=new URL(i);else if(!qo(i)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(i.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return $b(i)}function $b(i){if(i.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const a=i.pathname;let r=-1;for(;++r<a.length;)if(a.codePointAt(r)===37&&a.codePointAt(r+1)===50){const c=a.codePointAt(r+2);if(c===70||c===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(a)}const To=["history","path","basename","stem","extname","dirname"];class Um{constructor(a){let r;a?qo(a)?r={path:a}:typeof a=="string"||Pb(a)?r={value:a}:r=a:r={},this.cwd="cwd"in r?"":Jb.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<To.length;){const f=To[c];f in r&&r[f]!==void 0&&r[f]!==null&&(this[f]=f==="history"?[...r[f]]:r[f])}let s;for(s in r)To.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?un.basename(this.path):void 0}set basename(a){_o(a,"basename"),Co(a,"basename"),this.path=un.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?un.dirname(this.path):void 0}set dirname(a){Gp(this.basename,"dirname"),this.path=un.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?un.extname(this.path):void 0}set extname(a){if(Co(a,"extname"),Gp(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=un.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){qo(a)&&(a=Wb(a)),_o(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?un.basename(this.path,this.extname):void 0}set stem(a){_o(a,"stem"),Co(a,"stem"),this.path=un.join(this.dirname||"",a+(this.extname||""))}fail(a,r,c){const s=this.message(a,r,c);throw s.fatal=!0,s}info(a,r,c){const s=this.message(a,r,c);return s.fatal=void 0,s}message(a,r,c){const s=new pe(a,r,c);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function Co(i,a){if(i&&i.includes(un.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+un.sep+"`")}function _o(i,a){if(!i)throw new Error("`"+a+"` cannot be empty")}function Gp(i,a){if(!i)throw new Error("Setting `"+a+"` requires `path` to be set too")}function Pb(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const tS=(function(i){const c=this.constructor.prototype,s=c[i],f=function(){return s.apply(f,arguments)};return Object.setPrototypeOf(f,c),f}),eS={}.hasOwnProperty;class ns extends tS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Yb()}copy(){const a=new ns;let r=-1;for(;++r<this.attachers.length;){const c=this.attachers[r];a.use(...c)}return a.data(Ao(!0,{},this.namespace)),a}data(a,r){return typeof a=="string"?arguments.length===2?(Mo("data",this.frozen),this.namespace[a]=r,this):eS.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Mo("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const s=r.call(a,...c);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const r=Vu(a),c=this.parser||this.Parser;return Do("parse",c),c(String(r),r)}process(a,r){const c=this;return this.freeze(),Do("process",this.parser||this.Parser),Oo("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(f,h){const m=Vu(a),g=c.parse(m);c.run(g,m,function(v,x,z){if(v||!x||!z)return p(v);const b=x,Y=c.stringify(b,z);iS(Y)?z.value=Y:z.result=Y,p(v,z)});function p(v,x){v||!x?h(v):f?f(x):r(void 0,x)}}}processSync(a){let r=!1,c;return this.freeze(),Do("processSync",this.parser||this.Parser),Oo("processSync",this.compiler||this.Compiler),this.process(a,s),Zp("processSync","process",r),c;function s(f,h){r=!0,Vp(f),c=h}}run(a,r,c){Qp(a),this.freeze();const s=this.transformers;return!c&&typeof r=="function"&&(c=r,r=void 0),c?f(void 0,c):new Promise(f);function f(h,m){const g=Vu(r);s.run(a,g,p);function p(v,x,z){const b=x||a;v?m(v):h?h(b):c(void 0,b,z)}}}runSync(a,r){let c=!1,s;return this.run(a,r,f),Zp("runSync","run",c),s;function f(h,m){Vp(h),s=m,c=!0}}stringify(a,r){this.freeze();const c=Vu(r),s=this.compiler||this.Compiler;return Oo("stringify",s),Qp(a),s(a,c)}use(a,...r){const c=this.attachers,s=this.namespace;if(Mo("use",this.frozen),a!=null)if(typeof a=="function")g(a,r);else if(typeof a=="object")Array.isArray(a)?m(a):h(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(p){if(typeof p=="function")g(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[v,...x]=p;g(v,x)}else h(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function h(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");m(p.plugins),p.settings&&(s.settings=Ao(!0,s.settings,p.settings))}function m(p){let v=-1;if(p!=null)if(Array.isArray(p))for(;++v<p.length;){const x=p[v];f(x)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function g(p,v){let x=-1,z=-1;for(;++x<c.length;)if(c[x][0]===p){z=x;break}if(z===-1)c.push([p,...v]);else if(v.length>0){let[b,...Y]=v;const G=c[z][1];Lo(G)&&Lo(b)&&(b=Ao(!0,G,b)),c[z]=[p,b,...Y]}}}}const nS=new ns().freeze();function Do(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `parser`")}function Oo(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `compiler`")}function Mo(i,a){if(a)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qp(i){if(!Lo(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function Zp(i,a,r){if(!r)throw new Error("`"+i+"` finished async. Use `"+a+"` instead")}function Vu(i){return lS(i)?i:new Um(i)}function lS(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function iS(i){return typeof i=="string"||aS(i)}function aS(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const uS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Kp=[],Fp={allowDangerousHtml:!0},rS=/^(https?|ircs?|mailto|xmpp)$/i,cS=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function oS(i){const a=sS(i),r=fS(i);return hS(a.runSync(a.parse(r),r),i)}function sS(i){const a=i.rehypePlugins||Kp,r=i.remarkPlugins||Kp,c=i.remarkRehypeOptions?{...i.remarkRehypeOptions,...Fp}:Fp;return nS().use(Xx).use(r).use(Hb,c).use(a)}function fS(i){const a=i.children||"",r=new Um;return typeof a=="string"&&(r.value=a),r}function hS(i,a){const r=a.allowedElements,c=a.allowElement,s=a.components,f=a.disallowedElements,h=a.skipHtml,m=a.unwrapDisallowed,g=a.urlTransform||dS;for(const v of cS)Object.hasOwn(a,v.from)&&(""+v.from+(v.to?"use `"+v.to+"` instead":"remove it")+uS+v.id,void 0);return Bm(i,p),E0(i,{Fragment:M.Fragment,components:s,ignoreInvalidStyle:!0,jsx:M.jsx,jsxs:M.jsxs,passKeys:!0,passNode:!0});function p(v,x,z){if(v.type==="raw"&&z&&typeof x=="number")return h?z.children.splice(x,1):z.children[x]={type:"text",value:v.value},x;if(v.type==="element"){let b;for(b in bo)if(Object.hasOwn(bo,b)&&Object.hasOwn(v.properties,b)){const Y=v.properties[b],G=bo[b];(G===null||G.includes(v.tagName))&&(v.properties[b]=g(String(Y||""),b,v))}}if(v.type==="element"){let b=r?!r.includes(v.tagName):f?f.includes(v.tagName):!1;if(!b&&c&&typeof x=="number"&&(b=!c(v,x,z)),b&&z&&typeof x=="number")return m&&v.children?z.children.splice(x,1,...v.children):z.children.splice(x,1),x}}}function dS(i){const a=i.indexOf(":"),r=i.indexOf("?"),c=i.indexOf("#"),s=i.indexOf("/");return a===-1||s!==-1&&a>s||r!==-1&&a>r||c!==-1&&a>c||rS.test(i.slice(0,a))?i:""}const Jp=[{value:"claude",label:"Claude"},{value:"openai",label:"OpenAI"}],Ip=[{value:"opus",label:"Opus"},{value:"sonnet",label:"Sonnet"},{value:"haiku",label:"Haiku"}],pS={connecting:"Connecting to AI provider...",analyzing:"Analyzing changes...",streaming:""};function mS({analysis:i,isLoading:a,loadingPhase:r,provider:c,onProviderChange:s,model:f,onModelChange:h,onAnalyzeFull:m,onAnalyzeFile:g,hasSelection:p,onAnalyzeSelection:v,currentFileName:x,onClose:z}){const[b,Y]=mt.useState(!1),[G,F]=mt.useState(!1),B=mt.useRef(null),P=mt.useRef(null);mt.useEffect(()=>{function I(ht){B.current&&!B.current.contains(ht.target)&&Y(!1),P.current&&!P.current.contains(ht.target)&&F(!1)}return(b||G)&&document.addEventListener("mousedown",I),()=>document.removeEventListener("mousedown",I)},[b,G]);const Z={border:"1px solid #30363D",background:"transparent"};return M.jsxs("div",{className:"flex flex-col h-full",style:{background:"#0D1117"},children:[M.jsxs("div",{className:"flex items-center justify-between px-3 h-10 shrink-0",style:{background:"#161B22",borderBottom:"1px solid #30363D"},children:[M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsx("button",{className:"cursor-pointer",style:{background:"transparent",border:"none"},onClick:z,children:M.jsx(B1,{size:14,color:"#9DA5AE"})}),M.jsx("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:"AI Analysis"})]}),M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsxs("div",{className:"relative",ref:B,children:[M.jsxs("button",{className:"flex items-center gap-1.5 px-2.5 py-1 cursor-pointer",style:{border:"1px solid #30363D",background:"transparent",borderRadius:"4px"},onClick:()=>Y(!b),children:[M.jsx("span",{style:{color:"#E6EDF3",fontSize:"11px"},children:Jp.find(I=>I.value===c)?.label}),M.jsx(Gu,{size:10,color:"#9DA5AE"})]}),b&&M.jsx("div",{className:"absolute right-0 top-full mt-1 py-1 z-10 min-w-[120px]",style:{background:"#161B22",border:"1px solid #30363D"},children:Jp.map(I=>M.jsx("button",{className:"w-full text-left px-3 py-1.5 cursor-pointer",style:{background:I.value===c?"#1C2128":"transparent",border:"none",color:I.value===c?"#58A6FF":"#E6EDF3",fontSize:"12px"},onClick:()=>{s(I.value),Y(!1)},children:I.label},I.value))})]}),c==="claude"&&M.jsxs("div",{className:"relative",ref:P,children:[M.jsxs("button",{className:"flex items-center gap-1.5 px-2.5 py-1 cursor-pointer",style:{border:"1px solid #30363D",background:"transparent",borderRadius:"4px"},onClick:()=>F(!G),children:[M.jsx("span",{style:{color:"#E6EDF3",fontSize:"11px"},children:Ip.find(I=>I.value===f)?.label}),M.jsx(Gu,{size:10,color:"#9DA5AE"})]}),G&&M.jsx("div",{className:"absolute right-0 top-full mt-1 py-1 z-10 min-w-[120px]",style:{background:"#161B22",border:"1px solid #30363D"},children:Ip.map(I=>M.jsx("button",{className:"w-full text-left px-3 py-1.5 cursor-pointer",style:{background:I.value===f?"#1C2128":"transparent",border:"none",color:I.value===f?"#58A6FF":"#E6EDF3",fontSize:"12px"},onClick:()=>{h(I.value),F(!1)},children:I.label},I.value))})]})]})]}),M.jsx("div",{className:"flex-1 overflow-y-auto p-4",style:{fontSize:"12px",lineHeight:"1.6"},children:i?M.jsxs("div",{className:"ai-markdown",style:{color:"#E6EDF3"},children:[M.jsx(oS,{components:{h1:({children:I})=>M.jsx("h1",{style:{color:"#58A6FF",fontSize:"16px",fontWeight:600,margin:"12px 0 6px"},children:I}),h2:({children:I})=>M.jsx("h2",{style:{color:"#58A6FF",fontSize:"14px",fontWeight:600,margin:"10px 0 4px"},children:I}),h3:({children:I})=>M.jsx("h3",{style:{color:"#79C0FF",fontSize:"13px",fontWeight:600,margin:"8px 0 4px"},children:I}),p:({children:I})=>M.jsx("p",{style:{margin:"4px 0"},children:I}),ul:({children:I})=>M.jsx("ul",{style:{margin:"4px 0",paddingLeft:"20px"},children:I}),ol:({children:I})=>M.jsx("ol",{style:{margin:"4px 0",paddingLeft:"20px"},children:I}),li:({children:I})=>M.jsx("li",{style:{margin:"2px 0"},children:I}),strong:({children:I})=>M.jsx("strong",{style:{color:"#F0F6FC",fontWeight:600},children:I}),em:({children:I})=>M.jsx("em",{style:{color:"#D2A8FF"},children:I}),code:({children:I,className:ht})=>ht?.includes("language-")?M.jsx("pre",{style:{background:"#161B22",border:"1px solid #30363D",borderRadius:"4px",padding:"8px",margin:"6px 0",overflowX:"auto"},children:M.jsx("code",{style:{color:"#E6EDF3",fontSize:"11px",fontFamily:"monospace"},children:I})}):M.jsx("code",{style:{background:"#1C2128",color:"#79C0FF",padding:"1px 4px",borderRadius:"3px",fontSize:"11px",fontFamily:"monospace"},children:I}),pre:({children:I})=>M.jsx(M.Fragment,{children:I}),hr:()=>M.jsx("hr",{style:{border:"none",borderTop:"1px solid #30363D",margin:"8px 0"}})},children:i}),a&&M.jsx("span",{className:"inline-block w-[2px] h-[14px] ml-0.5 cursor-blink align-middle",style:{background:"#58A6FF"}})]}):a?M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsx(M1,{size:14,color:"#58A6FF",className:"animate-spin"}),M.jsx("span",{style:{color:"#9DA5AE"},children:r&&pS[r]||"Analyzing..."})]}):M.jsx("span",{style:{color:"#9DA5AE"},children:"Choose an analysis mode below."})}),M.jsxs("div",{className:"flex flex-col gap-2 shrink-0 p-4 pt-0",children:[M.jsxs("button",{className:`flex items-center justify-center gap-1.5 py-2 px-3 ${a?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,style:Z,onClick:m,disabled:a,children:[M.jsx(D1,{size:14,color:"#58A6FF"}),M.jsx("span",{style:{color:"#58A6FF",fontSize:"12px"},children:"Analyze All Files"})]}),M.jsxs("button",{className:`flex items-center justify-center gap-1.5 py-2 px-3 ${a?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,style:Z,onClick:g,disabled:a,children:[M.jsx(S1,{size:14,color:"#58A6FF"}),M.jsxs("span",{style:{color:"#58A6FF",fontSize:"12px"},children:["Analyze ",x?x.split("/").pop():"Current File"]})]}),p&&M.jsxs("button",{className:`flex items-center justify-center gap-1.5 py-2 px-3 ${a?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,style:{border:"1px solid #58A6FF",background:"rgba(88,166,255,0.1)"},onClick:v,disabled:a,children:[M.jsx(em,{size:14,color:"#58A6FF"}),M.jsx("span",{style:{color:"#58A6FF",fontSize:"12px"},children:"Analyze Selection"})]})]})]})}function yS({filesChanged:i,totalAdditions:a,totalDeletions:r}){return M.jsxs("footer",{className:"h-8 shrink-0 flex items-center justify-between px-6",style:{background:"#161B22",borderTop:"1px solid #30363D"},children:[M.jsxs("div",{className:"flex items-center gap-4",children:[M.jsxs("span",{style:{color:"#9DA5AE",fontSize:"12px"},children:[i," file",i!==1?"s":""," changed"]}),M.jsxs("span",{style:{color:"#2EA043",fontSize:"12px"},children:[a," insertion",a!==1?"s":"","(+)"]}),M.jsxs("span",{style:{color:"#F85149",fontSize:"12px"},children:[r," deletion",r!==1?"s":"","(-)"]})]}),M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsx(Vo,{size:12,color:"#484F58"}),M.jsx("span",{style:{color:"#484F58",fontSize:"11px"},children:"visualgit"})]})]})}function gS(){const[i,a]=mt.useState(null),[r,c]=mt.useState(null),[s,f]=mt.useState(!0),[h,m]=mt.useState(null),[g,p]=mt.useState(!0);return mt.useEffect(()=>{async function v(){try{if(!(await(await fetch("/api/git/status")).json()).isGitRepo){p(!1);return}const[b,Y]=await Promise.all([fetch("/api/git/info"),fetch("/api/git/diff")]);if(!b.ok||!Y.ok)throw new Error("Failed to fetch git data");a(await b.json()),c(await Y.json())}catch(x){m(x instanceof Error?x.message:"Unknown error")}finally{f(!1)}}v()},[]),{info:i,diff:r,loading:s,error:h,isGitRepo:g}}function vS(){const[i,a]=mt.useState(""),[r,c]=mt.useState(!1),[s,f]=mt.useState(null),[h,m]=mt.useState("claude"),[g,p]=mt.useState("sonnet"),[v,x]=mt.useState(null),z=mt.useCallback(async(b,Y="full",G)=>{c(!0),f("connecting"),a(""),x(Y);try{const F=await fetch("/api/ai/analyze",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:h,mode:Y,content:b,filePath:G,model:h==="claude"?g:void 0})});f("analyzing");const B=F.body?.getReader(),P=new TextDecoder;if(!B)throw new Error("No stream available");let Z=!1;for(;;){const{done:I,value:ht}=await B.read();if(I)break;const nt=P.decode(ht).split(`
23
23
  `).filter(ot=>ot.startsWith("data: "));for(const ot of nt){const ct=ot.slice(6);let pt;try{pt=JSON.parse(ct)}catch{continue}if(pt.done)break;if(pt.error)throw new Error(pt.error);pt.text&&(Z||(Z=!0,f("streaming")),a(X=>X+pt.text))}}}catch{a(F=>F+`
24
24
 
25
- [Error: AI analysis failed]`)}finally{c(!1),f(null)}},[h,g]);return{analysis:i,isLoading:r,loadingPhase:s,provider:h,setProvider:m,model:g,setModel:p,analyze:z,lastMode:v}}function SS(){const{info:i,diff:a,loading:r,error:c,isGitRepo:s}=xS(),{analysis:f,isLoading:h,loadingPhase:m,provider:g,setProvider:p,model:v,setModel:x,analyze:z}=bS(),[b,Y]=mt.useState(0),[G,F]=mt.useState(65),[B,P]=mt.useState(!0),[Z,I]=mt.useState(null),ht=mt.useRef(null),j=a?.files?.[b],nt=mt.useCallback(ot=>{ot.preventDefault();const ct=ht.current;if(!ct)return;const pt=V=>{const tt=ct.getBoundingClientRect(),W=(V.clientX-tt.left)/tt.width*100;F(Math.max(30,Math.min(80,W)))},X=()=>{document.removeEventListener("mousemove",pt),document.removeEventListener("mouseup",X),document.body.style.cursor="",document.body.style.userSelect=""};document.body.style.cursor="col-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",pt),document.addEventListener("mouseup",X)},[]);return r?D.jsx("div",{className:"h-screen w-screen flex items-center justify-center",style:{background:"#0D1117",color:"#9DA5AE",fontSize:"14px"},children:"Loading repository..."}):s?c?D.jsx("div",{className:"h-screen w-screen flex items-center justify-center",style:{background:"#0D1117",color:"#F85149",fontSize:"14px"},children:c}):D.jsxs("div",{className:"h-screen w-screen flex flex-col",style:{background:"#0D1117"},children:[D.jsx(G1,{repoName:i?.repoName??"unknown",currentBranch:i?.currentBranch??"",baseBranch:i?.baseBranch??"",ahead:i?.ahead??0,behind:i?.behind??0}),D.jsxs("div",{className:"flex-1 flex min-h-0",ref:ht,children:[D.jsx("div",{className:"min-w-0",style:{width:B?`${G}%`:"100%"},children:D.jsx(J1,{files:a?.files??[],selectedFile:b,onSelectFile:Y,onSelectionChange:I,onAnalyzeSelection:()=>{Z&&z(Z,"selection",j?.path)}})}),B&&D.jsxs(D.Fragment,{children:[D.jsx("div",{className:"w-1 shrink-0 cursor-col-resize hover:bg-[#58A6FF]/40 transition-colors",style:{background:"#30363D"},onMouseDown:nt}),D.jsx("div",{className:"flex-1 min-w-0",children:D.jsx(gS,{analysis:f,isLoading:h,loadingPhase:m,provider:g,onProviderChange:p,model:v,onModelChange:x,onAnalyzeFull:()=>{a?.rawDiff&&z(a.rawDiff,"full")},onAnalyzeFile:()=>{if(j){const ot=j.lines.map(ct=>ct.content).join(`
26
- `);z(ot,"file",j.path)}},hasSelection:!!Z,onAnalyzeSelection:()=>{Z&&z(Z,"selection",j?.path)},currentFileName:j?.path,onClose:()=>P(!1)})})]}),!B&&D.jsx("button",{className:"h-full w-10 shrink-0 flex items-center justify-center cursor-pointer",style:{background:"#161B22",border:"none",borderLeft:"1px solid #30363D"},onClick:()=>P(!0),children:D.jsx(q1,{size:14,color:"#9DA5AE"})})]}),D.jsx(vS,{filesChanged:a?.summary.filesChanged??0,totalAdditions:a?.summary.totalAdditions??0,totalDeletions:a?.summary.totalDeletions??0})]}):D.jsxs("div",{className:"h-screen w-screen flex flex-col items-center justify-center gap-6",style:{background:"#0D1117"},children:[D.jsxs("div",{className:"flex items-center gap-3",children:[D.jsx(X1,{size:32,color:"#F85149"}),D.jsx(Vo,{size:32,color:"#F85149"})]}),D.jsx("h1",{style:{color:"#E6EDF3",fontSize:"24px",fontWeight:600,margin:0},children:"Not a Git Repository"}),D.jsxs("p",{style:{color:"#9DA5AE",fontSize:"14px",maxWidth:"400px",textAlign:"center",lineHeight:"1.6",margin:0},children:["VisualGit needs to run inside a git repository. Navigate to a project with ",D.jsx("code",{style:{color:"#58A6FF",background:"#161B22",padding:"2px 6px",borderRadius:"4px"},children:"git init"})," and try again."]}),D.jsxs("div",{style:{color:"#484F58",fontSize:"12px",marginTop:"8px"},children:["Run ",D.jsx("code",{style:{color:"#9DA5AE",background:"#161B22",padding:"2px 6px",borderRadius:"4px"},children:"cd your-project && visualgit"})]})]})}r1.createRoot(document.getElementById("root")).render(D.jsx(mt.StrictMode,{children:D.jsx(SS,{})}));
25
+ [Error: AI analysis failed]`)}finally{c(!1),f(null)}},[h,g]);return{analysis:i,isLoading:r,loadingPhase:s,provider:h,setProvider:m,model:g,setModel:p,analyze:z,lastMode:v}}function xS(){const{info:i,diff:a,loading:r,error:c,isGitRepo:s}=gS(),{analysis:f,isLoading:h,loadingPhase:m,provider:g,setProvider:p,model:v,setModel:x,analyze:z}=vS(),[b,Y]=mt.useState(0),[G,F]=mt.useState(65),[B,P]=mt.useState(!0),[Z,I]=mt.useState(null),ht=mt.useRef(null),j=a?.files?.[b],nt=mt.useCallback(ot=>{ot.preventDefault();const ct=ht.current;if(!ct)return;const pt=V=>{const tt=ct.getBoundingClientRect(),W=(V.clientX-tt.left)/tt.width*100;F(Math.max(30,Math.min(80,W)))},X=()=>{document.removeEventListener("mousemove",pt),document.removeEventListener("mouseup",X),document.body.style.cursor="",document.body.style.userSelect=""};document.body.style.cursor="col-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",pt),document.addEventListener("mouseup",X)},[]);return r?M.jsx("div",{className:"h-screen w-screen flex items-center justify-center",style:{background:"#0D1117",color:"#9DA5AE",fontSize:"14px"},children:"Loading repository..."}):s?c?M.jsx("div",{className:"h-screen w-screen flex items-center justify-center",style:{background:"#0D1117",color:"#F85149",fontSize:"14px"},children:c}):M.jsxs("div",{className:"h-screen w-screen flex flex-col",style:{background:"#0D1117"},children:[M.jsx(V1,{repoName:i?.repoName??"unknown",currentBranch:i?.currentBranch??"",baseBranch:i?.baseBranch??""}),M.jsxs("div",{className:"flex-1 flex min-h-0",ref:ht,children:[M.jsx("div",{className:"min-w-0",style:{width:B?`${G}%`:"100%"},children:M.jsx(K1,{files:a?.files??[],selectedFile:b,onSelectFile:Y,onSelectionChange:I,onAnalyzeSelection:()=>{Z&&z(Z,"selection",j?.path)}})}),B&&M.jsxs(M.Fragment,{children:[M.jsx("div",{className:"w-1 shrink-0 cursor-col-resize hover:bg-[#58A6FF]/40 transition-colors",style:{background:"#30363D"},onMouseDown:nt}),M.jsx("div",{className:"flex-1 min-w-0",children:M.jsx(mS,{analysis:f,isLoading:h,loadingPhase:m,provider:g,onProviderChange:p,model:v,onModelChange:x,onAnalyzeFull:()=>{a?.rawDiff&&z(a.rawDiff,"full")},onAnalyzeFile:()=>{if(j){const ot=j.lines.map(ct=>ct.content).join(`
26
+ `);z(ot,"file",j.path)}},hasSelection:!!Z,onAnalyzeSelection:()=>{Z&&z(Z,"selection",j?.path)},currentFileName:j?.path,onClose:()=>P(!1)})})]}),!B&&M.jsx("button",{className:"h-full w-10 shrink-0 flex items-center justify-center cursor-pointer",style:{background:"#161B22",border:"none",borderLeft:"1px solid #30363D"},onClick:()=>P(!0),children:M.jsx(H1,{size:14,color:"#9DA5AE"})})]}),M.jsx(yS,{filesChanged:a?.summary.filesChanged??0,totalAdditions:a?.summary.totalAdditions??0,totalDeletions:a?.summary.totalDeletions??0})]}):M.jsxs("div",{className:"h-screen w-screen flex flex-col items-center justify-center gap-6",style:{background:"#0D1117"},children:[M.jsxs("div",{className:"flex items-center gap-3",children:[M.jsx(Y1,{size:32,color:"#F85149"}),M.jsx(Vo,{size:32,color:"#F85149"})]}),M.jsx("h1",{style:{color:"#E6EDF3",fontSize:"24px",fontWeight:600,margin:0},children:"Not a Git Repository"}),M.jsxs("p",{style:{color:"#9DA5AE",fontSize:"14px",maxWidth:"400px",textAlign:"center",lineHeight:"1.6",margin:0},children:["VisualGit needs to run inside a git repository. Navigate to a project with ",M.jsx("code",{style:{color:"#58A6FF",background:"#161B22",padding:"2px 6px",borderRadius:"4px"},children:"git init"})," and try again."]}),M.jsxs("div",{style:{color:"#484F58",fontSize:"12px",marginTop:"8px"},children:["Run ",M.jsx("code",{style:{color:"#9DA5AE",background:"#161B22",padding:"2px 6px",borderRadius:"4px"},children:"cd your-project && visualgit"})]})]})}r1.createRoot(document.getElementById("root")).render(M.jsx(mt.StrictMode,{children:M.jsx(xS,{})}));