specv 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,41 @@
1
+ (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const c of f.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&u(c)}).observe(document,{childList:!0,subtree:!0});function i(o){const f={};return o.integrity&&(f.integrity=o.integrity),o.referrerPolicy&&(f.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?f.credentials="include":o.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(o){if(o.ep)return;o.ep=!0;const f=i(o);fetch(o.href,f)}})();function bm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Js={exports:{}},Di={};var ag;function m1(){if(ag)return Di;ag=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(u,o,f){var c=null;if(f!==void 0&&(c=""+f),o.key!==void 0&&(c=""+o.key),"key"in o){f={};for(var d in o)d!=="key"&&(f[d]=o[d])}else f=o;return o=f.ref,{$$typeof:n,type:u,key:c,ref:o!==void 0?o:null,props:f}}return Di.Fragment=a,Di.jsx=i,Di.jsxs=i,Di}var ig;function y1(){return ig||(ig=1,Js.exports=m1()),Js.exports}var ee=y1(),Ps={exports:{}},be={};var rg;function b1(){if(rg)return be;rg=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),x=Symbol.iterator;function v(z){return z===null||typeof z!="object"?null:(z=x&&z[x]||z["@@iterator"],typeof z=="function"?z:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,T={};function w(z,L,E){this.props=z,this.context=L,this.refs=T,this.updater=E||S}w.prototype.isReactComponent={},w.prototype.setState=function(z,L){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,L,"setState")},w.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function O(){}O.prototype=w.prototype;function R(z,L,E){this.props=z,this.context=L,this.refs=T,this.updater=E||S}var J=R.prototype=new O;J.constructor=R,A(J,w.prototype),J.isPureReactComponent=!0;var le=Array.isArray;function F(){}var $={H:null,A:null,T:null,S:null},oe=Object.prototype.hasOwnProperty;function ce(z,L,E){var K=E.ref;return{$$typeof:n,type:z,key:L,ref:K!==void 0?K:null,props:E}}function j(z,L){return ce(z.type,L,z.props)}function ne(z){return typeof z=="object"&&z!==null&&z.$$typeof===n}function te(z){var L={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(E){return L[E]})}var ve=/\/+/g;function W(z,L){return typeof z=="object"&&z!==null&&z.key!=null?te(""+z.key):L.toString(36)}function Q(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(F,F):(z.status="pending",z.then(function(L){z.status==="pending"&&(z.status="fulfilled",z.value=L)},function(L){z.status==="pending"&&(z.status="rejected",z.reason=L)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function N(z,L,E,K,ue){var re=typeof z;(re==="undefined"||re==="boolean")&&(z=null);var me=!1;if(z===null)me=!0;else switch(re){case"bigint":case"string":case"number":me=!0;break;case"object":switch(z.$$typeof){case n:case a:me=!0;break;case y:return me=z._init,N(me(z._payload),L,E,K,ue)}}if(me)return ue=ue(z),me=K===""?"."+W(z,0):K,le(ue)?(E="",me!=null&&(E=me.replace(ve,"$&/")+"/"),N(ue,L,E,"",function(Et){return Et})):ue!=null&&(ne(ue)&&(ue=j(ue,E+(ue.key==null||z&&z.key===ue.key?"":(""+ue.key).replace(ve,"$&/")+"/")+me)),L.push(ue)),1;me=0;var Ae=K===""?".":K+":";if(le(z))for(var Oe=0;Oe<z.length;Oe++)K=z[Oe],re=Ae+W(K,Oe),me+=N(K,L,E,re,ue);else if(Oe=v(z),typeof Oe=="function")for(z=Oe.call(z),Oe=0;!(K=z.next()).done;)K=K.value,re=Ae+W(K,Oe++),me+=N(K,L,E,re,ue);else if(re==="object"){if(typeof z.then=="function")return N(Q(z),L,E,K,ue);throw L=String(z),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return me}function X(z,L,E){if(z==null)return z;var K=[],ue=0;return N(z,K,"","",function(re){return L.call(E,re,ue++)}),K}function ie(z){if(z._status===-1){var L=z._result;L=L(),L.then(function(E){(z._status===0||z._status===-1)&&(z._status=1,z._result=E)},function(E){(z._status===0||z._status===-1)&&(z._status=2,z._result=E)}),z._status===-1&&(z._status=0,z._result=L)}if(z._status===1)return z._result.default;throw z._result}var xe=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},C={map:X,forEach:function(z,L,E){X(z,function(){L.apply(this,arguments)},E)},count:function(z){var L=0;return X(z,function(){L++}),L},toArray:function(z){return X(z,function(L){return L})||[]},only:function(z){if(!ne(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return be.Activity=m,be.Children=C,be.Component=w,be.Fragment=i,be.Profiler=o,be.PureComponent=R,be.StrictMode=u,be.Suspense=g,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,be.__COMPILER_RUNTIME={__proto__:null,c:function(z){return $.H.useMemoCache(z)}},be.cache=function(z){return function(){return z.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(z,L,E){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var K=A({},z.props),ue=z.key;if(L!=null)for(re in L.key!==void 0&&(ue=""+L.key),L)!oe.call(L,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&L.ref===void 0||(K[re]=L[re]);var re=arguments.length-2;if(re===1)K.children=E;else if(1<re){for(var me=Array(re),Ae=0;Ae<re;Ae++)me[Ae]=arguments[Ae+2];K.children=me}return ce(z.type,ue,K)},be.createContext=function(z){return z={$$typeof:c,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:f,_context:z},z},be.createElement=function(z,L,E){var K,ue={},re=null;if(L!=null)for(K in L.key!==void 0&&(re=""+L.key),L)oe.call(L,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(ue[K]=L[K]);var me=arguments.length-2;if(me===1)ue.children=E;else if(1<me){for(var Ae=Array(me),Oe=0;Oe<me;Oe++)Ae[Oe]=arguments[Oe+2];ue.children=Ae}if(z&&z.defaultProps)for(K in me=z.defaultProps,me)ue[K]===void 0&&(ue[K]=me[K]);return ce(z,re,ue)},be.createRef=function(){return{current:null}},be.forwardRef=function(z){return{$$typeof:d,render:z}},be.isValidElement=ne,be.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:ie}},be.memo=function(z,L){return{$$typeof:h,type:z,compare:L===void 0?null:L}},be.startTransition=function(z){var L=$.T,E={};$.T=E;try{var K=z(),ue=$.S;ue!==null&&ue(E,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(F,xe)}catch(re){xe(re)}finally{L!==null&&E.types!==null&&(L.types=E.types),$.T=L}},be.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},be.use=function(z){return $.H.use(z)},be.useActionState=function(z,L,E){return $.H.useActionState(z,L,E)},be.useCallback=function(z,L){return $.H.useCallback(z,L)},be.useContext=function(z){return $.H.useContext(z)},be.useDebugValue=function(){},be.useDeferredValue=function(z,L){return $.H.useDeferredValue(z,L)},be.useEffect=function(z,L){return $.H.useEffect(z,L)},be.useEffectEvent=function(z){return $.H.useEffectEvent(z)},be.useId=function(){return $.H.useId()},be.useImperativeHandle=function(z,L,E){return $.H.useImperativeHandle(z,L,E)},be.useInsertionEffect=function(z,L){return $.H.useInsertionEffect(z,L)},be.useLayoutEffect=function(z,L){return $.H.useLayoutEffect(z,L)},be.useMemo=function(z,L){return $.H.useMemo(z,L)},be.useOptimistic=function(z,L){return $.H.useOptimistic(z,L)},be.useReducer=function(z,L,E){return $.H.useReducer(z,L,E)},be.useRef=function(z){return $.H.useRef(z)},be.useState=function(z){return $.H.useState(z)},be.useSyncExternalStore=function(z,L,E){return $.H.useSyncExternalStore(z,L,E)},be.useTransition=function(){return $.H.useTransition()},be.version="19.2.4",be}var ug;function Bc(){return ug||(ug=1,Ps.exports=b1()),Ps.exports}var fe=Bc(),Ws={exports:{}},Oi={},ec={exports:{}},tc={};var og;function v1(){return og||(og=1,(function(n){function a(N,X){var ie=N.length;N.push(X);e:for(;0<ie;){var xe=ie-1>>>1,C=N[xe];if(0<o(C,X))N[xe]=X,N[ie]=C,ie=xe;else break e}}function i(N){return N.length===0?null:N[0]}function u(N){if(N.length===0)return null;var X=N[0],ie=N.pop();if(ie!==X){N[0]=ie;e:for(var xe=0,C=N.length,z=C>>>1;xe<z;){var L=2*(xe+1)-1,E=N[L],K=L+1,ue=N[K];if(0>o(E,ie))K<C&&0>o(ue,E)?(N[xe]=ue,N[K]=ie,xe=K):(N[xe]=E,N[L]=ie,xe=L);else if(K<C&&0>o(ue,ie))N[xe]=ue,N[K]=ie,xe=K;else break e}}return X}function o(N,X){var ie=N.sortIndex-X.sortIndex;return ie!==0?ie:N.id-X.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var c=Date,d=c.now();n.unstable_now=function(){return c.now()-d}}var g=[],h=[],y=1,m=null,x=3,v=!1,S=!1,A=!1,T=!1,w=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function J(N){for(var X=i(h);X!==null;){if(X.callback===null)u(h);else if(X.startTime<=N)u(h),X.sortIndex=X.expirationTime,a(g,X);else break;X=i(h)}}function le(N){if(A=!1,J(N),!S)if(i(g)!==null)S=!0,F||(F=!0,te());else{var X=i(h);X!==null&&Q(le,X.startTime-N)}}var F=!1,$=-1,oe=5,ce=-1;function j(){return T?!0:!(n.unstable_now()-ce<oe)}function ne(){if(T=!1,F){var N=n.unstable_now();ce=N;var X=!0;try{e:{S=!1,A&&(A=!1,O($),$=-1),v=!0;var ie=x;try{t:{for(J(N),m=i(g);m!==null&&!(m.expirationTime>N&&j());){var xe=m.callback;if(typeof xe=="function"){m.callback=null,x=m.priorityLevel;var C=xe(m.expirationTime<=N);if(N=n.unstable_now(),typeof C=="function"){m.callback=C,J(N),X=!0;break t}m===i(g)&&u(g),J(N)}else u(g);m=i(g)}if(m!==null)X=!0;else{var z=i(h);z!==null&&Q(le,z.startTime-N),X=!1}}break e}finally{m=null,x=ie,v=!1}X=void 0}}finally{X?te():F=!1}}}var te;if(typeof R=="function")te=function(){R(ne)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,W=ve.port2;ve.port1.onmessage=ne,te=function(){W.postMessage(null)}}else te=function(){w(ne,0)};function Q(N,X){$=w(function(){N(n.unstable_now())},X)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(N){N.callback=null},n.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"):oe=0<N?Math.floor(1e3/N):5},n.unstable_getCurrentPriorityLevel=function(){return x},n.unstable_next=function(N){switch(x){case 1:case 2:case 3:var X=3;break;default:X=x}var ie=x;x=X;try{return N()}finally{x=ie}},n.unstable_requestPaint=function(){T=!0},n.unstable_runWithPriority=function(N,X){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var ie=x;x=N;try{return X()}finally{x=ie}},n.unstable_scheduleCallback=function(N,X,ie){var xe=n.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?xe+ie:xe):ie=xe,N){case 1:var C=-1;break;case 2:C=250;break;case 5:C=1073741823;break;case 4:C=1e4;break;default:C=5e3}return C=ie+C,N={id:y++,callback:X,priorityLevel:N,startTime:ie,expirationTime:C,sortIndex:-1},ie>xe?(N.sortIndex=ie,a(h,N),i(g)===null&&N===i(h)&&(A?(O($),$=-1):A=!0,Q(le,ie-xe))):(N.sortIndex=C,a(g,N),S||v||(S=!0,F||(F=!0,te()))),N},n.unstable_shouldYield=j,n.unstable_wrapCallback=function(N){var X=x;return function(){var ie=x;x=X;try{return N.apply(this,arguments)}finally{x=ie}}}})(tc)),tc}var sg;function x1(){return sg||(sg=1,ec.exports=v1()),ec.exports}var nc={exports:{}},mt={};var cg;function S1(){if(cg)return mt;cg=1;var n=Bc();function a(g){var h="https://react.dev/errors/"+g;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function f(g,h,y){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:m==null?null:""+m,children:g,containerInfo:h,implementation:y}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(g,h){if(g==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,mt.createPortal=function(g,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(a(299));return f(g,h,null,y)},mt.flushSync=function(g){var h=c.T,y=u.p;try{if(c.T=null,u.p=2,g)return g()}finally{c.T=h,u.p=y,u.d.f()}},mt.preconnect=function(g,h){typeof g=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,u.d.C(g,h))},mt.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},mt.preinit=function(g,h){if(typeof g=="string"&&h&&typeof h.as=="string"){var y=h.as,m=d(y,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?u.d.S(g,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:m,integrity:x,fetchPriority:v}):y==="script"&&u.d.X(g,{crossOrigin:m,integrity:x,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},mt.preinitModule=function(g,h){if(typeof g=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=d(h.as,h.crossOrigin);u.d.M(g,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&u.d.M(g)},mt.preload=function(g,h){if(typeof g=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,m=d(y,h.crossOrigin);u.d.L(g,y,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},mt.preloadModule=function(g,h){if(typeof g=="string")if(h){var y=d(h.as,h.crossOrigin);u.d.m(g,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else u.d.m(g)},mt.requestFormReset=function(g){u.d.r(g)},mt.unstable_batchedUpdates=function(g,h){return g(h)},mt.useFormState=function(g,h,y){return c.H.useFormState(g,h,y)},mt.useFormStatus=function(){return c.H.useHostTransitionStatus()},mt.version="19.2.4",mt}var fg;function k1(){if(fg)return nc.exports;fg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),nc.exports=S1(),nc.exports}var pg;function E1(){if(pg)return Oi;pg=1;var n=x1(),a=Bc(),i=k1();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function c(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(u(188))}function h(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(u(188));return t!==e?null:e}for(var l=e,r=t;;){var s=l.return;if(s===null)break;var p=s.alternate;if(p===null){if(r=s.return,r!==null){l=r;continue}break}if(s.child===p.child){for(p=s.child;p;){if(p===l)return g(s),e;if(p===r)return g(s),t;p=p.sibling}throw Error(u(188))}if(l.return!==r.return)l=s,r=p;else{for(var b=!1,k=s.child;k;){if(k===l){b=!0,l=s,r=p;break}if(k===r){b=!0,r=s,l=p;break}k=k.sibling}if(!b){for(k=p.child;k;){if(k===l){b=!0,l=p,r=s;break}if(k===r){b=!0,r=p,l=s;break}k=k.sibling}if(!b)throw Error(u(189))}}if(l.alternate!==r)throw Error(u(190))}if(l.tag!==3)throw Error(u(188));return l.stateNode.current===l?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),R=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),j=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function te(e){return e===null||typeof e!="object"?null:(e=ne&&e[ne]||e["@@iterator"],typeof e=="function"?e:null)}var ve=Symbol.for("react.client.reference");function W(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ve?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case w:return"Profiler";case T:return"StrictMode";case le:return"Suspense";case F:return"SuspenseList";case ce:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case S:return"Portal";case R:return e.displayName||"Context";case O:return(e._context.displayName||"Context")+".Consumer";case J:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $:return t=e.displayName||null,t!==null?t:W(e.type)||"Memo";case oe:t=e._payload,e=e._init;try{return W(e(t))}catch{}}return null}var Q=Array.isArray,N=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},xe=[],C=-1;function z(e){return{current:e}}function L(e){0>C||(e.current=xe[C],xe[C]=null,C--)}function E(e,t){C++,xe[C]=e.current,e.current=t}var K=z(null),ue=z(null),re=z(null),me=z(null);function Ae(e,t){switch(E(re,t),E(ue,e),E(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Cd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Cd(t),e=_d(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(K),E(K,e)}function Oe(){L(K),L(ue),L(re)}function Et(e){e.memoizedState!==null&&E(me,e);var t=K.current,l=_d(t,e.type);t!==l&&(E(ue,e),E(K,l))}function un(e){ue.current===e&&(L(K),L(ue)),me.current===e&&(L(me),Ti._currentValue=ie)}var xl,Il;function Nt(e){if(xl===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);xl=t&&t[1]||"",Il=-1<l.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+xl+e+Il}var gt=!1;function In(e,t){if(!e||gt)return"";gt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(q){var H=q}Reflect.construct(e,[],V)}else{try{V.call()}catch(q){H=q}e.call(V.prototype)}}else{try{throw Error()}catch(q){H=q}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(q){if(q&&H&&typeof q.stack=="string")return[q.stack,H.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=r.DetermineComponentFrameRoot(),b=p[0],k=p[1];if(b&&k){var _=b.split(`
4
+ `),U=k.split(`
5
+ `);for(s=r=0;r<_.length&&!_[r].includes("DetermineComponentFrameRoot");)r++;for(;s<U.length&&!U[s].includes("DetermineComponentFrameRoot");)s++;if(r===_.length||s===U.length)for(r=_.length-1,s=U.length-1;1<=r&&0<=s&&_[r]!==U[s];)s--;for(;1<=r&&0<=s;r--,s--)if(_[r]!==U[s]){if(r!==1||s!==1)do if(r--,s--,0>s||_[r]!==U[s]){var G=`
6
+ `+_[r].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=r&&0<=s);break}}}finally{gt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Nt(l):""}function Sl(e,t){switch(e.tag){case 26:case 27:case 5:return Nt(e.type);case 16:return Nt("Lazy");case 13:return e.child!==t&&t!==null?Nt("Suspense Fallback"):Nt("Suspense");case 19:return Nt("SuspenseList");case 0:case 15:return In(e.type,!1);case 11:return In(e.type.render,!1);case 1:return In(e.type,!0);case 31:return Nt("Activity");default:return""}}function on(e){try{var t="",l=null;do t+=Sl(e,l),l=e,e=e.return;while(e);return t}catch(r){return`
7
+ Error generating stack: `+r.message+`
8
+ `+r.stack}}var Xt=Object.prototype.hasOwnProperty,Lt=n.unstable_scheduleCallback,dn=n.unstable_cancelCallback,En=n.unstable_shouldYield,Bu=n.unstable_requestPaint,vt=n.unstable_now,Uu=n.unstable_getCurrentPriorityLevel,Y=n.unstable_ImmediatePriority,ae=n.unstable_UserBlockingPriority,ye=n.unstable_NormalPriority,we=n.unstable_LowPriority,Ue=n.unstable_IdlePriority,Bt=n.log,An=n.unstable_setDisableYieldValue,xt=null,rt=null;function At(e){if(typeof Bt=="function"&&An(e),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode(xt,e)}catch{}}var Ye=Math.clz32?Math.clz32:nb,Vn=Math.log,sn=Math.LN2;function nb(e){return e>>>=0,e===0?32:31-(Vn(e)/sn|0)|0}var Ji=256,Pi=262144,Wi=4194304;function kl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function er(e,t,l){var r=e.pendingLanes;if(r===0)return 0;var s=0,p=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var k=r&134217727;return k!==0?(r=k&~p,r!==0?s=kl(r):(b&=k,b!==0?s=kl(b):l||(l=k&~e,l!==0&&(s=kl(l))))):(k=r&~p,k!==0?s=kl(k):b!==0?s=kl(b):l||(l=r&~e,l!==0&&(s=kl(l)))),s===0?0:t!==0&&t!==s&&(t&p)===0&&(p=s&-s,l=t&-t,p>=l||p===32&&(l&4194048)!==0)?t:s}function Ha(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function lb(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function of(){var e=Wi;return Wi<<=1,(Wi&62914560)===0&&(Wi=4194304),e}function ju(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Fa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ab(e,t,l,r,s,p){var b=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var k=e.entanglements,_=e.expirationTimes,U=e.hiddenUpdates;for(l=b&~l;0<l;){var G=31-Ye(l),V=1<<G;k[G]=0,_[G]=-1;var H=U[G];if(H!==null)for(U[G]=null,G=0;G<H.length;G++){var q=H[G];q!==null&&(q.lane&=-536870913)}l&=~V}r!==0&&sf(e,r,0),p!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~t))}function sf(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ye(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|l&261930}function cf(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var r=31-Ye(l),s=1<<r;s&t|e[r]&t&&(e[r]|=t),l&=~s}}function ff(e,t){var l=t&-t;return l=(l&42)!==0?1:Hu(l),(l&(e.suspendedLanes|t))!==0?0:l}function Hu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Fu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function pf(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Jd(e.type))}function hf(e,t){var l=X.p;try{return X.p=e,t()}finally{X.p=l}}var Zn=Math.random().toString(36).slice(2),ct="__reactFiber$"+Zn,wt="__reactProps$"+Zn,Vl="__reactContainer$"+Zn,qu="__reactEvents$"+Zn,ib="__reactListeners$"+Zn,rb="__reactHandles$"+Zn,df="__reactResources$"+Zn,qa="__reactMarker$"+Zn;function Gu(e){delete e[ct],delete e[wt],delete e[qu],delete e[ib],delete e[rb]}function Zl(e){var t=e[ct];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Vl]||l[ct]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Ld(e);e!==null;){if(l=e[ct])return l;e=Ld(e)}return t}e=l,l=e.parentNode}return null}function Xl(e){if(e=e[ct]||e[Vl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ga(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Ql(e){var t=e[df];return t||(t=e[df]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ot(e){e[qa]=!0}var gf=new Set,mf={};function El(e,t){Kl(e,t),Kl(e+"Capture",t)}function Kl(e,t){for(mf[e]=t,e=0;e<t.length;e++)gf.add(t[e])}var ub=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]*$"),yf={},bf={};function ob(e){return Xt.call(bf,e)?!0:Xt.call(yf,e)?!1:ub.test(e)?bf[e]=!0:(yf[e]=!0,!1)}function tr(e,t,l){if(ob(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function nr(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function wn(e,t,l,r){if(r===null)e.removeAttribute(l);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+r)}}function Qt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sb(e,t,l){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,p=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(b){l=""+b,p.call(this,b)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(b){l=""+b},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yu(e){if(!e._valueTracker){var t=vf(e)?"checked":"value";e._valueTracker=sb(e,t,""+e[t])}}function xf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),r="";return e&&(r=vf(e)?e.checked?"true":"false":e.value),e=r,e!==l?(t.setValue(e),!0):!1}function lr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var cb=/[\n"\\]/g;function Kt(e){return e.replace(cb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Iu(e,t,l,r,s,p,b,k){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),t!=null?b==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Qt(t)):e.value!==""+Qt(t)&&(e.value=""+Qt(t)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),t!=null?Vu(e,b,Qt(t)):l!=null?Vu(e,b,Qt(l)):r!=null&&e.removeAttribute("value"),s==null&&p!=null&&(e.defaultChecked=!!p),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?e.name=""+Qt(k):e.removeAttribute("name")}function Sf(e,t,l,r,s,p,b,k){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),t!=null||l!=null){if(!(p!=="submit"&&p!=="reset"||t!=null)){Yu(e);return}l=l!=null?""+Qt(l):"",t=t!=null?""+Qt(t):l,k||t===e.value||(e.value=t),e.defaultValue=t}r=r??s,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=k?e.checked:!!r,e.defaultChecked=!!r,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b),Yu(e)}function Vu(e,t,l){t==="number"&&lr(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function $l(e,t,l,r){if(e=e.options,t){t={};for(var s=0;s<l.length;s++)t["$"+l[s]]=!0;for(l=0;l<e.length;l++)s=t.hasOwnProperty("$"+e[l].value),e[l].selected!==s&&(e[l].selected=s),s&&r&&(e[l].defaultSelected=!0)}else{for(l=""+Qt(l),t=null,s=0;s<e.length;s++){if(e[s].value===l){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function kf(e,t,l){if(t!=null&&(t=""+Qt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Qt(l):""}function Ef(e,t,l,r){if(t==null){if(r!=null){if(l!=null)throw Error(u(92));if(Q(r)){if(1<r.length)throw Error(u(93));r=r[0]}l=r}l==null&&(l=""),t=l}l=Qt(t),e.defaultValue=l,r=e.textContent,r===l&&r!==""&&r!==null&&(e.value=r),Yu(e)}function Jl(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var fb=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 Af(e,t,l){var r=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,l):typeof l!="number"||l===0||fb.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function wf(e,t,l){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,l!=null){for(var r in l)!l.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var s in t)r=t[s],t.hasOwnProperty(s)&&l[s]!==r&&Af(e,s,r)}else for(var p in t)t.hasOwnProperty(p)&&Af(e,p,t[p])}function Zu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pb=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),hb=/^[\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 ar(e){return hb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Tn(){}var Xu=null;function Qu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pl=null,Wl=null;function Tf(e){var t=Xl(e);if(t&&(e=t.stateNode)){var l=e[wt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Iu(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Kt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var r=l[t];if(r!==e&&r.form===e.form){var s=r[wt]||null;if(!s)throw Error(u(90));Iu(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<l.length;t++)r=l[t],r.form===e.form&&xf(r)}break e;case"textarea":kf(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&$l(e,!!l.multiple,t,!1)}}}var Ku=!1;function Cf(e,t,l){if(Ku)return e(t,l);Ku=!0;try{var r=e(t);return r}finally{if(Ku=!1,(Pl!==null||Wl!==null)&&(Vr(),Pl&&(t=Pl,e=Wl,Wl=Pl=null,Tf(t),e)))for(t=0;t<e.length;t++)Tf(e[t])}}function Ya(e,t){var l=e.stateNode;if(l===null)return null;var r=l[wt]||null;if(r===null)return null;l=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(u(231,t,typeof l));return l}var Cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$u=!1;if(Cn)try{var Ia={};Object.defineProperty(Ia,"passive",{get:function(){$u=!0}}),window.addEventListener("test",Ia,Ia),window.removeEventListener("test",Ia,Ia)}catch{$u=!1}var Xn=null,Ju=null,ir=null;function _f(){if(ir)return ir;var e,t=Ju,l=t.length,r,s="value"in Xn?Xn.value:Xn.textContent,p=s.length;for(e=0;e<l&&t[e]===s[e];e++);var b=l-e;for(r=1;r<=b&&t[l-r]===s[p-r];r++);return ir=s.slice(e,1<r?1-r:void 0)}function rr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ur(){return!0}function zf(){return!1}function Tt(e){function t(l,r,s,p,b){this._reactName=l,this._targetInst=s,this.type=r,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var k in e)e.hasOwnProperty(k)&&(l=e[k],this[k]=l?l(p):p[k]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?ur:zf,this.isPropagationStopped=zf,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ur)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ur)},persist:function(){},isPersistent:ur}),t}var Al={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},or=Tt(Al),Va=m({},Al,{view:0,detail:0}),db=Tt(Va),Pu,Wu,Za,sr=m({},Va,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:to,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Za&&(Za&&e.type==="mousemove"?(Pu=e.screenX-Za.screenX,Wu=e.screenY-Za.screenY):Wu=Pu=0,Za=e),Pu)},movementY:function(e){return"movementY"in e?e.movementY:Wu}}),Df=Tt(sr),gb=m({},sr,{dataTransfer:0}),mb=Tt(gb),yb=m({},Va,{relatedTarget:0}),eo=Tt(yb),bb=m({},Al,{animationName:0,elapsedTime:0,pseudoElement:0}),vb=Tt(bb),xb=m({},Al,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sb=Tt(xb),kb=m({},Al,{data:0}),Of=Tt(kb),Eb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ab={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"},wb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wb[e])?!!t[e]:!1}function to(){return Tb}var Cb=m({},Va,{key:function(e){if(e.key){var t=Eb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=rr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ab[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:to,charCode:function(e){return e.type==="keypress"?rr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_b=Tt(Cb),zb=m({},sr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rf=Tt(zb),Db=m({},Va,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:to}),Ob=Tt(Db),Rb=m({},Al,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mb=Tt(Rb),Nb=m({},sr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lb=Tt(Nb),Bb=m({},Al,{newState:0,oldState:0}),Ub=Tt(Bb),jb=[9,13,27,32],no=Cn&&"CompositionEvent"in window,Xa=null;Cn&&"documentMode"in document&&(Xa=document.documentMode);var Hb=Cn&&"TextEvent"in window&&!Xa,Mf=Cn&&(!no||Xa&&8<Xa&&11>=Xa),Nf=" ",Lf=!1;function Bf(e,t){switch(e){case"keyup":return jb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ea=!1;function Fb(e,t){switch(e){case"compositionend":return Uf(t);case"keypress":return t.which!==32?null:(Lf=!0,Nf);case"textInput":return e=t.data,e===Nf&&Lf?null:e;default:return null}}function qb(e,t){if(ea)return e==="compositionend"||!no&&Bf(e,t)?(e=_f(),ir=Ju=Xn=null,ea=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mf&&t.locale!=="ko"?null:t.data;default:return null}}var Gb={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 jf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Gb[e.type]:t==="textarea"}function Hf(e,t,l,r){Pl?Wl?Wl.push(r):Wl=[r]:Pl=r,t=Pr(t,"onChange"),0<t.length&&(l=new or("onChange","change",null,l,r),e.push({event:l,listeners:t}))}var Qa=null,Ka=null;function Yb(e){Sd(e,0)}function cr(e){var t=Ga(e);if(xf(t))return e}function Ff(e,t){if(e==="change")return t}var qf=!1;if(Cn){var lo;if(Cn){var ao="oninput"in document;if(!ao){var Gf=document.createElement("div");Gf.setAttribute("oninput","return;"),ao=typeof Gf.oninput=="function"}lo=ao}else lo=!1;qf=lo&&(!document.documentMode||9<document.documentMode)}function Yf(){Qa&&(Qa.detachEvent("onpropertychange",If),Ka=Qa=null)}function If(e){if(e.propertyName==="value"&&cr(Ka)){var t=[];Hf(t,Ka,e,Qu(e)),Cf(Yb,t)}}function Ib(e,t,l){e==="focusin"?(Yf(),Qa=t,Ka=l,Qa.attachEvent("onpropertychange",If)):e==="focusout"&&Yf()}function Vb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return cr(Ka)}function Zb(e,t){if(e==="click")return cr(t)}function Xb(e,t){if(e==="input"||e==="change")return cr(t)}function Qb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ut=typeof Object.is=="function"?Object.is:Qb;function $a(e,t){if(Ut(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),r=Object.keys(t);if(l.length!==r.length)return!1;for(r=0;r<l.length;r++){var s=l[r];if(!Xt.call(t,s)||!Ut(e[s],t[s]))return!1}return!0}function Vf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zf(e,t){var l=Vf(e);e=0;for(var r;l;){if(l.nodeType===3){if(r=e+l.textContent.length,e<=t&&r>=t)return{node:l,offset:t-e};e=r}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Vf(l)}}function Xf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=lr(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=lr(e.document)}return t}function io(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Kb=Cn&&"documentMode"in document&&11>=document.documentMode,ta=null,ro=null,Ja=null,uo=!1;function Kf(e,t,l){var r=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;uo||ta==null||ta!==lr(r)||(r=ta,"selectionStart"in r&&io(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ja&&$a(Ja,r)||(Ja=r,r=Pr(ro,"onSelect"),0<r.length&&(t=new or("onSelect","select",null,t,l),e.push({event:t,listeners:r}),t.target=ta)))}function wl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var na={animationend:wl("Animation","AnimationEnd"),animationiteration:wl("Animation","AnimationIteration"),animationstart:wl("Animation","AnimationStart"),transitionrun:wl("Transition","TransitionRun"),transitionstart:wl("Transition","TransitionStart"),transitioncancel:wl("Transition","TransitionCancel"),transitionend:wl("Transition","TransitionEnd")},oo={},$f={};Cn&&($f=document.createElement("div").style,"AnimationEvent"in window||(delete na.animationend.animation,delete na.animationiteration.animation,delete na.animationstart.animation),"TransitionEvent"in window||delete na.transitionend.transition);function Tl(e){if(oo[e])return oo[e];if(!na[e])return e;var t=na[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in $f)return oo[e]=t[l];return e}var Jf=Tl("animationend"),Pf=Tl("animationiteration"),Wf=Tl("animationstart"),$b=Tl("transitionrun"),Jb=Tl("transitionstart"),Pb=Tl("transitioncancel"),ep=Tl("transitionend"),tp=new Map,so="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(" ");so.push("scrollEnd");function cn(e,t){tp.set(e,t),El(t,[e])}var fr=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},$t=[],la=0,co=0;function pr(){for(var e=la,t=co=la=0;t<e;){var l=$t[t];$t[t++]=null;var r=$t[t];$t[t++]=null;var s=$t[t];$t[t++]=null;var p=$t[t];if($t[t++]=null,r!==null&&s!==null){var b=r.pending;b===null?s.next=s:(s.next=b.next,b.next=s),r.pending=s}p!==0&&np(l,s,p)}}function hr(e,t,l,r){$t[la++]=e,$t[la++]=t,$t[la++]=l,$t[la++]=r,co|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function fo(e,t,l,r){return hr(e,t,l,r),dr(e)}function Cl(e,t){return hr(e,null,null,t),dr(e)}function np(e,t,l){e.lanes|=l;var r=e.alternate;r!==null&&(r.lanes|=l);for(var s=!1,p=e.return;p!==null;)p.childLanes|=l,r=p.alternate,r!==null&&(r.childLanes|=l),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(s=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,s&&t!==null&&(s=31-Ye(l),e=p.hiddenUpdates,r=e[s],r===null?e[s]=[t]:r.push(t),t.lane=l|536870912),p):null}function dr(e){if(50<vi)throw vi=0,Ss=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var aa={};function Wb(e,t,l,r){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jt(e,t,l,r){return new Wb(e,t,l,r)}function po(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _n(e,t){var l=e.alternate;return l===null?(l=jt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function lp(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function gr(e,t,l,r,s,p){var b=0;if(r=e,typeof e=="function")po(e)&&(b=1);else if(typeof e=="string")b=a1(e,l,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ce:return e=jt(31,l,t,s),e.elementType=ce,e.lanes=p,e;case A:return _l(l.children,s,p,t);case T:b=8,s|=24;break;case w:return e=jt(12,l,t,s|2),e.elementType=w,e.lanes=p,e;case le:return e=jt(13,l,t,s),e.elementType=le,e.lanes=p,e;case F:return e=jt(19,l,t,s),e.elementType=F,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R:b=10;break e;case O:b=9;break e;case J:b=11;break e;case $:b=14;break e;case oe:b=16,r=null;break e}b=29,l=Error(u(130,e===null?"null":typeof e,"")),r=null}return t=jt(b,l,t,s),t.elementType=e,t.type=r,t.lanes=p,t}function _l(e,t,l,r){return e=jt(7,e,r,t),e.lanes=l,e}function ho(e,t,l){return e=jt(6,e,null,t),e.lanes=l,e}function ap(e){var t=jt(18,null,null,0);return t.stateNode=e,t}function go(e,t,l){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ip=new WeakMap;function Jt(e,t){if(typeof e=="object"&&e!==null){var l=ip.get(e);return l!==void 0?l:(t={value:e,source:t,stack:on(t)},ip.set(e,t),t)}return{value:e,source:t,stack:on(t)}}var ia=[],ra=0,mr=null,Pa=0,Pt=[],Wt=0,Qn=null,gn=1,mn="";function zn(e,t){ia[ra++]=Pa,ia[ra++]=mr,mr=e,Pa=t}function rp(e,t,l){Pt[Wt++]=gn,Pt[Wt++]=mn,Pt[Wt++]=Qn,Qn=e;var r=gn;e=mn;var s=32-Ye(r)-1;r&=~(1<<s),l+=1;var p=32-Ye(t)+s;if(30<p){var b=s-s%5;p=(r&(1<<b)-1).toString(32),r>>=b,s-=b,gn=1<<32-Ye(t)+s|l<<s|r,mn=p+e}else gn=1<<p|l<<s|r,mn=e}function mo(e){e.return!==null&&(zn(e,1),rp(e,1,0))}function yo(e){for(;e===mr;)mr=ia[--ra],ia[ra]=null,Pa=ia[--ra],ia[ra]=null;for(;e===Qn;)Qn=Pt[--Wt],Pt[Wt]=null,mn=Pt[--Wt],Pt[Wt]=null,gn=Pt[--Wt],Pt[Wt]=null}function up(e,t){Pt[Wt++]=gn,Pt[Wt++]=mn,Pt[Wt++]=Qn,gn=t.id,mn=t.overflow,Qn=e}var ft=null,Xe=null,Re=!1,Kn=null,en=!1,bo=Error(u(519));function $n(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Wa(Jt(t,e)),bo}function op(e){var t=e.stateNode,l=e.type,r=e.memoizedProps;switch(t[ct]=e,t[wt]=r,l){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(l=0;l<Si.length;l++)Ce(Si[l],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Ce("invalid",t),Sf(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ce("invalid",t);break;case"textarea":Ce("invalid",t),Ef(t,r.value,r.defaultValue,r.children)}l=r.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||r.suppressHydrationWarning===!0||wd(t.textContent,l)?(r.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),r.onScroll!=null&&Ce("scroll",t),r.onScrollEnd!=null&&Ce("scrollend",t),r.onClick!=null&&(t.onclick=Tn),t=!0):t=!1,t||$n(e,!0)}function sp(e){for(ft=e.return;ft;)switch(ft.tag){case 5:case 31:case 13:en=!1;return;case 27:case 3:en=!0;return;default:ft=ft.return}}function ua(e){if(e!==ft)return!1;if(!Re)return sp(e),Re=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Bs(e.type,e.memoizedProps)),l=!l),l&&Xe&&$n(e),sp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Xe=Nd(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Xe=Nd(e)}else t===27?(t=Xe,cl(e.type)?(e=qs,qs=null,Xe=e):Xe=t):Xe=ft?nn(e.stateNode.nextSibling):null;return!0}function zl(){Xe=ft=null,Re=!1}function vo(){var e=Kn;return e!==null&&(Dt===null?Dt=e:Dt.push.apply(Dt,e),Kn=null),e}function Wa(e){Kn===null?Kn=[e]:Kn.push(e)}var xo=z(null),Dl=null,Dn=null;function Jn(e,t,l){E(xo,t._currentValue),t._currentValue=l}function On(e){e._currentValue=xo.current,L(xo)}function So(e,t,l){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===l)break;e=e.return}}function ko(e,t,l,r){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var p=s.dependencies;if(p!==null){var b=s.child;p=p.firstContext;e:for(;p!==null;){var k=p;p=s;for(var _=0;_<t.length;_++)if(k.context===t[_]){p.lanes|=l,k=p.alternate,k!==null&&(k.lanes|=l),So(p.return,l,e),r||(b=null);break e}p=k.next}}else if(s.tag===18){if(b=s.return,b===null)throw Error(u(341));b.lanes|=l,p=b.alternate,p!==null&&(p.lanes|=l),So(b,l,e),b=null}else b=s.child;if(b!==null)b.return=s;else for(b=s;b!==null;){if(b===e){b=null;break}if(s=b.sibling,s!==null){s.return=b.return,b=s;break}b=b.return}s=b}}function oa(e,t,l,r){e=null;for(var s=t,p=!1;s!==null;){if(!p){if((s.flags&524288)!==0)p=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var b=s.alternate;if(b===null)throw Error(u(387));if(b=b.memoizedProps,b!==null){var k=s.type;Ut(s.pendingProps.value,b.value)||(e!==null?e.push(k):e=[k])}}else if(s===me.current){if(b=s.alternate,b===null)throw Error(u(387));b.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Ti):e=[Ti])}s=s.return}e!==null&&ko(t,e,l,r),t.flags|=262144}function yr(e){for(e=e.firstContext;e!==null;){if(!Ut(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ol(e){Dl=e,Dn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function pt(e){return cp(Dl,e)}function br(e,t){return Dl===null&&Ol(e),cp(e,t)}function cp(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Dn===null){if(e===null)throw Error(u(308));Dn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Dn=Dn.next=t;return l}var e0=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},t0=n.unstable_scheduleCallback,n0=n.unstable_NormalPriority,tt={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Eo(){return{controller:new e0,data:new Map,refCount:0}}function ei(e){e.refCount--,e.refCount===0&&t0(n0,function(){e.controller.abort()})}var ti=null,Ao=0,sa=0,ca=null;function l0(e,t){if(ti===null){var l=ti=[];Ao=0,sa=Cs(),ca={status:"pending",value:void 0,then:function(r){l.push(r)}}}return Ao++,t.then(fp,fp),t}function fp(){if(--Ao===0&&ti!==null){ca!==null&&(ca.status="fulfilled");var e=ti;ti=null,sa=0,ca=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function a0(e,t){var l=[],r={status:"pending",value:null,reason:null,then:function(s){l.push(s)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var s=0;s<l.length;s++)(0,l[s])(t)},function(s){for(r.status="rejected",r.reason=s,s=0;s<l.length;s++)(0,l[s])(void 0)}),r}var pp=N.S;N.S=function(e,t){Kh=vt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&l0(e,t),pp!==null&&pp(e,t)};var Rl=z(null);function wo(){var e=Rl.current;return e!==null?e:Ie.pooledCache}function vr(e,t){t===null?E(Rl,Rl.current):E(Rl,t.pool)}function hp(){var e=wo();return e===null?null:{parent:tt._currentValue,pool:e}}var fa=Error(u(460)),To=Error(u(474)),xr=Error(u(542)),Sr={then:function(){}};function dp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function gp(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Tn,Tn),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yp(e),e;default:if(typeof t.status=="string")t.then(Tn,Tn);else{if(e=Ie,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=r}},function(r){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yp(e),e}throw Nl=t,fa}}function Ml(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Nl=l,fa):l}}var Nl=null;function mp(){if(Nl===null)throw Error(u(459));var e=Nl;return Nl=null,e}function yp(e){if(e===fa||e===xr)throw Error(u(483))}var pa=null,ni=0;function kr(e){var t=ni;return ni+=1,pa===null&&(pa=[]),gp(pa,e,t)}function li(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Er(e,t){throw t.$$typeof===x?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function bp(e){function t(M,D){if(e){var B=M.deletions;B===null?(M.deletions=[D],M.flags|=16):B.push(D)}}function l(M,D){if(!e)return null;for(;D!==null;)t(M,D),D=D.sibling;return null}function r(M){for(var D=new Map;M!==null;)M.key!==null?D.set(M.key,M):D.set(M.index,M),M=M.sibling;return D}function s(M,D){return M=_n(M,D),M.index=0,M.sibling=null,M}function p(M,D,B){return M.index=B,e?(B=M.alternate,B!==null?(B=B.index,B<D?(M.flags|=67108866,D):B):(M.flags|=67108866,D)):(M.flags|=1048576,D)}function b(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function k(M,D,B,I){return D===null||D.tag!==6?(D=ho(B,M.mode,I),D.return=M,D):(D=s(D,B),D.return=M,D)}function _(M,D,B,I){var he=B.type;return he===A?G(M,D,B.props.children,I,B.key):D!==null&&(D.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===oe&&Ml(he)===D.type)?(D=s(D,B.props),li(D,B),D.return=M,D):(D=gr(B.type,B.key,B.props,null,M.mode,I),li(D,B),D.return=M,D)}function U(M,D,B,I){return D===null||D.tag!==4||D.stateNode.containerInfo!==B.containerInfo||D.stateNode.implementation!==B.implementation?(D=go(B,M.mode,I),D.return=M,D):(D=s(D,B.children||[]),D.return=M,D)}function G(M,D,B,I,he){return D===null||D.tag!==7?(D=_l(B,M.mode,I,he),D.return=M,D):(D=s(D,B),D.return=M,D)}function V(M,D,B){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=ho(""+D,M.mode,B),D.return=M,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case v:return B=gr(D.type,D.key,D.props,null,M.mode,B),li(B,D),B.return=M,B;case S:return D=go(D,M.mode,B),D.return=M,D;case oe:return D=Ml(D),V(M,D,B)}if(Q(D)||te(D))return D=_l(D,M.mode,B,null),D.return=M,D;if(typeof D.then=="function")return V(M,kr(D),B);if(D.$$typeof===R)return V(M,br(M,D),B);Er(M,D)}return null}function H(M,D,B,I){var he=D!==null?D.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return he!==null?null:k(M,D,""+B,I);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case v:return B.key===he?_(M,D,B,I):null;case S:return B.key===he?U(M,D,B,I):null;case oe:return B=Ml(B),H(M,D,B,I)}if(Q(B)||te(B))return he!==null?null:G(M,D,B,I,null);if(typeof B.then=="function")return H(M,D,kr(B),I);if(B.$$typeof===R)return H(M,D,br(M,B),I);Er(M,B)}return null}function q(M,D,B,I,he){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return M=M.get(B)||null,k(D,M,""+I,he);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case v:return M=M.get(I.key===null?B:I.key)||null,_(D,M,I,he);case S:return M=M.get(I.key===null?B:I.key)||null,U(D,M,I,he);case oe:return I=Ml(I),q(M,D,B,I,he)}if(Q(I)||te(I))return M=M.get(B)||null,G(D,M,I,he,null);if(typeof I.then=="function")return q(M,D,B,kr(I),he);if(I.$$typeof===R)return q(M,D,B,br(D,I),he);Er(D,I)}return null}function se(M,D,B,I){for(var he=null,Ne=null,pe=D,ke=D=0,De=null;pe!==null&&ke<B.length;ke++){pe.index>ke?(De=pe,pe=null):De=pe.sibling;var Le=H(M,pe,B[ke],I);if(Le===null){pe===null&&(pe=De);break}e&&pe&&Le.alternate===null&&t(M,pe),D=p(Le,D,ke),Ne===null?he=Le:Ne.sibling=Le,Ne=Le,pe=De}if(ke===B.length)return l(M,pe),Re&&zn(M,ke),he;if(pe===null){for(;ke<B.length;ke++)pe=V(M,B[ke],I),pe!==null&&(D=p(pe,D,ke),Ne===null?he=pe:Ne.sibling=pe,Ne=pe);return Re&&zn(M,ke),he}for(pe=r(pe);ke<B.length;ke++)De=q(pe,M,ke,B[ke],I),De!==null&&(e&&De.alternate!==null&&pe.delete(De.key===null?ke:De.key),D=p(De,D,ke),Ne===null?he=De:Ne.sibling=De,Ne=De);return e&&pe.forEach(function(gl){return t(M,gl)}),Re&&zn(M,ke),he}function ge(M,D,B,I){if(B==null)throw Error(u(151));for(var he=null,Ne=null,pe=D,ke=D=0,De=null,Le=B.next();pe!==null&&!Le.done;ke++,Le=B.next()){pe.index>ke?(De=pe,pe=null):De=pe.sibling;var gl=H(M,pe,Le.value,I);if(gl===null){pe===null&&(pe=De);break}e&&pe&&gl.alternate===null&&t(M,pe),D=p(gl,D,ke),Ne===null?he=gl:Ne.sibling=gl,Ne=gl,pe=De}if(Le.done)return l(M,pe),Re&&zn(M,ke),he;if(pe===null){for(;!Le.done;ke++,Le=B.next())Le=V(M,Le.value,I),Le!==null&&(D=p(Le,D,ke),Ne===null?he=Le:Ne.sibling=Le,Ne=Le);return Re&&zn(M,ke),he}for(pe=r(pe);!Le.done;ke++,Le=B.next())Le=q(pe,M,ke,Le.value,I),Le!==null&&(e&&Le.alternate!==null&&pe.delete(Le.key===null?ke:Le.key),D=p(Le,D,ke),Ne===null?he=Le:Ne.sibling=Le,Ne=Le);return e&&pe.forEach(function(g1){return t(M,g1)}),Re&&zn(M,ke),he}function Ge(M,D,B,I){if(typeof B=="object"&&B!==null&&B.type===A&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case v:e:{for(var he=B.key;D!==null;){if(D.key===he){if(he=B.type,he===A){if(D.tag===7){l(M,D.sibling),I=s(D,B.props.children),I.return=M,M=I;break e}}else if(D.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===oe&&Ml(he)===D.type){l(M,D.sibling),I=s(D,B.props),li(I,B),I.return=M,M=I;break e}l(M,D);break}else t(M,D);D=D.sibling}B.type===A?(I=_l(B.props.children,M.mode,I,B.key),I.return=M,M=I):(I=gr(B.type,B.key,B.props,null,M.mode,I),li(I,B),I.return=M,M=I)}return b(M);case S:e:{for(he=B.key;D!==null;){if(D.key===he)if(D.tag===4&&D.stateNode.containerInfo===B.containerInfo&&D.stateNode.implementation===B.implementation){l(M,D.sibling),I=s(D,B.children||[]),I.return=M,M=I;break e}else{l(M,D);break}else t(M,D);D=D.sibling}I=go(B,M.mode,I),I.return=M,M=I}return b(M);case oe:return B=Ml(B),Ge(M,D,B,I)}if(Q(B))return se(M,D,B,I);if(te(B)){if(he=te(B),typeof he!="function")throw Error(u(150));return B=he.call(B),ge(M,D,B,I)}if(typeof B.then=="function")return Ge(M,D,kr(B),I);if(B.$$typeof===R)return Ge(M,D,br(M,B),I);Er(M,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,D!==null&&D.tag===6?(l(M,D.sibling),I=s(D,B),I.return=M,M=I):(l(M,D),I=ho(B,M.mode,I),I.return=M,M=I),b(M)):l(M,D)}return function(M,D,B,I){try{ni=0;var he=Ge(M,D,B,I);return pa=null,he}catch(pe){if(pe===fa||pe===xr)throw pe;var Ne=jt(29,pe,null,M.mode);return Ne.lanes=I,Ne.return=M,Ne}}}var Ll=bp(!0),vp=bp(!1),Pn=!1;function Co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _o(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Wn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function el(e,t,l){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Be&2)!==0){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,t=dr(e),np(e,null,l),t}return hr(e,r,t,l),dr(e)}function ai(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,l|=r,t.lanes=l,cf(e,l)}}function zo(e,t){var l=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,l===r)){var s=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var b={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};p===null?s=p=b:p=p.next=b,l=l.next}while(l!==null);p===null?s=p=t:p=p.next=t}else s=p=t;l={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:p,shared:r.shared,callbacks:r.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Do=!1;function ii(){if(Do){var e=ca;if(e!==null)throw e}}function ri(e,t,l,r){Do=!1;var s=e.updateQueue;Pn=!1;var p=s.firstBaseUpdate,b=s.lastBaseUpdate,k=s.shared.pending;if(k!==null){s.shared.pending=null;var _=k,U=_.next;_.next=null,b===null?p=U:b.next=U,b=_;var G=e.alternate;G!==null&&(G=G.updateQueue,k=G.lastBaseUpdate,k!==b&&(k===null?G.firstBaseUpdate=U:k.next=U,G.lastBaseUpdate=_))}if(p!==null){var V=s.baseState;b=0,G=U=_=null,k=p;do{var H=k.lane&-536870913,q=H!==k.lane;if(q?(ze&H)===H:(r&H)===H){H!==0&&H===sa&&(Do=!0),G!==null&&(G=G.next={lane:0,tag:k.tag,payload:k.payload,callback:null,next:null});e:{var se=e,ge=k;H=t;var Ge=l;switch(ge.tag){case 1:if(se=ge.payload,typeof se=="function"){V=se.call(Ge,V,H);break e}V=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=ge.payload,H=typeof se=="function"?se.call(Ge,V,H):se,H==null)break e;V=m({},V,H);break e;case 2:Pn=!0}}H=k.callback,H!==null&&(e.flags|=64,q&&(e.flags|=8192),q=s.callbacks,q===null?s.callbacks=[H]:q.push(H))}else q={lane:H,tag:k.tag,payload:k.payload,callback:k.callback,next:null},G===null?(U=G=q,_=V):G=G.next=q,b|=H;if(k=k.next,k===null){if(k=s.shared.pending,k===null)break;q=k,k=q.next,q.next=null,s.lastBaseUpdate=q,s.shared.pending=null}}while(!0);G===null&&(_=V),s.baseState=_,s.firstBaseUpdate=U,s.lastBaseUpdate=G,p===null&&(s.shared.lanes=0),il|=b,e.lanes=b,e.memoizedState=V}}function xp(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Sp(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)xp(l[e],t)}var ha=z(null),Ar=z(0);function kp(e,t){e=Fn,E(Ar,e),E(ha,t),Fn=e|t.baseLanes}function Oo(){E(Ar,Fn),E(ha,ha.current)}function Ro(){Fn=Ar.current,L(ha),L(Ar)}var Ht=z(null),tn=null;function tl(e){var t=e.alternate;E(We,We.current&1),E(Ht,e),tn===null&&(t===null||ha.current!==null||t.memoizedState!==null)&&(tn=e)}function Mo(e){E(We,We.current),E(Ht,e),tn===null&&(tn=e)}function Ep(e){e.tag===22?(E(We,We.current),E(Ht,e),tn===null&&(tn=e)):nl()}function nl(){E(We,We.current),E(Ht,Ht.current)}function Ft(e){L(Ht),tn===e&&(tn=null),L(We)}var We=z(0);function wr(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Hs(l)||Fs(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Rn=0,Se=null,Fe=null,nt=null,Tr=!1,da=!1,Bl=!1,Cr=0,ui=0,ga=null,i0=0;function Je(){throw Error(u(321))}function No(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!Ut(e[l],t[l]))return!1;return!0}function Lo(e,t,l,r,s,p){return Rn=p,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,N.H=e===null||e.memoizedState===null?rh:$o,Bl=!1,p=l(r,s),Bl=!1,da&&(p=wp(t,l,r,s)),Ap(e),p}function Ap(e){N.H=ci;var t=Fe!==null&&Fe.next!==null;if(Rn=0,nt=Fe=Se=null,Tr=!1,ui=0,ga=null,t)throw Error(u(300));e===null||lt||(e=e.dependencies,e!==null&&yr(e)&&(lt=!0))}function wp(e,t,l,r){Se=e;var s=0;do{if(da&&(ga=null),ui=0,da=!1,25<=s)throw Error(u(301));if(s+=1,nt=Fe=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}N.H=uh,p=t(l,r)}while(da);return p}function r0(){var e=N.H,t=e.useState()[0];return t=typeof t.then=="function"?oi(t):t,e=e.useState()[0],(Fe!==null?Fe.memoizedState:null)!==e&&(Se.flags|=1024),t}function Bo(){var e=Cr!==0;return Cr=0,e}function Uo(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function jo(e){if(Tr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Tr=!1}Rn=0,nt=Fe=Se=null,da=!1,ui=Cr=0,ga=null}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?Se.memoizedState=nt=e:nt=nt.next=e,nt}function et(){if(Fe===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Fe.next;var t=nt===null?Se.memoizedState:nt.next;if(t!==null)nt=t,Fe=e;else{if(e===null)throw Se.alternate===null?Error(u(467)):Error(u(310));Fe=e,e={memoizedState:Fe.memoizedState,baseState:Fe.baseState,baseQueue:Fe.baseQueue,queue:Fe.queue,next:null},nt===null?Se.memoizedState=nt=e:nt=nt.next=e}return nt}function _r(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function oi(e){var t=ui;return ui+=1,ga===null&&(ga=[]),e=gp(ga,e,t),t=Se,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,N.H=t===null||t.memoizedState===null?rh:$o),e}function zr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return oi(e);if(e.$$typeof===R)return pt(e)}throw Error(u(438,String(e)))}function Ho(e){var t=null,l=Se.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var r=Se.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=_r(),Se.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),r=0;r<e;r++)l[r]=j;return t.index++,l}function Mn(e,t){return typeof t=="function"?t(e):t}function Dr(e){var t=et();return Fo(t,Fe,e)}function Fo(e,t,l){var r=e.queue;if(r===null)throw Error(u(311));r.lastRenderedReducer=l;var s=e.baseQueue,p=r.pending;if(p!==null){if(s!==null){var b=s.next;s.next=p.next,p.next=b}t.baseQueue=s=p,r.pending=null}if(p=e.baseState,s===null)e.memoizedState=p;else{t=s.next;var k=b=null,_=null,U=t,G=!1;do{var V=U.lane&-536870913;if(V!==U.lane?(ze&V)===V:(Rn&V)===V){var H=U.revertLane;if(H===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),V===sa&&(G=!0);else if((Rn&H)===H){U=U.next,H===sa&&(G=!0);continue}else V={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},_===null?(k=_=V,b=p):_=_.next=V,Se.lanes|=H,il|=H;V=U.action,Bl&&l(p,V),p=U.hasEagerState?U.eagerState:l(p,V)}else H={lane:V,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},_===null?(k=_=H,b=p):_=_.next=H,Se.lanes|=V,il|=V;U=U.next}while(U!==null&&U!==t);if(_===null?b=p:_.next=k,!Ut(p,e.memoizedState)&&(lt=!0,G&&(l=ca,l!==null)))throw l;e.memoizedState=p,e.baseState=b,e.baseQueue=_,r.lastRenderedState=p}return s===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function qo(e){var t=et(),l=t.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=e;var r=l.dispatch,s=l.pending,p=t.memoizedState;if(s!==null){l.pending=null;var b=s=s.next;do p=e(p,b.action),b=b.next;while(b!==s);Ut(p,t.memoizedState)||(lt=!0),t.memoizedState=p,t.baseQueue===null&&(t.baseState=p),l.lastRenderedState=p}return[p,r]}function Tp(e,t,l){var r=Se,s=et(),p=Re;if(p){if(l===void 0)throw Error(u(407));l=l()}else l=t();var b=!Ut((Fe||s).memoizedState,l);if(b&&(s.memoizedState=l,lt=!0),s=s.queue,Io(zp.bind(null,r,s,e),[e]),s.getSnapshot!==t||b||nt!==null&&nt.memoizedState.tag&1){if(r.flags|=2048,ma(9,{destroy:void 0},_p.bind(null,r,s,l,t),null),Ie===null)throw Error(u(349));p||(Rn&127)!==0||Cp(r,t,l)}return l}function Cp(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=Se.updateQueue,t===null?(t=_r(),Se.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function _p(e,t,l,r){t.value=l,t.getSnapshot=r,Dp(t)&&Op(e)}function zp(e,t,l){return l(function(){Dp(t)&&Op(e)})}function Dp(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Ut(e,l)}catch{return!0}}function Op(e){var t=Cl(e,2);t!==null&&Ot(t,e,2)}function Go(e){var t=St();if(typeof e=="function"){var l=e;if(e=l(),Bl){At(!0);try{l()}finally{At(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:e},t}function Rp(e,t,l,r){return e.baseState=l,Fo(e,Fe,typeof r=="function"?r:Mn)}function u0(e,t,l,r,s){if(Mr(e))throw Error(u(485));if(e=t.action,e!==null){var p={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};N.T!==null?l(!0):p.isTransition=!1,r(p),l=t.pending,l===null?(p.next=t.pending=p,Mp(t,p)):(p.next=l.next,t.pending=l.next=p)}}function Mp(e,t){var l=t.action,r=t.payload,s=e.state;if(t.isTransition){var p=N.T,b={};N.T=b;try{var k=l(s,r),_=N.S;_!==null&&_(b,k),Np(e,t,k)}catch(U){Yo(e,t,U)}finally{p!==null&&b.types!==null&&(p.types=b.types),N.T=p}}else try{p=l(s,r),Np(e,t,p)}catch(U){Yo(e,t,U)}}function Np(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(r){Lp(e,t,r)},function(r){return Yo(e,t,r)}):Lp(e,t,l)}function Lp(e,t,l){t.status="fulfilled",t.value=l,Bp(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Mp(e,l)))}function Yo(e,t,l){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=l,Bp(t),t=t.next;while(t!==r)}e.action=null}function Bp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Up(e,t){return t}function jp(e,t){if(Re){var l=Ie.formState;if(l!==null){e:{var r=Se;if(Re){if(Xe){t:{for(var s=Xe,p=en;s.nodeType!==8;){if(!p){s=null;break t}if(s=nn(s.nextSibling),s===null){s=null;break t}}p=s.data,s=p==="F!"||p==="F"?s:null}if(s){Xe=nn(s.nextSibling),r=s.data==="F!";break e}}$n(r)}r=!1}r&&(t=l[0])}}return l=St(),l.memoizedState=l.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Up,lastRenderedState:t},l.queue=r,l=lh.bind(null,Se,r),r.dispatch=l,r=Go(!1),p=Ko.bind(null,Se,!1,r.queue),r=St(),s={state:t,dispatch:null,action:e,pending:null},r.queue=s,l=u0.bind(null,Se,s,p,l),s.dispatch=l,r.memoizedState=e,[t,l,!1]}function Hp(e){var t=et();return Fp(t,Fe,e)}function Fp(e,t,l){if(t=Fo(e,t,Up)[0],e=Dr(Mn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=oi(t)}catch(b){throw b===fa?xr:b}else r=t;t=et();var s=t.queue,p=s.dispatch;return l!==t.memoizedState&&(Se.flags|=2048,ma(9,{destroy:void 0},o0.bind(null,s,l),null)),[r,p,e]}function o0(e,t){e.action=t}function qp(e){var t=et(),l=Fe;if(l!==null)return Fp(t,l,e);et(),t=t.memoizedState,l=et();var r=l.queue.dispatch;return l.memoizedState=e,[t,r,!1]}function ma(e,t,l,r){return e={tag:e,create:l,deps:r,inst:t,next:null},t=Se.updateQueue,t===null&&(t=_r(),Se.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(r=l.next,l.next=e,e.next=r,t.lastEffect=e),e}function Gp(){return et().memoizedState}function Or(e,t,l,r){var s=St();Se.flags|=e,s.memoizedState=ma(1|t,{destroy:void 0},l,r===void 0?null:r)}function Rr(e,t,l,r){var s=et();r=r===void 0?null:r;var p=s.memoizedState.inst;Fe!==null&&r!==null&&No(r,Fe.memoizedState.deps)?s.memoizedState=ma(t,p,l,r):(Se.flags|=e,s.memoizedState=ma(1|t,p,l,r))}function Yp(e,t){Or(8390656,8,e,t)}function Io(e,t){Rr(2048,8,e,t)}function s0(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=_r(),Se.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Ip(e){var t=et().memoizedState;return s0({ref:t,nextImpl:e}),function(){if((Be&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function Vp(e,t){return Rr(4,2,e,t)}function Zp(e,t){return Rr(4,4,e,t)}function Xp(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Qp(e,t,l){l=l!=null?l.concat([e]):null,Rr(4,4,Xp.bind(null,t,e),l)}function Vo(){}function Kp(e,t){var l=et();t=t===void 0?null:t;var r=l.memoizedState;return t!==null&&No(t,r[1])?r[0]:(l.memoizedState=[e,t],e)}function $p(e,t){var l=et();t=t===void 0?null:t;var r=l.memoizedState;if(t!==null&&No(t,r[1]))return r[0];if(r=e(),Bl){At(!0);try{e()}finally{At(!1)}}return l.memoizedState=[r,t],r}function Zo(e,t,l){return l===void 0||(Rn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Jh(),Se.lanes|=e,il|=e,l)}function Jp(e,t,l,r){return Ut(l,t)?l:ha.current!==null?(e=Zo(e,l,r),Ut(e,t)||(lt=!0),e):(Rn&42)===0||(Rn&1073741824)!==0&&(ze&261930)===0?(lt=!0,e.memoizedState=l):(e=Jh(),Se.lanes|=e,il|=e,t)}function Pp(e,t,l,r,s){var p=X.p;X.p=p!==0&&8>p?p:8;var b=N.T,k={};N.T=k,Ko(e,!1,t,l);try{var _=s(),U=N.S;if(U!==null&&U(k,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var G=a0(_,r);si(e,t,G,Yt(e))}else si(e,t,r,Yt(e))}catch(V){si(e,t,{then:function(){},status:"rejected",reason:V},Yt())}finally{X.p=p,b!==null&&k.types!==null&&(b.types=k.types),N.T=b}}function c0(){}function Xo(e,t,l,r){if(e.tag!==5)throw Error(u(476));var s=Wp(e).queue;Pp(e,s,t,ie,l===null?c0:function(){return eh(e),l(r)})}function Wp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:ie},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function eh(e){var t=Wp(e);t.next===null&&(t=e.alternate.memoizedState),si(e,t.next.queue,{},Yt())}function Qo(){return pt(Ti)}function th(){return et().memoizedState}function nh(){return et().memoizedState}function f0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Yt();e=Wn(l);var r=el(t,e,l);r!==null&&(Ot(r,t,l),ai(r,t,l)),t={cache:Eo()},e.payload=t;return}t=t.return}}function p0(e,t,l){var r=Yt();l={lane:r,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Mr(e)?ah(t,l):(l=fo(e,t,l,r),l!==null&&(Ot(l,e,r),ih(l,t,r)))}function lh(e,t,l){var r=Yt();si(e,t,l,r)}function si(e,t,l,r){var s={lane:r,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Mr(e))ah(t,s);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=t.lastRenderedReducer,p!==null))try{var b=t.lastRenderedState,k=p(b,l);if(s.hasEagerState=!0,s.eagerState=k,Ut(k,b))return hr(e,t,s,0),Ie===null&&pr(),!1}catch{}if(l=fo(e,t,s,r),l!==null)return Ot(l,e,r),ih(l,t,r),!0}return!1}function Ko(e,t,l,r){if(r={lane:2,revertLane:Cs(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Mr(e)){if(t)throw Error(u(479))}else t=fo(e,l,r,2),t!==null&&Ot(t,e,2)}function Mr(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function ah(e,t){da=Tr=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function ih(e,t,l){if((l&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,l|=r,t.lanes=l,cf(e,l)}}var ci={readContext:pt,use:zr,useCallback:Je,useContext:Je,useEffect:Je,useImperativeHandle:Je,useLayoutEffect:Je,useInsertionEffect:Je,useMemo:Je,useReducer:Je,useRef:Je,useState:Je,useDebugValue:Je,useDeferredValue:Je,useTransition:Je,useSyncExternalStore:Je,useId:Je,useHostTransitionStatus:Je,useFormState:Je,useActionState:Je,useOptimistic:Je,useMemoCache:Je,useCacheRefresh:Je};ci.useEffectEvent=Je;var rh={readContext:pt,use:zr,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:pt,useEffect:Yp,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Or(4194308,4,Xp.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Or(4194308,4,e,t)},useInsertionEffect:function(e,t){Or(4,2,e,t)},useMemo:function(e,t){var l=St();t=t===void 0?null:t;var r=e();if(Bl){At(!0);try{e()}finally{At(!1)}}return l.memoizedState=[r,t],r},useReducer:function(e,t,l){var r=St();if(l!==void 0){var s=l(t);if(Bl){At(!0);try{l(t)}finally{At(!1)}}}else s=t;return r.memoizedState=r.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},r.queue=e,e=e.dispatch=p0.bind(null,Se,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:function(e){e=Go(e);var t=e.queue,l=lh.bind(null,Se,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Vo,useDeferredValue:function(e,t){var l=St();return Zo(l,e,t)},useTransition:function(){var e=Go(!1);return e=Pp.bind(null,Se,e.queue,!0,!1),St().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var r=Se,s=St();if(Re){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Ie===null)throw Error(u(349));(ze&127)!==0||Cp(r,t,l)}s.memoizedState=l;var p={value:l,getSnapshot:t};return s.queue=p,Yp(zp.bind(null,r,p,e),[e]),r.flags|=2048,ma(9,{destroy:void 0},_p.bind(null,r,p,l,t),null),l},useId:function(){var e=St(),t=Ie.identifierPrefix;if(Re){var l=mn,r=gn;l=(r&~(1<<32-Ye(r)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Cr++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=i0++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Qo,useFormState:jp,useActionState:jp,useOptimistic:function(e){var t=St();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Ko.bind(null,Se,!0,l),l.dispatch=t,[e,t]},useMemoCache:Ho,useCacheRefresh:function(){return St().memoizedState=f0.bind(null,Se)},useEffectEvent:function(e){var t=St(),l={impl:e};return t.memoizedState=l,function(){if((Be&2)!==0)throw Error(u(440));return l.impl.apply(void 0,arguments)}}},$o={readContext:pt,use:zr,useCallback:Kp,useContext:pt,useEffect:Io,useImperativeHandle:Qp,useInsertionEffect:Vp,useLayoutEffect:Zp,useMemo:$p,useReducer:Dr,useRef:Gp,useState:function(){return Dr(Mn)},useDebugValue:Vo,useDeferredValue:function(e,t){var l=et();return Jp(l,Fe.memoizedState,e,t)},useTransition:function(){var e=Dr(Mn)[0],t=et().memoizedState;return[typeof e=="boolean"?e:oi(e),t]},useSyncExternalStore:Tp,useId:th,useHostTransitionStatus:Qo,useFormState:Hp,useActionState:Hp,useOptimistic:function(e,t){var l=et();return Rp(l,Fe,e,t)},useMemoCache:Ho,useCacheRefresh:nh};$o.useEffectEvent=Ip;var uh={readContext:pt,use:zr,useCallback:Kp,useContext:pt,useEffect:Io,useImperativeHandle:Qp,useInsertionEffect:Vp,useLayoutEffect:Zp,useMemo:$p,useReducer:qo,useRef:Gp,useState:function(){return qo(Mn)},useDebugValue:Vo,useDeferredValue:function(e,t){var l=et();return Fe===null?Zo(l,e,t):Jp(l,Fe.memoizedState,e,t)},useTransition:function(){var e=qo(Mn)[0],t=et().memoizedState;return[typeof e=="boolean"?e:oi(e),t]},useSyncExternalStore:Tp,useId:th,useHostTransitionStatus:Qo,useFormState:qp,useActionState:qp,useOptimistic:function(e,t){var l=et();return Fe!==null?Rp(l,Fe,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Ho,useCacheRefresh:nh};uh.useEffectEvent=Ip;function Jo(e,t,l,r){t=e.memoizedState,l=l(r,t),l=l==null?t:m({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Po={enqueueSetState:function(e,t,l){e=e._reactInternals;var r=Yt(),s=Wn(r);s.payload=t,l!=null&&(s.callback=l),t=el(e,s,r),t!==null&&(Ot(t,e,r),ai(t,e,r))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var r=Yt(),s=Wn(r);s.tag=1,s.payload=t,l!=null&&(s.callback=l),t=el(e,s,r),t!==null&&(Ot(t,e,r),ai(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Yt(),r=Wn(l);r.tag=2,t!=null&&(r.callback=t),t=el(e,r,l),t!==null&&(Ot(t,e,l),ai(t,e,l))}};function oh(e,t,l,r,s,p,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,p,b):t.prototype&&t.prototype.isPureReactComponent?!$a(l,r)||!$a(s,p):!0}function sh(e,t,l,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,r),t.state!==e&&Po.enqueueReplaceState(t,t.state,null)}function Ul(e,t){var l=t;if("ref"in t){l={};for(var r in t)r!=="ref"&&(l[r]=t[r])}if(e=e.defaultProps){l===t&&(l=m({},l));for(var s in e)l[s]===void 0&&(l[s]=e[s])}return l}function ch(e){fr(e)}function fh(e){console.error(e)}function ph(e){fr(e)}function Nr(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function hh(e,t,l){try{var r=e.onCaughtError;r(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Wo(e,t,l){return l=Wn(l),l.tag=3,l.payload={element:null},l.callback=function(){Nr(e,t)},l}function dh(e){return e=Wn(e),e.tag=3,e}function gh(e,t,l,r){var s=l.type.getDerivedStateFromError;if(typeof s=="function"){var p=r.value;e.payload=function(){return s(p)},e.callback=function(){hh(t,l,r)}}var b=l.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){hh(t,l,r),typeof s!="function"&&(rl===null?rl=new Set([this]):rl.add(this));var k=r.stack;this.componentDidCatch(r.value,{componentStack:k!==null?k:""})})}function h0(e,t,l,r,s){if(l.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=l.alternate,t!==null&&oa(t,l,s,!0),l=Ht.current,l!==null){switch(l.tag){case 31:case 13:return tn===null?Zr():l.alternate===null&&Pe===0&&(Pe=3),l.flags&=-257,l.flags|=65536,l.lanes=s,r===Sr?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([r]):t.add(r),As(e,r,s)),!1;case 22:return l.flags|=65536,r===Sr?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([r]):l.add(r)),As(e,r,s)),!1}throw Error(u(435,l.tag))}return As(e,r,s),Zr(),!1}if(Re)return t=Ht.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,r!==bo&&(e=Error(u(422),{cause:r}),Wa(Jt(e,l)))):(r!==bo&&(t=Error(u(423),{cause:r}),Wa(Jt(t,l))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,r=Jt(r,l),s=Wo(e.stateNode,r,s),zo(e,s),Pe!==4&&(Pe=2)),!1;var p=Error(u(520),{cause:r});if(p=Jt(p,l),bi===null?bi=[p]:bi.push(p),Pe!==4&&(Pe=2),t===null)return!0;r=Jt(r,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=s&-s,l.lanes|=e,e=Wo(l.stateNode,r,e),zo(l,e),!1;case 1:if(t=l.type,p=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(rl===null||!rl.has(p))))return l.flags|=65536,s&=-s,l.lanes|=s,s=dh(s),gh(s,e,l,r),zo(l,s),!1}l=l.return}while(l!==null);return!1}var es=Error(u(461)),lt=!1;function ht(e,t,l,r){t.child=e===null?vp(t,null,l,r):Ll(t,e.child,l,r)}function mh(e,t,l,r,s){l=l.render;var p=t.ref;if("ref"in r){var b={};for(var k in r)k!=="ref"&&(b[k]=r[k])}else b=r;return Ol(t),r=Lo(e,t,l,b,p,s),k=Bo(),e!==null&&!lt?(Uo(e,t,s),Nn(e,t,s)):(Re&&k&&mo(t),t.flags|=1,ht(e,t,r,s),t.child)}function yh(e,t,l,r,s){if(e===null){var p=l.type;return typeof p=="function"&&!po(p)&&p.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=p,bh(e,t,p,r,s)):(e=gr(l.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(p=e.child,!os(e,s)){var b=p.memoizedProps;if(l=l.compare,l=l!==null?l:$a,l(b,r)&&e.ref===t.ref)return Nn(e,t,s)}return t.flags|=1,e=_n(p,r),e.ref=t.ref,e.return=t,t.child=e}function bh(e,t,l,r,s){if(e!==null){var p=e.memoizedProps;if($a(p,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=p,os(e,s))(e.flags&131072)!==0&&(lt=!0);else return t.lanes=e.lanes,Nn(e,t,s)}return ts(e,t,l,r,s)}function vh(e,t,l,r){var s=r.children,p=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(p=p!==null?p.baseLanes|l:l,e!==null){for(r=t.child=e.child,s=0;r!==null;)s=s|r.lanes|r.childLanes,r=r.sibling;r=s&~p}else r=0,t.child=null;return xh(e,t,p,l,r)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&vr(t,p!==null?p.cachePool:null),p!==null?kp(t,p):Oo(),Ep(t);else return r=t.lanes=536870912,xh(e,t,p!==null?p.baseLanes|l:l,l,r)}else p!==null?(vr(t,p.cachePool),kp(t,p),nl(),t.memoizedState=null):(e!==null&&vr(t,null),Oo(),nl());return ht(e,t,s,l),t.child}function fi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function xh(e,t,l,r,s){var p=wo();return p=p===null?null:{parent:tt._currentValue,pool:p},t.memoizedState={baseLanes:l,cachePool:p},e!==null&&vr(t,null),Oo(),Ep(t),e!==null&&oa(e,t,r,!0),t.childLanes=s,null}function Lr(e,t){return t=Ur({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Sh(e,t,l){return Ll(t,e.child,null,l),e=Lr(t,t.pendingProps),e.flags|=2,Ft(t),t.memoizedState=null,e}function d0(e,t,l){var r=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Re){if(r.mode==="hidden")return e=Lr(t,r),t.lanes=536870912,fi(null,e);if(Mo(t),(e=Xe)?(e=Md(e,en),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Qn!==null?{id:gn,overflow:mn}:null,retryLane:536870912,hydrationErrors:null},l=ap(e),l.return=t,t.child=l,ft=t,Xe=null)):e=null,e===null)throw $n(t);return t.lanes=536870912,null}return Lr(t,r)}var p=e.memoizedState;if(p!==null){var b=p.dehydrated;if(Mo(t),s)if(t.flags&256)t.flags&=-257,t=Sh(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(lt||oa(e,t,l,!1),s=(l&e.childLanes)!==0,lt||s){if(r=Ie,r!==null&&(b=ff(r,l),b!==0&&b!==p.retryLane))throw p.retryLane=b,Cl(e,b),Ot(r,e,b),es;Zr(),t=Sh(e,t,l)}else e=p.treeContext,Xe=nn(b.nextSibling),ft=t,Re=!0,Kn=null,en=!1,e!==null&&up(t,e),t=Lr(t,r),t.flags|=4096;return t}return e=_n(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Br(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(u(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function ts(e,t,l,r,s){return Ol(t),l=Lo(e,t,l,r,void 0,s),r=Bo(),e!==null&&!lt?(Uo(e,t,s),Nn(e,t,s)):(Re&&r&&mo(t),t.flags|=1,ht(e,t,l,s),t.child)}function kh(e,t,l,r,s,p){return Ol(t),t.updateQueue=null,l=wp(t,r,l,s),Ap(e),r=Bo(),e!==null&&!lt?(Uo(e,t,p),Nn(e,t,p)):(Re&&r&&mo(t),t.flags|=1,ht(e,t,l,p),t.child)}function Eh(e,t,l,r,s){if(Ol(t),t.stateNode===null){var p=aa,b=l.contextType;typeof b=="object"&&b!==null&&(p=pt(b)),p=new l(r,p),t.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=Po,t.stateNode=p,p._reactInternals=t,p=t.stateNode,p.props=r,p.state=t.memoizedState,p.refs={},Co(t),b=l.contextType,p.context=typeof b=="object"&&b!==null?pt(b):aa,p.state=t.memoizedState,b=l.getDerivedStateFromProps,typeof b=="function"&&(Jo(t,l,b,r),p.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&Po.enqueueReplaceState(p,p.state,null),ri(t,r,p,s),ii(),p.state=t.memoizedState),typeof p.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){p=t.stateNode;var k=t.memoizedProps,_=Ul(l,k);p.props=_;var U=p.context,G=l.contextType;b=aa,typeof G=="object"&&G!==null&&(b=pt(G));var V=l.getDerivedStateFromProps;G=typeof V=="function"||typeof p.getSnapshotBeforeUpdate=="function",k=t.pendingProps!==k,G||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(k||U!==b)&&sh(t,p,r,b),Pn=!1;var H=t.memoizedState;p.state=H,ri(t,r,p,s),ii(),U=t.memoizedState,k||H!==U||Pn?(typeof V=="function"&&(Jo(t,l,V,r),U=t.memoizedState),(_=Pn||oh(t,l,_,r,H,U,b))?(G||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(t.flags|=4194308)):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=U),p.props=r,p.state=U,p.context=b,r=_):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{p=t.stateNode,_o(e,t),b=t.memoizedProps,G=Ul(l,b),p.props=G,V=t.pendingProps,H=p.context,U=l.contextType,_=aa,typeof U=="object"&&U!==null&&(_=pt(U)),k=l.getDerivedStateFromProps,(U=typeof k=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==V||H!==_)&&sh(t,p,r,_),Pn=!1,H=t.memoizedState,p.state=H,ri(t,r,p,s),ii();var q=t.memoizedState;b!==V||H!==q||Pn||e!==null&&e.dependencies!==null&&yr(e.dependencies)?(typeof k=="function"&&(Jo(t,l,k,r),q=t.memoizedState),(G=Pn||oh(t,l,G,r,H,q,_)||e!==null&&e.dependencies!==null&&yr(e.dependencies))?(U||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(r,q,_),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(r,q,_)),typeof p.componentDidUpdate=="function"&&(t.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=q),p.props=r,p.state=q,p.context=_,r=G):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),r=!1)}return p=r,Br(e,t),r=(t.flags&128)!==0,p||r?(p=t.stateNode,l=r&&typeof l.getDerivedStateFromError!="function"?null:p.render(),t.flags|=1,e!==null&&r?(t.child=Ll(t,e.child,null,s),t.child=Ll(t,null,l,s)):ht(e,t,l,s),t.memoizedState=p.state,e=t.child):e=Nn(e,t,s),e}function Ah(e,t,l,r){return zl(),t.flags|=256,ht(e,t,l,r),t.child}var ns={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ls(e){return{baseLanes:e,cachePool:hp()}}function as(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Gt),e}function wh(e,t,l){var r=t.pendingProps,s=!1,p=(t.flags&128)!==0,b;if((b=p)||(b=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),b&&(s=!0,t.flags&=-129),b=(t.flags&32)!==0,t.flags&=-33,e===null){if(Re){if(s?tl(t):nl(),(e=Xe)?(e=Md(e,en),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Qn!==null?{id:gn,overflow:mn}:null,retryLane:536870912,hydrationErrors:null},l=ap(e),l.return=t,t.child=l,ft=t,Xe=null)):e=null,e===null)throw $n(t);return Fs(e)?t.lanes=32:t.lanes=536870912,null}var k=r.children;return r=r.fallback,s?(nl(),s=t.mode,k=Ur({mode:"hidden",children:k},s),r=_l(r,s,l,null),k.return=t,r.return=t,k.sibling=r,t.child=k,r=t.child,r.memoizedState=ls(l),r.childLanes=as(e,b,l),t.memoizedState=ns,fi(null,r)):(tl(t),is(t,k))}var _=e.memoizedState;if(_!==null&&(k=_.dehydrated,k!==null)){if(p)t.flags&256?(tl(t),t.flags&=-257,t=rs(e,t,l)):t.memoizedState!==null?(nl(),t.child=e.child,t.flags|=128,t=null):(nl(),k=r.fallback,s=t.mode,r=Ur({mode:"visible",children:r.children},s),k=_l(k,s,l,null),k.flags|=2,r.return=t,k.return=t,r.sibling=k,t.child=r,Ll(t,e.child,null,l),r=t.child,r.memoizedState=ls(l),r.childLanes=as(e,b,l),t.memoizedState=ns,t=fi(null,r));else if(tl(t),Fs(k)){if(b=k.nextSibling&&k.nextSibling.dataset,b)var U=b.dgst;b=U,r=Error(u(419)),r.stack="",r.digest=b,Wa({value:r,source:null,stack:null}),t=rs(e,t,l)}else if(lt||oa(e,t,l,!1),b=(l&e.childLanes)!==0,lt||b){if(b=Ie,b!==null&&(r=ff(b,l),r!==0&&r!==_.retryLane))throw _.retryLane=r,Cl(e,r),Ot(b,e,r),es;Hs(k)||Zr(),t=rs(e,t,l)}else Hs(k)?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,Xe=nn(k.nextSibling),ft=t,Re=!0,Kn=null,en=!1,e!==null&&up(t,e),t=is(t,r.children),t.flags|=4096);return t}return s?(nl(),k=r.fallback,s=t.mode,_=e.child,U=_.sibling,r=_n(_,{mode:"hidden",children:r.children}),r.subtreeFlags=_.subtreeFlags&65011712,U!==null?k=_n(U,k):(k=_l(k,s,l,null),k.flags|=2),k.return=t,r.return=t,r.sibling=k,t.child=r,fi(null,r),r=t.child,k=e.child.memoizedState,k===null?k=ls(l):(s=k.cachePool,s!==null?(_=tt._currentValue,s=s.parent!==_?{parent:_,pool:_}:s):s=hp(),k={baseLanes:k.baseLanes|l,cachePool:s}),r.memoizedState=k,r.childLanes=as(e,b,l),t.memoizedState=ns,fi(e.child,r)):(tl(t),l=e.child,e=l.sibling,l=_n(l,{mode:"visible",children:r.children}),l.return=t,l.sibling=null,e!==null&&(b=t.deletions,b===null?(t.deletions=[e],t.flags|=16):b.push(e)),t.child=l,t.memoizedState=null,l)}function is(e,t){return t=Ur({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ur(e,t){return e=jt(22,e,null,t),e.lanes=0,e}function rs(e,t,l){return Ll(t,e.child,null,l),e=is(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Th(e,t,l){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),So(e.return,t,l)}function us(e,t,l,r,s,p){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:l,tailMode:s,treeForkCount:p}:(b.isBackwards=t,b.rendering=null,b.renderingStartTime=0,b.last=r,b.tail=l,b.tailMode=s,b.treeForkCount=p)}function Ch(e,t,l){var r=t.pendingProps,s=r.revealOrder,p=r.tail;r=r.children;var b=We.current,k=(b&2)!==0;if(k?(b=b&1|2,t.flags|=128):b&=1,E(We,b),ht(e,t,r,l),r=Re?Pa:0,!k&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Th(e,l,t);else if(e.tag===19)Th(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(l=t.child,s=null;l!==null;)e=l.alternate,e!==null&&wr(e)===null&&(s=l),l=l.sibling;l=s,l===null?(s=t.child,t.child=null):(s=l.sibling,l.sibling=null),us(t,!1,s,l,p,r);break;case"backwards":case"unstable_legacy-backwards":for(l=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&wr(e)===null){t.child=s;break}e=s.sibling,s.sibling=l,l=s,s=e}us(t,!0,l,null,p,r);break;case"together":us(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Nn(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),il|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(oa(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,l=_n(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=_n(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function os(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&yr(e)))}function g0(e,t,l){switch(t.tag){case 3:Ae(t,t.stateNode.containerInfo),Jn(t,tt,e.memoizedState.cache),zl();break;case 27:case 5:Et(t);break;case 4:Ae(t,t.stateNode.containerInfo);break;case 10:Jn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Mo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(tl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?wh(e,t,l):(tl(t),e=Nn(e,t,l),e!==null?e.sibling:null);tl(t);break;case 19:var s=(e.flags&128)!==0;if(r=(l&t.childLanes)!==0,r||(oa(e,t,l,!1),r=(l&t.childLanes)!==0),s){if(r)return Ch(e,t,l);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),E(We,We.current),r)break;return null;case 22:return t.lanes=0,vh(e,t,l,t.pendingProps);case 24:Jn(t,tt,e.memoizedState.cache)}return Nn(e,t,l)}function _h(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)lt=!0;else{if(!os(e,l)&&(t.flags&128)===0)return lt=!1,g0(e,t,l);lt=(e.flags&131072)!==0}else lt=!1,Re&&(t.flags&1048576)!==0&&rp(t,Pa,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Ml(t.elementType),t.type=e,typeof e=="function")po(e)?(r=Ul(e,r),t.tag=1,t=Eh(null,t,e,r,l)):(t.tag=0,t=ts(null,t,e,r,l));else{if(e!=null){var s=e.$$typeof;if(s===J){t.tag=11,t=mh(null,t,e,r,l);break e}else if(s===$){t.tag=14,t=yh(null,t,e,r,l);break e}}throw t=W(e)||e,Error(u(306,t,""))}}return t;case 0:return ts(e,t,t.type,t.pendingProps,l);case 1:return r=t.type,s=Ul(r,t.pendingProps),Eh(e,t,r,s,l);case 3:e:{if(Ae(t,t.stateNode.containerInfo),e===null)throw Error(u(387));r=t.pendingProps;var p=t.memoizedState;s=p.element,_o(e,t),ri(t,r,null,l);var b=t.memoizedState;if(r=b.cache,Jn(t,tt,r),r!==p.cache&&ko(t,[tt],l,!0),ii(),r=b.element,p.isDehydrated)if(p={element:r,isDehydrated:!1,cache:b.cache},t.updateQueue.baseState=p,t.memoizedState=p,t.flags&256){t=Ah(e,t,r,l);break e}else if(r!==s){s=Jt(Error(u(424)),t),Wa(s),t=Ah(e,t,r,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Xe=nn(e.firstChild),ft=t,Re=!0,Kn=null,en=!0,l=vp(t,null,r,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(zl(),r===s){t=Nn(e,t,l);break e}ht(e,t,r,l)}t=t.child}return t;case 26:return Br(e,t),e===null?(l=Hd(t.type,null,t.pendingProps,null))?t.memoizedState=l:Re||(l=t.type,e=t.pendingProps,r=Wr(re.current).createElement(l),r[ct]=t,r[wt]=e,dt(r,l,e),ot(r),t.stateNode=r):t.memoizedState=Hd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Et(t),e===null&&Re&&(r=t.stateNode=Bd(t.type,t.pendingProps,re.current),ft=t,en=!0,s=Xe,cl(t.type)?(qs=s,Xe=nn(r.firstChild)):Xe=s),ht(e,t,t.pendingProps.children,l),Br(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Re&&((s=r=Xe)&&(r=V0(r,t.type,t.pendingProps,en),r!==null?(t.stateNode=r,ft=t,Xe=nn(r.firstChild),en=!1,s=!0):s=!1),s||$n(t)),Et(t),s=t.type,p=t.pendingProps,b=e!==null?e.memoizedProps:null,r=p.children,Bs(s,p)?r=null:b!==null&&Bs(s,b)&&(t.flags|=32),t.memoizedState!==null&&(s=Lo(e,t,r0,null,null,l),Ti._currentValue=s),Br(e,t),ht(e,t,r,l),t.child;case 6:return e===null&&Re&&((e=l=Xe)&&(l=Z0(l,t.pendingProps,en),l!==null?(t.stateNode=l,ft=t,Xe=null,e=!0):e=!1),e||$n(t)),null;case 13:return wh(e,t,l);case 4:return Ae(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ll(t,null,r,l):ht(e,t,r,l),t.child;case 11:return mh(e,t,t.type,t.pendingProps,l);case 7:return ht(e,t,t.pendingProps,l),t.child;case 8:return ht(e,t,t.pendingProps.children,l),t.child;case 12:return ht(e,t,t.pendingProps.children,l),t.child;case 10:return r=t.pendingProps,Jn(t,t.type,r.value),ht(e,t,r.children,l),t.child;case 9:return s=t.type._context,r=t.pendingProps.children,Ol(t),s=pt(s),r=r(s),t.flags|=1,ht(e,t,r,l),t.child;case 14:return yh(e,t,t.type,t.pendingProps,l);case 15:return bh(e,t,t.type,t.pendingProps,l);case 19:return Ch(e,t,l);case 31:return d0(e,t,l);case 22:return vh(e,t,l,t.pendingProps);case 24:return Ol(t),r=pt(tt),e===null?(s=wo(),s===null&&(s=Ie,p=Eo(),s.pooledCache=p,p.refCount++,p!==null&&(s.pooledCacheLanes|=l),s=p),t.memoizedState={parent:r,cache:s},Co(t),Jn(t,tt,s)):((e.lanes&l)!==0&&(_o(e,t),ri(t,null,null,l),ii()),s=e.memoizedState,p=t.memoizedState,s.parent!==r?(s={parent:r,cache:r},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Jn(t,tt,r)):(r=p.cache,Jn(t,tt,r),r!==s.cache&&ko(t,[tt],l,!0))),ht(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function Ln(e){e.flags|=4}function ss(e,t,l,r,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(td())e.flags|=8192;else throw Nl=Sr,To}else e.flags&=-16777217}function zh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Id(t))if(td())e.flags|=8192;else throw Nl=Sr,To}function jr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?of():536870912,e.lanes|=t,xa|=t)}function pi(e,t){if(!Re)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var r=null;l!==null;)l.alternate!==null&&(r=l),l=l.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,r=0;if(t)for(var s=e.child;s!==null;)l|=s.lanes|s.childLanes,r|=s.subtreeFlags&65011712,r|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)l|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=l,t}function m0(e,t,l){var r=t.pendingProps;switch(yo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return Qe(t),null;case 3:return l=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),On(tt),Oe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(ua(t)?Ln(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vo())),Qe(t),null;case 26:var s=t.type,p=t.memoizedState;return e===null?(Ln(t),p!==null?(Qe(t),zh(t,p)):(Qe(t),ss(t,s,null,r,l))):p?p!==e.memoizedState?(Ln(t),Qe(t),zh(t,p)):(Qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Ln(t),Qe(t),ss(t,s,e,r,l)),null;case 27:if(un(t),l=re.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ln(t);else{if(!r){if(t.stateNode===null)throw Error(u(166));return Qe(t),null}e=K.current,ua(t)?op(t):(e=Bd(s,r,l),t.stateNode=e,Ln(t))}return Qe(t),null;case 5:if(un(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ln(t);else{if(!r){if(t.stateNode===null)throw Error(u(166));return Qe(t),null}if(p=K.current,ua(t))op(t);else{var b=Wr(re.current);switch(p){case 1:p=b.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:p=b.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":p=b.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":p=b.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":p=b.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof r.is=="string"?b.createElement("select",{is:r.is}):b.createElement("select"),r.multiple?p.multiple=!0:r.size&&(p.size=r.size);break;default:p=typeof r.is=="string"?b.createElement(s,{is:r.is}):b.createElement(s)}}p[ct]=t,p[wt]=r;e:for(b=t.child;b!==null;){if(b.tag===5||b.tag===6)p.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===t)break e;for(;b.sibling===null;){if(b.return===null||b.return===t)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}t.stateNode=p;e:switch(dt(p,s,r),s){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Ln(t)}}return Qe(t),ss(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ln(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(u(166));if(e=re.current,ua(t)){if(e=t.stateNode,l=t.memoizedProps,r=null,s=ft,s!==null)switch(s.tag){case 27:case 5:r=s.memoizedProps}e[ct]=t,e=!!(e.nodeValue===l||r!==null&&r.suppressHydrationWarning===!0||wd(e.nodeValue,l)),e||$n(t,!0)}else e=Wr(e).createTextNode(r),e[ct]=t,t.stateNode=e}return Qe(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(r=ua(t),l!==null){if(e===null){if(!r)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[ct]=t}else zl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),e=!1}else l=vo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ft(t),t):(Ft(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Qe(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=ua(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[ct]=t}else zl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),s=!1}else s=vo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Ft(t),t):(Ft(t),null)}return Ft(t),(t.flags&128)!==0?(t.lanes=l,t):(l=r!==null,e=e!==null&&e.memoizedState!==null,l&&(r=t.child,s=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(s=r.alternate.memoizedState.cachePool.pool),p=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(p=r.memoizedState.cachePool.pool),p!==s&&(r.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),jr(t,t.updateQueue),Qe(t),null);case 4:return Oe(),e===null&&Os(t.stateNode.containerInfo),Qe(t),null;case 10:return On(t.type),Qe(t),null;case 19:if(L(We),r=t.memoizedState,r===null)return Qe(t),null;if(s=(t.flags&128)!==0,p=r.rendering,p===null)if(s)pi(r,!1);else{if(Pe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(p=wr(e),p!==null){for(t.flags|=128,pi(r,!1),e=p.updateQueue,t.updateQueue=e,jr(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)lp(l,e),l=l.sibling;return E(We,We.current&1|2),Re&&zn(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&vt()>Yr&&(t.flags|=128,s=!0,pi(r,!1),t.lanes=4194304)}else{if(!s)if(e=wr(p),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,jr(t,e),pi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!p.alternate&&!Re)return Qe(t),null}else 2*vt()-r.renderingStartTime>Yr&&l!==536870912&&(t.flags|=128,s=!0,pi(r,!1),t.lanes=4194304);r.isBackwards?(p.sibling=t.child,t.child=p):(e=r.last,e!==null?e.sibling=p:t.child=p,r.last=p)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=vt(),e.sibling=null,l=We.current,E(We,s?l&1|2:l&1),Re&&zn(t,r.treeForkCount),e):(Qe(t),null);case 22:case 23:return Ft(t),Ro(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(l&536870912)!==0&&(t.flags&128)===0&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),l=t.updateQueue,l!==null&&jr(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==l&&(t.flags|=2048),e!==null&&L(Rl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),On(tt),Qe(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function y0(e,t){switch(yo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(tt),Oe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return un(t),null;case 31:if(t.memoizedState!==null){if(Ft(t),t.alternate===null)throw Error(u(340));zl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ft(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));zl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(We),null;case 4:return Oe(),null;case 10:return On(t.type),null;case 22:case 23:return Ft(t),Ro(),e!==null&&L(Rl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return On(tt),null;case 25:return null;default:return null}}function Dh(e,t){switch(yo(t),t.tag){case 3:On(tt),Oe();break;case 26:case 27:case 5:un(t);break;case 4:Oe();break;case 31:t.memoizedState!==null&&Ft(t);break;case 13:Ft(t);break;case 19:L(We);break;case 10:On(t.type);break;case 22:case 23:Ft(t),Ro(),e!==null&&L(Rl);break;case 24:On(tt)}}function hi(e,t){try{var l=t.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var s=r.next;l=s;do{if((l.tag&e)===e){r=void 0;var p=l.create,b=l.inst;r=p(),b.destroy=r}l=l.next}while(l!==s)}}catch(k){He(t,t.return,k)}}function ll(e,t,l){try{var r=t.updateQueue,s=r!==null?r.lastEffect:null;if(s!==null){var p=s.next;r=p;do{if((r.tag&e)===e){var b=r.inst,k=b.destroy;if(k!==void 0){b.destroy=void 0,s=t;var _=l,U=k;try{U()}catch(G){He(s,_,G)}}}r=r.next}while(r!==p)}}catch(G){He(t,t.return,G)}}function Oh(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Sp(t,l)}catch(r){He(e,e.return,r)}}}function Rh(e,t,l){l.props=Ul(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(r){He(e,t,r)}}function di(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof l=="function"?e.refCleanup=l(r):l.current=r}}catch(s){He(e,t,s)}}function yn(e,t){var l=e.ref,r=e.refCleanup;if(l!==null)if(typeof r=="function")try{r()}catch(s){He(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(s){He(e,t,s)}else l.current=null}function Mh(e){var t=e.type,l=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break e;case"img":l.src?r.src=l.src:l.srcSet&&(r.srcset=l.srcSet)}}catch(s){He(e,e.return,s)}}function cs(e,t,l){try{var r=e.stateNode;H0(r,e.type,l,t),r[wt]=t}catch(s){He(e,e.return,s)}}function Nh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&cl(e.type)||e.tag===4}function fs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&cl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ps(e,t,l){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Tn));else if(r!==4&&(r===27&&cl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(ps(e,t,l),e=e.sibling;e!==null;)ps(e,t,l),e=e.sibling}function Hr(e,t,l){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(r!==4&&(r===27&&cl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Hr(e,t,l),e=e.sibling;e!==null;)Hr(e,t,l),e=e.sibling}function Lh(e){var t=e.stateNode,l=e.memoizedProps;try{for(var r=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);dt(t,r,l),t[ct]=e,t[wt]=l}catch(p){He(e,e.return,p)}}var Bn=!1,at=!1,hs=!1,Bh=typeof WeakSet=="function"?WeakSet:Set,st=null;function b0(e,t){if(e=e.containerInfo,Ns=ru,e=Qf(e),io(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var r=l.getSelection&&l.getSelection();if(r&&r.rangeCount!==0){l=r.anchorNode;var s=r.anchorOffset,p=r.focusNode;r=r.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var b=0,k=-1,_=-1,U=0,G=0,V=e,H=null;t:for(;;){for(var q;V!==l||s!==0&&V.nodeType!==3||(k=b+s),V!==p||r!==0&&V.nodeType!==3||(_=b+r),V.nodeType===3&&(b+=V.nodeValue.length),(q=V.firstChild)!==null;)H=V,V=q;for(;;){if(V===e)break t;if(H===l&&++U===s&&(k=b),H===p&&++G===r&&(_=b),(q=V.nextSibling)!==null)break;V=H,H=V.parentNode}V=q}l=k===-1||_===-1?null:{start:k,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ls={focusedElem:e,selectionRange:l},ru=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){switch(t=st,p=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)s=e[l],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,l=t,s=p.memoizedProps,p=p.memoizedState,r=l.stateNode;try{var se=Ul(l.type,s);e=r.getSnapshotBeforeUpdate(se,p),r.__reactInternalSnapshotBeforeUpdate=e}catch(ge){He(l,l.return,ge)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)js(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":js(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,st=e;break}st=t.return}}function Uh(e,t,l){var r=l.flags;switch(l.tag){case 0:case 11:case 15:jn(e,l),r&4&&hi(5,l);break;case 1:if(jn(e,l),r&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(b){He(l,l.return,b)}else{var s=Ul(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(b){He(l,l.return,b)}}r&64&&Oh(l),r&512&&di(l,l.return);break;case 3:if(jn(e,l),r&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Sp(e,t)}catch(b){He(l,l.return,b)}}break;case 27:t===null&&r&4&&Lh(l);case 26:case 5:jn(e,l),t===null&&r&4&&Mh(l),r&512&&di(l,l.return);break;case 12:jn(e,l);break;case 31:jn(e,l),r&4&&Fh(e,l);break;case 13:jn(e,l),r&4&&qh(e,l),r&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=C0.bind(null,l),X0(e,l))));break;case 22:if(r=l.memoizedState!==null||Bn,!r){t=t!==null&&t.memoizedState!==null||at,s=Bn;var p=at;Bn=r,(at=t)&&!p?Hn(e,l,(l.subtreeFlags&8772)!==0):jn(e,l),Bn=s,at=p}break;case 30:break;default:jn(e,l)}}function jh(e){var t=e.alternate;t!==null&&(e.alternate=null,jh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Gu(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ke=null,Ct=!1;function Un(e,t,l){for(l=l.child;l!==null;)Hh(e,t,l),l=l.sibling}function Hh(e,t,l){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(xt,l)}catch{}switch(l.tag){case 26:at||yn(l,t),Un(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:at||yn(l,t);var r=Ke,s=Ct;cl(l.type)&&(Ke=l.stateNode,Ct=!1),Un(e,t,l),Ei(l.stateNode),Ke=r,Ct=s;break;case 5:at||yn(l,t);case 6:if(r=Ke,s=Ct,Ke=null,Un(e,t,l),Ke=r,Ct=s,Ke!==null)if(Ct)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(l.stateNode)}catch(p){He(l,t,p)}else try{Ke.removeChild(l.stateNode)}catch(p){He(l,t,p)}break;case 18:Ke!==null&&(Ct?(e=Ke,Od(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),_a(e)):Od(Ke,l.stateNode));break;case 4:r=Ke,s=Ct,Ke=l.stateNode.containerInfo,Ct=!0,Un(e,t,l),Ke=r,Ct=s;break;case 0:case 11:case 14:case 15:ll(2,l,t),at||ll(4,l,t),Un(e,t,l);break;case 1:at||(yn(l,t),r=l.stateNode,typeof r.componentWillUnmount=="function"&&Rh(l,t,r)),Un(e,t,l);break;case 21:Un(e,t,l);break;case 22:at=(r=at)||l.memoizedState!==null,Un(e,t,l),at=r;break;default:Un(e,t,l)}}function Fh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{_a(e)}catch(l){He(t,t.return,l)}}}function qh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{_a(e)}catch(l){He(t,t.return,l)}}function v0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Bh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Bh),t;default:throw Error(u(435,e.tag))}}function Fr(e,t){var l=v0(e);t.forEach(function(r){if(!l.has(r)){l.add(r);var s=_0.bind(null,e,r);r.then(s,s)}})}function _t(e,t){var l=t.deletions;if(l!==null)for(var r=0;r<l.length;r++){var s=l[r],p=e,b=t,k=b;e:for(;k!==null;){switch(k.tag){case 27:if(cl(k.type)){Ke=k.stateNode,Ct=!1;break e}break;case 5:Ke=k.stateNode,Ct=!1;break e;case 3:case 4:Ke=k.stateNode.containerInfo,Ct=!0;break e}k=k.return}if(Ke===null)throw Error(u(160));Hh(p,b,s),Ke=null,Ct=!1,p=s.alternate,p!==null&&(p.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Gh(t,e),t=t.sibling}var fn=null;function Gh(e,t){var l=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_t(t,e),zt(e),r&4&&(ll(3,e,e.return),hi(3,e),ll(5,e,e.return));break;case 1:_t(t,e),zt(e),r&512&&(at||l===null||yn(l,l.return)),r&64&&Bn&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?r:l.concat(r))));break;case 26:var s=fn;if(_t(t,e),zt(e),r&512&&(at||l===null||yn(l,l.return)),r&4){var p=l!==null?l.memoizedState:null;if(r=e.memoizedState,l===null)if(r===null)if(e.stateNode===null){e:{r=e.type,l=e.memoizedProps,s=s.ownerDocument||s;t:switch(r){case"title":p=s.getElementsByTagName("title")[0],(!p||p[qa]||p[ct]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=s.createElement(r),s.head.insertBefore(p,s.querySelector("head > title"))),dt(p,r,l),p[ct]=e,ot(p),r=p;break e;case"link":var b=Gd("link","href",s).get(r+(l.href||""));if(b){for(var k=0;k<b.length;k++)if(p=b[k],p.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&p.getAttribute("rel")===(l.rel==null?null:l.rel)&&p.getAttribute("title")===(l.title==null?null:l.title)&&p.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){b.splice(k,1);break t}}p=s.createElement(r),dt(p,r,l),s.head.appendChild(p);break;case"meta":if(b=Gd("meta","content",s).get(r+(l.content||""))){for(k=0;k<b.length;k++)if(p=b[k],p.getAttribute("content")===(l.content==null?null:""+l.content)&&p.getAttribute("name")===(l.name==null?null:l.name)&&p.getAttribute("property")===(l.property==null?null:l.property)&&p.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&p.getAttribute("charset")===(l.charSet==null?null:l.charSet)){b.splice(k,1);break t}}p=s.createElement(r),dt(p,r,l),s.head.appendChild(p);break;default:throw Error(u(468,r))}p[ct]=e,ot(p),r=p}e.stateNode=r}else Yd(s,e.type,e.stateNode);else e.stateNode=qd(s,r,e.memoizedProps);else p!==r?(p===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):p.count--,r===null?Yd(s,e.type,e.stateNode):qd(s,r,e.memoizedProps)):r===null&&e.stateNode!==null&&cs(e,e.memoizedProps,l.memoizedProps)}break;case 27:_t(t,e),zt(e),r&512&&(at||l===null||yn(l,l.return)),l!==null&&r&4&&cs(e,e.memoizedProps,l.memoizedProps);break;case 5:if(_t(t,e),zt(e),r&512&&(at||l===null||yn(l,l.return)),e.flags&32){s=e.stateNode;try{Jl(s,"")}catch(se){He(e,e.return,se)}}r&4&&e.stateNode!=null&&(s=e.memoizedProps,cs(e,s,l!==null?l.memoizedProps:s)),r&1024&&(hs=!0);break;case 6:if(_t(t,e),zt(e),r&4){if(e.stateNode===null)throw Error(u(162));r=e.memoizedProps,l=e.stateNode;try{l.nodeValue=r}catch(se){He(e,e.return,se)}}break;case 3:if(nu=null,s=fn,fn=eu(t.containerInfo),_t(t,e),fn=s,zt(e),r&4&&l!==null&&l.memoizedState.isDehydrated)try{_a(t.containerInfo)}catch(se){He(e,e.return,se)}hs&&(hs=!1,Yh(e));break;case 4:r=fn,fn=eu(e.stateNode.containerInfo),_t(t,e),zt(e),fn=r;break;case 12:_t(t,e),zt(e);break;case 31:_t(t,e),zt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Fr(e,r)));break;case 13:_t(t,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Gr=vt()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Fr(e,r)));break;case 22:s=e.memoizedState!==null;var _=l!==null&&l.memoizedState!==null,U=Bn,G=at;if(Bn=U||s,at=G||_,_t(t,e),at=G,Bn=U,zt(e),r&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(l===null||_||Bn||at||jl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){_=l=t;try{if(p=_.stateNode,s)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{k=_.stateNode;var V=_.memoizedProps.style,H=V!=null&&V.hasOwnProperty("display")?V.display:null;k.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(se){He(_,_.return,se)}}}else if(t.tag===6){if(l===null){_=t;try{_.stateNode.nodeValue=s?"":_.memoizedProps}catch(se){He(_,_.return,se)}}}else if(t.tag===18){if(l===null){_=t;try{var q=_.stateNode;s?Rd(q,!0):Rd(_.stateNode,!1)}catch(se){He(_,_.return,se)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(l=r.retryQueue,l!==null&&(r.retryQueue=null,Fr(e,l))));break;case 19:_t(t,e),zt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Fr(e,r)));break;case 30:break;case 21:break;default:_t(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{for(var l,r=e.return;r!==null;){if(Nh(r)){l=r;break}r=r.return}if(l==null)throw Error(u(160));switch(l.tag){case 27:var s=l.stateNode,p=fs(e);Hr(e,p,s);break;case 5:var b=l.stateNode;l.flags&32&&(Jl(b,""),l.flags&=-33);var k=fs(e);Hr(e,k,b);break;case 3:case 4:var _=l.stateNode.containerInfo,U=fs(e);ps(e,U,_);break;default:throw Error(u(161))}}catch(G){He(e,e.return,G)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Yh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Yh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function jn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Uh(e,t.alternate,t),t=t.sibling}function jl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ll(4,t,t.return),jl(t);break;case 1:yn(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Rh(t,t.return,l),jl(t);break;case 27:Ei(t.stateNode);case 26:case 5:yn(t,t.return),jl(t);break;case 22:t.memoizedState===null&&jl(t);break;case 30:jl(t);break;default:jl(t)}e=e.sibling}}function Hn(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,s=e,p=t,b=p.flags;switch(p.tag){case 0:case 11:case 15:Hn(s,p,l),hi(4,p);break;case 1:if(Hn(s,p,l),r=p,s=r.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(U){He(r,r.return,U)}if(r=p,s=r.updateQueue,s!==null){var k=r.stateNode;try{var _=s.shared.hiddenCallbacks;if(_!==null)for(s.shared.hiddenCallbacks=null,s=0;s<_.length;s++)xp(_[s],k)}catch(U){He(r,r.return,U)}}l&&b&64&&Oh(p),di(p,p.return);break;case 27:Lh(p);case 26:case 5:Hn(s,p,l),l&&r===null&&b&4&&Mh(p),di(p,p.return);break;case 12:Hn(s,p,l);break;case 31:Hn(s,p,l),l&&b&4&&Fh(s,p);break;case 13:Hn(s,p,l),l&&b&4&&qh(s,p);break;case 22:p.memoizedState===null&&Hn(s,p,l),di(p,p.return);break;case 30:break;default:Hn(s,p,l)}t=t.sibling}}function ds(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&ei(l))}function gs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ei(e))}function pn(e,t,l,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ih(e,t,l,r),t=t.sibling}function Ih(e,t,l,r){var s=t.flags;switch(t.tag){case 0:case 11:case 15:pn(e,t,l,r),s&2048&&hi(9,t);break;case 1:pn(e,t,l,r);break;case 3:pn(e,t,l,r),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ei(e)));break;case 12:if(s&2048){pn(e,t,l,r),e=t.stateNode;try{var p=t.memoizedProps,b=p.id,k=p.onPostCommit;typeof k=="function"&&k(b,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){He(t,t.return,_)}}else pn(e,t,l,r);break;case 31:pn(e,t,l,r);break;case 13:pn(e,t,l,r);break;case 23:break;case 22:p=t.stateNode,b=t.alternate,t.memoizedState!==null?p._visibility&2?pn(e,t,l,r):gi(e,t):p._visibility&2?pn(e,t,l,r):(p._visibility|=2,ya(e,t,l,r,(t.subtreeFlags&10256)!==0||!1)),s&2048&&ds(b,t);break;case 24:pn(e,t,l,r),s&2048&&gs(t.alternate,t);break;default:pn(e,t,l,r)}}function ya(e,t,l,r,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var p=e,b=t,k=l,_=r,U=b.flags;switch(b.tag){case 0:case 11:case 15:ya(p,b,k,_,s),hi(8,b);break;case 23:break;case 22:var G=b.stateNode;b.memoizedState!==null?G._visibility&2?ya(p,b,k,_,s):gi(p,b):(G._visibility|=2,ya(p,b,k,_,s)),s&&U&2048&&ds(b.alternate,b);break;case 24:ya(p,b,k,_,s),s&&U&2048&&gs(b.alternate,b);break;default:ya(p,b,k,_,s)}t=t.sibling}}function gi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,r=t,s=r.flags;switch(r.tag){case 22:gi(l,r),s&2048&&ds(r.alternate,r);break;case 24:gi(l,r),s&2048&&gs(r.alternate,r);break;default:gi(l,r)}t=t.sibling}}var mi=8192;function ba(e,t,l){if(e.subtreeFlags&mi)for(e=e.child;e!==null;)Vh(e,t,l),e=e.sibling}function Vh(e,t,l){switch(e.tag){case 26:ba(e,t,l),e.flags&mi&&e.memoizedState!==null&&i1(l,fn,e.memoizedState,e.memoizedProps);break;case 5:ba(e,t,l);break;case 3:case 4:var r=fn;fn=eu(e.stateNode.containerInfo),ba(e,t,l),fn=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=mi,mi=16777216,ba(e,t,l),mi=r):ba(e,t,l));break;default:ba(e,t,l)}}function Zh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function yi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var r=t[l];st=r,Qh(r,e)}Zh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Xh(e),e=e.sibling}function Xh(e){switch(e.tag){case 0:case 11:case 15:yi(e),e.flags&2048&&ll(9,e,e.return);break;case 3:yi(e);break;case 12:yi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,qr(e)):yi(e);break;default:yi(e)}}function qr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var r=t[l];st=r,Qh(r,e)}Zh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ll(8,t,t.return),qr(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,qr(t));break;default:qr(t)}e=e.sibling}}function Qh(e,t){for(;st!==null;){var l=st;switch(l.tag){case 0:case 11:case 15:ll(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var r=l.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ei(l.memoizedState.cache)}if(r=l.child,r!==null)r.return=l,st=r;else e:for(l=e;st!==null;){r=st;var s=r.sibling,p=r.return;if(jh(r),r===l){st=null;break e}if(s!==null){s.return=p,st=s;break e}st=p}}}var x0={getCacheForType:function(e){var t=pt(tt),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return pt(tt).controller.signal}},S0=typeof WeakMap=="function"?WeakMap:Map,Be=0,Ie=null,Te=null,ze=0,je=0,qt=null,al=!1,va=!1,ms=!1,Fn=0,Pe=0,il=0,Hl=0,ys=0,Gt=0,xa=0,bi=null,Dt=null,bs=!1,Gr=0,Kh=0,Yr=1/0,Ir=null,rl=null,ut=0,ul=null,Sa=null,qn=0,vs=0,xs=null,$h=null,vi=0,Ss=null;function Yt(){return(Be&2)!==0&&ze!==0?ze&-ze:N.T!==null?Cs():pf()}function Jh(){if(Gt===0)if((ze&536870912)===0||Re){var e=Pi;Pi<<=1,(Pi&3932160)===0&&(Pi=262144),Gt=e}else Gt=536870912;return e=Ht.current,e!==null&&(e.flags|=32),Gt}function Ot(e,t,l){(e===Ie&&(je===2||je===9)||e.cancelPendingCommit!==null)&&(ka(e,0),ol(e,ze,Gt,!1)),Fa(e,l),((Be&2)===0||e!==Ie)&&(e===Ie&&((Be&2)===0&&(Hl|=l),Pe===4&&ol(e,ze,Gt,!1)),bn(e))}function Ph(e,t,l){if((Be&6)!==0)throw Error(u(327));var r=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Ha(e,t),s=r?A0(e,t):Es(e,t,!0),p=r;do{if(s===0){va&&!r&&ol(e,t,0,!1);break}else{if(l=e.current.alternate,p&&!k0(l)){s=Es(e,t,!1),p=!1;continue}if(s===2){if(p=t,e.errorRecoveryDisabledLanes&p)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){t=b;e:{var k=e;s=bi;var _=k.current.memoizedState.isDehydrated;if(_&&(ka(k,b).flags|=256),b=Es(k,b,!1),b!==2){if(ms&&!_){k.errorRecoveryDisabledLanes|=p,Hl|=p,s=4;break e}p=Dt,Dt=s,p!==null&&(Dt===null?Dt=p:Dt.push.apply(Dt,p))}s=b}if(p=!1,s!==2)continue}}if(s===1){ka(e,0),ol(e,t,0,!0);break}e:{switch(r=e,p=s,p){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:ol(r,t,Gt,!al);break e;case 2:Dt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(s=Gr+300-vt(),10<s)){if(ol(r,t,Gt,!al),er(r,0,!0)!==0)break e;qn=t,r.timeoutHandle=zd(Wh.bind(null,r,l,Dt,Ir,bs,t,Gt,Hl,xa,al,p,"Throttled",-0,0),s);break e}Wh(r,l,Dt,Ir,bs,t,Gt,Hl,xa,al,p,null,-0,0)}}break}while(!0);bn(e)}function Wh(e,t,l,r,s,p,b,k,_,U,G,V,H,q){if(e.timeoutHandle=-1,V=t.subtreeFlags,V&8192||(V&16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Tn},Vh(t,p,V);var se=(p&62914560)===p?Gr-vt():(p&4194048)===p?Kh-vt():0;if(se=r1(V,se),se!==null){qn=p,e.cancelPendingCommit=se(ud.bind(null,e,t,p,l,r,s,b,k,_,G,V,null,H,q)),ol(e,p,b,!U);return}}ud(e,t,p,l,r,s,b,k,_)}function k0(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var r=0;r<l.length;r++){var s=l[r],p=s.getSnapshot;s=s.value;try{if(!Ut(p(),s))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ol(e,t,l,r){t&=~ys,t&=~Hl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var s=t;0<s;){var p=31-Ye(s),b=1<<p;r[p]=-1,s&=~b}l!==0&&sf(e,l,t)}function Vr(){return(Be&6)===0?(xi(0),!1):!0}function ks(){if(Te!==null){if(je===0)var e=Te.return;else e=Te,Dn=Dl=null,jo(e),pa=null,ni=0,e=Te;for(;e!==null;)Dh(e.alternate,e),e=e.return;Te=null}}function ka(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,G0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),qn=0,ks(),Ie=e,Te=l=_n(e.current,null),ze=t,je=0,qt=null,al=!1,va=Ha(e,t),ms=!1,xa=Gt=ys=Hl=il=Pe=0,Dt=bi=null,bs=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var s=31-Ye(r),p=1<<s;t|=e[s],r&=~p}return Fn=t,pr(),l}function ed(e,t){Se=null,N.H=ci,t===fa||t===xr?(t=mp(),je=3):t===To?(t=mp(),je=4):je=t===es?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,qt=t,Te===null&&(Pe=1,Nr(e,Jt(t,e.current)))}function td(){var e=Ht.current;return e===null?!0:(ze&4194048)===ze?tn===null:(ze&62914560)===ze||(ze&536870912)!==0?e===tn:!1}function nd(){var e=N.H;return N.H=ci,e===null?ci:e}function ld(){var e=N.A;return N.A=x0,e}function Zr(){Pe=4,al||(ze&4194048)!==ze&&Ht.current!==null||(va=!0),(il&134217727)===0&&(Hl&134217727)===0||Ie===null||ol(Ie,ze,Gt,!1)}function Es(e,t,l){var r=Be;Be|=2;var s=nd(),p=ld();(Ie!==e||ze!==t)&&(Ir=null,ka(e,t)),t=!1;var b=Pe;e:do try{if(je!==0&&Te!==null){var k=Te,_=qt;switch(je){case 8:ks(),b=6;break e;case 3:case 2:case 9:case 6:Ht.current===null&&(t=!0);var U=je;if(je=0,qt=null,Ea(e,k,_,U),l&&va){b=0;break e}break;default:U=je,je=0,qt=null,Ea(e,k,_,U)}}E0(),b=Pe;break}catch(G){ed(e,G)}while(!0);return t&&e.shellSuspendCounter++,Dn=Dl=null,Be=r,N.H=s,N.A=p,Te===null&&(Ie=null,ze=0,pr()),b}function E0(){for(;Te!==null;)ad(Te)}function A0(e,t){var l=Be;Be|=2;var r=nd(),s=ld();Ie!==e||ze!==t?(Ir=null,Yr=vt()+500,ka(e,t)):va=Ha(e,t);e:do try{if(je!==0&&Te!==null){t=Te;var p=qt;t:switch(je){case 1:je=0,qt=null,Ea(e,t,p,1);break;case 2:case 9:if(dp(p)){je=0,qt=null,id(t);break}t=function(){je!==2&&je!==9||Ie!==e||(je=7),bn(e)},p.then(t,t);break e;case 3:je=7;break e;case 4:je=5;break e;case 7:dp(p)?(je=0,qt=null,id(t)):(je=0,qt=null,Ea(e,t,p,7));break;case 5:var b=null;switch(Te.tag){case 26:b=Te.memoizedState;case 5:case 27:var k=Te;if(b?Id(b):k.stateNode.complete){je=0,qt=null;var _=k.sibling;if(_!==null)Te=_;else{var U=k.return;U!==null?(Te=U,Xr(U)):Te=null}break t}}je=0,qt=null,Ea(e,t,p,5);break;case 6:je=0,qt=null,Ea(e,t,p,6);break;case 8:ks(),Pe=6;break e;default:throw Error(u(462))}}w0();break}catch(G){ed(e,G)}while(!0);return Dn=Dl=null,N.H=r,N.A=s,Be=l,Te!==null?0:(Ie=null,ze=0,pr(),Pe)}function w0(){for(;Te!==null&&!En();)ad(Te)}function ad(e){var t=_h(e.alternate,e,Fn);e.memoizedProps=e.pendingProps,t===null?Xr(e):Te=t}function id(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=kh(l,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=kh(l,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:jo(t);default:Dh(l,t),t=Te=lp(t,Fn),t=_h(l,t,Fn)}e.memoizedProps=e.pendingProps,t===null?Xr(e):Te=t}function Ea(e,t,l,r){Dn=Dl=null,jo(t),pa=null,ni=0;var s=t.return;try{if(h0(e,s,t,l,ze)){Pe=1,Nr(e,Jt(l,e.current)),Te=null;return}}catch(p){if(s!==null)throw Te=s,p;Pe=1,Nr(e,Jt(l,e.current)),Te=null;return}t.flags&32768?(Re||r===1?e=!0:va||(ze&536870912)!==0?e=!1:(al=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ht.current,r!==null&&r.tag===13&&(r.flags|=16384))),rd(t,e)):Xr(t)}function Xr(e){var t=e;do{if((t.flags&32768)!==0){rd(t,al);return}e=t.return;var l=m0(t.alternate,t,Fn);if(l!==null){Te=l;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);Pe===0&&(Pe=5)}function rd(e,t){do{var l=y0(e.alternate,e);if(l!==null){l.flags&=32767,Te=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){Te=e;return}Te=e=l}while(e!==null);Pe=6,Te=null}function ud(e,t,l,r,s,p,b,k,_){e.cancelPendingCommit=null;do Qr();while(ut!==0);if((Be&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(p=t.lanes|t.childLanes,p|=co,ab(e,l,p,b,k,_),e===Ie&&(Te=Ie=null,ze=0),Sa=t,ul=e,qn=l,vs=p,xs=s,$h=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,z0(ye,function(){return pd(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=N.T,N.T=null,s=X.p,X.p=2,b=Be,Be|=4;try{b0(e,t,l)}finally{Be=b,X.p=s,N.T=r}}ut=1,od(),sd(),cd()}}function od(){if(ut===1){ut=0;var e=ul,t=Sa,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=N.T,N.T=null;var r=X.p;X.p=2;var s=Be;Be|=4;try{Gh(t,e);var p=Ls,b=Qf(e.containerInfo),k=p.focusedElem,_=p.selectionRange;if(b!==k&&k&&k.ownerDocument&&Xf(k.ownerDocument.documentElement,k)){if(_!==null&&io(k)){var U=_.start,G=_.end;if(G===void 0&&(G=U),"selectionStart"in k)k.selectionStart=U,k.selectionEnd=Math.min(G,k.value.length);else{var V=k.ownerDocument||document,H=V&&V.defaultView||window;if(H.getSelection){var q=H.getSelection(),se=k.textContent.length,ge=Math.min(_.start,se),Ge=_.end===void 0?ge:Math.min(_.end,se);!q.extend&&ge>Ge&&(b=Ge,Ge=ge,ge=b);var M=Zf(k,ge),D=Zf(k,Ge);if(M&&D&&(q.rangeCount!==1||q.anchorNode!==M.node||q.anchorOffset!==M.offset||q.focusNode!==D.node||q.focusOffset!==D.offset)){var B=V.createRange();B.setStart(M.node,M.offset),q.removeAllRanges(),ge>Ge?(q.addRange(B),q.extend(D.node,D.offset)):(B.setEnd(D.node,D.offset),q.addRange(B))}}}}for(V=[],q=k;q=q.parentNode;)q.nodeType===1&&V.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k<V.length;k++){var I=V[k];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}ru=!!Ns,Ls=Ns=null}finally{Be=s,X.p=r,N.T=l}}e.current=t,ut=2}}function sd(){if(ut===2){ut=0;var e=ul,t=Sa,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=N.T,N.T=null;var r=X.p;X.p=2;var s=Be;Be|=4;try{Uh(e,t.alternate,t)}finally{Be=s,X.p=r,N.T=l}}ut=3}}function cd(){if(ut===4||ut===3){ut=0,Bu();var e=ul,t=Sa,l=qn,r=$h;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ut=5:(ut=0,Sa=ul=null,fd(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(rl=null),Fu(l),t=t.stateNode,rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(xt,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=N.T,s=X.p,X.p=2,N.T=null;try{for(var p=e.onRecoverableError,b=0;b<r.length;b++){var k=r[b];p(k.value,{componentStack:k.stack})}}finally{N.T=t,X.p=s}}(qn&3)!==0&&Qr(),bn(e),s=e.pendingLanes,(l&261930)!==0&&(s&42)!==0?e===Ss?vi++:(vi=0,Ss=e):vi=0,xi(0)}}function fd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ei(t)))}function Qr(){return od(),sd(),cd(),pd()}function pd(){if(ut!==5)return!1;var e=ul,t=vs;vs=0;var l=Fu(qn),r=N.T,s=X.p;try{X.p=32>l?32:l,N.T=null,l=xs,xs=null;var p=ul,b=qn;if(ut=0,Sa=ul=null,qn=0,(Be&6)!==0)throw Error(u(331));var k=Be;if(Be|=4,Xh(p.current),Ih(p,p.current,b,l),Be=k,xi(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(xt,p)}catch{}return!0}finally{X.p=s,N.T=r,fd(e,t)}}function hd(e,t,l){t=Jt(l,t),t=Wo(e.stateNode,t,2),e=el(e,t,2),e!==null&&(Fa(e,2),bn(e))}function He(e,t,l){if(e.tag===3)hd(e,e,l);else for(;t!==null;){if(t.tag===3){hd(t,e,l);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(rl===null||!rl.has(r))){e=Jt(l,e),l=dh(2),r=el(t,l,2),r!==null&&(gh(l,r,t,e),Fa(r,2),bn(r));break}}t=t.return}}function As(e,t,l){var r=e.pingCache;if(r===null){r=e.pingCache=new S0;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(l)||(ms=!0,s.add(l),e=T0.bind(null,e,t,l),t.then(e,e))}function T0(e,t,l){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ie===e&&(ze&l)===l&&(Pe===4||Pe===3&&(ze&62914560)===ze&&300>vt()-Gr?(Be&2)===0&&ka(e,0):ys|=l,xa===ze&&(xa=0)),bn(e)}function dd(e,t){t===0&&(t=of()),e=Cl(e,t),e!==null&&(Fa(e,t),bn(e))}function C0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),dd(e,l)}function _0(e,t){var l=0;switch(e.tag){case 31:case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(l=s.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(u(314))}r!==null&&r.delete(t),dd(e,l)}function z0(e,t){return Lt(e,t)}var Kr=null,Aa=null,ws=!1,$r=!1,Ts=!1,sl=0;function bn(e){e!==Aa&&e.next===null&&(Aa===null?Kr=Aa=e:Aa=Aa.next=e),$r=!0,ws||(ws=!0,O0())}function xi(e,t){if(!Ts&&$r){Ts=!0;do for(var l=!1,r=Kr;r!==null;){if(e!==0){var s=r.pendingLanes;if(s===0)var p=0;else{var b=r.suspendedLanes,k=r.pingedLanes;p=(1<<31-Ye(42|e)+1)-1,p&=s&~(b&~k),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(l=!0,bd(r,p))}else p=ze,p=er(r,r===Ie?p:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(p&3)===0||Ha(r,p)||(l=!0,bd(r,p));r=r.next}while(l);Ts=!1}}function D0(){gd()}function gd(){$r=ws=!1;var e=0;sl!==0&&q0()&&(e=sl);for(var t=vt(),l=null,r=Kr;r!==null;){var s=r.next,p=md(r,t);p===0?(r.next=null,l===null?Kr=s:l.next=s,s===null&&(Aa=l)):(l=r,(e!==0||(p&3)!==0)&&($r=!0)),r=s}ut!==0&&ut!==5||xi(e),sl!==0&&(sl=0)}function md(e,t){for(var l=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var b=31-Ye(p),k=1<<b,_=s[b];_===-1?((k&l)===0||(k&r)!==0)&&(s[b]=lb(k,t)):_<=t&&(e.expiredLanes|=k),p&=~k}if(t=Ie,l=ze,l=er(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,l===0||e===t&&(je===2||je===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&dn(r),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Ha(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(r!==null&&dn(r),Fu(l)){case 2:case 8:l=ae;break;case 32:l=ye;break;case 268435456:l=Ue;break;default:l=ye}return r=yd.bind(null,e),l=Lt(l,r),e.callbackPriority=t,e.callbackNode=l,t}return r!==null&&r!==null&&dn(r),e.callbackPriority=2,e.callbackNode=null,2}function yd(e,t){if(ut!==0&&ut!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Qr()&&e.callbackNode!==l)return null;var r=ze;return r=er(e,e===Ie?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Ph(e,r,t),md(e,vt()),e.callbackNode!=null&&e.callbackNode===l?yd.bind(null,e):null)}function bd(e,t){if(Qr())return null;Ph(e,t,!0)}function O0(){Y0(function(){(Be&6)!==0?Lt(Y,D0):gd()})}function Cs(){if(sl===0){var e=sa;e===0&&(e=Ji,Ji<<=1,(Ji&261888)===0&&(Ji=256)),sl=e}return sl}function vd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ar(""+e)}function xd(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function R0(e,t,l,r,s){if(t==="submit"&&l&&l.stateNode===s){var p=vd((s[wt]||null).action),b=r.submitter;b&&(t=(t=b[wt]||null)?vd(t.formAction):b.getAttribute("formAction"),t!==null&&(p=t,b=null));var k=new or("action","action",null,r,s);e.push({event:k,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(sl!==0){var _=b?xd(s,b):new FormData(s);Xo(l,{pending:!0,data:_,method:s.method,action:p},null,_)}}else typeof p=="function"&&(k.preventDefault(),_=b?xd(s,b):new FormData(s),Xo(l,{pending:!0,data:_,method:s.method,action:p},p,_))},currentTarget:s}]})}}for(var _s=0;_s<so.length;_s++){var zs=so[_s],M0=zs.toLowerCase(),N0=zs[0].toUpperCase()+zs.slice(1);cn(M0,"on"+N0)}cn(Jf,"onAnimationEnd"),cn(Pf,"onAnimationIteration"),cn(Wf,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn($b,"onTransitionRun"),cn(Jb,"onTransitionStart"),cn(Pb,"onTransitionCancel"),cn(ep,"onTransitionEnd"),Kl("onMouseEnter",["mouseout","mouseover"]),Kl("onMouseLeave",["mouseout","mouseover"]),Kl("onPointerEnter",["pointerout","pointerover"]),Kl("onPointerLeave",["pointerout","pointerover"]),El("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),El("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),El("onBeforeInput",["compositionend","keypress","textInput","paste"]),El("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),El("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),El("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Si="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(" "),L0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Si));function Sd(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var r=e[l],s=r.event;r=r.listeners;e:{var p=void 0;if(t)for(var b=r.length-1;0<=b;b--){var k=r[b],_=k.instance,U=k.currentTarget;if(k=k.listener,_!==p&&s.isPropagationStopped())break e;p=k,s.currentTarget=U;try{p(s)}catch(G){fr(G)}s.currentTarget=null,p=_}else for(b=0;b<r.length;b++){if(k=r[b],_=k.instance,U=k.currentTarget,k=k.listener,_!==p&&s.isPropagationStopped())break e;p=k,s.currentTarget=U;try{p(s)}catch(G){fr(G)}s.currentTarget=null,p=_}}}}function Ce(e,t){var l=t[qu];l===void 0&&(l=t[qu]=new Set);var r=e+"__bubble";l.has(r)||(kd(t,e,2,!1),l.add(r))}function Ds(e,t,l){var r=0;t&&(r|=4),kd(l,e,r,t)}var Jr="_reactListening"+Math.random().toString(36).slice(2);function Os(e){if(!e[Jr]){e[Jr]=!0,gf.forEach(function(l){l!=="selectionchange"&&(L0.has(l)||Ds(l,!1,e),Ds(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Jr]||(t[Jr]=!0,Ds("selectionchange",!1,t))}}function kd(e,t,l,r){switch(Jd(t)){case 2:var s=s1;break;case 8:s=c1;break;default:s=Zs}l=s.bind(null,t,l,e),s=void 0,!$u||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,l,{capture:!0,passive:s}):e.addEventListener(t,l,!0):s!==void 0?e.addEventListener(t,l,{passive:s}):e.addEventListener(t,l,!1)}function Rs(e,t,l,r,s){var p=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var b=r.tag;if(b===3||b===4){var k=r.stateNode.containerInfo;if(k===s)break;if(b===4)for(b=r.return;b!==null;){var _=b.tag;if((_===3||_===4)&&b.stateNode.containerInfo===s)return;b=b.return}for(;k!==null;){if(b=Zl(k),b===null)return;if(_=b.tag,_===5||_===6||_===26||_===27){r=p=b;continue e}k=k.parentNode}}r=r.return}Cf(function(){var U=p,G=Qu(l),V=[];e:{var H=tp.get(e);if(H!==void 0){var q=or,se=e;switch(e){case"keypress":if(rr(l)===0)break e;case"keydown":case"keyup":q=_b;break;case"focusin":se="focus",q=eo;break;case"focusout":se="blur",q=eo;break;case"beforeblur":case"afterblur":q=eo;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=Df;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=mb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=Ob;break;case Jf:case Pf:case Wf:q=vb;break;case ep:q=Mb;break;case"scroll":case"scrollend":q=db;break;case"wheel":q=Lb;break;case"copy":case"cut":case"paste":q=Sb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=Rf;break;case"toggle":case"beforetoggle":q=Ub}var ge=(t&4)!==0,Ge=!ge&&(e==="scroll"||e==="scrollend"),M=ge?H!==null?H+"Capture":null:H;ge=[];for(var D=U,B;D!==null;){var I=D;if(B=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||B===null||M===null||(I=Ya(D,M),I!=null&&ge.push(ki(D,I,B))),Ge)break;D=D.return}0<ge.length&&(H=new q(H,se,null,l,G),V.push({event:H,listeners:ge}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",H&&l!==Xu&&(se=l.relatedTarget||l.fromElement)&&(Zl(se)||se[Vl]))break e;if((q||H)&&(H=G.window===G?G:(H=G.ownerDocument)?H.defaultView||H.parentWindow:window,q?(se=l.relatedTarget||l.toElement,q=U,se=se?Zl(se):null,se!==null&&(Ge=f(se),ge=se.tag,se!==Ge||ge!==5&&ge!==27&&ge!==6)&&(se=null)):(q=null,se=U),q!==se)){if(ge=Df,I="onMouseLeave",M="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(ge=Rf,I="onPointerLeave",M="onPointerEnter",D="pointer"),Ge=q==null?H:Ga(q),B=se==null?H:Ga(se),H=new ge(I,D+"leave",q,l,G),H.target=Ge,H.relatedTarget=B,I=null,Zl(G)===U&&(ge=new ge(M,D+"enter",se,l,G),ge.target=B,ge.relatedTarget=Ge,I=ge),Ge=I,q&&se)t:{for(ge=B0,M=q,D=se,B=0,I=M;I;I=ge(I))B++;I=0;for(var he=D;he;he=ge(he))I++;for(;0<B-I;)M=ge(M),B--;for(;0<I-B;)D=ge(D),I--;for(;B--;){if(M===D||D!==null&&M===D.alternate){ge=M;break t}M=ge(M),D=ge(D)}ge=null}else ge=null;q!==null&&Ed(V,H,q,ge,!1),se!==null&&Ge!==null&&Ed(V,Ge,se,ge,!0)}}e:{if(H=U?Ga(U):window,q=H.nodeName&&H.nodeName.toLowerCase(),q==="select"||q==="input"&&H.type==="file")var Ne=Ff;else if(jf(H))if(qf)Ne=Xb;else{Ne=Vb;var pe=Ib}else q=H.nodeName,!q||q.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?U&&Zu(U.elementType)&&(Ne=Ff):Ne=Zb;if(Ne&&(Ne=Ne(e,U))){Hf(V,Ne,l,G);break e}pe&&pe(e,H,U),e==="focusout"&&U&&H.type==="number"&&U.memoizedProps.value!=null&&Vu(H,"number",H.value)}switch(pe=U?Ga(U):window,e){case"focusin":(jf(pe)||pe.contentEditable==="true")&&(ta=pe,ro=U,Ja=null);break;case"focusout":Ja=ro=ta=null;break;case"mousedown":uo=!0;break;case"contextmenu":case"mouseup":case"dragend":uo=!1,Kf(V,l,G);break;case"selectionchange":if(Kb)break;case"keydown":case"keyup":Kf(V,l,G)}var ke;if(no)e:{switch(e){case"compositionstart":var De="onCompositionStart";break e;case"compositionend":De="onCompositionEnd";break e;case"compositionupdate":De="onCompositionUpdate";break e}De=void 0}else ea?Bf(e,l)&&(De="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(De="onCompositionStart");De&&(Mf&&l.locale!=="ko"&&(ea||De!=="onCompositionStart"?De==="onCompositionEnd"&&ea&&(ke=_f()):(Xn=G,Ju="value"in Xn?Xn.value:Xn.textContent,ea=!0)),pe=Pr(U,De),0<pe.length&&(De=new Of(De,e,null,l,G),V.push({event:De,listeners:pe}),ke?De.data=ke:(ke=Uf(l),ke!==null&&(De.data=ke)))),(ke=Hb?Fb(e,l):qb(e,l))&&(De=Pr(U,"onBeforeInput"),0<De.length&&(pe=new Of("onBeforeInput","beforeinput",null,l,G),V.push({event:pe,listeners:De}),pe.data=ke)),R0(V,e,U,l,G)}Sd(V,t)})}function ki(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Pr(e,t){for(var l=t+"Capture",r=[];e!==null;){var s=e,p=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||p===null||(s=Ya(e,l),s!=null&&r.unshift(ki(e,s,p)),s=Ya(e,t),s!=null&&r.push(ki(e,s,p))),e.tag===3)return r;e=e.return}return[]}function B0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ed(e,t,l,r,s){for(var p=t._reactName,b=[];l!==null&&l!==r;){var k=l,_=k.alternate,U=k.stateNode;if(k=k.tag,_!==null&&_===r)break;k!==5&&k!==26&&k!==27||U===null||(_=U,s?(U=Ya(l,p),U!=null&&b.unshift(ki(l,U,_))):s||(U=Ya(l,p),U!=null&&b.push(ki(l,U,_)))),l=l.return}b.length!==0&&e.push({event:t,listeners:b})}var U0=/\r\n?/g,j0=/\u0000|\uFFFD/g;function Ad(e){return(typeof e=="string"?e:""+e).replace(U0,`
9
+ `).replace(j0,"")}function wd(e,t){return t=Ad(t),Ad(e)===t}function qe(e,t,l,r,s,p){switch(l){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Jl(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Jl(e,""+r);break;case"className":nr(e,"class",r);break;case"tabIndex":nr(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":nr(e,l,r);break;case"style":wf(e,r,p);break;case"data":if(t!=="object"){nr(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(l);break}r=ar(""+r),e.setAttribute(l,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(l==="formAction"?(t!=="input"&&qe(e,t,"name",s.name,s,null),qe(e,t,"formEncType",s.formEncType,s,null),qe(e,t,"formMethod",s.formMethod,s,null),qe(e,t,"formTarget",s.formTarget,s,null)):(qe(e,t,"encType",s.encType,s,null),qe(e,t,"method",s.method,s,null),qe(e,t,"target",s.target,s,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(l);break}r=ar(""+r),e.setAttribute(l,r);break;case"onClick":r!=null&&(e.onclick=Tn);break;case"onScroll":r!=null&&Ce("scroll",e);break;case"onScrollEnd":r!=null&&Ce("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(u(61));if(l=r.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}l=ar(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(l,""+r):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":r===!0?e.setAttribute(l,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(l,r):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(l,r):e.removeAttribute(l);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(l):e.setAttribute(l,r);break;case"popover":Ce("beforetoggle",e),Ce("toggle",e),tr(e,"popover",r);break;case"xlinkActuate":wn(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":wn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":wn(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":wn(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":wn(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":wn(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":wn(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":wn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":wn(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":tr(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=pb.get(l)||l,tr(e,l,r))}}function Ms(e,t,l,r,s,p){switch(l){case"style":wf(e,r,p);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(u(61));if(l=r.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"children":typeof r=="string"?Jl(e,r):(typeof r=="number"||typeof r=="bigint")&&Jl(e,""+r);break;case"onScroll":r!=null&&Ce("scroll",e);break;case"onScrollEnd":r!=null&&Ce("scrollend",e);break;case"onClick":r!=null&&(e.onclick=Tn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!mf.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(s=l.endsWith("Capture"),t=l.slice(2,s?l.length-7:void 0),p=e[wt]||null,p=p!=null?p[l]:null,typeof p=="function"&&e.removeEventListener(t,p,s),typeof r=="function")){typeof p!="function"&&p!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,r,s);break e}l in e?e[l]=r:r===!0?e.setAttribute(l,""):tr(e,l,r)}}}function dt(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",e),Ce("load",e);var r=!1,s=!1,p;for(p in l)if(l.hasOwnProperty(p)){var b=l[p];if(b!=null)switch(p){case"src":r=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:qe(e,t,p,b,l,null)}}s&&qe(e,t,"srcSet",l.srcSet,l,null),r&&qe(e,t,"src",l.src,l,null);return;case"input":Ce("invalid",e);var k=p=b=s=null,_=null,U=null;for(r in l)if(l.hasOwnProperty(r)){var G=l[r];if(G!=null)switch(r){case"name":s=G;break;case"type":b=G;break;case"checked":_=G;break;case"defaultChecked":U=G;break;case"value":p=G;break;case"defaultValue":k=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(u(137,t));break;default:qe(e,t,r,G,l,null)}}Sf(e,p,k,_,U,b,s,!1);return;case"select":Ce("invalid",e),r=b=p=null;for(s in l)if(l.hasOwnProperty(s)&&(k=l[s],k!=null))switch(s){case"value":p=k;break;case"defaultValue":b=k;break;case"multiple":r=k;default:qe(e,t,s,k,l,null)}t=p,l=b,e.multiple=!!r,t!=null?$l(e,!!r,t,!1):l!=null&&$l(e,!!r,l,!0);return;case"textarea":Ce("invalid",e),p=s=r=null;for(b in l)if(l.hasOwnProperty(b)&&(k=l[b],k!=null))switch(b){case"value":r=k;break;case"defaultValue":s=k;break;case"children":p=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(u(91));break;default:qe(e,t,b,k,l,null)}Ef(e,r,s,p);return;case"option":for(_ in l)l.hasOwnProperty(_)&&(r=l[_],r!=null)&&(_==="selected"?e.selected=r&&typeof r!="function"&&typeof r!="symbol":qe(e,t,_,r,l,null));return;case"dialog":Ce("beforetoggle",e),Ce("toggle",e),Ce("cancel",e),Ce("close",e);break;case"iframe":case"object":Ce("load",e);break;case"video":case"audio":for(r=0;r<Si.length;r++)Ce(Si[r],e);break;case"image":Ce("error",e),Ce("load",e);break;case"details":Ce("toggle",e);break;case"embed":case"source":case"link":Ce("error",e),Ce("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in l)if(l.hasOwnProperty(U)&&(r=l[U],r!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:qe(e,t,U,r,l,null)}return;default:if(Zu(t)){for(G in l)l.hasOwnProperty(G)&&(r=l[G],r!==void 0&&Ms(e,t,G,r,l,void 0));return}}for(k in l)l.hasOwnProperty(k)&&(r=l[k],r!=null&&qe(e,t,k,r,l,null))}function H0(e,t,l,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,p=null,b=null,k=null,_=null,U=null,G=null;for(q in l){var V=l[q];if(l.hasOwnProperty(q)&&V!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":_=V;default:r.hasOwnProperty(q)||qe(e,t,q,null,r,V)}}for(var H in r){var q=r[H];if(V=l[H],r.hasOwnProperty(H)&&(q!=null||V!=null))switch(H){case"type":p=q;break;case"name":s=q;break;case"checked":U=q;break;case"defaultChecked":G=q;break;case"value":b=q;break;case"defaultValue":k=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(u(137,t));break;default:q!==V&&qe(e,t,H,q,r,V)}}Iu(e,b,k,_,U,G,p,s);return;case"select":q=b=k=H=null;for(p in l)if(_=l[p],l.hasOwnProperty(p)&&_!=null)switch(p){case"value":break;case"multiple":q=_;default:r.hasOwnProperty(p)||qe(e,t,p,null,r,_)}for(s in r)if(p=r[s],_=l[s],r.hasOwnProperty(s)&&(p!=null||_!=null))switch(s){case"value":H=p;break;case"defaultValue":k=p;break;case"multiple":b=p;default:p!==_&&qe(e,t,s,p,r,_)}t=k,l=b,r=q,H!=null?$l(e,!!l,H,!1):!!r!=!!l&&(t!=null?$l(e,!!l,t,!0):$l(e,!!l,l?[]:"",!1));return;case"textarea":q=H=null;for(k in l)if(s=l[k],l.hasOwnProperty(k)&&s!=null&&!r.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:qe(e,t,k,null,r,s)}for(b in r)if(s=r[b],p=l[b],r.hasOwnProperty(b)&&(s!=null||p!=null))switch(b){case"value":H=s;break;case"defaultValue":q=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==p&&qe(e,t,b,s,r,p)}kf(e,H,q);return;case"option":for(var se in l)H=l[se],l.hasOwnProperty(se)&&H!=null&&!r.hasOwnProperty(se)&&(se==="selected"?e.selected=!1:qe(e,t,se,null,r,H));for(_ in r)H=r[_],q=l[_],r.hasOwnProperty(_)&&H!==q&&(H!=null||q!=null)&&(_==="selected"?e.selected=H&&typeof H!="function"&&typeof H!="symbol":qe(e,t,_,H,r,q));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 ge in l)H=l[ge],l.hasOwnProperty(ge)&&H!=null&&!r.hasOwnProperty(ge)&&qe(e,t,ge,null,r,H);for(U in r)if(H=r[U],q=l[U],r.hasOwnProperty(U)&&H!==q&&(H!=null||q!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(u(137,t));break;default:qe(e,t,U,H,r,q)}return;default:if(Zu(t)){for(var Ge in l)H=l[Ge],l.hasOwnProperty(Ge)&&H!==void 0&&!r.hasOwnProperty(Ge)&&Ms(e,t,Ge,void 0,r,H);for(G in r)H=r[G],q=l[G],!r.hasOwnProperty(G)||H===q||H===void 0&&q===void 0||Ms(e,t,G,H,r,q);return}}for(var M in l)H=l[M],l.hasOwnProperty(M)&&H!=null&&!r.hasOwnProperty(M)&&qe(e,t,M,null,r,H);for(V in r)H=r[V],q=l[V],!r.hasOwnProperty(V)||H===q||H==null&&q==null||qe(e,t,V,H,r,q)}function Td(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function F0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),r=0;r<l.length;r++){var s=l[r],p=s.transferSize,b=s.initiatorType,k=s.duration;if(p&&k&&Td(b)){for(b=0,k=s.responseEnd,r+=1;r<l.length;r++){var _=l[r],U=_.startTime;if(U>k)break;var G=_.transferSize,V=_.initiatorType;G&&Td(V)&&(_=_.responseEnd,b+=G*(_<k?1:(k-U)/(_-U)))}if(--r,t+=8*(p+b)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ns=null,Ls=null;function Wr(e){return e.nodeType===9?e:e.ownerDocument}function Cd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _d(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Bs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Us=null;function q0(){var e=window.event;return e&&e.type==="popstate"?e===Us?!1:(Us=e,!0):(Us=null,!1)}var zd=typeof setTimeout=="function"?setTimeout:void 0,G0=typeof clearTimeout=="function"?clearTimeout:void 0,Dd=typeof Promise=="function"?Promise:void 0,Y0=typeof queueMicrotask=="function"?queueMicrotask:typeof Dd<"u"?function(e){return Dd.resolve(null).then(e).catch(I0)}:zd;function I0(e){setTimeout(function(){throw e})}function cl(e){return e==="head"}function Od(e,t){var l=t,r=0;do{var s=l.nextSibling;if(e.removeChild(l),s&&s.nodeType===8)if(l=s.data,l==="/$"||l==="/&"){if(r===0){e.removeChild(s),_a(t);return}r--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")r++;else if(l==="html")Ei(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Ei(l);for(var p=l.firstChild;p;){var b=p.nextSibling,k=p.nodeName;p[qa]||k==="SCRIPT"||k==="STYLE"||k==="LINK"&&p.rel.toLowerCase()==="stylesheet"||l.removeChild(p),p=b}}else l==="body"&&Ei(e.ownerDocument.body);l=s}while(l);_a(t)}function Rd(e,t){var l=e;e=0;do{var r=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),r&&r.nodeType===8)if(l=r.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=r}while(l)}function js(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":js(l),Gu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function V0(e,t,l,r){for(;e.nodeType===1;){var s=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[qa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var p=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=nn(e.nextSibling),e===null)break}return null}function Z0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=nn(e.nextSibling),e===null))return null;return e}function Md(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=nn(e.nextSibling),e===null))return null;return e}function Hs(e){return e.data==="$?"||e.data==="$~"}function Fs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function X0(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var r=function(){t(),l.removeEventListener("DOMContentLoaded",r)};l.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function nn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var qs=null;function Nd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return nn(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Ld(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Bd(e,t,l){switch(t=Wr(l),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function Ei(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Gu(e)}var ln=new Map,Ud=new Set;function eu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Gn=X.d;X.d={f:Q0,r:K0,D:$0,C:J0,L:P0,m:W0,X:t1,S:e1,M:n1};function Q0(){var e=Gn.f(),t=Vr();return e||t}function K0(e){var t=Xl(e);t!==null&&t.tag===5&&t.type==="form"?eh(t):Gn.r(e)}var wa=typeof document>"u"?null:document;function jd(e,t,l){var r=wa;if(r&&typeof t=="string"&&t){var s=Kt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof l=="string"&&(s+='[crossorigin="'+l+'"]'),Ud.has(s)||(Ud.add(s),e={rel:e,crossOrigin:l,href:t},r.querySelector(s)===null&&(t=r.createElement("link"),dt(t,"link",e),ot(t),r.head.appendChild(t)))}}function $0(e){Gn.D(e),jd("dns-prefetch",e,null)}function J0(e,t){Gn.C(e,t),jd("preconnect",e,t)}function P0(e,t,l){Gn.L(e,t,l);var r=wa;if(r&&e&&t){var s='link[rel="preload"][as="'+Kt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(s+='[imagesrcset="'+Kt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(s+='[imagesizes="'+Kt(l.imageSizes)+'"]')):s+='[href="'+Kt(e)+'"]';var p=s;switch(t){case"style":p=Ta(e);break;case"script":p=Ca(e)}ln.has(p)||(e=m({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),ln.set(p,e),r.querySelector(s)!==null||t==="style"&&r.querySelector(Ai(p))||t==="script"&&r.querySelector(wi(p))||(t=r.createElement("link"),dt(t,"link",e),ot(t),r.head.appendChild(t)))}}function W0(e,t){Gn.m(e,t);var l=wa;if(l&&e){var r=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Kt(r)+'"][href="'+Kt(e)+'"]',p=s;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ca(e)}if(!ln.has(p)&&(e=m({rel:"modulepreload",href:e},t),ln.set(p,e),l.querySelector(s)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wi(p)))return}r=l.createElement("link"),dt(r,"link",e),ot(r),l.head.appendChild(r)}}}function e1(e,t,l){Gn.S(e,t,l);var r=wa;if(r&&e){var s=Ql(r).hoistableStyles,p=Ta(e);t=t||"default";var b=s.get(p);if(!b){var k={loading:0,preload:null};if(b=r.querySelector(Ai(p)))k.loading=5;else{e=m({rel:"stylesheet",href:e,"data-precedence":t},l),(l=ln.get(p))&&Gs(e,l);var _=b=r.createElement("link");ot(_),dt(_,"link",e),_._p=new Promise(function(U,G){_.onload=U,_.onerror=G}),_.addEventListener("load",function(){k.loading|=1}),_.addEventListener("error",function(){k.loading|=2}),k.loading|=4,tu(b,t,r)}b={type:"stylesheet",instance:b,count:1,state:k},s.set(p,b)}}}function t1(e,t){Gn.X(e,t);var l=wa;if(l&&e){var r=Ql(l).hoistableScripts,s=Ca(e),p=r.get(s);p||(p=l.querySelector(wi(s)),p||(e=m({src:e,async:!0},t),(t=ln.get(s))&&Ys(e,t),p=l.createElement("script"),ot(p),dt(p,"link",e),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},r.set(s,p))}}function n1(e,t){Gn.M(e,t);var l=wa;if(l&&e){var r=Ql(l).hoistableScripts,s=Ca(e),p=r.get(s);p||(p=l.querySelector(wi(s)),p||(e=m({src:e,async:!0,type:"module"},t),(t=ln.get(s))&&Ys(e,t),p=l.createElement("script"),ot(p),dt(p,"link",e),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},r.set(s,p))}}function Hd(e,t,l,r){var s=(s=re.current)?eu(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ta(l.href),l=Ql(s).hoistableStyles,r=l.get(t),r||(r={type:"style",instance:null,count:0,state:null},l.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Ta(l.href);var p=Ql(s).hoistableStyles,b=p.get(e);if(b||(s=s.ownerDocument||s,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,b),(p=s.querySelector(Ai(e)))&&!p._p&&(b.instance=p,b.state.loading=5),ln.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},ln.set(e,l),p||l1(s,e,l,b.state))),t&&r===null)throw Error(u(528,""));return b}if(t&&r!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ca(l),l=Ql(s).hoistableScripts,r=l.get(t),r||(r={type:"script",instance:null,count:0,state:null},l.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function Ta(e){return'href="'+Kt(e)+'"'}function Ai(e){return'link[rel="stylesheet"]['+e+"]"}function Fd(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function l1(e,t,l,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),dt(t,"link",l),ot(t),e.head.appendChild(t))}function Ca(e){return'[src="'+Kt(e)+'"]'}function wi(e){return"script[async]"+e}function qd(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+Kt(l.href)+'"]');if(r)return t.instance=r,ot(r),r;var s=m({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ot(r),dt(r,"style",s),tu(r,l.precedence,e),t.instance=r;case"stylesheet":s=Ta(l.href);var p=e.querySelector(Ai(s));if(p)return t.state.loading|=4,t.instance=p,ot(p),p;r=Fd(l),(s=ln.get(s))&&Gs(r,s),p=(e.ownerDocument||e).createElement("link"),ot(p);var b=p;return b._p=new Promise(function(k,_){b.onload=k,b.onerror=_}),dt(p,"link",r),t.state.loading|=4,tu(p,l.precedence,e),t.instance=p;case"script":return p=Ca(l.src),(s=e.querySelector(wi(p)))?(t.instance=s,ot(s),s):(r=l,(s=ln.get(p))&&(r=m({},l),Ys(r,s)),e=e.ownerDocument||e,s=e.createElement("script"),ot(s),dt(s,"link",r),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,tu(r,l.precedence,e));return t.instance}function tu(e,t,l){for(var r=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=r.length?r[r.length-1]:null,p=s,b=0;b<r.length;b++){var k=r[b];if(k.dataset.precedence===t)p=k;else if(p!==s)break}p?p.parentNode.insertBefore(e,p.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Gs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ys(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var nu=null;function Gd(e,t,l){if(nu===null){var r=new Map,s=nu=new Map;s.set(l,r)}else s=nu,r=s.get(l),r||(r=new Map,s.set(l,r));if(r.has(e))return r;for(r.set(e,null),l=l.getElementsByTagName(e),s=0;s<l.length;s++){var p=l[s];if(!(p[qa]||p[ct]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(t)||"";b=e+b;var k=r.get(b);k?k.push(p):r.set(b,[p])}}return r}function Yd(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function a1(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Id(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function i1(e,t,l,r){if(l.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var s=Ta(r.href),p=t.querySelector(Ai(s));if(p){t=p._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=lu.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=p,ot(p);return}p=t.ownerDocument||t,r=Fd(r),(s=ln.get(s))&&Gs(r,s),p=p.createElement("link"),ot(p);var b=p;b._p=new Promise(function(k,_){b.onload=k,b.onerror=_}),dt(p,"link",r),l.instance=p}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=lu.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Is=0;function r1(e,t){return e.stylesheets&&e.count===0&&iu(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var r=setTimeout(function(){if(e.stylesheets&&iu(e,e.stylesheets),e.unsuspend){var p=e.unsuspend;e.unsuspend=null,p()}},6e4+t);0<e.imgBytes&&Is===0&&(Is=62500*F0());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&iu(e,e.stylesheets),e.unsuspend)){var p=e.unsuspend;e.unsuspend=null,p()}},(e.imgBytes>Is?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(s)}}:null}function lu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)iu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var au=null;function iu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,au=new Map,t.forEach(u1,e),au=null,lu.call(e))}function u1(e,t){if(!(t.state.loading&4)){var l=au.get(e);if(l)var r=l.get(null);else{l=new Map,au.set(e,l);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<s.length;p++){var b=s[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(l.set(b.dataset.precedence,b),r=b)}r&&l.set(null,r)}s=t.instance,b=s.getAttribute("data-precedence"),p=l.get(b)||r,p===r&&l.set(null,s),l.set(b,s),this.count++,r=lu.bind(this),s.addEventListener("load",r),s.addEventListener("error",r),p?p.parentNode.insertBefore(s,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Ti={$$typeof:R,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function o1(e,t,l,r,s,p,b,k,_){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ju(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ju(0),this.hiddenUpdates=ju(null),this.identifierPrefix=r,this.onUncaughtError=s,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function Vd(e,t,l,r,s,p,b,k,_,U,G,V){return e=new o1(e,t,l,b,_,U,G,V,k),t=1,p===!0&&(t|=24),p=jt(3,null,null,t),e.current=p,p.stateNode=e,t=Eo(),t.refCount++,e.pooledCache=t,t.refCount++,p.memoizedState={element:r,isDehydrated:l,cache:t},Co(p),e}function Zd(e){return e?(e=aa,e):aa}function Xd(e,t,l,r,s,p){s=Zd(s),r.context===null?r.context=s:r.pendingContext=s,r=Wn(t),r.payload={element:l},p=p===void 0?null:p,p!==null&&(r.callback=p),l=el(e,r,t),l!==null&&(Ot(l,e,t),ai(l,e,t))}function Qd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Vs(e,t){Qd(e,t),(e=e.alternate)&&Qd(e,t)}function Kd(e){if(e.tag===13||e.tag===31){var t=Cl(e,67108864);t!==null&&Ot(t,e,67108864),Vs(e,67108864)}}function $d(e){if(e.tag===13||e.tag===31){var t=Yt();t=Hu(t);var l=Cl(e,t);l!==null&&Ot(l,e,t),Vs(e,t)}}var ru=!0;function s1(e,t,l,r){var s=N.T;N.T=null;var p=X.p;try{X.p=2,Zs(e,t,l,r)}finally{X.p=p,N.T=s}}function c1(e,t,l,r){var s=N.T;N.T=null;var p=X.p;try{X.p=8,Zs(e,t,l,r)}finally{X.p=p,N.T=s}}function Zs(e,t,l,r){if(ru){var s=Xs(r);if(s===null)Rs(e,t,r,uu,l),Pd(e,r);else if(p1(s,e,t,l,r))r.stopPropagation();else if(Pd(e,r),t&4&&-1<f1.indexOf(e)){for(;s!==null;){var p=Xl(s);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=kl(p.pendingLanes);if(b!==0){var k=p;for(k.pendingLanes|=2,k.entangledLanes|=2;b;){var _=1<<31-Ye(b);k.entanglements[1]|=_,b&=~_}bn(p),(Be&6)===0&&(Yr=vt()+500,xi(0))}}break;case 31:case 13:k=Cl(p,2),k!==null&&Ot(k,p,2),Vr(),Vs(p,2)}if(p=Xs(r),p===null&&Rs(e,t,r,uu,l),p===s)break;s=p}s!==null&&r.stopPropagation()}else Rs(e,t,r,null,l)}}function Xs(e){return e=Qu(e),Qs(e)}var uu=null;function Qs(e){if(uu=null,e=Zl(e),e!==null){var t=f(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=c(t),e!==null)return e;e=null}else if(l===31){if(e=d(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return uu=e,null}function Jd(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Uu()){case Y:return 2;case ae:return 8;case ye:case we:return 32;case Ue:return 268435456;default:return 32}default:return 32}}var Ks=!1,fl=null,pl=null,hl=null,Ci=new Map,_i=new Map,dl=[],f1="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 Pd(e,t){switch(e){case"focusin":case"focusout":fl=null;break;case"dragenter":case"dragleave":pl=null;break;case"mouseover":case"mouseout":hl=null;break;case"pointerover":case"pointerout":Ci.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_i.delete(t.pointerId)}}function zi(e,t,l,r,s,p){return e===null||e.nativeEvent!==p?(e={blockedOn:t,domEventName:l,eventSystemFlags:r,nativeEvent:p,targetContainers:[s]},t!==null&&(t=Xl(t),t!==null&&Kd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function p1(e,t,l,r,s){switch(t){case"focusin":return fl=zi(fl,e,t,l,r,s),!0;case"dragenter":return pl=zi(pl,e,t,l,r,s),!0;case"mouseover":return hl=zi(hl,e,t,l,r,s),!0;case"pointerover":var p=s.pointerId;return Ci.set(p,zi(Ci.get(p)||null,e,t,l,r,s)),!0;case"gotpointercapture":return p=s.pointerId,_i.set(p,zi(_i.get(p)||null,e,t,l,r,s)),!0}return!1}function Wd(e){var t=Zl(e.target);if(t!==null){var l=f(t);if(l!==null){if(t=l.tag,t===13){if(t=c(l),t!==null){e.blockedOn=t,hf(e.priority,function(){$d(l)});return}}else if(t===31){if(t=d(l),t!==null){e.blockedOn=t,hf(e.priority,function(){$d(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ou(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Xs(e.nativeEvent);if(l===null){l=e.nativeEvent;var r=new l.constructor(l.type,l);Xu=r,l.target.dispatchEvent(r),Xu=null}else return t=Xl(l),t!==null&&Kd(t),e.blockedOn=l,!1;t.shift()}return!0}function eg(e,t,l){ou(e)&&l.delete(t)}function h1(){Ks=!1,fl!==null&&ou(fl)&&(fl=null),pl!==null&&ou(pl)&&(pl=null),hl!==null&&ou(hl)&&(hl=null),Ci.forEach(eg),_i.forEach(eg)}function su(e,t){e.blockedOn===t&&(e.blockedOn=null,Ks||(Ks=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,h1)))}var cu=null;function tg(e){cu!==e&&(cu=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){cu===e&&(cu=null);for(var t=0;t<e.length;t+=3){var l=e[t],r=e[t+1],s=e[t+2];if(typeof r!="function"){if(Qs(r||l)===null)continue;break}var p=Xl(l);p!==null&&(e.splice(t,3),t-=3,Xo(p,{pending:!0,data:s,method:l.method,action:r},r,s))}}))}function _a(e){function t(_){return su(_,e)}fl!==null&&su(fl,e),pl!==null&&su(pl,e),hl!==null&&su(hl,e),Ci.forEach(t),_i.forEach(t);for(var l=0;l<dl.length;l++){var r=dl[l];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dl.length&&(l=dl[0],l.blockedOn===null);)Wd(l),l.blockedOn===null&&dl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(r=0;r<l.length;r+=3){var s=l[r],p=l[r+1],b=s[wt]||null;if(typeof p=="function")b||tg(l);else if(b){var k=null;if(p&&p.hasAttribute("formAction")){if(s=p,b=p[wt]||null)k=b.formAction;else if(Qs(s)!==null)continue}else k=b.action;typeof k=="function"?l[r+1]=k:(l.splice(r,3),r-=3),tg(l)}}}function ng(){function e(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(b){return s=b})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),r||setTimeout(l,20)}function l(){if(!r&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function $s(e){this._internalRoot=e}fu.prototype.render=$s.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var l=t.current,r=Yt();Xd(l,r,e,t,null,null)},fu.prototype.unmount=$s.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Xd(e.current,2,null,e,null,null),Vr(),t[Vl]=null}};function fu(e){this._internalRoot=e}fu.prototype.unstable_scheduleHydration=function(e){if(e){var t=pf();e={blockedOn:null,target:e,priority:t};for(var l=0;l<dl.length&&t!==0&&t<dl[l].priority;l++);dl.splice(l,0,e),l===0&&Wd(e)}};var lg=a.version;if(lg!=="19.2.4")throw Error(u(527,lg,"19.2.4"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=h(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var d1={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pu.isDisabled&&pu.supportsFiber)try{xt=pu.inject(d1),rt=pu}catch{}}return Oi.createRoot=function(e,t){if(!o(e))throw Error(u(299));var l=!1,r="",s=ch,p=fh,b=ph;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(p=t.onCaughtError),t.onRecoverableError!==void 0&&(b=t.onRecoverableError)),t=Vd(e,1,!1,null,null,l,r,null,s,p,b,ng),e[Vl]=t.current,Os(e),new $s(t)},Oi.hydrateRoot=function(e,t,l){if(!o(e))throw Error(u(299));var r=!1,s="",p=ch,b=fh,k=ph,_=null;return l!=null&&(l.unstable_strictMode===!0&&(r=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(b=l.onCaughtError),l.onRecoverableError!==void 0&&(k=l.onRecoverableError),l.formState!==void 0&&(_=l.formState)),t=Vd(e,1,!0,t,l??null,r,s,_,p,b,k,ng),t.context=Zd(null),l=t.current,r=Yt(),r=Hu(r),s=Wn(r),s.callback=null,el(l,s,r),l=r,t.current.lanes=l,Fa(t,l),bn(t),e[Vl]=t.current,Os(e),new fu(t)},Oi.version="19.2.4",Oi}var hg;function A1(){if(hg)return Ws.exports;hg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Ws.exports=E1(),Ws.exports}var w1=A1();const vm=fe.createContext(null),T1=({children:n})=>{const[a,i]=fe.useState(()=>{const f=localStorage.getItem("specv-theme");return f||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")});fe.useEffect(()=>{document.documentElement.classList.toggle("dark",a==="dark"),localStorage.setItem("specv-theme",a)},[a]);const u=fe.useCallback(()=>i(f=>f==="light"?"dark":"light"),[]),o=fe.useMemo(()=>({theme:a,toggle:u}),[a,u]);return ee.jsx(vm.Provider,{value:o,children:n})},Uc=()=>{const n=fe.useContext(vm);if(!n)throw new Error("useTheme must be used within ThemeProvider");return n},C1=fe.createContext(null);function _1(){return fe.useContext(C1)?.defaultOptions??{}}function Ba(){if(typeof navigator>"u")return"linux";const n=navigator.platform?.toLowerCase()??"",a=navigator.userAgent?.toLowerCase()??"";return n.includes("mac")||a.includes("mac")?"mac":n.includes("win")||a.includes("win")?"windows":"linux"}const _u=["Control","Alt","Shift","Meta"];new Set(_u);const dg={Control:"Control",Ctrl:"Control",control:"Control",ctrl:"Control",Shift:"Shift",shift:"Shift",Alt:"Alt",Option:"Alt",alt:"Alt",option:"Alt",Command:"Meta",Cmd:"Meta",Meta:"Meta",command:"Meta",cmd:"Meta",meta:"Meta",CommandOrControl:"Mod",Mod:"Mod",commandorcontrol:"Mod",mod:"Mod"};function xm(n,a=Ba()){return n==="Mod"?a==="mac"?"Meta":"Control":n}const z1=new Set(["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]),D1=new Set(["0","1","2","3","4","5","6","7","8","9"]),O1=new Set(["F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]),R1=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"]),M1=new Set(["Enter","Escape","Space","Tab","Backspace","Delete"]),N1=new Set(["/","[","]","\\","=","-",",",".","`"]);[...z1,...D1,...O1,...R1,...M1,...N1];const gg={Esc:"Escape",esc:"Escape",escape:"Escape",Return:"Enter",return:"Enter",enter:"Enter"," ":"Space",space:"Space",Spacebar:"Space",spacebar:"Space",tab:"Tab",backspace:"Backspace",Del:"Delete",del:"Delete",delete:"Delete",Up:"ArrowUp",up:"ArrowUp",arrowup:"ArrowUp",Down:"ArrowDown",down:"ArrowDown",arrowdown:"ArrowDown",Left:"ArrowLeft",left:"ArrowLeft",arrowleft:"ArrowLeft",Right:"ArrowRight",right:"ArrowRight",arrowright:"ArrowRight",home:"Home",end:"End",pageup:"PageUp",pagedown:"PageDown",PgUp:"PageUp",PgDn:"PageDown",pgup:"PageUp",pgdn:"PageDown"};function Sm(n){return new RegExp("^\\p{Letter}$","u").test(n)}function Ui(n){if(n in gg)return gg[n];if(Sm(n)){const i=n.toUpperCase();return i.length===1?i:n}const a=n.toUpperCase();return/^F([1-9]|1[0-2])$/.test(a)?a:n}function km(n,a=Ba()){const i=n.split("+"),u=new Set;let o="";for(let f=0;f<i.length;f++){const c=i[f].trim();if(f===i.length-1)o=Ui(c);else{const d=dg[c]??dg[c.toLowerCase()];if(d){const g=xm(d,a);u.add(g)}else i.length===1&&(o=Ui(c))}}return!o&&i.length>0&&(o=Ui(i[i.length-1].trim())),{key:o,ctrl:u.has("Control"),shift:u.has("Shift"),alt:u.has("Alt"),meta:u.has("Meta"),modifiers:_u.filter(f=>u.has(f))}}function Em(n,a=Ba()){let i=n.ctrl??!1;const u=n.shift??!1,o=n.alt??!1;let f=n.meta??!1;n.mod&&(xm("Mod",a)==="Control"?i=!0:f=!0);const c=_u.filter(d=>{switch(d){case"Control":return i;case"Shift":return u;case"Alt":return o;case"Meta":return f;default:return!1}});return{key:n.key,ctrl:i,shift:u,alt:o,meta:f,modifiers:c}}function Am(n){const a=[];for(const i of _u)n.modifiers.includes(i)&&a.push(i);return a.push(n.key),a.join("+")}function mg(n,a,i=Ba()){const u=typeof a=="string"?km(a,i):a;if(n.ctrlKey!==u.ctrl||n.shiftKey!==u.shift||n.altKey!==u.alt||n.metaKey!==u.meta)return!1;const o=Ui(n.key),f=u.key;if(o!=="Dead"&&o.length===1&&f.length===1){if(o.toUpperCase()===f.toUpperCase())return!0;if(Sm(o)&&(/^[A-Za-z]$/.test(o)||!n.altKey))return!1}if(o==="Dead"||o.length===1&&f.length===1){if(n.code?.startsWith("Key")){const c=n.code.slice(3);if(c.length===1&&/^[A-Za-z]$/.test(c))return c.toUpperCase()===f.toUpperCase()}if(n.code?.startsWith("Digit")){const c=n.code.slice(5);if(c.length===1&&/^[0-9]$/.test(c))return c===f}return!1}return o===f}const L1={preventDefault:!0,stopPropagation:!0,eventType:"keydown",enabled:!0,ignoreInputs:!0,conflictBehavior:"warn"};function B1(n){return!(n.ctrl||n.meta||n.key==="Escape")}function U1(n){if(!n)return!1;if(n instanceof HTMLInputElement){const a=n.type.toLowerCase();return!(a==="button"||a==="submit"||a==="reset")}return!!(n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement||n instanceof HTMLElement&&n.isContentEditable)}function j1(n,a){return a===document||a===window?n.currentTarget===a||n.currentTarget===document.documentElement:a===window?n.currentTarget===window||n.currentTarget===document||n.currentTarget===document.documentElement:!!(a instanceof HTMLElement&&(n.currentTarget===a||n.target instanceof Node&&a.contains(n.target)))}function H1(n,a,i,u){if(i!=="allow"){if(i==="warn"){console.warn(`'${a}' is already registered. Multiple handlers will be triggered. Use conflictBehavior: 'replace' to replace the existing handler, or conflictBehavior: 'allow' to suppress this warning.`);return}if(i==="error")throw new Error(`'${a}' is already registered. Use conflictBehavior: 'replace' to replace the existing handler, or conflictBehavior: 'allow' to allow multiple registrations.`);u(n)}}var $e=(n=>(n[n.None=0]="None",n[n.Mutable=1]="Mutable",n[n.Watching=2]="Watching",n[n.RecursedCheck=4]="RecursedCheck",n[n.Recursed=8]="Recursed",n[n.Dirty=16]="Dirty",n[n.Pending=32]="Pending",n))($e||{});function wm({update:n,notify:a,unwatched:i}){return{link:u,unlink:o,propagate:f,checkDirty:c,shallowPropagate:d};function u(h,y,m){const x=y.depsTail;if(x!==void 0&&x.dep===h)return;const v=x!==void 0?x.nextDep:y.deps;if(v!==void 0&&v.dep===h){v.version=m,y.depsTail=v;return}const S=h.subsTail;if(S!==void 0&&S.version===m&&S.sub===y)return;const A=y.depsTail=h.subsTail={version:m,dep:h,sub:y,prevDep:x,nextDep:v,prevSub:S,nextSub:void 0};v!==void 0&&(v.prevDep=A),x!==void 0?x.nextDep=A:y.deps=A,S!==void 0?S.nextSub=A:h.subs=A}function o(h,y=h.sub){const m=h.dep,x=h.prevDep,v=h.nextDep,S=h.nextSub,A=h.prevSub;return v!==void 0?v.prevDep=x:y.depsTail=x,x!==void 0?x.nextDep=v:y.deps=v,S!==void 0?S.prevSub=A:m.subsTail=A,A!==void 0?A.nextSub=S:(m.subs=S)===void 0&&i(m),v}function f(h){let y=h.nextSub,m;e:do{const x=h.sub;let v=x.flags;if(v&60?v&12?v&4?!(v&48)&&g(h,x)?(x.flags=v|40,v&=1):v=0:x.flags=v&-9|32:v=0:x.flags=v|32,v&2&&a(x),v&1){const S=x.subs;if(S!==void 0){const A=(h=S).nextSub;A!==void 0&&(m={value:y,prev:m},y=A);continue}}if((h=y)!==void 0){y=h.nextSub;continue}for(;m!==void 0;)if(h=m.value,m=m.prev,h!==void 0){y=h.nextSub;continue e}break}while(!0)}function c(h,y){let m,x=0,v=!1;e:do{const S=h.dep,A=S.flags;if(y.flags&16)v=!0;else if((A&17)===17){if(n(S)){const T=S.subs;T.nextSub!==void 0&&d(T),v=!0}}else if((A&33)===33){(h.nextSub!==void 0||h.prevSub!==void 0)&&(m={value:h,prev:m}),h=S.deps,y=S,++x;continue}if(!v){const T=h.nextDep;if(T!==void 0){h=T;continue}}for(;x--;){const T=y.subs,w=T.nextSub!==void 0;if(w?(h=m.value,m=m.prev):h=T,v){if(n(y)){w&&d(T),y=h.sub;continue}v=!1}else y.flags&=-33;y=h.sub;const O=h.nextDep;if(O!==void 0){h=O;continue e}}return v}while(!0)}function d(h){do{const y=h.sub,m=y.flags;(m&48)===32&&(y.flags=m|16,(m&6)===2&&a(y))}while((h=h.nextSub)!==void 0)}function g(h,y){let m=y.depsTail;for(;m!==void 0;){if(m===h)return!0;m=m.prevDep}return!1}}const{link:XT,unlink:Tm,propagate:QT,checkDirty:KT,shallowPropagate:$T}=wm({update(n){return n.depsTail!==void 0?F1(n):q1(n)},notify(n){do if(n.flags&=-3,n=n.subs?.sub,n===void 0||!(n.flags&2))break;while(!0)},unwatched(n){n.flags&1?n.depsTail!==void 0&&(n.depsTail=void 0,n.flags=17,jc(n)):G1.call(n)}});function F1(n){n.depsTail=void 0,n.flags=5;try{const a=n.value;return a!==(n.value=n.getter(a))}finally{n.flags&=-5,jc(n)}}function q1(n){return n.flags=1,n.currentValue!==(n.currentValue=n.pendingValue)}function G1(){this.depsTail=void 0,this.flags=0,jc(this);const n=this.subs;n!==void 0&&Tm(n)}function jc(n){const a=n.depsTail;let i=a!==void 0?a.nextDep:n.deps;for(;i!==void 0;)i=Tm(i,n)}function Cm(n,a,i){const u=typeof n=="object",o=u?n:void 0;return{next:(u?n.next:n)?.bind(o),error:(u?n.error:a)?.bind(o),complete:(u?n.complete:i)?.bind(o)}}const Sc=[];let bu=0;const{link:yg,unlink:Y1,propagate:I1,checkDirty:_m,shallowPropagate:bg}=wm({update(n){return n._update()},notify(n){Sc[kc++]=n,n.flags&=~$e.Watching},unwatched(n){n.depsTail!==void 0&&(n.depsTail=void 0,n.flags=$e.Mutable|$e.Dirty,xu(n))}});let hu=0,kc=0,xn;function xu(n){const a=n.depsTail;let i=a!==void 0?a.nextDep:n.deps;for(;i!==void 0;)i=Y1(i,n)}function V1(){for(;hu<kc;){const n=Sc[hu];Sc[hu++]=void 0,n.notify()}hu=0,kc=0}function Z1(n,a){const i=typeof n=="function",u=n,o={_snapshot:i?void 0:n,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:i?$e.None:$e.Mutable,get(){return xn!==void 0&&yg(o,xn,bu),o._snapshot},subscribe(f){const c=Cm(f),d={current:!1},g=X1(()=>{o.get(),d.current?c.next?.(o._snapshot):d.current=!0});return{unsubscribe:()=>{g.stop()}}},_update(f){const c=xn,d=Object.is;if(i)xn=o,++bu,o.depsTail=void 0;else if(f===void 0)return!1;i&&(o.flags=$e.Mutable|$e.RecursedCheck);try{const g=o._snapshot,h=typeof f=="function"?f(g):f===void 0&&i?u(g):f;return g===void 0||!d(g,h)?(o._snapshot=h,!0):!1}finally{xn=c,i&&(o.flags&=~$e.RecursedCheck),xu(o)}}};return i?(o.flags=$e.Mutable|$e.Dirty,o.get=function(){const f=o.flags;if(f&$e.Dirty||f&$e.Pending&&_m(o.deps,o)){if(o._update()){const c=o.subs;c!==void 0&&bg(c)}}else f&$e.Pending&&(o.flags=f&~$e.Pending);return xn!==void 0&&yg(o,xn,bu),o._snapshot}):o.set=function(f){if(o._update(f)){const c=o.subs;c!==void 0&&(I1(c),bg(c),V1())}},o}function X1(n){const a=()=>{const u=xn;xn=i,++bu,i.depsTail=void 0,i.flags=$e.Watching|$e.RecursedCheck;try{return n()}finally{xn=u,i.flags&=~$e.RecursedCheck,xu(i)}},i={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:$e.Watching|$e.RecursedCheck,notify(){const u=this.flags;u&$e.Dirty||u&$e.Pending&&_m(this.deps,this)?a():this.flags=$e.Watching},stop(){this.flags=$e.None,this.depsTail=void 0,xu(this)}};return a(),i}class Q1{constructor(a){this.atom=Z1(a)}setState(a){this.atom.set(a)}get state(){return this.atom.get()}get(){return this.state}subscribe(a){return this.atom.subscribe(Cm(a))}}let K1=0;function vg(){return`hotkey_${++K1}`}var $1=class yl{static#t=null;#l;#n=new Map;#e=new Map;constructor(){this.registrations=new Q1(new Map),this.#l=Ba()}static getInstance(){return yl.#t||(yl.#t=new yl),yl.#t}static resetInstance(){yl.#t&&(yl.#t.destroy(),yl.#t=null)}register(a,i,u={}){if(typeof document>"u"&&!u.target){let S=i;return{id:vg(),unregister:()=>{},get callback(){return S},set callback(A){S=A},setOptions:()=>{},get isActive(){return!1}}}const o=vg(),f=u.platform??this.#l,c=typeof a=="string"?km(a,f):Em(a,f),d=typeof a=="string"?a:Am(c),g=u.target??document,h=u.conflictBehavior??"warn",y=this.#f(d,g);y&&H1(y.id,d,h,S=>this.#a(S));const m=u.ignoreInputs??B1(c),x={id:o,hotkey:d,parsedHotkey:c,callback:i,options:{...L1,requireReset:!1,...u,platform:f,ignoreInputs:m},hasFired:!1,triggerCount:0,target:g};this.registrations.setState(S=>new Map(S).set(o,x)),this.#e.has(g)||this.#e.set(g,new Set),this.#e.get(g).add(o),this.#o(g);const v=this;return{get id(){return o},unregister:()=>{v.#a(o)},get callback(){return v.registrations.state.get(o)?.callback??i},set callback(S){const A=v.registrations.state.get(o);A&&(A.callback=S)},setOptions:S=>{v.registrations.setState(A=>{const T=A.get(o);if(T){const w=new Map(A);return w.set(o,{...T,options:{...T.options,...S}}),w}return A})},get isActive(){return v.registrations.state.has(o)}}}#a(a){const i=this.registrations.state.get(a);if(!i)return;const u=i.target;this.registrations.setState(f=>{const c=new Map(f);return c.delete(a),c});const o=this.#e.get(u);o&&(o.delete(a),o.size===0&&this.#i(u))}#o(a){if(typeof document>"u"||this.#n.has(a))return;const i=this.#s(a),u=this.#c(a);a.addEventListener("keydown",i),a.addEventListener("keyup",u),this.#n.set(a,{keydown:i,keyup:u})}#i(a){if(typeof document>"u")return;const i=this.#n.get(a);i&&(a.removeEventListener("keydown",i.keydown),a.removeEventListener("keyup",i.keyup),this.#n.delete(a),this.#e.delete(a))}#r(a,i,u){const o=this.#e.get(i);if(o)for(const f of o){const c=this.registrations.state.get(f);if(c&&j1(a,i)&&c.options.enabled&&!(c.options.ignoreInputs!==!1&&U1(a.target)&&a.target!==c.target))if(u==="keydown"){if(c.options.eventType!=="keydown")continue;mg(a,c.parsedHotkey,c.options.platform)&&(c.options.preventDefault&&a.preventDefault(),c.options.stopPropagation&&a.stopPropagation(),(!c.options.requireReset||!c.hasFired)&&(this.#u(c,a),c.options.requireReset&&(c.hasFired=!0)))}else c.options.eventType==="keyup"&&mg(a,c.parsedHotkey,c.options.platform)&&this.#u(c,a),c.options.requireReset&&c.hasFired&&this.#p(c,a)&&(c.hasFired=!1)}}#u(a,i){a.options.preventDefault&&i.preventDefault(),a.options.stopPropagation&&i.stopPropagation(),a.triggerCount++,this.registrations.setState(o=>new Map(o));const u={hotkey:a.hotkey,parsedHotkey:a.parsedHotkey};a.callback(i,u)}#s(a){return i=>{this.#r(i,a,"keydown")}}#c(a){return i=>{this.#r(i,a,"keyup")}}#f(a,i){for(const u of this.registrations.state.values())if(u.hotkey===a&&u.target===i)return u;return null}#p(a,i){const u=a.parsedHotkey,o=Ui(i.key),f=u.key.length===1?u.key.toUpperCase():u.key;return!!((o.length===1?o.toUpperCase():o)===f||u.ctrl&&o==="Control"||u.shift&&o==="Shift"||u.alt&&o==="Alt"||u.meta&&o==="Meta")}triggerRegistration(a){const i=this.registrations.state.get(a);if(!i)return!1;const u=i.parsedHotkey,o=new KeyboardEvent(i.options.eventType??"keydown",{key:u.key,ctrlKey:u.ctrl,shiftKey:u.shift,altKey:u.alt,metaKey:u.meta,bubbles:!0,cancelable:!0});return i.triggerCount++,this.registrations.setState(f=>new Map(f)),i.callback(o,{hotkey:i.hotkey,parsedHotkey:i.parsedHotkey}),!0}getRegistrationCount(){return this.registrations.state.size}isRegistered(a,i){for(const u of this.registrations.state.values())if(u.hotkey===a&&(i===void 0||u.target===i))return!0;return!1}destroy(){for(const a of this.#n.keys())this.#i(a);this.registrations.setState(()=>new Map),this.#n.clear(),this.#e.clear()}};function J1(){return $1.getInstance()}function xg(n,a,i={}){const u={..._1().hotkey,...i},o=J1(),f=fe.useRef(null),c=fe.useRef(a),d=fe.useRef(u),g=fe.useRef(o);c.current=a,d.current=u,g.current=o;const h=fe.useRef(null),y=fe.useRef(null),m=u.platform??Ba(),x=typeof n=="string"?n:Am(Em(n,m)),{target:v,...S}=u;fe.useEffect(()=>{const A=P1(d.current.target)?d.current.target.current:d.current.target??(typeof document<"u"?document:null);if(!A)return;const T=h.current!==null&&h.current!==A,w=y.current!==null&&y.current!==x;return f.current?.isActive&&(T||w)&&(f.current.unregister(),f.current=null),(!f.current||!f.current.isActive)&&(f.current=g.current.register(x,c.current,{...d.current,target:A})),h.current=A,y.current=x,()=>{f.current?.isActive&&(f.current.unregister(),f.current=null)}},[x,i.enabled]),f.current?.isActive&&(f.current.callback=a,f.current.setOptions(S))}function P1(n){return n!==null&&typeof n=="object"&&"current"in n}const zm=(...n)=>n.filter((a,i,u)=>!!a&&a.trim()!==""&&u.indexOf(a)===i).join(" ").trim();const W1=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const ev=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,u)=>u?u.toUpperCase():i.toLowerCase());const Sg=n=>{const a=ev(n);return a.charAt(0).toUpperCase()+a.slice(1)};var tv={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 nv=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const lv=fe.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:o="",children:f,iconNode:c,...d},g)=>fe.createElement("svg",{ref:g,...tv,width:a,height:a,stroke:n,strokeWidth:u?Number(i)*24/Number(a):i,className:zm("lucide",o),...!f&&!nv(d)&&{"aria-hidden":"true"},...d},[...c.map(([h,y])=>fe.createElement(h,y)),...Array.isArray(f)?f:[f]]));const rn=(n,a)=>{const i=fe.forwardRef(({className:u,...o},f)=>fe.createElement(lv,{ref:f,iconNode:a,className:zm(`lucide-${W1(Sg(n))}`,`lucide-${n}`,u),...o}));return i.displayName=Sg(n),i};const av=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],iv=rn("check",av);const rv=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],uv=rn("chevron-down",rv);const ov=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],sv=rn("chevron-right",ov);const cv=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],fv=rn("clipboard",cv);const pv=[["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"}]],Dm=rn("file-text",pv);const hv=[["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"}]],dv=rn("folder-open",hv);const gv=[["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"}]],mv=rn("folder",gv);const yv=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],bv=rn("moon",yv);const vv=[["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"}]],xv=rn("panel-left-close",vv);const Sv=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],kv=rn("panel-left-open",Sv);const Ev=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Av=rn("search",Ev);const wv=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Tv=rn("sun",wv),Cv=async()=>{const n=await fetch("/api/files");if(!n.ok)throw new Error("Failed to fetch file list");return(await n.json()).files},_v=async n=>{const a=await fetch(`/api/file?path=${encodeURIComponent(n)}`);if(!a.ok)throw new Error(`Failed to fetch: ${n}`);return a.text()},Om=(n,a)=>{const i=a.toLowerCase(),u=[];for(const o of n)if(o.children){const f=Om(o.children,a);f.length>0&&u.push({...o,children:f})}else(o.name.toLowerCase().includes(i)||o.path.toLowerCase().includes(i))&&u.push(o);return u},Rm=({node:n,selectedPath:a,onSelect:i,forceExpand:u})=>{const[o,f]=fe.useState(!1),c=!!n.children,d=n.path===a,g=u||o,h=fe.useCallback(()=>{f(m=>!m)},[]),y=fe.useCallback(()=>{i(n.path)},[i,n.path]);return c?ee.jsxs("li",{children:[ee.jsxs("button",{type:"button",className:"flex items-center gap-1 w-full text-left py-0.5 px-1 rounded hover:bg-accent text-sm",onClick:h,children:[g?ee.jsx(uv,{size:14,className:"shrink-0 text-muted-foreground"}):ee.jsx(sv,{size:14,className:"shrink-0 text-muted-foreground"}),g?ee.jsx(dv,{size:14,className:"shrink-0 text-amber-500"}):ee.jsx(mv,{size:14,className:"shrink-0 text-amber-500"}),ee.jsx("span",{className:"truncate",children:n.name})]}),g&&n.children&&ee.jsx("ul",{className:"ml-3 space-y-0.5",children:n.children.map(m=>ee.jsx(Rm,{node:m,selectedPath:a,onSelect:i,forceExpand:u},m.path))})]}):ee.jsx("li",{children:ee.jsxs("button",{type:"button",className:`flex items-center gap-1 w-full text-left py-0.5 px-1 rounded text-sm ${d?"bg-accent text-accent-foreground":"hover:bg-accent"}`,onClick:y,children:[ee.jsx(Dm,{size:14,className:"shrink-0 text-blue-500"}),ee.jsx("span",{className:"truncate",children:n.name})]})})},zv=({files:n,selectedPath:a,onSelect:i})=>{const[u,o]=fe.useState(""),f=fe.useMemo(()=>u?Om(n,u):n,[n,u]),c=fe.useCallback(d=>{o(d.target.value)},[]);return ee.jsxs("div",{children:[ee.jsxs("div",{className:"relative mb-3",children:[ee.jsx(Av,{size:14,className:"absolute left-2 top-1/2 -translate-y-1/2 text-muted-foreground"}),ee.jsx("input",{type:"text",value:u,onChange:c,placeholder:"Search files...",className:"w-full pl-7 pr-12 py-1 text-sm rounded border border-border bg-transparent placeholder:text-muted-foreground focus:outline-none focus:border-ring"}),ee.jsxs("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 flex items-center gap-0.5 text-xs text-muted-foreground",children:[ee.jsx("kbd",{className:"border border-border rounded px-1.5 py-0.5",children:"⌘"}),ee.jsx("kbd",{className:"border border-border rounded px-1.5 py-0.5",children:"P"})]})]}),ee.jsx("ul",{className:"space-y-0.5",children:f.map(d=>ee.jsx(Rm,{node:d,selectedPath:a,onSelect:i,forceExpand:!!u},d.path))})]})};function Mm(n){var a,i,u="";if(typeof n=="string"||typeof n=="number")u+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(a=0;a<o;a++)n[a]&&(i=Mm(n[a]))&&(u&&(u+=" "),u+=i)}else for(i in n)n[i]&&(u&&(u+=" "),u+=i);return u}function Nm(){for(var n,a,i=0,u="",o=arguments.length;i<o;i++)(n=arguments[i])&&(a=Mm(n))&&(u&&(u+=" "),u+=a);return u}var Dv=Object.create,zu=Object.defineProperty,Ov=Object.defineProperties,Rv=Object.getOwnPropertyDescriptor,Mv=Object.getOwnPropertyDescriptors,Lm=Object.getOwnPropertyNames,Su=Object.getOwnPropertySymbols,Nv=Object.getPrototypeOf,Hc=Object.prototype.hasOwnProperty,Bm=Object.prototype.propertyIsEnumerable,kg=(n,a,i)=>a in n?zu(n,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[a]=i,Sn=(n,a)=>{for(var i in a||(a={}))Hc.call(a,i)&&kg(n,i,a[i]);if(Su)for(var i of Su(a))Bm.call(a,i)&&kg(n,i,a[i]);return n},Du=(n,a)=>Ov(n,Mv(a)),Um=(n,a)=>{var i={};for(var u in n)Hc.call(n,u)&&a.indexOf(u)<0&&(i[u]=n[u]);if(n!=null&&Su)for(var u of Su(n))a.indexOf(u)<0&&Bm.call(n,u)&&(i[u]=n[u]);return i},Lv=(n,a)=>function(){return a||(0,n[Lm(n)[0]])((a={exports:{}}).exports,a),a.exports},Bv=(n,a)=>{for(var i in a)zu(n,i,{get:a[i],enumerable:!0})},Uv=(n,a,i,u)=>{if(a&&typeof a=="object"||typeof a=="function")for(let o of Lm(a))!Hc.call(n,o)&&o!==i&&zu(n,o,{get:()=>a[o],enumerable:!(u=Rv(a,o))||u.enumerable});return n},jv=(n,a,i)=>(i=n!=null?Dv(Nv(n)):{},Uv(!n||!n.__esModule?zu(i,"default",{value:n,enumerable:!0}):i,n)),Hv=Lv({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(n,a){var i=(function(){var u=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,f={},c={util:{encode:function S(A){return A instanceof d?new d(A.type,S(A.content),A.alias):Array.isArray(A)?A.map(S):A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(S){return Object.prototype.toString.call(S).slice(8,-1)},objId:function(S){return S.__id||Object.defineProperty(S,"__id",{value:++o}),S.__id},clone:function S(A,T){T=T||{};var w,O;switch(c.util.type(A)){case"Object":if(O=c.util.objId(A),T[O])return T[O];w={},T[O]=w;for(var R in A)A.hasOwnProperty(R)&&(w[R]=S(A[R],T));return w;case"Array":return O=c.util.objId(A),T[O]?T[O]:(w=[],T[O]=w,A.forEach(function(J,le){w[le]=S(J,T)}),w);default:return A}},getLanguage:function(S){for(;S;){var A=u.exec(S.className);if(A)return A[1].toLowerCase();S=S.parentElement}return"none"},setLanguage:function(S,A){S.className=S.className.replace(RegExp(u,"gi"),""),S.classList.add("language-"+A)},isActive:function(S,A,T){for(var w="no-"+A;S;){var O=S.classList;if(O.contains(A))return!0;if(O.contains(w))return!1;S=S.parentElement}return!!T}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(S,A){var T=c.util.clone(c.languages[S]);for(var w in A)T[w]=A[w];return T},insertBefore:function(S,A,T,w){w=w||c.languages;var O=w[S],R={};for(var J in O)if(O.hasOwnProperty(J)){if(J==A)for(var le in T)T.hasOwnProperty(le)&&(R[le]=T[le]);T.hasOwnProperty(J)||(R[J]=O[J])}var F=w[S];return w[S]=R,c.languages.DFS(c.languages,function($,oe){oe===F&&$!=S&&(this[$]=R)}),R},DFS:function S(A,T,w,O){O=O||{};var R=c.util.objId;for(var J in A)if(A.hasOwnProperty(J)){T.call(A,J,A[J],w||J);var le=A[J],F=c.util.type(le);F==="Object"&&!O[R(le)]?(O[R(le)]=!0,S(le,T,null,O)):F==="Array"&&!O[R(le)]&&(O[R(le)]=!0,S(le,T,J,O))}}},plugins:{},highlight:function(S,A,T){var w={code:S,grammar:A,language:T};if(c.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=c.tokenize(w.code,w.grammar),c.hooks.run("after-tokenize",w),d.stringify(c.util.encode(w.tokens),w.language)},tokenize:function(S,A){var T=A.rest;if(T){for(var w in T)A[w]=T[w];delete A.rest}var O=new y;return m(O,O.head,S),h(S,O,A,O.head,0),v(O)},hooks:{all:{},add:function(S,A){var T=c.hooks.all;T[S]=T[S]||[],T[S].push(A)},run:function(S,A){var T=c.hooks.all[S];if(!(!T||!T.length))for(var w=0,O;O=T[w++];)O(A)}},Token:d};function d(S,A,T,w){this.type=S,this.content=A,this.alias=T,this.length=(w||"").length|0}d.stringify=function S(A,T){if(typeof A=="string")return A;if(Array.isArray(A)){var w="";return A.forEach(function(F){w+=S(F,T)}),w}var O={type:A.type,content:S(A.content,T),tag:"span",classes:["token",A.type],attributes:{},language:T},R=A.alias;R&&(Array.isArray(R)?Array.prototype.push.apply(O.classes,R):O.classes.push(R)),c.hooks.run("wrap",O);var J="";for(var le in O.attributes)J+=" "+le+'="'+(O.attributes[le]||"").replace(/"/g,"&quot;")+'"';return"<"+O.tag+' class="'+O.classes.join(" ")+'"'+J+">"+O.content+"</"+O.tag+">"};function g(S,A,T,w){S.lastIndex=A;var O=S.exec(T);if(O&&w&&O[1]){var R=O[1].length;O.index+=R,O[0]=O[0].slice(R)}return O}function h(S,A,T,w,O,R){for(var J in T)if(!(!T.hasOwnProperty(J)||!T[J])){var le=T[J];le=Array.isArray(le)?le:[le];for(var F=0;F<le.length;++F){if(R&&R.cause==J+","+F)return;var $=le[F],oe=$.inside,ce=!!$.lookbehind,j=!!$.greedy,ne=$.alias;if(j&&!$.pattern.global){var te=$.pattern.toString().match(/[imsuy]*$/)[0];$.pattern=RegExp($.pattern.source,te+"g")}for(var ve=$.pattern||$,W=w.next,Q=O;W!==A.tail&&!(R&&Q>=R.reach);Q+=W.value.length,W=W.next){var N=W.value;if(A.length>S.length)return;if(!(N instanceof d)){var X=1,ie;if(j){if(ie=g(ve,Q,S,ce),!ie||ie.index>=S.length)break;var L=ie.index,xe=ie.index+ie[0].length,C=Q;for(C+=W.value.length;L>=C;)W=W.next,C+=W.value.length;if(C-=W.value.length,Q=C,W.value instanceof d)continue;for(var z=W;z!==A.tail&&(C<xe||typeof z.value=="string");z=z.next)X++,C+=z.value.length;X--,N=S.slice(Q,C),ie.index-=Q}else if(ie=g(ve,0,N,ce),!ie)continue;var L=ie.index,E=ie[0],K=N.slice(0,L),ue=N.slice(L+E.length),re=Q+N.length;R&&re>R.reach&&(R.reach=re);var me=W.prev;K&&(me=m(A,me,K),Q+=K.length),x(A,me,X);var Ae=new d(J,oe?c.tokenize(E,oe):E,ne,E);if(W=m(A,me,Ae),ue&&m(A,W,ue),X>1){var Oe={cause:J+","+F,reach:re};h(S,A,T,W.prev,Q,Oe),R&&Oe.reach>R.reach&&(R.reach=Oe.reach)}}}}}}function y(){var S={value:null,prev:null,next:null},A={value:null,prev:S,next:null};S.next=A,this.head=S,this.tail=A,this.length=0}function m(S,A,T){var w=A.next,O={value:T,prev:A,next:w};return A.next=O,w.prev=O,S.length++,O}function x(S,A,T){for(var w=A.next,O=0;O<T&&w!==S.tail;O++)w=w.next;A.next=w,w.prev=A,S.length-=O}function v(S){for(var A=[],T=S.head.next;T!==S.tail;)A.push(T.value),T=T.next;return A}return c})();a.exports=i,i.default=i}}),Z=jv(Hv());Z.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Z.languages.markup.tag.inside["attr-value"].inside.entity=Z.languages.markup.entity,Z.languages.markup.doctype.inside["internal-subset"].inside=Z.languages.markup,Z.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(Z.languages.markup.tag,"addInlined",{value:function(n,u){var i={},i=(i["language-"+u]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Z.languages[u]},i.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}}),u=(i["language-"+u]={pattern:/[\s\S]+/,inside:Z.languages[u]},{});u[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},Z.languages.insertBefore("markup","cdata",u)}}),Object.defineProperty(Z.languages.markup.tag,"addAttribute",{value:function(n,a){Z.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:Z.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Z.languages.html=Z.languages.markup,Z.languages.mathml=Z.languages.markup,Z.languages.svg=Z.languages.markup,Z.languages.xml=Z.languages.extend("markup",{}),Z.languages.ssml=Z.languages.xml,Z.languages.atom=Z.languages.xml,Z.languages.rss=Z.languages.xml,(function(n){var a={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,u="(?:[^\\\\-]|"+i.source+")",u=RegExp(u+"-"+u),o={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:u,inside:{escape:i,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":a,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:i}},"special-escape":a,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:i,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":o}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(Z),Z.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Z.languages.javascript=Z.languages.extend("clike",{"class-name":[Z.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Z.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Z.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Z.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Z.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Z.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Z.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Z.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Z.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Z.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Z.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Z.languages.markup&&(Z.languages.markup.tag.addInlined("script","javascript"),Z.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Z.languages.js=Z.languages.javascript,Z.languages.actionscript=Z.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Z.languages.actionscript["class-name"].alias="function",delete Z.languages.actionscript.parameter,delete Z.languages.actionscript["literal-property"],Z.languages.markup&&Z.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:Z.languages.markup}}),(function(n){var a=/#(?!\{).+/,i={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:a,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:i}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:a,interpolation:i}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:i}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(Z),(function(n){var a=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(a,"addSupport",{value:function(i,u){(i=typeof i=="string"?[i]:i).forEach(function(o){var f=function(m){m.inside||(m.inside={}),m.inside.rest=u},c="doc-comment";if(d=n.languages[o]){var d,g=d[c];if((g=g||(d=n.languages.insertBefore(o,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[c])instanceof RegExp&&(g=d[c]={pattern:g}),Array.isArray(g))for(var h=0,y=g.length;h<y;h++)g[h]instanceof RegExp&&(g[h]={pattern:g[h]}),f(g[h]);else f(g)}})}}),a.addSupport(["java","javascript","php"],a)})(Z),(function(n){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,a=(n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css,n.languages.markup);a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(Z),(function(n){var a=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,a=(n.languages.css.selector={pattern:n.languages.css.selector.pattern,lookbehind:!0,inside:a={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+a.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[a,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:i})})(Z),(function(n){var a=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+i.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+i.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),f=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(d,g){g=(g||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return u}).replace(/<<value>>/g,function(){return d});return RegExp(h,g)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return u}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+f+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(f),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(Z),(function(n){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(h){return h=h.replace(/<inner>/g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var u=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return u}),f=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,c=(n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+f+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+f+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(u),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+f+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(u),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(h){["url","bold","italic","strike","code-snippet"].forEach(function(y){h!==y&&(n.languages.markdown[h].inside.content.inside[y]=n.languages.markdown[y])})}),n.hooks.add("after-tokenize",function(h){h.language!=="markdown"&&h.language!=="md"||(function y(m){if(m&&typeof m!="string")for(var x=0,v=m.length;x<v;x++){var S,A=m[x];A.type!=="code"?y(A.content):(S=A.content[1],A=A.content[3],S&&A&&S.type==="code-language"&&A.type==="code-block"&&typeof S.content=="string"&&(S=S.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),S="language-"+(S=(/[a-z][\w-]*/i.exec(S)||[""])[0].toLowerCase()),A.alias?typeof A.alias=="string"?A.alias=[A.alias,S]:A.alias.push(S):A.alias=[S]))}})(h.tokens)}),n.hooks.add("wrap",function(h){if(h.type==="code-block"){for(var y="",m=0,x=h.classes.length;m<x;m++){var v=h.classes[m],v=/language-(.+)/.exec(v);if(v){y=v[1];break}}var S,A=n.languages[y];A?h.content=n.highlight((function(T){return T=T.replace(c,""),T=T.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,O){var R;return(O=O.toLowerCase())[0]==="#"?(R=O[1]==="x"?parseInt(O.slice(2),16):Number(O.slice(1)),g(R)):d[O]||w})})(h.content),A,y):y&&y!=="none"&&n.plugins.autoloader&&(S="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),h.attributes.id=S,n.plugins.autoloader.loadLanguages(y,function(){var T=document.getElementById(S);T&&(T.innerHTML=n.highlight(T.textContent,n.languages[y],y))}))}}),RegExp(n.languages.markup.tag.pattern.source,"gi")),d={amp:"&",lt:"<",gt:">",quot:'"'},g=String.fromCodePoint||String.fromCharCode;n.languages.md=n.languages.markdown})(Z),Z.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Z.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Z.hooks.add("after-tokenize",function(n){if(n.language==="graphql")for(var a=n.tokens.filter(function(S){return typeof S!="string"&&S.type!=="comment"&&S.type!=="scalar"}),i=0;i<a.length;){var u=a[i++];if(u.type==="keyword"&&u.content==="mutation"){var o=[];if(m(["definition-mutation","punctuation"])&&y(1).content==="("){i+=2;var f=x(/^\($/,/^\)$/);if(f===-1)continue;for(;i<f;i++){var c=y(0);c.type==="variable"&&(v(c,"variable-input"),o.push(c.content))}i=f+1}if(m(["punctuation","property-query"])&&y(0).content==="{"&&(i++,v(y(0),"property-mutation"),0<o.length)){var d=x(/^\{$/,/^\}$/);if(d!==-1)for(var g=i;g<d;g++){var h=a[g];h.type==="variable"&&0<=o.indexOf(h.content)&&v(h,"variable-input")}}}}function y(S){return a[i+S]}function m(S,A){A=A||0;for(var T=0;T<S.length;T++){var w=y(T+A);if(!w||w.type!==S[T])return}return 1}function x(S,A){for(var T=1,w=i;w<a.length;w++){var O=a[w],R=O.content;if(O.type==="punctuation"&&typeof R=="string"){if(S.test(R))T++;else if(A.test(R)&&--T===0)return w}}return-1}function v(S,A){var T=S.alias;T?Array.isArray(T)||(S.alias=T=[T]):S.alias=T=[],T.push(A)}}),Z.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},(function(n){var a=n.languages.javascript["template-string"],i=a.pattern.source,u=a.inside.interpolation,o=u.inside["interpolation-punctuation"],f=u.pattern.source;function c(m,x){if(n.languages[m])return{pattern:RegExp("((?:"+x+")\\s*)"+i),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:m}}}}function d(m,x,v){return m={code:m,grammar:x,language:v},n.hooks.run("before-tokenize",m),m.tokens=n.tokenize(m.code,m.grammar),n.hooks.run("after-tokenize",m),m.tokens}function g(m,x,v){var T=n.tokenize(m,{interpolation:{pattern:RegExp(f),lookbehind:!0}}),S=0,A={},T=d(T.map(function(O){if(typeof O=="string")return O;for(var R,J,O=O.content;m.indexOf((J=S++,R="___"+v.toUpperCase()+"_"+J+"___"))!==-1;);return A[R]=O,R}).join(""),x,v),w=Object.keys(A);return S=0,(function O(R){for(var J=0;J<R.length;J++){if(S>=w.length)return;var le,F,$,oe,ce,j,ne,te=R[J];typeof te=="string"||typeof te.content=="string"?(le=w[S],(ne=(j=typeof te=="string"?te:te.content).indexOf(le))!==-1&&(++S,F=j.substring(0,ne),ce=A[le],$=void 0,(oe={})["interpolation-punctuation"]=o,(oe=n.tokenize(ce,oe)).length===3&&(($=[1,1]).push.apply($,d(oe[1],n.languages.javascript,"javascript")),oe.splice.apply(oe,$)),$=new n.Token("interpolation",oe,u.alias,ce),oe=j.substring(ne+le.length),ce=[],F&&ce.push(F),ce.push($),oe&&(O(j=[oe]),ce.push.apply(ce,j)),typeof te=="string"?(R.splice.apply(R,[J,1].concat(ce)),J+=ce.length-1):te.content=ce)):(ne=te.content,Array.isArray(ne)?O(ne):O([ne]))}})(T),new n.Token(v,T,"language-"+v,m)}n.languages.javascript["template-string"]=[c("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),c("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),c("svg",/\bsvg/.source),c("markdown",/\b(?:markdown|md)/.source),c("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),c("sql",/\bsql/.source),a].filter(Boolean);var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function y(m){return typeof m=="string"?m:Array.isArray(m)?m.map(y).join(""):y(m.content)}n.hooks.add("after-tokenize",function(m){m.language in h&&(function x(v){for(var S=0,A=v.length;S<A;S++){var T,w,O,R=v[S];typeof R!="string"&&(T=R.content,Array.isArray(T)?R.type==="template-string"?(R=T[1],T.length===3&&typeof R!="string"&&R.type==="embedded-code"&&(w=y(R),R=R.alias,R=Array.isArray(R)?R[0]:R,O=n.languages[R])&&(T[1]=g(w,O,R))):x(T):typeof T!="string"&&x([T]))}})(m.tokens)})})(Z),(function(n){n.languages.typescript=n.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var a=n.languages.extend("typescript",{});delete a["class-name"],n.languages.typescript["class-name"].inside=a,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),n.languages.ts=n.languages.typescript})(Z),(function(n){var a=n.languages.javascript,i=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,u="(@(?:arg|argument|param|property)\\s+(?:"+i+"\\s+)?)";n.languages.jsdoc=n.languages.extend("javadoclike",{parameter:{pattern:RegExp(u+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(u+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:a,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return i})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+i),lookbehind:!0,inside:{string:a.string,number:a.number,boolean:a.boolean,keyword:n.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:a,alias:"language-javascript"}}}}),n.languages.javadoclike.addSupport("javascript",n.languages.jsdoc)})(Z),(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(Z),Z.languages.n4js=Z.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),Z.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),Z.languages.n4jsd=Z.languages.n4js,(function(n){function a(c,d){return RegExp(c.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),n.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],u=0;u<i.length;u++){var f=i[u],o=n.languages.javascript[f],f=(o=n.util.type(o)==="RegExp"?n.languages.javascript[f]={pattern:o}:o).inside||{};(o.inside=f)["maybe-class-name"]=/^[A-Z][\s\S]*/}})(Z),(function(n){var a=n.util.clone(n.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,u=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function f(g,h){return g=g.replace(/<S>/g,function(){return i}).replace(/<BRACES>/g,function(){return u}).replace(/<SPREAD>/g,function(){return o}),RegExp(g,h)}o=f(o).source,n.languages.jsx=n.languages.extend("markup",a),n.languages.jsx.tag.pattern=f(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=a.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:f(/<SPREAD>/.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:f(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);function c(g){for(var h=[],y=0;y<g.length;y++){var m=g[y],x=!1;typeof m!="string"&&(m.type==="tag"&&m.content[0]&&m.content[0].type==="tag"?m.content[0].content[0].content==="</"?0<h.length&&h[h.length-1].tagName===d(m.content[0].content[1])&&h.pop():m.content[m.content.length-1].content!=="/>"&&h.push({tagName:d(m.content[0].content[1]),openedBraces:0}):0<h.length&&m.type==="punctuation"&&m.content==="{"?h[h.length-1].openedBraces++:0<h.length&&0<h[h.length-1].openedBraces&&m.type==="punctuation"&&m.content==="}"?h[h.length-1].openedBraces--:x=!0),(x||typeof m=="string")&&0<h.length&&h[h.length-1].openedBraces===0&&(x=d(m),y<g.length-1&&(typeof g[y+1]=="string"||g[y+1].type==="plain-text")&&(x+=d(g[y+1]),g.splice(y+1,1)),0<y&&(typeof g[y-1]=="string"||g[y-1].type==="plain-text")&&(x=d(g[y-1])+x,g.splice(y-1,1),y--),g[y]=new n.Token("plain-text",x,null,x)),m.content&&typeof m.content!="string"&&c(m.content)}}var d=function(g){return g?typeof g=="string"?g:typeof g.content=="string"?g.content:g.content.map(d).join(""):""};n.hooks.add("after-tokenize",function(g){g.language!=="jsx"&&g.language!=="tsx"||c(g.tokens)})})(Z),(function(n){var a=n.util.clone(n.languages.typescript),a=(n.languages.tsx=n.languages.extend("jsx",a),delete n.languages.tsx.parameter,delete n.languages.tsx["literal-property"],n.languages.tsx.tag);a.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+a.pattern.source+")",a.pattern.flags),a.lookbehind=!0})(Z),Z.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Z.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=Z.languages.swift}),(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var a={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:a},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:a},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(Z),Z.languages.c=Z.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Z.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Z.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Z.languages.c.string],char:Z.languages.c.char,comment:Z.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Z.languages.c}}}}),Z.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Z.languages.c.boolean,Z.languages.objectivec=Z.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Z.languages.objectivec["class-name"],Z.languages.objc=Z.languages.objectivec,Z.languages.reason=Z.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),Z.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete Z.languages.reason.function,(function(n){for(var a=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,i=0;i<2;i++)a=a.replace(/<self>/g,function(){return a});a=a.replace(/<self>/g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+a),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(Z),Z.languages.go=Z.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Z.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Z.languages.go["class-name"],(function(n){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return a.source});n.languages.cpp=n.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),n.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),n.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n.languages.cpp}}}}),n.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),n.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:n.languages.extend("cpp",{})}}),n.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},n.languages.cpp["base-clause"])})(Z),Z.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Z.languages.python["string-interpolation"].inside.interpolation.inside.rest=Z.languages.python,Z.languages.py=Z.languages.python,Z.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Z.languages.webmanifest=Z.languages.json;var qi={};Bv(qi,{dracula:()=>qv,duotoneDark:()=>Yv,duotoneLight:()=>Vv,github:()=>Xv,gruvboxMaterialDark:()=>kx,gruvboxMaterialLight:()=>Ax,jettwaveDark:()=>dx,jettwaveLight:()=>mx,nightOwl:()=>Kv,nightOwlLight:()=>Jv,oceanicNext:()=>Wv,okaidia:()=>tx,oneDark:()=>bx,oneLight:()=>xx,palenight:()=>lx,shadesOfPurple:()=>ix,synthwave84:()=>ux,ultramin:()=>sx,vsDark:()=>jm,vsLight:()=>px});var Fv={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},qv=Fv,Gv={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Yv=Gv,Iv={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Vv=Iv,Zv={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Xv=Zv,Qv={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Kv=Qv,$v={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Jv=$v,It={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",tag:"#fc929e",function:"#79b6f2",className:"#FAC863"},Pv={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:It.keyword}},{types:["attr-value"],style:{color:It.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:It.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:It.primitive}},{types:["boolean"],style:{color:It.boolean}},{types:["tag"],style:{color:It.tag}},{types:["string"],style:{color:It.string}},{types:["punctuation"],style:{color:It.string}},{types:["selector","char","builtin","inserted"],style:{color:It.char}},{types:["function"],style:{color:It.function}},{types:["operator","entity","url","variable"],style:{color:It.variable}},{types:["keyword"],style:{color:It.keyword}},{types:["atrule","class-name"],style:{color:It.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Wv=Pv,ex={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},tx=ex,nx={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},lx=nx,ax={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},ix=ax,rx={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ux=rx,ox={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},sx=ox,cx={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},jm=cx,fx={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},px=fx,hx={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},dx=hx,gx={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},mx=gx,yx={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},bx=yx,vx={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},xx=vx,Sx={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},kx=Sx,Ex={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},Ax=Ex,wx=n=>fe.useCallback(a=>{var i=a,{className:u,style:o,line:f}=i,c=Um(i,["className","style","line"]);const d=Du(Sn({},c),{className:Nm("token-line",u)});return typeof n=="object"&&"plain"in n&&(d.style=n.plain),typeof o=="object"&&(d.style=Sn(Sn({},d.style||{}),o)),d},[n]),Tx=n=>{const a=fe.useCallback(({types:i,empty:u})=>{if(n!=null){{if(i.length===1&&i[0]==="plain")return u!=null?{display:"inline-block"}:void 0;if(i.length===1&&u!=null)return n[i[0]]}return Object.assign(u!=null?{display:"inline-block"}:{},...i.map(o=>n[o]))}},[n]);return fe.useCallback(i=>{var u=i,{token:o,className:f,style:c}=u,d=Um(u,["token","className","style"]);const g=Du(Sn({},d),{className:Nm("token",...o.types,f),children:o.content,style:a(o)});return c!=null&&(g.style=Sn(Sn({},g.style||{}),c)),g},[a])},Cx=/\r\n|\r|\n/,Eg=n=>{n.length===0?n.push({types:["plain"],content:`
10
+ `,empty:!0}):n.length===1&&n[0].content===""&&(n[0].content=`
11
+ `,n[0].empty=!0)},Ag=(n,a)=>{const i=n.length;return i>0&&n[i-1]===a?n:n.concat(a)},_x=n=>{const a=[[]],i=[n],u=[0],o=[n.length];let f=0,c=0,d=[];const g=[d];for(;c>-1;){for(;(f=u[c]++)<o[c];){let h,y=a[c];const x=i[c][f];if(typeof x=="string"?(y=c>0?y:["plain"],h=x):(y=Ag(y,x.type),x.alias&&(y=Ag(y,x.alias)),h=x.content),typeof h!="string"){c++,a.push(y),i.push(h),u.push(0),o.push(h.length);continue}const v=h.split(Cx),S=v.length;d.push({types:y,content:v[0]});for(let A=1;A<S;A++)Eg(d),g.push(d=[]),d.push({types:y,content:v[A]})}c--,a.pop(),i.pop(),u.pop(),o.pop()}return Eg(d),g},wg=_x,zx=({prism:n,code:a,grammar:i,language:u})=>fe.useMemo(()=>{if(i==null)return wg([a]);const o={code:a,grammar:i,language:u,tokens:[]};return n.hooks.run("before-tokenize",o),o.tokens=n.tokenize(a,i),n.hooks.run("after-tokenize",o),wg(o.tokens)},[a,i,u,n]),Dx=(n,a)=>{const{plain:i}=n,u=n.styles.reduce((o,f)=>{const{languages:c,style:d}=f;return c&&!c.includes(a)||f.types.forEach(g=>{const h=Sn(Sn({},o[g]),d);o[g]=h}),o},{});return u.root=i,u.plain=Du(Sn({},i),{backgroundColor:void 0}),u},Ox=Dx,Rx=({children:n,language:a,code:i,theme:u,prism:o})=>{const f=a.toLowerCase(),c=Ox(u,f),d=wx(c),g=Tx(c),h=o.languages[f],y=zx({prism:o,language:f,code:i,grammar:h});return n({tokens:y,className:`prism-code language-${f}`,style:c!=null?c.root:{},getLineProps:d,getTokenProps:g})},Hm=n=>fe.createElement(Rx,Du(Sn({},n),{prism:n.prism||Z,theme:n.theme||jm,code:n.code,language:n.language}));function Mx(n,a){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const Nx=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Lx=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Bx={};function Tg(n,a){return(Bx.jsx?Lx:Nx).test(n)}const Ux=/[ \t\n\f\r]/g;function jx(n){return typeof n=="object"?n.type==="text"?Cg(n.value):!1:Cg(n)}function Cg(n){return n.replace(Ux,"")===""}class Xi{constructor(a,i,u){this.normal=i,this.property=a,u&&(this.space=u)}}Xi.prototype.normal={};Xi.prototype.property={};Xi.prototype.space=void 0;function Fm(n,a){const i={},u={};for(const o of n)Object.assign(i,o.property),Object.assign(u,o.normal);return new Xi(i,u,a)}function Ec(n){return n.toLowerCase()}class Mt{constructor(a,i){this.attribute=i,this.property=a}}Mt.prototype.attribute="";Mt.prototype.booleanish=!1;Mt.prototype.boolean=!1;Mt.prototype.commaOrSpaceSeparated=!1;Mt.prototype.commaSeparated=!1;Mt.prototype.defined=!1;Mt.prototype.mustUseProperty=!1;Mt.prototype.number=!1;Mt.prototype.overloadedBoolean=!1;Mt.prototype.property="";Mt.prototype.spaceSeparated=!1;Mt.prototype.space=void 0;let Hx=0;const Ee=Yl(),it=Yl(),Ac=Yl(),P=Yl(),Ze=Yl(),Ma=Yl(),Vt=Yl();function Yl(){return 2**++Hx}const wc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ee,booleanish:it,commaOrSpaceSeparated:Vt,commaSeparated:Ma,number:P,overloadedBoolean:Ac,spaceSeparated:Ze},Symbol.toStringTag,{value:"Module"})),lc=Object.keys(wc);class Fc extends Mt{constructor(a,i,u,o){let f=-1;if(super(a,i),_g(this,"space",o),typeof u=="number")for(;++f<lc.length;){const c=lc[f];_g(this,lc[f],(u&wc[c])===wc[c])}}}Fc.prototype.defined=!0;function _g(n,a,i){i&&(n[a]=i)}function Ua(n){const a={},i={};for(const[u,o]of Object.entries(n.properties)){const f=new Fc(u,n.transform(n.attributes||{},u),o,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(f.mustUseProperty=!0),a[u]=f,i[Ec(u)]=u,i[Ec(f.attribute)]=u}return new Xi(a,i,n.space)}const qm=Ua({properties:{ariaActiveDescendant:null,ariaAtomic:it,ariaAutoComplete:null,ariaBusy:it,ariaChecked:it,ariaColCount:P,ariaColIndex:P,ariaColSpan:P,ariaControls:Ze,ariaCurrent:null,ariaDescribedBy:Ze,ariaDetails:null,ariaDisabled:it,ariaDropEffect:Ze,ariaErrorMessage:null,ariaExpanded:it,ariaFlowTo:Ze,ariaGrabbed:it,ariaHasPopup:null,ariaHidden:it,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ze,ariaLevel:P,ariaLive:null,ariaModal:it,ariaMultiLine:it,ariaMultiSelectable:it,ariaOrientation:null,ariaOwns:Ze,ariaPlaceholder:null,ariaPosInSet:P,ariaPressed:it,ariaReadOnly:it,ariaRelevant:null,ariaRequired:it,ariaRoleDescription:Ze,ariaRowCount:P,ariaRowIndex:P,ariaRowSpan:P,ariaSelected:it,ariaSetSize:P,ariaSort:null,ariaValueMax:P,ariaValueMin:P,ariaValueNow:P,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function Gm(n,a){return a in n?n[a]:a}function Ym(n,a){return Gm(n,a.toLowerCase())}const Fx=Ua({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ma,acceptCharset:Ze,accessKey:Ze,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Ze,autoFocus:Ee,autoPlay:Ee,blocking:Ze,capture:null,charSet:null,checked:Ee,cite:null,className:Ze,cols:P,colSpan:null,content:null,contentEditable:it,controls:Ee,controlsList:Ze,coords:P|Ma,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:Ac,draggable:it,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Ze,height:P,hidden:Ac,high:P,href:null,hrefLang:null,htmlFor:Ze,httpEquiv:Ze,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Ze,itemRef:Ze,itemScope:Ee,itemType:Ze,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:P,manifest:null,max:null,maxLength:P,media:null,method:null,min:null,minLength:P,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,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:Ee,optimum:P,pattern:null,ping:Ze,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Ze,required:Ee,reversed:Ee,rows:P,rowSpan:P,sandbox:Ze,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootClonable:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:P,sizes:null,slot:null,span:P,spellCheck:it,src:null,srcDoc:null,srcLang:null,srcSet:null,start:P,step:null,style:null,tabIndex:P,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:it,width:P,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ze,axis:null,background:null,bgColor:null,border:P,borderColor:null,bottomMargin:P,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:P,leftMargin:P,link:null,longDesc:null,lowSrc:null,marginHeight:P,marginWidth:P,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:P,rules:null,scheme:null,scrolling:it,standby:null,summary:null,text:null,topMargin:P,valueType:null,version:null,vAlign:null,vLink:null,vSpace:P,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:P,security:null,unselectable:null},space:"html",transform:Ym}),qx=Ua({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:Vt,accentHeight:P,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:P,amplitude:P,arabicForm:null,ascent:P,attributeName:null,attributeType:null,azimuth:P,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:P,by:null,calcMode:null,capHeight:P,className:Ze,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:P,diffuseConstant:P,direction:null,display:null,dur:null,divisor:P,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:P,enableBackground:null,end:null,event:null,exponent:P,externalResourcesRequired:null,fill:null,fillOpacity:P,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:Ma,g2:Ma,glyphName:Ma,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:P,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:P,horizOriginX:P,horizOriginY:P,id:null,ideographic:P,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:P,k:P,k1:P,k2:P,k3:P,k4:P,kernelMatrix:Vt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:P,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:P,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:P,overlineThickness:P,paintOrder:null,panose1:null,path:null,pathLength:P,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ze,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:P,pointsAtY:P,pointsAtZ:P,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Vt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Vt,rev:Vt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Vt,requiredFeatures:Vt,requiredFonts:Vt,requiredFormats:Vt,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:P,specularExponent:P,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:P,strikethroughThickness:P,string:null,stroke:null,strokeDashArray:Vt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:P,strokeOpacity:P,strokeWidth:null,style:null,surfaceScale:P,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Vt,tabIndex:P,tableValues:null,target:null,targetX:P,targetY:P,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Vt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:P,underlineThickness:P,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:P,values:null,vAlphabetic:P,vMathematical:P,vectorEffect:null,vHanging:P,vIdeographic:P,version:null,vertAdvY:P,vertOriginX:P,vertOriginY:P,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:P,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Gm}),Im=Ua({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),Vm=Ua({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ym}),Zm=Ua({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),Gx={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"},Yx=/[A-Z]/g,zg=/-[a-z]/g,Ix=/^data[-\w.:]+$/i;function Vx(n,a){const i=Ec(a);let u=a,o=Mt;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&Ix.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(zg,Xx);u="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!zg.test(f)){let c=f.replace(Yx,Zx);c.charAt(0)!=="-"&&(c="-"+c),a="data"+c}}o=Fc}return new o(u,a)}function Zx(n){return"-"+n.toLowerCase()}function Xx(n){return n.charAt(1).toUpperCase()}const Qx=Fm([qm,Fx,Im,Vm,Zm],"html"),qc=Fm([qm,qx,Im,Vm,Zm],"svg");function Kx(n){return n.join(" ").trim()}var za={},ac,Dg;function $x(){if(Dg)return ac;Dg=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,g=`
12
+ `,h="/",y="*",m="",x="comment",v="declaration";function S(T,w){if(typeof T!="string")throw new TypeError("First argument must be a string");if(!T)return[];w=w||{};var O=1,R=1;function J(W){var Q=W.match(a);Q&&(O+=Q.length);var N=W.lastIndexOf(g);R=~N?W.length-N:R+W.length}function le(){var W={line:O,column:R};return function(Q){return Q.position=new F(W),ce(),Q}}function F(W){this.start=W,this.end={line:O,column:R},this.source=w.source}F.prototype.content=T;function $(W){var Q=new Error(w.source+":"+O+":"+R+": "+W);if(Q.reason=W,Q.filename=w.source,Q.line=O,Q.column=R,Q.source=T,!w.silent)throw Q}function oe(W){var Q=W.exec(T);if(Q){var N=Q[0];return J(N),T=T.slice(N.length),Q}}function ce(){oe(i)}function j(W){var Q;for(W=W||[];Q=ne();)Q!==!1&&W.push(Q);return W}function ne(){var W=le();if(!(h!=T.charAt(0)||y!=T.charAt(1))){for(var Q=2;m!=T.charAt(Q)&&(y!=T.charAt(Q)||h!=T.charAt(Q+1));)++Q;if(Q+=2,m===T.charAt(Q-1))return $("End of comment missing");var N=T.slice(2,Q-2);return R+=2,J(N),T=T.slice(Q),R+=2,W({type:x,comment:N})}}function te(){var W=le(),Q=oe(u);if(Q){if(ne(),!oe(o))return $("property missing ':'");var N=oe(f),X=W({type:v,property:A(Q[0].replace(n,m)),value:N?A(N[0].replace(n,m)):m});return oe(c),X}}function ve(){var W=[];j(W);for(var Q;Q=te();)Q!==!1&&(W.push(Q),j(W));return W}return ce(),ve()}function A(T){return T?T.replace(d,m):m}return ac=S,ac}var Og;function Jx(){if(Og)return za;Og=1;var n=za&&za.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(za,"__esModule",{value:!0}),za.default=i;const a=n($x());function i(u,o){let f=null;if(!u||typeof u!="string")return f;const c=(0,a.default)(u),d=typeof o=="function";return c.forEach(g=>{if(g.type!=="declaration")return;const{property:h,value:y}=g;d?o(h,y,g):y&&(f=f||{},f[h]=y)}),f}return za}var Ri={},Rg;function Px(){if(Rg)return Ri;Rg=1,Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,u=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,f=function(h){return!h||i.test(h)||n.test(h)},c=function(h,y){return y.toUpperCase()},d=function(h,y){return"".concat(y,"-")},g=function(h,y){return y===void 0&&(y={}),f(h)?h:(h=h.toLowerCase(),y.reactCompat?h=h.replace(o,d):h=h.replace(u,d),h.replace(a,c))};return Ri.camelCase=g,Ri}var Mi,Mg;function Wx(){if(Mg)return Mi;Mg=1;var n=Mi&&Mi.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},a=n(Jx()),i=Px();function u(o,f){var c={};return!o||typeof o!="string"||(0,a.default)(o,function(d,g){d&&g&&(c[(0,i.camelCase)(d,f)]=g)}),c}return u.default=u,Mi=u,Mi}var eS=Wx();const tS=bm(eS),Xm=Qm("end"),Gc=Qm("start");function Qm(n){return a;function a(i){const u=i&&i.position&&i.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function nS(n){const a=Gc(n),i=Xm(n);if(a&&i)return{start:a,end:i}}function ji(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Ng(n.position):"start"in n||"end"in n?Ng(n):"line"in n||"column"in n?Tc(n):""}function Tc(n){return Lg(n&&n.line)+":"+Lg(n&&n.column)}function Ng(n){return Tc(n&&n.start)+"-"+Tc(n&&n.end)}function Lg(n){return n&&typeof n=="number"?n:1}class bt extends Error{constructor(a,i,u){super(),typeof i=="string"&&(u=i,i=void 0);let o="",f={},c=!1;if(i&&("line"in i&&"column"in i?f={place:i}:"start"in i&&"end"in i?f={place:i}:"type"in i?f={ancestors:[i],place:i.position}:f={...i}),typeof a=="string"?o=a:!f.cause&&a&&(c=!0,o=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof u=="string"){const g=u.indexOf(":");g===-1?f.ruleId=u:(f.source=u.slice(0,g),f.ruleId=u.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const d=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=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=d?d.line:void 0,this.name=ji(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=c&&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}}bt.prototype.file="";bt.prototype.name="";bt.prototype.reason="";bt.prototype.message="";bt.prototype.stack="";bt.prototype.column=void 0;bt.prototype.line=void 0;bt.prototype.ancestors=void 0;bt.prototype.cause=void 0;bt.prototype.fatal=void 0;bt.prototype.place=void 0;bt.prototype.ruleId=void 0;bt.prototype.source=void 0;const Yc={}.hasOwnProperty,lS=new Map,aS=/[A-Z]/g,iS=new Set(["table","tbody","thead","tfoot","tr"]),rS=new Set(["td","th"]),Km="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function uS(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=a.filePath||void 0;let u;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=gS(i,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");u=dS(i,a.jsx,a.jsxs)}const o={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:u,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?qc:Qx,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=$m(o,n,void 0);return f&&typeof f!="string"?f:o.create(n,o.Fragment,{children:f||void 0},void 0)}function $m(n,a,i){if(a.type==="element")return oS(n,a,i);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return sS(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return fS(n,a,i);if(a.type==="mdxjsEsm")return cS(n,a);if(a.type==="root")return pS(n,a,i);if(a.type==="text")return hS(n,a)}function oS(n,a,i){const u=n.schema;let o=u;a.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=qc,n.schema=o),n.ancestors.push(a);const f=Pm(n,a.tagName,!1),c=mS(n,a);let d=Vc(n,a);return iS.has(a.tagName)&&(d=d.filter(function(g){return typeof g=="string"?!jx(g):!0})),Jm(n,c,f,a),Ic(c,d),n.ancestors.pop(),n.schema=u,n.create(a,f,c,i)}function sS(n,a){if(a.data&&a.data.estree&&n.evaluater){const u=a.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}Gi(n,a.position)}function cS(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Gi(n,a.position)}function fS(n,a,i){const u=n.schema;let o=u;a.name==="svg"&&u.space==="html"&&(o=qc,n.schema=o),n.ancestors.push(a);const f=a.name===null?n.Fragment:Pm(n,a.name,!0),c=yS(n,a),d=Vc(n,a);return Jm(n,c,f,a),Ic(c,d),n.ancestors.pop(),n.schema=u,n.create(a,f,c,i)}function pS(n,a,i){const u={};return Ic(u,Vc(n,a)),n.create(a,n.Fragment,u,i)}function hS(n,a){return a.value}function Jm(n,a,i,u){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(a.node=u)}function Ic(n,a){if(a.length>0){const i=a.length>1?a:a[0];i&&(n.children=i)}}function dS(n,a,i){return u;function u(o,f,c,d){const h=Array.isArray(c.children)?i:a;return d?h(f,c,d):h(f,c)}}function gS(n,a){return i;function i(u,o,f,c){const d=Array.isArray(f.children),g=Gc(u);return a(o,f,c,d,{columnNumber:g?g.column-1:void 0,fileName:n,lineNumber:g?g.line:void 0},void 0)}}function mS(n,a){const i={};let u,o;for(o in a.properties)if(o!=="children"&&Yc.call(a.properties,o)){const f=bS(n,o,a.properties[o]);if(f){const[c,d]=f;n.tableCellAlignToStyle&&c==="align"&&typeof d=="string"&&rS.has(a.tagName)?u=d:i[c]=d}}if(u){const f=i.style||(i.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return i}function yS(n,a){const i={};for(const u of a.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const f=u.data.estree.body[0];f.type;const c=f.expression;c.type;const d=c.properties[0];d.type,Object.assign(i,n.evaluater.evaluateExpression(d.argument))}else Gi(n,a.position);else{const o=u.name;let f;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const d=u.value.data.estree.body[0];d.type,f=n.evaluater.evaluateExpression(d.expression)}else Gi(n,a.position);else f=u.value===null?!0:u.value;i[o]=f}return i}function Vc(n,a){const i=[];let u=-1;const o=n.passKeys?new Map:lS;for(;++u<a.children.length;){const f=a.children[u];let c;if(n.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const h=o.get(g)||0;c=g+"-"+h,o.set(g,h+1)}}const d=$m(n,f,c);d!==void 0&&i.push(d)}return i}function bS(n,a,i){const u=Vx(n.schema,a);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=u.commaSeparated?Mx(i):Kx(i)),u.property==="style"){let o=typeof i=="object"?i:vS(n,String(i));return n.stylePropertyNameCase==="css"&&(o=xS(o)),["style",o]}return[n.elementAttributeNameCase==="react"&&u.space?Gx[u.property]||u.property:u.attribute,i]}}function vS(n,a){try{return tS(a,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const u=i,o=new bt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=n.filePath||void 0,o.url=Km+"#cannot-parse-style-attribute",o}}function Pm(n,a,i){let u;if(!i)u={type:"Literal",value:a};else if(a.includes(".")){const o=a.split(".");let f=-1,c;for(;++f<o.length;){const d=Tg(o[f])?{type:"Identifier",name:o[f]}:{type:"Literal",value:o[f]};c=c?{type:"MemberExpression",object:c,property:d,computed:!!(f&&d.type==="Literal"),optional:!1}:d}u=c}else u=Tg(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(u.type==="Literal"){const o=u.value;return Yc.call(n.components,o)?n.components[o]:o}if(n.evaluater)return n.evaluater.evaluateExpression(u);Gi(n)}function Gi(n,a){const i=new bt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=Km+"#cannot-handle-mdx-estrees-without-createevaluater",i}function xS(n){const a={};let i;for(i in n)Yc.call(n,i)&&(a[SS(i)]=n[i]);return a}function SS(n){let a=n.replace(aS,kS);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function kS(n){return"-"+n.toLowerCase()}const ic={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"]},ES={};function Zc(n,a){const i=ES,u=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,o=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return Wm(n,u,o)}function Wm(n,a,i){if(AS(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Bg(n.children,a,i)}return Array.isArray(n)?Bg(n,a,i):""}function Bg(n,a,i){const u=[];let o=-1;for(;++o<n.length;)u[o]=Wm(n[o],a,i);return u.join("")}function AS(n){return!!(n&&typeof n=="object")}const Ug=document.createElement("i");function Xc(n){const a="&"+n+";";Ug.innerHTML=a;const i=Ug.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===a?!1:i}function Zt(n,a,i,u){const o=n.length;let f=0,c;if(a<0?a=-a>o?0:o+a:a=a>o?o:a,i=i>0?i:0,u.length<1e4)c=Array.from(u),c.unshift(a,i),n.splice(...c);else for(i&&n.splice(a,i);f<u.length;)c=u.slice(f,f+1e4),c.unshift(a,0),n.splice(...c),f+=1e4,a+=1e4}function an(n,a){return n.length>0?(Zt(n,n.length,0,a),n):a}const jg={}.hasOwnProperty;function ey(n){const a={};let i=-1;for(;++i<n.length;)wS(a,n[i]);return a}function wS(n,a){let i;for(i in a){const o=(jg.call(n,i)?n[i]:void 0)||(n[i]={}),f=a[i];let c;if(f)for(c in f){jg.call(o,c)||(o[c]=[]);const d=f[c];TS(o[c],Array.isArray(d)?d:d?[d]:[])}}}function TS(n,a){let i=-1;const u=[];for(;++i<a.length;)(a[i].add==="after"?n:u).push(a[i]);Zt(n,0,0,u)}function ty(n,a){const i=Number.parseInt(n,a);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function hn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const kt=vl(/[A-Za-z]/),yt=vl(/[\dA-Za-z]/),CS=vl(/[#-'*+\--9=?A-Z^-~]/);function ku(n){return n!==null&&(n<32||n===127)}const Cc=vl(/\d/),_S=vl(/[\dA-Fa-f]/),zS=vl(/[!-/:-@[-`{-~]/);function de(n){return n!==null&&n<-2}function Ve(n){return n!==null&&(n<0||n===32)}function _e(n){return n===-2||n===-1||n===32}const Ou=vl(new RegExp("\\p{P}|\\p{S}","u")),ql=vl(/\s/);function vl(n){return a;function a(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function ja(n){const a=[];let i=-1,u=0,o=0;for(;++i<n.length;){const f=n.charCodeAt(i);let c="";if(f===37&&yt(n.charCodeAt(i+1))&&yt(n.charCodeAt(i+2)))o=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(c=String.fromCharCode(f));else if(f>55295&&f<57344){const d=n.charCodeAt(i+1);f<56320&&d>56319&&d<57344?(c=String.fromCharCode(f,d),o=1):c="�"}else c=String.fromCharCode(f);c&&(a.push(n.slice(u,i),encodeURIComponent(c)),u=i+o+1,c=""),o&&(i+=o,o=0)}return a.join("")+n.slice(u)}function Me(n,a,i,u){const o=u?u-1:Number.POSITIVE_INFINITY;let f=0;return c;function c(g){return _e(g)?(n.enter(i),d(g)):a(g)}function d(g){return _e(g)&&f++<o?(n.consume(g),d):(n.exit(i),a(g))}}const DS={tokenize:OS};function OS(n){const a=n.attempt(this.parser.constructs.contentInitial,u,o);let i;return a;function u(d){if(d===null){n.consume(d);return}return n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),Me(n,a,"linePrefix")}function o(d){return n.enter("paragraph"),f(d)}function f(d){const g=n.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=g),i=g,c(d)}function c(d){if(d===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(d);return}return de(d)?(n.consume(d),n.exit("chunkText"),f):(n.consume(d),c)}}const RS={tokenize:MS},Hg={tokenize:NS};function MS(n){const a=this,i=[];let u=0,o,f,c;return d;function d(R){if(u<i.length){const J=i[u];return a.containerState=J[1],n.attempt(J[0].continuation,g,h)(R)}return h(R)}function g(R){if(u++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,o&&O();const J=a.events.length;let le=J,F;for(;le--;)if(a.events[le][0]==="exit"&&a.events[le][1].type==="chunkFlow"){F=a.events[le][1].end;break}w(u);let $=J;for(;$<a.events.length;)a.events[$][1].end={...F},$++;return Zt(a.events,le+1,0,a.events.slice(J)),a.events.length=$,h(R)}return d(R)}function h(R){if(u===i.length){if(!o)return x(R);if(o.currentConstruct&&o.currentConstruct.concrete)return S(R);a.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(Hg,y,m)(R)}function y(R){return o&&O(),w(u),x(R)}function m(R){return a.parser.lazy[a.now().line]=u!==i.length,c=a.now().offset,S(R)}function x(R){return a.containerState={},n.attempt(Hg,v,S)(R)}function v(R){return u++,i.push([a.currentConstruct,a.containerState]),x(R)}function S(R){if(R===null){o&&O(),w(0),n.consume(R);return}return o=o||a.parser.flow(a.now()),n.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:f}),A(R)}function A(R){if(R===null){T(n.exit("chunkFlow"),!0),w(0),n.consume(R);return}return de(R)?(n.consume(R),T(n.exit("chunkFlow")),u=0,a.interrupt=void 0,d):(n.consume(R),A)}function T(R,J){const le=a.sliceStream(R);if(J&&le.push(null),R.previous=f,f&&(f.next=R),f=R,o.defineSkip(R.start),o.write(le),a.parser.lazy[R.start.line]){let F=o.events.length;for(;F--;)if(o.events[F][1].start.offset<c&&(!o.events[F][1].end||o.events[F][1].end.offset>c))return;const $=a.events.length;let oe=$,ce,j;for(;oe--;)if(a.events[oe][0]==="exit"&&a.events[oe][1].type==="chunkFlow"){if(ce){j=a.events[oe][1].end;break}ce=!0}for(w(u),F=$;F<a.events.length;)a.events[F][1].end={...j},F++;Zt(a.events,oe+1,0,a.events.slice($)),a.events.length=F}}function w(R){let J=i.length;for(;J-- >R;){const le=i[J];a.containerState=le[1],le[0].exit.call(a,n)}i.length=R}function O(){o.write([null]),f=void 0,o=void 0,a.containerState._closeFlow=void 0}}function NS(n,a,i){return Me(n,n.attempt(this.parser.constructs.document,a,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Na(n){if(n===null||Ve(n)||ql(n))return 1;if(Ou(n))return 2}function Ru(n,a,i){const u=[];let o=-1;for(;++o<n.length;){const f=n[o].resolveAll;f&&!u.includes(f)&&(a=f(a,i),u.push(f))}return a}const _c={name:"attention",resolveAll:LS,tokenize:BS};function LS(n,a){let i=-1,u,o,f,c,d,g,h,y;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(u=i;u--;)if(n[u][0]==="exit"&&n[u][1].type==="attentionSequence"&&n[u][1]._open&&a.sliceSerialize(n[u][1]).charCodeAt(0)===a.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[u][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[u][1].end.offset-n[u][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;g=n[u][1].end.offset-n[u][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const m={...n[u][1].end},x={...n[i][1].start};Fg(m,-g),Fg(x,g),c={type:g>1?"strongSequence":"emphasisSequence",start:m,end:{...n[u][1].end}},d={type:g>1?"strongSequence":"emphasisSequence",start:{...n[i][1].start},end:x},f={type:g>1?"strongText":"emphasisText",start:{...n[u][1].end},end:{...n[i][1].start}},o={type:g>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},n[u][1].end={...c.start},n[i][1].start={...d.end},h=[],n[u][1].end.offset-n[u][1].start.offset&&(h=an(h,[["enter",n[u][1],a],["exit",n[u][1],a]])),h=an(h,[["enter",o,a],["enter",c,a],["exit",c,a],["enter",f,a]]),h=an(h,Ru(a.parser.constructs.insideSpan.null,n.slice(u+1,i),a)),h=an(h,[["exit",f,a],["enter",d,a],["exit",d,a],["exit",o,a]]),n[i][1].end.offset-n[i][1].start.offset?(y=2,h=an(h,[["enter",n[i][1],a],["exit",n[i][1],a]])):y=0,Zt(n,u-1,i-u+3,h),i=u+h.length-y-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function BS(n,a){const i=this.parser.constructs.attentionMarkers.null,u=this.previous,o=Na(u);let f;return c;function c(g){return f=g,n.enter("attentionSequence"),d(g)}function d(g){if(g===f)return n.consume(g),d;const h=n.exit("attentionSequence"),y=Na(g),m=!y||y===2&&o||i.includes(g),x=!o||o===2&&y||i.includes(u);return h._open=!!(f===42?m:m&&(o||!x)),h._close=!!(f===42?x:x&&(y||!m)),a(g)}}function Fg(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const US={name:"autolink",tokenize:jS};function jS(n,a,i){let u=0;return o;function o(v){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(v),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),f}function f(v){return kt(v)?(n.consume(v),c):v===64?i(v):h(v)}function c(v){return v===43||v===45||v===46||yt(v)?(u=1,d(v)):h(v)}function d(v){return v===58?(n.consume(v),u=0,g):(v===43||v===45||v===46||yt(v))&&u++<32?(n.consume(v),d):(u=0,h(v))}function g(v){return v===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(v),n.exit("autolinkMarker"),n.exit("autolink"),a):v===null||v===32||v===60||ku(v)?i(v):(n.consume(v),g)}function h(v){return v===64?(n.consume(v),y):CS(v)?(n.consume(v),h):i(v)}function y(v){return yt(v)?m(v):i(v)}function m(v){return v===46?(n.consume(v),u=0,y):v===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(v),n.exit("autolinkMarker"),n.exit("autolink"),a):x(v)}function x(v){if((v===45||yt(v))&&u++<63){const S=v===45?x:m;return n.consume(v),S}return i(v)}}const Qi={partial:!0,tokenize:HS};function HS(n,a,i){return u;function u(f){return _e(f)?Me(n,o,"linePrefix")(f):o(f)}function o(f){return f===null||de(f)?a(f):i(f)}}const ny={continuation:{tokenize:qS},exit:GS,name:"blockQuote",tokenize:FS};function FS(n,a,i){const u=this;return o;function o(c){if(c===62){const d=u.containerState;return d.open||(n.enter("blockQuote",{_container:!0}),d.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(c),n.exit("blockQuoteMarker"),f}return i(c)}function f(c){return _e(c)?(n.enter("blockQuotePrefixWhitespace"),n.consume(c),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),a):(n.exit("blockQuotePrefix"),a(c))}}function qS(n,a,i){const u=this;return o;function o(c){return _e(c)?Me(n,f,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):f(c)}function f(c){return n.attempt(ny,a,i)(c)}}function GS(n){n.exit("blockQuote")}const ly={name:"characterEscape",tokenize:YS};function YS(n,a,i){return u;function u(f){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(f),n.exit("escapeMarker"),o}function o(f){return zS(f)?(n.enter("characterEscapeValue"),n.consume(f),n.exit("characterEscapeValue"),n.exit("characterEscape"),a):i(f)}}const ay={name:"characterReference",tokenize:IS};function IS(n,a,i){const u=this;let o=0,f,c;return d;function d(m){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(m),n.exit("characterReferenceMarker"),g}function g(m){return m===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(m),n.exit("characterReferenceMarkerNumeric"),h):(n.enter("characterReferenceValue"),f=31,c=yt,y(m))}function h(m){return m===88||m===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(m),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),f=6,c=_S,y):(n.enter("characterReferenceValue"),f=7,c=Cc,y(m))}function y(m){if(m===59&&o){const x=n.exit("characterReferenceValue");return c===yt&&!Xc(u.sliceSerialize(x))?i(m):(n.enter("characterReferenceMarker"),n.consume(m),n.exit("characterReferenceMarker"),n.exit("characterReference"),a)}return c(m)&&o++<f?(n.consume(m),y):i(m)}}const qg={partial:!0,tokenize:ZS},Gg={concrete:!0,name:"codeFenced",tokenize:VS};function VS(n,a,i){const u=this,o={partial:!0,tokenize:le};let f=0,c=0,d;return g;function g(F){return h(F)}function h(F){const $=u.events[u.events.length-1];return f=$&&$[1].type==="linePrefix"?$[2].sliceSerialize($[1],!0).length:0,d=F,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),y(F)}function y(F){return F===d?(c++,n.consume(F),y):c<3?i(F):(n.exit("codeFencedFenceSequence"),_e(F)?Me(n,m,"whitespace")(F):m(F))}function m(F){return F===null||de(F)?(n.exit("codeFencedFence"),u.interrupt?a(F):n.check(qg,A,J)(F)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),x(F))}function x(F){return F===null||de(F)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),m(F)):_e(F)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Me(n,v,"whitespace")(F)):F===96&&F===d?i(F):(n.consume(F),x)}function v(F){return F===null||de(F)?m(F):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),S(F))}function S(F){return F===null||de(F)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),m(F)):F===96&&F===d?i(F):(n.consume(F),S)}function A(F){return n.attempt(o,J,T)(F)}function T(F){return n.enter("lineEnding"),n.consume(F),n.exit("lineEnding"),w}function w(F){return f>0&&_e(F)?Me(n,O,"linePrefix",f+1)(F):O(F)}function O(F){return F===null||de(F)?n.check(qg,A,J)(F):(n.enter("codeFlowValue"),R(F))}function R(F){return F===null||de(F)?(n.exit("codeFlowValue"),O(F)):(n.consume(F),R)}function J(F){return n.exit("codeFenced"),a(F)}function le(F,$,oe){let ce=0;return j;function j(Q){return F.enter("lineEnding"),F.consume(Q),F.exit("lineEnding"),ne}function ne(Q){return F.enter("codeFencedFence"),_e(Q)?Me(F,te,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):te(Q)}function te(Q){return Q===d?(F.enter("codeFencedFenceSequence"),ve(Q)):oe(Q)}function ve(Q){return Q===d?(ce++,F.consume(Q),ve):ce>=c?(F.exit("codeFencedFenceSequence"),_e(Q)?Me(F,W,"whitespace")(Q):W(Q)):oe(Q)}function W(Q){return Q===null||de(Q)?(F.exit("codeFencedFence"),$(Q)):oe(Q)}}}function ZS(n,a,i){const u=this;return o;function o(c){return c===null?i(c):(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),f)}function f(c){return u.parser.lazy[u.now().line]?i(c):a(c)}}const rc={name:"codeIndented",tokenize:QS},XS={partial:!0,tokenize:KS};function QS(n,a,i){const u=this;return o;function o(h){return n.enter("codeIndented"),Me(n,f,"linePrefix",5)(h)}function f(h){const y=u.events[u.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?c(h):i(h)}function c(h){return h===null?g(h):de(h)?n.attempt(XS,c,g)(h):(n.enter("codeFlowValue"),d(h))}function d(h){return h===null||de(h)?(n.exit("codeFlowValue"),c(h)):(n.consume(h),d)}function g(h){return n.exit("codeIndented"),a(h)}}function KS(n,a,i){const u=this;return o;function o(c){return u.parser.lazy[u.now().line]?i(c):de(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),o):Me(n,f,"linePrefix",5)(c)}function f(c){const d=u.events[u.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):de(c)?o(c):i(c)}}const $S={name:"codeText",previous:PS,resolve:JS,tokenize:WS};function JS(n){let a=n.length-4,i=3,u,o;if((n[i][1].type==="lineEnding"||n[i][1].type==="space")&&(n[a][1].type==="lineEnding"||n[a][1].type==="space")){for(u=i;++u<a;)if(n[u][1].type==="codeTextData"){n[i][1].type="codeTextPadding",n[a][1].type="codeTextPadding",i+=2,a-=2;break}}for(u=i-1,a++;++u<=a;)o===void 0?u!==a&&n[u][1].type!=="lineEnding"&&(o=u):(u===a||n[u][1].type==="lineEnding")&&(n[o][1].type="codeTextData",u!==o+2&&(n[o][1].end=n[u-1][1].end,n.splice(o+2,u-o-2),a-=u-o-2,u=o+2),o=void 0);return n}function PS(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function WS(n,a,i){let u=0,o,f;return c;function c(m){return n.enter("codeText"),n.enter("codeTextSequence"),d(m)}function d(m){return m===96?(n.consume(m),u++,d):(n.exit("codeTextSequence"),g(m))}function g(m){return m===null?i(m):m===32?(n.enter("space"),n.consume(m),n.exit("space"),g):m===96?(f=n.enter("codeTextSequence"),o=0,y(m)):de(m)?(n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),g):(n.enter("codeTextData"),h(m))}function h(m){return m===null||m===32||m===96||de(m)?(n.exit("codeTextData"),g(m)):(n.consume(m),h)}function y(m){return m===96?(n.consume(m),o++,y):o===u?(n.exit("codeTextSequence"),n.exit("codeText"),a(m)):(f.type="codeTextData",h(m))}}class ek{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,i){const u=i??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(a,u):a>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(a,i,u){const o=i||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&Ni(this.left,u),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),Ni(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),Ni(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 i=this.left.splice(a,Number.POSITIVE_INFINITY);Ni(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);Ni(this.left,i.reverse())}}}function Ni(n,a){let i=0;if(a.length<1e4)n.push(...a);else for(;i<a.length;)n.push(...a.slice(i,i+1e4)),i+=1e4}function iy(n){const a={};let i=-1,u,o,f,c,d,g,h;const y=new ek(n);for(;++i<y.length;){for(;i in a;)i=a[i];if(u=y.get(i),i&&u[1].type==="chunkFlow"&&y.get(i-1)[1].type==="listItemPrefix"&&(g=u[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(u[0]==="enter")u[1].contentType&&(Object.assign(a,tk(y,i)),i=a[i],h=!0);else if(u[1]._container){for(f=i,o=void 0;f--;)if(c=y.get(f),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(o&&(y.get(o)[1].type="lineEndingBlank"),c[1].type="lineEnding",o=f);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;o&&(u[1].end={...y.get(o)[1].start},d=y.slice(o,i),d.unshift(u),y.splice(o,i-o+1,d))}}return Zt(n,0,Number.POSITIVE_INFINITY,y.slice(0)),!h}function tk(n,a){const i=n.get(a)[1],u=n.get(a)[2];let o=a-1;const f=[];let c=i._tokenizer;c||(c=u.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const d=c.events,g=[],h={};let y,m,x=-1,v=i,S=0,A=0;const T=[A];for(;v;){for(;n.get(++o)[1]!==v;);f.push(o),v._tokenizer||(y=u.sliceStream(v),v.next||y.push(null),m&&c.defineSkip(v.start),v._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(y),v._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),m=v,v=v.next}for(v=i;++x<d.length;)d[x][0]==="exit"&&d[x-1][0]==="enter"&&d[x][1].type===d[x-1][1].type&&d[x][1].start.line!==d[x][1].end.line&&(A=x+1,T.push(A),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(c.events=[],v?(v._tokenizer=void 0,v.previous=void 0):T.pop(),x=T.length;x--;){const w=d.slice(T[x],T[x+1]),O=f.pop();g.push([O,O+w.length-1]),n.splice(O,2,w)}for(g.reverse(),x=-1;++x<g.length;)h[S+g[x][0]]=S+g[x][1],S+=g[x][1]-g[x][0]-1;return h}const nk={resolve:ak,tokenize:ik},lk={partial:!0,tokenize:rk};function ak(n){return iy(n),n}function ik(n,a){let i;return u;function u(d){return n.enter("content"),i=n.enter("chunkContent",{contentType:"content"}),o(d)}function o(d){return d===null?f(d):de(d)?n.check(lk,c,f)(d):(n.consume(d),o)}function f(d){return n.exit("chunkContent"),n.exit("content"),a(d)}function c(d){return n.consume(d),n.exit("chunkContent"),i.next=n.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,o}}function rk(n,a,i){const u=this;return o;function o(c){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),Me(n,f,"linePrefix")}function f(c){if(c===null||de(c))return i(c);const d=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n.interrupt(u.parser.constructs.flow,i,a)(c)}}function ry(n,a,i,u,o,f,c,d,g){const h=g||Number.POSITIVE_INFINITY;let y=0;return m;function m(w){return w===60?(n.enter(u),n.enter(o),n.enter(f),n.consume(w),n.exit(f),x):w===null||w===32||w===41||ku(w)?i(w):(n.enter(u),n.enter(c),n.enter(d),n.enter("chunkString",{contentType:"string"}),A(w))}function x(w){return w===62?(n.enter(f),n.consume(w),n.exit(f),n.exit(o),n.exit(u),a):(n.enter(d),n.enter("chunkString",{contentType:"string"}),v(w))}function v(w){return w===62?(n.exit("chunkString"),n.exit(d),x(w)):w===null||w===60||de(w)?i(w):(n.consume(w),w===92?S:v)}function S(w){return w===60||w===62||w===92?(n.consume(w),v):v(w)}function A(w){return!y&&(w===null||w===41||Ve(w))?(n.exit("chunkString"),n.exit(d),n.exit(c),n.exit(u),a(w)):y<h&&w===40?(n.consume(w),y++,A):w===41?(n.consume(w),y--,A):w===null||w===32||w===40||ku(w)?i(w):(n.consume(w),w===92?T:A)}function T(w){return w===40||w===41||w===92?(n.consume(w),A):A(w)}}function uy(n,a,i,u,o,f){const c=this;let d=0,g;return h;function h(v){return n.enter(u),n.enter(o),n.consume(v),n.exit(o),n.enter(f),y}function y(v){return d>999||v===null||v===91||v===93&&!g||v===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?i(v):v===93?(n.exit(f),n.enter(o),n.consume(v),n.exit(o),n.exit(u),a):de(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),y):(n.enter("chunkString",{contentType:"string"}),m(v))}function m(v){return v===null||v===91||v===93||de(v)||d++>999?(n.exit("chunkString"),y(v)):(n.consume(v),g||(g=!_e(v)),v===92?x:m)}function x(v){return v===91||v===92||v===93?(n.consume(v),d++,m):m(v)}}function oy(n,a,i,u,o,f){let c;return d;function d(x){return x===34||x===39||x===40?(n.enter(u),n.enter(o),n.consume(x),n.exit(o),c=x===40?41:x,g):i(x)}function g(x){return x===c?(n.enter(o),n.consume(x),n.exit(o),n.exit(u),a):(n.enter(f),h(x))}function h(x){return x===c?(n.exit(f),g(c)):x===null?i(x):de(x)?(n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),Me(n,h,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===c||x===null||de(x)?(n.exit("chunkString"),h(x)):(n.consume(x),x===92?m:y)}function m(x){return x===c||x===92?(n.consume(x),y):y(x)}}function Hi(n,a){let i;return u;function u(o){return de(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i=!0,u):_e(o)?Me(n,u,i?"linePrefix":"lineSuffix")(o):a(o)}}const uk={name:"definition",tokenize:sk},ok={partial:!0,tokenize:ck};function sk(n,a,i){const u=this;let o;return f;function f(v){return n.enter("definition"),c(v)}function c(v){return uy.call(u,n,d,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return o=hn(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),v===58?(n.enter("definitionMarker"),n.consume(v),n.exit("definitionMarker"),g):i(v)}function g(v){return Ve(v)?Hi(n,h)(v):h(v)}function h(v){return ry(n,y,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function y(v){return n.attempt(ok,m,m)(v)}function m(v){return _e(v)?Me(n,x,"whitespace")(v):x(v)}function x(v){return v===null||de(v)?(n.exit("definition"),u.parser.defined.push(o),a(v)):i(v)}}function ck(n,a,i){return u;function u(d){return Ve(d)?Hi(n,o)(d):i(d)}function o(d){return oy(n,f,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function f(d){return _e(d)?Me(n,c,"whitespace")(d):c(d)}function c(d){return d===null||de(d)?a(d):i(d)}}const fk={name:"hardBreakEscape",tokenize:pk};function pk(n,a,i){return u;function u(f){return n.enter("hardBreakEscape"),n.consume(f),o}function o(f){return de(f)?(n.exit("hardBreakEscape"),a(f)):i(f)}}const hk={name:"headingAtx",resolve:dk,tokenize:gk};function dk(n,a){let i=n.length-2,u=3,o,f;return n[u][1].type==="whitespace"&&(u+=2),i-2>u&&n[i][1].type==="whitespace"&&(i-=2),n[i][1].type==="atxHeadingSequence"&&(u===i-1||i-4>u&&n[i-2][1].type==="whitespace")&&(i-=u+1===i?2:4),i>u&&(o={type:"atxHeadingText",start:n[u][1].start,end:n[i][1].end},f={type:"chunkText",start:n[u][1].start,end:n[i][1].end,contentType:"text"},Zt(n,u,i-u+1,[["enter",o,a],["enter",f,a],["exit",f,a],["exit",o,a]])),n}function gk(n,a,i){let u=0;return o;function o(y){return n.enter("atxHeading"),f(y)}function f(y){return n.enter("atxHeadingSequence"),c(y)}function c(y){return y===35&&u++<6?(n.consume(y),c):y===null||Ve(y)?(n.exit("atxHeadingSequence"),d(y)):i(y)}function d(y){return y===35?(n.enter("atxHeadingSequence"),g(y)):y===null||de(y)?(n.exit("atxHeading"),a(y)):_e(y)?Me(n,d,"whitespace")(y):(n.enter("atxHeadingText"),h(y))}function g(y){return y===35?(n.consume(y),g):(n.exit("atxHeadingSequence"),d(y))}function h(y){return y===null||y===35||Ve(y)?(n.exit("atxHeadingText"),d(y)):(n.consume(y),h)}}const mk=["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"],Yg=["pre","script","style","textarea"],yk={concrete:!0,name:"htmlFlow",resolveTo:xk,tokenize:Sk},bk={partial:!0,tokenize:Ek},vk={partial:!0,tokenize:kk};function xk(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type==="htmlFlow"););return a>1&&n[a-2][1].type==="linePrefix"&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function Sk(n,a,i){const u=this;let o,f,c,d,g;return h;function h(E){return y(E)}function y(E){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(E),m}function m(E){return E===33?(n.consume(E),x):E===47?(n.consume(E),f=!0,A):E===63?(n.consume(E),o=3,u.interrupt?a:C):kt(E)?(n.consume(E),c=String.fromCharCode(E),T):i(E)}function x(E){return E===45?(n.consume(E),o=2,v):E===91?(n.consume(E),o=5,d=0,S):kt(E)?(n.consume(E),o=4,u.interrupt?a:C):i(E)}function v(E){return E===45?(n.consume(E),u.interrupt?a:C):i(E)}function S(E){const K="CDATA[";return E===K.charCodeAt(d++)?(n.consume(E),d===K.length?u.interrupt?a:te:S):i(E)}function A(E){return kt(E)?(n.consume(E),c=String.fromCharCode(E),T):i(E)}function T(E){if(E===null||E===47||E===62||Ve(E)){const K=E===47,ue=c.toLowerCase();return!K&&!f&&Yg.includes(ue)?(o=1,u.interrupt?a(E):te(E)):mk.includes(c.toLowerCase())?(o=6,K?(n.consume(E),w):u.interrupt?a(E):te(E)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?i(E):f?O(E):R(E))}return E===45||yt(E)?(n.consume(E),c+=String.fromCharCode(E),T):i(E)}function w(E){return E===62?(n.consume(E),u.interrupt?a:te):i(E)}function O(E){return _e(E)?(n.consume(E),O):j(E)}function R(E){return E===47?(n.consume(E),j):E===58||E===95||kt(E)?(n.consume(E),J):_e(E)?(n.consume(E),R):j(E)}function J(E){return E===45||E===46||E===58||E===95||yt(E)?(n.consume(E),J):le(E)}function le(E){return E===61?(n.consume(E),F):_e(E)?(n.consume(E),le):R(E)}function F(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(n.consume(E),g=E,$):_e(E)?(n.consume(E),F):oe(E)}function $(E){return E===g?(n.consume(E),g=null,ce):E===null||de(E)?i(E):(n.consume(E),$)}function oe(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Ve(E)?le(E):(n.consume(E),oe)}function ce(E){return E===47||E===62||_e(E)?R(E):i(E)}function j(E){return E===62?(n.consume(E),ne):i(E)}function ne(E){return E===null||de(E)?te(E):_e(E)?(n.consume(E),ne):i(E)}function te(E){return E===45&&o===2?(n.consume(E),N):E===60&&o===1?(n.consume(E),X):E===62&&o===4?(n.consume(E),z):E===63&&o===3?(n.consume(E),C):E===93&&o===5?(n.consume(E),xe):de(E)&&(o===6||o===7)?(n.exit("htmlFlowData"),n.check(bk,L,ve)(E)):E===null||de(E)?(n.exit("htmlFlowData"),ve(E)):(n.consume(E),te)}function ve(E){return n.check(vk,W,L)(E)}function W(E){return n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),Q}function Q(E){return E===null||de(E)?ve(E):(n.enter("htmlFlowData"),te(E))}function N(E){return E===45?(n.consume(E),C):te(E)}function X(E){return E===47?(n.consume(E),c="",ie):te(E)}function ie(E){if(E===62){const K=c.toLowerCase();return Yg.includes(K)?(n.consume(E),z):te(E)}return kt(E)&&c.length<8?(n.consume(E),c+=String.fromCharCode(E),ie):te(E)}function xe(E){return E===93?(n.consume(E),C):te(E)}function C(E){return E===62?(n.consume(E),z):E===45&&o===2?(n.consume(E),C):te(E)}function z(E){return E===null||de(E)?(n.exit("htmlFlowData"),L(E)):(n.consume(E),z)}function L(E){return n.exit("htmlFlow"),a(E)}}function kk(n,a,i){const u=this;return o;function o(c){return de(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),f):i(c)}function f(c){return u.parser.lazy[u.now().line]?i(c):a(c)}}function Ek(n,a,i){return u;function u(o){return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),n.attempt(Qi,a,i)}}const Ak={name:"htmlText",tokenize:wk};function wk(n,a,i){const u=this;let o,f,c;return d;function d(C){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(C),g}function g(C){return C===33?(n.consume(C),h):C===47?(n.consume(C),le):C===63?(n.consume(C),R):kt(C)?(n.consume(C),oe):i(C)}function h(C){return C===45?(n.consume(C),y):C===91?(n.consume(C),f=0,S):kt(C)?(n.consume(C),O):i(C)}function y(C){return C===45?(n.consume(C),v):i(C)}function m(C){return C===null?i(C):C===45?(n.consume(C),x):de(C)?(c=m,X(C)):(n.consume(C),m)}function x(C){return C===45?(n.consume(C),v):m(C)}function v(C){return C===62?N(C):C===45?x(C):m(C)}function S(C){const z="CDATA[";return C===z.charCodeAt(f++)?(n.consume(C),f===z.length?A:S):i(C)}function A(C){return C===null?i(C):C===93?(n.consume(C),T):de(C)?(c=A,X(C)):(n.consume(C),A)}function T(C){return C===93?(n.consume(C),w):A(C)}function w(C){return C===62?N(C):C===93?(n.consume(C),w):A(C)}function O(C){return C===null||C===62?N(C):de(C)?(c=O,X(C)):(n.consume(C),O)}function R(C){return C===null?i(C):C===63?(n.consume(C),J):de(C)?(c=R,X(C)):(n.consume(C),R)}function J(C){return C===62?N(C):R(C)}function le(C){return kt(C)?(n.consume(C),F):i(C)}function F(C){return C===45||yt(C)?(n.consume(C),F):$(C)}function $(C){return de(C)?(c=$,X(C)):_e(C)?(n.consume(C),$):N(C)}function oe(C){return C===45||yt(C)?(n.consume(C),oe):C===47||C===62||Ve(C)?ce(C):i(C)}function ce(C){return C===47?(n.consume(C),N):C===58||C===95||kt(C)?(n.consume(C),j):de(C)?(c=ce,X(C)):_e(C)?(n.consume(C),ce):N(C)}function j(C){return C===45||C===46||C===58||C===95||yt(C)?(n.consume(C),j):ne(C)}function ne(C){return C===61?(n.consume(C),te):de(C)?(c=ne,X(C)):_e(C)?(n.consume(C),ne):ce(C)}function te(C){return C===null||C===60||C===61||C===62||C===96?i(C):C===34||C===39?(n.consume(C),o=C,ve):de(C)?(c=te,X(C)):_e(C)?(n.consume(C),te):(n.consume(C),W)}function ve(C){return C===o?(n.consume(C),o=void 0,Q):C===null?i(C):de(C)?(c=ve,X(C)):(n.consume(C),ve)}function W(C){return C===null||C===34||C===39||C===60||C===61||C===96?i(C):C===47||C===62||Ve(C)?ce(C):(n.consume(C),W)}function Q(C){return C===47||C===62||Ve(C)?ce(C):i(C)}function N(C){return C===62?(n.consume(C),n.exit("htmlTextData"),n.exit("htmlText"),a):i(C)}function X(C){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(C),n.exit("lineEnding"),ie}function ie(C){return _e(C)?Me(n,xe,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):xe(C)}function xe(C){return n.enter("htmlTextData"),c(C)}}const Qc={name:"labelEnd",resolveAll:zk,resolveTo:Dk,tokenize:Ok},Tk={tokenize:Rk},Ck={tokenize:Mk},_k={tokenize:Nk};function zk(n){let a=-1;const i=[];for(;++a<n.length;){const u=n[a][1];if(i.push(n[a]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const o=u.type==="labelImage"?4:2;u.type="data",a+=o}}return n.length!==i.length&&Zt(n,0,n.length,i),n}function Dk(n,a){let i=n.length,u=0,o,f,c,d;for(;i--;)if(o=n[i][1],f){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;n[i][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(c){if(n[i][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(f=i,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(c=i);const g={type:n[f][1].type==="labelLink"?"link":"image",start:{...n[f][1].start},end:{...n[n.length-1][1].end}},h={type:"label",start:{...n[f][1].start},end:{...n[c][1].end}},y={type:"labelText",start:{...n[f+u+2][1].end},end:{...n[c-2][1].start}};return d=[["enter",g,a],["enter",h,a]],d=an(d,n.slice(f+1,f+u+3)),d=an(d,[["enter",y,a]]),d=an(d,Ru(a.parser.constructs.insideSpan.null,n.slice(f+u+4,c-3),a)),d=an(d,[["exit",y,a],n[c-2],n[c-1],["exit",h,a]]),d=an(d,n.slice(c+1)),d=an(d,[["exit",g,a]]),Zt(n,f,n.length,d),n}function Ok(n,a,i){const u=this;let o=u.events.length,f,c;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){f=u.events[o][1];break}return d;function d(x){return f?f._inactive?m(x):(c=u.parser.defined.includes(hn(u.sliceSerialize({start:f.end,end:u.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(x),n.exit("labelMarker"),n.exit("labelEnd"),g):i(x)}function g(x){return x===40?n.attempt(Tk,y,c?y:m)(x):x===91?n.attempt(Ck,y,c?h:m)(x):c?y(x):m(x)}function h(x){return n.attempt(_k,y,m)(x)}function y(x){return a(x)}function m(x){return f._balanced=!0,i(x)}}function Rk(n,a,i){return u;function u(m){return n.enter("resource"),n.enter("resourceMarker"),n.consume(m),n.exit("resourceMarker"),o}function o(m){return Ve(m)?Hi(n,f)(m):f(m)}function f(m){return m===41?y(m):ry(n,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function c(m){return Ve(m)?Hi(n,g)(m):y(m)}function d(m){return i(m)}function g(m){return m===34||m===39||m===40?oy(n,h,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):y(m)}function h(m){return Ve(m)?Hi(n,y)(m):y(m)}function y(m){return m===41?(n.enter("resourceMarker"),n.consume(m),n.exit("resourceMarker"),n.exit("resource"),a):i(m)}}function Mk(n,a,i){const u=this;return o;function o(d){return uy.call(u,n,f,c,"reference","referenceMarker","referenceString")(d)}function f(d){return u.parser.defined.includes(hn(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?a(d):i(d)}function c(d){return i(d)}}function Nk(n,a,i){return u;function u(f){return n.enter("reference"),n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),o}function o(f){return f===93?(n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),n.exit("reference"),a):i(f)}}const Lk={name:"labelStartImage",resolveAll:Qc.resolveAll,tokenize:Bk};function Bk(n,a,i){const u=this;return o;function o(d){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(d),n.exit("labelImageMarker"),f}function f(d){return d===91?(n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelImage"),c):i(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(d):a(d)}}const Uk={name:"labelStartLink",resolveAll:Qc.resolveAll,tokenize:jk};function jk(n,a,i){const u=this;return o;function o(c){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(c),n.exit("labelMarker"),n.exit("labelLink"),f}function f(c){return c===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(c):a(c)}}const uc={name:"lineEnding",tokenize:Hk};function Hk(n,a){return i;function i(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),Me(n,a,"linePrefix")}}const vu={name:"thematicBreak",tokenize:Fk};function Fk(n,a,i){let u=0,o;return f;function f(h){return n.enter("thematicBreak"),c(h)}function c(h){return o=h,d(h)}function d(h){return h===o?(n.enter("thematicBreakSequence"),g(h)):u>=3&&(h===null||de(h))?(n.exit("thematicBreak"),a(h)):i(h)}function g(h){return h===o?(n.consume(h),u++,g):(n.exit("thematicBreakSequence"),_e(h)?Me(n,d,"whitespace")(h):d(h))}}const Rt={continuation:{tokenize:Ik},exit:Zk,name:"list",tokenize:Yk},qk={partial:!0,tokenize:Xk},Gk={partial:!0,tokenize:Vk};function Yk(n,a,i){const u=this,o=u.events[u.events.length-1];let f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,c=0;return d;function d(v){const S=u.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!u.containerState.marker||v===u.containerState.marker:Cc(v)){if(u.containerState.type||(u.containerState.type=S,n.enter(S,{_container:!0})),S==="listUnordered")return n.enter("listItemPrefix"),v===42||v===45?n.check(vu,i,h)(v):h(v);if(!u.interrupt||v===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),g(v)}return i(v)}function g(v){return Cc(v)&&++c<10?(n.consume(v),g):(!u.interrupt||c<2)&&(u.containerState.marker?v===u.containerState.marker:v===41||v===46)?(n.exit("listItemValue"),h(v)):i(v)}function h(v){return n.enter("listItemMarker"),n.consume(v),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||v,n.check(Qi,u.interrupt?i:y,n.attempt(qk,x,m))}function y(v){return u.containerState.initialBlankLine=!0,f++,x(v)}function m(v){return _e(v)?(n.enter("listItemPrefixWhitespace"),n.consume(v),n.exit("listItemPrefixWhitespace"),x):i(v)}function x(v){return u.containerState.size=f+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,a(v)}}function Ik(n,a,i){const u=this;return u.containerState._closeFlow=void 0,n.check(Qi,o,f);function o(d){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,Me(n,a,"listItemIndent",u.containerState.size+1)(d)}function f(d){return u.containerState.furtherBlankLines||!_e(d)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,c(d)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(Gk,a,c)(d))}function c(d){return u.containerState._closeFlow=!0,u.interrupt=void 0,Me(n,n.attempt(Rt,a,i),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function Vk(n,a,i){const u=this;return Me(n,o,"listItemIndent",u.containerState.size+1);function o(f){const c=u.events[u.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===u.containerState.size?a(f):i(f)}}function Zk(n){n.exit(this.containerState.type)}function Xk(n,a,i){const u=this;return Me(n,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(f){const c=u.events[u.events.length-1];return!_e(f)&&c&&c[1].type==="listItemPrefixWhitespace"?a(f):i(f)}}const Ig={name:"setextUnderline",resolveTo:Qk,tokenize:Kk};function Qk(n,a){let i=n.length,u,o,f;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type==="content"){u=i;break}n[i][1].type==="paragraph"&&(o=i)}else n[i][1].type==="content"&&n.splice(i,1),!f&&n[i][1].type==="definition"&&(f=i);const c={type:"setextHeading",start:{...n[u][1].start},end:{...n[n.length-1][1].end}};return n[o][1].type="setextHeadingText",f?(n.splice(o,0,["enter",c,a]),n.splice(f+1,0,["exit",n[u][1],a]),n[u][1].end={...n[f][1].end}):n[u][1]=c,n.push(["exit",c,a]),n}function Kk(n,a,i){const u=this;let o;return f;function f(h){let y=u.events.length,m;for(;y--;)if(u.events[y][1].type!=="lineEnding"&&u.events[y][1].type!=="linePrefix"&&u.events[y][1].type!=="content"){m=u.events[y][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||m)?(n.enter("setextHeadingLine"),o=h,c(h)):i(h)}function c(h){return n.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===o?(n.consume(h),d):(n.exit("setextHeadingLineSequence"),_e(h)?Me(n,g,"lineSuffix")(h):g(h))}function g(h){return h===null||de(h)?(n.exit("setextHeadingLine"),a(h)):i(h)}}const $k={tokenize:Jk};function Jk(n){const a=this,i=n.attempt(Qi,u,n.attempt(this.parser.constructs.flowInitial,o,Me(n,n.attempt(this.parser.constructs.flow,o,n.attempt(nk,o)),"linePrefix")));return i;function u(f){if(f===null){n.consume(f);return}return n.enter("lineEndingBlank"),n.consume(f),n.exit("lineEndingBlank"),a.currentConstruct=void 0,i}function o(f){if(f===null){n.consume(f);return}return n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),a.currentConstruct=void 0,i}}const Pk={resolveAll:cy()},Wk=sy("string"),eE=sy("text");function sy(n){return{resolveAll:cy(n==="text"?tE:void 0),tokenize:a};function a(i){const u=this,o=this.parser.constructs[n],f=i.attempt(o,c,d);return c;function c(y){return h(y)?f(y):d(y)}function d(y){if(y===null){i.consume(y);return}return i.enter("data"),i.consume(y),g}function g(y){return h(y)?(i.exit("data"),f(y)):(i.consume(y),g)}function h(y){if(y===null)return!0;const m=o[y];let x=-1;if(m)for(;++x<m.length;){const v=m[x];if(!v.previous||v.previous.call(u,u.previous))return!0}return!1}}}function cy(n){return a;function a(i,u){let o=-1,f;for(;++o<=i.length;)f===void 0?i[o]&&i[o][1].type==="data"&&(f=o,o++):(!i[o]||i[o][1].type!=="data")&&(o!==f+2&&(i[f][1].end=i[o-1][1].end,i.splice(f+2,o-f-2),o=f+2),f=void 0);return n?n(i,u):i}}function tE(n,a){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type==="lineEnding")&&n[i-1][1].type==="data"){const u=n[i-1][1],o=a.sliceStream(u);let f=o.length,c=-1,d=0,g;for(;f--;){const h=o[f];if(typeof h=="string"){for(c=h.length;h.charCodeAt(c-1)===32;)d++,c--;if(c)break;c=-1}else if(h===-2)g=!0,d++;else if(h!==-1){f++;break}}if(a._contentTypeTextTrailing&&i===n.length&&(d=0),d){const h={type:i===n.length||g||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?c:u.start._bufferIndex+c,_index:u.start._index+f,line:u.end.line,column:u.end.column-d,offset:u.end.offset-d},end:{...u.end}};u.end={...h.start},u.start.offset===u.end.offset?Object.assign(u,h):(n.splice(i,0,["enter",h,a],["exit",h,a]),i+=2)}i++}return n}const nE={42:Rt,43:Rt,45:Rt,48:Rt,49:Rt,50:Rt,51:Rt,52:Rt,53:Rt,54:Rt,55:Rt,56:Rt,57:Rt,62:ny},lE={91:uk},aE={[-2]:rc,[-1]:rc,32:rc},iE={35:hk,42:vu,45:[Ig,vu],60:yk,61:Ig,95:vu,96:Gg,126:Gg},rE={38:ay,92:ly},uE={[-5]:uc,[-4]:uc,[-3]:uc,33:Lk,38:ay,42:_c,60:[US,Ak],91:Uk,92:[fk,ly],93:Qc,95:_c,96:$S},oE={null:[_c,Pk]},sE={null:[42,95]},cE={null:[]},fE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:sE,contentInitial:lE,disable:cE,document:nE,flow:iE,flowInitial:aE,insideSpan:oE,string:rE,text:uE},Symbol.toStringTag,{value:"Module"}));function pE(n,a,i){let u={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const o={},f=[];let c=[],d=[];const g={attempt:$(le),check:$(F),consume:O,enter:R,exit:J,interrupt:$(F,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:S,parser:n,previous:null,sliceSerialize:x,sliceStream:v,write:m};let y=a.tokenize.call(h,g);return a.resolveAll&&f.push(a),h;function m(ne){return c=an(c,ne),T(),c[c.length-1]!==null?[]:(oe(a,0),h.events=Ru(f,h.events,h),h.events)}function x(ne,te){return dE(v(ne),te)}function v(ne){return hE(c,ne)}function S(){const{_bufferIndex:ne,_index:te,line:ve,column:W,offset:Q}=u;return{_bufferIndex:ne,_index:te,line:ve,column:W,offset:Q}}function A(ne){o[ne.line]=ne.column,j()}function T(){let ne;for(;u._index<c.length;){const te=c[u._index];if(typeof te=="string")for(ne=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===ne&&u._bufferIndex<te.length;)w(te.charCodeAt(u._bufferIndex));else w(te)}}function w(ne){y=y(ne)}function O(ne){de(ne)?(u.line++,u.column=1,u.offset+=ne===-3?2:1,j()):ne!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===c[u._index].length&&(u._bufferIndex=-1,u._index++)),h.previous=ne}function R(ne,te){const ve=te||{};return ve.type=ne,ve.start=S(),h.events.push(["enter",ve,h]),d.push(ve),ve}function J(ne){const te=d.pop();return te.end=S(),h.events.push(["exit",te,h]),te}function le(ne,te){oe(ne,te.from)}function F(ne,te){te.restore()}function $(ne,te){return ve;function ve(W,Q,N){let X,ie,xe,C;return Array.isArray(W)?L(W):"tokenize"in W?L([W]):z(W);function z(re){return me;function me(Ae){const Oe=Ae!==null&&re[Ae],Et=Ae!==null&&re.null,un=[...Array.isArray(Oe)?Oe:Oe?[Oe]:[],...Array.isArray(Et)?Et:Et?[Et]:[]];return L(un)(Ae)}}function L(re){return X=re,ie=0,re.length===0?N:E(re[ie])}function E(re){return me;function me(Ae){return C=ce(),xe=re,re.partial||(h.currentConstruct=re),re.name&&h.parser.constructs.disable.null.includes(re.name)?ue():re.tokenize.call(te?Object.assign(Object.create(h),te):h,g,K,ue)(Ae)}}function K(re){return ne(xe,C),Q}function ue(re){return C.restore(),++ie<X.length?E(X[ie]):N}}}function oe(ne,te){ne.resolveAll&&!f.includes(ne)&&f.push(ne),ne.resolve&&Zt(h.events,te,h.events.length-te,ne.resolve(h.events.slice(te),h)),ne.resolveTo&&(h.events=ne.resolveTo(h.events,h))}function ce(){const ne=S(),te=h.previous,ve=h.currentConstruct,W=h.events.length,Q=Array.from(d);return{from:W,restore:N};function N(){u=ne,h.previous=te,h.currentConstruct=ve,h.events.length=W,d=Q,j()}}function j(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function hE(n,a){const i=a.start._index,u=a.start._bufferIndex,o=a.end._index,f=a.end._bufferIndex;let c;if(i===o)c=[n[i].slice(u,f)];else{if(c=n.slice(i,o),u>-1){const d=c[0];typeof d=="string"?c[0]=d.slice(u):c.shift()}f>0&&c.push(n[o].slice(0,f))}return c}function dE(n,a){let i=-1;const u=[];let o;for(;++i<n.length;){const f=n[i];let c;if(typeof f=="string")c=f;else switch(f){case-5:{c="\r";break}case-4:{c=`
13
+ `;break}case-3:{c=`\r
14
+ `;break}case-2:{c=a?" ":" ";break}case-1:{if(!a&&o)continue;c=" ";break}default:c=String.fromCharCode(f)}o=f===-2,u.push(c)}return u.join("")}function gE(n){const u={constructs:ey([fE,...(n||{}).extensions||[]]),content:o(DS),defined:[],document:o(RS),flow:o($k),lazy:{},string:o(Wk),text:o(eE)};return u;function o(f){return c;function c(d){return pE(u,f,d)}}}function mE(n){for(;!iy(n););return n}const Vg=/[\0\t\n\r]/g;function yE(){let n=1,a="",i=!0,u;return o;function o(f,c,d){const g=[];let h,y,m,x,v;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(c||void 0).decode(f)),m=0,a="",i&&(f.charCodeAt(0)===65279&&m++,i=void 0);m<f.length;){if(Vg.lastIndex=m,h=Vg.exec(f),x=h&&h.index!==void 0?h.index:f.length,v=f.charCodeAt(x),!h){a=f.slice(m);break}if(v===10&&m===x&&u)g.push(-3),u=void 0;else switch(u&&(g.push(-5),u=void 0),m<x&&(g.push(f.slice(m,x)),n+=x-m),v){case 0:{g.push(65533),n++;break}case 9:{for(y=Math.ceil(n/4)*4,g.push(-2);n++<y;)g.push(-1);break}case 10:{g.push(-4),n=1;break}default:u=!0,n=1}m=x+1}return d&&(u&&g.push(-5),a&&g.push(a),g.push(null)),g}}const bE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vE(n){return n.replace(bE,xE)}function xE(n,a,i){if(a)return a;if(i.charCodeAt(0)===35){const o=i.charCodeAt(1),f=o===120||o===88;return ty(i.slice(f?2:1),f?16:10)}return Xc(i)||n}const fy={}.hasOwnProperty;function SE(n,a,i){return a&&typeof a=="object"&&(i=a,a=void 0),kE(i)(mE(gE(i).document().write(yE()(n,a,!0))))}function kE(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Xt),autolinkProtocol:ce,autolinkEmail:ce,atxHeading:f(gt),blockQuote:f(Et),characterEscape:ce,characterReference:ce,codeFenced:f(un),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:f(un,c),codeText:f(xl,c),codeTextData:ce,data:ce,codeFlowValue:ce,definition:f(Il),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:f(Nt),hardBreakEscape:f(In),hardBreakTrailing:f(In),htmlFlow:f(Sl,c),htmlFlowData:ce,htmlText:f(Sl,c),htmlTextData:ce,image:f(on),label:c,link:f(Xt),listItem:f(dn),listItemValue:x,listOrdered:f(Lt,m),listUnordered:f(Lt),paragraph:f(En),reference:E,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:f(gt),strong:f(Bu),thematicBreak:f(Uu)},exit:{atxHeading:g(),atxHeadingSequence:le,autolink:g(),autolinkEmail:Oe,autolinkProtocol:Ae,blockQuote:g(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:ue,characterReferenceMarkerNumeric:ue,characterReferenceValue:re,characterReference:me,codeFenced:g(T),codeFencedFence:A,codeFencedFenceInfo:v,codeFencedFenceMeta:S,codeFlowValue:j,codeIndented:g(w),codeText:g(Q),codeTextData:j,data:j,definition:g(),definitionDestinationString:J,definitionLabelString:O,definitionTitleString:R,emphasis:g(),hardBreakEscape:g(te),hardBreakTrailing:g(te),htmlFlow:g(ve),htmlFlowData:j,htmlText:g(W),htmlTextData:j,image:g(X),label:xe,labelText:ie,lineEnding:ne,link:g(N),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:K,resourceDestinationString:C,resourceTitleString:z,resource:L,setextHeading:g(oe),setextHeadingLineSequence:$,setextHeadingText:F,strong:g(),thematicBreak:g()}};py(a,(n||{}).mdastExtensions||[]);const i={};return u;function u(Y){let ae={type:"root",children:[]};const ye={stack:[ae],tokenStack:[],config:a,enter:d,exit:h,buffer:c,resume:y,data:i},we=[];let Ue=-1;for(;++Ue<Y.length;)if(Y[Ue][1].type==="listOrdered"||Y[Ue][1].type==="listUnordered")if(Y[Ue][0]==="enter")we.push(Ue);else{const Bt=we.pop();Ue=o(Y,Bt,Ue)}for(Ue=-1;++Ue<Y.length;){const Bt=a[Y[Ue][0]];fy.call(Bt,Y[Ue][1].type)&&Bt[Y[Ue][1].type].call(Object.assign({sliceSerialize:Y[Ue][2].sliceSerialize},ye),Y[Ue][1])}if(ye.tokenStack.length>0){const Bt=ye.tokenStack[ye.tokenStack.length-1];(Bt[1]||Zg).call(ye,void 0,Bt[0])}for(ae.position={start:ml(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:ml(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},Ue=-1;++Ue<a.transforms.length;)ae=a.transforms[Ue](ae)||ae;return ae}function o(Y,ae,ye){let we=ae-1,Ue=-1,Bt=!1,An,xt,rt,At;for(;++we<=ye;){const Ye=Y[we];switch(Ye[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ye[0]==="enter"?Ue++:Ue--,At=void 0;break}case"lineEndingBlank":{Ye[0]==="enter"&&(An&&!At&&!Ue&&!rt&&(rt=we),At=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:At=void 0}if(!Ue&&Ye[0]==="enter"&&Ye[1].type==="listItemPrefix"||Ue===-1&&Ye[0]==="exit"&&(Ye[1].type==="listUnordered"||Ye[1].type==="listOrdered")){if(An){let Vn=we;for(xt=void 0;Vn--;){const sn=Y[Vn];if(sn[1].type==="lineEnding"||sn[1].type==="lineEndingBlank"){if(sn[0]==="exit")continue;xt&&(Y[xt][1].type="lineEndingBlank",Bt=!0),sn[1].type="lineEnding",xt=Vn}else if(!(sn[1].type==="linePrefix"||sn[1].type==="blockQuotePrefix"||sn[1].type==="blockQuotePrefixWhitespace"||sn[1].type==="blockQuoteMarker"||sn[1].type==="listItemIndent"))break}rt&&(!xt||rt<xt)&&(An._spread=!0),An.end=Object.assign({},xt?Y[xt][1].start:Ye[1].end),Y.splice(xt||we,0,["exit",An,Ye[2]]),we++,ye++}if(Ye[1].type==="listItemPrefix"){const Vn={type:"listItem",_spread:!1,start:Object.assign({},Ye[1].start),end:void 0};An=Vn,Y.splice(we,0,["enter",Vn,Ye[2]]),we++,ye++,rt=void 0,At=!0}}}return Y[ae][1]._spread=Bt,ye}function f(Y,ae){return ye;function ye(we){d.call(this,Y(we),we),ae&&ae.call(this,we)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(Y,ae,ye){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([ae,ye||void 0]),Y.position={start:ml(ae.start),end:void 0}}function g(Y){return ae;function ae(ye){Y&&Y.call(this,ye),h.call(this,ye)}}function h(Y,ae){const ye=this.stack.pop(),we=this.tokenStack.pop();if(we)we[0].type!==Y.type&&(ae?ae.call(this,Y,we[0]):(we[1]||Zg).call(this,Y,we[0]));else throw new Error("Cannot close `"+Y.type+"` ("+ji({start:Y.start,end:Y.end})+"): it’s not open");ye.position.end=ml(Y.end)}function y(){return Zc(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function x(Y){if(this.data.expectingFirstListItemValue){const ae=this.stack[this.stack.length-2];ae.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function v(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.lang=Y}function S(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.meta=Y}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.value=Y.replace(/(\r?\n|\r)$/g,"")}function O(Y){const ae=this.resume(),ye=this.stack[this.stack.length-1];ye.label=ae,ye.identifier=hn(this.sliceSerialize(Y)).toLowerCase()}function R(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.title=Y}function J(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.url=Y}function le(Y){const ae=this.stack[this.stack.length-1];if(!ae.depth){const ye=this.sliceSerialize(Y).length;ae.depth=ye}}function F(){this.data.setextHeadingSlurpLineEnding=!0}function $(Y){const ae=this.stack[this.stack.length-1];ae.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function oe(){this.data.setextHeadingSlurpLineEnding=void 0}function ce(Y){const ye=this.stack[this.stack.length-1].children;let we=ye[ye.length-1];(!we||we.type!=="text")&&(we=vt(),we.position={start:ml(Y.start),end:void 0},ye.push(we)),this.stack.push(we)}function j(Y){const ae=this.stack.pop();ae.value+=this.sliceSerialize(Y),ae.position.end=ml(Y.end)}function ne(Y){const ae=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ye=ae.children[ae.children.length-1];ye.position.end=ml(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(ae.type)&&(ce.call(this,Y),j.call(this,Y))}function te(){this.data.atHardBreak=!0}function ve(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.value=Y}function W(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.value=Y}function Q(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.value=Y}function N(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ae=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ae,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function X(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ae=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ae,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function ie(Y){const ae=this.sliceSerialize(Y),ye=this.stack[this.stack.length-2];ye.label=vE(ae),ye.identifier=hn(ae).toLowerCase()}function xe(){const Y=this.stack[this.stack.length-1],ae=this.resume(),ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,ye.type==="link"){const we=Y.children;ye.children=we}else ye.alt=ae}function C(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.url=Y}function z(){const Y=this.resume(),ae=this.stack[this.stack.length-1];ae.title=Y}function L(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function K(Y){const ae=this.resume(),ye=this.stack[this.stack.length-1];ye.label=ae,ye.identifier=hn(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function ue(Y){this.data.characterReferenceType=Y.type}function re(Y){const ae=this.sliceSerialize(Y),ye=this.data.characterReferenceType;let we;ye?(we=ty(ae,ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):we=Xc(ae);const Ue=this.stack[this.stack.length-1];Ue.value+=we}function me(Y){const ae=this.stack.pop();ae.position.end=ml(Y.end)}function Ae(Y){j.call(this,Y);const ae=this.stack[this.stack.length-1];ae.url=this.sliceSerialize(Y)}function Oe(Y){j.call(this,Y);const ae=this.stack[this.stack.length-1];ae.url="mailto:"+this.sliceSerialize(Y)}function Et(){return{type:"blockquote",children:[]}}function un(){return{type:"code",lang:null,meta:null,value:""}}function xl(){return{type:"inlineCode",value:""}}function Il(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Nt(){return{type:"emphasis",children:[]}}function gt(){return{type:"heading",depth:0,children:[]}}function In(){return{type:"break"}}function Sl(){return{type:"html",value:""}}function on(){return{type:"image",title:null,url:"",alt:null}}function Xt(){return{type:"link",title:null,url:"",children:[]}}function Lt(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function dn(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function En(){return{type:"paragraph",children:[]}}function Bu(){return{type:"strong",children:[]}}function vt(){return{type:"text",value:""}}function Uu(){return{type:"thematicBreak"}}}function ml(n){return{line:n.line,column:n.column,offset:n.offset}}function py(n,a){let i=-1;for(;++i<a.length;){const u=a[i];Array.isArray(u)?py(n,u):EE(n,u)}}function EE(n,a){let i;for(i in a)if(fy.call(a,i))switch(i){case"canContainEols":{const u=a[i];u&&n[i].push(...u);break}case"transforms":{const u=a[i];u&&n[i].push(...u);break}case"enter":case"exit":{const u=a[i];u&&Object.assign(n[i],u);break}}}function Zg(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+ji({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+ji({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+ji({start:a.start,end:a.end})+") is still open")}function AE(n){const a=this;a.parser=i;function i(u){return SE(u,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function wE(n,a){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,i),n.applyData(a,i)}function TE(n,a){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,i),[n.applyData(a,i),{type:"text",value:`
15
+ `}]}function CE(n,a){const i=a.value?a.value+`
16
+ `:"",u={},o=a.lang?a.lang.split(/\s+/):[];o.length>0&&(u.className=["language-"+o[0]]);let f={type:"element",tagName:"code",properties:u,children:[{type:"text",value:i}]};return a.meta&&(f.data={meta:a.meta}),n.patch(a,f),f=n.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},n.patch(a,f),f}function _E(n,a){const i={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function zE(n,a){const i={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function DE(n,a){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",u=String(a.identifier).toUpperCase(),o=ja(u.toLowerCase()),f=n.footnoteOrder.indexOf(u);let c,d=n.footnoteCounts.get(u);d===void 0?(d=0,n.footnoteOrder.push(u),c=n.footnoteOrder.length):c=f+1,d+=1,n.footnoteCounts.set(u,d);const g={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+o,id:i+"fnref-"+o+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};n.patch(a,g);const h={type:"element",tagName:"sup",properties:{},children:[g]};return n.patch(a,h),n.applyData(a,h)}function OE(n,a){const i={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function RE(n,a){if(n.options.allowDangerousHtml){const i={type:"raw",value:a.value};return n.patch(a,i),n.applyData(a,i)}}function hy(n,a){const i=a.referenceType;let u="]";if(i==="collapsed"?u+="[]":i==="full"&&(u+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+u}];const o=n.all(a),f=o[0];f&&f.type==="text"?f.value="["+f.value:o.unshift({type:"text",value:"["});const c=o[o.length-1];return c&&c.type==="text"?c.value+=u:o.push({type:"text",value:u}),o}function ME(n,a){const i=String(a.identifier).toUpperCase(),u=n.definitionById.get(i);if(!u)return hy(n,a);const o={src:ja(u.url||""),alt:a.alt};u.title!==null&&u.title!==void 0&&(o.title=u.title);const f={type:"element",tagName:"img",properties:o,children:[]};return n.patch(a,f),n.applyData(a,f)}function NE(n,a){const i={src:ja(a.url)};a.alt!==null&&a.alt!==void 0&&(i.alt=a.alt),a.title!==null&&a.title!==void 0&&(i.title=a.title);const u={type:"element",tagName:"img",properties:i,children:[]};return n.patch(a,u),n.applyData(a,u)}function LE(n,a){const i={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,i);const u={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(a,u),n.applyData(a,u)}function BE(n,a){const i=String(a.identifier).toUpperCase(),u=n.definitionById.get(i);if(!u)return hy(n,a);const o={href:ja(u.url||"")};u.title!==null&&u.title!==void 0&&(o.title=u.title);const f={type:"element",tagName:"a",properties:o,children:n.all(a)};return n.patch(a,f),n.applyData(a,f)}function UE(n,a){const i={href:ja(a.url)};a.title!==null&&a.title!==void 0&&(i.title=a.title);const u={type:"element",tagName:"a",properties:i,children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function jE(n,a,i){const u=n.all(a),o=i?HE(i):dy(a),f={},c=[];if(typeof a.checked=="boolean"){const y=u[0];let m;y&&y.type==="element"&&y.tagName==="p"?m=y:(m={type:"element",tagName:"p",properties:{},children:[]},u.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let d=-1;for(;++d<u.length;){const y=u[d];(o||d!==0||y.type!=="element"||y.tagName!=="p")&&c.push({type:"text",value:`
17
+ `}),y.type==="element"&&y.tagName==="p"&&!o?c.push(...y.children):c.push(y)}const g=u[u.length-1];g&&(o||g.type!=="element"||g.tagName!=="p")&&c.push({type:"text",value:`
18
+ `});const h={type:"element",tagName:"li",properties:f,children:c};return n.patch(a,h),n.applyData(a,h)}function HE(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const i=n.children;let u=-1;for(;!a&&++u<i.length;)a=dy(i[u])}return a}function dy(n){const a=n.spread;return a??n.children.length>1}function FE(n,a){const i={},u=n.all(a);let o=-1;for(typeof a.start=="number"&&a.start!==1&&(i.start=a.start);++o<u.length;){const c=u[o];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:i,children:n.wrap(u,!0)};return n.patch(a,f),n.applyData(a,f)}function qE(n,a){const i={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function GE(n,a){const i={type:"root",children:n.wrap(n.all(a))};return n.patch(a,i),n.applyData(a,i)}function YE(n,a){const i={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function IE(n,a){const i=n.all(a),u=i.shift(),o=[];if(u){const c={type:"element",tagName:"thead",properties:{},children:n.wrap([u],!0)};n.patch(a.children[0],c),o.push(c)}if(i.length>0){const c={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},d=Gc(a.children[1]),g=Xm(a.children[a.children.length-1]);d&&g&&(c.position={start:d,end:g}),o.push(c)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(o,!0)};return n.patch(a,f),n.applyData(a,f)}function VE(n,a,i){const u=i?i.children:void 0,f=(u?u.indexOf(a):1)===0?"th":"td",c=i&&i.type==="table"?i.align:void 0,d=c?c.length:a.children.length;let g=-1;const h=[];for(;++g<d;){const m=a.children[g],x={},v=c?c[g]:void 0;v&&(x.align=v);let S={type:"element",tagName:f,properties:x,children:[]};m&&(S.children=n.all(m),n.patch(m,S),S=n.applyData(m,S)),h.push(S)}const y={type:"element",tagName:"tr",properties:{},children:n.wrap(h,!0)};return n.patch(a,y),n.applyData(a,y)}function ZE(n,a){const i={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}const Xg=9,Qg=32;function XE(n){const a=String(n),i=/\r?\n|\r/g;let u=i.exec(a),o=0;const f=[];for(;u;)f.push(Kg(a.slice(o,u.index),o>0,!0),u[0]),o=u.index+u[0].length,u=i.exec(a);return f.push(Kg(a.slice(o),o>0,!1)),f.join("")}function Kg(n,a,i){let u=0,o=n.length;if(a){let f=n.codePointAt(u);for(;f===Xg||f===Qg;)u++,f=n.codePointAt(u)}if(i){let f=n.codePointAt(o-1);for(;f===Xg||f===Qg;)o--,f=n.codePointAt(o-1)}return o>u?n.slice(u,o):""}function QE(n,a){const i={type:"text",value:XE(String(a.value))};return n.patch(a,i),n.applyData(a,i)}function KE(n,a){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,i),n.applyData(a,i)}const $E={blockquote:wE,break:TE,code:CE,delete:_E,emphasis:zE,footnoteReference:DE,heading:OE,html:RE,imageReference:ME,image:NE,inlineCode:LE,linkReference:BE,link:UE,listItem:jE,list:FE,paragraph:qE,root:GE,strong:YE,table:IE,tableCell:ZE,tableRow:VE,text:QE,thematicBreak:KE,toml:du,yaml:du,definition:du,footnoteDefinition:du};function du(){}const gy=-1,Mu=0,Fi=1,Eu=2,Kc=3,$c=4,Jc=5,Pc=6,my=7,yy=8,$g=typeof self=="object"?self:globalThis,JE=(n,a)=>{const i=(o,f)=>(n.set(f,o),o),u=o=>{if(n.has(o))return n.get(o);const[f,c]=a[o];switch(f){case Mu:case gy:return i(c,o);case Fi:{const d=i([],o);for(const g of c)d.push(u(g));return d}case Eu:{const d=i({},o);for(const[g,h]of c)d[u(g)]=u(h);return d}case Kc:return i(new Date(c),o);case $c:{const{source:d,flags:g}=c;return i(new RegExp(d,g),o)}case Jc:{const d=i(new Map,o);for(const[g,h]of c)d.set(u(g),u(h));return d}case Pc:{const d=i(new Set,o);for(const g of c)d.add(u(g));return d}case my:{const{name:d,message:g}=c;return i(new $g[d](g),o)}case yy:return i(BigInt(c),o);case"BigInt":return i(Object(BigInt(c)),o);case"ArrayBuffer":return i(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:d}=new Uint8Array(c);return i(new DataView(d),c)}}return i(new $g[f](c),o)};return u},Jg=n=>JE(new Map,n)(0),Da="",{toString:PE}={},{keys:WE}=Object,Li=n=>{const a=typeof n;if(a!=="object"||!n)return[Mu,a];const i=PE.call(n).slice(8,-1);switch(i){case"Array":return[Fi,Da];case"Object":return[Eu,Da];case"Date":return[Kc,Da];case"RegExp":return[$c,Da];case"Map":return[Jc,Da];case"Set":return[Pc,Da];case"DataView":return[Fi,i]}return i.includes("Array")?[Fi,i]:i.includes("Error")?[my,i]:[Eu,i]},gu=([n,a])=>n===Mu&&(a==="function"||a==="symbol"),e2=(n,a,i,u)=>{const o=(c,d)=>{const g=u.push(c)-1;return i.set(d,g),g},f=c=>{if(i.has(c))return i.get(c);let[d,g]=Li(c);switch(d){case Mu:{let y=c;switch(g){case"bigint":d=yy,y=c.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+g);y=null;break;case"undefined":return o([gy],c)}return o([d,y],c)}case Fi:{if(g){let x=c;return g==="DataView"?x=new Uint8Array(c.buffer):g==="ArrayBuffer"&&(x=new Uint8Array(c)),o([g,[...x]],c)}const y=[],m=o([d,y],c);for(const x of c)y.push(f(x));return m}case Eu:{if(g)switch(g){case"BigInt":return o([g,c.toString()],c);case"Boolean":case"Number":case"String":return o([g,c.valueOf()],c)}if(a&&"toJSON"in c)return f(c.toJSON());const y=[],m=o([d,y],c);for(const x of WE(c))(n||!gu(Li(c[x])))&&y.push([f(x),f(c[x])]);return m}case Kc:return o([d,c.toISOString()],c);case $c:{const{source:y,flags:m}=c;return o([d,{source:y,flags:m}],c)}case Jc:{const y=[],m=o([d,y],c);for(const[x,v]of c)(n||!(gu(Li(x))||gu(Li(v))))&&y.push([f(x),f(v)]);return m}case Pc:{const y=[],m=o([d,y],c);for(const x of c)(n||!gu(Li(x)))&&y.push(f(x));return m}}const{message:h}=c;return o([d,{name:g,message:h}],c)};return f},Pg=(n,{json:a,lossy:i}={})=>{const u=[];return e2(!(a||i),!!a,new Map,u)(n),u},Au=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?Jg(Pg(n,a)):structuredClone(n):(n,a)=>Jg(Pg(n,a));function t2(n,a){const i=[{type:"text",value:"↩"}];return a>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),i}function n2(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function l2(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||t2,u=n.options.footnoteBackLabel||n2,o=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",c=n.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let g=-1;for(;++g<n.footnoteOrder.length;){const h=n.footnoteById.get(n.footnoteOrder[g]);if(!h)continue;const y=n.all(h),m=String(h.identifier).toUpperCase(),x=ja(m.toLowerCase());let v=0;const S=[],A=n.footnoteCounts.get(m);for(;A!==void 0&&++v<=A;){S.length>0&&S.push({type:"text",value:" "});let O=typeof i=="string"?i:i(g,v);typeof O=="string"&&(O={type:"text",value:O}),S.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+x+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(g,v),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const T=y[y.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const O=T.children[T.children.length-1];O&&O.type==="text"?O.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...S)}else y.push(...S);const w={type:"element",tagName:"li",properties:{id:a+"fn-"+x},children:n.wrap(y,!0)};n.patch(h,w),d.push(w)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Au(c),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
19
+ `},{type:"element",tagName:"ol",properties:{},children:n.wrap(d,!0)},{type:"text",value:`
20
+ `}]}}const Nu=(function(n){if(n==null)return u2;if(typeof n=="function")return Lu(n);if(typeof n=="object")return Array.isArray(n)?a2(n):i2(n);if(typeof n=="string")return r2(n);throw new Error("Expected function, string, or object as test")});function a2(n){const a=[];let i=-1;for(;++i<n.length;)a[i]=Nu(n[i]);return Lu(u);function u(...o){let f=-1;for(;++f<a.length;)if(a[f].apply(this,o))return!0;return!1}}function i2(n){const a=n;return Lu(i);function i(u){const o=u;let f;for(f in n)if(o[f]!==a[f])return!1;return!0}}function r2(n){return Lu(a);function a(i){return i&&i.type===n}}function Lu(n){return a;function a(i,u,o){return!!(o2(i)&&n.call(this,i,typeof u=="number"?u:void 0,o||void 0))}}function u2(){return!0}function o2(n){return n!==null&&typeof n=="object"&&"type"in n}const by=[],s2=!0,zc=!1,c2="skip";function vy(n,a,i,u){let o;typeof a=="function"&&typeof i!="function"?(u=i,i=a):o=a;const f=Nu(o),c=u?-1:1;d(n,void 0,[])();function d(g,h,y){const m=g&&typeof g=="object"?g:{};if(typeof m.type=="string"){const v=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(g.type+(v?"<"+v+">":""))+")"})}return x;function x(){let v=by,S,A,T;if((!a||f(g,h,y[y.length-1]||void 0))&&(v=f2(i(g,y)),v[0]===zc))return v;if("children"in g&&g.children){const w=g;if(w.children&&v[0]!==c2)for(A=(u?w.children.length:-1)+c,T=y.concat(w);A>-1&&A<w.children.length;){const O=w.children[A];if(S=d(O,A,T)(),S[0]===zc)return S;A=typeof S[1]=="number"?S[1]:A+c}}return v}}}function f2(n){return Array.isArray(n)?n:typeof n=="number"?[s2,n]:n==null?by:[n]}function Wc(n,a,i,u){let o,f,c;typeof a=="function"&&typeof i!="function"?(f=void 0,c=a,o=i):(f=a,c=i,o=u),vy(n,f,d,o);function d(g,h){const y=h[h.length-1],m=y?y.children.indexOf(g):void 0;return c(g,m,y)}}const Dc={}.hasOwnProperty,p2={};function h2(n,a){const i=a||p2,u=new Map,o=new Map,f=new Map,c={...$E,...i.handlers},d={all:h,applyData:g2,definitionById:u,footnoteById:o,footnoteCounts:f,footnoteOrder:[],handlers:c,one:g,options:i,patch:d2,wrap:y2};return Wc(n,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const m=y.type==="definition"?u:o,x=String(y.identifier).toUpperCase();m.has(x)||m.set(x,y)}}),d;function g(y,m){const x=y.type,v=d.handlers[x];if(Dc.call(d.handlers,x)&&v)return v(d,y,m);if(d.options.passThrough&&d.options.passThrough.includes(x)){if("children"in y){const{children:A,...T}=y,w=Au(T);return w.children=d.all(y),w}return Au(y)}return(d.options.unknownHandler||m2)(d,y,m)}function h(y){const m=[];if("children"in y){const x=y.children;let v=-1;for(;++v<x.length;){const S=d.one(x[v],y);if(S){if(v&&x[v-1].type==="break"&&(!Array.isArray(S)&&S.type==="text"&&(S.value=Wg(S.value)),!Array.isArray(S)&&S.type==="element")){const A=S.children[0];A&&A.type==="text"&&(A.value=Wg(A.value))}Array.isArray(S)?m.push(...S):m.push(S)}}}return m}}function d2(n,a){n.position&&(a.position=nS(n))}function g2(n,a){let i=a;if(n&&n.data){const u=n.data.hName,o=n.data.hChildren,f=n.data.hProperties;if(typeof u=="string")if(i.type==="element")i.tagName=u;else{const c="children"in i?i.children:[i];i={type:"element",tagName:u,properties:{},children:c}}i.type==="element"&&f&&Object.assign(i.properties,Au(f)),"children"in i&&i.children&&o!==null&&o!==void 0&&(i.children=o)}return i}function m2(n,a){const i=a.data||{},u="value"in a&&!(Dc.call(i,"hProperties")||Dc.call(i,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function y2(n,a){const i=[];let u=-1;for(a&&i.push({type:"text",value:`
21
+ `});++u<n.length;)u&&i.push({type:"text",value:`
22
+ `}),i.push(n[u]);return a&&n.length>0&&i.push({type:"text",value:`
23
+ `}),i}function Wg(n){let a=0,i=n.charCodeAt(a);for(;i===9||i===32;)a++,i=n.charCodeAt(a);return n.slice(a)}function em(n,a){const i=h2(n,a),u=i.one(n,void 0),o=l2(i),f=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return o&&f.children.push({type:"text",value:`
24
+ `},o),f}function b2(n,a){return n&&"run"in n?async function(i,u){const o=em(i,{file:u,...a});await n.run(o,u)}:function(i,u){return em(i,{file:u,...n||a})}}function tm(n){if(n)throw n}var oc,nm;function v2(){if(nm)return oc;nm=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,u=Object.getOwnPropertyDescriptor,o=function(h){return typeof Array.isArray=="function"?Array.isArray(h):a.call(h)==="[object Array]"},f=function(h){if(!h||a.call(h)!=="[object Object]")return!1;var y=n.call(h,"constructor"),m=h.constructor&&h.constructor.prototype&&n.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!y&&!m)return!1;var x;for(x in h);return typeof x>"u"||n.call(h,x)},c=function(h,y){i&&y.name==="__proto__"?i(h,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):h[y.name]=y.newValue},d=function(h,y){if(y==="__proto__")if(n.call(h,y)){if(u)return u(h,y).value}else return;return h[y]};return oc=function g(){var h,y,m,x,v,S,A=arguments[0],T=1,w=arguments.length,O=!1;for(typeof A=="boolean"&&(O=A,A=arguments[1]||{},T=2),(A==null||typeof A!="object"&&typeof A!="function")&&(A={});T<w;++T)if(h=arguments[T],h!=null)for(y in h)m=d(A,y),x=d(h,y),A!==x&&(O&&x&&(f(x)||(v=o(x)))?(v?(v=!1,S=m&&o(m)?m:[]):S=m&&f(m)?m:{},c(A,{name:y,newValue:g(O,S,x)})):typeof x<"u"&&c(A,{name:y,newValue:x}));return A},oc}var x2=v2();const sc=bm(x2);function Oc(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function S2(){const n=[],a={run:i,use:u};return a;function i(...o){let f=-1;const c=o.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);d(null,...o);function d(g,...h){const y=n[++f];let m=-1;if(g){c(g);return}for(;++m<o.length;)(h[m]===null||h[m]===void 0)&&(h[m]=o[m]);o=h,y?k2(y,d)(...h):c(null,...h)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return n.push(o),a}}function k2(n,a){let i;return u;function u(...c){const d=n.length>c.length;let g;d&&c.push(o);try{g=n.apply(this,c)}catch(h){const y=h;if(d&&i)throw y;return o(y)}d||(g&&g.then&&typeof g.then=="function"?g.then(f,o):g instanceof Error?o(g):f(g))}function o(c,...d){i||(i=!0,a(c,...d))}function f(c){o(null,c)}}const vn={basename:E2,dirname:A2,extname:w2,join:T2,sep:"/"};function E2(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');Ki(n);let i=0,u=-1,o=n.length,f;if(a===void 0||a.length===0||a.length>n.length){for(;o--;)if(n.codePointAt(o)===47){if(f){i=o+1;break}}else u<0&&(f=!0,u=o+1);return u<0?"":n.slice(i,u)}if(a===n)return"";let c=-1,d=a.length-1;for(;o--;)if(n.codePointAt(o)===47){if(f){i=o+1;break}}else c<0&&(f=!0,c=o+1),d>-1&&(n.codePointAt(o)===a.codePointAt(d--)?d<0&&(u=o):(d=-1,u=c));return i===u?u=c:u<0&&(u=n.length),n.slice(i,u)}function A2(n){if(Ki(n),n.length===0)return".";let a=-1,i=n.length,u;for(;--i;)if(n.codePointAt(i)===47){if(u){a=i;break}}else u||(u=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function w2(n){Ki(n);let a=n.length,i=-1,u=0,o=-1,f=0,c;for(;a--;){const d=n.codePointAt(a);if(d===47){if(c){u=a+1;break}continue}i<0&&(c=!0,i=a+1),d===46?o<0?o=a:f!==1&&(f=1):o>-1&&(f=-1)}return o<0||i<0||f===0||f===1&&o===i-1&&o===u+1?"":n.slice(o,i)}function T2(...n){let a=-1,i;for(;++a<n.length;)Ki(n[a]),n[a]&&(i=i===void 0?n[a]:i+"/"+n[a]);return i===void 0?".":C2(i)}function C2(n){Ki(n);const a=n.codePointAt(0)===47;let i=_2(n,!a);return i.length===0&&!a&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),a?"/"+i:i}function _2(n,a){let i="",u=0,o=-1,f=0,c=-1,d,g;for(;++c<=n.length;){if(c<n.length)d=n.codePointAt(c);else{if(d===47)break;d=47}if(d===47){if(!(o===c-1||f===1))if(o!==c-1&&f===2){if(i.length<2||u!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(g=i.lastIndexOf("/"),g!==i.length-1){g<0?(i="",u=0):(i=i.slice(0,g),u=i.length-1-i.lastIndexOf("/")),o=c,f=0;continue}}else if(i.length>0){i="",u=0,o=c,f=0;continue}}a&&(i=i.length>0?i+"/..":"..",u=2)}else i.length>0?i+="/"+n.slice(o+1,c):i=n.slice(o+1,c),u=c-o-1;o=c,f=0}else d===46&&f>-1?f++:f=-1}return i}function Ki(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const z2={cwd:D2};function D2(){return"/"}function Rc(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function O2(n){if(typeof n=="string")n=new URL(n);else if(!Rc(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return R2(n)}function R2(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const a=n.pathname;let i=-1;for(;++i<a.length;)if(a.codePointAt(i)===37&&a.codePointAt(i+1)===50){const u=a.codePointAt(i+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(a)}const cc=["history","path","basename","stem","extname","dirname"];class xy{constructor(a){let i;a?Rc(a)?i={path:a}:typeof a=="string"||M2(a)?i={value:a}:i=a:i={},this.cwd="cwd"in i?"":z2.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<cc.length;){const f=cc[u];f in i&&i[f]!==void 0&&i[f]!==null&&(this[f]=f==="history"?[...i[f]]:i[f])}let o;for(o in i)cc.includes(o)||(this[o]=i[o])}get basename(){return typeof this.path=="string"?vn.basename(this.path):void 0}set basename(a){pc(a,"basename"),fc(a,"basename"),this.path=vn.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?vn.dirname(this.path):void 0}set dirname(a){lm(this.basename,"dirname"),this.path=vn.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?vn.extname(this.path):void 0}set extname(a){if(fc(a,"extname"),lm(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=vn.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){Rc(a)&&(a=O2(a)),pc(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?vn.basename(this.path,this.extname):void 0}set stem(a){pc(a,"stem"),fc(a,"stem"),this.path=vn.join(this.dirname||"",a+(this.extname||""))}fail(a,i,u){const o=this.message(a,i,u);throw o.fatal=!0,o}info(a,i,u){const o=this.message(a,i,u);return o.fatal=void 0,o}message(a,i,u){const o=new bt(a,i,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function fc(n,a){if(n&&n.includes(vn.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+vn.sep+"`")}function pc(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function lm(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function M2(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const N2=(function(n){const u=this.constructor.prototype,o=u[n],f=function(){return o.apply(f,arguments)};return Object.setPrototypeOf(f,u),f}),L2={}.hasOwnProperty;class ef extends N2{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=S2()}copy(){const a=new ef;let i=-1;for(;++i<this.attachers.length;){const u=this.attachers[i];a.use(...u)}return a.data(sc(!0,{},this.namespace)),a}data(a,i){return typeof a=="string"?arguments.length===2?(gc("data",this.frozen),this.namespace[a]=i,this):L2.call(this.namespace,a)&&this.namespace[a]||void 0:a?(gc("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[i,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=i.call(a,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const i=mu(a),u=this.parser||this.Parser;return hc("parse",u),u(String(i),i)}process(a,i){const u=this;return this.freeze(),hc("process",this.parser||this.Parser),dc("process",this.compiler||this.Compiler),i?o(void 0,i):new Promise(o);function o(f,c){const d=mu(a),g=u.parse(d);u.run(g,d,function(y,m,x){if(y||!m||!x)return h(y);const v=m,S=u.stringify(v,x);j2(S)?x.value=S:x.result=S,h(y,x)});function h(y,m){y||!m?c(y):f?f(m):i(void 0,m)}}}processSync(a){let i=!1,u;return this.freeze(),hc("processSync",this.parser||this.Parser),dc("processSync",this.compiler||this.Compiler),this.process(a,o),im("processSync","process",i),u;function o(f,c){i=!0,tm(f),u=c}}run(a,i,u){am(a),this.freeze();const o=this.transformers;return!u&&typeof i=="function"&&(u=i,i=void 0),u?f(void 0,u):new Promise(f);function f(c,d){const g=mu(i);o.run(a,g,h);function h(y,m,x){const v=m||a;y?d(y):c?c(v):u(void 0,v,x)}}}runSync(a,i){let u=!1,o;return this.run(a,i,f),im("runSync","run",u),o;function f(c,d){tm(c),o=d,u=!0}}stringify(a,i){this.freeze();const u=mu(i),o=this.compiler||this.Compiler;return dc("stringify",o),am(a),o(a,u)}use(a,...i){const u=this.attachers,o=this.namespace;if(gc("use",this.frozen),a!=null)if(typeof a=="function")g(a,i);else if(typeof a=="object")Array.isArray(a)?d(a):c(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(h){if(typeof h=="function")g(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[y,...m]=h;g(y,m)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))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");d(h.plugins),h.settings&&(o.settings=sc(!0,o.settings,h.settings))}function d(h){let y=-1;if(h!=null)if(Array.isArray(h))for(;++y<h.length;){const m=h[y];f(m)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function g(h,y){let m=-1,x=-1;for(;++m<u.length;)if(u[m][0]===h){x=m;break}if(x===-1)u.push([h,...y]);else if(y.length>0){let[v,...S]=y;const A=u[x][1];Oc(A)&&Oc(v)&&(v=sc(!0,A,v)),u[x]=[h,v,...S]}}}}const B2=new ef().freeze();function hc(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function dc(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function gc(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function am(n){if(!Oc(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function im(n,a,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function mu(n){return U2(n)?n:new xy(n)}function U2(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function j2(n){return typeof n=="string"||H2(n)}function H2(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const F2="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",rm=[],um={allowDangerousHtml:!0},q2=/^(https?|ircs?|mailto|xmpp)$/i,G2=[{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 Y2(n){const a=I2(n),i=V2(n);return Z2(a.runSync(a.parse(i),i),n)}function I2(n){const a=n.rehypePlugins||rm,i=n.remarkPlugins||rm,u=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...um}:um;return B2().use(AE).use(i).use(b2,u).use(a)}function V2(n){const a=n.children||"",i=new xy;return typeof a=="string"&&(i.value=a),i}function Z2(n,a){const i=a.allowedElements,u=a.allowElement,o=a.components,f=a.disallowedElements,c=a.skipHtml,d=a.unwrapDisallowed,g=a.urlTransform||X2;for(const y of G2)Object.hasOwn(a,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+F2+y.id,void 0);return Wc(n,h),uS(n,{Fragment:ee.Fragment,components:o,ignoreInvalidStyle:!0,jsx:ee.jsx,jsxs:ee.jsxs,passKeys:!0,passNode:!0});function h(y,m,x){if(y.type==="raw"&&x&&typeof m=="number")return c?x.children.splice(m,1):x.children[m]={type:"text",value:y.value},m;if(y.type==="element"){let v;for(v in ic)if(Object.hasOwn(ic,v)&&Object.hasOwn(y.properties,v)){const S=y.properties[v],A=ic[v];(A===null||A.includes(y.tagName))&&(y.properties[v]=g(String(S||""),v,y))}}if(y.type==="element"){let v=i?!i.includes(y.tagName):f?f.includes(y.tagName):!1;if(!v&&u&&typeof m=="number"&&(v=!u(y,m,x)),v&&x&&typeof m=="number")return d&&y.children?x.children.splice(m,1,...y.children):x.children.splice(m,1),m}}}function X2(n){const a=n.indexOf(":"),i=n.indexOf("?"),u=n.indexOf("#"),o=n.indexOf("/");return a===-1||o!==-1&&a>o||i!==-1&&a>i||u!==-1&&a>u||q2.test(n.slice(0,a))?n:""}function om(n,a){const i=String(n);if(typeof a!="string")throw new TypeError("Expected character");let u=0,o=i.indexOf(a);for(;o!==-1;)u++,o=i.indexOf(a,o+a.length);return u}function Q2(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function K2(n,a,i){const o=Nu((i||{}).ignore||[]),f=$2(a);let c=-1;for(;++c<f.length;)vy(n,"text",d);function d(h,y){let m=-1,x;for(;++m<y.length;){const v=y[m],S=x?x.children:void 0;if(o(v,S?S.indexOf(v):void 0,x))return;x=v}if(x)return g(h,y)}function g(h,y){const m=y[y.length-1],x=f[c][0],v=f[c][1];let S=0;const T=m.children.indexOf(h);let w=!1,O=[];x.lastIndex=0;let R=x.exec(h.value);for(;R;){const J=R.index,le={index:R.index,input:R.input,stack:[...y,h]};let F=v(...R,le);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1?x.lastIndex=J+1:(S!==J&&O.push({type:"text",value:h.value.slice(S,J)}),Array.isArray(F)?O.push(...F):F&&O.push(F),S=J+R[0].length,w=!0),!x.global)break;R=x.exec(h.value)}return w?(S<h.value.length&&O.push({type:"text",value:h.value.slice(S)}),m.children.splice(T,1,...O)):O=[h],T+O.length}}function $2(n){const a=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!n[0]||Array.isArray(n[0])?n:[n];let u=-1;for(;++u<i.length;){const o=i[u];a.push([J2(o[0]),P2(o[1])])}return a}function J2(n){return typeof n=="string"?new RegExp(Q2(n),"g"):n}function P2(n){return typeof n=="function"?n:function(){return n}}const mc="phrasing",yc=["autolink","link","image","label"];function W2(){return{transforms:[rA],enter:{literalAutolink:tA,literalAutolinkEmail:bc,literalAutolinkHttp:bc,literalAutolinkWww:bc},exit:{literalAutolink:iA,literalAutolinkEmail:aA,literalAutolinkHttp:nA,literalAutolinkWww:lA}}}function eA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:mc,notInConstruct:yc},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:mc,notInConstruct:yc},{character:":",before:"[ps]",after:"\\/",inConstruct:mc,notInConstruct:yc}]}}function tA(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function bc(n){this.config.enter.autolinkProtocol.call(this,n)}function nA(n){this.config.exit.autolinkProtocol.call(this,n)}function lA(n){this.config.exit.data.call(this,n);const a=this.stack[this.stack.length-1];a.type,a.url="http://"+this.sliceSerialize(n)}function aA(n){this.config.exit.autolinkEmail.call(this,n)}function iA(n){this.exit(n)}function rA(n){K2(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,uA],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),oA]],{ignore:["link","linkReference"]})}function uA(n,a,i,u,o){let f="";if(!Sy(o)||(/^w/i.test(a)&&(i=a+i,a="",f="http://"),!sA(i)))return!1;const c=cA(i+u);if(!c[0])return!1;const d={type:"link",title:null,url:f+a+c[0],children:[{type:"text",value:a+c[0]}]};return c[1]?[d,{type:"text",value:c[1]}]:d}function oA(n,a,i,u){return!Sy(u,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+a+"@"+i,children:[{type:"text",value:a+"@"+i}]}}function sA(n){const a=n.split(".");return!(a.length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))}function cA(n){const a=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!a)return[n,void 0];n=n.slice(0,a.index);let i=a[0],u=i.indexOf(")");const o=om(n,"(");let f=om(n,")");for(;u!==-1&&o>f;)n+=i.slice(0,u+1),i=i.slice(u+1),u=i.indexOf(")"),f++;return[n,i]}function Sy(n,a){const i=n.input.charCodeAt(n.index-1);return(n.index===0||ql(i)||Ou(i))&&(!a||i!==47)}ky.peek=vA;function fA(){this.buffer()}function pA(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function hA(){this.buffer()}function dA(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function gA(n){const a=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=hn(this.sliceSerialize(n)).toLowerCase(),i.label=a}function mA(n){this.exit(n)}function yA(n){const a=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=hn(this.sliceSerialize(n)).toLowerCase(),i.label=a}function bA(n){this.exit(n)}function vA(){return"["}function ky(n,a,i,u){const o=i.createTracker(u);let f=o.move("[^");const c=i.enter("footnoteReference"),d=i.enter("reference");return f+=o.move(i.safe(i.associationId(n),{after:"]",before:f})),d(),c(),f+=o.move("]"),f}function xA(){return{enter:{gfmFootnoteCallString:fA,gfmFootnoteCall:pA,gfmFootnoteDefinitionLabelString:hA,gfmFootnoteDefinition:dA},exit:{gfmFootnoteCallString:gA,gfmFootnoteCall:mA,gfmFootnoteDefinitionLabelString:yA,gfmFootnoteDefinition:bA}}}function SA(n){let a=!1;return n&&n.firstLineBlank&&(a=!0),{handlers:{footnoteDefinition:i,footnoteReference:ky},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(u,o,f,c){const d=f.createTracker(c);let g=d.move("[^");const h=f.enter("footnoteDefinition"),y=f.enter("label");return g+=d.move(f.safe(f.associationId(u),{before:g,after:"]"})),y(),g+=d.move("]:"),u.children&&u.children.length>0&&(d.shift(4),g+=d.move((a?`
25
+ `:" ")+f.indentLines(f.containerFlow(u,d.current()),a?Ey:kA))),h(),g}}function kA(n,a,i){return a===0?n:Ey(n,a,i)}function Ey(n,a,i){return(i?"":" ")+n}const EA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ay.peek=_A;function AA(){return{canContainEols:["delete"],enter:{strikethrough:TA},exit:{strikethrough:CA}}}function wA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:EA}],handlers:{delete:Ay}}}function TA(n){this.enter({type:"delete",children:[]},n)}function CA(n){this.exit(n)}function Ay(n,a,i,u){const o=i.createTracker(u),f=i.enter("strikethrough");let c=o.move("~~");return c+=i.containerPhrasing(n,{...o.current(),before:c,after:"~"}),c+=o.move("~~"),f(),c}function _A(){return"~"}function zA(n){return n.length}function DA(n,a){const i=a||{},u=(i.align||[]).concat(),o=i.stringLength||zA,f=[],c=[],d=[],g=[];let h=0,y=-1;for(;++y<n.length;){const A=[],T=[];let w=-1;for(n[y].length>h&&(h=n[y].length);++w<n[y].length;){const O=OA(n[y][w]);if(i.alignDelimiters!==!1){const R=o(O);T[w]=R,(g[w]===void 0||R>g[w])&&(g[w]=R)}A.push(O)}c[y]=A,d[y]=T}let m=-1;if(typeof u=="object"&&"length"in u)for(;++m<h;)f[m]=sm(u[m]);else{const A=sm(u);for(;++m<h;)f[m]=A}m=-1;const x=[],v=[];for(;++m<h;){const A=f[m];let T="",w="";A===99?(T=":",w=":"):A===108?T=":":A===114&&(w=":");let O=i.alignDelimiters===!1?1:Math.max(1,g[m]-T.length-w.length);const R=T+"-".repeat(O)+w;i.alignDelimiters!==!1&&(O=T.length+O+w.length,O>g[m]&&(g[m]=O),v[m]=O),x[m]=R}c.splice(1,0,x),d.splice(1,0,v),y=-1;const S=[];for(;++y<c.length;){const A=c[y],T=d[y];m=-1;const w=[];for(;++m<h;){const O=A[m]||"";let R="",J="";if(i.alignDelimiters!==!1){const le=g[m]-(T[m]||0),F=f[m];F===114?R=" ".repeat(le):F===99?le%2?(R=" ".repeat(le/2+.5),J=" ".repeat(le/2-.5)):(R=" ".repeat(le/2),J=R):J=" ".repeat(le)}i.delimiterStart!==!1&&!m&&w.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&O==="")&&(i.delimiterStart!==!1||m)&&w.push(" "),i.alignDelimiters!==!1&&w.push(R),w.push(O),i.alignDelimiters!==!1&&w.push(J),i.padding!==!1&&w.push(" "),(i.delimiterEnd!==!1||m!==h-1)&&w.push("|")}S.push(i.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return S.join(`
26
+ `)}function OA(n){return n==null?"":String(n)}function sm(n){const a=typeof n=="string"?n.codePointAt(0):0;return a===67||a===99?99:a===76||a===108?108:a===82||a===114?114:0}function RA(n,a,i,u){const o=i.enter("blockquote"),f=i.createTracker(u);f.move("> "),f.shift(2);const c=i.indentLines(i.containerFlow(n,f.current()),MA);return o(),c}function MA(n,a,i){return">"+(i?"":" ")+n}function NA(n,a){return cm(n,a.inConstruct,!0)&&!cm(n,a.notInConstruct,!1)}function cm(n,a,i){if(typeof a=="string"&&(a=[a]),!a||a.length===0)return i;let u=-1;for(;++u<a.length;)if(n.includes(a[u]))return!0;return!1}function fm(n,a,i,u){let o=-1;for(;++o<i.unsafe.length;)if(i.unsafe[o].character===`
27
+ `&&NA(i.stack,i.unsafe[o]))return/[ \t]/.test(u.before)?"":" ";return`\\
28
+ `}function LA(n,a){const i=String(n);let u=i.indexOf(a),o=u,f=0,c=0;if(typeof a!="string")throw new TypeError("Expected substring");for(;u!==-1;)u===o?++f>c&&(c=f):f=1,o=u+a.length,u=i.indexOf(a,o);return c}function BA(n,a){return!!(a.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function UA(n){const a=n.options.fence||"`";if(a!=="`"&&a!=="~")throw new Error("Cannot serialize code with `"+a+"` for `options.fence`, expected `` ` `` or `~`");return a}function jA(n,a,i,u){const o=UA(i),f=n.value||"",c=o==="`"?"GraveAccent":"Tilde";if(BA(n,i)){const m=i.enter("codeIndented"),x=i.indentLines(f,HA);return m(),x}const d=i.createTracker(u),g=o.repeat(Math.max(LA(f,o)+1,3)),h=i.enter("codeFenced");let y=d.move(g);if(n.lang){const m=i.enter(`codeFencedLang${c}`);y+=d.move(i.safe(n.lang,{before:y,after:" ",encode:["`"],...d.current()})),m()}if(n.lang&&n.meta){const m=i.enter(`codeFencedMeta${c}`);y+=d.move(" "),y+=d.move(i.safe(n.meta,{before:y,after:`
29
+ `,encode:["`"],...d.current()})),m()}return y+=d.move(`
30
+ `),f&&(y+=d.move(f+`
31
+ `)),y+=d.move(g),h(),y}function HA(n,a,i){return(i?"":" ")+n}function tf(n){const a=n.options.quote||'"';if(a!=='"'&&a!=="'")throw new Error("Cannot serialize title with `"+a+"` for `options.quote`, expected `\"`, or `'`");return a}function FA(n,a,i,u){const o=tf(i),f=o==='"'?"Quote":"Apostrophe",c=i.enter("definition");let d=i.enter("label");const g=i.createTracker(u);let h=g.move("[");return h+=g.move(i.safe(i.associationId(n),{before:h,after:"]",...g.current()})),h+=g.move("]: "),d(),!n.url||/[\0- \u007F]/.test(n.url)?(d=i.enter("destinationLiteral"),h+=g.move("<"),h+=g.move(i.safe(n.url,{before:h,after:">",...g.current()})),h+=g.move(">")):(d=i.enter("destinationRaw"),h+=g.move(i.safe(n.url,{before:h,after:n.title?" ":`
32
+ `,...g.current()}))),d(),n.title&&(d=i.enter(`title${f}`),h+=g.move(" "+o),h+=g.move(i.safe(n.title,{before:h,after:o,...g.current()})),h+=g.move(o),d()),c(),h}function qA(n){const a=n.options.emphasis||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize emphasis with `"+a+"` for `options.emphasis`, expected `*`, or `_`");return a}function Yi(n){return"&#x"+n.toString(16).toUpperCase()+";"}function wu(n,a,i){const u=Na(n),o=Na(a);return u===void 0?o===void 0?i==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:u===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}wy.peek=GA;function wy(n,a,i,u){const o=qA(i),f=i.enter("emphasis"),c=i.createTracker(u),d=c.move(o);let g=c.move(i.containerPhrasing(n,{after:o,before:d,...c.current()}));const h=g.charCodeAt(0),y=wu(u.before.charCodeAt(u.before.length-1),h,o);y.inside&&(g=Yi(h)+g.slice(1));const m=g.charCodeAt(g.length-1),x=wu(u.after.charCodeAt(0),m,o);x.inside&&(g=g.slice(0,-1)+Yi(m));const v=c.move(o);return f(),i.attentionEncodeSurroundingInfo={after:x.outside,before:y.outside},d+g+v}function GA(n,a,i){return i.options.emphasis||"*"}function YA(n,a){let i=!1;return Wc(n,function(u){if("value"in u&&/\r?\n|\r/.test(u.value)||u.type==="break")return i=!0,zc}),!!((!n.depth||n.depth<3)&&Zc(n)&&(a.options.setext||i))}function IA(n,a,i,u){const o=Math.max(Math.min(6,n.depth||1),1),f=i.createTracker(u);if(YA(n,i)){const y=i.enter("headingSetext"),m=i.enter("phrasing"),x=i.containerPhrasing(n,{...f.current(),before:`
33
+ `,after:`
34
+ `});return m(),y(),x+`
35
+ `+(o===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(`
36
+ `))+1))}const c="#".repeat(o),d=i.enter("headingAtx"),g=i.enter("phrasing");f.move(c+" ");let h=i.containerPhrasing(n,{before:"# ",after:`
37
+ `,...f.current()});return/^[\t ]/.test(h)&&(h=Yi(h.charCodeAt(0))+h.slice(1)),h=h?c+" "+h:c,i.options.closeAtx&&(h+=" "+c),g(),d(),h}Ty.peek=VA;function Ty(n){return n.value||""}function VA(){return"<"}Cy.peek=ZA;function Cy(n,a,i,u){const o=tf(i),f=o==='"'?"Quote":"Apostrophe",c=i.enter("image");let d=i.enter("label");const g=i.createTracker(u);let h=g.move("![");return h+=g.move(i.safe(n.alt,{before:h,after:"]",...g.current()})),h+=g.move("]("),d(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(d=i.enter("destinationLiteral"),h+=g.move("<"),h+=g.move(i.safe(n.url,{before:h,after:">",...g.current()})),h+=g.move(">")):(d=i.enter("destinationRaw"),h+=g.move(i.safe(n.url,{before:h,after:n.title?" ":")",...g.current()}))),d(),n.title&&(d=i.enter(`title${f}`),h+=g.move(" "+o),h+=g.move(i.safe(n.title,{before:h,after:o,...g.current()})),h+=g.move(o),d()),h+=g.move(")"),c(),h}function ZA(){return"!"}_y.peek=XA;function _y(n,a,i,u){const o=n.referenceType,f=i.enter("imageReference");let c=i.enter("label");const d=i.createTracker(u);let g=d.move("![");const h=i.safe(n.alt,{before:g,after:"]",...d.current()});g+=d.move(h+"]["),c();const y=i.stack;i.stack=[],c=i.enter("reference");const m=i.safe(i.associationId(n),{before:g,after:"]",...d.current()});return c(),i.stack=y,f(),o==="full"||!h||h!==m?g+=d.move(m+"]"):o==="shortcut"?g=g.slice(0,-1):g+=d.move("]"),g}function XA(){return"!"}zy.peek=QA;function zy(n,a,i){let u=n.value||"",o="`",f=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(u);)o+="`";for(/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^`|`$/.test(u))&&(u=" "+u+" ");++f<i.unsafe.length;){const c=i.unsafe[f],d=i.compilePattern(c);let g;if(c.atBreak)for(;g=d.exec(u);){let h=g.index;u.charCodeAt(h)===10&&u.charCodeAt(h-1)===13&&h--,u=u.slice(0,h)+" "+u.slice(g.index+1)}}return o+u+o}function QA(){return"`"}function Dy(n,a){const i=Zc(n);return!!(!a.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(i===n.url||"mailto:"+i===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}Oy.peek=KA;function Oy(n,a,i,u){const o=tf(i),f=o==='"'?"Quote":"Apostrophe",c=i.createTracker(u);let d,g;if(Dy(n,i)){const y=i.stack;i.stack=[],d=i.enter("autolink");let m=c.move("<");return m+=c.move(i.containerPhrasing(n,{before:m,after:">",...c.current()})),m+=c.move(">"),d(),i.stack=y,m}d=i.enter("link"),g=i.enter("label");let h=c.move("[");return h+=c.move(i.containerPhrasing(n,{before:h,after:"](",...c.current()})),h+=c.move("]("),g(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(g=i.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(i.safe(n.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(g=i.enter("destinationRaw"),h+=c.move(i.safe(n.url,{before:h,after:n.title?" ":")",...c.current()}))),g(),n.title&&(g=i.enter(`title${f}`),h+=c.move(" "+o),h+=c.move(i.safe(n.title,{before:h,after:o,...c.current()})),h+=c.move(o),g()),h+=c.move(")"),d(),h}function KA(n,a,i){return Dy(n,i)?"<":"["}Ry.peek=$A;function Ry(n,a,i,u){const o=n.referenceType,f=i.enter("linkReference");let c=i.enter("label");const d=i.createTracker(u);let g=d.move("[");const h=i.containerPhrasing(n,{before:g,after:"]",...d.current()});g+=d.move(h+"]["),c();const y=i.stack;i.stack=[],c=i.enter("reference");const m=i.safe(i.associationId(n),{before:g,after:"]",...d.current()});return c(),i.stack=y,f(),o==="full"||!h||h!==m?g+=d.move(m+"]"):o==="shortcut"?g=g.slice(0,-1):g+=d.move("]"),g}function $A(){return"["}function nf(n){const a=n.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function JA(n){const a=nf(n),i=n.options.bulletOther;if(!i)return a==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+i+"`) to be different");return i}function PA(n){const a=n.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function My(n){const a=n.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function WA(n,a,i,u){const o=i.enter("list"),f=i.bulletCurrent;let c=n.ordered?PA(i):nf(i);const d=n.ordered?c==="."?")":".":JA(i);let g=a&&i.bulletLastUsed?c===i.bulletLastUsed:!1;if(!n.ordered){const y=n.children?n.children[0]:void 0;if((c==="*"||c==="-")&&y&&(!y.children||!y.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(g=!0),My(i)===c&&y){let m=-1;for(;++m<n.children.length;){const x=n.children[m];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){g=!0;break}}}}g&&(c=d),i.bulletCurrent=c;const h=i.containerFlow(n,u);return i.bulletLastUsed=c,i.bulletCurrent=f,o(),h}function ew(n){const a=n.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function tw(n,a,i,u){const o=ew(i);let f=i.bulletCurrent||nf(i);a&&a.type==="list"&&a.ordered&&(f=(typeof a.start=="number"&&a.start>-1?a.start:1)+(i.options.incrementListMarker===!1?0:a.children.indexOf(n))+f);let c=f.length+1;(o==="tab"||o==="mixed"&&(a&&a.type==="list"&&a.spread||n.spread))&&(c=Math.ceil(c/4)*4);const d=i.createTracker(u);d.move(f+" ".repeat(c-f.length)),d.shift(c);const g=i.enter("listItem"),h=i.indentLines(i.containerFlow(n,d.current()),y);return g(),h;function y(m,x,v){return x?(v?"":" ".repeat(c))+m:(v?f:f+" ".repeat(c-f.length))+m}}function nw(n,a,i,u){const o=i.enter("paragraph"),f=i.enter("phrasing"),c=i.containerPhrasing(n,u);return f(),o(),c}const lw=Nu(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function aw(n,a,i,u){return(n.children.some(function(c){return lw(c)})?i.containerPhrasing:i.containerFlow).call(i,n,u)}function iw(n){const a=n.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}Ny.peek=rw;function Ny(n,a,i,u){const o=iw(i),f=i.enter("strong"),c=i.createTracker(u),d=c.move(o+o);let g=c.move(i.containerPhrasing(n,{after:o,before:d,...c.current()}));const h=g.charCodeAt(0),y=wu(u.before.charCodeAt(u.before.length-1),h,o);y.inside&&(g=Yi(h)+g.slice(1));const m=g.charCodeAt(g.length-1),x=wu(u.after.charCodeAt(0),m,o);x.inside&&(g=g.slice(0,-1)+Yi(m));const v=c.move(o+o);return f(),i.attentionEncodeSurroundingInfo={after:x.outside,before:y.outside},d+g+v}function rw(n,a,i){return i.options.strong||"*"}function uw(n,a,i,u){return i.safe(n.value,u)}function ow(n){const a=n.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function sw(n,a,i){const u=(My(i)+(i.options.ruleSpaces?" ":"")).repeat(ow(i));return i.options.ruleSpaces?u.slice(0,-1):u}const Ly={blockquote:RA,break:fm,code:jA,definition:FA,emphasis:wy,hardBreak:fm,heading:IA,html:Ty,image:Cy,imageReference:_y,inlineCode:zy,link:Oy,linkReference:Ry,list:WA,listItem:tw,paragraph:nw,root:aw,strong:Ny,text:uw,thematicBreak:sw};function cw(){return{enter:{table:fw,tableData:pm,tableHeader:pm,tableRow:hw},exit:{codeText:dw,table:pw,tableData:vc,tableHeader:vc,tableRow:vc}}}function fw(n){const a=n._align;this.enter({type:"table",align:a.map(function(i){return i==="none"?null:i}),children:[]},n),this.data.inTable=!0}function pw(n){this.exit(n),this.data.inTable=void 0}function hw(n){this.enter({type:"tableRow",children:[]},n)}function vc(n){this.exit(n)}function pm(n){this.enter({type:"tableCell",children:[]},n)}function dw(n){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,gw));const i=this.stack[this.stack.length-1];i.type,i.value=a,this.exit(n)}function gw(n,a){return a==="|"?a:n}function mw(n){const a=n||{},i=a.tableCellPadding,u=a.tablePipeAlign,o=a.stringLength,f=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
38
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:c,tableCell:g,tableRow:d}};function c(v,S,A,T){return h(y(v,A,T),v.align)}function d(v,S,A,T){const w=m(v,A,T),O=h([w]);return O.slice(0,O.indexOf(`
39
+ `))}function g(v,S,A,T){const w=A.enter("tableCell"),O=A.enter("phrasing"),R=A.containerPhrasing(v,{...T,before:f,after:f});return O(),w(),R}function h(v,S){return DA(v,{align:S,alignDelimiters:u,padding:i,stringLength:o})}function y(v,S,A){const T=v.children;let w=-1;const O=[],R=S.enter("table");for(;++w<T.length;)O[w]=m(T[w],S,A);return R(),O}function m(v,S,A){const T=v.children;let w=-1;const O=[],R=S.enter("tableRow");for(;++w<T.length;)O[w]=g(T[w],v,S,A);return R(),O}function x(v,S,A){let T=Ly.inlineCode(v,S,A);return A.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function yw(){return{exit:{taskListCheckValueChecked:hm,taskListCheckValueUnchecked:hm,paragraph:vw}}}function bw(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xw}}}function hm(n){const a=this.stack[this.stack.length-2];a.type,a.checked=n.type==="taskListCheckValueChecked"}function vw(n){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const u=i.children[0];if(u&&u.type==="text"){const o=a.children;let f=-1,c;for(;++f<o.length;){const d=o[f];if(d.type==="paragraph"){c=d;break}}c===i&&(u.value=u.value.slice(1),u.value.length===0?i.children.shift():i.position&&u.position&&typeof u.position.start.offset=="number"&&(u.position.start.column++,u.position.start.offset++,i.position.start=Object.assign({},u.position.start)))}}this.exit(n)}function xw(n,a,i,u){const o=n.children[0],f=typeof n.checked=="boolean"&&o&&o.type==="paragraph",c="["+(n.checked?"x":" ")+"] ",d=i.createTracker(u);f&&d.move(c);let g=Ly.listItem(n,a,i,{...u,...d.current()});return f&&(g=g.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),g;function h(y){return y+c}}function Sw(){return[W2(),xA(),AA(),cw(),yw()]}function kw(n){return{extensions:[eA(),SA(n),wA(),mw(n),bw()]}}const Ew={tokenize:zw,partial:!0},By={tokenize:Dw,partial:!0},Uy={tokenize:Ow,partial:!0},jy={tokenize:Rw,partial:!0},Aw={tokenize:Mw,partial:!0},Hy={name:"wwwAutolink",tokenize:Cw,previous:qy},Fy={name:"protocolAutolink",tokenize:_w,previous:Gy},Yn={name:"emailAutolink",tokenize:Tw,previous:Yy},kn={};function ww(){return{text:kn}}let Fl=48;for(;Fl<123;)kn[Fl]=Yn,Fl++,Fl===58?Fl=65:Fl===91&&(Fl=97);kn[43]=Yn;kn[45]=Yn;kn[46]=Yn;kn[95]=Yn;kn[72]=[Yn,Fy];kn[104]=[Yn,Fy];kn[87]=[Yn,Hy];kn[119]=[Yn,Hy];function Tw(n,a,i){const u=this;let o,f;return c;function c(m){return!Mc(m)||!Yy.call(u,u.previous)||lf(u.events)?i(m):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),d(m))}function d(m){return Mc(m)?(n.consume(m),d):m===64?(n.consume(m),g):i(m)}function g(m){return m===46?n.check(Aw,y,h)(m):m===45||m===95||yt(m)?(f=!0,n.consume(m),g):y(m)}function h(m){return n.consume(m),o=!0,g}function y(m){return f&&o&&kt(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),a(m)):i(m)}}function Cw(n,a,i){const u=this;return o;function o(c){return c!==87&&c!==119||!qy.call(u,u.previous)||lf(u.events)?i(c):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(Ew,n.attempt(By,n.attempt(Uy,f),i),i)(c))}function f(c){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),a(c)}}function _w(n,a,i){const u=this;let o="",f=!1;return c;function c(m){return(m===72||m===104)&&Gy.call(u,u.previous)&&!lf(u.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),o+=String.fromCodePoint(m),n.consume(m),d):i(m)}function d(m){if(kt(m)&&o.length<5)return o+=String.fromCodePoint(m),n.consume(m),d;if(m===58){const x=o.toLowerCase();if(x==="http"||x==="https")return n.consume(m),g}return i(m)}function g(m){return m===47?(n.consume(m),f?h:(f=!0,g)):i(m)}function h(m){return m===null||ku(m)||Ve(m)||ql(m)||Ou(m)?i(m):n.attempt(By,n.attempt(Uy,y),i)(m)}function y(m){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),a(m)}}function zw(n,a,i){let u=0;return o;function o(c){return(c===87||c===119)&&u<3?(u++,n.consume(c),o):c===46&&u===3?(n.consume(c),f):i(c)}function f(c){return c===null?i(c):a(c)}}function Dw(n,a,i){let u,o,f;return c;function c(h){return h===46||h===95?n.check(jy,g,d)(h):h===null||Ve(h)||ql(h)||h!==45&&Ou(h)?g(h):(f=!0,n.consume(h),c)}function d(h){return h===95?u=!0:(o=u,u=void 0),n.consume(h),c}function g(h){return o||u||!f?i(h):a(h)}}function Ow(n,a){let i=0,u=0;return o;function o(c){return c===40?(i++,n.consume(c),o):c===41&&u<i?f(c):c===33||c===34||c===38||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===60||c===63||c===93||c===95||c===126?n.check(jy,a,f)(c):c===null||Ve(c)||ql(c)?a(c):(n.consume(c),o)}function f(c){return c===41&&u++,n.consume(c),o}}function Rw(n,a,i){return u;function u(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(n.consume(d),u):d===38?(n.consume(d),f):d===93?(n.consume(d),o):d===60||d===null||Ve(d)||ql(d)?a(d):i(d)}function o(d){return d===null||d===40||d===91||Ve(d)||ql(d)?a(d):u(d)}function f(d){return kt(d)?c(d):i(d)}function c(d){return d===59?(n.consume(d),u):kt(d)?(n.consume(d),c):i(d)}}function Mw(n,a,i){return u;function u(f){return n.consume(f),o}function o(f){return yt(f)?i(f):a(f)}}function qy(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Ve(n)}function Gy(n){return!kt(n)}function Yy(n){return!(n===47||Mc(n))}function Mc(n){return n===43||n===45||n===46||n===95||yt(n)}function lf(n){let a=n.length,i=!1;for(;a--;){const u=n[a][1];if((u.type==="labelLink"||u.type==="labelImage")&&!u._balanced){i=!0;break}if(u._gfmAutolinkLiteralWalkedInto){i=!1;break}}return n.length>0&&!i&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const Nw={tokenize:Gw,partial:!0};function Lw(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Hw,continuation:{tokenize:Fw},exit:qw}},text:{91:{name:"gfmFootnoteCall",tokenize:jw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Bw,resolveTo:Uw}}}}function Bw(n,a,i){const u=this;let o=u.events.length;const f=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c;for(;o--;){const g=u.events[o][1];if(g.type==="labelImage"){c=g;break}if(g.type==="gfmFootnoteCall"||g.type==="labelLink"||g.type==="label"||g.type==="image"||g.type==="link")break}return d;function d(g){if(!c||!c._balanced)return i(g);const h=hn(u.sliceSerialize({start:c.end,end:u.now()}));return h.codePointAt(0)!==94||!f.includes(h.slice(1))?i(g):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),a(g))}}function Uw(n,a){let i=n.length;for(;i--;)if(n[i][1].type==="labelImage"&&n[i][0]==="enter"){n[i][1];break}n[i+1][1].type="data",n[i+3][1].type="gfmFootnoteCallLabelMarker";const u={type:"gfmFootnoteCall",start:Object.assign({},n[i+3][1].start),end:Object.assign({},n[n.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},n[i+3][1].end),end:Object.assign({},n[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const f={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},n[n.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},f.start),end:Object.assign({},f.end)},d=[n[i+1],n[i+2],["enter",u,a],n[i+3],n[i+4],["enter",o,a],["exit",o,a],["enter",f,a],["enter",c,a],["exit",c,a],["exit",f,a],n[n.length-2],n[n.length-1],["exit",u,a]];return n.splice(i,n.length-i+1,...d),n}function jw(n,a,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let f=0,c;return d;function d(m){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(m),n.exit("gfmFootnoteCallLabelMarker"),g}function g(m){return m!==94?i(m):(n.enter("gfmFootnoteCallMarker"),n.consume(m),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",h)}function h(m){if(f>999||m===93&&!c||m===null||m===91||Ve(m))return i(m);if(m===93){n.exit("chunkString");const x=n.exit("gfmFootnoteCallString");return o.includes(hn(u.sliceSerialize(x)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(m),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),a):i(m)}return Ve(m)||(c=!0),f++,n.consume(m),m===92?y:h}function y(m){return m===91||m===92||m===93?(n.consume(m),f++,h):h(m)}}function Hw(n,a,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let f,c=0,d;return g;function g(S){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(S),n.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(S){return S===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(S),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",y):i(S)}function y(S){if(c>999||S===93&&!d||S===null||S===91||Ve(S))return i(S);if(S===93){n.exit("chunkString");const A=n.exit("gfmFootnoteDefinitionLabelString");return f=hn(u.sliceSerialize(A)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(S),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),x}return Ve(S)||(d=!0),c++,n.consume(S),S===92?m:y}function m(S){return S===91||S===92||S===93?(n.consume(S),c++,y):y(S)}function x(S){return S===58?(n.enter("definitionMarker"),n.consume(S),n.exit("definitionMarker"),o.includes(f)||o.push(f),Me(n,v,"gfmFootnoteDefinitionWhitespace")):i(S)}function v(S){return a(S)}}function Fw(n,a,i){return n.check(Qi,a,n.attempt(Nw,a,i))}function qw(n){n.exit("gfmFootnoteDefinition")}function Gw(n,a,i){const u=this;return Me(n,o,"gfmFootnoteDefinitionIndent",5);function o(f){const c=u.events[u.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===4?a(f):i(f)}}function Yw(n){let i=(n||{}).singleTilde;const u={name:"strikethrough",tokenize:f,resolveAll:o};return i==null&&(i=!0),{text:{126:u},insideSpan:{null:[u]},attentionMarkers:{null:[126]}};function o(c,d){let g=-1;for(;++g<c.length;)if(c[g][0]==="enter"&&c[g][1].type==="strikethroughSequenceTemporary"&&c[g][1]._close){let h=g;for(;h--;)if(c[h][0]==="exit"&&c[h][1].type==="strikethroughSequenceTemporary"&&c[h][1]._open&&c[g][1].end.offset-c[g][1].start.offset===c[h][1].end.offset-c[h][1].start.offset){c[g][1].type="strikethroughSequence",c[h][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},c[h][1].start),end:Object.assign({},c[g][1].end)},m={type:"strikethroughText",start:Object.assign({},c[h][1].end),end:Object.assign({},c[g][1].start)},x=[["enter",y,d],["enter",c[h][1],d],["exit",c[h][1],d],["enter",m,d]],v=d.parser.constructs.insideSpan.null;v&&Zt(x,x.length,0,Ru(v,c.slice(h+1,g),d)),Zt(x,x.length,0,[["exit",m,d],["enter",c[g][1],d],["exit",c[g][1],d],["exit",y,d]]),Zt(c,h-1,g-h+3,x),g=h+x.length-2;break}}for(g=-1;++g<c.length;)c[g][1].type==="strikethroughSequenceTemporary"&&(c[g][1].type="data");return c}function f(c,d,g){const h=this.previous,y=this.events;let m=0;return x;function x(S){return h===126&&y[y.length-1][1].type!=="characterEscape"?g(S):(c.enter("strikethroughSequenceTemporary"),v(S))}function v(S){const A=Na(h);if(S===126)return m>1?g(S):(c.consume(S),m++,v);if(m<2&&!i)return g(S);const T=c.exit("strikethroughSequenceTemporary"),w=Na(S);return T._open=!w||w===2&&!!A,T._close=!A||A===2&&!!w,d(S)}}}class Iw{constructor(){this.map=[]}add(a,i,u){Vw(this,a,i,u)}consume(a){if(this.map.sort(function(f,c){return f[0]-c[0]}),this.map.length===0)return;let i=this.map.length;const u=[];for(;i>0;)i-=1,u.push(a.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),a.length=this.map[i][0];u.push(a.slice()),a.length=0;let o=u.pop();for(;o;){for(const f of o)a.push(f);o=u.pop()}this.map.length=0}}function Vw(n,a,i,u){let o=0;if(!(i===0&&u.length===0)){for(;o<n.map.length;){if(n.map[o][0]===a){n.map[o][1]+=i,n.map[o][2].push(...u);return}o+=1}n.map.push([a,i,u])}}function Zw(n,a){let i=!1;const u=[];for(;a<n.length;){const o=n[a];if(i){if(o[0]==="enter")o[1].type==="tableContent"&&u.push(n[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(n[a-1][1].type==="tableDelimiterMarker"){const f=u.length-1;u[f]=u[f]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(i=!0);a+=1}return u}function Xw(){return{flow:{null:{name:"table",tokenize:Qw,resolveAll:Kw}}}}function Qw(n,a,i){const u=this;let o=0,f=0,c;return d;function d(j){let ne=u.events.length-1;for(;ne>-1;){const W=u.events[ne][1].type;if(W==="lineEnding"||W==="linePrefix")ne--;else break}const te=ne>-1?u.events[ne][1].type:null,ve=te==="tableHead"||te==="tableRow"?F:g;return ve===F&&u.parser.lazy[u.now().line]?i(j):ve(j)}function g(j){return n.enter("tableHead"),n.enter("tableRow"),h(j)}function h(j){return j===124||(c=!0,f+=1),y(j)}function y(j){return j===null?i(j):de(j)?f>1?(f=0,u.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(j),n.exit("lineEnding"),v):i(j):_e(j)?Me(n,y,"whitespace")(j):(f+=1,c&&(c=!1,o+=1),j===124?(n.enter("tableCellDivider"),n.consume(j),n.exit("tableCellDivider"),c=!0,y):(n.enter("data"),m(j)))}function m(j){return j===null||j===124||Ve(j)?(n.exit("data"),y(j)):(n.consume(j),j===92?x:m)}function x(j){return j===92||j===124?(n.consume(j),m):m(j)}function v(j){return u.interrupt=!1,u.parser.lazy[u.now().line]?i(j):(n.enter("tableDelimiterRow"),c=!1,_e(j)?Me(n,S,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):S(j))}function S(j){return j===45||j===58?T(j):j===124?(c=!0,n.enter("tableCellDivider"),n.consume(j),n.exit("tableCellDivider"),A):le(j)}function A(j){return _e(j)?Me(n,T,"whitespace")(j):T(j)}function T(j){return j===58?(f+=1,c=!0,n.enter("tableDelimiterMarker"),n.consume(j),n.exit("tableDelimiterMarker"),w):j===45?(f+=1,w(j)):j===null||de(j)?J(j):le(j)}function w(j){return j===45?(n.enter("tableDelimiterFiller"),O(j)):le(j)}function O(j){return j===45?(n.consume(j),O):j===58?(c=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(j),n.exit("tableDelimiterMarker"),R):(n.exit("tableDelimiterFiller"),R(j))}function R(j){return _e(j)?Me(n,J,"whitespace")(j):J(j)}function J(j){return j===124?S(j):j===null||de(j)?!c||o!==f?le(j):(n.exit("tableDelimiterRow"),n.exit("tableHead"),a(j)):le(j)}function le(j){return i(j)}function F(j){return n.enter("tableRow"),$(j)}function $(j){return j===124?(n.enter("tableCellDivider"),n.consume(j),n.exit("tableCellDivider"),$):j===null||de(j)?(n.exit("tableRow"),a(j)):_e(j)?Me(n,$,"whitespace")(j):(n.enter("data"),oe(j))}function oe(j){return j===null||j===124||Ve(j)?(n.exit("data"),$(j)):(n.consume(j),j===92?ce:oe)}function ce(j){return j===92||j===124?(n.consume(j),oe):oe(j)}}function Kw(n,a){let i=-1,u=!0,o=0,f=[0,0,0,0],c=[0,0,0,0],d=!1,g=0,h,y,m;const x=new Iw;for(;++i<n.length;){const v=n[i],S=v[1];v[0]==="enter"?S.type==="tableHead"?(d=!1,g!==0&&(dm(x,a,g,h,y),y=void 0,g=0),h={type:"table",start:Object.assign({},S.start),end:Object.assign({},S.end)},x.add(i,0,[["enter",h,a]])):S.type==="tableRow"||S.type==="tableDelimiterRow"?(u=!0,m=void 0,f=[0,0,0,0],c=[0,i+1,0,0],d&&(d=!1,y={type:"tableBody",start:Object.assign({},S.start),end:Object.assign({},S.end)},x.add(i,0,[["enter",y,a]])),o=S.type==="tableDelimiterRow"?2:y?3:1):o&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")?(u=!1,c[2]===0&&(f[1]!==0&&(c[0]=c[1],m=yu(x,a,f,o,void 0,m),f=[0,0,0,0]),c[2]=i)):S.type==="tableCellDivider"&&(u?u=!1:(f[1]!==0&&(c[0]=c[1],m=yu(x,a,f,o,void 0,m)),f=c,c=[f[1],i,0,0])):S.type==="tableHead"?(d=!0,g=i):S.type==="tableRow"||S.type==="tableDelimiterRow"?(g=i,f[1]!==0?(c[0]=c[1],m=yu(x,a,f,o,i,m)):c[1]!==0&&(m=yu(x,a,c,o,i,m)),o=0):o&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")&&(c[3]=i)}for(g!==0&&dm(x,a,g,h,y),x.consume(a.events),i=-1;++i<a.events.length;){const v=a.events[i];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=Zw(a.events,i))}return n}function yu(n,a,i,u,o,f){const c=u===1?"tableHeader":u===2?"tableDelimiter":"tableData",d="tableContent";i[0]!==0&&(f.end=Object.assign({},Oa(a.events,i[0])),n.add(i[0],0,[["exit",f,a]]));const g=Oa(a.events,i[1]);if(f={type:c,start:Object.assign({},g),end:Object.assign({},g)},n.add(i[1],0,[["enter",f,a]]),i[2]!==0){const h=Oa(a.events,i[2]),y=Oa(a.events,i[3]),m={type:d,start:Object.assign({},h),end:Object.assign({},y)};if(n.add(i[2],0,[["enter",m,a]]),u!==2){const x=a.events[i[2]],v=a.events[i[3]];if(x[1].end=Object.assign({},v[1].end),x[1].type="chunkText",x[1].contentType="text",i[3]>i[2]+1){const S=i[2]+1,A=i[3]-i[2]-1;n.add(S,A,[])}}n.add(i[3]+1,0,[["exit",m,a]])}return o!==void 0&&(f.end=Object.assign({},Oa(a.events,o)),n.add(o,0,[["exit",f,a]]),f=void 0),f}function dm(n,a,i,u,o){const f=[],c=Oa(a.events,i);o&&(o.end=Object.assign({},c),f.push(["exit",o,a])),u.end=Object.assign({},c),f.push(["exit",u,a]),n.add(i+1,0,f)}function Oa(n,a){const i=n[a],u=i[0]==="enter"?"start":"end";return i[1][u]}const $w={name:"tasklistCheck",tokenize:Pw};function Jw(){return{text:{91:$w}}}function Pw(n,a,i){const u=this;return o;function o(g){return u.previous!==null||!u._gfmTasklistFirstContentOfListItem?i(g):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(g),n.exit("taskListCheckMarker"),f)}function f(g){return Ve(g)?(n.enter("taskListCheckValueUnchecked"),n.consume(g),n.exit("taskListCheckValueUnchecked"),c):g===88||g===120?(n.enter("taskListCheckValueChecked"),n.consume(g),n.exit("taskListCheckValueChecked"),c):i(g)}function c(g){return g===93?(n.enter("taskListCheckMarker"),n.consume(g),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),d):i(g)}function d(g){return de(g)?a(g):_e(g)?n.check({tokenize:Ww},a,i)(g):i(g)}}function Ww(n,a,i){return Me(n,u,"whitespace");function u(o){return o===null?i(o):a(o)}}function eT(n){return ey([ww(),Lw(),Yw(n),Xw(),Jw()])}const tT={};function nT(n){const a=this,i=n||tT,u=a.data(),o=u.micromarkExtensions||(u.micromarkExtensions=[]),f=u.fromMarkdownExtensions||(u.fromMarkdownExtensions=[]),c=u.toMarkdownExtensions||(u.toMarkdownExtensions=[]);o.push(eT(i)),f.push(Sw()),c.push(kw(i))}const lT=({text:n})=>{const[a,i]=fe.useState(!1),u=fe.useCallback(async()=>{await navigator.clipboard.writeText(n),i(!0),setTimeout(()=>i(!1),2e3)},[n]);return ee.jsx("button",{type:"button",onClick:u,className:"absolute top-2 right-2 p-1.5 rounded bg-muted text-muted-foreground hover:text-foreground opacity-0 group-hover:opacity-100 transition-opacity",title:"Copy",children:a?ee.jsx(iv,{size:16}):ee.jsx(fv,{size:16})})},aT=({content:n})=>{const{theme:a}=Uc();return ee.jsx("div",{className:"prose dark:prose-invert max-w-[960px] mx-auto prose-pre:bg-[#f6f8fa] dark:prose-pre:bg-[#161b22] prose-pre:p-4 prose-code:before:content-none prose-code:after:content-none prose-h1:border-b prose-h1:border-border prose-h1:pb-2 prose-h2:border-b prose-h2:border-border prose-h2:pb-2",children:ee.jsx(Y2,{remarkPlugins:[nT],components:{code({className:i,children:u,...o}){const f=/language-(\w+)/.exec(i||""),c=String(u).replace(/\n$/,"");if(!f)return ee.jsx("code",{className:i,...o,children:u});const d=a==="dark"?qi.vsDark:qi.github;return ee.jsx(Hm,{theme:d,code:c,language:f[1],children:({className:g,style:h,tokens:y,getLineProps:m,getTokenProps:x})=>ee.jsx("code",{className:g,style:{...h,background:"transparent"},children:y.map((v,S)=>ee.jsxs("span",{...m({line:v}),children:[v.map((A,T)=>ee.jsx("span",{...x({token:A})},`token-${String(T)}`)),`
40
+ `]},`line-${String(S)}`))})})},pre({children:i,...u}){const o=Array.isArray(i)?i[0]:i,f=o&&typeof o=="object"&&"props"in o?String(o.props.children).replace(/\n$/,""):"";return ee.jsxs("pre",{...u,className:"group relative",children:[ee.jsx(lT,{text:f}),i]})}},children:n})})};const af={216:"O",223:"s",248:"o",273:"d",295:"h",305:"i",320:"l",322:"l",359:"t",383:"s",384:"b",385:"B",387:"b",390:"O",392:"c",393:"D",394:"D",396:"d",398:"E",400:"E",402:"f",403:"G",407:"I",409:"k",410:"l",412:"M",413:"N",414:"n",415:"O",421:"p",427:"t",429:"t",430:"T",434:"V",436:"y",438:"z",477:"e",485:"g",544:"N",545:"d",549:"z",564:"l",565:"n",566:"t",567:"j",570:"A",571:"C",572:"c",573:"L",574:"T",575:"s",576:"z",579:"B",580:"U",581:"V",582:"E",583:"e",584:"J",585:"j",586:"Q",587:"q",588:"R",589:"r",590:"Y",591:"y",592:"a",593:"a",595:"b",596:"o",597:"c",598:"d",599:"d",600:"e",603:"e",604:"e",605:"e",606:"e",607:"j",608:"g",609:"g",610:"G",613:"h",614:"h",616:"i",618:"I",619:"l",620:"l",621:"l",623:"m",624:"m",625:"m",626:"n",627:"n",628:"N",629:"o",633:"r",634:"r",635:"r",636:"r",637:"r",638:"r",639:"r",640:"R",641:"R",642:"s",647:"t",648:"t",649:"u",651:"v",652:"v",653:"w",654:"y",655:"Y",656:"z",657:"z",663:"c",665:"B",666:"e",667:"G",668:"H",669:"j",670:"k",671:"L",672:"q",686:"h",867:"a",868:"e",869:"i",870:"o",871:"u",872:"c",873:"d",874:"h",875:"m",876:"r",877:"t",878:"v",879:"x",7424:"A",7427:"B",7428:"C",7429:"D",7431:"E",7432:"e",7433:"i",7434:"J",7435:"K",7436:"L",7437:"M",7438:"N",7439:"O",7440:"O",7441:"o",7442:"o",7443:"o",7446:"o",7447:"o",7448:"P",7449:"R",7450:"R",7451:"T",7452:"U",7453:"u",7454:"u",7455:"m",7456:"V",7457:"W",7458:"Z",7522:"i",7523:"r",7524:"u",7525:"v",7834:"a",7835:"s",8305:"i",8341:"h",8342:"k",8343:"l",8344:"m",8345:"n",8346:"p",8347:"s",8348:"t",8580:"c"};for(let n="̀".codePointAt(0);n<="ͯ".codePointAt(0);++n){const a=String.fromCodePoint(n);for(const i of"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"){const o=(i+a).normalize().codePointAt(0);o>126&&(af[o]=i)}}const xc={a:[7844,7863],e:[7870,7879],o:[7888,7907],u:[7912,7921]};for(const n of Object.keys(xc)){const a=n.toUpperCase();for(let i=xc[n][0];i<=xc[n][1];++i)af[i]=i%2===0?a:n}function $i(n){if(n<192||n>8580)return n;const a=af[n];return a!==void 0?a.codePointAt(0):n}function bl(n,a){return n>a?n:a}const Iy=n=>n.split("").map(a=>a.codePointAt(0)),iT=new Set(` \f
41
+ \r \v  \u2028\u2029   \uFEFF`.split("").map(n=>n.codePointAt(0)));for(let n=" ".codePointAt(0);n<=" ".codePointAt(0);n++)iT.add(n);const La="".codePointAt(0),Ii="A".codePointAt(0),Vi="Z".codePointAt(0),Vy="a".codePointAt(0),Zy="z".codePointAt(0),rT="0".codePointAt(0),uT="9".codePointAt(0);function Ra(n,a,i){return i?n:a-n-1}const Zi=16,Nc=-3,Tu=-1,Gl=Zi/2,oT=Zi/2,sT=Gl+Tu,Xy=4,Qy=2;function Lc(n){return n?new Set:null}function Bi(n,a,i){if(a!==null&&a.i16.length>n+i){const u=a.i16.subarray(n,n+i);return[n+i,u]}return[n,new Int16Array(i)]}function gm(n,a,i){if(a!==null&&a.i32.length>n+i){const u=a.i32.subarray(n,n+i);return[n+i,u]}return[n,new Int32Array(i)]}function Ky(n){return n>=Vy&&n<=Zy?1:n>=Ii&&n<=Vi?2:n>=rT&&n<=uT?4:0}function $y(n){const a=String.fromCodePoint(n);return a!==a.toUpperCase()?1:a!==a.toLowerCase()?2:a.match(new RegExp("\\p{Number}","gu"))!==null?4:a.match(new RegExp("\\p{Letter}","gu"))!==null?3:0}function Cu(n){return n<=La?Ky(n):$y(n)}function rf(n,a){return n===0&&a!==0?Gl:n===1&&a===2||n!==4&&a===4?sT:a===0?oT:0}function cT(n,a){return a===0?Gl:rf(Cu(n[a-1]),Cu(n[a]))}function fT(n,a,i,u){let o=n.slice(u),f=o.indexOf(i);if(f===0)return u;if(!a&&i>=Vy&&i<=Zy){f>0&&(o=o.slice(0,f));const c=o.indexOf(i-32);c>=0&&(f=c)}return f<0?-1:u+f}function mm(n){for(const a of n)if(a>=128)return!1;return!0}function uf(n,a,i){if(!mm(n))return 0;if(!mm(a))return-1;let u=0,o=0;for(let f=0;f<a.length;f++){if(o=fT(n,i,a[f],o),o<0)return-1;f===0&&o>0&&(u=o-1),o++}return u}const pT=(n,a,i,u,o,f,c)=>{const d=o.length;if(d===0)return[{start:0,end:0,score:0},Lc(f)];const g=u.length;if(c!==null&&g*d>c.i16.length)return Py(n,a,i,u,o,f);const h=uf(u,o,n);if(h<0)return[{start:-1,end:-1,score:0},null];let y=0,m=0,x=null,v=null,S=null,A=null;[y,x]=Bi(y,c,g),[y,v]=Bi(y,c,g),[y,S]=Bi(y,c,g),[m,A]=gm(m,c,d);const[,T]=gm(m,c,g);for(let L=0;L<T.length;L++)T[L]=u[L];let w=0,O=0,R=0,J=0;const le=o[0];let F=o[0],$=0,oe=0,ce=!1,j=T.subarray(h),ne=x.subarray(h).subarray(0,j.length),te=v.subarray(h).subarray(0,j.length),ve=S.subarray(h).subarray(0,j.length);for(let[L,E]of j.entries()){let K=null;E<=La?(K=Ky(E),!n&&K===2&&(E+=32)):(K=$y(E),!n&&K===2&&(E=String.fromCodePoint(E).toLowerCase().codePointAt(0)),a&&(E=$i(E))),j[L]=E;const ue=rf(oe,K);if(ve[L]=ue,oe=K,E===F&&(R<d&&(A[R]=h+L,R++,F=o[Math.min(R,d-1)]),J=h+L),E===le){const re=Zi+ue*Qy;if(ne[L]=re,te[L]=1,d===1&&(i&&re>w||!i&&re>=w)&&(w=re,O=h+L,i&&ue===Gl))break;ce=!1}else ce?ne[L]=bl($+Tu,0):ne[L]=bl($+Nc,0),te[L]=0,ce=!0;$=ne[L]}if(R!==d)return[{start:-1,end:-1,score:0},null];if(d===1){const L={start:O,end:O+1,score:w};if(!f)return[L,null];const E=new Set;return E.add(O),[L,E]}const W=A[0],Q=J-W+1;let N=null;[y,N]=Bi(y,c,Q*d);{const L=x.subarray(W,J+1);for(const[E,K]of L.entries())N[E]=K}let[,X]=Bi(y,c,Q*d);{const L=v.subarray(W,J+1);for(const[E,K]of L.entries())X[E]=K}const ie=A.subarray(1),xe=o.slice(1).slice(0,ie.length);for(const[L,E]of ie.entries()){let K=!1;const ue=xe[L],re=L+1,me=re*Q,Ae=T.subarray(E,J+1),Oe=S.subarray(E).subarray(0,Ae.length),Et=X.subarray(me+E-W).subarray(0,Ae.length),un=X.subarray(me+E-W-1-Q).subarray(0,Ae.length),xl=N.subarray(me+E-W).subarray(0,Ae.length),Il=N.subarray(me+E-W-1-Q).subarray(0,Ae.length),Nt=N.subarray(me+E-W-1).subarray(0,Ae.length);Nt[0]=0;for(const[gt,In]of Ae.entries()){const Sl=gt+E;let on=0,Xt=0,Lt=0;if(K?Xt=Nt[gt]+Tu:Xt=Nt[gt]+Nc,ue===In){on=Il[gt]+Zi;let En=Oe[gt];Lt=un[gt]+1,En===Gl?Lt=1:Lt>1&&(En=bl(En,bl(Xy,S[Sl-Lt+1]))),on+En<Xt?(on+=Oe[gt],Lt=0):on+=En}Et[gt]=Lt,K=on<Xt;const dn=bl(bl(on,Xt),0);re===d-1&&(i&&dn>w||!i&&dn>=w)&&(w=dn,O=Sl),xl[gt]=dn}}const C=Lc(f);let z=W;if(f&&C!==null){let L=d-1;z=O;let E=!0;for(;;){const K=L*Q,ue=z-W,re=N[K+ue];let me=0,Ae=0;if(L>0&&z>=A[L]&&(me=N[K-Q+ue-1]),z>A[L]&&(Ae=N[K+ue-1]),re>me&&(re>Ae||re===Ae&&E)){if(C.add(z),L===0)break;L--}E=X[K+ue]>1||K+Q+ue+1<X.length&&X[K+Q+ue+1]>0,z--}}return[{start:z,end:O+1,score:w},C]};function Jy(n,a,i,u,o,f,c){let d=0,g=0,h=!1,y=0,m=0;const x=Lc(c);let v=0;o>0&&(v=Cu(i[o-1]));for(let S=o;S<f;S++){let A=i[S];const T=Cu(A);if(n||(A>=Ii&&A<=Vi?A+=32:A>La&&(A=String.fromCodePoint(A).toLowerCase().codePointAt(0))),a&&(A=$i(A)),A===u[d]){c&&x!==null&&x.add(S),g+=Zi;let w=rf(v,T);y===0?m=w:(w===Gl&&(m=w),w=bl(bl(w,m),Xy)),d===0?g+=w*Qy:g+=w,h=!1,y++,d++}else h?g+=Tu:g+=Nc,h=!0,y=0,m=0;v=T}return[g,x]}const Py=(n,a,i,u,o,f,c)=>{if(o.length===0)return[{start:0,end:0,score:0},null];if(uf(u,o,n)<0)return[{start:-1,end:-1,score:0},null];let d=0,g=-1,h=-1;const y=u.length,m=o.length;for(let x=0;x<y;x++){let v=u[Ra(x,y,i)];n||(v>=Ii&&v<=Vi?v+=32:v>La&&(v=String.fromCodePoint(v).toLowerCase().codePointAt(0))),a&&(v=$i(v));const S=o[Ra(d,m,i)];if(v===S&&(g<0&&(g=x),d++,d===m)){h=x+1;break}}if(g>=0&&h>=0){d--;for(let S=h-1;S>=g;S--){const A=Ra(S,y,i);let T=u[A];n||(T>=Ii&&T<=Vi?T+=32:T>La&&(T=String.fromCodePoint(T).toLowerCase().codePointAt(0)));const w=Ra(d,m,i),O=o[w];if(T===O&&(d--,d<0)){g=S;break}}if(!i){const S=g;g=y-h,h=y-S}const[x,v]=Jy(n,a,u,o,g,h,f);return[{start:g,end:h,score:x},v]}return[{start:-1,end:-1,score:0},null]},hT=(n,a,i,u,o,f,c)=>{if(o.length===0)return[{start:0,end:0,score:0},null];const d=u.length,g=o.length;if(d<g)return[{start:-1,end:-1,score:0},null];if(uf(u,o,n)<0)return[{start:-1,end:-1,score:0},null];let h=0,y=-1,m=0,x=-1;for(let v=0;v<d;v++){const S=Ra(v,d,i);let A=u[S];n||(A>=Ii&&A<=Vi?A+=32:A>La&&(A=String.fromCodePoint(A).toLowerCase().codePointAt(0))),a&&(A=$i(A));const T=Ra(h,g,i);if(o[T]===A){if(T===0&&(m=cT(u,S)),h++,h===g){if(m>x&&(y=v,x=m),m===Gl)break;v-=h-1,h=0,m=0}}else v-=h,h=0,m=0}if(y>=0){let v=0,S=0;i?(v=y-g+1,S=y+1):(v=d-(y+1),S=d-(y-g+1));const[A]=Jy(n,a,u,o,v,S,!1);return[{start:v,end:S,score:A},null]}return[{start:-1,end:-1,score:0},null]},dT=100*1024,gT=2048;function mT(n,a){return{i16:new Int16Array(n),i32:new Int32Array(a)}}const yT=mT(dT,gT),bT=(n,a,i)=>{let u=!1;switch(a){case"smart-case":n.toLowerCase()!==n&&(u=!0);break;case"case-sensitive":u=!0;break;case"case-insensitive":n=n.toLowerCase(),u=!1;break}let o=Iy(n);return i&&(o=o.map($i)),{queryRunes:o,caseSensitive:u}};function vT(n,a){const i=Object.keys(n).map(o=>parseInt(o,10)).sort((o,f)=>f-o);let u=[];for(const o of i)if(u=u.concat(n[o]),u.length>=a)break;return u}function xT(n,a,i){return u=>{const o=this.runesList[u];if(a.length>o.length)return;let[f,c]=this.algoFn(i,this.opts.normalize,this.opts.forward,o,a,!0,yT);if(f.start===-1)return;if(this.opts.fuzzy===!1){c=new Set;for(let g=f.start;g<f.end;++g)c.add(g)}const d=this.opts.sort?f.score:0;n[d]===void 0&&(n[d]=[]),n[d].push({item:this.items[u],...f,positions:c??new Set})}}function ST(n){const{queryRunes:a,caseSensitive:i}=bT(n,this.opts.casing,this.opts.normalize),u={},o=xT.bind(this)(u,a,i);for(let f=0,c=this.runesList.length;f<c;++f)o(f);return vT(u,this.opts.limit)}const Wy={limit:1/0,selector:n=>n,casing:"smart-case",normalize:!0,fuzzy:"v2",tiebreakers:[],sort:!0,forward:!0};class kT{constructor(a,...i){switch(this.opts={...Wy,...i[0]},this.items=a,this.runesList=a.map(u=>Iy(this.opts.selector(u).normalize())),this.algoFn=hT,this.opts.fuzzy){case"v2":this.algoFn=pT;break;case"v1":this.algoFn=Py;break}}}const ET={...Wy,match:ST};class AT extends kT{constructor(a,...i){super(a,...i),this.opts={...ET,...i[0]}}find(a){if(a.length===0||this.items.length===0)return this.items.slice(0,this.opts.limit).map(wT);a=a.normalize();let i=this.opts.match.bind(this)(a);return TT(i,this.opts)}}const wT=n=>({item:n,start:-1,end:-1,score:0,positions:new Set});function TT(n,a){if(a.sort){const{selector:i}=a;n.sort((u,o)=>{if(u.score===o.score)for(const f of a.tiebreakers){const c=f(u,o,i);if(c!==0)return c}return 0})}return Number.isFinite(a.limit)&&n.splice(a.limit),n}class CT{constructor(a,...i){this.finder=new AT(a,...i),this.find=this.finder.find.bind(this.finder)}}const _T=(n,a)=>{const i=n.path.length-n.name.length,u=new Set;for(const o of a)o>=i&&u.add(o-i);return u},eb=n=>{const a=[];for(const i of n)if(i.children)a.push(...eb(i.children));else{const u=i.path.lastIndexOf("/");a.push({dir:u>0?i.path.slice(0,u):"",name:i.name,path:i.path})}return a},zT=(n,a)=>{const i=[];for(let u=0;u<n.length;u+=1){const o=a.has(u),f=i.at(-1);f&&f.highlighted===o?f.text+=n[u]:i.push({highlighted:o,text:n[u]})}return i},DT=({str:n,indices:a})=>{const i=zT(n,a);return ee.jsx(ee.Fragment,{children:i.map(u=>u.highlighted?ee.jsx("span",{className:"text-foreground font-semibold",children:u.text},u.text):ee.jsx("span",{children:u.text},u.text))})},OT=(n,a,i,u,o,f,c)=>{fe.useEffect(()=>{n&&(u(""),o(0),setTimeout(()=>f.current?.focus(),0))},[n,u,o,f]),fe.useEffect(()=>{o(0)},[a,o]),fe.useEffect(()=>{c.current?.children[i]?.scrollIntoView({block:"nearest"})},[i,c])},RT=(n,a)=>{const i=fe.useMemo(()=>eb(n),[n]),u=fe.useMemo(()=>new CT(i,{limit:30,selector:o=>o.path}),[i]);return fe.useMemo(()=>a?u.find(a).map(o=>({item:o.item,positions:o.positions})):i.slice(0,30).map(o=>({item:o,positions:new Set})),[a,i,u])},MT=({file:n,positions:a,isSelected:i,query:u,onSelect:o,onClose:f,onMouseEnter:c})=>{const d=fe.useCallback(()=>{o(n.path),f()},[o,f,n.path]);return ee.jsxs("button",{type:"button",className:`w-full text-left px-3 py-1 text-sm flex items-center gap-2 ${i?"bg-accent text-accent-foreground":"hover:bg-accent/50"}`,onClick:d,onMouseEnter:c,children:[ee.jsx(Dm,{size:14,className:"shrink-0 text-blue-500"}),ee.jsx("span",{className:"truncate text-muted-foreground",children:u?ee.jsx(DT,{str:n.name,indices:_T(n,a)}):n.name}),n.dir&&ee.jsx("span",{className:"truncate text-xs text-muted-foreground ml-auto",children:n.dir})]})},NT=({onClose:n,onKeyDown:a,children:i})=>ee.jsx("div",{className:"fixed inset-0 z-50 flex justify-center pt-[12vh]",onClick:n,onKeyDown:a,children:i}),LT=({onClickCapture:n,onKeyDownCapture:a,children:i})=>ee.jsx("div",{className:"w-[600px] h-fit max-h-[50vh] flex flex-col bg-popover border border-border rounded-md shadow-2xl overflow-hidden",onClick:n,onKeyDown:a,children:i}),BT=(n,a,i,u,o,f)=>{const c=fe.useCallback(m=>{m.key==="ArrowDown"?(m.preventDefault(),i(x=>Math.min(x+1,n.length-1))):m.key==="ArrowUp"?(m.preventDefault(),i(x=>Math.max(x-1,0))):m.key==="Enter"&&n[a]?(o(n[a].item.path),f()):m.key==="Escape"&&f()},[n,a,o,f,i]),d=fe.useCallback(m=>{u(m.target.value)},[u]),g=fe.useCallback(m=>{m.stopPropagation()},[]),h=fe.useCallback(m=>{m.stopPropagation()},[]),y=fe.useMemo(()=>n.map((m,x)=>()=>i(x)),[n,i]);return{handleKeyDown:c,handleMouseEnters:y,handleQueryChange:d,handleStopKeyPropagation:h,handleStopPropagation:g}},UT=({files:n,open:a,onClose:i,onSelect:u})=>{const[o,f]=fe.useState(""),[c,d]=fe.useState(0),g=fe.useRef(null),h=fe.useRef(null),y=RT(n,o);OT(a,o,c,f,d,g,h);const m=BT(y,c,d,f,u,i);return a?ee.jsx(NT,{onClose:i,onKeyDown:m.handleKeyDown,children:ee.jsxs(LT,{onClickCapture:m.handleStopPropagation,onKeyDownCapture:m.handleStopKeyPropagation,children:[ee.jsxs("div",{className:"flex items-center px-3 py-2",children:[ee.jsx("input",{ref:g,type:"text",value:o,onChange:m.handleQueryChange,onKeyDown:m.handleKeyDown,placeholder:"Go to File",className:"flex-1 bg-transparent text-sm focus:outline-none placeholder:text-muted-foreground"}),ee.jsx("kbd",{className:"text-xs text-muted-foreground border border-border rounded px-1.5 py-0.5 ml-2",children:"ESC"})]}),ee.jsx("div",{className:"border-t border-border"}),ee.jsxs("div",{ref:h,className:"overflow-y-auto py-1",children:[y.map(({item:x,positions:v},S)=>ee.jsx(MT,{file:x,positions:v,isSelected:S===c,query:o,onSelect:u,onClose:i,onMouseEnter:m.handleMouseEnters[S]},x.path)),y.length===0&&ee.jsx("p",{className:"px-3 py-4 text-sm text-muted-foreground text-center",children:"No matching files"})]})]})}):null},jT=({content:n})=>{const{theme:a}=Uc(),i=a==="dark"?qi.vsDark:qi.github;return ee.jsx(Hm,{theme:i,code:n,language:"markdown",children:({className:u,style:o,tokens:f,getLineProps:c,getTokenProps:d})=>ee.jsx("pre",{className:`${u} p-4 rounded-lg overflow-x-auto text-sm`,style:o,children:f.map((g,h)=>ee.jsxs("div",{...c({line:g}),children:[ee.jsx("span",{className:"inline-block w-8 text-right mr-4 text-muted-foreground select-none",children:h+1}),g.map((y,m)=>ee.jsx("span",{...d({token:y})},`token-${String(m)}`))]},`line-${String(h)}`))})})},HT=()=>{const{theme:n,toggle:a}=Uc();return ee.jsx("button",{type:"button",onClick:a,className:"p-1.5 rounded-lg hover:bg-accent text-muted-foreground hover:text-foreground",title:n==="light"?"Switch to dark mode":"Switch to light mode",children:n==="light"?ee.jsx(bv,{size:16}):ee.jsx(Tv,{size:16})})},tb=n=>{for(const a of n){if(!a.children)return a.path;const i=tb(a.children);if(i)return i}return null},FT=(n,a,i)=>n?a==="preview"?ee.jsx(aT,{content:i}):ee.jsx(jT,{content:i}):ee.jsx("p",{className:"text-muted-foreground",children:"ファイルを選択してください"}),qT=(n,a)=>{fe.useEffect(()=>{(async()=>{try{const u=await Cv();n(u);const o=tb(u);o&&a(o)}catch(u){console.error("Failed to load files:",u)}})()},[n,a])},GT=(n,a)=>{fe.useEffect(()=>{if(!n)return;(async()=>{try{const u=await _v(n);a(u)}catch(u){console.error("Failed to load file:",u)}})()},[n,a])},YT=(n,a,i)=>({handleCloseQuickOpen:fe.useCallback(()=>i(!1),[i]),handleSetPreview:fe.useCallback(()=>a("preview"),[a]),handleSetSource:fe.useCallback(()=>a("source"),[a]),handleToggleSidebar:fe.useCallback(()=>n(u=>!u),[n])}),IT=(n,a)=>{xg("Mod+P",()=>n(!0)),xg("Mod+B",()=>a(i=>!i))},VT=()=>{const[n,a]=fe.useState([]),[i,u]=fe.useState(null),[o,f]=fe.useState(""),[c,d]=fe.useState("preview"),[g,h]=fe.useState(!0),[y,m]=fe.useState(!1);return IT(m,h),qT(a,u),GT(i,f),{...YT(h,d,m),content:o,files:n,quickOpenVisible:y,selectedPath:i,setSelectedPath:u,sidebarOpen:g,viewMode:c}},ZT=()=>{const{content:n,files:a,handleCloseQuickOpen:i,handleSetPreview:u,handleSetSource:o,handleToggleSidebar:f,quickOpenVisible:c,selectedPath:d,setSelectedPath:g,sidebarOpen:h,viewMode:y}=VT();return ee.jsxs("div",{className:"flex h-screen bg-background text-foreground",children:[h&&ee.jsxs("aside",{className:"w-64 border-r border-border overflow-y-auto p-4 bg-secondary",children:[ee.jsx("h1",{className:"text-lg font-bold mb-4",children:"specv"}),ee.jsx(zv,{files:a,selectedPath:d,onSelect:g})]}),ee.jsxs("main",{className:"flex-1 flex flex-col overflow-hidden",children:[ee.jsxs("header",{className:"flex items-center gap-2 border-b border-border px-4 py-2 bg-secondary",children:[ee.jsx("button",{type:"button",onClick:f,className:"p-1.5 rounded-lg hover:bg-accent",title:`${h?"Hide sidebar":"Show sidebar"} (⌘B)`,children:h?ee.jsx(xv,{size:16}):ee.jsx(kv,{size:16})}),ee.jsxs("div",{className:"flex rounded-lg overflow-hidden border border-border",children:[ee.jsx("button",{type:"button",className:`px-3 py-1 text-sm ${y==="preview"?"bg-primary text-primary-foreground":"hover:bg-accent"}`,onClick:u,children:"Preview"}),ee.jsx("button",{type:"button",className:`px-3 py-1 text-sm ${y==="source"?"bg-primary text-primary-foreground":"hover:bg-accent"}`,onClick:o,children:"Source"})]}),ee.jsx("div",{className:"flex-1"}),ee.jsx("span",{className:"text-sm text-muted-foreground",children:d}),ee.jsx(HT,{})]}),ee.jsx("div",{className:"flex-1 overflow-y-auto px-8 py-8",children:FT(d,y,n)})]}),ee.jsx(UT,{files:a,open:c,onClose:i,onSelect:g})]})},ym=document.querySelector("#root");ym&&w1.createRoot(ym).render(ee.jsx(fe.StrictMode,{children:ee.jsx(T1,{children:ee.jsx(ZT,{})})}));