pi-central 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -5
- package/bin/pi-central.js +288 -81
- package/bin/pi-central.js.map +4 -4
- package/dist/ui/assets/{grammar-map-CcZdLTyL.js → grammar-map-zNF3jzH0.js} +1 -1
- package/dist/ui/assets/index-Cg14LRiC.css +1 -0
- package/dist/ui/assets/index-CxdjMFJ5.js +45 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/index-BC2CSxKc.js +0 -40
- package/dist/ui/assets/index-SAdkZfHm.css +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
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"]'))r(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&r(m)}).observe(document,{childList:!0,subtree:!0});function s(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 r(o){if(o.ep)return;o.ep=!0;const f=s(o);fetch(o.href,f)}})();var B0={exports:{}},ic={};var N2;function eg(){if(N2)return ic;N2=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(r,o,f){var m=null;if(f!==void 0&&(m=""+f),o.key!==void 0&&(m=""+o.key),"key"in o){f={};for(var p in o)p!=="key"&&(f[p]=o[p])}else f=o;return o=f.ref,{$$typeof:n,type:r,key:m,ref:o!==void 0?o:null,props:f}}return ic.Fragment=a,ic.jsx=s,ic.jsxs=s,ic}var k2;function ug(){return k2||(k2=1,B0.exports=eg()),B0.exports}var h=ug(),H0={exports:{}},ge={};var O2;function tg(){if(O2)return ge;O2=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),D=Symbol.for("react.view_transition"),M=Symbol.iterator;function A(T){return T===null||typeof T!="object"?null:(T=M&&T[M]||T["@@iterator"],typeof T=="function"?T:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},V=Object.assign,J={};function fe(T,Z,K){this.props=T,this.context=Z,this.refs=J,this.updater=K||L}fe.prototype.isReactComponent={},fe.prototype.setState=function(T,Z){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,Z,"setState")},fe.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function le(){}le.prototype=fe.prototype;function G(T,Z,K){this.props=T,this.context=Z,this.refs=J,this.updater=K||L}var Q=G.prototype=new le;Q.constructor=G,V(Q,fe.prototype),Q.isPureReactComponent=!0;var te=Array.isArray;function P(){}var ae={H:null,A:null,T:null,S:null},$e=Object.prototype.hasOwnProperty;function ce(T,Z,K){var ie=K.ref;return{$$typeof:n,type:T,key:Z,ref:ie!==void 0?ie:null,props:K}}function he(T,Z){return ce(T.type,Z,T.props)}function je(T){return typeof T=="object"&&T!==null&&T.$$typeof===n}function eu(T){var Z={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(K){return Z[K]})}var Je=/\/+/g;function Me(T,Z){return typeof T=="object"&&T!==null&&T.key!=null?eu(""+T.key):Z.toString(36)}function W(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(P,P):(T.status="pending",T.then(function(Z){T.status==="pending"&&(T.status="fulfilled",T.value=Z)},function(Z){T.status==="pending"&&(T.status="rejected",T.reason=Z)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function se(T,Z,K,ie,Se){var ke=typeof T;(ke==="undefined"||ke==="boolean")&&(T=null);var Re=!1;if(T===null)Re=!0;else switch(ke){case"bigint":case"string":case"number":Re=!0;break;case"object":switch(T.$$typeof){case n:case a:Re=!0;break;case _:return Re=T._init,se(Re(T._payload),Z,K,ie,Se)}}if(Re)return Se=Se(T),Re=ie===""?"."+Me(T,0):ie,te(Se)?(K="",Re!=null&&(K=Re.replace(Je,"$&/")+"/"),se(Se,Z,K,"",function(Qu){return Qu})):Se!=null&&(je(Se)&&(Se=he(Se,K+(Se.key==null||T&&T.key===Se.key?"":(""+Se.key).replace(Je,"$&/")+"/")+Re)),Z.push(Se)),1;Re=0;var ee=ie===""?".":ie+":";if(te(T))for(var me=0;me<T.length;me++)ie=T[me],ke=ee+Me(ie,me),Re+=se(ie,Z,K,ke,Se);else if(me=A(T),typeof me=="function")for(T=me.call(T),me=0;!(ie=T.next()).done;)ie=ie.value,ke=ee+Me(ie,me++),Re+=se(ie,Z,K,ke,Se);else if(ke==="object"){if(typeof T.then=="function")return se(W(T),Z,K,ie,Se);throw Z=String(T),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return Re}function de(T,Z,K){if(T==null)return T;var ie=[],Se=0;return se(T,ie,"","",function(ke){return Z.call(K,ke,Se++)}),ie}function xe(T){if(T._status===-1){var Z=T._result,K=Z();K.then(function(ie){(T._status===0||T._status===-1)&&(T._status=1,T._result=ie,K.status===void 0&&(K.status="fulfilled",K.value=ie))},function(ie){(T._status===0||T._status===-1)&&(T._status=2,T._result=ie,K.status===void 0&&(K.status="rejected",K.reason=ie))}),T._status===-1&&(T._status=0,T._result=K)}if(T._status===1)return T._result.default;throw T._result}var ye=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function gu(T){var Z=ae.T,K={};K.types=Z!==null?Z.types:null,ae.T=K;try{var ie=T(),Se=ae.S;Se!==null&&Se(K,ie),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"&&ie.then(P,ye)}catch(ke){ye(ke)}finally{Z!==null&&K.types!==null&&(Z.types=K.types),ae.T=Z}}function we(T){var Z=ae.T;if(Z!==null){var K=Z.types;K===null?Z.types=[T]:K.indexOf(T)===-1&&K.push(T)}else gu(we.bind(null,T))}var I={map:de,forEach:function(T,Z,K){de(T,function(){Z.apply(this,arguments)},K)},count:function(T){var Z=0;return de(T,function(){Z++}),Z},toArray:function(T){return de(T,function(Z){return Z})||[]},only:function(T){if(!je(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ge.Activity=y,ge.Children=I,ge.Component=fe,ge.Fragment=s,ge.Profiler=o,ge.PureComponent=G,ge.StrictMode=r,ge.Suspense=b,ge.ViewTransition=D,ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ae,ge.__COMPILER_RUNTIME={__proto__:null,c:function(T){return ae.H.useMemoCache(T)}},ge.addTransitionType=we,ge.cache=function(T){return function(){return T.apply(null,arguments)}},ge.cacheSignal=function(){return null},ge.cloneElement=function(T,Z,K){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ie=V({},T.props),Se=T.key;if(Z!=null)for(ke in Z.key!==void 0&&(Se=""+Z.key),Z)!$e.call(Z,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&Z.ref===void 0||(ie[ke]=Z[ke]);var ke=arguments.length-2;if(ke===1)ie.children=K;else if(1<ke){for(var Re=Array(ke),ee=0;ee<ke;ee++)Re[ee]=arguments[ee+2];ie.children=Re}return ce(T.type,Se,ie)},ge.createContext=function(T){return T={$$typeof:m,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},ge.createElement=function(T,Z,K){var ie,Se={},ke=null;if(Z!=null)for(ie in Z.key!==void 0&&(ke=""+Z.key),Z)$e.call(Z,ie)&&ie!=="key"&&ie!=="__self"&&ie!=="__source"&&(Se[ie]=Z[ie]);var Re=arguments.length-2;if(Re===1)Se.children=K;else if(1<Re){for(var ee=Array(Re),me=0;me<Re;me++)ee[me]=arguments[me+2];Se.children=ee}if(T&&T.defaultProps)for(ie in Re=T.defaultProps,Re)Se[ie]===void 0&&(Se[ie]=Re[ie]);return ce(T,ke,Se)},ge.createRef=function(){return{current:null}},ge.forwardRef=function(T){return{$$typeof:p,render:T}},ge.isValidElement=je,ge.lazy=function(T){return{$$typeof:_,_payload:{_status:-1,_result:T},_init:xe}},ge.memo=function(T,Z){return{$$typeof:v,type:T,compare:Z===void 0?null:Z}},ge.startTransition=gu,ge.unstable_useCacheRefresh=function(){return ae.H.useCacheRefresh()},ge.use=function(T){return ae.H.use(T)},ge.useActionState=function(T,Z,K){return ae.H.useActionState(T,Z,K)},ge.useCallback=function(T,Z){return ae.H.useCallback(T,Z)},ge.useContext=function(T){return ae.H.useContext(T)},ge.useDebugValue=function(){},ge.useDeferredValue=function(T,Z){return ae.H.useDeferredValue(T,Z)},ge.useEffect=function(T,Z){return ae.H.useEffect(T,Z)},ge.useEffectEvent=function(T){return ae.H.useEffectEvent(T)},ge.useId=function(){return ae.H.useId()},ge.useImperativeHandle=function(T,Z,K){return ae.H.useImperativeHandle(T,Z,K)},ge.useInsertionEffect=function(T,Z){return ae.H.useInsertionEffect(T,Z)},ge.useLayoutEffect=function(T,Z){return ae.H.useLayoutEffect(T,Z)},ge.useMemo=function(T,Z){return ae.H.useMemo(T,Z)},ge.useOptimistic=function(T,Z){return ae.H.useOptimistic(T,Z)},ge.useReducer=function(T,Z,K){return ae.H.useReducer(T,Z,K)},ge.useRef=function(T){return ae.H.useRef(T)},ge.useState=function(T){return ae.H.useState(T)},ge.useSyncExternalStore=function(T,Z,K){return ae.H.useSyncExternalStore(T,Z,K)},ge.useTransition=function(){return ae.H.useTransition()},ge.version="19.3.1",ge}var z2;function yf(){return z2||(z2=1,H0.exports=tg()),H0.exports}var Y=yf(),q0={exports:{}},cc={},G0={exports:{}},Y0={};var j2;function ng(){return j2||(j2=1,(function(n){function a(W,se){var de=W.length;W.push(se);e:for(;0<de;){var xe=de-1>>>1,ye=W[xe];if(0<o(ye,se))W[xe]=se,W[de]=ye,de=xe;else break e}}function s(W){return W.length===0?null:W[0]}function r(W){if(W.length===0)return null;var se=W[0],de=W.pop();if(de!==se){W[0]=de;e:for(var xe=0,ye=W.length,gu=ye>>>1;xe<gu;){var we=2*(xe+1)-1,I=W[we],T=we+1,Z=W[T];if(0>o(I,de))T<ye&&0>o(Z,I)?(W[xe]=Z,W[T]=de,xe=T):(W[xe]=I,W[we]=de,xe=we);else if(T<ye&&0>o(Z,de))W[xe]=Z,W[T]=de,xe=T;else break e}}return se}function o(W,se){var de=W.sortIndex-se.sortIndex;return de!==0?de:W.id-se.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 m=Date,p=m.now();n.unstable_now=function(){return m.now()-p}}var b=[],v=[],_=1,y=null,D=3,M=!1,A=!1,L=!1,V=!1,J=typeof setTimeout=="function"?setTimeout:null,fe=typeof clearTimeout=="function"?clearTimeout:null,le=typeof setImmediate<"u"?setImmediate:null;function G(W){for(var se=s(v);se!==null;){if(se.callback===null)r(v);else if(se.startTime<=W)r(v),se.sortIndex=se.expirationTime,a(b,se);else break;se=s(v)}}function Q(W){if(L=!1,G(W),!A)if(s(b)!==null)A=!0,te||(te=!0,je());else{var se=s(v);se!==null&&Me(Q,se.startTime-W)}}var te=!1,P=-1,ae=5,$e=-1;function ce(){return V?!0:!(n.unstable_now()-$e<ae)}function he(){if(V=!1,te){var W=n.unstable_now();$e=W;var se=!0;try{e:{A=!1,L&&(L=!1,fe(P),P=-1),M=!0;var de=D;try{u:{for(G(W),y=s(b);y!==null&&!(y.expirationTime>W&&ce());){var xe=y.callback;if(typeof xe=="function"){y.callback=null,D=y.priorityLevel;var ye=xe(y.expirationTime<=W);if(W=n.unstable_now(),typeof ye=="function"){y.callback=ye,G(W),se=!0;break u}y===s(b)&&r(b),G(W)}else r(b);y=s(b)}if(y!==null)se=!0;else{var gu=s(v);gu!==null&&Me(Q,gu.startTime-W),se=!1}}break e}finally{y=null,D=de,M=!1}se=void 0}}finally{se?je():te=!1}}}var je;if(typeof le=="function")je=function(){le(he)};else if(typeof MessageChannel<"u"){var eu=new MessageChannel,Je=eu.port2;eu.port1.onmessage=he,je=function(){Je.postMessage(null)}}else je=function(){J(he,0)};function Me(W,se){P=J(function(){W(n.unstable_now())},se)}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(W){W.callback=null},n.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<W?Math.floor(1e3/W):5},n.unstable_getCurrentPriorityLevel=function(){return D},n.unstable_next=function(W){switch(D){case 1:case 2:case 3:var se=3;break;default:se=D}var de=D;D=se;try{return W()}finally{D=de}},n.unstable_requestPaint=function(){V=!0},n.unstable_runWithPriority=function(W,se){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var de=D;D=W;try{return se()}finally{D=de}},n.unstable_scheduleCallback=function(W,se,de){var xe=n.unstable_now();switch(typeof de=="object"&&de!==null?(de=de.delay,de=typeof de=="number"&&0<de?xe+de:xe):de=xe,W){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=de+ye,W={id:_++,callback:se,priorityLevel:W,startTime:de,expirationTime:ye,sortIndex:-1},de>xe?(W.sortIndex=de,a(v,W),s(b)===null&&W===s(v)&&(L?(fe(P),P=-1):L=!0,Me(Q,de-xe))):(W.sortIndex=ye,a(b,W),A||M||(A=!0,te||(te=!0,je()))),W},n.unstable_shouldYield=ce,n.unstable_wrapCallback=function(W){var se=D;return function(){var de=D;D=se;try{return W.apply(this,arguments)}finally{D=de}}}})(Y0)),Y0}var M2;function lg(){return M2||(M2=1,G0.exports=ng()),G0.exports}var V0={exports:{}},zu={};var R2;function ag(){if(R2)return zu;R2=1;var n=yf();function a(_){var y="https://react.dev/errors/"+_;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var D=2;D<arguments.length;D++)y+="&args[]="+encodeURIComponent(arguments[D])}return"Minified React error #"+_+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(a(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal"),f=Symbol.for("react.recoverable"),m=Symbol.for("react.optimistic_key");function p(_,y,D){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:M==null?null:M===m?m:""+M,children:_,containerInfo:y,implementation:D}}var b=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(_,y){if(_==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return zu.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,zu.browser=function(_){return{$$typeof:f,_reason:_}},zu.createPortal=function(_,y){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(a(299));return p(_,y,null,D)},zu.flushSync=function(_){var y=b.T,D=r.p;try{if(b.T=null,r.p=2,_)return _()}finally{b.T=y,r.p=D,r.d.f()}},zu.preconnect=function(_,y){typeof _=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(_,y))},zu.prefetchDNS=function(_){typeof _=="string"&&r.d.D(_)},zu.preinit=function(_,y){if(typeof _=="string"&&y&&typeof y.as=="string"){var D=y.as,M=v(D,y.crossOrigin),A=typeof y.integrity=="string"?y.integrity:void 0,L=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;D==="style"?r.d.S(_,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:M,integrity:A,fetchPriority:L}):D==="script"&&r.d.X(_,{crossOrigin:M,integrity:A,fetchPriority:L,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},zu.preinitModule=function(_,y){if(typeof _=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var D=v(y.as,y.crossOrigin);r.d.M(_,{crossOrigin:D,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}}else y==null&&r.d.M(_)},zu.preload=function(_,y){if(typeof _=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var D=y.as,M=v(D,y.crossOrigin);r.d.L(_,D,{crossOrigin:M,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},zu.preloadModule=function(_,y){if(typeof _=="string")if(y){var D=v(y.as,y.crossOrigin);r.d.m(_,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:D,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}else r.d.m(_)},zu.requestFormReset=function(_){r.d.r(_)},zu.unstable_batchedUpdates=function(_,y){return _(y)},zu.useFormState=function(_,y,D){return b.H.useFormState(_,y,D)},zu.useFormStatus=function(){return b.H.useHostTransitionStatus()},zu.version="19.3.1",zu}var w2;function ig(){if(w2)return V0.exports;w2=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(),V0.exports=ag(),V0.exports}var L2;function cg(){if(L2)return cc;L2=1;var n=lg(),a=yf(),s=ig();function r(e){var u="https://react.dev/errors/"+e;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)u+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+u+" 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){for(var u=e,t=u;t&&!t.alternate;)u=t,(u.flags&4098)!==0&&(e=u.return),t=u.return;for(;u.return;)u=u.return;return u.tag===3?e:null}function m(e){if(e.tag===13){var u=e.memoizedState;if(u===null&&(e=e.alternate,e!==null&&(u=e.memoizedState)),u!==null)return u.dehydrated}return null}function p(e){if(e.tag===31){var u=e.memoizedState;if(u===null&&(e=e.alternate,e!==null&&(u=e.memoizedState)),u!==null)return u.dehydrated}return null}function b(e){if(f(e)!==e)throw Error(r(188))}function v(e){var u=e.alternate;if(!u){if(u=f(e),u===null)throw Error(r(188));return u!==e?null:e}for(var t=e,l=u;;){var i=t.return;if(i===null)break;var c=i.alternate;if(c===null){if(l=i.return,l!==null){t=l;continue}break}if(i.child===c.child){for(c=i.child;c;){if(c===t)return b(i),e;if(c===l)return b(i),u;c=c.sibling}throw Error(r(188))}if(t.return!==l.return)t=i,l=c;else{for(var d=!1,g=i.child;g;){if(g===t){d=!0,t=i,l=c;break}if(g===l){d=!0,l=i,t=c;break}g=g.sibling}if(!d){for(g=c.child;g;){if(g===t){d=!0,t=c,l=i;break}if(g===l){d=!0,l=c,t=i;break}g=g.sibling}if(!d)throw Error(r(189))}}if(t.alternate!==l)throw Error(r(190))}if(t.tag!==3)throw Error(r(188));return t.stateNode.current===t?e:u}function _(e){var u=e.tag;if(u===5||u===26||u===27||u===6)return e;for(e=e.child;e!==null;){if(u=_(e),u!==null)return u;e=e.sibling}return null}function y(e,u,t,l,i,c){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&t(e,l,i,c)||(e.tag!==22||e.memoizedState===null)&&(u||e.tag!==5&&e.tag!==27)&&y(e.child,u,t,l,i,c))return!0;e=e.sibling}return!1}function D(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function M(e){var u=!1;for(e=e.return;e!==null&&(e.tag===4&&(u=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return u}function A(e){var u=[null,null],t=D(e);return t===null||L(u,e,t.child,{foundSelf:!1}),u}function L(e,u,t,l){for(;t!==null;){if(t===u)l.foundSelf=!0;else if(t.tag===5||t.tag===27||t.tag===6){if(l.foundSelf)return e[1]=t,!0;e[0]=t}else if((t.tag!==22||t.memoizedState===null)&&L(e,u,t.child,l))return!0;t=t.sibling}return!1}function V(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(r(559))}}var J=null,fe=null;function le(e,u,t){return e===t?!0:e===u?(J=e,!0):!1}function G(e,u,t){return e===t?(fe=e,!1):e===u?(fe!==null&&(J=e),!0):!1}function Q(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function te(e,u,t){for(var l=0,i=e;i;i=t(i))l++;i=0;for(var c=u;c;c=t(c))i++;for(;0<l-i;)e=t(e),l--;for(;0<i-l;)u=t(u),i--;for(;l--;){if(e===u||u!==null&&e===u.alternate)return e;e=t(e),u=t(u)}return null}var P=Object.assign,ae=Symbol.for("react.element"),$e=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),je=Symbol.for("react.strict_mode"),eu=Symbol.for("react.profiler"),Je=Symbol.for("react.consumer"),Me=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),gu=Symbol.for("react.activity"),we=Symbol.for("react.legacy_hidden"),I=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),Z=Symbol.for("react.recoverable"),K=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Symbol.for("react.client.reference");function ke(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case he:return"Fragment";case eu:return"Profiler";case je:return"StrictMode";case se:return"Suspense";case de:return"SuspenseList";case gu:return"Activity";case T:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case ce:return"Portal";case Me:return e.displayName||"Context";case Je:return(e._context.displayName||"Context")+".Consumer";case W:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xe:return u=e.displayName||null,u!==null?u:ke(e.type)||"Memo";case ye:u=e._payload,e=e._init;try{return ke(e(u))}catch{}}return null}var Re=Array.isArray,ee=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qu={pending:!1,data:null,method:null,action:null},_l=[],Nt=-1;function Ce(e){return{current:e}}function X(e){0>Nt||(e.current=_l[Nt],_l[Nt]=null,Nt--)}function F(e,u){Nt++,_l[Nt]=e.current,e.current=u}var Ue=Ce(null),nu=Ce(null),Iu=Ce(null),El=Ce(null);function lt(e,u){switch(F(Iu,u),F(nu,e),F(Ue,null),u.nodeType){case 9:case 11:e=(e=u.documentElement)&&(e=e.namespaceURI)?Uh(e):0;break;default:if(e=u.tagName,u=u.namespaceURI)u=Uh(u),e=Fh(u,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Ue),F(Ue,e)}function cn(){X(Ue),X(nu),X(Iu)}function Sl(e){var u=e.memoizedState;u!==null&&($a._currentValue=u.memoizedState,F(El,e)),u=Ue.current;var t=Fh(u,e.type);u!==t&&(F(nu,e),F(Ue,t))}function Al(e){nu.current===e&&(X(Ue),X(nu)),El.current===e&&(X(El),$a._currentValue=Qu)}var Tl,pt;function Ru(e){if(Tl===void 0)try{throw Error()}catch(t){var u=t.stack.trim().match(/\n( *(at )?)/);Tl=u&&u[1]||"",pt=-1<t.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+Tl+e+pt}var kt=!1;function Cl(e,u){if(!e||kt)return"";kt=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(u){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch($){var N=$}Reflect.construct(e,[],U)}else{try{U.call()}catch($){N=$}U=!1;try{var j=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),U=!0,new e}finally{U&&(j!==void 0?Object.defineProperty(e.prototype,"props",j):delete e.prototype.props)}}}else{try{throw Error()}catch($){N=$}(U=e())&&typeof U.catch=="function"&&U.catch(function(){})}}catch($){if($&&N&&typeof $.stack=="string")return[$.stack,N.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),d=c[0],g=c[1];if(d&&g){var E=d.split(`
|
|
4
|
-
`),O=g.split(`
|
|
5
|
-
`);for(i=l=0;l<E.length&&!E[l].includes("DetermineComponentFrameRoot");)l++;for(;i<O.length&&!O[i].includes("DetermineComponentFrameRoot");)i++;if(l===E.length||i===O.length)for(l=E.length-1,i=O.length-1;1<=l&&0<=i&&E[l]!==O[i];)i--;for(;1<=l&&0<=i;l--,i--)if(E[l]!==O[i]){if(l!==1||i!==1)do if(l--,i--,0>i||E[l]!==O[i]){var R=`
|
|
6
|
-
`+E[l].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),R}while(1<=l&&0<=i);break}}}finally{kt=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?Ru(t):""}function na(e,u){switch(e.tag){case 26:case 27:case 5:return Ru(e.type);case 16:return Ru("Lazy");case 13:return e.child!==u&&u!==null?Ru("Suspense Fallback"):Ru("Suspense");case 19:return Ru("SuspenseList");case 0:case 15:return Cl(e.type,!1);case 11:return Cl(e.type.render,!1);case 1:return Cl(e.type,!0);case 31:return Ru("Activity");case 30:return Ru("ViewTransition");default:return""}}function Dl(e){try{var u="",t=null;do u+=na(e,t),t=e,e=e.return;while(e);return u}catch(l){return`
|
|
7
|
-
Error generating stack: `+l.message+`
|
|
8
|
-
`+l.stack}}var Nl=Object.prototype.hasOwnProperty,Bt=n.unstable_scheduleCallback,Nn=n.unstable_cancelCallback,la=n.unstable_shouldYield,Ac=n.unstable_requestPaint,wu=n.unstable_now,Tc=n.unstable_getCurrentPriorityLevel,aa=n.unstable_ImmediatePriority,ia=n.unstable_UserBlockingPriority,bt=n.unstable_NormalPriority,kn=n.unstable_LowPriority,Ht=n.unstable_IdlePriority,Cc=n.log,Dc=n.unstable_setDisableYieldValue,On=null,Lu=null;function Ot(e){if(typeof Cc=="function"&&Dc(e),Lu&&typeof Lu.setStrictMode=="function")try{Lu.setStrictMode(On,e)}catch{}}var yu=Math.clz32?Math.clz32:zn,ca=Math.log,gt=Math.LN2;function zn(e){return e>>>=0,e===0?32:31-(ca(e)/gt|0)|0}var jn=256,Mn=262144,ra=4194304;function qt(e){var u=e&42;if(u!==0)return u;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&-e;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 Rn(e,u,t){var l=e.pendingLanes;if(l===0)return 0;var i=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var g=l&134217727;return g!==0?(l=g&~c,l!==0?i=qt(l):(d&=g,d!==0?i=qt(d):t||(t=g&~e,t!==0&&(i=qt(t))))):(g=l&~c,g!==0?i=qt(g):d!==0?i=qt(d):t||(t=l&~e,t!==0&&(i=qt(t)))),i===0?0:u!==0&&u!==i&&(u&c)===0&&(c=i&-i,t=u&-u,c>=t||c===32&&(t&4194048)!==0)?u:i}function wn(e,u){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&u)===0}function sa(e,u){(u&8)!==0&&(u|=u&32);var t=e.entangledLanes;if(t!==0)for(e=e.entanglements,t&=u;0<t;){var l=31-yu(t),i=1<<l;u|=e[l],t&=~i}return u}function xs(e,u){switch(e){case 1:case 2:case 4:case 8:case 64:return u+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 u+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 Ln(){var e=ra;return ra<<=1,(ra&62914560)===0&&(ra=4194304),e}function ci(e){for(var u=[],t=0;31>t;t++)u.push(e);return u}function kl(e,u){e.pendingLanes|=u,u!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function uu(e,u,t,l,i,c){var d=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var g=e.entanglements,E=e.expirationTimes,O=e.hiddenUpdates;for(t=d&~t;0<t;){var R=31-yu(t),U=1<<R;g[R]=0,E[R]=-1;var N=O[R];if(N!==null)for(O[R]=null,R=0;R<N.length;R++){var j=N[R];j!==null&&(j.lane&=-536870913)}t&=~U}l!==0&&rn(e,l,0),c!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~u))}function rn(e,u,t){e.pendingLanes|=u,e.suspendedLanes&=~u;var l=31-yu(u);e.entangledLanes|=u,e.entanglements[l]=e.entanglements[l]|1073741824|t&261930}function Nc(e,u){var t=e.entangledLanes|=u;for(e=e.entanglements;t;){var l=31-yu(t),i=1<<l;i&u|e[l]&u&&(e[l]|=u),t&=~i}}function ri(e,u){var t=u&-u;return t=(t&42)!==0?1:Ol(t),(t&(e.suspendedLanes|u))!==0?0:t}function Ol(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 oa(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function si(){var e=me.p;return e!==0?e:(e=window.event,e===void 0?32:_2(e.type))}function kc(e,u){var t=me.p;try{return me.p=e,u()}finally{me.p=t}}var zt=Math.random().toString(36).slice(2),mu="__reactFiber$"+zt,Uu="__reactProps$"+zt,Hu="__reactContainer$"+zt,oi="__reactEvents$"+zt,fi="__reactListeners$"+zt,Un="__reactHandles$"+zt,di="__reactResources$"+zt,sn="__reactMarker$"+zt,Fn="__reactLoad$"+zt;function Bn(e){delete e[mu],delete e[Uu],delete e[fi],delete e[Un]}function on(e){var u;if(u=e[mu])return u;for(var t=e.parentNode;t;){if(u=t[Hu]||t[mu]){if(t=u.alternate,u.child!==null||t!==null&&t.child!==null)for(e=u2(e);e!==null;){if(t=e[mu])return t;e=u2(e)}return u}e=t,t=e.parentNode}return null}function fn(e){if(e=e[mu]||e[Hu]){var u=e.tag;if(u===5||u===6||u===13||u===31||u===26||u===27||u===3)return e}return null}function zl(e){var u=e.tag;if(u===5||u===26||u===27||u===6)return e.stateNode;throw Error(r(33))}function Hn(e){var u=e[di];return u||(u=e[di]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function ru(e){e[sn]=!0}function Oc(e){e[Fn]=void 0}var hi=new Set,zc={};function Gt(e,u){Yt(e,u),Yt(e+"Capture",u)}function Yt(e,u){for(zc[e]=u,e=0;e<u.length;e++)hi.add(u[e])}var fa=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]*$"),da={},mi={};function ha(e){return Nl.call(mi,e)?!0:Nl.call(da,e)?!1:fa.test(e)?mi[e]=!0:(da[e]=!0,!1)}var Ae=!1;function qn(){var e=Ae;return Ae=!1,e}function Fu(e,u,t){if(ha(u))if(t===null)e.removeAttribute(u);else{switch(typeof t){case"undefined":case"function":case"symbol":e.removeAttribute(u);return;case"boolean":var l=u.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(u);return}}e.setAttribute(u,t)}}function ma(e,u,t){if(t===null)e.removeAttribute(u);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(u);return}e.setAttribute(u,t)}}function Ku(e,u,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.setAttributeNS(u,t,l)}}function qu(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pi(e){var u=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Gn(e,u,t){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,u);if(!e.hasOwnProperty(u)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,c=l.set;return Object.defineProperty(e,u,{configurable:!0,get:function(){return i.call(this)},set:function(d){t=""+d,c.call(this,d)}}),Object.defineProperty(e,u,{enumerable:l.enumerable}),{getValue:function(){return t},setValue:function(d){t=""+d},stopTracking:function(){e._valueTracker=null,delete e[u]}}}}function jl(e){if(!e._valueTracker){var u=pi(e)?"checked":"value";e._valueTracker=Gn(e,u,""+e[u])}}function bi(e){if(!e)return!1;var u=e._valueTracker;if(!u)return!0;var t=u.getValue(),l="";return e&&(l=pi(e)?e.checked?"true":"false":e.value),e=l,e!==t?(u.setValue(e),!0):!1}var vs=/[\n"\\]/g;function Gu(e){return e.replace(vs,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function gi(e,u,t,l,i,c,d,g){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),u!=null?d==="number"?(u===0&&e.value===""||e.value!=u)&&(e.value=""+qu(u)):e.value!==""+qu(u)&&(e.value=""+qu(u)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),u!=null?d==="number"&&e.value==u?pa(e,qu(e.value)):pa(e,qu(u)):t!=null?pa(e,qu(t)):l!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+qu(g):e.removeAttribute("name")}function jc(e,u,t,l,i,c,d,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),u!=null||t!=null){if(!(c!=="submit"&&c!=="reset"||u!=null)){jl(e);return}t=t!=null?""+qu(t):"",u=u!=null?""+qu(u):t,g||u===e.value||(e.value=u),e.defaultValue=u}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=g?e.checked:!!l,e.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),jl(e)}function pa(e,u){e.defaultValue!==""+u&&(e.defaultValue=""+u)}function Vt(e,u,t,l){if(e=e.options,u){u={};for(var i=0;i<t.length;i++)u["$"+t[i]]=!0;for(t=0;t<e.length;t++)i=u.hasOwnProperty("$"+e[t].value),e[t].selected!==i&&(e[t].selected=i),i&&l&&(e[t].defaultSelected=!0)}else{for(t=""+qu(t),u=null,i=0;i<e.length;i++){if(e[i].value===t){e[i].selected=!0,l&&(e[i].defaultSelected=!0);return}u!==null||e[i].disabled||(u=e[i])}u!==null&&(u.selected=!0)}}function Yn(e,u,t){if(u!=null&&(u=""+qu(u),u!==e.value&&(e.value=u),t==null)){e.defaultValue!==u&&(e.defaultValue=u);return}e.defaultValue=t!=null?""+qu(t):""}function ba(e,u,t,l){if(u==null){if(l!=null){if(t!=null)throw Error(r(92));if(Re(l)){if(1<l.length)throw Error(r(93));l=l[0]}t=l}t==null&&(t=""),u=t}t=qu(u),e.defaultValue=t,l=e.textContent,l===t&&l!==""&&l!==null&&(e.value=l),jl(e)}function q(e,u){if(u){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=u;return}}e.textContent=u}var x=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 C(e,u,t){var l=u.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?l?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="":l?e.setProperty(u,t):typeof t!="number"||t===0||x.has(u)?u==="float"?e.cssFloat=t:e[u]=(""+t).trim():e[u]=t+"px"}function H(e,u,t){if(u!=null&&typeof u!="object")throw Error(r(62));if(e=e.style,t!=null){for(var l in t)!t.hasOwnProperty(l)||u!=null&&u.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="",Ae=!0);for(var i in u)l=u[i],u.hasOwnProperty(i)&&t[i]!==l&&(C(e,i,l),Ae=!0)}else for(var c in u)u.hasOwnProperty(c)&&C(e,c,u[c])}function B(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 re=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"],["maskType","mask-type"],["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"]]),pe=/^[\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 ve(e){return pe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function He(){}var $u=null;function pu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var iu=null,at=null;function Tu(e){var u=fn(e);if(u&&(e=u.stateNode)){var t=e[Uu]||null;e:switch(e=u.stateNode,u.type){case"input":if(gi(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),u=t.name,t.type==="radio"&&u!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+Gu(""+u)+'"][type="radio"]'),u=0;u<t.length;u++){var l=t[u];if(l!==e&&l.form===e.form){var i=l[Uu]||null;if(!i)throw Error(r(90));gi(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(u=0;u<t.length;u++)l=t[u],l.form===e.form&&bi(l)}break e;case"textarea":Yn(e,t.value,t.defaultValue);break e;case"select":u=t.value,u!=null&&Vt(e,!!t.multiple,u,!1)}}}var ga=!1;function jf(e,u,t){if(ga)return e(u,t);ga=!0;try{var l=e(u);return l}finally{if(ga=!1,(iu!==null||at!==null)&&(jr(),iu&&(u=iu,e=at,at=iu=null,Tu(u),e)))for(u=0;u<e.length;u++)Tu(e[u])}}function yi(e,u){var t=e.stateNode;if(t===null)return null;var l=t[Uu]||null;if(l===null)return null;t=l[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(r(231,u,typeof t));return t}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_s=!1;if(dn)try{var xi={};Object.defineProperty(xi,"passive",{get:function(){_s=!0}}),window.addEventListener("test",xi,xi),window.removeEventListener("test",xi,xi)}catch{_s=!1}var Vn=null,Es=null,Mc=null;function Mf(){if(Mc)return Mc;var e,u=Es,t=u.length,l,i="value"in Vn?Vn.value:Vn.textContent,c=i.length;for(e=0;e<t&&u[e]===i[e];e++);var d=t-e;for(l=1;l<=d&&u[t-l]===i[c-l];l++);return Mc=i.slice(e,1<l?1-l:void 0)}function Rc(e){var u=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&u===13&&(e=13)):e=u,e===10&&(e=13),32<=e||e===13?e:0}function wc(){return!0}function Rf(){return!1}function Yu(e){function u(t,l,i,c,d){this._reactName=t,this._targetInst=i,this.type=l,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(t=e[g],this[g]=t?t(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?wc:Rf,this.isPropagationStopped=Rf,this}return P(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=wc)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=wc)},persist:function(){},isPersistent:wc}),u}var Zn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lc=Yu(Zn),vi=P({},Zn,{view:0,detail:0}),Tp=Yu(vi),Ss,As,_i,Uc=P({},vi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,button:0,buttons:0,relatedTarget:function(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!==_i&&(_i&&e.type==="mousemove"?(Ss=e.screenX-_i.screenX,As=e.screenY-_i.screenY):As=Ss=0,_i=e),Ss)},movementY:function(e){return"movementY"in e?e.movementY:As}}),wf=Yu(Uc),Cp=P({},Uc,{dataTransfer:0}),Dp=Yu(Cp),Np=P({},vi,{relatedTarget:0}),Ts=Yu(Np),kp=P({},Zn,{animationName:0,elapsedTime:0,pseudoElement:0}),Op=Yu(kp),zp=P({},Zn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jp=Yu(zp),Mp=P({},Zn,{data:0}),Lf=Yu(Mp),Rp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wp={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"},Lp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Up(e){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(e):(e=Lp[e])?!!u[e]:!1}function Cs(){return Up}var Fp=P({},vi,{key:function(e){if(e.key){var u=Rp[e.key]||e.key;if(u!=="Unidentified")return u}return e.type==="keypress"?(e=Rc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,charCode:function(e){return e.type==="keypress"?Rc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Bp=Yu(Fp),Hp=P({},Uc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uf=Yu(Hp),qp=P({},Zn,{submitter:0}),Gp=Yu(qp),Yp=P({},vi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),Vp=Yu(Yp),Zp=P({},Zn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xp=Yu(Zp),Qp=P({},Uc,{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}),Ip=Yu(Qp),Kp=P({},Zn,{newState:0,oldState:0,source:0}),$p=Yu(Kp),Jp=[9,13,27,32],Ds=dn&&"CompositionEvent"in window,Ei=null;dn&&"documentMode"in document&&(Ei=document.documentMode);var Wp=dn&&"TextEvent"in window&&!Ei,Ff=dn&&(!Ds||Ei&&8<Ei&&11>=Ei),Bf=" ",Hf=!1;function qf(e,u){switch(e){case"keyup":return Jp.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ya=!1;function Pp(e,u){switch(e){case"compositionend":return Gf(u);case"keypress":return u.which!==32?null:(Hf=!0,Bf);case"textInput":return e=u.data,e===Bf&&Hf?null:e;default:return null}}function e3(e,u){if(ya)return e==="compositionend"||!Ds&&qf(e,u)?(e=Mf(),Mc=Es=Vn=null,ya=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return Ff&&u.locale!=="ko"?null:u.data;default:return null}}var u3={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 Yf(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u==="input"?!!u3[e.type]:u==="textarea"}function Vf(e,u,t,l){iu?at?at.push(l):at=[l]:iu=l,u=Fr(u,"onChange"),0<u.length&&(t=new Lc("onChange","change",null,t,l),e.push({event:t,listeners:u}))}var Si=null,Ai=null;function t3(e){zh(e,0)}function Fc(e){var u=zl(e);if(bi(u))return e}function Zf(e,u){if(e==="change")return u}var Xf=!1;if(dn){var Ns;if(dn){var ks="oninput"in document;if(!ks){var Qf=document.createElement("div");Qf.setAttribute("oninput","return;"),ks=typeof Qf.oninput=="function"}Ns=ks}else Ns=!1;Xf=Ns&&(!document.documentMode||9<document.documentMode)}function If(){Si&&(Si.detachEvent("onpropertychange",Kf),Ai=Si=null)}function Kf(e){if(e.propertyName==="value"&&Fc(Ai)){var u=[];Vf(u,Ai,e,pu(e)),jf(t3,u)}}function n3(e,u,t){e==="focusin"?(If(),Si=u,Ai=t,Si.attachEvent("onpropertychange",Kf)):e==="focusout"&&If()}function l3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fc(Ai)}function a3(e,u){if(e==="click")return Fc(u)}function i3(e,u){if(e==="input"||e==="change")return Fc(u)}function c3(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var it=typeof Object.is=="function"?Object.is:c3;function Ti(e,u){if(it(e,u))return!0;if(typeof e!="object"||e===null||typeof u!="object"||u===null)return!1;var t=Object.keys(e),l=Object.keys(u);if(t.length!==l.length)return!1;for(l=0;l<t.length;l++){var i=t[l];if(!Nl.call(u,i)||!it(e[i],u[i]))return!1}return!0}function Os(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}}function $f(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jf(e,u){var t=$f(e);e=0;for(var l;t;){if(t.nodeType===3){if(l=e+t.textContent.length,e<=u&&l>=u)return{node:t,offset:u-e};e=l}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=$f(t)}}function Wf(e,u){return e&&u?e===u?!0:e&&e.nodeType===3?!1:u&&u.nodeType===3?Wf(e,u.parentNode):"contains"in e?e.contains(u):e.compareDocumentPosition?!!(e.compareDocumentPosition(u)&16):!1:!1}function Pf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var u=Os(e.document);u instanceof e.HTMLIFrameElement;){try{var t=typeof u.contentWindow.location.href=="string"}catch{t=!1}if(t)e=u.contentWindow;else break;u=Os(e.document)}return u}function zs(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u&&(u==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||u==="textarea"||e.contentEditable==="true")}var r3=dn&&"documentMode"in document&&11>=document.documentMode,xa=null,js=null,Ci=null,Ms=!1;function ed(e,u,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Ms||xa==null||xa!==Os(l)||(l=xa,"selectionStart"in l&&zs(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ci&&Ti(Ci,l)||(Ci=l,l=Fr(js,"onSelect"),0<l.length&&(u=new Lc("onSelect","select",null,u,t),e.push({event:u,listeners:l}),u.target=xa)))}function Ml(e,u){var t={};return t[e.toLowerCase()]=u.toLowerCase(),t["Webkit"+e]="webkit"+u,t["Moz"+e]="moz"+u,t}var va={animationend:Ml("Animation","AnimationEnd"),animationiteration:Ml("Animation","AnimationIteration"),animationstart:Ml("Animation","AnimationStart"),transitionrun:Ml("Transition","TransitionRun"),transitionstart:Ml("Transition","TransitionStart"),transitioncancel:Ml("Transition","TransitionCancel"),transitionend:Ml("Transition","TransitionEnd")},Rs={},ud={};dn&&(ud=document.createElement("div").style,"AnimationEvent"in window||(delete va.animationend.animation,delete va.animationiteration.animation,delete va.animationstart.animation),"TransitionEvent"in window||delete va.transitionend.transition);function Rl(e){if(Rs[e])return Rs[e];if(!va[e])return e;var u=va[e],t;for(t in u)if(u.hasOwnProperty(t)&&t in ud)return Rs[e]=u[t];return e}var td=Rl("animationend"),nd=Rl("animationiteration"),ld=Rl("animationstart"),s3=Rl("transitionrun"),o3=Rl("transitionstart"),f3=Rl("transitioncancel"),ad=Rl("transitionend"),id=new Map,ws="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");ws.push("scrollEnd");function jt(e,u){id.set(e,u),Gt(u,[e])}var d3=0;function hn(e,u){if(e.name!=null&&e.name!=="auto")return e.name;if(u.autoName!==null)return u.autoName;e=Lt.identifierPrefix;var t=d3++;return e="_"+e+"t_"+t.toString(32)+"_",u.autoName=e}function cd(e){if(e==null||typeof e=="string")return e;var u=null,t=Ha;if(t!==null)for(var l=0;l<t.length;l++){var i=e[t[l]];if(i!=null){if(i==="none")return"none";u=u==null?i:u+(" "+i)}}return u??e.default}function mn(e,u){return e=cd(e),u=cd(u),u==null?e==="auto"?null:e:u==="auto"?null:u}var Bc=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=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(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},yt=[],_a=0,Ls=0;function Hc(){for(var e=_a,u=Ls=_a=0;u<e;){var t=yt[u];yt[u++]=null;var l=yt[u];yt[u++]=null;var i=yt[u];yt[u++]=null;var c=yt[u];if(yt[u++]=null,l!==null&&i!==null){var d=l.pending;d===null?i.next=i:(i.next=d.next,d.next=i),l.pending=i}c!==0&&rd(t,i,c)}}function qc(e,u,t,l){yt[_a++]=e,yt[_a++]=u,yt[_a++]=t,yt[_a++]=l,Ls|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Us(e,u,t,l){return qc(e,u,t,l),Gc(e)}function wl(e,u){return qc(e,null,null,u),Gc(e)}function rd(e,u,t){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t);for(var i=!1,c=e.return;c!==null;)c.childLanes|=t,l=c.alternate,l!==null&&(l.childLanes|=t),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(i=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,i&&u!==null&&(i=31-yu(t),e=c.hiddenUpdates,l=e[i],l===null?e[i]=[u]:l.push(u),u.lane=t|536870912),c):null}function Gc(e){if(50<Ii)throw Ii=0,zr=null,Error(r(185));for(var u=e.return;u!==null;)e=u,u=e.return;return e.tag===3?e.stateNode:null}var Ea={};function h3(e,u,t,l){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ju(e,u,t,l){return new h3(e,u,t,l)}function Fs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pn(e,u){var t=e.alternate;return t===null?(t=Ju(e.tag,u,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=u,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&1206910976,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,u=e.dependencies,t.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function sd(e,u){e.flags&=1206910978;var t=e.alternate;return t===null?(e.childLanes=0,e.lanes=u,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,u=t.dependencies,e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),e}function Yc(e,u,t,l,i,c){var d=0;if(l=e,typeof l=="function")Fs(l)&&(d=1);else if(typeof l=="string")d=qb(e,t,Ue.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(l){case gu:return e=Ju(31,t,u,i),e.elementType=gu,e.lanes=c,e;case he:return Ll(t.children,i,c,u);case je:d=8,i|=24;break;case eu:return e=Ju(12,t,u,i|2),e.elementType=eu,e.lanes=c,e;case se:return e=Ju(13,t,u,i),e.elementType=se,e.lanes=c,e;case de:return e=Ju(19,t,u,i),e.elementType=de,e.lanes=c,e;case we:case T:return e=i|32,e=Ju(30,t,u,e),e.elementType=T,e.lanes=c,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Me:d=10;break e;case Je:d=9;break e;case W:d=11;break e;case xe:d=14;break e;case ye:d=16,l=null;break e}d=29,t=Error(r(130,e===null?"null":typeof e,"")),l=null}return u=Ju(d,t,u,i),u.elementType=e,u.type=l,u.lanes=c,u}function Ll(e,u,t,l){return e=Ju(7,e,l,u),e.lanes=t,e}function Bs(e,u,t){return e=Ju(6,e,null,u),e.lanes=t,e}function od(e){var u=Ju(18,null,null,0);return u.stateNode=e,u}function Hs(e,u,t){return u=Ju(4,e.children!==null?e.children:[],e.key,u),u.lanes=t,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}var fd=new WeakMap;function xt(e,u){if(typeof e=="object"&&e!==null){var t=fd.get(e);return t!==void 0?t:(u={value:e,source:u,stack:Dl(u)},fd.set(e,u),u)}return{value:e,source:u,stack:Dl(u)}}var Sa=[],Aa=0,Vc=null,Di=0,vt=[],_t=0,Xn=null,Zt=1,Xt="";function bn(e,u){Sa[Aa++]=Di,Sa[Aa++]=Vc,Vc=e,Di=u}function dd(e,u,t){vt[_t++]=Zt,vt[_t++]=Xt,vt[_t++]=Xn,Xn=e;var l=Zt;e=Xt;var i=32-yu(l)-1;l&=~(1<<i),t+=1;var c=32-yu(u)+i;if(30<c){var d=i-i%5;c=(l&(1<<d)-1).toString(32),l>>=d,i-=d,Zt=1<<32-yu(u)+i|t<<i|l,Xt=c+e}else Zt=1<<c|t<<i|l,Xt=e}function Zc(e){e.return!==null&&(bn(e,1),dd(e,1,0))}function qs(e){for(;e===Vc;)Vc=Sa[--Aa],Sa[Aa]=null,Di=Sa[--Aa],Sa[Aa]=null;for(;e===Xn;)Xn=vt[--_t],vt[_t]=null,Xt=vt[--_t],vt[_t]=null,Zt=vt[--_t],vt[_t]=null}function hd(e,u){vt[_t++]=Zt,vt[_t++]=Xt,vt[_t++]=Xn,Zt=u.id,Xt=u.overflow,Xn=e}var xu=null,Qe=null,Te=!1,Qn=null,Et=!1,Gs=Error(r(519));function In(e){var u=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ni(xt(u,e)),Gs}function md(e){var u=e.stateNode,t=e.type,l=e.memoizedProps;switch(u[mu]=e,u[Uu]=l,t){case"dialog":Ne("cancel",u),Ne("close",u);break;case"iframe":case"object":case"embed":Ne("load",u);break;case"video":case"audio":for(t=0;t<$i.length;t++)Ne($i[t],u);break;case"source":Ne("error",u);break;case"img":case"image":case"link":Ne("error",u),Ne("load",u);break;case"details":Ne("toggle",u);break;case"input":Ne("invalid",u),jc(u,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Ne("invalid",u);break;case"textarea":Ne("invalid",u),ba(u,l.value,l.defaultValue,l.children)}t=l.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||u.textContent===""+t||l.suppressHydrationWarning===!0||wh(u.textContent,t)?(l.popover!=null&&(Ne("beforetoggle",u),Ne("toggle",u)),l.onScroll!=null&&Ne("scroll",u),l.onScrollEnd!=null&&Ne("scrollend",u),l.onClick!=null&&(u.onclick=He),u=!0):u=!1,u||In(e,!0)}function Xc(e){for(xu=e.return;xu;)switch(xu.tag){case 5:case 31:case 13:Et=!1;return;case 27:case 3:Et=!0;return;default:xu=xu.return}}function Ta(e){if(e!==xu)return!1;if(!Te)return Xc(e),Te=!0,!1;var u=e.tag,t;if((t=u!==3&&u!==27)&&((t=u===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||x0(e.type,e.memoizedProps)),t=!t),t&&Qe&&In(e),Xc(e),u===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qe=e2(e)}else if(u===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qe=e2(e)}else u===27?(u=Qe,ol(e.type)?(e=N0,N0=null,Qe=e):Qe=u):Qe=xu?At(e.stateNode.nextSibling):null;return!0}function Ul(){Qe=xu=null,Te=!1}function Ys(){var e=Qn;return e!==null&&(et===null?et=e:et.push.apply(et,e),Qn=null),e}function Ni(e){Qn===null?Qn=[e]:Qn.push(e)}var Vs=Ce(null),Fl=null,gn=null;function Kn(e,u,t){F(Vs,u._currentValue),u._currentValue=t}function yn(e){e._currentValue=Vs.current,X(Vs)}function Qc(e,u,t){for(;e!==null;){var l=e.alternate;if((e.childLanes&u)!==u?(e.childLanes|=u,l!==null&&(l.childLanes|=u)):l!==null&&(l.childLanes&u)!==u&&(l.childLanes|=u),e===t)break;e=e.return}}function Zs(e,u,t,l){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=i.dependencies;if(c!==null){var d=i.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=i;for(var E=0;E<u.length;E++)if(g.context===u[E]){c.lanes|=t,g=c.alternate,g!==null&&(g.lanes|=t),Qc(c.return,t,e),l||(d=null);break e}c=g.next}}else if(i.tag===18){if(d=i.return,d===null)throw Error(r(341));d.lanes|=t,c=d.alternate,c!==null&&(c.lanes|=t),Qc(d,t,e),d=null}else i.tag===13&&i.memoizedState!==null&&i.memoizedState.dehydrated===null?(i.lanes|=t,d=i.alternate,d!==null&&(d.lanes|=t),Qc(i.return,t,e),d=i.child,d=d!==null?d.sibling:null):d=i.child;if(d!==null)d.return=i;else for(d=i;d!==null;){if(d===e){d=null;break}if(i=d.sibling,i!==null){i.return=d.return,d=i;break}d=d.return}i=d}}function Bl(e,u,t,l){e=null;for(var i=u,c=!1;i!==null;){if(!c){if((i.flags&524288)!==0)c=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var d=i.alternate;if(d===null)throw Error(r(387));if(d=d.memoizedProps,d!==null){var g=i.type;it(i.pendingProps.value,d.value)||(e!==null?e.push(g):e=[g])}}else if(i===El.current){if(d=i.alternate,d===null)throw Error(r(387));d.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push($a):e=[$a])}i=i.return}return e!==null&&Zs(u,e,t,l),u.flags|=262144,e!==null}function Ic(e){for(e=e.firstContext;e!==null;){if(!it(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Hl(e){Fl=e,gn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Cu(e){return pd(Fl,e)}function Kc(e,u){return Fl===null&&Hl(e),pd(e,u)}function pd(e,u){var t=u._currentValue;if(u={context:u,memoizedValue:t,next:null},gn===null){if(e===null)throw Error(r(308));gn=u,e.dependencies={lanes:0,firstContext:u},e.flags|=524288}else gn=gn.next=u;return t}var m3=typeof AbortController<"u"?AbortController:function(){var e=[],u=this.signal={aborted:!1,addEventListener:function(t,l){e.push(l)}};this.abort=function(){u.aborted=!0,e.forEach(function(t){return t()})}},p3=n.unstable_scheduleCallback,b3=n.unstable_NormalPriority,su={$$typeof:Me,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xs(){return{controller:new m3,data:new Map,refCount:0}}function ki(e){e.refCount--,e.refCount===0&&p3(b3,function(){e.controller.abort()})}function bd(e,u){if((e.pendingLanes&4194048)!==0){var t=e.transitionTypes;for(t===null&&(t=e.transitionTypes=[]),e=0;e<u.length;e++){var l=u[e];t.indexOf(l)===-1&&t.push(l)}}}var Oi=null;function g3(e){var u=e.transitionTypes;return e.transitionTypes=null,u}var zi=null,Qs=0,ql=0,Ca=null;function y3(e,u){if(zi===null){var t=zi=[];Qs=0,ql=o0(),Ca={status:"pending",value:void 0,then:function(l){t.push(l)}}}return Qs++,u.then(gd,gd),u}function gd(){if(--Qs===0&&(Oi=null,zi!==null)){Ca!==null&&(Ca.status="fulfilled");var e=zi;zi=null,ql=0,Ca=null;for(var u=0;u<e.length;u++)(0,e[u])()}}function x3(e,u){var t=[],l={status:"pending",value:null,reason:null,then:function(i){t.push(i)}};return e.then(function(){l.status="fulfilled",l.value=u;for(var i=0;i<t.length;i++)(0,t[i])(u)},function(i){for(l.status="rejected",l.reason=i,i=0;i<t.length;i++)(0,t[i])(void 0)}),l}var yd=ee.S;ee.S=function(e,u){if(oh=wu(),typeof u=="object"&&u!==null&&typeof u.then=="function"&&y3(e,u),Oi!==null)for(var t=Va;t!==null;)bd(t,Oi),t=t.next;if(t=e.types,t!==null){for(var l=Va;l!==null;)bd(l,t),l=l.next;if(ql!==0){l=Oi,l===null&&(l=Oi=[]);for(var i=0;i<t.length;i++){var c=t[i];l.indexOf(c)===-1&&l.push(c)}}}yd!==null&&yd(e,u)};var Gl=Ce(null);function Is(){var e=Gl.current;return e!==null?e:Xe.pooledCache}function $c(e,u){u===null?F(Gl,Gl.current):F(Gl,u.pool)}function xd(){var e=Is();return e===null?null:{parent:su._currentValue,pool:e}}var Da=Error(r(460)),Ks=Error(r(474)),Jc=Error(r(542)),Wc={then:function(){}};function vd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function _d(e,u,t){switch(t=e[t],t===void 0?e.push(u):t!==u&&(u.then(He,He),u=t),u.status){case"fulfilled":return u.value;case"rejected":throw e=u.reason,Sd(e),e===void 0&&!("reason"in u)?Error(r(600)):e;default:if(typeof u.status=="string")u.then(He,He);else{if(e=Xe,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=u,e.status="pending",e.then(function(l){if(u.status==="pending"){var i=u;i.status="fulfilled",i.value=l}},function(l){if(u.status==="pending"){var i=u;i.status="rejected",i.reason=l}})}switch(u.status){case"fulfilled":return u.value;case"rejected":throw e=u.reason,Sd(e),e}throw Vl=u,Da}}function Yl(e){try{var u=e._init;return u(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Vl=t,Da):t}}var Vl=null;function Ed(){if(Vl===null)throw Error(r(459));var e=Vl;return Vl=null,e}function Sd(e){if(e===Da||e===Jc)throw Error(r(483))}var Na=null,ji=0;function Pc(e){var u=ji;return ji+=1,Na===null&&(Na=[]),_d(Na,e,u)}function $n(e,u){u=u.props.ref,e.ref=u!==void 0?u:null}function er(e,u){throw u.$$typeof===ae?Error(r(525)):(e=Object.prototype.toString.call(u),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":e)))}function Ad(e){function u(k,S){if(e){var z=k.deletions;z===null?(k.deletions=[S],k.flags|=16):z.push(S)}}function t(k,S){if(!e)return null;for(;S!==null;)u(k,S),S=S.sibling;return null}function l(k){for(var S=new Map;k!==null;)k.key===null?S.set(k.index,k):S.set(k.key,k),k=k.sibling;return S}function i(k,S){return k=pn(k,S),k.index=0,k.sibling=null,k}function c(k,S,z){return k.index=z,e?(z=k.alternate,z!==null?(z=z.index,z<S?(k.flags|=2,S):z):(k.flags|=134217730,S)):(k.flags|=1048576,S)}function d(k){return e&&k.alternate===null&&(k.flags|=134217730),k}function g(k,S,z,w){return S===null||S.tag!==6?(S=Bs(z,k.mode,w),S.return=k,S):(S=i(S,z),S.return=k,S)}function E(k,S,z,w){var ue=z.type;return ue===he?(k=R(k,S,z.props.children,w,z.key),$n(k,z),k):S!==null&&(S.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===ye&&Yl(ue)===S.type)?(S=i(S,z.props),$n(S,z),S.return=k,S):(S=Yc(z.type,z.key,z.props,null,k.mode,w),$n(S,z),S.return=k,S)}function O(k,S,z,w){return S===null||S.tag!==4||S.stateNode.containerInfo!==z.containerInfo||S.stateNode.implementation!==z.implementation?(S=Hs(z,k.mode,w),S.return=k,S):(S=i(S,z.children||[]),S.return=k,S)}function R(k,S,z,w,ue){return S===null||S.tag!==7?(S=Ll(z,k.mode,w,ue),S.return=k,S):(S=i(S,z),S.return=k,S)}function U(k,S,z){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=Bs(""+S,k.mode,z),S.return=k,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case $e:return z=Yc(S.type,S.key,S.props,null,k.mode,z),$n(z,S),z.return=k,z;case ce:return S=Hs(S,k.mode,z),S.return=k,S;case ye:return S=Yl(S),U(k,S,z)}if(Re(S)||ie(S))return S=Ll(S,k.mode,z,null),S.return=k,S;if(typeof S.then=="function")return U(k,Pc(S),z);if(S.$$typeof===Me)return U(k,Kc(k,S),z);er(k,S)}return null}function N(k,S,z,w){var ue=S!==null?S.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return ue!==null?null:g(k,S,""+z,w);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case $e:return z.key===ue?E(k,S,z,w):null;case ce:return z.key===ue?O(k,S,z,w):null;case ye:return z=Yl(z),N(k,S,z,w)}if(Re(z)||ie(z))return ue!==null?null:R(k,S,z,w,null);if(typeof z.then=="function")return N(k,S,Pc(z),w);if(z.$$typeof===Me)return N(k,S,Kc(k,z),w);er(k,z)}return null}function j(k,S,z,w,ue){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return k=k.get(z)||null,g(S,k,""+w,ue);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $e:return k=k.get(w.key===null?z:w.key)||null,E(S,k,w,ue);case ce:return k=k.get(w.key===null?z:w.key)||null,O(S,k,w,ue);case ye:return w=Yl(w),j(k,S,z,w,ue)}if(Re(w)||ie(w))return k=k.get(z)||null,R(S,k,w,ue,null);if(typeof w.then=="function")return j(k,S,z,Pc(w),ue);if(w.$$typeof===Me)return j(k,S,z,Kc(S,w),ue);er(S,w)}return null}function $(k,S,z,w){for(var ue=null,ze=null,oe=S,be=S=0,du=null;oe!==null&&be<z.length;be++){oe.index>be?(du=oe,oe=null):du=oe.sibling;var Le=N(k,oe,z[be],w);if(Le===null){oe===null&&(oe=du);break}e&&oe&&Le.alternate===null&&u(k,oe),S=c(Le,S,be),ze===null?ue=Le:ze.sibling=Le,ze=Le,oe=du}if(be===z.length)return t(k,oe),Te&&bn(k,be),ue;if(oe===null){for(;be<z.length;be++)oe=U(k,z[be],w),oe!==null&&(S=c(oe,S,be),ze===null?ue=oe:ze.sibling=oe,ze=oe);return Te&&bn(k,be),ue}for(oe=l(oe);be<z.length;be++)du=j(oe,k,be,z[be],w),du!==null&&(e&&(Le=du.alternate,Le!==null&&oe.delete(Le.key===null?be:Le.key)),S=c(du,S,be),ze===null?ue=du:ze.sibling=du,ze=du);return e&&oe.forEach(function(pl){return u(k,pl)}),Te&&bn(k,be),ue}function ne(k,S,z,w){if(z==null)throw Error(r(151));for(var ue=null,ze=null,oe=S,be=S=0,du=null,Le=z.next();oe!==null&&!Le.done;be++,Le=z.next()){oe.index>be?(du=oe,oe=null):du=oe.sibling;var pl=N(k,oe,Le.value,w);if(pl===null){oe===null&&(oe=du);break}e&&oe&&pl.alternate===null&&u(k,oe),S=c(pl,S,be),ze===null?ue=pl:ze.sibling=pl,ze=pl,oe=du}if(Le.done)return t(k,oe),Te&&bn(k,be),ue;if(oe===null){for(;!Le.done;be++,Le=z.next())Le=U(k,Le.value,w),Le!==null&&(S=c(Le,S,be),ze===null?ue=Le:ze.sibling=Le,ze=Le);return Te&&bn(k,be),ue}for(oe=l(oe);!Le.done;be++,Le=z.next())Le=j(oe,k,be,Le.value,w),Le!==null&&(e&&(du=Le.alternate,du!==null&&oe.delete(du.key===null?be:du.key)),S=c(Le,S,be),ze===null?ue=Le:ze.sibling=Le,ze=Le);return e&&oe.forEach(function(Pb){return u(k,Pb)}),Te&&bn(k,be),ue}function Ee(k,S,z,w){if(typeof z=="object"&&z!==null&&z.type===he&&z.key===null&&z.props.ref===void 0&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case $e:e:{for(var ue=z.key;S!==null;){if(S.key===ue){if(ue=z.type,ue===he){if(S.tag===7){t(k,S.sibling),w=i(S,z.props.children),$n(w,z),w.return=k,k=w;break e}}else if(S.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===ye&&Yl(ue)===S.type){t(k,S.sibling),w=i(S,z.props),$n(w,z),w.return=k,k=w;break e}t(k,S);break}else u(k,S);S=S.sibling}z.type===he?(w=Ll(z.props.children,k.mode,w,z.key),$n(w,z),w.return=k,k=w):(w=Yc(z.type,z.key,z.props,null,k.mode,w),$n(w,z),w.return=k,k=w)}return d(k);case ce:e:{for(ue=z.key;S!==null;){if(S.key===ue)if(S.tag===4&&S.stateNode.containerInfo===z.containerInfo&&S.stateNode.implementation===z.implementation){t(k,S.sibling),w=i(S,z.children||[]),w.return=k,k=w;break e}else{t(k,S);break}else u(k,S);S=S.sibling}w=Hs(z,k.mode,w),w.return=k,k=w}return d(k);case ye:return z=Yl(z),Ee(k,S,z,w)}if(Re(z))return $(k,S,z,w);if(ie(z)){if(ue=ie(z),typeof ue!="function")throw Error(r(150));return z=ue.call(z),ne(k,S,z,w)}if(typeof z.then=="function")return Ee(k,S,Pc(z),w);if(z.$$typeof===Me)return Ee(k,S,Kc(k,z),w);er(k,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,S!==null&&S.tag===6?(t(k,S.sibling),w=i(S,z),w.return=k,k=w):(t(k,S),w=Bs(z,k.mode,w),w.return=k,k=w),d(k)):t(k,S)}return function(k,S,z,w){try{ji=0;var ue=Ee(k,S,z,w);return Na=null,ue}catch(oe){if(oe===Da||oe===Jc)throw oe;var ze=Ju(29,oe,null,k.mode);return ze.lanes=w,ze.return=k,ze}}}var Zl=Ad(!0),Td=Ad(!1),Jn=!1;function $s(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Js(e,u){e=e.updateQueue,u.updateQueue===e&&(u.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 Pn(e,u,t){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Be&2)!==0){var i=l.pending;return i===null?u.next=u:(u.next=i.next,i.next=u),l.pending=u,u=Gc(e),rd(e,null,t),u}return qc(e,l,u,t),Gc(e)}function Mi(e,u,t){if(u=u.updateQueue,u!==null&&(u=u.shared,(t&4194048)!==0)){var l=u.lanes;l&=e.pendingLanes,t|=l,u.lanes=t,Nc(e,t)}}function Ws(e,u){var t=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,t===l)){var i=null,c=null;if(t=t.firstBaseUpdate,t!==null){do{var d={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};c===null?i=c=d:c=c.next=d,t=t.next}while(t!==null);c===null?i=c=u:c=c.next=u}else i=c=u;t={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=u:e.next=u,t.lastBaseUpdate=u}var Ps=!1;function Ri(){if(Ps){var e=Ca;if(e!==null)throw e}}function wi(e,u,t,l){Ps=!1;var i=e.updateQueue;Jn=!1;var c=i.firstBaseUpdate,d=i.lastBaseUpdate,g=i.shared.pending;if(g!==null){i.shared.pending=null;var E=g,O=E.next;E.next=null,d===null?c=O:d.next=O,d=E;var R=e.alternate;R!==null&&(R=R.updateQueue,g=R.lastBaseUpdate,g!==d&&(g===null?R.firstBaseUpdate=O:g.next=O,R.lastBaseUpdate=E))}if(c!==null){var U=i.baseState;d=0,R=O=E=null,g=c;do{var N=g.lane&-536870913,j=N!==g.lane;if(j?(Oe&N)===N:(l&N)===N){N!==0&&N===ql&&(Ps=!0),R!==null&&(R=R.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var $=e,ne=g;N=u;var Ee=t;switch(ne.tag){case 1:if($=ne.payload,typeof $=="function"){U=$.call(Ee,U,N);break e}U=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ne.payload,N=typeof $=="function"?$.call(Ee,U,N):$,N==null)break e;U=P({},U,N);break e;case 2:Jn=!0}}N=g.callback,N!==null&&(e.flags|=64,j&&(e.flags|=8192),j=i.callbacks,j===null?i.callbacks=[N]:j.push(N))}else j={lane:N,tag:g.tag,payload:g.payload,callback:g.callback,next:null},R===null?(O=R=j,E=U):R=R.next=j,d|=N;if(g=g.next,g===null){if(g=i.shared.pending,g===null)break;j=g,g=j.next,j.next=null,i.lastBaseUpdate=j,i.shared.pending=null}}while(!0);R===null&&(E=U),i.baseState=E,i.firstBaseUpdate=O,i.lastBaseUpdate=R,c===null&&(i.shared.lanes=0),il|=d,e.lanes=d,e.memoizedState=U}}function Cd(e,u){if(typeof e!="function")throw Error(r(191,e));e.call(u)}function Dd(e,u){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)Cd(t[e],u)}var el=Ce(null),ur=Ce(0);function Nd(e,u){e=Sn,F(ur,e),F(el,u),Sn=e|u.baseLanes}function eo(){F(ur,Sn),F(el,el.current)}function uo(){Sn=ur.current,X(el),X(ur)}var Du=Ce(null),Bu=null;function ul(e){var u=e.alternate;F(Nu,Nu.current&1),F(Du,e),Bu===null&&(u===null||el.current!==null||u.memoizedState!==null)&&(Bu=e)}function to(e){F(Nu,Nu.current),F(Du,e),Bu===null&&(Bu=e)}function kd(e){e.tag===22?(F(Nu,Nu.current),F(Du,e),Bu===null&&(Bu=e)):tl()}function tl(){F(Nu,Nu.current),F(Du,Du.current)}function ct(e){X(Du),Bu===e&&(Bu=null),X(Nu)}var Nu=Ce(0);function Li(e,u){F(Du,Du.current),F(Nu,u)}function no(e){X(Nu),X(Du),Bu===e&&(Bu=null)}function tr(e){for(var u=e;u!==null;){if(u.tag===13){var t=u.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||C0(t)||D0(t)))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!=="independent"){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var xn=0,_e=null,Ze=null,ou=null,nr=!1,ka=!1,Xl=!1,lr=0,Ui=0,Oa=null,v3=0;function lu(){throw Error(r(321))}function lo(e,u){if(u===null)return!1;for(var t=0;t<u.length&&t<e.length;t++)if(!it(e[t],u[t]))return!1;return!0}function ao(e,u,t,l,i,c){return xn=c,_e=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,ee.H=e===null||e.memoizedState===null?d1:h1,Xl=!1,c=t(l,i),Xl=!1,ka&&(c=zd(u,t,l,i)),Od(e),c}function Od(e){ee.H=fr;var u=Ze!==null&&Ze.next!==null;if(xn=0,ou=Ze=_e=null,nr=!1,Ui=0,Oa=null,u)throw Error(r(300));e===null||fu||(e=e.dependencies,e!==null&&Ic(e)&&(fu=!0))}function zd(e,u,t,l){_e=e;var i=0;do{if(ka&&(Oa=null),Ui=0,ka=!1,25<=i)throw Error(r(301));if(i+=1,ou=Ze=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}ee.H=N3,c=u(t,l)}while(ka);return c}function _3(){var e=ee.H,u=e.useState()[0];return u=typeof u.then=="function"?Fi(u):u,e=e.useState()[0],(Ze!==null?Ze.memoizedState:null)!==e&&(_e.flags|=1024),u}function io(){var e=lr!==0;return lr=0,e}function co(e,u,t){u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~t}function ro(e){if(nr){for(e=e.memoizedState;e!==null;){var u=e.queue;u!==null&&(u.pending=null),e=e.next}nr=!1}xn=0,ou=Ze=_e=null,ka=!1,Ui=lr=0,Oa=null}function Vu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ou===null?_e.memoizedState=ou=e:ou=ou.next=e,ou}function cu(){if(Ze===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=Ze.next;var u=ou===null?_e.memoizedState:ou.next;if(u!==null)ou=u,Ze=e;else{if(e===null)throw _e.alternate===null?Error(r(467)):Error(r(310));Ze=e,e={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},ou===null?_e.memoizedState=ou=e:ou=ou.next=e}return ou}function ar(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Fi(e){var u=Ui;return Ui+=1,Oa===null&&(Oa=[]),e=_d(Oa,e,u),u=_e,(ou===null?u.memoizedState:ou.next)===null&&(u=u.alternate,ee.H=u===null||u.memoizedState===null?d1:h1),e}function ir(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Fi(e);if(e.$$typeof===Z)return;if(e.$$typeof===Me)return Cu(e)}throw Error(r(438,String(e)))}function so(e){var u=null,t=_e.updateQueue;if(t!==null&&(u=t.memoCache),u==null){var l=_e.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(u={data:l.data.map(function(i){return i.slice()}),index:0})))}if(u==null&&(u={data:[],index:0}),t===null&&(t=ar(),_e.updateQueue=t),t.memoCache=u,t=u.data[u.index],t===void 0)for(t=u.data[u.index]=Array(e),l=0;l<e;l++)t[l]=I;return u.index++,t}function vn(e,u){return typeof u=="function"?u(e):u}function cr(e){var u=cu();return oo(u,Ze,e)}function oo(e,u,t){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=t;var i=e.baseQueue,c=l.pending;if(c!==null){if(i!==null){var d=i.next;i.next=c.next,c.next=d}u.baseQueue=i=c,l.pending=null}if(c=e.baseState,i===null)e.memoizedState=c;else{u=i.next;var g=d=null,E=null,O=u,R=!1;do{var U=O.lane&-536870913;if(U!==O.lane?(Oe&U)===U:(xn&U)===U){var N=O.revertLane;if(N===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),U===ql&&(R=!0);else if((xn&N)===N){O=O.next,N===ql&&(R=!0);continue}else U={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},E===null?(g=E=U,d=c):E=E.next=U,_e.lanes|=N,il|=N;U=O.action,Xl&&t(c,U),c=O.hasEagerState?O.eagerState:t(c,U)}else N={lane:U,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},E===null?(g=E=N,d=c):E=E.next=N,_e.lanes|=U,il|=U;O=O.next}while(O!==null&&O!==u);if(E===null?d=c:E.next=g,!it(c,e.memoizedState)&&(fu=!0,R&&(t=Ca,t!==null)))throw t;e.memoizedState=c,e.baseState=d,e.baseQueue=E,l.lastRenderedState=c}return i===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function fo(e){var u=cu(),t=u.queue;if(t===null)throw Error(r(311));t.lastRenderedReducer=e;var l=t.dispatch,i=t.pending,c=u.memoizedState;if(i!==null){t.pending=null;var d=i=i.next;do c=e(c,d.action),d=d.next;while(d!==i);it(c,u.memoizedState)||(fu=!0),u.memoizedState=c,u.baseQueue===null&&(u.baseState=c),t.lastRenderedState=c}return[c,l]}function jd(e,u,t){var l=_e,i=cu(),c=Te;if(c){if(t===void 0)throw Error(r(407));t=t()}else t=u();var d=!it((Ze||i).memoizedState,t);if(d&&(i.memoizedState=t,fu=!0),i=i.queue,po(wd.bind(null,l,i,e),[e]),e=i.getSnapshot!==u||d||ou!==null&&(ou.memoizedState.tag&1)!==0,za(e?9:8,{destroy:void 0},Rd.bind(null,l,i,t,u),null),e){if(l.flags|=2048,Xe===null)throw Error(r(349));c||(xn&127)!==0||Md(l,u,t)}return t}function Md(e,u,t){e.flags|=16384,e={getSnapshot:u,value:t},u=_e.updateQueue,u===null?(u=ar(),_e.updateQueue=u,u.stores=[e]):(t=u.stores,t===null?u.stores=[e]:t.push(e))}function Rd(e,u,t,l){u.value=t,u.getSnapshot=l,Ld(u)&&Ud(e)}function wd(e,u,t){return t(function(){Ld(u)&&Ud(e)})}function Ld(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!it(e,t)}catch{return!0}}function Ud(e){var u=wl(e,2);u!==null&&ut(u,e,2)}function ho(e){var u=Vu();if(typeof e=="function"){var t=e;if(e=t(),Xl){Ot(!0);try{t()}finally{Ot(!1)}}}return u.memoizedState=u.baseState=e,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:e},u}function Fd(e,u,t,l){return e.baseState=t,oo(e,Ze,typeof l=="function"?l:vn)}function E3(e,u,t,l,i){if(or(e))throw Error(r(485));if(e=u.action,e!==null){var c={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){c.listeners.push(d)}};ee.T!==null?t(!0):c.isTransition=!1,l(c),t=u.pending,t===null?(c.next=u.pending=c,Bd(u,c)):(c.next=t.next,u.pending=t.next=c)}}function Bd(e,u){var t=u.action,l=u.payload,i=e.state;if(u.isTransition){var c=ee.T,d={};d.types=c!==null?c.types:null,ee.T=d;try{var g=t(i,l),E=ee.S;E!==null&&E(d,g),Hd(e,u,g)}catch(O){mo(e,u,O)}finally{c!==null&&d.types!==null&&(c.types=d.types),ee.T=c}}else try{c=t(i,l),Hd(e,u,c)}catch(O){mo(e,u,O)}}function Hd(e,u,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){qd(e,u,l)},function(l){return mo(e,u,l)}):qd(e,u,t)}function qd(e,u,t){u.status="fulfilled",u.value=t,Gd(u),e.state=t,u=e.pending,u!==null&&(t=u.next,t===u?e.pending=null:(t=t.next,u.next=t,Bd(e,t)))}function mo(e,u,t){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do u.status="rejected",u.reason=t,Gd(u),u=u.next;while(u!==l)}e.action=null}function Gd(e){e=e.listeners;for(var u=0;u<e.length;u++)(0,e[u])()}function Yd(e,u){return u}function Vd(e,u){if(Te){var t=Xe.formState;if(t!==null){e:{var l=_e;if(Te){if(Qe){u:{for(var i=Qe,c=Et;i.nodeType!==8;){if(!c){i=null;break u}if(i=At(i.nextSibling),i===null){i=null;break u}}c=i.data,i=c==="F!"||c==="F"?i:null}if(i){Qe=At(i.nextSibling),l=i.data==="F!";break e}}In(l)}l=!1}l&&(u=t[0])}}return t=Vu(),t.memoizedState=t.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yd,lastRenderedState:u},t.queue=l,t=s1.bind(null,_e,l),l.dispatch=t,l=ho(!1),c=vo.bind(null,_e,!1,l.queue),l=Vu(),i={state:u,dispatch:null,action:e,pending:null},l.queue=i,t=E3.bind(null,_e,i,c,t),i.dispatch=t,l.memoizedState=e,[u,t,!1]}function Zd(e){var u=cu();return Xd(u,Ze,e)}function Xd(e,u,t){if(u=oo(e,u,Yd)[0],e=cr(vn)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var l=Fi(u)}catch(d){throw d===Da?Jc:d}else l=u;u=cu();var i=u.queue,c=i.dispatch;return t!==u.memoizedState&&(_e.flags|=2048,za(9,{destroy:void 0},S3.bind(null,i,t),null)),[l,c,e]}function S3(e,u){e.action=u}function Qd(e){var u=cu(),t=Ze;if(t!==null)return Xd(u,t,e);cu(),u=u.memoizedState,t=cu();var l=t.queue.dispatch;return t.memoizedState=e,[u,l,!1]}function za(e,u,t,l){return e={tag:e,create:t,deps:l,inst:u,next:null},u=_e.updateQueue,u===null&&(u=ar(),_e.updateQueue=u),t=u.lastEffect,t===null?u.lastEffect=e.next=e:(l=t.next,t.next=e,e.next=l,u.lastEffect=e),e}function Id(){return cu().memoizedState}function rr(e,u,t,l){var i=Vu();_e.flags|=e,i.memoizedState=za(1|u,{destroy:void 0},t,l===void 0?null:l)}function sr(e,u,t,l){var i=cu();l=l===void 0?null:l;var c=i.memoizedState.inst;Ze!==null&&l!==null&&lo(l,Ze.memoizedState.deps)?i.memoizedState=za(u,c,t,l):(_e.flags|=e,i.memoizedState=za(1|u,c,t,l))}function Kd(e,u){rr(8390656,8,e,u)}function po(e,u){sr(2048,8,e,u)}function A3(e){_e.flags|=4;var u=_e.updateQueue;if(u===null)u=ar(),_e.updateQueue=u,u.events=[e];else{var t=u.events;t===null?u.events=[e]:t.push(e)}}function $d(e){var u=cu().memoizedState;return A3({ref:u,nextImpl:e}),function(){if((Be&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}function Jd(e,u){return sr(4,2,e,u)}function Wd(e,u){return sr(4,4,e,u)}function Pd(e,u){if(typeof u=="function"){e=e();var t=u(e);return function(){typeof t=="function"?t():u(null)}}if(u!=null)return e=e(),u.current=e,function(){u.current=null}}function e1(e,u,t){t=t!=null?t.concat([e]):null,sr(4,4,Pd.bind(null,u,e),t)}function bo(){}function u1(e,u){var t=cu();u=u===void 0?null:u;var l=t.memoizedState;return u!==null&&lo(u,l[1])?l[0]:(t.memoizedState=[e,u],e)}function t1(e,u){var t=cu();u=u===void 0?null:u;var l=t.memoizedState;if(u!==null&&lo(u,l[1]))return l[0];if(l=e(),Xl){Ot(!0);try{e()}finally{Ot(!1)}}return t.memoizedState=[l,u],l}function go(e,u,t){return t===void 0||(xn&1073741824)!==0&&(Oe&261930)===0?e.memoizedState=u:(e.memoizedState=t,e=dh(),_e.lanes|=e,il|=e,t)}function n1(e,u,t,l){return it(t,u)?t:el.current!==null?(e=go(e,t,l),it(e,u)||(fu=!0),e):(xn&106)===0||(xn&1073741824)!==0&&(Oe&261930)===0?(fu=!0,e.memoizedState=t):(e=dh(),_e.lanes|=e,il|=e,u)}function l1(e,u,t,l,i){var c=me.p;me.p=c!==0&&8>c?c:8;var d=ee.T,g={};g.types=d!==null?d.types:null,ee.T=g,vo(e,!1,u,t);try{var E=i(),O=ee.S;if(O!==null&&O(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var R=x3(E,l);Bi(e,u,R,ft(e))}else Bi(e,u,l,ft(e))}catch(U){Bi(e,u,{then:function(){},status:"rejected",reason:U},ft())}finally{me.p=c,d!==null&&g.types!==null&&(d.types=g.types),ee.T=d}}function T3(){}function yo(e,u,t,l){if(e.tag!==5)throw Error(r(476));var i=a1(e).queue;l1(e,i,u,Qu,t===null?T3:function(){return i1(e),t(l)})}function a1(e){var u=e.memoizedState;if(u!==null)return u;u={memoizedState:Qu,baseState:Qu,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:Qu},next:null};var t={};return u.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:t},next:null},e.memoizedState=u,e=e.alternate,e!==null&&(e.memoizedState=u),u}function i1(e){var u=a1(e);u.next===null&&(u=e.alternate.memoizedState),Bi(e,u.next.queue,{},ft())}function xo(){return Cu($a)}function c1(){return cu().memoizedState}function r1(){return cu().memoizedState}function C3(e){for(var u=e.return;u!==null;){switch(u.tag){case 24:case 3:var t=ft();e=Wn(t);var l=Pn(u,e,t);l!==null&&(ut(l,u,t),Mi(l,u,t)),u={cache:Xs()},e.payload=u;return}u=u.return}}function D3(e,u,t){var l=ft();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},or(e)?o1(u,t):(t=Us(e,u,t,l),t!==null&&(ut(t,e,l),f1(t,u,l)))}function s1(e,u,t){var l=ft();Bi(e,u,t,l)}function Bi(e,u,t,l){var i={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(or(e))o1(u,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=u.lastRenderedReducer,c!==null))try{var d=u.lastRenderedState,g=c(d,t);if(i.hasEagerState=!0,i.eagerState=g,it(g,d))return qc(e,u,i,0),Xe===null&&Hc(),!1}catch{}if(t=Us(e,u,i,l),t!==null)return ut(t,e,l),f1(t,u,l),!0}return!1}function vo(e,u,t,l){if(l={lane:2,revertLane:o0(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},or(e)){if(u)throw Error(r(479))}else u=Us(e,t,l,2),u!==null&&ut(u,e,2)}function or(e){var u=e.alternate;return e===_e||u!==null&&u===_e}function o1(e,u){ka=nr=!0;var t=e.pending;t===null?u.next=u:(u.next=t.next,t.next=u),e.pending=u}function f1(e,u,t){if((t&4194048)!==0){var l=u.lanes;l&=e.pendingLanes,t|=l,u.lanes=t,Nc(e,t)}}var fr={readContext:Cu,use:ir,useCallback:lu,useContext:lu,useEffect:lu,useImperativeHandle:lu,useLayoutEffect:lu,useInsertionEffect:lu,useMemo:lu,useReducer:lu,useRef:lu,useState:lu,useDebugValue:lu,useDeferredValue:lu,useTransition:lu,useSyncExternalStore:lu,useId:lu,useHostTransitionStatus:lu,useFormState:lu,useActionState:lu,useOptimistic:lu,useMemoCache:lu,useCacheRefresh:lu,useEffectEvent:lu},d1={readContext:Cu,use:ir,useCallback:function(e,u){return Vu().memoizedState=[e,u===void 0?null:u],e},useContext:Cu,useEffect:Kd,useImperativeHandle:function(e,u,t){t=t!=null?t.concat([e]):null,rr(4194308,4,Pd.bind(null,u,e),t)},useLayoutEffect:function(e,u){return rr(4194308,4,e,u)},useInsertionEffect:function(e,u){rr(4,2,e,u)},useMemo:function(e,u){var t=Vu();u=u===void 0?null:u;var l=e();if(Xl){Ot(!0);try{e()}finally{Ot(!1)}}return t.memoizedState=[l,u],l},useReducer:function(e,u,t){var l=Vu();if(t!==void 0){var i=t(u);if(Xl){Ot(!0);try{t(u)}finally{Ot(!1)}}}else i=u;return l.memoizedState=l.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},l.queue=e,e=e.dispatch=D3.bind(null,_e,e),[l.memoizedState,e]},useRef:function(e){var u=Vu();return e={current:e},u.memoizedState=e},useState:function(e){e=ho(e);var u=e.queue,t=s1.bind(null,_e,u);return u.dispatch=t,[e.memoizedState,t]},useDebugValue:bo,useDeferredValue:function(e,u){var t=Vu();return go(t,e,u)},useTransition:function(){var e=ho(!1);return e=l1.bind(null,_e,e.queue,!0,!1),Vu().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,u,t){var l=_e,i=Vu();if(Te){if(t===void 0)throw Error(r(407));t=t()}else{if(t=u(),Xe===null)throw Error(r(349));(Oe&127)!==0||Md(l,u,t)}i.memoizedState=t;var c={value:t,getSnapshot:u};return i.queue=c,Kd(wd.bind(null,l,c,e),[e]),l.flags|=2048,za(9,{destroy:void 0},Rd.bind(null,l,c,t,u),null),t},useId:function(){var e=Vu(),u=Xe.identifierPrefix;if(Te){var t=Xt,l=Zt;t=(l&~(1<<32-yu(l)-1)).toString(32)+t,u="_"+u+"R_"+t,t=lr++,0<t&&(u+="H"+t.toString(32)),u+="_"}else t=v3++,u="_"+u+"r_"+t.toString(32)+"_";return e.memoizedState=u},useHostTransitionStatus:xo,useFormState:Vd,useActionState:Vd,useOptimistic:function(e){var u=Vu();u.memoizedState=u.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=t,u=vo.bind(null,_e,!0,t),t.dispatch=u,[e,u]},useMemoCache:so,useCacheRefresh:function(){return Vu().memoizedState=C3.bind(null,_e)},useEffectEvent:function(e){var u=Vu(),t={impl:e};return u.memoizedState=t,function(){if((Be&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}},h1={readContext:Cu,use:ir,useCallback:u1,useContext:Cu,useEffect:po,useImperativeHandle:e1,useInsertionEffect:Jd,useLayoutEffect:Wd,useMemo:t1,useReducer:cr,useRef:Id,useState:function(){return cr(vn)},useDebugValue:bo,useDeferredValue:function(e,u){var t=cu();return n1(t,Ze.memoizedState,e,u)},useTransition:function(){var e=cr(vn)[0],u=cu().memoizedState;return[typeof e=="boolean"?e:Fi(e),u]},useSyncExternalStore:jd,useId:c1,useHostTransitionStatus:xo,useFormState:Zd,useActionState:Zd,useOptimistic:function(e,u){var t=cu();return Fd(t,Ze,e,u)},useMemoCache:so,useCacheRefresh:r1,useEffectEvent:$d},N3={readContext:Cu,use:ir,useCallback:u1,useContext:Cu,useEffect:po,useImperativeHandle:e1,useInsertionEffect:Jd,useLayoutEffect:Wd,useMemo:t1,useReducer:fo,useRef:Id,useState:function(){return fo(vn)},useDebugValue:bo,useDeferredValue:function(e,u){var t=cu();return Ze===null?go(t,e,u):n1(t,Ze.memoizedState,e,u)},useTransition:function(){var e=fo(vn)[0],u=cu().memoizedState;return[typeof e=="boolean"?e:Fi(e),u]},useSyncExternalStore:jd,useId:c1,useHostTransitionStatus:xo,useFormState:Qd,useActionState:Qd,useOptimistic:function(e,u){var t=cu();return Ze!==null?Fd(t,Ze,e,u):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:so,useCacheRefresh:r1,useEffectEvent:$d};function _o(e,u,t,l){u=e.memoizedState,t=t(l,u),t=t==null?u:P({},u,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var Eo={enqueueSetState:function(e,u,t){e=e._reactInternals;var l=ft(),i=Wn(l);i.payload=u,t!=null&&(i.callback=t),u=Pn(e,i,l),u!==null&&(ut(u,e,l),Mi(u,e,l))},enqueueReplaceState:function(e,u,t){e=e._reactInternals;var l=ft(),i=Wn(l);i.tag=1,i.payload=u,t!=null&&(i.callback=t),u=Pn(e,i,l),u!==null&&(ut(u,e,l),Mi(u,e,l))},enqueueForceUpdate:function(e,u){e=e._reactInternals;var t=ft(),l=Wn(t);l.tag=2,u!=null&&(l.callback=u),u=Pn(e,l,t),u!==null&&(ut(u,e,t),Mi(u,e,t))}};function m1(e,u,t,l,i,c,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,d):u.prototype&&u.prototype.isPureReactComponent?!Ti(t,l)||!Ti(i,c):!0}function p1(e,u,t,l){e=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(t,l),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(t,l),u.state!==e&&Eo.enqueueReplaceState(u,u.state,null)}function Ql(e,u){var t=u;if("ref"in u){t={};for(var l in u)l!=="ref"&&(t[l]=u[l])}if(e=e.defaultProps){t===u&&(t=P({},t));for(var i in e)t[i]===void 0&&(t[i]=e[i])}return t}function b1(e){Bc(e)}function g1(e){console.error(e)}function y1(e){Bc(e)}function dr(e,u){try{var t=e.onUncaughtError;t(u.value,{componentStack:u.stack})}catch(l){setTimeout(function(){throw l})}}function x1(e,u,t){try{var l=e.onCaughtError;l(t.value,{componentStack:t.stack,errorBoundary:u.tag===1?u.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function So(e,u,t){return t=Wn(t),t.tag=3,t.payload={element:null},t.callback=function(){dr(e,u)},t}function v1(e){return e=Wn(e),e.tag=3,e}function _1(e,u,t,l){var i=t.type.getDerivedStateFromError;if(typeof i=="function"){var c=l.value;e.payload=function(){return i(c)},e.callback=function(){x1(u,t,l)}}var d=t.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){x1(u,t,l),typeof i!="function"&&(cl===null?cl=new Set([this]):cl.add(this));var g=l.stack;this.componentDidCatch(l.value,{componentStack:g!==null?g:""})})}function k3(e,u,t,l,i){if(t.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(u=t.alternate,u!==null&&Bl(u,t,i,!0),t=Du.current,t!==null){switch(t.tag){case 31:case 13:case 19:return Bu===null?Mr():t.alternate===null&&au===0&&(au=3),t.flags&=-257,t.flags|=65536,t.lanes=i,l===Wc?t.flags|=16384:(u=t.updateQueue,u===null?t.updateQueue=new Set([l]):u.add(l),c0(e,l,i)),!1;case 22:return t.flags|=65536,l===Wc?t.flags|=16384:(u=t.updateQueue,u===null?(u={transitions:null,markerInstances:null,retryQueue:new Set([l])},t.updateQueue=u):(t=u.retryQueue,t===null?u.retryQueue=new Set([l]):t.add(l)),c0(e,l,i)),!1}throw Error(r(435,t.tag))}return c0(e,l,i),Mr(),!1}if(Te)return u=Du.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=i,l!==Gs&&(e=Error(r(422),{cause:l}),Ni(xt(e,t)))):(l!==Gs&&(u=Error(r(423),{cause:l}),Ni(xt(u,t))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=xt(l,t),i=So(e.stateNode,l,i),Ws(e,i),au!==4&&(au=2)),!1;var c=Error(r(520),{cause:l});if(c=xt(c,t),Qi===null?Qi=[c]:Qi.push(c),au!==4&&(au=2),u===null)return!0;l=xt(l,t),t=u;do{switch(t.tag){case 3:return t.flags|=65536,e=i&-i,t.lanes|=e,e=So(t.stateNode,l,e),Ws(t,e),!1;case 1:if(u=t.type,c=t.stateNode,(t.flags&128)===0&&(typeof u.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(cl===null||!cl.has(c))))return t.flags|=65536,i&=-i,t.lanes|=i,i=v1(i),_1(i,e,t,l),Ws(t,i),!1;break;case 22:if(t.memoizedState!==null)return t.flags|=65536,!1}t=t.return}while(t!==null);return!1}var Ao=Error(r(461)),fu=!1;function bu(e,u,t,l){u.child=e===null?Td(u,null,t,l):Zl(u,e.child,t,l)}function E1(e,u,t,l,i){t=t.render;var c=u.ref;if("ref"in l){var d={};for(var g in l)g!=="ref"&&(d[g]=l[g])}else d=l;return Hl(u),l=ao(e,u,t,d,c,i),g=io(),e!==null&&!fu?(co(e,u,i),_n(e,u,i)):(Te&&g&&Zc(u),u.flags|=1,bu(e,u,l,i),u.child)}function S1(e,u,t,l,i){if(e===null){var c=t.type;return typeof c=="function"&&!Fs(c)&&c.defaultProps===void 0&&t.compare===null?(u.tag=15,u.type=c,A1(e,u,c,l,i)):(e=Yc(t.type,null,l,u,u.mode,i),e.ref=u.ref,e.return=u,u.child=e)}if(c=e.child,!jo(e,i)){var d=c.memoizedProps;if(t=t.compare,t=t!==null?t:Ti,t(d,l)&&e.ref===u.ref)return _n(e,u,i)}return u.flags|=1,e=pn(c,l),e.ref=u.ref,e.return=u,u.child=e}function A1(e,u,t,l,i){if(e!==null){var c=e.memoizedProps;if(Ti(c,l)&&e.ref===u.ref)if(fu=!1,u.pendingProps=l=c,jo(e,i))(e.flags&131072)!==0&&(fu=!0);else return u.lanes=e.lanes,_n(e,u,i)}return To(e,u,t,l,i)}function T1(e,u,t,l){var i=l.children,c=e!==null?e.memoizedState:null;if(e===null&&u.stateNode===null&&(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((u.flags&128)!==0){if(c=c!==null?c.baseLanes|t:t,e!==null){for(l=u.child=e.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~c}else l=0,u.child=null;return C1(e,u,c,t,l)}if((t&536870912)!==0)u.memoizedState={baseLanes:0,cachePool:null},e!==null&&$c(u,c!==null?c.cachePool:null),c!==null?Nd(u,c):eo(),kd(u);else return l=u.lanes=536870912,C1(e,u,c!==null?c.baseLanes|t:t,t,l)}else c!==null?($c(u,c.cachePool),Nd(u,c),tl(),u.memoizedState=null):(e!==null&&$c(u,null),eo(),tl());return bu(e,u,i,t),u.child}function Hi(e,u){return e!==null&&e.tag===22||u.stateNode!==null||(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.sibling}function C1(e,u,t,l,i){var c=Is();return c=c===null?null:{parent:su._currentValue,pool:c},u.memoizedState={baseLanes:t,cachePool:c},e!==null&&$c(u,null),eo(),kd(u),e!==null&&Bl(e,u,l,!0),u.childLanes=i,null}function hr(e,u){return u=mr({mode:u.mode,children:u.children},e.mode),u.ref=e.ref,e.child=u,u.return=e,u}function D1(e,u,t){return Zl(u,e.child,null,t),e=hr(u,u.pendingProps),e.flags|=2,ct(u),u.memoizedState=null,e}function O3(e,u,t){var l=u.pendingProps,i=(u.flags&128)!==0;if(u.flags&=-129,e===null){if(Te){if(l.mode==="hidden")return e=hr(u,l),u.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Hi(null,e);if(to(u),(e=Qe)?(e=Ph(e,Et),e=e!==null&&e.data==="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Xn!==null?{id:Zt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},t=od(e),t.return=u,u.child=t,xu=u,Qe=null)):e=null,e===null)throw In(u);return u.lanes=536870912,null}return hr(u,l)}var c=e.memoizedState;if(c!==null){var d=c.dehydrated;if(to(u),i)if(u.flags&256)u.flags&=-257,u=D1(e,u,t);else if(u.memoizedState!==null)u.child=e.child,u.flags|=128,u=null;else throw Error(r(558));else if(fu||Bl(e,u,t,!1),i=(t&e.childLanes)!==0,fu||i){if(el.current===null){if(l=Xe,l!==null&&(d=ri(l,t),d!==0&&d!==c.retryLane))throw c.retryLane=d,wl(e,d),ut(l,e,d),Ao;Mr()}u=D1(e,u,t)}else e=c.treeContext,Qe=At(d.nextSibling),xu=u,Te=!0,Qn=null,Et=!1,e!==null&&hd(u,e),u=hr(u,l),u.flags|=134221824;return u}return e=pn(e.child,{mode:l.mode,children:l.children}),e.ref=u.ref,u.child=e,e.return=u,e}function ja(e,u){var t=u.ref;if(t===null)e!==null&&e.ref!==null&&(u.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(r(284));(e===null||e.ref!==t)&&(u.flags|=4194816)}}function To(e,u,t,l,i){return Hl(u),t=ao(e,u,t,l,void 0,i),l=io(),e!==null&&!fu?(co(e,u,i),_n(e,u,i)):(Te&&l&&Zc(u),u.flags|=1,bu(e,u,t,i),u.child)}function N1(e,u,t,l,i,c){return Hl(u),u.updateQueue=null,t=zd(u,l,t,i),Od(e),l=io(),e!==null&&!fu?(co(e,u,c),_n(e,u,c)):(Te&&l&&Zc(u),u.flags|=1,bu(e,u,t,c),u.child)}function k1(e,u,t,l,i){if(Hl(u),u.stateNode===null){var c=Ea,d=t.contextType;typeof d=="object"&&d!==null&&(c=Cu(d)),c=new t(l,c),u.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Eo,u.stateNode=c,c._reactInternals=u,c=u.stateNode,c.props=l,c.state=u.memoizedState,c.refs={},$s(u),d=t.contextType,c.context=typeof d=="object"&&d!==null?Cu(d):Ea,c.state=u.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(_o(u,t,d,l),c.state=u.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(d=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),d!==c.state&&Eo.enqueueReplaceState(c,c.state,null),wi(u,l,c,i),Ri(),c.state=u.memoizedState),typeof c.componentDidMount=="function"&&(u.flags|=4194308),l=!0}else if(e===null){c=u.stateNode;var g=u.memoizedProps,E=Ql(t,g);c.props=E;var O=c.context,R=t.contextType;d=Ea,typeof R=="object"&&R!==null&&(d=Cu(R));var U=t.getDerivedStateFromProps;R=typeof U=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=u.pendingProps!==g,R||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||O!==d)&&p1(u,c,l,d),Jn=!1;var N=u.memoizedState;c.state=N,wi(u,l,c,i),Ri(),O=u.memoizedState,g||N!==O||Jn?(typeof U=="function"&&(_o(u,t,U,l),O=u.memoizedState),(E=Jn||m1(u,t,E,l,N,O,d))?(R||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(u.flags|=4194308)):(typeof c.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=l,u.memoizedState=O),c.props=l,c.state=O,c.context=d,l=E):(typeof c.componentDidMount=="function"&&(u.flags|=4194308),l=!1)}else{c=u.stateNode,Js(e,u),d=u.memoizedProps,R=Ql(t,d),c.props=R,U=u.pendingProps,N=c.context,O=t.contextType,E=Ea,typeof O=="object"&&O!==null&&(E=Cu(O)),g=t.getDerivedStateFromProps,(O=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d!==U||N!==E)&&p1(u,c,l,E),Jn=!1,N=u.memoizedState,c.state=N,wi(u,l,c,i),Ri();var j=u.memoizedState;d!==U||N!==j||Jn||e!==null&&e.dependencies!==null&&Ic(e.dependencies)?(typeof g=="function"&&(_o(u,t,g,l),j=u.memoizedState),(R=Jn||m1(u,t,R,l,N,j,E)||e!==null&&e.dependencies!==null&&Ic(e.dependencies))?(O||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,j,E),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,j,E)),typeof c.componentDidUpdate=="function"&&(u.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=1024),u.memoizedProps=l,u.memoizedState=j),c.props=l,c.state=j,c.context=E,l=R):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=1024),l=!1)}return c=l,ja(e,u),l=(u.flags&128)!==0,c||l?(c=u.stateNode,t=l&&typeof t.getDerivedStateFromError!="function"?null:c.render(),u.flags|=1,e!==null&&l?(u.child=Zl(u,e.child,null,i),u.child=Zl(u,null,t,i)):bu(e,u,t,i),u.memoizedState=c.state,e=u.child):e=_n(e,u,i),e}function O1(e,u,t,l){return Ul(),u.flags|=256,bu(e,u,t,l),u.child}var Co={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Do(e){return{baseLanes:e,cachePool:xd()}}function No(e,u,t){return e=e!==null?e.childLanes&~t:0,u&&(e|=ot),e}function z1(e,u,t){var l=u.pendingProps,i=!1,c=(u.flags&128)!==0,d;if((d=c)||(d=e!==null&&e.memoizedState===null?!1:(Nu.current&2)!==0),d&&(i=!0,u.flags&=-129),d=(u.flags&32)!==0,u.flags&=-33,e===null){if(Te){if(i?ul(u):tl(),(e=Qe)?(e=Ph(e,Et),e=e!==null&&e.data!=="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Xn!==null?{id:Zt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},t=od(e),t.return=u,u.child=t,xu=u,Qe=null)):e=null,e===null)throw In(u);return D0(e)?u.lanes=32:u.lanes=536870912,null}return c=l.children,l=l.fallback,i?(tl(),i=u.mode,c=mr({mode:"hidden",children:c},i),l=Ll(l,i,t,null),c.return=u,l.return=u,c.sibling=l,u.child=c,l=u.child,l.memoizedState=Do(t),l.childLanes=No(e,d,t),u.memoizedState=Co,Hi(null,l)):(ul(u),ko(u,c))}var g=e.memoizedState;if(g!==null){var E=g.dehydrated;if(E!==null)return z3(e,u,c,d,l,E,g,t)}return i?(tl(),i=l.fallback,c=u.mode,g=e.child,E=g.sibling,l=pn(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&1206910976,E!==null?i=pn(E,i):(i=Ll(i,c,t,null),i.flags|=2),i.return=u,l.return=u,l.sibling=i,u.child=l,Hi(null,l),l=u.child,i=e.child.memoizedState,i===null?i=Do(t):(c=i.cachePool,c!==null?(g=su._currentValue,c=c.parent!==g?{parent:g,pool:g}:c):c=xd(),i={baseLanes:i.baseLanes|t,cachePool:c}),l.memoizedState=i,l.childLanes=No(e,d,t),u.memoizedState=Co,Hi(e.child,l)):(ul(u),t=e.child,e=t.sibling,t=pn(t,{mode:"visible",children:l.children}),t.return=u,t.sibling=null,e!==null&&(d=u.deletions,d===null?(u.deletions=[e],u.flags|=16):d.push(e)),u.child=t,u.memoizedState=null,t)}function ko(e,u){return u=mr({mode:"visible",children:u},e.mode),u.return=e,e.child=u}function mr(e,u){return e=Ju(22,e,null,u),e.lanes=0,e}function pr(e,u,t){return Zl(u,e.child,null,t),e=ko(u,u.pendingProps.children),e.flags|=2,u.memoizedState=null,e}function z3(e,u,t,l,i,c,d,g){if(t)return u.flags&256?(ul(u),u.flags&=-257,pr(e,u,g)):u.memoizedState!==null?(tl(),u.child=e.child,u.flags|=128,null):(tl(),c=i.fallback,d=u.mode,i=mr({mode:"visible",children:i.children},d),c=Ll(c,d,g,null),c.flags|=2,i.return=u,c.return=u,i.sibling=c,u.child=i,Zl(u,e.child,null,g),i=u.child,i.memoizedState=Do(g),i.childLanes=No(e,l,g),u.memoizedState=Co,Hi(null,i));if(ul(u),D0(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var E=l.dgst;return l=E,l!==""&&(i=Error(r(419)),i.stack="",i.digest=l,Ni({value:i,source:null,stack:null})),pr(e,u,g)}if(fu||Bl(e,u,g,!1),l=(g&e.childLanes)!==0,fu||l){if(el.current!==null)return pr(e,u,g);if(l=Xe,l!==null&&(i=ri(l,g),i!==0&&i!==d.retryLane))throw d.retryLane=i,wl(e,i),ut(l,e,i),Ao;return C0(c)||Mr(),pr(e,u,g)}return C0(c)?(u.flags|=192,u.child=e.child,null):(e=d.treeContext,Qe=At(c.nextSibling),xu=u,Te=!0,Qn=null,Et=!1,e!==null&&hd(u,e),u=ko(u,i.children),u.flags|=134221824,u)}function j1(e,u,t){e.lanes|=u;var l=e.alternate;l!==null&&(l.lanes|=u),Qc(e.return,u,t)}function M1(e){for(var u=null;e!==null;){var t=e.alternate;t!==null&&tr(t)===null&&(u=e),e=e.sibling}return u}function br(e,u,t,l,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:l,tail:t,tailMode:i,treeForkCount:c}:(d.isBackwards=u,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=t,d.tailMode=i,d.treeForkCount=c)}function Oo(e){var u=e.child;for(e.child=null;u!==null;){var t=u.sibling;u.sibling=e.child,e.child=u,u=t}}function zo(e,u,t){var l=u.pendingProps,i=l.revealOrder,c=l.tail;l=l.children;var d=Nu.current;if(u.flags&128)return Li(u,d),null;var g=(d&2)!==0;if(g?(d=d&1|2,u.flags|=128):d&=1,Li(u,d),i==="backwards"&&e!==null?(Oo(e),bu(e,u,l,t),Oo(e)):bu(e,u,l,t),l=Te?Di:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=u.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&j1(e,t,u);else if(e.tag===19)j1(e,t,u);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===u)break e;for(;e.sibling===null;){if(e.return===null||e.return===u)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"backwards":t=M1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null,Oo(u)),br(u,!0,i,null,c,l);break;case"unstable_legacy-backwards":for(t=null,i=u.child,u.child=null;i!==null;){if(e=i.alternate,e!==null&&tr(e)===null){u.child=i;break}e=i.sibling,i.sibling=t,t=i,i=e}br(u,!0,t,null,c,l);break;case"together":br(u,!1,null,null,void 0,l);break;case"independent":u.memoizedState=null;break;default:t=M1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null),br(u,!1,i,t,c,l)}return u.child}function R1(e,u,t){var l=u.pendingProps;return Kn(u,u.type,l.value),bu(e,u,l.children,t),u.child}function _n(e,u,t){if(e!==null&&(u.dependencies=e.dependencies),il|=u.lanes,(t&u.childLanes)===0)if(e!==null){if(Bl(e,u,t,!1),(t&u.childLanes)===0)return null}else return null;if(e!==null&&u.child!==e.child)throw Error(r(153));if(u.child!==null){for(e=u.child,t=pn(e,e.pendingProps),u.child=t,t.return=u;e.sibling!==null;)e=e.sibling,t=t.sibling=pn(e,e.pendingProps),t.return=u;t.sibling=null}return u.child}function jo(e,u){return(e.lanes&u)!==0?!0:(e=e.dependencies,!!(e!==null&&Ic(e)))}function j3(e,u,t){switch(u.tag){case 3:lt(u,u.stateNode.containerInfo),Kn(u,su,e.memoizedState.cache),Ul();break;case 27:case 5:Sl(u);break;case 4:lt(u,u.stateNode.containerInfo);break;case 10:Kn(u,u.type,u.memoizedProps.value);break;case 31:if(u.memoizedState!==null)return u.flags|=128,to(u),null;break;case 13:var l=u.memoizedState;if(l!==null){if(l.dehydrated!==null)return ul(u),u.flags|=128,null;l=Bl(e,u,t,!1);var i=u.child.childLanes;return l||(t&i)!==0?z1(e,u,t):(ul(u),e=_n(e,u,t),e!==null?e.sibling:null)}ul(u);break;case 19:if(u.flags&128)return zo(e,u,t);if(i=(e.flags&128)!==0,l=(t&u.childLanes)!==0,l||(Bl(e,u,t,!1),l=(t&u.childLanes)!==0),i){if(l)return zo(e,u,t);u.flags|=128}if(i=u.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Li(u,Nu.current),l)break;return null;case 22:return u.lanes=0,T1(e,u,t,u.pendingProps);case 24:Kn(u,su,e.memoizedState.cache)}return _n(e,u,t)}function w1(e,u,t){if(e!==null)if(e.memoizedProps!==u.pendingProps)fu=!0;else{if(!jo(e,t)&&(u.flags&128)===0)return fu=!1,j3(e,u,t);fu=(e.flags&131072)!==0}else fu=!1,Te&&(u.flags&1048576)!==0&&dd(u,Di,u.index);switch(u.lanes=0,u.tag){case 16:e:{var l=u.pendingProps;if(e=Yl(u.elementType),u.type=e,typeof e=="function")Fs(e)?(l=Ql(e,l),u.tag=1,u=k1(null,u,e,l,t)):(u.tag=0,u=To(null,u,e,l,t));else{if(e!=null){var i=e.$$typeof;if(i===W){u.tag=11,u=E1(null,u,e,l,t);break e}else if(i===xe){u.tag=14,u=S1(null,u,e,l,t);break e}else if(i===Me){u.tag=10,u.type=e,u=R1(null,u,t);break e}}throw u=ke(e)||e,Error(r(306,u,""))}}return u;case 0:return To(e,u,u.type,u.pendingProps,t);case 1:return l=u.type,i=Ql(l,u.pendingProps),k1(e,u,l,i,t);case 3:e:{if(lt(u,u.stateNode.containerInfo),e===null)throw Error(r(387));l=u.pendingProps;var c=u.memoizedState;i=c.element,Js(e,u),wi(u,l,null,t);var d=u.memoizedState;if(l=d.cache,Kn(u,su,l),l!==c.cache&&Zs(u,[su],t,!0),Ri(),l=d.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:d.cache},u.updateQueue.baseState=c,u.memoizedState=c,u.flags&256){u=O1(e,u,l,t);break e}else if(l!==i){i=xt(Error(r(424)),u),Ni(i),u=O1(e,u,l,t);break e}else for(e=u.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Qe=At(e.firstChild),xu=u,Te=!0,Qn=null,Et=!0,t=Td(u,null,l,t),u.child=t;t;)t.flags=t.flags&-3|134221824,t=t.sibling;else{if(Ul(),l===i){u=_n(e,u,t);break e}bu(e,u,l,t)}u=u.child}return u;case 26:return ja(e,u),e===null?(t=i2(u.type,null,u.pendingProps,null))?u.memoizedState=t:Te||(u.stateNode=Bh(u.type,u.pendingProps,Iu.current,u)):u.memoizedState=i2(u.type,e.memoizedProps,u.pendingProps,e.memoizedState),null;case 27:return Sl(u),e===null&&Te&&(l=u.stateNode=t2(u.type,u.pendingProps,Iu.current),xu=u,Et=!0,i=Qe,ol(u.type)?(N0=i,Qe=At(l.firstChild)):Qe=i),bu(e,u,u.pendingProps.children,t),ja(e,u),e===null&&(u.flags|=4194304),u.child;case 5:return e===null&&Te&&((i=l=Qe)&&(l=Cb(l,u.type,u.pendingProps,Et),l!==null?(u.stateNode=l,xu=u,Qe=At(l.firstChild),Et=!1,i=!0):i=!1),i||In(u)),Sl(u),i=u.type,c=u.pendingProps,d=e!==null?e.memoizedProps:null,l=c.children,x0(i,c)?l=null:d!==null&&x0(i,d)&&(u.flags|=32),u.memoizedState!==null&&(i=ao(e,u,_3,null,null,t),$a._currentValue=i),ja(e,u),bu(e,u,l,t),u.child;case 6:return e===null&&Te&&((e=t=Qe)&&(t=Db(t,u.pendingProps,Et),t!==null?(u.stateNode=t,xu=u,Qe=null,e=!0):e=!1),e||In(u)),null;case 13:return z1(e,u,t);case 4:return lt(u,u.stateNode.containerInfo),l=u.pendingProps,e===null?u.child=Zl(u,null,l,t):bu(e,u,l,t),u.child;case 11:return E1(e,u,u.type,u.pendingProps,t);case 7:return l=u.pendingProps,ja(e,u),bu(e,u,l,t),u.child;case 8:return bu(e,u,u.pendingProps.children,t),u.child;case 12:return bu(e,u,u.pendingProps.children,t),u.child;case 10:return R1(e,u,t);case 9:return i=u.type._context,l=u.pendingProps.children,Hl(u),i=Cu(i),l=l(i),u.flags|=1,bu(e,u,l,t),u.child;case 14:return S1(e,u,u.type,u.pendingProps,t);case 15:return A1(e,u,u.type,u.pendingProps,t);case 19:return zo(e,u,t);case 31:return O3(e,u,t);case 22:return T1(e,u,t,u.pendingProps);case 24:return Hl(u),l=Cu(su),e===null?(i=Is(),i===null&&(i=Xe,c=Xs(),i.pooledCache=c,c.refCount++,c!==null&&(i.pooledCacheLanes|=t),i=c),u.memoizedState={parent:l,cache:i},$s(u),Kn(u,su,i)):((e.lanes&t)!==0&&(Js(e,u),wi(u,null,null,t),Ri()),i=e.memoizedState,c=u.memoizedState,i.parent!==l?(i={parent:l,cache:l},u.memoizedState=i,u.lanes===0&&(u.memoizedState=u.updateQueue.baseState=i),Kn(u,su,l)):(l=c.cache,Kn(u,su,l),l!==i.cache&&Zs(u,[su],t,!0))),bu(e,u,u.pendingProps.children,t),u.child;case 30:return u.stateNode===null&&(u.stateNode={autoName:null,paired:null,clones:null,ref:null}),l=u.pendingProps,l.name!=null&&l.name!=="auto"?u.flags|=e===null?18882560:18874368:Te&&Zc(u),e!==null&&e.memoizedProps.name!==l.name?u.flags|=4194816:ja(e,u),bu(e,u,l.children,t),u.child;case 29:throw u.pendingProps}throw Error(r(156,u.tag))}function En(e){e.flags|=4}function Mo(e,u,t,l,i){var c;if((c=(e.mode&32)!==0)&&(c=t===null?o2(u,l):o2(u,l)&&(l.src!==t.src||l.srcSet!==t.srcSet)),c){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(bh())e.flags|=8192;else throw Vl=Wc,Ks}else e.flags&=-16777217}function L1(e,u){if(u.type!=="stylesheet"||(u.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!f2(u))if(bh())e.flags|=8192;else throw Vl=Wc,Ks}function gr(e,u){u!==null&&(e.flags|=4),e.flags&16384&&(u=e.tag!==22?Ln():536870912,e.lanes|=u,Ua|=u)}function qi(e,u){if(!Te)switch(e.tailMode){case"visible":break;case"collapsed":for(var t=e.tail,l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?u||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null;break;default:for(u=e.tail,t=null;u!==null;)u.alternate!==null&&(t=u),u=u.sibling;t===null?e.tail=null:t.sibling=null}}function Ie(e){var u=e.alternate!==null&&e.alternate.child===e.child,t=0,l=0;if(u)for(var i=e.child;i!==null;)t|=i.lanes|i.childLanes,l|=i.subtreeFlags&1206910976,l|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)t|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=l,e.childLanes=t,u}function M3(e,u,t){var l=u.pendingProps;switch(qs(u),u.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(u),null;case 1:return Ie(u),null;case 3:return t=u.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),u.memoizedState.cache!==l&&(u.flags|=2048),yn(su),cn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Ta(u)?En(u):e===null||e.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,Ys())),Ie(u),null;case 26:var i=u.type,c=u.memoizedState;return e===null?(En(u),c!==null?(Ie(u),L1(u,c)):(Ie(u),Mo(u,i,null,l,t))):c?c!==e.memoizedState?(En(u),Ie(u),L1(u,c)):(Ie(u),u.flags&=-16777217):(e=e.memoizedProps,e!==l&&En(u),Ie(u),Mo(u,i,e,l,t)),null;case 27:if(Al(u),t=Iu.current,i=u.type,e!==null&&u.stateNode!=null)e.memoizedProps!==l&&En(u);else{if(!l){if(u.stateNode===null)throw Error(r(166));return Ie(u),u.subtreeFlags&=-33554433,null}e=Ue.current,Ta(u)?md(u):(e=t2(i,l,t),u.stateNode=e,En(u))}return Ie(u),u.subtreeFlags&=-33554433,null;case 5:if(Al(u),i=u.type,e!==null&&u.stateNode!=null)e.memoizedProps!==l&&En(u);else{if(!l){if(u.stateNode===null)throw Error(r(166));return Ie(u),u.subtreeFlags&=-33554433,null}if(c=Ue.current,Ta(u))md(u);else{var d=Wi(Iu.current);switch(c){case 1:c=d.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:c=d.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":c=d.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":c=d.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":c=d.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?d.createElement(i,{is:l.is}):d.createElement(i)}}c[mu]=u,c[Uu]=l;e:for(d=u.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===u)break e;for(;d.sibling===null;){if(d.return===null||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}u.stateNode=c;e:switch(Ou(c,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&En(u)}}return Ie(u),u.subtreeFlags&=-33554433,Mo(u,u.type,e===null?null:e.memoizedProps,u.pendingProps,t),null;case 6:if(e&&u.stateNode!=null)e.memoizedProps!==l&&En(u);else{if(typeof l!="string"&&u.stateNode===null)throw Error(r(166));if(e=Iu.current,Ta(u)){if(e=u.stateNode,t=u.memoizedProps,l=null,i=xu,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[mu]=u,e=!!(e.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||wh(e.nodeValue,t)),e||In(u,!0)}else e=Wi(e).createTextNode(l),e[mu]=u,u.stateNode=e}return Ie(u),null;case 31:if(t=u.memoizedState,e===null||e.memoizedState!==null){if(l=Ta(u),t!==null){if(e===null){if(!l)throw Error(r(318));if(e=u.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[mu]=u}else Ul(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ie(u),e=!1}else t=Ys(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return u.flags&256?(ct(u),u):(ct(u),null);if((u.flags&128)!==0)throw Error(r(558))}return Ie(u),null;case 13:if(l=u.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Ta(u),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error(r(318));if(i=u.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));i[mu]=u}else Ul(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ie(u),i=!1}else i=Ys(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return u.flags&256?(ct(u),u):(ct(u),null)}return ct(u),(u.flags&128)!==0?(u.lanes=t,u):(t=l!==null,e=e!==null&&e.memoizedState!==null,t&&(l=u.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==i&&(l.flags|=2048)),t!==e&&t&&(u.child.flags|=8192),gr(u,u.updateQueue),Ie(u),null);case 4:return cn(),e===null&&m0(u.stateNode.containerInfo),u.flags|=67108864,Ie(u),null;case 10:return yn(u.type),Ie(u),null;case 19:if(no(u),l=u.memoizedState,l===null)return Ie(u),null;if(i=(u.flags&128)!==0,c=l.rendering,c===null)if(i)qi(l,!1);else{if(au!==0||e!==null&&(e.flags&128)!==0)for(e=u.child;e!==null;){if(c=tr(e),c!==null){for(u.flags|=128,qi(l,!1),e=c.updateQueue,u.updateQueue=e,gr(u,e),u.subtreeFlags=0,e=t,t=u.child;t!==null;)sd(t,e),t=t.sibling;return Li(u,Nu.current&1|2),Te&&bn(u,l.treeForkCount),u.child}e=e.sibling}l.tail!==null&&wu()>kr&&(u.flags|=128,i=!0,qi(l,!1),u.lanes=4194304)}else{if(!i)if(e=tr(c),e!==null){if(u.flags|=128,i=!0,e=e.updateQueue,u.updateQueue=e,gr(u,e),qi(l,!0),l.tail===null&&l.tailMode!=="collapsed"&&l.tailMode!=="visible"&&!c.alternate&&!Te)return Ie(u),null}else 2*wu()-l.renderingStartTime>kr&&t!==536870912&&(u.flags|=128,i=!0,qi(l,!1),u.lanes=4194304);l.isBackwards?(c.sibling=u.child,u.child=c):(e=l.last,e!==null?e.sibling=c:u.child=c,l.last=c)}if(l.tail!==null){e=l.tail;e:{for(t=e;t!==null;){if(t.alternate!==null){t=!1;break e}t=t.sibling}t=!0}return l.rendering=e,l.tail=e.sibling,l.renderingStartTime=wu(),e.sibling=null,c=Nu.current,c=i?c&1|2:c&1,l.tailMode==="visible"||l.tailMode==="collapsed"||!t||Te?Li(u,c):(t=c,F(Du,u),F(Nu,t),Bu===null&&(Bu=u)),Te&&bn(u,l.treeForkCount),e}return Ie(u),null;case 22:case 23:return ct(u),uo(),l=u.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(u.flags|=8192):l&&(u.flags|=8192),l?(t&536870912)!==0&&(u.flags&128)===0&&(Ie(u),u.subtreeFlags&6&&(u.flags|=8192)):Ie(u),t=u.updateQueue,t!==null&&gr(u,t.retryQueue),t=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),l=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),l!==t&&(u.flags|=2048),e!==null&&X(Gl),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),u.memoizedState.cache!==t&&(u.flags|=2048),yn(su),Ie(u),null;case 25:return null;case 30:return u.flags|=33554432,Ie(u),null}throw Error(r(156,u.tag))}function R3(e,u){switch(qs(u),u.tag){case 1:return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 3:return yn(su),cn(),e=u.flags,(e&65536)!==0&&(e&128)===0?(u.flags=e&-65537|128,u):null;case 26:case 27:case 5:return Al(u),null;case 31:if(u.memoizedState!==null){if(ct(u),u.alternate===null)throw Error(r(340));Ul()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 13:if(ct(u),e=u.memoizedState,e!==null&&e.dehydrated!==null){if(u.alternate===null)throw Error(r(340));Ul()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 19:return no(u),e=u.flags,e&65536?(u.flags=e&-65537|128,e=u.memoizedState,e!==null&&(e.rendering=null,e.tail=null),u.flags|=4,u):null;case 4:return cn(),null;case 10:return yn(u.type),null;case 22:case 23:return ct(u),uo(),e!==null&&X(Gl),e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 24:return yn(su),null;case 25:return null;default:return null}}function U1(e,u){switch(qs(u),u.tag){case 3:yn(su),cn();break;case 26:case 27:case 5:Al(u);break;case 4:cn();break;case 31:u.memoizedState!==null&&ct(u);break;case 13:ct(u);break;case 19:no(u);break;case 10:yn(u.type);break;case 22:case 23:ct(u),uo(),e!==null&&X(Gl);break;case 24:yn(su)}}function Gi(e,u){try{var t=u.updateQueue,l=t!==null?t.lastEffect:null;if(l!==null){var i=l.next;t=i;do{if((t.tag&e)===e){l=void 0;var c=t.create,d=t.inst;l=c(),d.destroy=l}t=t.next}while(t!==i)}}catch(g){Ye(u,u.return,g)}}function nl(e,u,t){try{var l=u.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var c=i.next;l=c;do{if((l.tag&e)===e){var d=l.inst,g=d.destroy;if(g!==void 0){d.destroy=void 0,i=u;var E=t,O=g;try{O()}catch(R){Ye(i,E,R)}}}l=l.next}while(l!==c)}}catch(R){Ye(u,u.return,R)}}function F1(e){var u=e.updateQueue;if(u!==null){var t=e.stateNode;try{Dd(u,t)}catch(l){Ye(e,e.return,l)}}}function B1(e,u,t){t.props=Ql(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(l){Ye(e,u,l)}}function Qt(e,u){try{var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:var i=e.stateNode,c=hn(e.memoizedProps,i);(i.ref===null||i.ref.name!==c)&&(i.ref=Xh(c)),l=i.ref;break;case 7:if(e.stateNode===null){var d=new dt(e);y(e.child,!1,Ab,d,void 0,void 0),e.stateNode=d}l=e.stateNode;break;default:l=e.stateNode}typeof t=="function"?e.refCleanup=t(l):t.current=l}}catch(g){Ye(e,u,g)}}function ku(e,u){var t=e.ref,l=e.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(i){Ye(e,u,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(i){Ye(e,u,i)}else t.current=null}function yr(e,u){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&u!==null)for(var t=0;t<u.length;t++)Wh(e.stateNode,u[t])}function H1(e){for(var u=e.return;u!==null&&(wo(u)&&Wh(e.stateNode,u.stateNode),!Ro(u));)u=u.return}function Yi(e){for(var u=e.return;u!==null&&(wo(u)&&Tb(e.stateNode,u.stateNode),!Ro(u));)u=u.return}function Ro(e){return e.tag===5||e.tag===3||e.tag===27}function wo(e){return e&&e.tag===7&&e.stateNode!==null}function Lo(e){var u=e.type,t=e.memoizedProps,l=e.stateNode;try{e:switch(u){case"button":case"input":case"select":case"textarea":t.autoFocus&&l.focus();break e;case"img":t.src?l.src=t.src:t.srcSet&&(l.srcset=t.srcSet)}}catch(i){Ye(e,e.return,i)}}function Uo(e,u,t){try{var l=e.stateNode;ib(l,e.type,t,u),l[Uu]=u}catch(i){Ye(e,e.return,i)}}function q1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ol(e.type)||e.tag===4}function Fo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||q1(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&&ol(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 Bo(e,u,t,l){var i=e.tag;if(i===5||i===6)i=e.stateNode,u?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(i,u):(u=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,u.appendChild(i),t=t._reactRootContainer,t!=null||u.onclick!==null||(u.onclick=He)),yr(e,l),Ae=!0;else if(i!==4&&(i===27&&(yr(e,l),l=null,ol(e.type)&&(t=e.stateNode,u=null)),e=e.child,e!==null))for(Bo(e,u,t,l),e=e.sibling;e!==null;)Bo(e,u,t,l),e=e.sibling}function xr(e,u,t,l){var i=e.tag;if(i===5||i===6)i=e.stateNode,u?t.insertBefore(i,u):t.appendChild(i),yr(e,l),Ae=!0;else if(i!==4&&(i===27&&(yr(e,l),l=null,ol(e.type)&&(t=e.stateNode)),e=e.child,e!==null))for(xr(e,u,t,l),e=e.sibling;e!==null;)xr(e,u,t,l),e=e.sibling}function G1(e){var u=e.stateNode,t=e.memoizedProps;try{for(var l=e.type,i=u.attributes;i.length;)u.removeAttributeNode(i[0]);Ou(u,l,t),u[mu]=e,u[Uu]=t}catch(c){Ye(e,e.return,c)}}var vr=!1,rt=null;function Y1(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(vr=!0)}var It=null;function V1(){var e=It;return It=null,e}var Wu=0;function Ma(e,u,t,l,i){return Wu=0,Z1(e.child,u,t,l,i)}function Z1(e,u,t,l,i){for(var c=!1;e!==null;){if(e.tag===5){var d=e.stateNode;if(l!==null){var g=E0(d);l.push(g),g.view&&(c=!0)}else c||E0(d).view&&(c=!0);vr=!0,Vh(d,Wu===0?u:u+"_"+Wu,t),Wu++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Z1(e.child,u,t,l,i)&&(c=!0));e=e.sibling}return c}function Kt(e,u){for(;e!==null;)e.tag===5?Zh(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&u||Kt(e.child,u)),e=e.sibling}function _r(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(_r(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var u=e.memoizedProps;if(u.name==null||u.name==="auto")throw Error(r(544));var t=u.name;u=mn(u.default,u.share),u!=="none"&&(Ma(e,t,u,null,!1)||Kt(e.child,!1))}e=e.sibling}}function Ho(e,u){if(e.tag===30){var t=e.stateNode,l=e.memoizedProps,i=hn(l,t),c=mn(l.default,t.paired?l.share:l.enter);c!=="none"?Ma(e,i,c,null,!1)?(_r(e),t.paired||u||qa(e,l.onEnter)):Kt(e.child,!1):_r(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ho(e,u),e=e.sibling;else _r(e)}function qo(e){if(rt!==null&&rt.size!==0){var u=rt;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.memoizedProps,l=t.name;if(l!=null&&l!=="auto"){var i=u.get(l);if(i!==void 0){var c=mn(t.default,t.share);if(c!=="none"&&(Ma(e,l,c,null,!1)?(c=e.stateNode,i.paired=c,c.paired=i,qa(e,t.onShare)):Kt(e.child,!1)),u.delete(l),u.size===0)break}}}qo(e)}e=e.sibling}}}function Go(e){if(e.tag===30){var u=e.memoizedProps,t=hn(u,e.stateNode),l=rt!==null?rt.get(t):void 0,i=mn(u.default,l!==void 0?u.share:u.exit);i!=="none"&&(Ma(e,t,i,null,!1)?l!==void 0?(i=e.stateNode,l.paired=i,i.paired=l,rt.delete(t),qa(e,u.onShare)):qa(e,u.onExit):Kt(e.child,!1)),rt!==null&&qo(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Go(e),e=e.sibling;else rt!==null&&qo(e)}function X1(e){for(e=e.child;e!==null;){if(e.tag===30){var u=e.memoizedProps,t=hn(u,e.stateNode);u=mn(u.default,u.update),e.flags&=-5,u!=="none"&&Ma(e,t,u,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&X1(e);e=e.sibling}}function Yo(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var u=e.stateNode;u.paired!==null&&(u.paired=null,Kt(e.child,!1))}Yo(e)}e=e.sibling}}function Er(e){if(e.tag===30)e.stateNode.paired=null,Kt(e.child,!1),Yo(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Er(e),e=e.sibling;else Yo(e)}function Q1(e){for(e=e.child;e!==null;)e.tag===30?Kt(e.child,!1):(e.subtreeFlags&33554432)!==0&&Q1(e),e=e.sibling}function Vo(e,u,t,l,i,c,d){for(var g=!1;u!==null;){if(u.tag===5){var E=u.stateNode;if(c!==null&&Wu<c.length){var O=c[Wu],R=E0(E);(O.view||R.view)&&(g=!0);var U;if(U=(e.flags&4)===0)if(R.clip)U=!0;else{U=O.rect;var N=R.rect;U=U.y!==N.y||U.x!==N.x||U.height!==N.height||U.width!==N.width}U&&(e.flags|=4),R.abs?R=!O.abs:(O=O.rect,R=R.rect,R=O.height!==R.height||O.width!==R.width),R&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Vh(E,Wu===0?t:t+"_"+Wu,i),g&&(e.flags&4)!==0||(It===null&&(It=[]),It.push(E,Wu===0?l:l+"_"+Wu,u.memoizedProps)),Wu++}else(u.tag!==22||u.memoizedState===null)&&(u.tag===30&&d?e.flags|=u.flags&32:Vo(e,u.child,t,l,i,c,d)&&(g=!0));u=u.sibling}return g}function I1(e,u){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=e.stateNode,i=hn(t,l),c=mn(t.default,t.update),d;d=e.memoizedState,e.memoizedState=null,l=e;var g=e.child;Wu=0,i=Vo(l,g,i,i,c,d,!1),(e.flags&4)!==0&&i&&qa(e,t.onUpdate)}else(e.subtreeFlags&33554432)!==0&&I1(e);e=e.sibling}}var vu=!1,qe=!1,$t=!1,Zo=!1,K1=typeof WeakSet=="function"?WeakSet:Set,_u=null,Jt=!1,Vi=!1,Sr=!1,Xo=!1;function w3(e,u,t){if(e=e.containerInfo,g0=Ja,e=Pf(e),zs(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var c=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var g=0,E=-1,O=-1,R=0,U=0,N=e,j=null;u:for(;;){for(var $;N!==l||c!==0&&N.nodeType!==3||(E=g+c),N!==d||i!==0&&N.nodeType!==3||(O=g+i),N.nodeType===3&&(g+=N.nodeValue.length),($=N.firstChild)!==null;)j=N,N=$;for(;;){if(N===e)break u;if(j===l&&++R===c&&(E=g),j===d&&++U===i&&(O=g),($=N.nextSibling)!==null)break;N=j,j=N.parentNode}N=$}l=E===-1||O===-1?null:{start:E,end:O}}else l=null}l=l||{start:0,end:0}}else l=null;for(y0={focusedElem:e,selectionRange:l},Ja=!1,t=(t&335544064)===t,_u=u,u=t?9270:1024;_u!==null;){if(e=_u,t&&(l=e.deletions,l!==null))for(c=0;c<l.length;c++)t&&Go(l[c]);if(e.alternate===null&&(e.flags&2)!==0)t&&Y1(e),Ar(t);else{if(e.tag===22){if(l=e.alternate,e.memoizedState!==null){l!==null&&l.memoizedState===null&&t&&Go(l),Ar(t);continue}else if(l!==null&&l.memoizedState!==null){t&&Y1(e),Ar(t);continue}}l=e.child,(e.subtreeFlags&u)!==0&&l!==null?(l.return=e,_u=l):(t&&X1(e),Ar(t))}}rt=null}function Ar(e){for(;_u!==null;){var u=_u,t=e,l=u.alternate,i=u.flags;switch(u.tag){case 0:case 11:case 15:break;case 1:if((i&1024)!==0&&l!==null){t=void 0,i=l.memoizedProps,l=l.memoizedState;var c=u.stateNode;try{var d=Ql(u.type,i);t=c.getSnapshotBeforeUpdate(d,l),c.__reactInternalSnapshotBeforeUpdate=t}catch(g){Ye(u,u.return,g)}}break;case 3:if((i&1024)!==0){if(l=u.stateNode.containerInfo,t=l.nodeType,t===9)T0(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":T0(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:t&&l!==null&&(t=hn(l.memoizedProps,l.stateNode),i=u.memoizedProps,i=mn(i.default,i.update),i!=="none"&&Ma(l,t,i,l.memoizedState=[],!0));break;default:if((i&1024)!==0)throw Error(r(163))}if(l=u.sibling,l!==null){l.return=u.return,_u=l;break}_u=u.return}}function $1(e,u,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Wt(e,t),l&4&&Gi(5,t);break;case 1:if(Wt(e,t),l&4)if(e=t.stateNode,u===null)try{e.componentDidMount()}catch(d){Ye(t,t.return,d)}else{var i=Ql(t.type,u.memoizedProps);u=u.memoizedState;try{e.componentDidUpdate(i,u,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Ye(t,t.return,d)}}l&64&&F1(t),l&512&&Qt(t,t.return);break;case 3:if(Wt(e,t),l&64&&(e=t.updateQueue,e!==null)){if(u=null,t.child!==null)switch(t.child.tag){case 27:case 5:u=t.child.stateNode;break;case 1:u=t.child.stateNode}try{Dd(e,u)}catch(d){Ye(t,t.return,d)}}break;case 27:u===null&&l&4&&G1(t);case 26:case 5:Wt(e,t),u===null&&l&4&&Lo(t),l&512&&Qt(t,t.return);break;case 12:Wt(e,t);break;case 31:Wt(e,t),l&4&&eh(e,t);break;case 13:Wt(e,t),l&4&&uh(e,t),l&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=Q3.bind(null,t),Nb(e,t))));break;case 22:if(l=t.memoizedState!==null||vu,!l){var c=u!==null&&u.memoizedState!==null||qe;u=vu,i=qe,vu=l,(qe=c)&&!i?(l=2,(t.subtreeFlags&8772)!==0&&(l|=1),wt(e,t,l)):Wt(e,t),vu=u,qe=i}break;case 30:Wt(e,t),l&512&&Qt(t,t.return);break;case 7:l&512&&Qt(t,t.return);default:Wt(e,t)}}function Qo(e,u){for(e=e.child;e!==null;)J1(e,u),e=e.sibling}function J1(e,u){switch(e.tag){case 5:case 26:try{var t=e.stateNode;if(u){var l=t.style;typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"}else{var i=e.stateNode,c=e.memoizedProps.style,d=c!=null&&c.hasOwnProperty("display")?c.display:null;i.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(E){Ye(e,e.return,E)}Io(e,u);break;case 6:try{e.stateNode.nodeValue=u?"":e.memoizedProps,Ae=!0}catch(E){Ye(e,e.return,E)}break;case 18:try{var g=e.stateNode;u?Yh(g,!0):Yh(e.stateNode,!1)}catch(E){Ye(e,e.return,E)}break;case 22:case 23:e.memoizedState===null&&Qo(e,u);break;default:Qo(e,u)}}function Io(e,u){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var t=e,l=u;switch(t.tag){case 4:J1(t,l);break e;case 22:t.memoizedState===null&&Io(t,l);break e;default:Io(t,l)}}e=e.sibling}}function W1(e){var u=e.alternate;u!==null&&(e.alternate=null,W1(u)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(u=e.stateNode,u!==null&&Bn(u)),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 We=null,Pu=!1;function Mt(e,u,t){for(t=t.child;t!==null;)P1(e,u,t),t=t.sibling}function P1(e,u,t){if(Lu&&typeof Lu.onCommitFiberUnmount=="function")try{Lu.onCommitFiberUnmount(On,t)}catch{}switch(t.tag){case 26:qe||ku(t,u),Mt(e,u,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&!qe&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:qe||ku(t,u),Yi(t);var l=We,i=Pu;ol(t.type)&&(We=t.stateNode,Pu=!1),Mt(e,u,t),n2(t.stateNode,t.type,t.memoizedProps),We=l,Pu=i;break;case 5:qe||ku(t,u),Yi(t);case 6:if(t.tag===6&&Yi(t),l=We,i=Pu,We=null,Mt(e,u,t),We=l,Pu=i,We!==null)if(Pu)try{(We.nodeType===9?We.body:We.nodeName==="HTML"?We.ownerDocument.body:We).removeChild(t.stateNode),Ae=!0}catch(c){Ye(t,u,c)}else try{We.removeChild(t.stateNode),Ae=!0}catch(c){Ye(t,u,c)}break;case 18:We!==null&&(Pu?(e=We,Gh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),Wa(e)):Gh(We,t.stateNode));break;case 4:l=We,i=Pu,We=t.stateNode.containerInfo,Pu=!0,Mt(e,u,t),We=l,Pu=i;break;case 0:case 11:case 14:case 15:nl(2,t,u),qe||nl(4,t,u),Mt(e,u,t);break;case 1:qe||(ku(t,u),l=t.stateNode,typeof l.componentWillUnmount=="function"&&B1(t,u,l)),Mt(e,u,t);break;case 21:Mt(e,u,t);break;case 22:qe=(l=qe)||t.memoizedState!==null,Mt(e,u,t),qe=l;break;case 30:ku(t,u),Mt(e,u,t);break;case 7:qe||ku(t,u),Mt(e,u,t);break;default:Mt(e,u,t)}}function eh(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Wa(e)}catch(t){Ye(u,u.return,t)}}}function uh(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Wa(e)}catch(t){Ye(u,u.return,t)}}function L3(e){switch(e.tag){case 31:case 13:case 19:var u=e.stateNode;return u===null&&(u=e.stateNode=new K1),u;case 22:return e=e.stateNode,u=e._retryCache,u===null&&(u=e._retryCache=new K1),u;default:throw Error(r(435,e.tag))}}function Tr(e,u){var t=L3(e);u.forEach(function(l){if(!t.has(l)){t.add(l);var i=I3.bind(null,e,l);l.then(i,i)}})}function Zu(e,u,t){var l=u.deletions;if(l!==null)for(var i=0;i<l.length;i++){var c=l[i],d=e,g=u,E=g;e:for(;E!==null;){switch(E.tag){case 27:if(ol(E.type)){We=E.stateNode,Pu=!1;break e}break;case 5:We=E.stateNode,Pu=!1;break e;case 3:case 4:We=E.stateNode.containerInfo,Pu=!0;break e}E=E.return}if(We===null)throw Error(r(160));P1(d,g,c),We=null,Pu=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(u.subtreeFlags&13886)for(u=u.child;u!==null;)th(u,e,t),u=u.sibling}var Rt=null;function th(e,u,t){var l=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(i&4&&(l=e.updateQueue,l=l!==null?l.events:null,l!==null))for(var c=0;c<l.length;c++){var d=l[c];d.ref.impl=d.nextImpl}Zu(u,e,t),Xu(e),i&4&&(nl(3,e,e.return),Gi(3,e),nl(5,e,e.return));break;case 1:Zu(u,e,t),Xu(e),i&512&&(qe||l===null||ku(l,l.return)),i&64&&vu&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=t===null?u:t.concat(u))));break;case 26:if(c=Rt,Zu(u,e,t),Xu(e),i&512&&(qe||l===null||ku(l,l.return)),i&4)if(i=l!==null?l.memoizedState:null,t=e.memoizedState,l===null)if(t===null)if(e.stateNode===null)if(vu)e.stateNode=Bh(e.type,e.memoizedProps,u.containerInfo,e);else{e:{u=e.type,t=e.memoizedProps,i=c.ownerDocument||c;u:switch(u){case"title":l=i.getElementsByTagName("title")[0],(!l||l[sn]||l[mu]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=i.createElement(u),i.head.insertBefore(l,i.querySelector("head > title"))),Ou(l,u,t),l[mu]=e,ru(l),u=l;break e;case"link":if(c=s2("link","href",i).get(u+(t.href||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&l.getAttribute("rel")===(t.rel==null?null:t.rel)&&l.getAttribute("title")===(t.title==null?null:t.title)&&l.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(d,1);break u}}l=i.createElement(u),Ou(l,u,t),i.head.appendChild(l);break;case"meta":if(c=s2("meta","content",i).get(u+(t.content||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("content")===(t.content==null?null:""+t.content)&&l.getAttribute("name")===(t.name==null?null:t.name)&&l.getAttribute("property")===(t.property==null?null:t.property)&&l.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&l.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(d,1);break u}}l=i.createElement(u),Ou(l,u,t),i.head.appendChild(l);break;default:throw Error(r(468,u))}l[mu]=e,ru(l),u=l}e.stateNode=u}else vu||j0(c,e.type,e.stateNode);else e.stateNode=r2(c,t,e.memoizedProps);else i!==t?(i===null?(u=l.stateNode,u===null||qe||u.parentNode.removeChild(u)):i.count--,t===null?vu||j0(c,e.type,e.stateNode):r2(c,t,e.memoizedProps)):t===null&&e.stateNode!==null&&Uo(e,e.memoizedProps,l.memoizedProps);break;case 27:Zu(u,e,t),Xu(e),i&512&&(qe||l===null||ku(l,l.return)),l!==null&&i&4&&Uo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(c=$t,$t=!1,Zu(u,e,t),$t=c,Xu(e),i&512&&(qe||l===null||ku(l,l.return)),e.flags&32){u=e.stateNode;try{q(u,""),Ae=!0}catch(R){Ye(e,e.return,R)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,Uo(e,u,l!==null?l.memoizedProps:u)),i&1024&&(Zo=!0);break;case 6:if(Zu(u,e,t),Xu(e),i&4){if(e.stateNode===null)throw Error(r(162));u=e.memoizedProps,t=e.stateNode;try{t.nodeValue=u,Ae=!0}catch(R){Ye(e,e.return,R)}}break;case 3:if(Ae=!1,Hr=null,c=Rt,Rt=Pi(u.containerInfo),Zu(u,e,t),Rt=c,Xu(e),i&4&&l!==null&&l.memoizedState.isDehydrated)try{Wa(u.containerInfo)}catch(R){Ye(e,e.return,R)}Zo&&(Zo=!1,nh(e)),Ae=!1;break;case 4:i=$t,$t=vu,l=qn(),c=Rt,Rt=Pi(e.stateNode.containerInfo),Zu(u,e,t),Xu(e),Rt=c,Ae&&Vi&&(Sr=!0),Ae=l,$t=i;break;case 12:Zu(u,e,t),Xu(e);break;case 31:Zu(u,e,t),Xu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 13:Zu(u,e,t),Xu(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Nr=wu()),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 22:c=e.memoizedState!==null,d=l!==null&&l.memoizedState!==null;var g=vu,E=qe,O=$t;vu=g||c,$t=O||c,qe=E||d,Zu(u,e,t),qe=E,$t=O,vu=g,Xu(e),i&8192&&(u=e.stateNode,u._visibility=c?u._visibility&-2:u._visibility|1,!c||l===null||d||vu||qe||(u=d||qe,t=vu,l=qe,vu=c||vu,qe=u,ll(e,2),vu=t,qe=l),!c&&$t||Qo(e,c)),i&4&&(u=e.updateQueue,u!==null&&(t=u.retryQueue,t!==null&&(u.retryQueue=null,Tr(e,t))));break;case 19:Zu(u,e,t),Xu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 30:i&512&&(qe||l===null||ku(l,l.return)),i=qn(),c=Vi,d=(t&335544064)===t,g=e.memoizedProps,Vi=d&&mn(g.default,g.update)!=="none",Zu(u,e,t),Xu(e),d&&l!==null&&Ae&&(e.flags|=4),Vi=c,Ae=i;break;case 21:break;case 7:i&512&&(qe||l===null||ku(l,l.return)),l&&l.stateNode!==null&&(l.stateNode._fragmentFiber=e);default:Zu(u,e,t),Xu(e)}}function Xu(e){var u=e.flags;if(u&2){try{for(var t,l=e.return;l!==null;){if(q1(l)){t=l;break}l=l.return}l=null;for(var i=e.return;i!==null;){if(wo(i)){var c=i.stateNode;l===null?l=[c]:l.push(c)}if(Ro(i))break;i=i.return}var d=l;if(t==null)throw Error(r(160));switch(t.tag){case 27:var g=t.stateNode,E=Fo(e);xr(e,E,g,d);break;case 5:var O=t.stateNode;t.flags&32&&(q(O,""),t.flags&=-33);var R=Fo(e);xr(e,R,O,d);break;case 3:case 4:var U=t.stateNode.containerInfo,N=Fo(e);Bo(e,N,U,d);break;default:throw Error(r(161))}}catch(j){Ye(e,e.return,j)}e.flags&=-3}u&4096&&(e.flags&=-4097)}function nh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var u=e;nh(u),u.tag===5&&u.flags&1024&&(u=u.stateNode,Ja=!0,u.reset(),Ja=!1),e=e.sibling}}function Ra(e,u){if(u.subtreeFlags&9270)for(u=u.child;u!==null;)lh(u,e),u=u.sibling;else I1(u)}function lh(e,u){var t=e.alternate;if(t===null)Ho(e,!1);else switch(e.tag){case 3:if(Xo=Jt=!1,V1(),Ra(u,e),!Jt&&!Sr){if(e=It,e!==null)for(var l=0;l<e.length;l+=3){t=e[l];var i=e[l+1];Zh(t,e[l+2]),t=t.ownerDocument.documentElement,t!==null&&t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+i+")"})}e=u.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Xo=!0}It=null;break;case 5:Ra(u,e);break;case 4:l=Jt,Jt=!1,Ra(u,e),Jt&&(Sr=!0),Jt=l;break;case 22:e.memoizedState===null&&(t.memoizedState!==null?Ho(e,!1):Ra(u,e));break;case 30:l=Jt,i=V1(),Jt=!1,Ra(u,e),Jt&&(e.flags|=4);var c=e.memoizedProps,d=e.stateNode;u=hn(c,d),d=hn(t.memoizedProps,d);var g=mn(c.default,c.update);g==="none"?u=!1:(c=t.memoizedState,t.memoizedState=null,t=e.child,Wu=0,u=Vo(e,t,u,d,g,c,!0),Wu!==(c===null?0:c.length)&&(e.flags|=32)),(e.flags&4)!==0&&u?(qa(e,e.memoizedProps.onUpdate),It=i):i!==null&&(i.push.apply(i,It),It=i),Jt=(e.flags&32)!==0?!0:l;break;default:Ra(u,e)}}function Wt(e,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)$1(e,u.alternate,u),u=u.sibling}function ll(e,u){for(e=e.child;e!==null;){var t=e,l=u;switch(t.tag){case 0:case 11:case 14:case 15:nl(4,t,t.return),ll(t,l);break;case 1:ku(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&B1(t,t.return,i),ll(t,l);break;case 27:(l&2)!==0&&n2(t.stateNode,t.type,t.memoizedProps);case 5:ku(t,t.return),t.tag!==5&&t.tag!==27||Yi(t),ll(t,l);break;case 6:Yi(t);break;case 26:ku(t,t.return),i=t.stateNode,t.memoizedState!==null||i===null||qe||i.parentNode.removeChild(i),ll(t,l);break;case 22:t.memoizedState===null&&ll(t,l);break;case 30:ku(t,t.return),ll(t,l);break;case 7:ku(t,t.return);default:ll(t,l)}e=e.sibling}}function wt(e,u,t){for(t=(u.subtreeFlags&8772)!==0?t:t&-2,u=u.child;u!==null;){var l=u.alternate,i=e,c=u,d=c.flags,g=(t&1)!==0;switch(c.tag){case 0:case 11:case 15:wt(i,c,t),Gi(4,c);break;case 1:if(wt(i,c,t),l=c,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(R){Ye(l,l.return,R)}if(l=c,i=l.updateQueue,i!==null){var E=l.stateNode;try{var O=i.shared.hiddenCallbacks;if(O!==null)for(i.shared.hiddenCallbacks=null,i=0;i<O.length;i++)Cd(O[i],E)}catch(R){Ye(l,l.return,R)}}g&&d&64&&F1(c),Qt(c,c.return);break;case 27:(t&2)!==0&&G1(c);case 5:c.tag!==5&&c.tag!==27||H1(c),wt(i,c,t),g&&l===null&&d&4&&Lo(c),Qt(c,c.return);break;case 6:H1(c);break;case 26:E=c.stateNode,c.memoizedState!==null||E===null||vu||j0(Pi(E.ownerDocument),c.type,E),wt(i,c,t),g&&l===null&&d&4&&Lo(c),Qt(c,c.return);break;case 12:wt(i,c,t);break;case 31:wt(i,c,t),g&&d&4&&eh(i,c);break;case 13:wt(i,c,t),g&&d&4&&uh(i,c);break;case 22:c.memoizedState===null&&wt(i,c,t),Qt(c,c.return);break;case 30:wt(i,c,t),Qt(c,c.return);break;case 7:Qt(c,c.return);default:wt(i,c,t)}u=u.sibling}}function Ko(e,u){var t=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),e=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(e=u.memoizedState.cachePool.pool),e!==t&&(e!=null&&e.refCount++,t!=null&&ki(t))}function $o(e,u){e=null,u.alternate!==null&&(e=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==e&&(u.refCount++,e!=null&&ki(e))}function St(e,u,t,l){var i=(t&335544064)===t;if(u.subtreeFlags&(i?10262:10256))for(u=u.child;u!==null;)ah(e,u,t,l),u=u.sibling;else i&&Q1(u)}function ah(e,u,t,l){var i=(t&335544064)===t;i&&u.alternate===null&&u.return!==null&&u.return.alternate!==null&&Er(u);var c=u.flags;switch(u.tag){case 0:case 11:case 15:St(e,u,t,l),c&2048&&Gi(9,u);break;case 1:St(e,u,t,l);break;case 3:St(e,u,t,l),i&&Xo&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),c&2048&&(c=null,u.alternate!==null&&(c=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==c&&(u.refCount++,c!=null&&ki(c)));break;case 12:if(c&2048){St(e,u,t,l),c=u.stateNode;try{var d=u.memoizedProps,g=d.id,E=d.onPostCommit;typeof E=="function"&&E(g,u.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(O){Ye(u,u.return,O)}}else St(e,u,t,l);break;case 31:St(e,u,t,l);break;case 13:St(e,u,t,l);break;case 23:break;case 22:d=u.stateNode,g=u.alternate,u.memoizedState!==null?(i&&g!==null&&g.memoizedState===null&&Er(g),d._visibility&2?St(e,u,t,l):Zi(e,u)):(i&&g!==null&&g.memoizedState!==null&&Er(u),d._visibility&2?St(e,u,t,l):(d._visibility|=2,wa(e,u,t,l,(u.subtreeFlags&10256)!==0||!1))),c&2048&&Ko(g,u);break;case 24:St(e,u,t,l),c&2048&&$o(u.alternate,u);break;case 30:i&&(c=u.alternate,c!==null&&(Kt(c.child,!0),Kt(u.child,!0))),St(e,u,t,l);break;default:St(e,u,t,l)}}function wa(e,u,t,l,i){for(i=i&&((u.subtreeFlags&10256)!==0||!1),u=u.child;u!==null;){var c=e,d=u,g=t,E=l,O=d.flags;switch(d.tag){case 0:case 11:case 15:wa(c,d,g,E,i),Gi(8,d);break;case 23:break;case 22:var R=d.stateNode;d.memoizedState!==null?R._visibility&2?wa(c,d,g,E,i):Zi(c,d):(R._visibility|=2,wa(c,d,g,E,i)),i&&O&2048&&Ko(d.alternate,d);break;case 24:wa(c,d,g,E,i),i&&O&2048&&$o(d.alternate,d);break;default:wa(c,d,g,E,i)}u=u.sibling}}function Zi(e,u){if(u.subtreeFlags&10256)for(u=u.child;u!==null;){var t=e,l=u,i=l.flags;switch(l.tag){case 22:Zi(t,l),i&2048&&Ko(l.alternate,l);break;case 24:Zi(t,l),i&2048&&$o(l.alternate,l);break;default:Zi(t,l)}u=u.sibling}}var Il=8192;function Kl(e,u,t){if(e.subtreeFlags&Il)for(e=e.child;e!==null;)ih(e,u,t),e=e.sibling}function ih(e,u,t){switch(e.tag){case 26:Kl(e,u,t),e.flags&Il&&(e.memoizedState!==null?Gb(t,Rt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(u&335544128)===u&&h2(t,e)));break;case 5:Kl(e,u,t),e.flags&Il&&(e=e.stateNode,(u&335544128)===u&&h2(t,e));break;case 3:case 4:var l=Rt;Rt=Pi(e.stateNode.containerInfo),Kl(e,u,t),Rt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Il,Il=16777216,Kl(e,u,t),Il=l):Kl(e,u,t));break;case 30:if((e.flags&Il)!==0&&(l=e.memoizedProps.name,l!=null&&l!=="auto")){var i=e.stateNode;i.paired=null,rt===null&&(rt=new Map),rt.set(l,i)}Kl(e,u,t);break;default:Kl(e,u,t)}}function ch(e){var u=e.alternate;if(u!==null&&(e=u.child,e!==null)){u.child=null;do u=e.sibling,e.sibling=null,e=u;while(e!==null)}}function Xi(e){var u=e.deletions;if((e.flags&16)!==0){if(u!==null)for(var t=0;t<u.length;t++){var l=u[t];_u=l,sh(l,e)}ch(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)rh(e),e=e.sibling}function rh(e){switch(e.tag){case 0:case 11:case 15:Xi(e),e.flags&2048&&nl(9,e,e.return);break;case 3:Xi(e);break;case 12:Xi(e);break;case 22:var u=e.stateNode;e.memoizedState!==null&&u._visibility&2&&(e.return===null||e.return.tag!==13)?(u._visibility&=-3,Cr(e)):Xi(e);break;default:Xi(e)}}function Cr(e){var u=e.deletions;if((e.flags&16)!==0){if(u!==null)for(var t=0;t<u.length;t++){var l=u[t];_u=l,sh(l,e)}ch(e)}for(e=e.child;e!==null;){switch(u=e,u.tag){case 0:case 11:case 15:nl(8,u,u.return),Cr(u);break;case 22:t=u.stateNode,t._visibility&2&&(t._visibility&=-3,Cr(u));break;default:Cr(u)}e=e.sibling}}function sh(e,u){for(;_u!==null;){var t=_u;switch(t.tag){case 0:case 11:case 15:nl(8,t,u);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var l=t.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:ki(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,_u=l;else e:for(t=e;_u!==null;){l=_u;var i=l.sibling,c=l.return;if(W1(l),l===t){_u=null;break e}if(i!==null){i.return=c,_u=i;break e}_u=c}}}var U3={getCacheForType:function(e){var u=Cu(su),t=u.data.get(e);return t===void 0&&(t=e(),u.data.set(e,t)),t},cacheSignal:function(){return Cu(su).controller.signal}},F3=typeof WeakMap=="function"?WeakMap:Map,Be=0,Xe=null,De=null,Oe=0,Ge=0,st=null,al=!1,La=!1,Jo=!1,Sn=0,au=0,il=0,$l=0,Dr=0,ot=0,Ua=0,Qi=null,et=null,Wo=!1,Nr=0,oh=0,kr=1/0,Or=null,cl=null,tu=0,Lt=null,Jl=null,Pt=0,Po=0,e0=null,fh=null,Fa=null,Ba=null,Ha=null,Ii=0,zr=null;function ft(){return(Be&2)!==0&&Oe!==0?Oe&-Oe:ee.T!==null?o0():si()}function dh(){if(ot===0)if((Oe&536870912)===0||Te){var e=Mn;Mn<<=1,(Mn&3932160)===0&&(Mn=262144),ot=e}else ot=536870912;return e=Du.current,e!==null&&(e.flags|=32),ot}function qa(e,u){if(u!=null){var t=e.stateNode,l=t.ref;l===null&&(l=t.ref=Xh(hn(e.memoizedProps,t))),Ba===null&&(Ba=[]),Ba.push(u.bind(null,l))}}function ut(e,u,t){(e===Xe&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)&&(Ga(e,0),rl(e,Oe,ot,!1)),kl(e,t),((Be&2)===0||e!==Xe)&&(e===Xe&&((Be&2)===0&&($l|=t),au===4&&rl(e,Oe,ot,!1)),en(e))}function hh(e,u,t){if((Be&6)!==0)throw Error(r(327));var l=!t&&(u&127)===0&&(u&e.expiredLanes)===0||wn(e,u),i=l?q3(e,u):t0(e,u,!0),c=l;do{if(i===0){La&&!l&&rl(e,u,0,!1);break}else{if(t=e.current.alternate,c&&!B3(t)){i=t0(e,u,!1),c=!1;continue}if(i===2){if(c=u,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){u=d;e:{var g=e;i=Qi;var E=g.current.memoizedState.isDehydrated;if(E&&(Ga(g,d).flags|=256),d=t0(g,d,!1),d!==2&&d!==6){if(Jo&&!E){g.errorRecoveryDisabledLanes|=c,$l|=c,i=4;break e}c=et,et=i,c!==null&&(et===null?et=c:et.push.apply(et,c))}i=d}if(c=!1,i!==2)continue}}if(i===1){Ga(e,0),rl(e,u,0,!0);break}e:{switch(l=e,c=i,c){case 0:case 1:throw Error(r(345));case 4:if((u&4194048)!==u&&(u&62914560)!==u)break;case 6:rl(l,u,ot,!al);break e;case 2:et=null;break;case 3:case 5:break;default:throw Error(r(329))}if((u&62914560)===u&&(i=Nr+300-wu(),10<i)){if(rl(l,u,ot,!al),Rn(l,0,!0)!==0)break e;Pt=u,l.timeoutHandle=_0(mh.bind(null,l,t,et,Or,Wo,u,ot,$l,Ua,al,c,"Throttled",-0,0),i);break e}mh(l,t,et,Or,Wo,u,ot,$l,Ua,al,c,null,-0,0)}}break}while(!0);en(e)}function mh(e,u,t,l,i,c,d,g,E,O,R,U,N,j){e.timeoutHandle=-1;var $=u.subtreeFlags,ne=(c&335544064)===c;if(U=null,(ne||$&8192||($&16785408)===16785408)&&(U={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:He},rt=null,ih(u,c,U),ne&&($=U,ne=e.containerInfo,ne=(ne.nodeType===9?ne:ne.ownerDocument).__reactViewTransition,ne!=null&&($.count++,$.waitingForViewTransition=!0,$=tc.bind($),ne.finished.then($,$))),$=(c&62914560)===c?Nr-wu():(c&4194048)===c?oh-wu():0,$=Yb(U,$),$!==null)){Pt=c,e.cancelPendingCommit=$(Eh.bind(null,e,u,c,t,l,i,d,g,E,O,R,U,null,N,j)),rl(e,c,d,!O);return}Eh(e,u,c,t,l,i,d,g,E,O,R,U)}function B3(e){for(var u=e;;){var t=u.tag;if((t===0||t===11||t===15)&&u.flags&16384&&(t=u.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var l=0;l<t.length;l++){var i=t[l],c=i.getSnapshot;i=i.value;try{if(!it(c(),i))return!1}catch{return!1}}if(t=u.child,u.subtreeFlags&16384&&t!==null)t.return=u,u=t;else{if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function rl(e,u,t,l){u=sa(e,u),u&=~Dr,u&=~$l,e.suspendedLanes|=u,e.pingedLanes&=~u,l&&(e.warmLanes|=u),l=e.expirationTimes;for(var i=u;0<i;){var c=31-yu(i),d=1<<c;l[c]=-1,i&=~d}t!==0&&rn(e,t,u)}function jr(){return(Be&6)===0?(Ki(0),!1):!0}function u0(){if(De!==null){if(Ge===0)var e=De.return;else e=De,gn=Fl=null,ro(e),Na=null,ji=0,e=De;for(;e!==null;)U1(e.alternate,e),e=e.return;De=null}}function Ga(e,u){var t=e.timeoutHandle;return t!==-1&&(e.timeoutHandle=-1,sb(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),Pt=0,u0(),Xe=e,De=t=pn(e.current,null),Oe=u,Ge=0,st=null,al=!1,La=wn(e,u),Jo=!1,Ua=ot=Dr=$l=il=au=0,et=Qi=null,Wo=!1,Sn=sa(e,u),Hc(),t}function ph(e,u){_e=null,ee.H=fr,u===Da||u===Jc?(u=Ed(),Ge=3):u===Ks?(u=Ed(),Ge=4):Ge=u===Ao?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,st=u,De===null&&(au=1,dr(e,xt(u,e.current)))}function bh(){var e=Du.current;return e===null?!0:(Oe&4194048)===Oe?Bu===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?e===Bu:!1}function gh(){var e=ee.H;return ee.H=fr,e===null?fr:e}function yh(){var e=ee.A;return ee.A=U3,e}function Mr(){au=4,al||(Oe&4194048)!==Oe&&Du.current!==null||(La=!0),(il&134217727)===0&&($l&134217727)===0||Xe===null||rl(Xe,Oe,ot,!1)}function t0(e,u,t){var l=Be;Be|=2;var i=gh(),c=yh();(Xe!==e||Oe!==u)&&(Or=null,Ga(e,u)),u=!1;var d=au;e:do try{if(Ge!==0&&De!==null){var g=De,E=st;switch(Ge){case 8:u0(),d=6;break e;case 3:case 2:case 9:case 6:Du.current===null&&(u=!0);var O=Ge;if(Ge=0,st=null,Ya(e,g,E,O),t&&La){d=0;break e}break;default:O=Ge,Ge=0,st=null,Ya(e,g,E,O)}}H3(),d=au;break}catch(R){ph(e,R)}while(!0);return u&&e.shellSuspendCounter++,gn=Fl=null,Be=l,ee.H=i,ee.A=c,De===null&&(Xe=null,Oe=0,Hc()),d}function H3(){for(;De!==null;)xh(De)}function q3(e,u){var t=Be;Be|=2;var l=gh(),i=yh();Xe!==e||Oe!==u?(Or=null,kr=wu()+500,Ga(e,u)):La=wn(e,u);e:do try{if(Ge!==0&&De!==null){u=De;var c=st;u:switch(Ge){case 1:Ge=0,st=null,Ya(e,u,c,1);break;case 2:case 9:if(vd(c)){Ge=0,st=null,vh(u);break}u=function(){Ge!==2&&Ge!==9||Xe!==e||(Ge=7),en(e)},c.then(u,u);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:vd(c)?(Ge=0,st=null,vh(u)):(Ge=0,st=null,Ya(e,u,c,7));break;case 5:var d=null;switch(De.tag){case 26:d=De.memoizedState;case 5:case 27:var g=De;if(d?f2(d):g.stateNode.complete){Ge=0,st=null;var E=g.sibling;if(E!==null)De=E;else{var O=g.return;O!==null?(De=O,Rr(O)):De=null}break u}}Ge=0,st=null,Ya(e,u,c,5);break;case 6:Ge=0,st=null,Ya(e,u,c,6);break;case 8:u0(),au=6;break e;default:throw Error(r(462))}}G3();break}catch(R){ph(e,R)}while(!0);return gn=Fl=null,ee.H=l,ee.A=i,Be=t,De!==null?0:(Xe=null,Oe=0,Hc(),au)}function G3(){for(;De!==null&&!la();)xh(De)}function xh(e){var u=w1(e.alternate,e,Sn);e.memoizedProps=e.pendingProps,u===null?Rr(e):De=u}function vh(e){var u=e,t=u.alternate;switch(u.tag){case 15:case 0:u=N1(t,u,u.pendingProps,u.type,void 0,Oe);break;case 11:u=N1(t,u,u.pendingProps,u.type.render,u.ref,Oe);break;case 5:ro(u);var l=u;l===xu&&(Te?(Xc(l),l.tag===5&&l.stateNode!=null&&(Qe=l.stateNode)):(Xc(l),Te=!0));default:U1(t,u),u=De=sd(u,Sn),u=w1(t,u,Sn)}e.memoizedProps=e.pendingProps,u===null?Rr(e):De=u}function Ya(e,u,t,l){gn=Fl=null,ro(u),Na=null,ji=0;var i=u.return;try{if(k3(e,i,u,t,Oe)){au=1,dr(e,xt(t,e.current)),De=null;return}}catch(c){if(i!==null)throw De=i,c;au=1,dr(e,xt(t,e.current)),De=null;return}u.flags&32768?(Te||l===1?e=!0:La||(Oe&536870912)!==0?e=!1:(al=e=!0,(l===2||l===9||l===3||l===6)&&(l=Du.current,l!==null&&l.tag===13&&(l.flags|=16384))),_h(u,e)):Rr(u)}function Rr(e){var u=e;do{if((u.flags&32768)!==0){_h(u,al);return}e=u.return;var t=M3(u.alternate,u,Sn);if(t!==null){De=t;return}if(u=u.sibling,u!==null){De=u;return}De=u=e}while(u!==null);au===0&&(au=5)}function _h(e,u){do{var t=R3(e.alternate,e);if(t!==null){t.flags&=32767,De=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!u&&(e=e.sibling,e!==null)){De=e;return}De=e=t}while(e!==null);au=6,De=null}function Eh(e,u,t,l,i,c,d,g,E,O,R,U){e.cancelPendingCommit=null;do wr();while(tu!==0);if((Be&6)!==0)throw Error(r(327));if(u!==null){if(u===e.current)throw Error(r(177));e===Xe&&(De=Xe=null,Oe=0),Jl=u,Lt=e,Pt=t,e0=i,fh=l,Y3(e,u,t,d,g,E,U)}}function Y3(e,u,t,l,i,c,d){var g=u.lanes|u.childLanes;if(Po=g,g|=Ls,uu(e,t,g,l,i,c),Ba=null,(t&335544064)===t?(Ha=g3(e),l=10262):(Ha=null,l=10256),(u.subtreeFlags&l)!==0||(u.flags&l)!==0?(e.callbackNode=null,e.callbackPriority=0,K3(bt,function(){return i0(),null})):(e.callbackNode=null,e.callbackPriority=0),vr=!1,l=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||l){l=ee.T,ee.T=null,i=me.p,me.p=2,c=Be,Be|=4;try{w3(e,u,t)}finally{Be=c,me.p=i,ee.T=l}}tu=1,vr?Fa=pb(d,e.containerInfo,Ha,n0,l0,Z3,a0,i0,V3):(n0(),l0(),a0())}function V3(e){if(tu!==0){var u=Lt.onRecoverableError;u(e,{componentStack:null})}}function Z3(){tu===3&&(tu=0,lh(Jl,Lt),tu=4)}function n0(){if(tu===1){tu=0;var e=Lt,u=Jl,t=Pt,l=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||l){l=ee.T,ee.T=null;var i=me.p;me.p=2;var c=Be;Be|=4;try{Vi=Sr=!1,th(u,e,t),t=y0;var d=Pf(e.containerInfo),g=t.focusedElem,E=t.selectionRange;if(d!==g&&g&&g.ownerDocument&&Wf(g.ownerDocument.documentElement,g)){if(E!==null&&zs(g)){var O=E.start,R=E.end;if(R===void 0&&(R=O),"selectionStart"in g)g.selectionStart=O,g.selectionEnd=Math.min(R,g.value.length);else{var U=g.ownerDocument||document,N=U&&U.defaultView||window;if(N.getSelection){var j=N.getSelection(),$=g.textContent.length,ne=Math.min(E.start,$),Ee=E.end===void 0?ne:Math.min(E.end,$);!j.extend&&ne>Ee&&(d=Ee,Ee=ne,ne=d);var k=Jf(g,ne),S=Jf(g,Ee);if(k&&S&&(j.rangeCount!==1||j.anchorNode!==k.node||j.anchorOffset!==k.offset||j.focusNode!==S.node||j.focusOffset!==S.offset)){var z=U.createRange();z.setStart(k.node,k.offset),j.removeAllRanges(),ne>Ee?(j.addRange(z),j.extend(S.node,S.offset)):(z.setEnd(S.node,S.offset),j.addRange(z))}}}}for(U=[],j=g;j=j.parentNode;)j.nodeType===1&&U.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<U.length;g++){var w=U[g];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Ja=!!g0,y0=g0=null}finally{Be=c,me.p=i,ee.T=l}}e.current=u,tu=2}}function l0(){if(tu===2){tu=0;var e=Lt,u=Jl,t=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||t){t=ee.T,ee.T=null;var l=me.p;me.p=2;var i=Be;Be|=4;try{$1(e,u.alternate,u)}finally{Be=i,me.p=l,ee.T=t}}tu=3}}function a0(){if(tu===4||tu===3){tu=0;var e=Fa;Fa=null,Ac();var u=Lt,t=Jl,l=Pt,i=fh,c=(l&335544064)===l?10262:10256;if((t.subtreeFlags&c)!==0||(t.flags&c)!==0?tu=5:(tu=0,Jl=Lt=null,Sh(u,u.pendingLanes)),c=u.pendingLanes,c===0&&(cl=null),oa(l),t=t.stateNode,Lu&&typeof Lu.onCommitFiberRoot=="function")try{Lu.onCommitFiberRoot(On,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=ee.T,c=me.p,me.p=2,ee.T=null;try{for(var d=u.onRecoverableError,g=0;g<i.length;g++){var E=i[g];d(E.value,{componentStack:E.stack})}}finally{ee.T=t,me.p=c}}if(i=Ba,d=Ha,Ha=null,i!==null&&(Ba=null,d===null&&(d=[]),e!==null))for(E=0;E<i.length;E++)t=(0,i[E])(d),t!==void 0&&e.finished.finally(t);(Pt&3)!==0&&wr(),en(u),c=u.pendingLanes,(l&261930)!==0&&(c&42)!==0?u===zr?Ii++:(Ii=0,zr=u):(Ii=0,zr=null),Ki(0)}}function Sh(e,u){(e.pooledCacheLanes&=u)===0&&(u=e.pooledCache,u!=null&&(e.pooledCache=null,ki(u)))}function wr(){return Fa!==null&&(Fa.skipTransition(),Fa=null),n0(),l0(),a0(),i0()}function i0(){if(tu!==5)return!1;var e=Lt,u=Po;Po=0;var t=oa(Pt),l=ee.T,i=me.p;try{me.p=32>t?32:t,ee.T=null,t=e0,e0=null;var c=Lt,d=Pt;if(tu=0,Jl=Lt=null,Pt=0,(Be&6)!==0)throw Error(r(331));var g=Be;if(Be|=4,rh(c.current),ah(c,c.current,d,t),Be=g,Ki(0,!1),Lu&&typeof Lu.onPostCommitFiberRoot=="function")try{Lu.onPostCommitFiberRoot(On,c)}catch{}return!0}finally{me.p=i,ee.T=l,Sh(e,u)}}function Ah(e,u,t){u=xt(t,u),u=So(e.stateNode,u,2),e=Pn(e,u,2),e!==null&&(kl(e,2),en(e))}function Ye(e,u,t){if(e.tag===3)Ah(e,e,t);else for(;u!==null;){if(u.tag===3){Ah(u,e,t);break}else if(u.tag===1){var l=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(cl===null||!cl.has(l))){e=xt(t,e),t=v1(2),l=Pn(u,t,2),l!==null&&(_1(t,l,u,e),kl(l,2),en(l));break}}u=u.return}}function c0(e,u,t){var l=e.pingCache;if(l===null){l=e.pingCache=new F3;var i=new Set;l.set(u,i)}else i=l.get(u),i===void 0&&(i=new Set,l.set(u,i));i.has(t)||(Jo=!0,i.add(t),e=X3.bind(null,e,u,t),u.then(e,e))}function X3(e,u,t){var l=e.pingCache;l!==null&&l.delete(u),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,Xe===e&&(Oe&t)===t&&((au===4||au===3&&(Oe&62914560)===Oe&&300>wu()-Nr)&&(Be&2)===0?Ga(e,0):Dr|=t,Ua===Oe&&(Ua=0)),en(e)}function Th(e,u){u===0&&(u=Ln()),e=wl(e,u),e!==null&&(kl(e,u),en(e))}function Q3(e){var u=e.memoizedState,t=0;u!==null&&(t=u.retryLane),Th(e,t)}function I3(e,u){var t=0;switch(e.tag){case 31:case 13:var l=e.stateNode,i=e.memoizedState;i!==null&&(t=i.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(u),Th(e,t)}function K3(e,u){return Bt(e,u)}var Va=null,Za=null,r0=!1,Lr=!1,s0=!1,sl=0;function en(e){e!==Za&&e.next===null&&(Za===null?Va=Za=e:Za=Za.next=e),Lr=!0,r0||(r0=!0,J3())}function Ki(e,u){if(!s0&&Lr){s0=!0;do for(var t=!1,l=Va;l!==null;){if(e!==0){var i=l.pendingLanes;if(i===0)var c=0;else{var d=l.suspendedLanes,g=l.pingedLanes;c=(1<<31-yu(42|e)+1)-1,c&=i&~(d&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(t=!0,kh(l,c))}else c=Oe,c=Rn(l,l===Xe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||wn(l,c)||(t=!0,kh(l,c));l=l.next}while(t);s0=!1}}function $3(){Ch()}function Ch(){Lr=r0=!1;var e=0;sl!==0&&rb()&&(e=sl);for(var u=wu(),t=null,l=Va;l!==null;){var i=l.next,c=Dh(l,u);c===0?(l.next=null,t===null?Va=i:t.next=i,i===null&&(Za=t)):(t=l,(e!==0||(c&3)!==0)&&(Lr=!0)),l=i}tu!==0&&tu!==5||Ki(e),sl!==0&&(sl=0)}function Dh(e,u){for(var t=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var d=31-yu(c),g=1<<d,E=i[d];E===-1?((g&t)===0||(g&l)!==0)&&(i[d]=xs(g,u)):E<=u&&(e.expiredLanes|=g),c&=~g}if(u=Xe,t=Oe,t=Rn(e,e===u?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,t===0||e===u&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Nn(l),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||wn(e,t)){if(u=t&-t,u===e.callbackPriority)return u;switch(l!==null&&Nn(l),oa(t)){case 2:case 8:t=ia;break;case 32:t=bt;break;case 268435456:t=Ht;break;default:t=bt}return l=Nh.bind(null,e),t=Bt(t,l),e.callbackPriority=u,e.callbackNode=t,u}return l!==null&&l!==null&&Nn(l),e.callbackPriority=2,e.callbackNode=null,2}function Nh(e,u){if(tu!==0&&tu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(wr()&&e.callbackNode!==t)return null;var l=Oe;return l=Rn(e,e===Xe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(hh(e,l,u),Dh(e,wu()),e.callbackNode!=null&&e.callbackNode===t?Nh.bind(null,e):null)}function kh(e,u){if(wr())return null;hh(e,u,!0)}function J3(){ob(function(){(Be&6)!==0?Bt(aa,$3):Ch()})}function o0(){if(sl===0){var e=ql;e===0&&(e=jn,jn<<=1,(jn&261888)===0&&(jn=256)),sl=e}return sl}function Oh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ve(e)}function W3(e,u,t,l,i){if(u==="submit"&&t&&t.stateNode===i){var c=Oh((i[Uu]||null).action),d=l.submitter;d&&(u=(u=d[Uu]||null)?Oh(u.formAction):d.getAttribute("formAction"),u!==null&&(c=u,d=null));var g=new Lc("action","action",null,l,i);e.push({event:g,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(sl!==0){var E=new FormData(i,d);yo(t,{pending:!0,data:E,method:i.method,action:c},null,E)}}else typeof c=="function"&&(g.preventDefault(),E=new FormData(i,d),yo(t,{pending:!0,data:E,method:i.method,action:c},c,E))},currentTarget:i}]})}}for(var f0=0;f0<ws.length;f0++){var d0=ws[f0],P3=d0.toLowerCase(),eb=d0[0].toUpperCase()+d0.slice(1);jt(P3,"on"+eb)}jt(td,"onAnimationEnd"),jt(nd,"onAnimationIteration"),jt(ld,"onAnimationStart"),jt("dblclick","onDoubleClick"),jt("focusin","onFocus"),jt("focusout","onBlur"),jt(s3,"onTransitionRun"),jt(o3,"onTransitionStart"),jt(f3,"onTransitionCancel"),jt(ad,"onTransitionEnd"),Yt("onMouseEnter",["mouseout","mouseover"]),Yt("onMouseLeave",["mouseout","mouseover"]),Yt("onPointerEnter",["pointerout","pointerover"]),Yt("onPointerLeave",["pointerout","pointerover"]),Gt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Gt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Gt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Gt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Gt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Gt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $i="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(" "),ub=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($i));function zh(e,u){u=(u&4)!==0;for(var t=0;t<e.length;t++){var l=e[t],i=l.event;l=l.listeners;e:{var c=void 0;if(u)for(var d=l.length-1;0<=d;d--){var g=l[d],E=g.instance,O=g.currentTarget;if(g=g.listener,E!==c&&i.isPropagationStopped())break e;c=g,i.currentTarget=O;try{c(i)}catch(R){Bc(R)}i.currentTarget=null,c=E}else for(d=0;d<l.length;d++){if(g=l[d],E=g.instance,O=g.currentTarget,g=g.listener,E!==c&&i.isPropagationStopped())break e;c=g,i.currentTarget=O;try{c(i)}catch(R){Bc(R)}i.currentTarget=null,c=E}}}}function Ne(e,u){var t=u[oi];t===void 0&&(t=u[oi]=new Set);var l=e+"__bubble";t.has(l)||(jh(u,e,2,!1),t.add(l))}function h0(e,u,t){var l=0;u&&(l|=4),jh(t,e,l,u)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function m0(e){if(!e[Ur]){e[Ur]=!0,hi.forEach(function(t){t!=="selectionchange"&&(ub.has(t)||h0(t,!1,e),h0(t,!0,e))});var u=e.nodeType===9?e:e.ownerDocument;u===null||u[Ur]||(u[Ur]=!0,h0("selectionchange",!1,u))}}function jh(e,u,t,l){switch(_2(u)){case 2:var i=Qb;break;case 8:i=Ib;break;default:i=R0}t=i.bind(null,u,t,e),i=void 0,!_s||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(i=!0),l?i!==void 0?e.addEventListener(u,t,{capture:!0,passive:i}):e.addEventListener(u,t,!0):i!==void 0?e.addEventListener(u,t,{passive:i}):e.addEventListener(u,t,!1)}function p0(e,u,t,l,i){var c=l;if((u&1)===0&&(u&2)===0&&l!==null)e:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var g=l.stateNode.containerInfo;if(g===i)break;if(d===4)for(d=l.return;d!==null;){var E=d.tag;if((E===3||E===4)&&d.stateNode.containerInfo===i)return;d=d.return}for(;g!==null;){if(d=on(g),d===null)return;if(E=d.tag,E===5||E===6||E===26||E===27){l=c=d;continue e}g=g.parentNode}}l=l.return}jf(function(){var O=c,R=pu(t),U=[];e:{var N=id.get(e);if(N!==void 0){var j=Lc,$=e;switch(e){case"keypress":if(Rc(t)===0)break e;case"keydown":case"keyup":j=Bp;break;case"focusin":$="focus",j=Ts;break;case"focusout":$="blur",j=Ts;break;case"beforeblur":case"afterblur":j=Ts;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Dp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Vp;break;case td:case nd:case ld:j=Op;break;case ad:j=Xp;break;case"scroll":case"scrollend":j=Tp;break;case"wheel":j=Ip;break;case"copy":case"cut":case"paste":j=jp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Uf;break;case"submit":j=Gp;break;case"toggle":case"beforetoggle":j=$p}var ne=(u&4)!==0,Ee=!ne&&(e==="scroll"||e==="scrollend"),k=ne?N!==null?N+"Capture":null:N;ne=[];for(var S=O,z;S!==null;){var w=S;if(z=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||z===null||k===null||(w=yi(S,k),w!=null&&ne.push(Ji(S,w,z))),Ee)break;S=S.return}0<ne.length&&(N=new j(N,$,null,t,R),U.push({event:N,listeners:ne}))}}if((u&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",j&&t!==$u&&($=t.relatedTarget||t.fromElement)&&(on($)||$[Hu]))break e;(N||j)&&($=R.window===R?R:(j=R.ownerDocument)?j.defaultView||j.parentWindow:window,N?(j=t.relatedTarget||t.toElement,N=O,j=j?on(j):null,j!==null&&(Ee=f(j),ne=j.tag,j!==Ee||ne!==5&&ne!==27&&ne!==6)&&(j=null)):(N=null,j=O),N!==j&&(ne=wf,w="onMouseLeave",k="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(ne=Uf,w="onPointerLeave",k="onPointerEnter",S="pointer"),Ee=N==null?$:zl(N),z=j==null?$:zl(j),$=new ne(w,S+"leave",N,t,R),$.target=Ee,$.relatedTarget=z,w=null,on(R)===O&&(ne=new ne(k,S+"enter",j,t,R),ne.target=z,ne.relatedTarget=Ee,w=ne),Ee=w,ne=N&&j?te(N,j,tb):null,N!==null&&Mh(U,$,N,ne,!1),j!==null&&Ee!==null&&Mh(U,Ee,j,ne,!0)))}e:{if(N=O?zl(O):window,j=N.nodeName&&N.nodeName.toLowerCase(),j==="select"||j==="input"&&N.type==="file")var ue=Zf;else if(Yf(N))if(Xf)ue=i3;else{ue=l3;var ze=n3}else j=N.nodeName,!j||j.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?O&&B(O.elementType)&&(ue=Zf):ue=a3;if(ue&&(ue=ue(e,O))){Vf(U,ue,t,R);break e}ze&&ze(e,N,O)}switch(ze=O?zl(O):window,e){case"focusin":(Yf(ze)||ze.contentEditable==="true")&&(xa=ze,js=O,Ci=null);break;case"focusout":Ci=js=xa=null;break;case"mousedown":Ms=!0;break;case"contextmenu":case"mouseup":case"dragend":Ms=!1,ed(U,t,R);break;case"selectionchange":if(r3)break;case"keydown":case"keyup":ed(U,t,R)}var oe;if(Ds)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else ya?qf(e,t)&&(be="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(be="onCompositionStart");be&&(Ff&&t.locale!=="ko"&&(ya||be!=="onCompositionStart"?be==="onCompositionEnd"&&ya&&(oe=Mf()):(Vn=R,Es="value"in Vn?Vn.value:Vn.textContent,ya=!0)),ze=Fr(O,be),0<ze.length&&(be=new Lf(be,e,null,t,R),U.push({event:be,listeners:ze}),oe?be.data=oe:(oe=Gf(t),oe!==null&&(be.data=oe)))),(oe=Wp?Pp(e,t):e3(e,t))&&(be=Fr(O,"onBeforeInput"),0<be.length&&(ze=new Lf("onBeforeInput","beforeinput",null,t,R),U.push({event:ze,listeners:be}),ze.data=oe)),W3(U,e,O,t,R)}zh(U,u)})}function Ji(e,u,t){return{instance:e,listener:u,currentTarget:t}}function Fr(e,u){for(var t=u+"Capture",l=[];e!==null;){var i=e,c=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||c===null||(i=yi(e,t),i!=null&&l.unshift(Ji(e,i,c)),i=yi(e,u),i!=null&&l.push(Ji(e,i,c))),e.tag===3)return l;e=e.return}return[]}function tb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Mh(e,u,t,l,i){for(var c=u._reactName,d=[];t!==null&&t!==l;){var g=t,E=g.alternate,O=g.stateNode;if(g=g.tag,E!==null&&E===l)break;g!==5&&g!==26&&g!==27||O===null||(E=O,i?(O=yi(t,c),O!=null&&d.unshift(Ji(t,O,E))):i||(O=yi(t,c),O!=null&&d.push(Ji(t,O,E)))),t=t.return}d.length!==0&&e.push({event:u,listeners:d})}var nb=/\r\n?/g,lb=/\u0000|\uFFFD/g;function Rh(e){return(typeof e=="string"?e:""+e).replace(nb,`
|
|
9
|
-
`).replace(lb,"")}function wh(e,u){return u=Rh(u),Rh(e)===u}function Ve(e,u,t,l,i,c){switch(t){case"children":if(typeof l=="string")u==="body"||u==="textarea"&&l===""||q(e,l);else if(typeof l=="number"||typeof l=="bigint")u!=="body"&&q(e,""+l);else return;break;case"className":ma(e,"class",l);break;case"tabIndex":ma(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ma(e,t,l);break;case"style":H(e,l,c);return;case"data":if(u!=="object"){ma(e,"data",l);break}case"src":case"href":if(l===""&&(u!=="a"||t!=="href")){e.removeAttribute(t);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=ve(l),e.setAttribute(t,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(t==="formAction"?(u!=="input"&&Ve(e,u,"name",i.name,i,null),Ve(e,u,"formEncType",i.formEncType,i,null),Ve(e,u,"formMethod",i.formMethod,i,null),Ve(e,u,"formTarget",i.formTarget,i,null)):(Ve(e,u,"encType",i.encType,i,null),Ve(e,u,"method",i.method,i,null),Ve(e,u,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=ve(l),e.setAttribute(t,l);break;case"onClick":l!=null&&(e.onclick=He);return;case"onScroll":l!=null&&Ne("scroll",e);return;case"onScrollEnd":l!=null&&Ne("scrollend",e);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(t=l.__html,t!=null){if(i.children!=null)throw Error(r(60));c?.__html!==t&&(e.innerHTML=t)}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}t=ve(l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":l===!0?e.setAttribute(t,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(t,l):e.removeAttribute(t);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(t):e.setAttribute(t,l);break;case"popover":Ne("beforetoggle",e),Ne("toggle",e),Fu(e,"popover",l);break;case"xlinkActuate":Ku(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ku(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ku(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ku(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ku(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ku(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ku(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ku(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ku(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fu(e,"is",l);break;case"innerText":case"textContent":return;default:if(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")t=re.get(t)||t,Fu(e,t,l);else return}Ae=!0}function b0(e,u,t,l,i,c){switch(t){case"style":H(e,l,c);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(t=l.__html,t!=null){if(i.children!=null)throw Error(r(60));c?.__html!==t&&(e.innerHTML=t)}}break;case"children":if(typeof l=="string")q(e,l);else if(typeof l=="number"||typeof l=="bigint")q(e,""+l);else return;break;case"onScroll":l!=null&&Ne("scroll",e);return;case"onScrollEnd":l!=null&&Ne("scrollend",e);return;case"onClick":l!=null&&(e.onclick=He);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!zc.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(i=t.endsWith("Capture"),c=t.slice(2,i?t.length-7:void 0),u=e[Uu]||null,u=u!=null?u[t]:null,typeof u=="function"&&e.removeEventListener(c,u,i),typeof l=="function")){typeof u!="function"&&u!==null&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(c,l,i);break e}Ae=!0,t in e?e[t]=l:l===!0?e.setAttribute(t,""):Fu(e,t,l)}return}Ae=!0}function Ou(e,u,t){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ne("error",e),Ne("load",e);var l=!1,i=!1,c;for(c in t)if(t.hasOwnProperty(c)){var d=t[c];if(d!=null)switch(c){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Ve(e,u,c,d,t,null)}}i&&Ve(e,u,"srcSet",t.srcSet,t,null),l&&Ve(e,u,"src",t.src,t,null);return;case"input":Ne("invalid",e);var g=c=d=i=null,E=null,O=null;for(l in t)if(t.hasOwnProperty(l)){var R=t[l];if(R!=null)switch(l){case"name":i=R;break;case"type":d=R;break;case"checked":E=R;break;case"defaultChecked":O=R;break;case"value":c=R;break;case"defaultValue":g=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(137,u));break;default:Ve(e,u,l,R,t,null)}}jc(e,c,g,E,O,d,i,!1);return;case"select":Ne("invalid",e),l=d=c=null;for(i in t)if(t.hasOwnProperty(i)&&(g=t[i],g!=null))switch(i){case"value":c=g;break;case"defaultValue":d=g;break;case"multiple":l=g;default:Ve(e,u,i,g,t,null)}u=c,t=d,e.multiple=!!l,u!=null?Vt(e,!!l,u,!1):t!=null&&Vt(e,!!l,t,!0);return;case"textarea":Ne("invalid",e),c=i=l=null;for(d in t)if(t.hasOwnProperty(d)&&(g=t[d],g!=null))switch(d){case"value":l=g;break;case"defaultValue":i=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:Ve(e,u,d,g,t,null)}ba(e,l,i,c);return;case"option":for(E in t)t.hasOwnProperty(E)&&(l=t[E],l!=null)&&(E==="selected"?e.selected=l&&typeof l!="function"&&typeof l!="symbol":Ve(e,u,E,l,t,null));return;case"dialog":Ne("beforetoggle",e),Ne("toggle",e),Ne("cancel",e),Ne("close",e);break;case"iframe":case"object":Ne("load",e);break;case"video":case"audio":for(l=0;l<$i.length;l++)Ne($i[l],e);break;case"image":Ne("error",e),Ne("load",e);break;case"details":Ne("toggle",e);break;case"embed":case"source":case"link":Ne("error",e),Ne("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(O in t)if(t.hasOwnProperty(O)&&(l=t[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Ve(e,u,O,l,t,null)}return;default:if(B(u)){for(R in t)t.hasOwnProperty(R)&&(l=t[R],l!==void 0&&b0(e,u,R,l,t,void 0));return}}for(g in t)t.hasOwnProperty(g)&&(l=t[g],l!=null&&Ve(e,u,g,l,t,null))}var ab={};function ib(e,u,t,l){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,c=null,d=null,g=null,E=null,O=null,R=null;for(j in t){var U=t[j];if(t.hasOwnProperty(j)&&U!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":E=U;default:l.hasOwnProperty(j)||Ve(e,u,j,null,l,U)}}for(var N in l){var j=l[N];if(U=t[N],l.hasOwnProperty(N)&&(j!=null||U!=null))switch(N){case"type":j!==U&&(Ae=!0),c=j;break;case"name":j!==U&&(Ae=!0),i=j;break;case"checked":j!==U&&(Ae=!0),O=j;break;case"defaultChecked":j!==U&&(Ae=!0),R=j;break;case"value":j!==U&&(Ae=!0),d=j;break;case"defaultValue":j!==U&&(Ae=!0),g=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,u));break;default:j!==U&&Ve(e,u,N,j,l,U)}}gi(e,d,g,E,O,R,c,i);return;case"select":j=d=g=N=null;for(c in t)if(E=t[c],t.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":j=E;default:l.hasOwnProperty(c)||Ve(e,u,c,null,l,E)}for(i in l)if(c=l[i],E=t[i],l.hasOwnProperty(i)&&(c!=null||E!=null))switch(i){case"value":c!==E&&(Ae=!0),N=c;break;case"defaultValue":c!==E&&(Ae=!0),g=c;break;case"multiple":c!==E&&(Ae=!0),d=c;default:c!==E&&Ve(e,u,i,c,l,E)}u=g,t=d,l=j,N!=null?Vt(e,!!t,N,!1):!!l!=!!t&&(u!=null?Vt(e,!!t,u,!0):Vt(e,!!t,t?[]:"",!1));return;case"textarea":j=N=null;for(g in t)if(i=t[g],t.hasOwnProperty(g)&&i!=null&&!l.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ve(e,u,g,null,l,i)}for(d in l)if(i=l[d],c=t[d],l.hasOwnProperty(d)&&(i!=null||c!=null))switch(d){case"value":i!==c&&(Ae=!0),N=i;break;case"defaultValue":i!==c&&(Ae=!0),j=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==c&&Ve(e,u,d,i,l,c)}Yn(e,N,j);return;case"option":for(var $ in t)N=t[$],t.hasOwnProperty($)&&N!=null&&!l.hasOwnProperty($)&&($==="selected"?e.selected=!1:Ve(e,u,$,null,l,N));for(E in l)N=l[E],j=t[E],l.hasOwnProperty(E)&&N!==j&&(N!=null||j!=null)&&(E==="selected"?(N!==j&&(Ae=!0),e.selected=N&&typeof N!="function"&&typeof N!="symbol"):Ve(e,u,E,N,l,j));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 ne in t)N=t[ne],t.hasOwnProperty(ne)&&N!=null&&!l.hasOwnProperty(ne)&&Ve(e,u,ne,null,l,N);for(O in l)if(N=l[O],j=t[O],l.hasOwnProperty(O)&&N!==j&&(N!=null||j!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,u));break;default:Ve(e,u,O,N,l,j)}return;default:if(B(u)){for(var Ee in t)N=t[Ee],t.hasOwnProperty(Ee)&&N!==void 0&&!l.hasOwnProperty(Ee)&&b0(e,u,Ee,void 0,l,N);for(R in l)N=l[R],j=t[R],!l.hasOwnProperty(R)||N===j||N===void 0&&j===void 0||b0(e,u,R,N,l,j);return}}for(var k in t)N=t[k],t.hasOwnProperty(k)&&N!=null&&!l.hasOwnProperty(k)&&Ve(e,u,k,null,l,N);for(U in l)N=l[U],j=t[U],!l.hasOwnProperty(U)||N===j||N==null&&j==null||Ve(e,u,U,N,l,j)}function Lh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function cb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,u=0,t=performance.getEntriesByType("resource"),l=0;l<t.length;l++){var i=t[l],c=i.transferSize,d=i.initiatorType,g=i.duration;if(c&&g&&Lh(d)){for(d=0,g=i.responseEnd,l+=1;l<t.length;l++){var E=t[l],O=E.startTime;if(O>g)break;var R=E.transferSize,U=E.initiatorType;R&&Lh(U)&&(E=E.responseEnd,d+=R*(E<g?1:(g-O)/(E-O)))}if(--l,u+=8*(c+d)/(i.duration/1e3),e++,10<e)break}}if(0<e)return u/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var g0=null,y0=null;function Wi(e){return e.nodeType===9?e:e.ownerDocument}function Uh(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 Fh(e,u){if(e===0)switch(u){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&u==="foreignObject"?0:e}function Bh(e,u,t,l){return t=Wi(t).createElement(e),t[mu]=l,t[Uu]=u,Ou(t,e,u),ru(t),t}function x0(e,u){return e==="textarea"||e==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.children=="bigint"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var v0=null;function rb(){var e=window.event;return e&&e.type==="popstate"?e===v0?!1:(v0=e,!0):(v0=null,!1)}var _0=typeof setTimeout=="function"?setTimeout:void 0,sb=typeof clearTimeout=="function"?clearTimeout:void 0,Hh=typeof Promise=="function"?Promise:void 0,qh=typeof requestAnimationFrame=="function"?requestAnimationFrame:_0,ob=typeof queueMicrotask=="function"?queueMicrotask:typeof Hh<"u"?function(e){return Hh.resolve(null).then(e).catch(fb)}:_0;function fb(e){setTimeout(function(){throw e})}function ol(e){return e==="head"}function Gh(e,u){var t=u,l=0;do{var i=t.nextSibling;if(e.removeChild(t),i&&i.nodeType===8)if(t=i.data,t==="/$"||t==="/&"){if(l===0){e.removeChild(i),Wa(u);return}l--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")l++;else if(t==="html")k0(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,k0(t);for(var c=t.firstChild;c;){var d=c.nextSibling,g=c.nodeName;c[sn]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||t.removeChild(c),c=d}}else t==="body"&&k0(e.ownerDocument.body);t=i}while(t);Wa(u)}function Yh(e,u){var t=e;e=0;do{var l=t.nextSibling;if(t.nodeType===1?u?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(u?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(e===0)break;e--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||e++;t=l}while(t)}function Vh(e,u,t){if(u=CSS.escape(u)!==u?"r-"+btoa(u).replace(/=/g,""):u,e.style.viewTransitionName=u,t!=null&&(e.style.viewTransitionClass=t),t=getComputedStyle(e),t.display==="inline"){if(u=e.getClientRects(),u.length===1)var l=1;else for(var i=l=0;i<u.length;i++){var c=u[i];0<c.width&&0<c.height&&l++}l===1&&(e=e.style,e.display=u.length===1?"inline-block":"block",e.marginTop="-"+t.paddingTop,e.marginBottom="-"+t.paddingBottom)}}function Zh(e,u){e=e.style,u=u.style;var t=u!=null?u.hasOwnProperty("viewTransitionName")?u.viewTransitionName:u.hasOwnProperty("view-transition-name")?u["view-transition-name"]:null:null;e.viewTransitionName=t==null||typeof t=="boolean"?"":(""+t).trim(),t=u!=null?u.hasOwnProperty("viewTransitionClass")?u.viewTransitionClass:u.hasOwnProperty("view-transition-class")?u["view-transition-class"]:null:null,e.viewTransitionClass=t==null||typeof t=="boolean"?"":(""+t).trim(),e.display==="inline-block"&&(u==null?e.display=e.margin="":(t=u.display,e.display=t==null||typeof t=="boolean"?"":t,t=u.margin,t!=null?e.margin=t:(t=u.hasOwnProperty("marginTop")?u.marginTop:u["margin-top"],e.marginTop=t==null||typeof t=="boolean"?"":t,u=u.hasOwnProperty("marginBottom")?u.marginBottom:u["margin-bottom"],e.marginBottom=u==null||typeof u=="boolean"?"":u)))}function db(e,u,t){return t=t.ownerDocument.defaultView,{rect:e,abs:u.position==="absolute"||u.position==="fixed",clip:u.clipPath!=="none"||u.overflow!=="visible"||u.filter!=="none"||u.mask!=="none"||u.mask!=="none"||u.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=t.innerHeight&&e.left<=t.innerWidth}}function E0(e){var u=e.getBoundingClientRect(),t=getComputedStyle(e);return db(u,t,e)}function hb(e){return e.documentElement.clientHeight}function mb(e){this.addEventListener("load",e),this.addEventListener("error",e)}function pb(e,u,t,l,i,c,d,g,E){var O=u.nodeType===9?u:u.ownerDocument;try{var R=O.startViewTransition({update:function(){var N=O.defaultView,j=N.navigation&&N.navigation.transition,$=O.fonts.status;l();var ne=[];if($==="loaded"&&(hb(O),O.fonts.status==="loading"&&ne.push(O.fonts.ready)),$=ne.length,e!==null)for(var Ee=e.suspenseyImages,k=0,S=0;S<Ee.length;S++){var z=Ee[S];if(!z.complete){var w=z.getBoundingClientRect();if(0<w.bottom&&0<w.right&&w.top<N.innerHeight&&w.left<N.innerWidth){if(k+=d2(z),k>qr){ne.length=$;break}z=new Promise(mb.bind(z)),ne.push(z)}}}if(0<ne.length)return N=Promise.race([Promise.all(ne),new Promise(function(ue){return setTimeout(ue,500)})]).then(i,i),(j?Promise.allSettled([j.finished,N]):N).then(c,c);if(i(),j)return j.finished.then(c,c);c()},types:t});O.__reactViewTransition=R;var U=[];return R.ready.then(function(){for(var N=O.documentElement.getAnimations({subtree:!0}),j=0;j<N.length;j++){var $=N[j],ne=$.effect,Ee=ne.pseudoElement;if(Ee!=null&&Ee.startsWith("::view-transition")){U.push($),$=ne.getKeyframes();for(var k=Ee=void 0,S=!0,z=0;z<$.length;z++){var w=$[z],ue=w.width;if(Ee===void 0)Ee=ue;else if(Ee!==ue){S=!1;break}if(ue=w.height,k===void 0)k=ue;else if(k!==ue){S=!1;break}delete w.width,delete w.height,w.transform==="none"&&delete w.transform}S&&Ee!==void 0&&k!==void 0&&(ne.setKeyframes($),S=getComputedStyle(ne.target,ne.pseudoElement),S.width!==Ee||S.height!==k)&&(S=$[0],S.width=Ee,S.height=k,S=$[$.length-1],S.width=Ee,S.height=k,ne.setKeyframes($))}}d()},function(N){O.__reactViewTransition===R&&(O.__reactViewTransition=null);try{typeof N=="object"&&N!==null&&N.name==="InvalidStateError"&&(N.message==="View transition was skipped because document visibility state is hidden."||N.message==="Skipping view transition because document visibility state has become hidden."||N.message==="Skipping view transition because viewport size changed."||N.message==="Transition was aborted because of invalid state")&&(N=null),N!==null&&E(N)}finally{l(),i(),d()}}),R.finished.finally(function(){for(var N=0;N<U.length;N++)U[N].cancel();O.__reactViewTransition===R&&(O.__reactViewTransition=null),g()}),R}catch{return l(),i(),d(),null}}function Wl(e,u){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+u+")"}Wl.prototype.animate=function(e,u){return u=typeof u=="number"?{duration:u}:P({},u),u.pseudoElement=this._selector,this._scope.animate(e,u)},Wl.prototype.getAnimations=function(){for(var e=this._scope,u=this._selector,t=e.getAnimations({subtree:!0}),l=[],i=0;i<t.length;i++){var c=t[i].effect;c!==null&&c.target===e&&c.pseudoElement===u&&l.push(t[i])}return l},Wl.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Xh(e){return{name:e,group:new Wl("group",e),imagePair:new Wl("image-pair",e),old:new Wl("old",e),new:new Wl("new",e)}}function dt(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}dt.prototype.addEventListener=function(e,u,t){var l=null,i=null;if(!(t!=null&&typeof t!="boolean"&&(l=t.signal||null,l!==null&&l.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(Ih(c,e,u,t)===-1){var d=this,g=u;t!=null&&typeof t!="boolean"&&t.once===!0&&(g=function(E){d.removeEventListener(e,u,t),typeof u=="function"?u.call(this,E):u.handleEvent(E)}),l!==null&&(i=d.removeEventListener.bind(d,e,u,t),l.addEventListener("abort",i,{once:!0}),i=l.removeEventListener.bind(l,"abort",i)),l=Xa(t),c.push({type:e,listener:u,optionsOrUseCapture:t,attachedListener:g,cleanup:i}),y(this._fragmentFiber.child,!1,bb,e,g,l)}this._eventListeners=c}};function bb(e,u,t,l){return V(e).addEventListener(u,t,l),!1}dt.prototype.removeEventListener=function(e,u,t){var l=this._eventListeners;if(l!==null&&(u=Ih(l,e,u,t),u!==-1)){var i=l[u];t=i.attachedListener;var c=i.cleanup;i=Xa(i.optionsOrUseCapture),y(this._fragmentFiber.child,!1,gb,e,t,i),l.splice(u,1),c!==null&&c()}};function gb(e,u,t,l){return V(e).removeEventListener(u,t,l),!1}function Xa(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Qh(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Ih(e,u,t,l){if(e.length===0)return-1;l=Qh(l);for(var i=0;i<e.length;i++){var c=e[i];if(c.type===u&&c.listener===t&&Qh(c.optionsOrUseCapture)===l)return i}return-1}dt.prototype.dispatchEvent=function(e){var u=D(this._fragmentFiber);if(u===null)return!0;u=V(u);var t=this._eventListeners;if(t!==null&&0<t.length||!e.bubbles){var l=u.nodeType===9?u.createComment(""):document.createTextNode("");if(t)for(var i=0;i<t.length;i++){var c=t[i];l.addEventListener(c.type,c.attachedListener,Xa(c.optionsOrUseCapture))}if(u.appendChild(l),e=l.dispatchEvent(e),t)for(i=0;i<t.length;i++)c=t[i],l.removeEventListener(c.type,c.attachedListener,Xa(c.optionsOrUseCapture));return u.removeChild(l),e}return u.dispatchEvent(e)},dt.prototype.focus=function(e){y(this._fragmentFiber.child,!0,Kh,e,void 0,void 0)};function Kh(e,u){return e.tag===6?!1:(e=V(e),kb(e,u))}dt.prototype.focusLast=function(e){var u=[];y(this._fragmentFiber.child,!0,S0,u,void 0,void 0);for(var t=u.length-1;0<=t&&!Kh(u[t],e);t--);};function S0(e,u){return u.push(e),!1}dt.prototype.blur=function(){var e=D(this._fragmentFiber);e!==null&&(e=V(e),e=Wi(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,yb,e,void 0,void 0))};function yb(e,u){return e.tag===6?!1:(e=V(e),e===u||e.contains(u)?(u.blur(),!0):!1)}dt.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,xb,e,void 0,void 0)};function xb(e,u){return e.tag===6||(e=V(e),u.observe(e)),!1}dt.prototype.unobserveUsing=function(e){var u=this._observers;if(u!==null&&u.has(e)){u.delete(e),y(this._fragmentFiber.child,!1,vb,e,void 0,void 0);for(var t=u=0;t<Ut.length;t++){var l=Ut[t];l.fragmentInstance===this&&l.observer===e?e.unobserve(l.instance):Ut[u++]=l}Ut.length=u}};function vb(e,u){return e.tag===6||(e=V(e),u.unobserve(e)),!1}var Ut=[],A0=!1;function _b(e,u,t){Ut.push({fragmentInstance:e,observer:u,instance:t}),A0||(A0=!0,Ob(function(){A0=!1;var l=Ut;Ut=[];for(var i=0;i<l.length;i++){var c=l[i];c.observer.unobserve(c.instance)}}))}dt.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,Eb,e,void 0,void 0),e};function Eb(e,u){if(e.tag===6){e=e.stateNode;var t=e.ownerDocument.createRange();t.selectNodeContents(e),u.push.apply(u,t.getClientRects())}else e=V(e),u.push.apply(u,e.getClientRects());return!1}dt.prototype.getRootNode=function(e){var u=D(this._fragmentFiber);return u===null?this:V(u).getRootNode(e)},dt.prototype.compareDocumentPosition=function(e){var u=D(this._fragmentFiber);if(u===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var t=[];y(this._fragmentFiber.child,!1,S0,t,void 0,void 0);var l=V(u);if(t.length===0){if(t=l,M(this._fragmentFiber)){e:{for(u=this._fragmentFiber.return;u!==null;){if(u.tag===4){u=u.stateNode.containerInfo;break e}if(u.tag===3||u.tag===5||u.tag===27)break;u=u.return}u=null}u!=null&&(t=u)}u=this._fragmentFiber;var i=l=t.compareDocumentPosition(e);return t===e?i=Node.DOCUMENT_POSITION_CONTAINS:l&Node.DOCUMENT_POSITION_CONTAINED_BY&&(t=A(u)[1],t===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=V(t).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}u=V(t[0]),i=V(t[t.length-1]);var c=M(this._fragmentFiber)?u.parentElement:l;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;l=c.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var d=u.compareDocumentPosition(e),g=i.compareDocumentPosition(e),E=d&Node.DOCUMENT_POSITION_CONTAINED_BY||g&Node.DOCUMENT_POSITION_CONTAINED_BY;return g=l&&c&&d&Node.DOCUMENT_POSITION_FOLLOWING&&g&Node.DOCUMENT_POSITION_PRECEDING,u=l&&u===e||c&&i===e||E||g?Node.DOCUMENT_POSITION_CONTAINED_BY:!l&&u===e||!c&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:d,u&Node.DOCUMENT_POSITION_DISCONNECTED||u&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Sb(u,this._fragmentFiber,t[0],t[t.length-1],e)?u:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Sb(e,u,t,l,i){var c=on(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(t=!!c)e:{for(;c!==null;){if(c.tag===7&&(c===u||c.alternate===u)){t=!0;break e}c=c.return}t=!1}return t}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=i.ownerDocument,i===c||i===c.documentElement||i===c.body;e:{for(c=u,u=D(u);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==u&&c.alternate!==u)){c=!0;break e}c=c.return}c=!1}return c}return e&Node.DOCUMENT_POSITION_PRECEDING?((u=!!c)&&!(u=c===t)&&(u=te(t,c,Q),u===null?u=!1:(y(u,!0,le,c,t),c=J,J=null,u=c!==null)),u):e&Node.DOCUMENT_POSITION_FOLLOWING?((u=!!c)&&!(u=c===l)&&(u=te(l,c,Q),u===null?u=!1:(y(u,!0,G,c,l),c=J,fe=J=null,u=c!==null)),u):!1}function $h(e,u){var t=e.ownerDocument.createRange();t.selectNodeContents(e),e=t.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,u?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}dt.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(r(566));var u=[];y(this._fragmentFiber.child,!1,S0,u,void 0,void 0);var t=e!==!1;if(u.length===0){var l=A(this._fragmentFiber);if(l=t?l[1]||l[0]||D(this._fragmentFiber):l[0]||l[1],l===null)return;if(l.tag===6){e=V(l),$h(e,t);return}if(l=V(l),l.nodeType!==9){if(l.nodeType===11){t="host"in l?l.host:null,t!==null&&t.scrollIntoView(e);return}l.scrollIntoView(e)}}for(l=t?u.length-1:0;l!==(t?-1:u.length);){var i=u[l];i.tag===6?(i=V(i),$h(i,t)):V(i).scrollIntoView(e),l+=t?-1:1}};function Ab(e,u){return e=V(e),Jh(e,u),!1}function Jh(e,u){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(u)}function Wh(e,u){var t=u._eventListeners;if(t!==null)for(var l=0;l<t.length;l++){var i=t[l];e.addEventListener(i.type,i.attachedListener,Xa(i.optionsOrUseCapture))}e.nodeType!==3&&(t=u._observers,t!==null&&t.forEach(function(c){for(var d=0,g=0;g<Ut.length;g++){var E=Ut[g];(E.fragmentInstance!==u||E.observer!==c||E.instance!==e)&&(Ut[d++]=E)}Ut.length=d,c.observe(e)}),Jh(e,u))}function Tb(e,u){var t=u._eventListeners;if(t!==null)for(var l=0;l<t.length;l++){var i=t[l];e.removeEventListener(i.type,i.attachedListener,Xa(i.optionsOrUseCapture))}e.nodeType!==3&&(t=u._observers,t!==null&&t.forEach(function(c){typeof c.rootMargin=="string"?_b(u,c,e):c.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(u))}function T0(e){var u=e.firstChild;for(u&&u.nodeType===10&&(u=u.nextSibling);u;){var t=u;switch(u=u.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":T0(t),Bn(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function Cb(e,u,t,l){for(;e.nodeType===1;){var i=t;if(e.nodeName.toLowerCase()!==u.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[sn])switch(u){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(u==="input"&&e.type==="hidden"){var c=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=At(e.nextSibling),e===null)break}return null}function Db(e,u,t){if(u==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=At(e.nextSibling),e===null))return null;return e}function Ph(e,u){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!u||(e=At(e.nextSibling),e===null))return null;return e}function C0(e){return e.data==="$?"||e.data==="$~"}function D0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Nb(e,u){var t=e.ownerDocument;if(e.data==="$~")e._reactRetry=u;else if(e.data!=="$?"||t.readyState!=="loading")u();else{var l=function(){u(),t.removeEventListener("DOMContentLoaded",l)};t.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function At(e){for(;e!=null;e=e.nextSibling){var u=e.nodeType;if(u===1||u===3)break;if(u===8){if(u=e.data,u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"||u==="F!"||u==="F")break;if(u==="/$"||u==="/&")return null}}return e}var N0=null;function e2(e){e=e.nextSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(u===0)return At(e.nextSibling);u--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||u++}e=e.nextSibling}return null}function u2(e){e=e.previousSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(u===0)return e;u--}else t!=="/$"&&t!=="/&"||u++}e=e.previousSibling}return null}function kb(e,u){function t(){l=!0}if(e.ownerDocument.activeElement===e)return!0;var l=!1;try{e.ownerDocument.addEventListener("focus",t,!0),(e.focus||HTMLElement.prototype.focus).call(e,u)}finally{e.ownerDocument.removeEventListener("focus",t,!0)}return l}function Ob(e){qh(function(){qh(function(u){return e(u)})})}function t2(e,u,t){switch(u=Wi(t),e){case"html":if(e=u.documentElement,!e)throw Error(r(452));return e;case"head":if(e=u.head,!e)throw Error(r(453));return e;case"body":if(e=u.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function n2(e,u,t){for(var l in t){var i=t[l];t.hasOwnProperty(l)&&i!=null&&Ve(e,u,l,null,ab,i)}t.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===He&&(e.onclick=null),Bn(e)}function k0(e){for(var u=e.attributes;u.length;)e.removeAttributeNode(u[0]);Bn(e)}var Tt=new Map,l2=new Set;function Pi(e){if(typeof e.getRootNode=="function"){var u=e.getRootNode();if(u.nodeType===9||u.nodeType===11)return u}return e.nodeType===9?e:e.ownerDocument}var An=me.d;me.d={f:zb,r:jb,D:Mb,C:Rb,L:wb,m:Lb,X:Fb,S:Ub,M:Bb};function zb(){var e=An.f(),u=jr();return e||u}function jb(e){var u=fn(e);u!==null&&u.tag===5&&u.type==="form"?i1(u):An.r(e)}var Qa=typeof document>"u"?null:document;function a2(e,u,t){var l=Qa;if(l&&typeof u=="string"&&u){var i=Gu(u);i='link[rel="'+e+'"][href="'+i+'"]',typeof t=="string"&&(i+='[crossorigin="'+t+'"]'),l2.has(i)||(l2.add(i),e={rel:e,crossOrigin:t,href:u},l.querySelector(i)===null&&(u=l.createElement("link"),Ou(u,"link",e),ru(u),l.head.appendChild(u)))}}function Mb(e){An.D(e),a2("dns-prefetch",e,null)}function Rb(e,u){An.C(e,u),a2("preconnect",e,u)}function wb(e,u,t){An.L(e,u,t);var l=Qa;if(l&&e&&u){var i='link[rel="preload"][as="'+Gu(u)+'"]';u==="image"&&t&&t.imageSrcSet?(i+='[imagesrcset="'+Gu(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(i+='[imagesizes="'+Gu(t.imageSizes)+'"]')):i+='[href="'+Gu(e)+'"]';var c=i;switch(u){case"style":c=Ia(e);break;case"script":c=Ka(e)}if(!(Tt.has(c)||(e=P({rel:"preload",href:u==="image"&&t&&t.imageSrcSet?void 0:e,as:u},t),Tt.set(c,e),l.querySelector(i)!==null||u==="style"&&l.querySelector(ec(c))||u==="script"&&l.querySelector(uc(c))))){var d=l.createElement("link");Ou(d,"link",e),u==="style"&&(d[Fn]=!0,d.onload=d.onerror=function(){Oc(d)}),ru(d),l.head.appendChild(d)}}}function Lb(e,u){An.m(e,u);var t=Qa;if(t&&e){var l=u&&typeof u.as=="string"?u.as:"script",i='link[rel="modulepreload"][as="'+Gu(l)+'"][href="'+Gu(e)+'"]',c=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ka(e)}if(!Tt.has(c)&&(e=P({rel:"modulepreload",href:e},u),Tt.set(c,e),t.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(uc(c)))return}l=t.createElement("link"),Ou(l,"link",e),ru(l),t.head.appendChild(l)}}}function Ub(e,u,t){An.S(e,u,t);var l=Qa;if(l&&e){var i=Hn(l).hoistableStyles,c=Ia(e);u=u||"default";var d=i.get(c);if(!d){var g={loading:0,preload:null};if(d=l.querySelector(ec(c)))g.loading=5;else{e=P({rel:"stylesheet",href:e,"data-precedence":u},t),(t=Tt.get(c))&&O0(e,t);var E=d=l.createElement("link");ru(E),Ou(E,"link",e),E._p=new Promise(function(O,R){E.onload=O,E.onerror=R}),E.addEventListener("load",function(){g.loading|=1}),E.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Br(d,u,l)}d={type:"stylesheet",instance:d,count:1,state:g},i.set(c,d)}}}function Fb(e,u){An.X(e,u);var t=Qa;if(t&&e){var l=Hn(t).hoistableScripts,i=Ka(e),c=l.get(i);c||(c=t.querySelector(uc(i)),c||(e=P({src:e,async:!0},u),(u=Tt.get(i))&&z0(e,u),c=t.createElement("script"),ru(c),Ou(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function Bb(e,u){An.M(e,u);var t=Qa;if(t&&e){var l=Hn(t).hoistableScripts,i=Ka(e),c=l.get(i);c||(c=t.querySelector(uc(i)),c||(e=P({src:e,async:!0,type:"module"},u),(u=Tt.get(i))&&z0(e,u),c=t.createElement("script"),ru(c),Ou(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function i2(e,u,t,l){var i=(i=Iu.current)?Pi(i):null;if(!i)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(t=Ia(t.href),u=Hn(i).hoistableStyles,l=u.get(t),l||(l={type:"style",instance:null,count:0,state:null},u.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){e=Ia(t.href);var c=Hn(i).hoistableStyles,d=c.get(e);if(d||(i=i.ownerDocument||i,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=i.querySelector(ec(e)))?c._p||(d.instance=c,d.state.loading=5):(c=Tt.get(e),c||(c={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Tt.set(e,c)),Hb(i,e,c,d.state))),u&&l===null)throw Error(r(528,""));return d}if(u&&l!==null)throw Error(r(529,""));return null;case"script":return u=t.async,t=t.src,typeof t=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(t=Ka(t),u=Hn(i).hoistableScripts,l=u.get(t),l||(l={type:"script",instance:null,count:0,state:null},u.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ia(e){return'href="'+Gu(e)+'"'}function ec(e){return'link[rel="stylesheet"]['+e+"]"}function c2(e){return P({},e,{"data-precedence":e.precedence,precedence:null})}function Hb(e,u,t,l){if(u=e.querySelector('link[rel="preload"][as="style"]['+u+"]")){if(u[Fn]!==!0){l.loading=1;return}}else u=e.createElement("link"),u[Fn]=!0,u.onload=u.onerror=Oc.bind(null,u),Ou(u,"link",t),ru(u),e.head.appendChild(u);l.preload=u,u.addEventListener("load",function(){return l.loading|=1}),u.addEventListener("error",function(){return l.loading|=2})}function Ka(e){return'[src="'+Gu(e)+'"]'}function uc(e){return"script[async]"+e}function r2(e,u,t){if(u.count++,u.instance===null)switch(u.type){case"style":var l=e.querySelector('style[data-href~="'+Gu(t.href)+'"]');if(l)return u.instance=l,ru(l),l;var i=P({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),ru(l),Ou(l,"style",i),Br(l,t.precedence,e),u.instance=l;case"stylesheet":i=Ia(t.href);var c=e.querySelector(ec(i));if(c)return u.state.loading|=4,u.instance=c,ru(c),c;l=c2(t),(i=Tt.get(i))&&O0(l,i),c=(e.ownerDocument||e).createElement("link"),ru(c);var d=c;return d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),Ou(c,"link",l),u.state.loading|=4,Br(c,t.precedence,e),u.instance=c;case"script":return c=Ka(t.src),(i=e.querySelector(uc(c)))?(u.instance=i,ru(i),i):(l=t,(i=Tt.get(c))&&(l=P({},t),z0(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),ru(i),Ou(i,"link",l),e.head.appendChild(i),u.instance=i);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&(u.state.loading&4)===0&&(l=u.instance,u.state.loading|=4,Br(l,t.precedence,e));return u.instance}function Br(e,u,t){for(var l=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,c=i,d=0;d<l.length;d++){var g=l[d];if(g.dataset.precedence===u)c=g;else if(c!==i)break}c?c.parentNode.insertBefore(e,c.nextSibling):(u=t.nodeType===9?t.head:t,u.insertBefore(e,u.firstChild))}function O0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.title==null&&(e.title=u.title)}function z0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.integrity==null&&(e.integrity=u.integrity)}var Hr=null;function s2(e,u,t){if(Hr===null){var l=new Map,i=Hr=new Map;i.set(t,l)}else i=Hr,l=i.get(t),l||(l=new Map,i.set(t,l));if(l.has(e))return l;for(l.set(e,null),t=t.getElementsByTagName(e),i=0;i<t.length;i++){var c=t[i];if(!(c[sn]||c[mu]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var d=c.getAttribute(u)||"";d=e+d;var g=l.get(d);g?g.push(c):l.set(d,[c])}}return l}function j0(e,u,t){e=e.ownerDocument||e,e.head.insertBefore(t,u==="title"?e.querySelector("head > title"):null)}function qb(e,u,t){if(t===1||u.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;return u.rel==="stylesheet"?(e=u.disabled,typeof u.precedence=="string"&&e==null):!0;case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function o2(e,u){return e==="img"&&u.src!=null&&u.src!==""&&u.onLoad==null&&u.loading!=="lazy"}function f2(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function d2(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function h2(e,u){typeof u.decode=="function"&&(e.imgCount++,u.complete||(e.imgBytes+=d2(u),e.suspenseyImages.push(u)),e=Vb.bind(e),u.decode().then(e,e))}function Gb(e,u,t,l){if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var i=Ia(l.href),c=u.querySelector(ec(i));if(c){u=c._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(e.count++,e=tc.bind(e),u.then(e,e)),t.state.loading|=4,t.instance=c,ru(c);return}c=u.ownerDocument||u,l=c2(l),(i=Tt.get(i))&&O0(l,i),c=c.createElement("link"),ru(c);var d=c;d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),Ou(c,"link",l),t.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,u),(u=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=tc.bind(e),u.addEventListener("load",t),u.addEventListener("error",t))}}var qr=0;function Yb(e,u){return e.stylesheets&&e.count===0&&Yr(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var l=setTimeout(function(){if(e.stylesheets&&Yr(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+u);0<e.imgBytes&&qr===0&&(qr=62500*cb());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yr(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>qr?50:800)+u);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function m2(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Yr(e,e.stylesheets);else if(e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}}}function tc(){this.count--,m2(this)}function Vb(){this.imgCount--,m2(this)}var Gr=null;function Yr(e,u){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gr=new Map,u.forEach(Zb,e),Gr=null,tc.call(e))}function Zb(e,u){if(!(u.state.loading&4)){var t=Gr.get(e);if(t)var l=t.get(null);else{t=new Map,Gr.set(e,t);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<i.length;c++){var d=i[c];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(t.set(d.dataset.precedence,d),l=d)}l&&t.set(null,l)}i=u.instance,d=i.getAttribute("data-precedence"),c=t.get(d)||l,c===l&&t.set(null,i),t.set(d,i),this.count++,l=tc.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),c?c.parentNode.insertBefore(i,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),u.state.loading|=4}}var $a={$$typeof:Me,Provider:null,Consumer:null,_currentValue:Qu,_currentValue2:Qu,_threadCount:0};function Xb(e,u,t,l,i,c,d,g,E){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=ci(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ci(0),this.hiddenUpdates=ci(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=c,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.transitionTypes=null,this.incompleteTransitions=new Map}function p2(e,u,t,l,i,c,d,g,E,O,R,U){return e=new Xb(e,u,t,d,E,O,R,U,g),u=1,c===!0&&(u|=24),c=Ju(3,null,null,u),e.current=c,c.stateNode=e,u=Xs(),u.refCount++,e.pooledCache=u,u.refCount++,c.memoizedState={element:l,isDehydrated:t,cache:u},$s(c),e}function b2(e){return e?(e=Ea,e):Ea}function g2(e,u,t,l,i,c){i=b2(i),l.context===null?l.context=i:l.pendingContext=i,l=Wn(u),l.payload={element:t},c=c===void 0?null:c,c!==null&&(l.callback=c),t=Pn(e,l,u),t!==null&&(ut(t,e,u),Mi(t,e,u))}function y2(e,u){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<u?t:u}}function M0(e,u){y2(e,u),(e=e.alternate)&&y2(e,u)}function x2(e){if(e.tag===13||e.tag===31){var u=wl(e,67108864);u!==null&&ut(u,e,67108864),M0(e,67108864)}}function v2(e){if(e.tag===13||e.tag===31){var u=ft();u=Ol(u);var t=wl(e,u);t!==null&&ut(t,e,u),M0(e,u)}}var Ja=!0;function Qb(e,u,t,l){var i=ee.T;ee.T=null;var c=me.p;try{me.p=2,R0(e,u,t,l)}finally{me.p=c,ee.T=i}}function Ib(e,u,t,l){var i=ee.T;ee.T=null;var c=me.p;try{me.p=8,R0(e,u,t,l)}finally{me.p=c,ee.T=i}}function R0(e,u,t,l){if(Ja){var i=w0(l);if(i===null)p0(e,u,l,Vr,t),E2(e,l);else if($b(i,e,u,t,l))l.stopPropagation();else if(E2(e,l),u&4&&-1<Kb.indexOf(e)){for(;i!==null;){var c=fn(i);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var d=qt(c.pendingLanes);if(d!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;d;){var E=1<<31-yu(d);g.entanglements[1]|=E,d&=~E}en(c),(Be&6)===0&&(kr=wu()+500,Ki(0))}}break;case 31:case 13:g=wl(c,2),g!==null&&ut(g,c,2),jr(),M0(c,2)}if(c=w0(l),c===null&&p0(e,u,l,Vr,t),c===i)break;i=c}i!==null&&l.stopPropagation()}else p0(e,u,l,null,t)}}function w0(e){return e=pu(e),L0(e)}var Vr=null;function L0(e){if(Vr=null,e=on(e),e!==null){var u=f(e);if(u===null)e=null;else{var t=u.tag;if(t===13){if(e=m(u),e!==null)return e;e=null}else if(t===31){if(e=p(u),e!==null)return e;e=null}else if(t===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;e=null}else u!==e&&(e=null)}}return Vr=e,null}function _2(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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Tc()){case aa:return 2;case ia:return 8;case bt:case kn:return 32;case Ht:return 268435456;default:return 32}default:return 32}}var U0=!1,fl=null,dl=null,hl=null,nc=new Map,lc=new Map,ml=[],Kb="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 E2(e,u){switch(e){case"focusin":case"focusout":fl=null;break;case"dragenter":case"dragleave":dl=null;break;case"mouseover":case"mouseout":hl=null;break;case"pointerover":case"pointerout":nc.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":lc.delete(u.pointerId)}}function ac(e,u,t,l,i,c){return e===null||e.nativeEvent!==c?(e={blockedOn:u,domEventName:t,eventSystemFlags:l,nativeEvent:c,targetContainers:[i]},u!==null&&(u=fn(u),u!==null&&x2(u)),e):(e.eventSystemFlags|=l,u=e.targetContainers,i!==null&&u.indexOf(i)===-1&&u.push(i),e)}function $b(e,u,t,l,i){switch(u){case"focusin":return fl=ac(fl,e,u,t,l,i),!0;case"dragenter":return dl=ac(dl,e,u,t,l,i),!0;case"mouseover":return hl=ac(hl,e,u,t,l,i),!0;case"pointerover":var c=i.pointerId;return nc.set(c,ac(nc.get(c)||null,e,u,t,l,i)),!0;case"gotpointercapture":return c=i.pointerId,lc.set(c,ac(lc.get(c)||null,e,u,t,l,i)),!0}return!1}function S2(e){var u=on(e.target);if(u!==null){var t=f(u);if(t!==null){if(u=t.tag,u===13){if(u=m(t),u!==null){e.blockedOn=u,kc(e.priority,function(){v2(t)});return}}else if(u===31){if(u=p(t),u!==null){e.blockedOn=u,kc(e.priority,function(){v2(t)});return}}else if(u===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zr(e){if(e.blockedOn!==null)return!1;for(var u=e.targetContainers;0<u.length;){var t=w0(e.nativeEvent);if(t===null){t=e.nativeEvent;var l=new t.constructor(t.type,t);$u=l,t.target.dispatchEvent(l),$u=null}else return u=fn(t),u!==null&&x2(u),e.blockedOn=t,!1;u.shift()}return!0}function A2(e,u,t){Zr(e)&&t.delete(u)}function Jb(){U0=!1,fl!==null&&Zr(fl)&&(fl=null),dl!==null&&Zr(dl)&&(dl=null),hl!==null&&Zr(hl)&&(hl=null),nc.forEach(A2),lc.forEach(A2)}function Xr(e,u){e.blockedOn===u&&(e.blockedOn=null,U0||(U0=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Jb)))}var Qr=null;function T2(e){Qr!==e&&(Qr=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Qr===e&&(Qr=null);for(var u=0;u<e.length;u+=3){var t=e[u],l=e[u+1],i=e[u+2];if(typeof l!="function"){if(L0(l||t)===null)continue;break}var c=fn(t);c!==null&&(e.splice(u,3),u-=3,yo(c,{pending:!0,data:i,method:t.method,action:l},l,i))}}))}function Wa(e){function u(E){return Xr(E,e)}fl!==null&&Xr(fl,e),dl!==null&&Xr(dl,e),hl!==null&&Xr(hl,e),nc.forEach(u),lc.forEach(u);for(var t=0;t<ml.length;t++){var l=ml[t];l.blockedOn===e&&(l.blockedOn=null)}for(;0<ml.length&&(t=ml[0],t.blockedOn===null);)S2(t),t.blockedOn===null&&ml.shift();if(t=(e.ownerDocument||e).$$reactFormReplay,t!=null)for(l=0;l<t.length;l+=3){var i=t[l],c=t[l+1],d=i[Uu]||null;if(typeof c=="function")d||T2(t);else if(d){var g=null;if(c&&c.hasAttribute("formAction")){if(i=c,d=c[Uu]||null)g=d.formAction;else if(L0(i)!==null)continue}else g=d.action;typeof g=="function"?t[l+1]=g:(t.splice(l,3),l-=3),T2(t)}}}function C2(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(d){return i=d})},focusReset:"manual",scroll:"manual"})}function u(){i!==null&&(i(),i=null),l||setTimeout(t,20)}function t(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",u),navigation.addEventListener("navigateerror",u),setTimeout(t,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",u),navigation.removeEventListener("navigateerror",u),i!==null&&(i(),i=null)}}}function F0(e){this._internalRoot=e}Ir.prototype.render=F0.prototype.render=function(e){var u=this._internalRoot;if(u===null)throw Error(r(409));var t=u.current,l=ft();g2(t,l,e,u,null,null)},Ir.prototype.unmount=F0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var u=e.containerInfo;g2(e.current,2,null,e,null,null),jr(),u[Hu]=null}};function Ir(e){this._internalRoot=e}Ir.prototype.unstable_scheduleHydration=function(e){if(e){var u=si();e={blockedOn:null,target:e,priority:u};for(var t=0;t<ml.length&&u!==0&&u<ml[t].priority;t++);ml.splice(t,0,e),t===0&&S2(e)}};var D2=a.version;if(D2!=="19.3.1")throw Error(r(527,D2,"19.3.1"));me.findDOMNode=function(e){var u=e._reactInternals;if(u===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=v(u),e=e!==null?_(e):null,e=e===null?null:e.stateNode,e};var Wb={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:ee,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kr.isDisabled&&Kr.supportsFiber)try{On=Kr.inject(Wb),Lu=Kr}catch{}}return cc.createRoot=function(e,u){if(!o(e))throw Error(r(299));var t=!1,l="",i=b1,c=g1,d=y1;return u!=null&&(u.unstable_strictMode===!0&&(t=!0),u.identifierPrefix!==void 0&&(l=u.identifierPrefix),u.onUncaughtError!==void 0&&(i=u.onUncaughtError),u.onCaughtError!==void 0&&(c=u.onCaughtError),u.onRecoverableError!==void 0&&(d=u.onRecoverableError)),u=p2(e,1,!1,null,null,t,l,null,i,c,d,C2),e[Hu]=u.current,m0(e),new F0(u)},cc.hydrateRoot=function(e,u,t){if(!o(e))throw Error(r(299));var l=!1,i="",c=b1,d=g1,g=y1,E=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.formState!==void 0&&(E=t.formState)),u=p2(e,1,!0,u,t??null,l,i,E,c,d,g,C2),u.context=b2(null),t=u.current,l=ft(),l=Ol(l),i=Wn(l),i.callback=null,Pn(t,i,l),t=l,u.current.lanes=t,kl(u,t),en(u),e[Hu]=u.current,m0(e),new Ir(u)},cc.version="19.3.1",cc}var U2;function rg(){if(U2)return q0.exports;U2=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(),q0.exports=cg(),q0.exports}var sg=rg();const og=["select","confirm","input","editor"],fg=new Set(og),km=["notify","setStatus","setWidget","setTitle","set_editor_text"];new Set(km);function dg(n){return fg.has(n)}const ui=3;function F2(n){const a=[];for(const r of n.split("/"))if(!(r===""||r===".")){if(r===".."){a.pop();continue}a.push(r)}const s=a.join("/");return n.startsWith("/")?`/${s}`:s}function hg(n,a){const s=F2(n),r=F2(a);return s.length===0||r.length===0?!1:s===r?!0:B2(s,r)||B2(r,s)}function B2(n,a){return a==="/"?n!=="/":n.startsWith(`${a}/`)}const mg="This is the checkout Pi Central is running from. Editing it can hot-reload this UI, desynchronise it from the orchestrator on a branch switch, and leave Pi Central unable to restart if the orchestrator's source is broken — exactly when you need it. Use a separate clone (see docs/DOGFOODING.md).";function pg(n,a){if(a!==void 0)return hg(n,a)?mg:void 0}function cs(n){return!Number.isFinite(n)||n<0?"—":n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/(1024*1024)).toFixed(1)} MB`}const bg={},H2=[500,1e3,2e3,3e3,5e3];function gg(n){if(n!==ui)return`protocol mismatch: the orchestrator speaks v${n} and this UI speaks v${ui}. Reload the UI; if that fails, restart the orchestrator.`}class yg{#e;#u;#i;#l=0;#a=!1;#c="connecting";#n;constructor(a,s){this.#i=a,this.#u=s}get status(){return this.#c}connect(){this.#a=!1,this.#r()}#r(){this.#t("connecting");let a;try{a=new WebSocket(this.#i)}catch(s){this.#t("closed",s.message);return}this.#e=a,a.onopen=()=>{this.#l=0,this.#t("open")},a.onmessage=s=>{let r;try{r=JSON.parse(String(s.data)).payload}catch{this.#u.onEvent({kind:"error",message:"received a malformed frame from the orchestrator"});return}if(r.kind==="hello"){const o=gg(r.protocol);o!==void 0&&this.#u.onEvent({kind:"error",message:o});return}this.#u.onEvent(r)},a.onerror=()=>{},a.onclose=()=>{if(this.#e=void 0,this.#a){this.#t("closed");return}const s=H2[Math.min(this.#l,H2.length-1)];this.#l+=1,this.#t("closed",`reconnecting in ${(s/1e3).toFixed(1)}s`),this.#n=setTimeout(()=>this.#r(),s)}}#t(a,s){this.#c=a,this.#u.onStatus(a,s)}send(a){if(this.#e?.readyState!==WebSocket.OPEN)return!1;const s={dir:"client→orchestrator",protocol:ui,payload:a};return this.#e.send(JSON.stringify(s)),!0}disconnect(){this.#a=!0,this.#n&&clearTimeout(this.#n),this.#n=void 0,this.#e?.close(1e3,"client disconnected"),this.#e=void 0}}function xg(){const n=bg.VITE_PI_CENTRAL_WS;return typeof n=="string"&&n.length>0?n:`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}const vg="/assets/logo-icon-BCSgj5RT.svg";function _g(n){return n===void 0?{kind:"follow-end"}:{kind:"restore",scrollTop:n.scrollTop,pinned:n.pinned}}function Eg(n,a){return n>a}function Sg(n,a){const s=Math.max(0,a.scrollHeight-n.scrollHeight);return a.scrollHeight-a.scrollTop-a.clientHeight-s}function Ag(n,a,s){return Sg(n,a)<s}function q2(n){return Number.isFinite(n.scrollTop)&&Number.isFinite(n.scrollHeight)&&Number.isFinite(n.clientHeight)&&n.scrollHeight>0&&n.clientHeight>0}function Tg(n,a){return n&&a}const Om="pi-central.trace";function G2(n){const a={};if(typeof n!="object"||n===null||Array.isArray(n))return a;for(const[s,r]of Object.entries(n))typeof r=="boolean"&&(a[s]=r);return a}function Y2(){try{const n=localStorage.getItem(Om);if(n===null||n==="")return{collapsed:{},markers:{}};const a=JSON.parse(n);if(typeof a!="object"||a===null)return{collapsed:{},markers:{}};const s=a;return{collapsed:G2(s.collapsed),markers:G2(s.markers)}}catch{return{collapsed:{},markers:{}}}}function Cg(n){try{localStorage.setItem(Om,JSON.stringify({collapsed:n.collapsed,markers:n.markers}))}catch{}}function Dg(){return{directories:{},files:{},expanded:{},openFile:{},showHidden:{},wrapLines:{}}}function un(n,a){return`${n}\0${a}`}function Ng(n){const a=n.indexOf("\0");return{sessionId:n.slice(0,a),path:n.slice(a+1)}}function rs(n,a,s){return n.directories[un(a,s)]??{status:"unloaded"}}function kg(n,a,s){return n.files[un(a,s)]??{status:"unloaded"}}function Og(n,a,s){return n.expanded[un(a,s)]===!0}function as(n,a){return n.showHidden[a]===!0}function zg(n,a){return n.wrapLines[a]!==!1}function jg(n,a){const s=n.openFile[a];if(s!==void 0)return{path:s,state:kg(n,a,s)}}function Mg(n){return n.kind==="directory"?!0:n.kind==="symlink"&&n.linkTarget==="directory"}function V2(n){return n.kind==="symlink"&&n.linkTarget==="missing"}function Rg(n,a){return n===""?a:`${n.replace(/\/+$/,"")}/${a}`}function wg(n,a){switch(a.kind){case"filesLoading":return{...n,directories:{...n.directories,[un(a.sessionId,a.path)]:{status:"loading"}}};case"filesLoaded":return{...n,directories:{...n.directories,[un(a.sessionId,a.path)]:{status:"loaded",entries:a.entries,truncated:a.truncated}}};case"filesFailed":return{...n,directories:{...n.directories,[un(a.sessionId,a.path)]:{status:"error",reason:a.reason,...a.code===void 0?{}:{code:a.code},message:a.message}}};case"fileLoading":return{...n,files:{...n.files,[un(a.sessionId,a.path)]:{status:"loading"}}};case"fileLoaded":return{...n,files:{...n.files,[un(a.sessionId,a.path)]:{status:"loaded",content:a.content,bytes:a.bytes}}};case"fileFailed":return{...n,files:{...n.files,[un(a.sessionId,a.path)]:{status:"error",reason:a.reason,...a.code===void 0?{}:{code:a.code},message:a.message}}};case"toggleExpanded":case"setExpanded":{const s=un(a.sessionId,a.path),r=a.kind==="toggleExpanded"?n.expanded[s]!==!0:a.expanded;return{...n,expanded:{...n.expanded,[s]:r}}}case"openFile":return{...n,openFile:{...n.openFile,[a.sessionId]:a.path}};case"closeFile":return{...n,openFile:{...n.openFile,[a.sessionId]:void 0}};case"toggleHidden":return{...n,showHidden:{...n.showHidden,[a.sessionId]:n.showHidden[a.sessionId]!==!0}};case"toggleWrap":return{...n,wrapLines:{...n.wrapLines,[a.sessionId]:n.wrapLines[a.sessionId]===!1}};case"forgetSession":{const s=`${a.sessionId}\0`,r=_=>Object.fromEntries(Object.entries(_).filter(([y])=>!y.startsWith(s))),{[a.sessionId]:o,...f}=n.openFile,{[a.sessionId]:m,...p}=n.showHidden,{[a.sessionId]:b,...v}=n.wrapLines;return{directories:r(n.directories),files:r(n.files),expanded:r(n.expanded),openFile:f,showHidden:p,wrapLines:v}}}}function ss(){return{messages:[],tools:[],notices:[]}}function Lg(n){if(typeof n=="string")return n.length>0?[{kind:"text",text:n,complete:!0}]:[];if(!Array.isArray(n))return[];const a=[];for(const s of n){if(typeof s!="object"||s===null)continue;const r=s;if(r.type==="text"&&typeof r.text=="string")a.push({kind:"text",text:r.text,complete:!0});else if(r.type==="thinking"&&typeof r.thinking=="string")a.push({kind:"thinking",text:r.thinking,complete:!0});else if(r.type==="toolCall"||r.type==="tool_use"||r.type==="tool_call"){const o=r.arguments??r.input;a.push({kind:"toolcall",contentIndex:a.length,...r.id!==void 0?{id:r.id}:{},...r.name!==void 0?{name:r.name}:{},argsText:"",...o!==void 0?{args:o}:{},complete:!0})}}return a}function Z0(n,a){const s=n.findIndex(r=>r.toolCallId===a.toolCallId);return s===-1?[...n,a]:n.map((r,o)=>o!==s?r:{...r,toolName:r.toolName&&r.toolName!=="tool"?r.toolName:a.toolName,args:r.args??a.args,result:a.result.length>r.result.length?a.result:r.result,isError:r.isError||a.isError,running:a.running?!0:a.durationMs!==void 0||a.result.length>0?!1:r.running,durationMs:r.durationMs??a.durationMs,afterMessage:r.afterMessage})}function Pl(n,a,s){for(;n.length<=a;)n.push({kind:"text",text:"",complete:!1});const r=n[a];if(r===void 0||r.kind==="text"&&r.text===""&&!r.complete&&s().kind!=="text"){const o=s();return n[a]=o,o}return r}function zm(n){const a=n.messages[n.messages.length-1];return a?.role==="assistant"?a:void 0}function jm(n,a){const s=String(a.type??""),r={...n,messages:[...n.messages],tools:[...n.tools],notices:[...n.notices??[]],lastRecordType:s,lastRecordAt:Date.now()};switch(s){case"compaction_start":return r.notices=[...r.notices,{kind:"compaction",reason:String(a.reason??"unknown"),startedAt:Date.now()}],r;case"compaction_end":{const o=a.result;return r.notices=X0(r.notices,"compaction",f=>({...f,ended:{aborted:a.aborted===!0,willRetry:a.willRetry===!0,...typeof a.errorMessage=="string"?{errorMessage:a.errorMessage}:{}},...typeof o?.tokensBefore=="number"?{tokensBefore:o.tokensBefore}:{},...typeof o?.tokensAfter=="number"?{tokensAfter:o.tokensAfter}:{}})),r}case"auto_retry_start":return r.notices=[...r.notices,{kind:"retry",attempt:Number(a.attempt??1),maxAttempts:Number(a.maxAttempts??1),delayMs:Number(a.delayMs??0),errorMessage:String(a.errorMessage??"")}],r;case"auto_retry_end":return r.notices=X0(r.notices,"retry",o=>({...o,ended:{success:a.success===!0,...typeof a.finalError=="string"?{finalError:a.finalError}:{}}})),r;case"summarization_retry_scheduled":return r.notices=[...r.notices,{kind:"summarization",source:"unknown",attempt:Number(a.attempt??1),maxAttempts:Number(a.maxAttempts??1),...typeof a.errorMessage=="string"?{errorMessage:a.errorMessage}:{},finished:!1}],r;case"summarization_retry_attempt_start":{let o=!1;return r.notices=r.notices.map(f=>o||f.kind!=="summarization"||f.finished?f:(o=!0,{...f,source:String(a.source??"unknown")})),o||(r.notices=[...r.notices,{kind:"summarization",source:String(a.source??"unknown"),attempt:1,maxAttempts:1,finished:!1}]),r}case"summarization_retry_finished":return r.notices=X0(r.notices,"summarization",o=>({...o,finished:!0})),r;case"message_start":{const f=a.message?.role??"assistant";return r.messages=r.messages.map(m=>m.streaming?{...m,streaming:!1}:m),r.messages.push({id:`m${r.messages.length}`,role:f,blocks:[],complete:!1,streaming:!0}),r}case"message_update":{const o=a.assistantMessageEvent;if(!o)return r;const f=a.usage;if(f){const m=zm(r);m&&(r.messages[r.messages.length-1]={...m,usage:f})}return Ug(r,o)}case"message_end":{const o=a.message,f=o?.role;if(f==="system")return r;if(f==="toolResult"||f==="bashExecution"){const v=o?.toolCallId??`history-${r.tools.length}`;return r.tools=Z0(r.tools,{toolCallId:v,toolName:o?.toolName??(f==="bashExecution"?"bash":"tool"),args:o?.command!==void 0?{command:o.command}:void 0,result:hc(o?.content)||String(o?.output??""),isError:o?.isError===!0,running:!1,startedAt:Date.now(),afterMessage:r.messages.length}),r}const m=Lg(o?.content),p=o?Fg(o):void 0;p&&m.push({kind:"text",text:p,complete:!0});const b=r.messages[r.messages.length-1];return b&&b.role==="assistant"&&!b.complete&&f!=="user"?r.messages[r.messages.length-1]={...b,blocks:m.length>0?m:b.blocks,complete:!0,streaming:!1}:o&&r.messages.push({id:`m${r.messages.length}`,role:Bg(f),blocks:m,complete:!0,streaming:!1}),r}case"tool_execution_start":{const o=String(a.toolCallId??"");return r.tools=Z0(r.tools,{toolCallId:o,toolName:String(a.toolName??""),args:a.args,result:"",isError:!1,running:!0,startedAt:Date.now(),afterMessage:r.messages.length}),r}case"tool_execution_update":{const o=String(a.toolCallId??"");return r.tools=r.tools.map(f=>f.toolCallId===o?{...f,result:hc(a.partialResult)}:f),r}case"tool_execution_end":{const o=String(a.toolCallId??"");let f=!1;return r.tools=r.tools.map(m=>m.toolCallId!==o?m:(f=!0,{...m,result:hc(a.result),isError:a.isError===!0,running:!1,...typeof a.durationMs=="number"?{durationMs:a.durationMs}:{}})),f||(r.tools=Z0(r.tools,{toolCallId:o,toolName:String(a.toolName??""),args:a.args,result:hc(a.result),isError:a.isError===!0,running:!1,...typeof a.durationMs=="number"?{durationMs:a.durationMs}:{},startedAt:Date.now(),afterMessage:r.messages.length})),r}default:return r}}function Ug(n,a){const s=String(a.type??""),r=typeof a.contentIndex=="number"?a.contentIndex:0,o=zm(n);if(!o)return n;const f=[...n.messages],m=[...o.blocks],p=b=>{f[f.length-1]=b};switch(s){case"text_start":Pl(m,r,()=>({kind:"text",text:"",complete:!1}));break;case"text_delta":{const b=Pl(m,r,()=>({kind:"text",text:"",complete:!1}));b.kind==="text"&&(m[r]={...b,text:b.text+String(a.delta??"")});break}case"text_end":{const b=String(a.content??"");Pl(m,r,()=>({kind:"text",text:"",complete:!1})),m[r]={kind:"text",text:b,complete:!0};break}case"thinking_start":Pl(m,r,()=>({kind:"thinking",text:"",complete:!1}));break;case"thinking_delta":{const b=Pl(m,r,()=>({kind:"thinking",text:"",complete:!1}));b.kind==="thinking"&&(m[r]={...b,text:b.text+String(a.delta??"")});break}case"thinking_end":{m[r]={kind:"thinking",text:String(a.content??""),complete:!0};break}case"toolcall_start":{const b={kind:"toolcall",contentIndex:r,argsText:"",complete:!1,...a.id!==void 0?{id:String(a.id)}:{},...a.toolName!==void 0?{name:String(a.toolName)}:{}};Pl(m,r,()=>b),m[r]=b;break}case"toolcall_delta":{const b=m[r];b?.kind==="toolcall"&&(m[r]={...b,argsText:b.argsText+String(a.delta??"")});break}case"toolcall_end":{const b=m[r],v=a.toolCall,_=b?.kind==="toolcall"?b:{kind:"toolcall",contentIndex:r,argsText:"",complete:!1};m[r]={..._,...v?.id!==void 0?{id:v.id}:{},...v?.name!==void 0?{name:v.name}:{},...v?.input!==void 0?{args:v.input}:{},complete:!0};break}case"error":{const b=Pl(m,r,()=>({kind:"text",text:"",complete:!1})),v=String(a.reason??a.error??"the provider stream ended with an error");b.kind==="text"&&(m[r]={...b,text:`${b.text}
|
|
10
|
-
|
|
11
|
-
[${v}]`,complete:!1});break}default:return n}return p({...o,blocks:m}),{...n,messages:f}}function hc(n){if(n==null)return"";if(typeof n=="string")return n;if(Array.isArray(n))return n.map(a=>{if(typeof a=="string")return a;if(typeof a=="object"&&a!==null){const s=a;if(typeof s.text=="string")return s.text}return""}).filter(Boolean).join(`
|
|
12
|
-
`);if(typeof n=="object"){const a=n;if(typeof a.text=="string")return a.text;if(typeof a.output=="string")return a.output;if(a.content!==void 0)return hc(a.content);try{return JSON.stringify(n,null,2)}catch{return String(n)}}return String(n)}function Fg(n){const a=n.stopReason;if(a!=="error"&&a!=="aborted")return;const s=n.errorMessage?.trim();return`⚠ ${a==="aborted"?"This response was interrupted.":"This response did not complete."}${s?` ${s}`:""}`}function Bg(n){switch(n){case"user":return"user";case"system":return"system";case"toolResult":case"bashExecution":return"tool";default:return"assistant"}}function Hg(n){let a=ss();for(const s of n)typeof s!="object"||s===null||(a=jm(a,{type:"message_end",message:s}));return qg(a)}function qg(n){const a=new Map;if(n.messages.forEach((f,m)=>{for(const p of f.blocks)p.kind!=="toolcall"||p.id===void 0||a.set(p.id,{name:p.name,args:p.args,index:m})}),a.size===0)return n;const s=new Set(n.tools.map(f=>f.toolCallId)),r=n.tools.map(f=>{const m=a.get(f.toolCallId);return m?{...f,args:f.args??m.args,toolName:f.toolName==="tool"&&m.name?m.name:f.toolName}:f}),o=[];for(const[f,m]of a)s.has(f)||o.push({toolCallId:f,toolName:m.name??"tool",args:m.args,result:"",isError:!1,running:!1,startedAt:Date.now(),afterMessage:m.index+1,unfinished:!0});return{...n,tools:[...r,...o].sort((f,m)=>f.afterMessage-m.afterMessage)}}function Gg(n){return n.blocks.filter(a=>a.kind==="text").map(a=>a.text).join("")}function Yg(n,a){const s=a+1;return n.tools.filter(r=>r.afterMessage===s)}function Vg(n){return n.tools.filter(a=>a.afterMessage===0)}function Zg(n,a=5){const s=n.length;if(s===0)return[];const r=n.slice(Math.max(0,s-a));return[...n.filter(f=>f.running&&!r.includes(f)),...r]}function Z2(n){const a=n.args;if(a==null)return"";if(typeof a=="string")return a;if(typeof a=="object"){const s=a;for(const o of["command","path","file_path","pattern","query","url","prompt","name"]){const f=s[o];if(typeof f=="string"&&f.length>0)return o==="command"?f:`${f}`}const r=Object.keys(s);return r.length>0?r.join(", "):""}return String(a)}function Xg(n){const a=[];for(const s of n)a.includes(s.toolName)||a.push(s.toolName);return{count:n.length,names:a,failed:n.filter(s=>s.isError).length}}function Mm(n){return n.blocks.some(a=>a.kind==="text"&&a.text.trim().length>0)||n.blocks.some(a=>a.kind==="thinking"&&a.text.trim().length>0)}function X0(n,a,s){for(let r=n.length-1;r>=0;r-=1){const o=n[r];if(o.kind!==a||("ended"in o?o.ended!==void 0:o.finished===!0))continue;const m=[...n];return m[r]=s(o),m}return n}function Qg(n){return n.kind==="summarization"?!n.finished:n.ended===void 0}function Ig(n){const a=[],s=Vg(n);s.length>0&&a.push({kind:"tools",tools:s});let r=[];return n.messages.forEach((o,f)=>{const m=Yg(n,f);Mm(o)&&(r.length>0&&(a.push({kind:"tools",tools:r}),r=[]),a.push({kind:"turn",message:o})),r.push(...m)}),r.length>0&&a.push({kind:"tools",tools:r}),a}function Rm(){return{live:[],history:[],historyTotal:0,home:void 0,installationRoot:void 0,install:void 0,transcripts:{},transcriptErrors:{},models:{},modelErrors:{},thinkingLevels:{},thinkingLevelErrors:{},queues:{},restoredQueue:{},focusedId:void 0,connection:"connecting",connectionDetail:void 0,errors:[],ready:!1}}const Kg=20;function $g(n,a){if(a.kind==="queueRestored"){const{[a.sessionId]:s,...r}=n.restoredQueue;return{...n,restoredQueue:r}}return a.kind==="focusSession"?!n.live.some(s=>s.id===a.sessionId)||n.focusedId===a.sessionId?n:{...n,focusedId:a.sessionId}:Jg(n,a)}function Jg(n,a){switch(a.kind){case"snapshot":{const r=n.focusedId&&a.live.some(o=>o.id===n.focusedId)?n.focusedId:a.live[0]?.id;return{...n,live:a.live,history:a.history,historyTotal:a.historyTotal,home:a.home,installationRoot:a.installationRoot,install:a.install,focusedId:r,ready:!0}}case"session":{const r=n.live.findIndex(f=>f.id===a.session.id)===-1?[...n.live,a.session]:n.live.map(f=>f.id===a.session.id?a.session:f),o=n.focusedId??a.session.id;return{...n,live:r,focusedId:o}}case"record":{const s=n.transcripts[a.sessionId]??ss();return{...n,transcripts:{...n.transcripts,[a.sessionId]:jm(s,a.record)}}}case"transcript":{const{[a.sessionId]:s,...r}=n.transcriptErrors;return{...n,transcripts:{...n.transcripts,[a.sessionId]:Hg(a.messages)},transcriptErrors:r}}case"transcriptError":return{...n,transcriptErrors:{...n.transcriptErrors,[a.sessionId]:a.message}};case"models":{const{[a.sessionId]:s,...r}=n.modelErrors;return{...n,models:{...n.models,[a.sessionId]:a.models},modelErrors:r}}case"modelsError":return{...n,modelErrors:{...n.modelErrors,[a.sessionId]:a.message}};case"thinkingLevels":{const{[a.sessionId]:s,...r}=n.thinkingLevelErrors;return{...n,thinkingLevels:{...n.thinkingLevels,[a.sessionId]:a.levels},thinkingLevelErrors:r}}case"thinkingLevelsError":return{...n,thinkingLevelErrors:{...n.thinkingLevelErrors,[a.sessionId]:a.message}};case"queue":return{...n,queues:{...n.queues,[a.sessionId]:{steering:a.steering,followUp:a.followUp}}};case"queueCleared":{const s=[...a.steering,...a.followUp];return{...n,queues:{...n.queues,[a.sessionId]:{steering:[],followUp:[]}},restoredQueue:{...n.restoredQueue,[a.sessionId]:s}}}case"history":return{...n,history:a.history,historyTotal:a.total,ready:!0};case"files":case"file":case"fileError":return n;case"error":return{...n,errors:[a.message,...n.errors].slice(0,Kg)}}}function Wg(n){const a=r=>r.state==="streaming"||r.state==="starting",s=r=>r.state==="awaiting-approval"||r.state==="failed";return{total:n.live.length,running:n.live.filter(a).length,idle:n.live.filter(r=>r.state==="idle").length,needs:n.live.filter(s).length,scratch:n.live.filter(r=>r.scratch).length}}function Pg(n){return n.live.some(a=>a.mode==="direct")}function e6(n){return n.live.find(a=>a.id===n.focusedId)}function u6(n,a){return a?n.transcripts[a]??ss():ss()}function t6(n){return n.live.reduce((a,s)=>a+s.dialogs.length,0)}function n6(n){if(!n)return{mode:"unavailable",reason:"No session selected."};switch(n.state){case"starting":return{mode:"unavailable",reason:"Starting up. The session will accept a prompt shortly."};case"idle":return{mode:"prompt"};case"streaming":return{mode:"steer"};case"awaiting-approval":return{mode:"unavailable",reason:"Waiting for your answer to a dialog below."};case"failed":return{mode:"unavailable",reason:n.error??"This session failed to start."};case"stopped":return{mode:"unavailable",reason:"This session has stopped."};case"registered":return{mode:"unavailable",reason:"Not yet started."}}}function l6(n,a){if(!a)return{steering:[],followUp:[],total:0,textsKnown:!0};const s=n.queues[a.id],r=s?.steering??[],o=s?.followUp??[],f=s!==void 0&&r.length+o.length>=a.pending;return{steering:r,followUp:o,total:a.pending,textsKnown:f}}function a6(n,a,s=200){const r=a.trim().toLowerCase();if(r.length===0)return n.slice(0,s);const o=[];for(const f of n){let m=0;const p=(f.name??"").toLowerCase(),b=f.cwd.toLowerCase(),v=f.firstMessage.toLowerCase();p.includes(r)&&(m+=100),b.includes(r)&&(m+=50),v.includes(r)&&(m+=20),m>0&&o.push({session:f,score:m})}return o.sort((f,m)=>m.score-f.score||m.session.modifiedMs-f.session.modifiedMs),o.slice(0,s).map(f=>f.session)}function wm(n){switch(n.state){case"registered":return"registered";case"starting":return"starting";case"idle":return"idle";case"streaming":return"working";case"awaiting-approval":return"needs you";case"stopped":return"stopped";case"failed":return"failed"}}function i6(n){const a=[];for(const s of n){const r=a.at(-1);r&&r.provider===s.provider?r.models.push(s):a.push({provider:s.provider,models:[s]})}return a}function Lm(n,a){return n.model===a.id&&(n.provider===void 0||n.provider===a.provider)}function c6(n){return n&&n.state==="streaming"?"Applies to the next turn; this run is already using the current model.":""}function xf(n){return n===null||!Number.isFinite(n)?"—":n===0?"$0.00":n<1?`$${n.toFixed(4)}`:`$${n.toFixed(2)}`}function os(n){return n===null||!Number.isFinite(n)?"—":n<1e3?`${n}`:n<1e6?`${(n/1e3).toFixed(1)}k`:`${(n/1e6).toFixed(1)}M`}function Um(n){if(n===null||!Number.isFinite(n))return"ctx —";const a=Math.round(n);return a>=80?`ctx ${a}% full`:`ctx ${a}%`}function r6(n){return n?n.length>4?n.slice(0,3):n:"—"}function s6(n,a=Date.now()){const s=Math.max(0,Math.floor((a-n)/1e3));if(s<60)return"just now";const r=Math.floor(s/60);if(r<60)return`${r}m ago`;const o=Math.floor(r/60);if(o<24)return`${o}h ago`;const f=Math.floor(o/24);return f<30?`${f}d ago`:new Date(n).toLocaleDateString()}function vf(n,a){if(n.length<=a)return n;const s=a-1,r=Math.ceil(s*.55),o=s-r;return`${n.slice(0,r)}…${n.slice(n.length-o)}`}function mc(n,a=34,s){let r=n;return s&&s.length>1&&r.startsWith(s)&&(r=`~${r.slice(s.length)}`),vf(r,a)}function o6(n,a=14){return n?vf(n,a):"model —"}function pc(n){const a=n.name?.trim();return!a||n.scratch&&/^s\d+$/.test(a)?n.scratch?"Scratch session":a??n.id:a}function Fm(n,a){return n.scratch?`scratch · ${n.id}`:mc(n.cwd,34,a)}function f6(n,a,s=70){return n.scratch?`${Fm(n,a)} · ${mc(n.cwd,s,a)}`:mc(n.cwd,s,a)}async function d6(n){try{return await navigator.clipboard.writeText(n),!0}catch{return!1}}const h6=[{key:"needs",label:"Needs you",match:n=>n.state==="awaiting-approval"},{key:"failed",label:"Failed",match:n=>n.state==="failed"},{key:"running",label:"Running",match:n=>n.state==="streaming"||n.state==="starting"},{key:"idle",label:"Idle",match:n=>n.state==="idle"},{key:"stopped",label:"Stopped",match:n=>n.state==="stopped"||n.state==="registered"}];function m6({sessions:n,focusedId:a,onFocus:s,onStartSession:r,onOpenDirectory:o,home:f,historyTotal:m}){const[p,b]=Y.useState(""),v=Y.useMemo(()=>{const y=p.trim().toLowerCase();return y.length===0?n:n.filter(D=>pc(D).toLowerCase().includes(y)||D.cwd.toLowerCase().includes(y)||D.id.toLowerCase().includes(y))},[n,p]),_=Y.useMemo(()=>h6.map(y=>({...y,items:v.filter(y.match)})).filter(y=>y.items.length>0),[v]);return h.jsxs("nav",{className:"rail","aria-label":"Sessions",children:[h.jsxs("div",{className:"rail-start",children:[h.jsxs("button",{type:"button",className:"btn-primary",onClick:r,children:["New session",h.jsx("small",{children:"runs in a scratch workspace"})]}),h.jsxs("button",{type:"button",className:"btn-quiet",onClick:o,children:[h.jsx("span",{children:"Open in a directory…"}),h.jsx("span",{className:"mono",children:"⌘⇧O"})]})]}),h.jsx("div",{className:"rail-filter",children:h.jsx("input",{type:"search",value:p,placeholder:"Filter sessions","aria-label":"Filter sessions",onChange:y=>b(y.target.value)})}),h.jsxs("div",{className:"rail-list",children:[n.length===0?h.jsxs("p",{className:"rail-empty",children:["No live sessions. Start one with ",h.jsx("kbd",{children:"⌘N"}),"."]}):_.length===0?h.jsxs("p",{className:"rail-empty",children:["No sessions match “",p,"”."]}):_.map(y=>h.jsxs("section",{"aria-label":y.label,children:[h.jsxs("h3",{className:"group-header",children:[h.jsx("span",{children:y.label}),h.jsx("span",{className:"count",children:y.items.length})]}),y.items.map(D=>h.jsx(p6,{session:D,focused:D.id===a,onFocus:()=>s(D.id),home:f},D.id))]},y.key)),m>0&&h.jsx("p",{className:"rail-empty",style:{borderTop:"1px solid var(--line)",marginTop:8},children:`${m} session${m===1?"":"s"} on disk — see the History tab.`})]})]})}function p6({session:n,focused:a,onFocus:s,home:r}){const o=n.dialogs[0]?.message??n.dialogs[0]?.title;return h.jsxs("button",{type:"button",className:`rail-row state-${n.state}`,"aria-current":a?"true":void 0,onClick:s,children:[h.jsxs("span",{className:"r1",children:[h.jsx("span",{className:"name",children:pc(n)}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),h.jsx("span",{className:`chip chip-${n.state}`,children:wm(n)})]}),o?h.jsxs("span",{className:"r2 ask",title:o,children:["⚠ ",o]}):h.jsx("span",{className:"r2",title:n.cwd,children:Fm(n,r)}),h.jsxs("span",{className:"r3",children:[h.jsx("span",{children:o6(n.model)}),h.jsx("span",{children:r6(n.thinkingLevel)}),h.jsx("span",{children:Um(n.contextPercent)}),h.jsx("span",{children:xf(n.cost)}),n.pending>0&&h.jsxs("span",{children:["+",n.pending," queued"]})]}),n.warnings.length>0&&h.jsxs("span",{className:"r3",style:{color:"var(--warn-text)"},title:n.warnings.join(`
|
|
13
|
-
`),children:["⚠ ",n.warnings[0]]})]})}const b6="modulepreload",g6=function(n){return"/"+n},X2={},is=function(a,s,r){let o=Promise.resolve();if(s&&s.length>0){let b=function(v){return Promise.all(v.map(_=>Promise.resolve(_).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),p=m?.nonce||m?.getAttribute("nonce");o=b(s.map(v=>{if(v=g6(v),v in X2)return;X2[v]=!0;const _=v.endsWith(".css"),y=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${y}`))return;const D=document.createElement("link");if(D.rel=_?"stylesheet":b6,_||(D.as="script"),D.crossOrigin="",D.href=v,p&&D.setAttribute("nonce",p),document.head.appendChild(D),_)return new Promise((M,A)=>{D.addEventListener("load",M),D.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${v}`)))})}))}function f(m){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=m,window.dispatchEvent(p),!p.defaultPrevented)throw m}return o.then(m=>{for(const p of m||[])p.status==="rejected"&&f(p.reason);return a().catch(f)})},y6="github-dark-default";let $r,Jr;async function Bm(){return $r||(Jr||(Jr=is(()=>import("./grammar-map-CcZdLTyL.js"),[]).then(n=>($r=n.grammars,$r)).catch(()=>(Jr=void 0,{}))),Jr)}let Wr,Pr;const x6=new Set,Q0=new Map;function Hm(n){return n.trim().toLowerCase()}async function qm(n){if(n.length===0)return;const a=await Bm(),s=n.replace(/[^a-z0-9]/g,"");return[`../../../node_modules/@shikijs/langs/dist/${n}.mjs`,`../../../node_modules/@shikijs/langs/dist/${s}.mjs`].find(o=>a[o]!==void 0)}async function v6(n){return await qm(Hm(n))!==void 0}async function _6(n){const a=Q0.get(n);if(a)return a;const s=await qm(n),r=s?(await Bm())[s]:void 0;if(!r)return;const o=r().then(f=>f,()=>{Q0.delete(n)});return Q0.set(n,o),o}async function E6(){return Wr||(Pr||(Pr=(async()=>{try{const[{createHighlighterCore:n},{createJavaScriptRegexEngine:a},s]=await Promise.all([is(()=>import("./core-CcaQSRDK.js"),[]),is(()=>import("./engine-javascript-CuxHA8oH.js"),[]),is(()=>import("./github-dark-default-Cuk6v7N8.js"),[])]);return Wr=await n({themes:[s],langs:[],engine:a()}),Wr}catch{Pr=void 0;return}})()),Pr)}function S6(n){return typeof n=="number"&&(n&1)===1}async function A6(n,a){if(n.length===0)return;const s=Hm(a);if(!await v6(s))return;const r=await E6();if(r)try{if(!r.getLoadedLanguages().includes(s)){const f=await _6(s);if(!f)return;await r.loadLanguage(f.default),x6.add(s)}const{tokens:o}=r.codeToTokens(n,{lang:s,theme:y6});return{lang:s,lines:o.map(f=>f.map(m=>({text:m.content,...m.color!==void 0?{color:m.color}:{},...S6(m.fontStyle)?{italic:!0}:{}})))}}catch{return}}function T6(n){if(!n)return;const a=n.replace(/^#/,"").toLowerCase(),s=a.length===3?a.split("").map(r=>r+r).join(""):a;return/^[0-9a-f]{6}$/.test(s)?`tk-${s}`:void 0}function C6(n){return Y.createElement("pre",{className:`shiki shiki-${n.lang}`},Y.createElement("code",null,n.lines.map((a,s)=>Y.createElement("span",{className:"line",key:s},a.length===0?`
|
|
14
|
-
`:[...a.map((r,o)=>Y.createElement("span",{key:o,className:[T6(r.color),r.italic?"tk-i":void 0].filter(Boolean).join(" ")||void 0},r.text)),`
|
|
15
|
-
`]))))}const D6=/^(`{3,}|~{3,})\s*([^`\s]*)\s*$/;function N6(n){if(!n.includes("```")&&!n.includes("~~~"))return[{kind:"prose",text:n}];const a=n.split(`
|
|
16
|
-
`),s=[];let r=[];const o=()=>{r.length>0&&(s.push({kind:"prose",text:r.join(`
|
|
17
|
-
`)}),r=[])};for(let f=0;f<a.length;f+=1){const m=a[f]??"",p=D6.exec(m);if(!p){r.push(m);continue}const b=p[1],v=(p[2]??"").toLowerCase();let _=-1;for(let y=f+1;y<a.length;y+=1){const M=(a[y]??"").trimEnd();if(M.length>=b.length&&/^(`{3,}|~{3,})$/.test(M)&&M[0]===b[0]){_=y;break}}if(_===-1){r.push(m);continue}o(),s.push({kind:"code",lang:v,code:a.slice(f+1,_).join(`
|
|
18
|
-
`)}),f=_}return o(),s.length>0?s:[{kind:"prose",text:n}]}function k6(n){const a=new Set;for(const s of n)s.kind==="code"&&s.lang.length>0&&a.add(s.lang);return[...a].sort()}const Q2={};function O6(n){let a=Q2[n];if(a)return a;a=Q2[n]=[];for(let s=0;s<128;s++){const r=String.fromCharCode(s);a.push(r)}for(let s=0;s<n.length;s++){const r=n.charCodeAt(s);a[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return a}function li(n,a){typeof a!="string"&&(a=li.defaultChars);const s=O6(a);return n.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let f=0,m=r.length;f<m;f+=3){const p=parseInt(r.slice(f+1,f+3),16);if(p<128){o+=s[p];continue}if((p&224)===192&&f+3<m){const b=parseInt(r.slice(f+4,f+6),16);if((b&192)===128){const v=p<<6&1984|b&63;v<128?o+="��":o+=String.fromCharCode(v),f+=3;continue}}if((p&240)===224&&f+6<m){const b=parseInt(r.slice(f+4,f+6),16),v=parseInt(r.slice(f+7,f+9),16);if((b&192)===128&&(v&192)===128){const _=p<<12&61440|b<<6&4032|v&63;_<2048||_>=55296&&_<=57343?o+="���":o+=String.fromCharCode(_),f+=6;continue}}if((p&248)===240&&f+9<m){const b=parseInt(r.slice(f+4,f+6),16),v=parseInt(r.slice(f+7,f+9),16),_=parseInt(r.slice(f+10,f+12),16);if((b&192)===128&&(v&192)===128&&(_&192)===128){let y=p<<18&1835008|b<<12&258048|v<<6&4032|_&63;y<65536||y>1114111?o+="����":(y-=65536,o+=String.fromCharCode(55296+(y>>10),56320+(y&1023))),f+=9;continue}}o+="�"}return o})}li.defaultChars=";/?:@&=+$,#";li.componentChars="";const I2={};function z6(n){let a=I2[n];if(a)return a;a=I2[n]=[];for(let s=0;s<128;s++){const r=String.fromCharCode(s);/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+s.toString(16).toUpperCase()).slice(-2))}for(let s=0;s<n.length;s++)a[n.charCodeAt(s)]=n[s];return a}function _c(n,a,s){typeof a!="string"&&(s=a,a=_c.defaultChars),typeof s>"u"&&(s=!0);const r=z6(a);let o="";for(let f=0,m=n.length;f<m;f++){const p=n.charCodeAt(f);if(s&&p===37&&f+2<m&&/^[0-9a-f]{2}$/i.test(n.slice(f+1,f+3))){o+=n.slice(f,f+3),f+=2;continue}if(p<128){o+=r[p];continue}if(p>=55296&&p<=57343){if(p>=55296&&p<=56319&&f+1<m){const b=n.charCodeAt(f+1);if(b>=56320&&b<=57343){o+=encodeURIComponent(n[f]+n[f+1]),f++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(n[f])}return o}_c.defaultChars=";/?:@&=+$,-_.!~*'()#";_c.componentChars="-_.!~*'()";function _f(n){let a="";return a+=n.protocol||"",a+=n.slashes?"//":"",a+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?a+="["+n.hostname+"]":a+=n.hostname||"",a+=n.port?":"+n.port:"",a+=n.pathname||"",a+=n.search||"",a+=n.hash||"",a}function fs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const j6=/^([a-z0-9.+-]+:)/i,M6=/:[0-9]*$/,R6=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,w6=["<",">",'"',"`"," ","\r",`
|
|
19
|
-
`," "],L6=["{","}","|","\\","^","`"].concat(w6),U6=["'"].concat(L6),K2=["%","/","?",";","#"].concat(U6),$2=["/","?","#"],F6=255,J2=/^[+a-z0-9A-Z_-]{0,63}$/,B6=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,W2={javascript:!0,"javascript:":!0},P2={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ef(n,a){if(n&&n instanceof fs)return n;const s=new fs;return s.parse(n,a),s}fs.prototype.parse=function(n,a){let s,r,o,f=n;if(f=f.trim(),!a&&n.split("#").length===1){const v=R6.exec(f);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}let m=j6.exec(f);if(m&&(m=m[0],s=m.toLowerCase(),this.protocol=m,f=f.substr(m.length)),(a||m||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=f.substr(0,2)==="//",o&&!(m&&W2[m])&&(f=f.substr(2),this.slashes=!0)),!W2[m]&&(o||m&&!P2[m])){let v=-1;for(let A=0;A<$2.length;A++)r=f.indexOf($2[A]),r!==-1&&(v===-1||r<v)&&(v=r);let _,y;v===-1?y=f.lastIndexOf("@"):y=f.lastIndexOf("@",v),y!==-1&&(_=f.slice(0,y),f=f.slice(y+1),this.auth=_),v=-1;for(let A=0;A<K2.length;A++)r=f.indexOf(K2[A]),r!==-1&&(v===-1||r<v)&&(v=r);v===-1&&(v=f.length),f[v-1]===":"&&v--;const D=f.slice(0,v);f=f.slice(v),this.parseHost(D),this.hostname=this.hostname||"";const M=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!M){const A=this.hostname.split(/\./);for(let L=0,V=A.length;L<V;L++){const J=A[L];if(J&&!J.match(J2)){let fe="";for(let le=0,G=J.length;le<G;le++)J.charCodeAt(le)>127?fe+="x":fe+=J[le];if(!fe.match(J2)){const le=A.slice(0,L),G=A.slice(L+1),Q=J.match(B6);Q&&(le.push(Q[1]),G.unshift(Q[2])),G.length&&(f=G.join(".")+f),this.hostname=le.join(".");break}}}}this.hostname.length>F6&&(this.hostname=""),M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const p=f.indexOf("#");p!==-1&&(this.hash=f.substr(p),f=f.slice(0,p));const b=f.indexOf("?");return b!==-1&&(this.search=f.substr(b),f=f.slice(0,b)),f&&(this.pathname=f),P2[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this};fs.prototype.parseHost=function(n){let a=M6.exec(n);a&&(a=a[0],a!==":"&&(this.port=a.substr(1)),n=n.substr(0,n.length-a.length)),n&&(this.hostname=n)};const H6=Object.freeze(Object.defineProperty({__proto__:null,decode:li,encode:_c,format:_f,parse:Ef},Symbol.toStringTag,{value:"Module"})),Gm=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ym=/[\0-\x1F\x7F-\x9F]/,q6=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Sf=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Vm=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Zm=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,G6=Object.freeze(Object.defineProperty({__proto__:null,Any:Gm,Cc:Ym,Cf:q6,P:Sf,S:Vm,Z:Zm},Symbol.toStringTag,{value:"Module"})),Y6=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(n=>n.charCodeAt(0))),V6=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(n=>n.charCodeAt(0)));var I0;const Z6=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),X6=(I0=String.fromCodePoint)!==null&&I0!==void 0?I0:function(n){let a="";return n>65535&&(n-=65536,a+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),a+=String.fromCharCode(n),a};function Q6(n){var a;return n>=55296&&n<=57343||n>1114111?65533:(a=Z6.get(n))!==null&&a!==void 0?a:n}var Su;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(Su||(Su={}));const I6=32;var xl;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(xl||(xl={}));function mf(n){return n>=Su.ZERO&&n<=Su.NINE}function K6(n){return n>=Su.UPPER_A&&n<=Su.UPPER_F||n>=Su.LOWER_A&&n<=Su.LOWER_F}function $6(n){return n>=Su.UPPER_A&&n<=Su.UPPER_Z||n>=Su.LOWER_A&&n<=Su.LOWER_Z||mf(n)}function J6(n){return n===Su.EQUALS||$6(n)}var Eu;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(Eu||(Eu={}));var Dn;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(Dn||(Dn={}));class W6{constructor(a,s,r){this.decodeTree=a,this.emitCodePoint=s,this.errors=r,this.state=Eu.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Dn.Strict}startEntity(a){this.decodeMode=a,this.state=Eu.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,s){switch(this.state){case Eu.EntityStart:return a.charCodeAt(s)===Su.NUM?(this.state=Eu.NumericStart,this.consumed+=1,this.stateNumericStart(a,s+1)):(this.state=Eu.NamedEntity,this.stateNamedEntity(a,s));case Eu.NumericStart:return this.stateNumericStart(a,s);case Eu.NumericDecimal:return this.stateNumericDecimal(a,s);case Eu.NumericHex:return this.stateNumericHex(a,s);case Eu.NamedEntity:return this.stateNamedEntity(a,s)}}stateNumericStart(a,s){return s>=a.length?-1:(a.charCodeAt(s)|I6)===Su.LOWER_X?(this.state=Eu.NumericHex,this.consumed+=1,this.stateNumericHex(a,s+1)):(this.state=Eu.NumericDecimal,this.stateNumericDecimal(a,s))}addToNumericResult(a,s,r,o){if(s!==r){const f=r-s;this.result=this.result*Math.pow(o,f)+parseInt(a.substr(s,f),o),this.consumed+=f}}stateNumericHex(a,s){const r=s;for(;s<a.length;){const o=a.charCodeAt(s);if(mf(o)||K6(o))s+=1;else return this.addToNumericResult(a,r,s,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(a,r,s,16),-1}stateNumericDecimal(a,s){const r=s;for(;s<a.length;){const o=a.charCodeAt(s);if(mf(o))s+=1;else return this.addToNumericResult(a,r,s,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(a,r,s,10),-1}emitNumericEntity(a,s){var r;if(this.consumed<=s)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(a===Su.SEMI)this.consumed+=1;else if(this.decodeMode===Dn.Strict)return 0;return this.emitCodePoint(Q6(this.result),this.consumed),this.errors&&(a!==Su.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(a,s){const{decodeTree:r}=this;let o=r[this.treeIndex],f=(o&xl.VALUE_LENGTH)>>14;for(;s<a.length;s++,this.excess++){const m=a.charCodeAt(s);if(this.treeIndex=P6(r,o,this.treeIndex+Math.max(1,f),m),this.treeIndex<0)return this.result===0||this.decodeMode===Dn.Attribute&&(f===0||J6(m))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],f=(o&xl.VALUE_LENGTH)>>14,f!==0){if(m===Su.SEMI)return this.emitNamedEntityData(this.treeIndex,f,this.consumed+this.excess);this.decodeMode!==Dn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var a;const{result:s,decodeTree:r}=this,o=(r[s]&xl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(s,o,this.consumed),(a=this.errors)===null||a===void 0||a.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(a,s,r){const{decodeTree:o}=this;return this.emitCodePoint(s===1?o[a]&~xl.VALUE_LENGTH:o[a+1],r),s===3&&this.emitCodePoint(o[a+2],r),r}end(){var a;switch(this.state){case Eu.NamedEntity:return this.result!==0&&(this.decodeMode!==Dn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Eu.NumericDecimal:return this.emitNumericEntity(0,2);case Eu.NumericHex:return this.emitNumericEntity(0,3);case Eu.NumericStart:return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Eu.EntityStart:return 0}}}function Xm(n){let a="";const s=new W6(n,r=>a+=X6(r));return function(o,f){let m=0,p=0;for(;(p=o.indexOf("&",p))>=0;){a+=o.slice(m,p),s.startEntity(f);const v=s.write(o,p+1);if(v<0){m=p+s.end();break}m=p+v,p=v===0?m+1:m}const b=a+o.slice(m);return a="",b}}function P6(n,a,s,r){const o=(a&xl.BRANCH_LENGTH)>>7,f=a&xl.JUMP_TABLE;if(o===0)return f!==0&&r===f?s:-1;if(f){const b=r-f;return b<0||b>=o?-1:n[s+b]-1}let m=s,p=m+o-1;for(;m<=p;){const b=m+p>>>1,v=n[b];if(v<r)m=b+1;else if(v>r)p=b-1;else return n[b+o]}return-1}const Qm=Xm(Y6);Xm(V6);function ey(n,a=Dn.Legacy){return Qm(n,a)}function uy(n){return Qm(n,Dn.Strict)}function ty(n){return Object.prototype.toString.call(n)}function Af(n){return ty(n)==="[object String]"}const ny=Object.prototype.hasOwnProperty;function ly(n,a){return ny.call(n,a)}function hs(n){return Array.prototype.slice.call(arguments,1).forEach(function(s){if(s){if(typeof s!="object")throw new TypeError(s+"must be object");Object.keys(s).forEach(function(r){n[r]=s[r]})}}),n}function ay(n,a,s){return[].concat(n.slice(0,a),s,n.slice(a+1))}function Tf(n){return!(n>=55296&&n<=57343||n>=64976&&n<=65007||(n&65535)===65535||(n&65535)===65534||n>=0&&n<=8||n===11||n>=14&&n<=31||n>=127&&n<=159||n>1114111)}function bc(n){if(n>65535){n-=65536;const a=55296+(n>>10),s=56320+(n&1023);return String.fromCharCode(a,s)}return String.fromCharCode(n)}const Im=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,iy=/&([a-z#][a-z0-9]{1,31});/gi,cy=new RegExp(Im.source+"|"+iy.source,"gi"),ry=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function sy(n,a){if(a.charCodeAt(0)===35&&ry.test(a)){const r=a[1].toLowerCase()==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return Tf(r)?bc(r):n}const s=ey(n);return s!==n?s:n}function oy(n){return n.indexOf("\\")<0?n:n.replace(Im,"$1")}function ai(n){return n.indexOf("\\")<0&&n.indexOf("&")<0?n:n.replace(cy,function(a,s,r){return s||sy(a,r)})}const fy=/[&<>"]/,dy=/[&<>"]/g,hy={"&":"&","<":"<",">":">",'"':"""};function my(n){return hy[n]}function vl(n){return fy.test(n)?n.replace(dy,my):n}const py=/[.?*+^$[\]\\(){}|-]/g;function by(n){return n.replace(py,"\\$&")}function Ke(n){switch(n){case 9:case 32:return!0}return!1}function gc(n){if(n>=8192&&n<=8202)return!0;switch(n){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Km(n){return Sf.test(n)||Vm.test(n)}function yc(n){return Km(bc(n))}function xc(n){switch(n){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ms(n){return n=n.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(n=n.replace(/ẞ/g,"ß")),n.toLowerCase().toUpperCase()}function em(n){return n===32||n===9||n===10||n===13}function ps(n){let a=0;for(;a<n.length&&em(n.charCodeAt(a));a++);let s=n.length-1;for(;s>=a&&em(n.charCodeAt(s));s--);return n.slice(a,s+1)}const gy={mdurl:H6,ucmicro:G6},yy=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:ay,asciiTrim:ps,assign:hs,escapeHtml:vl,escapeRE:by,fromCodePoint:bc,has:ly,isMdAsciiPunct:xc,isPunctChar:Km,isPunctCharCode:yc,isSpace:Ke,isString:Af,isValidEntityCode:Tf,isWhiteSpace:gc,lib:gy,normalizeReference:ms,unescapeAll:ai,unescapeMd:oy},Symbol.toStringTag,{value:"Module"}));function xy(n,a,s){let r,o,f,m;const p=n.posMax,b=n.pos;for(n.pos=a+1,r=1;n.pos<p;){if(f=n.src.charCodeAt(n.pos),f===93&&(r--,r===0)){o=!0;break}if(m=n.pos,n.md.inline.skipToken(n),f===91){if(m===n.pos-1)r++;else if(s)return n.pos=b,-1}}let v=-1;return o&&(v=n.pos),n.pos=b,v}function vy(n,a,s){let r,o=a;const f={ok:!1,pos:0,str:""};if(n.charCodeAt(o)===60){for(o++;o<s;){if(r=n.charCodeAt(o),r===10||r===60)return f;if(r===62)return f.pos=o+1,f.str=ai(n.slice(a+1,o)),f.ok=!0,f;if(r===92&&o+1<s){o+=2;continue}o++}return f}let m=0;for(;o<s&&(r=n.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<s){if(n.charCodeAt(o+1)===32){o++;continue}o+=2;continue}if(r===40&&(m++,m>32))return f;if(r===41){if(m===0)break;m--}o++}return a===o||m!==0||(f.str=ai(n.slice(a,o)),f.pos=o,f.ok=!0),f}function _y(n,a,s,r){let o,f=a;const m={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)m.str=r.str,m.marker=r.marker;else{if(f>=s)return m;let p=n.charCodeAt(f);if(p!==34&&p!==39&&p!==40)return m;a++,f++,p===40&&(p=41),m.marker=p}for(;f<s;){if(o=n.charCodeAt(f),o===m.marker)return m.pos=f+1,m.str+=ai(n.slice(a,f)),m.ok=!0,m;if(o===40&&m.marker===41)return m;o===92&&f+1<s&&f++,f++}return m.can_continue=!0,m.str+=ai(n.slice(a,f)),m}const Ey=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:vy,parseLinkLabel:xy,parseLinkTitle:_y},Symbol.toStringTag,{value:"Module"})),ln={};ln.code_inline=function(n,a,s,r,o){const f=n[a];return"<code"+o.renderAttrs(f)+">"+vl(f.content)+"</code>"};ln.code_block=function(n,a,s,r,o){const f=n[a];return"<pre"+o.renderAttrs(f)+"><code>"+vl(n[a].content)+`</code></pre>
|
|
20
|
-
`};ln.fence=function(n,a,s,r,o){const f=n[a],m=f.info?ai(f.info).trim():"";let p="",b="";if(m){const _=m.split(/(\s+)/g);p=_[0],b=_.slice(2).join("")}let v;if(s.highlight?v=s.highlight(f.content,p,b)||vl(f.content):v=vl(f.content),v.indexOf("<pre")===0)return v+`
|
|
21
|
-
`;if(m){const _=f.attrIndex("class"),y=f.attrs?f.attrs.slice():[];_<0?y.push(["class",s.langPrefix+p]):(y[_]=y[_].slice(),y[_][1]+=" "+s.langPrefix+p);const D={attrs:y};return`<pre><code${o.renderAttrs(D)}>${v}</code></pre>
|
|
22
|
-
`}return`<pre><code${o.renderAttrs(f)}>${v}</code></pre>
|
|
23
|
-
`};ln.image=function(n,a,s,r,o){const f=n[a];return f.attrs[f.attrIndex("alt")][1]=o.renderInlineAsText(f.children,s,r),o.renderToken(n,a,s)};ln.hardbreak=function(n,a,s){return s.xhtmlOut?`<br />
|
|
24
|
-
`:`<br>
|
|
25
|
-
`};ln.softbreak=function(n,a,s){return s.breaks?s.xhtmlOut?`<br />
|
|
26
|
-
`:`<br>
|
|
27
|
-
`:`
|
|
28
|
-
`};ln.text=function(n,a){return vl(n[a].content)};ln.html_block=function(n,a){return n[a].content};ln.html_inline=function(n,a){return n[a].content};function ii(){this.rules=hs({},ln)}ii.prototype.renderAttrs=function(a){let s,r,o;if(!a.attrs)return"";for(o="",s=0,r=a.attrs.length;s<r;s++)o+=" "+vl(a.attrs[s][0])+'="'+vl(a.attrs[s][1])+'"';return o};ii.prototype.renderToken=function(a,s,r){const o=a[s];let f="";if(o.hidden)return"";o.block&&o.nesting!==-1&&s&&a[s-1].hidden&&(f+=`
|
|
29
|
-
`),f+=(o.nesting===-1?"</":"<")+o.tag,f+=this.renderAttrs(o),o.nesting===0&&r.xhtmlOut&&(f+=" /");let m=!1;if(o.block&&(m=!0,o.nesting===1&&s+1<a.length)){const p=a[s+1];(p.type==="inline"||p.hidden||p.nesting===-1&&p.tag===o.tag)&&(m=!1)}return f+=m?`>
|
|
30
|
-
`:">",f};ii.prototype.renderInline=function(n,a,s){let r="";const o=this.rules;for(let f=0,m=n.length;f<m;f++){const p=n[f].type;typeof o[p]<"u"?r+=o[p](n,f,a,s,this):r+=this.renderToken(n,f,a)}return r};ii.prototype.renderInlineAsText=function(n,a,s){let r="";for(let o=0,f=n.length;o<f;o++)switch(n[o].type){case"text":r+=n[o].content;break;case"image":r+=this.renderInlineAsText(n[o].children,a,s);break;case"html_inline":case"html_block":r+=n[o].content;break;case"softbreak":case"hardbreak":r+=`
|
|
31
|
-
`;break}return r};ii.prototype.render=function(n,a,s){let r="";const o=this.rules;for(let f=0,m=n.length;f<m;f++){const p=n[f].type;p==="inline"?r+=this.renderInline(n[f].children,a,s):typeof o[p]<"u"?r+=o[p](n,f,a,s,this):r+=this.renderToken(n,f,a,s)}return r};function nt(){this.__rules__=[],this.__cache__=null}nt.prototype.__find__=function(n){for(let a=0;a<this.__rules__.length;a++)if(this.__rules__[a].name===n)return a;return-1};nt.prototype.__compile__=function(){const n=this,a=[""];n.__rules__.forEach(function(s){s.enabled&&s.alt.forEach(function(r){a.indexOf(r)<0&&a.push(r)})}),n.__cache__={},a.forEach(function(s){n.__cache__[s]=[],n.__rules__.forEach(function(r){r.enabled&&(s&&r.alt.indexOf(s)<0||n.__cache__[s].push(r.fn))})})};nt.prototype.at=function(n,a,s){const r=this.__find__(n),o=s||{};if(r===-1)throw new Error("Parser rule not found: "+n);this.__rules__[r].fn=a,this.__rules__[r].alt=o.alt||[],this.__cache__=null};nt.prototype.before=function(n,a,s,r){const o=this.__find__(n),f=r||{};if(o===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(o,0,{name:a,enabled:!0,fn:s,alt:f.alt||[]}),this.__cache__=null};nt.prototype.after=function(n,a,s,r){const o=this.__find__(n),f=r||{};if(o===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(o+1,0,{name:a,enabled:!0,fn:s,alt:f.alt||[]}),this.__cache__=null};nt.prototype.push=function(n,a,s){const r=s||{};this.__rules__.push({name:n,enabled:!0,fn:a,alt:r.alt||[]}),this.__cache__=null};nt.prototype.enable=function(n,a){Array.isArray(n)||(n=[n]);const s=[];return n.forEach(function(r){const o=this.__find__(r);if(o<0){if(a)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,s.push(r)},this),this.__cache__=null,s};nt.prototype.enableOnly=function(n,a){Array.isArray(n)||(n=[n]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(n,a)};nt.prototype.disable=function(n,a){Array.isArray(n)||(n=[n]);const s=[];return n.forEach(function(r){const o=this.__find__(r);if(o<0){if(a)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,s.push(r)},this),this.__cache__=null,s};nt.prototype.getRules=function(n){return this.__cache__===null&&this.__compile__(),this.__cache__[n]||[]};function Ft(n,a,s){this.type=n,this.tag=a,this.attrs=null,this.map=null,this.nesting=s,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Ft.prototype.attrIndex=function(a){if(!this.attrs)return-1;const s=this.attrs;for(let r=0,o=s.length;r<o;r++)if(s[r][0]===a)return r;return-1};Ft.prototype.attrPush=function(a){this.attrs?this.attrs.push(a):this.attrs=[a]};Ft.prototype.attrSet=function(a,s){const r=this.attrIndex(a),o=[a,s];r<0?this.attrPush(o):this.attrs[r]=o};Ft.prototype.attrGet=function(a){const s=this.attrIndex(a);let r=null;return s>=0&&(r=this.attrs[s][1]),r};Ft.prototype.attrJoin=function(a,s){const r=this.attrIndex(a);r<0?this.attrPush([a,s]):this.attrs[r][1]=this.attrs[r][1]+" "+s};function $m(n,a,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=a}$m.prototype.Token=Ft;const Sy=/\r\n?|\n/g,Ay=/\0/g;function Ty(n){let a;a=n.src.replace(Sy,`
|
|
32
|
-
`),a=a.replace(Ay,"�"),n.src=a}function Cy(n){let a;n.inlineMode?(a=new n.Token("inline","",0),a.content=n.src,a.map=[0,1],a.children=[],n.tokens.push(a)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}function Dy(n){const a=n.tokens;for(let s=0,r=a.length;s<r;s++){const o=a[s];o.type==="inline"&&n.md.inline.parse(o.content,n.md,n.env,o.children)}}function Ny(n){return/^<a[>\s]/i.test(n)}function ky(n){return/^<\/a\s*>/i.test(n)}function Oy(n){const a=n.tokens;if(n.md.options.linkify)for(let s=0,r=a.length;s<r;s++){if(a[s].type!=="inline"||!n.md.linkify.pretest(a[s].content))continue;const o=a[s].children,f=[];let m=0;for(let p=o.length-1;p>=0;p--){const b=o[p];if(b.type==="link_close"){for(p--;o[p].level!==b.level&&o[p].type!=="link_open";)p--;continue}if(b.type==="html_inline"&&(Ny(b.content)&&m>0&&m--,ky(b.content)&&m++),!(m>0)&&b.type==="text"&&n.md.linkify.test(b.content)){const v=b.content;let _=n.md.linkify.match(v);const y=[];let D=b.level,M=0;_.length>0&&_[0].index===0&&p>0&&o[p-1].type==="text_special"&&(_=_.slice(1));for(let A=0;A<_.length;A++){const L=_[A].url,V=n.md.normalizeLink(L);if(!n.md.validateLink(V))continue;let J=_[A].text;_[A].schema?_[A].schema==="mailto:"&&!/^mailto:/i.test(J)?J=n.md.normalizeLinkText("mailto:"+J).replace(/^mailto:/,""):J=n.md.normalizeLinkText(J):J=n.md.normalizeLinkText("http://"+J).replace(/^http:\/\//,"");const fe=_[A].index;if(fe>M){const te=new n.Token("text","",0);te.content=v.slice(M,fe),te.level=D,y.push(te)}const le=new n.Token("link_open","a",1);le.attrs=[["href",V]],le.level=D++,le.markup="linkify",le.info="auto",y.push(le);const G=new n.Token("text","",0);G.content=J,G.level=D,y.push(G);const Q=new n.Token("link_close","a",-1);Q.level=--D,Q.markup="linkify",Q.info="auto",y.push(Q),M=_[A].lastIndex}if(M<v.length){const A=new n.Token("text","",0);A.content=v.slice(M),A.level=D,y.push(A)}f.push({index:p,nodes:y})}}if(f.length>0){let p=o.length;for(const y of f)p+=y.nodes.length-1;const b=new Array(p);let v=0,_=0;f.reverse();for(let y=0;y<o.length;y++){const D=f[v];if(D?.index===y){for(const M of D.nodes)b[_++]=M;v++}else b[_++]=o[y]}a[s].children=b}}}const Jm=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,zy=/\((c|tm|r)\)/i,jy=/\((c|tm|r)\)/ig,My={c:"©",r:"®",tm:"™"};function Ry(n,a){return My[a.toLowerCase()]}function wy(n){let a=0;for(let s=n.length-1;s>=0;s--){const r=n[s];r.type==="text"&&!a&&(r.content=r.content.replace(jy,Ry)),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}}function Ly(n){let a=0;for(let s=n.length-1;s>=0;s--){const r=n[s];r.type==="text"&&!a&&Jm.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}}function Uy(n){let a;if(n.md.options.typographer)for(a=n.tokens.length-1;a>=0;a--)n.tokens[a].type==="inline"&&(zy.test(n.tokens[a].content)&&wy(n.tokens[a].children),Jm.test(n.tokens[a].content)&&Ly(n.tokens[a].children))}const Fy=/['"]/,um=/['"]/g,tm="’",By=1e3;function nm(n,a,s){for(;n.length>s;){const r=n.pop();r.isSingleQuote?a.single=r.prevSameQuoteIdx:a.double=r.prevSameQuoteIdx}}function es(n,a,s,r){n[a]||(n[a]=[]),n[a].push({pos:s,ch:r})}function Hy(n,a){let s="",r=0;a.sort((o,f)=>o.pos-f.pos);for(let o=0;o<a.length;o++){const f=a[o];s+=n.slice(r,f.pos)+f.ch,r=f.pos+1}return s+n.slice(r)}function qy(n,a){let s;const r=[],o={single:-1,double:-1},f={};for(let m=0;m<n.length;m++){const p=n[m],b=n[m].level;for(s=r.length-1;s>=0&&!(r[s].level<=b);s--);if(nm(r,o,s+1),p.type!=="text")continue;const v=p.content;let _=0;const y=v.length;e:for(;_<y;){um.lastIndex=_;const D=um.exec(v);if(!D)break;let M=!0,A=!0;_=D.index+1;const L=D[0]==="'";let V=32;if(D.index-1>=0)V=v.charCodeAt(D.index-1);else for(s=m-1;s>=0&&!(n[s].type==="softbreak"||n[s].type==="hardbreak");s--)if(n[s].content){V=n[s].content.charCodeAt(n[s].content.length-1);break}let J=32;if(_<y)J=v.charCodeAt(_);else for(s=m+1;s<n.length&&!(n[s].type==="softbreak"||n[s].type==="hardbreak");s++)if(n[s].content){J=n[s].content.charCodeAt(0);break}const fe=xc(V)||yc(V),le=xc(J)||yc(J),G=gc(V),Q=gc(J);if(Q?M=!1:le&&(G||fe||(M=!1)),G?A=!1:fe&&(Q||le||(A=!1)),J===34&&D[0]==='"'&&V>=48&&V<=57&&(A=M=!1),M&&A&&(M=fe,A=le),!M&&!A){L&&es(f,m,D.index,tm);continue}if(A&&(s=L?o.single:o.double,s>=0&&r[s].level===b)){const te=r[s];let P,ae;L?(P=a.md.options.quotes[2],ae=a.md.options.quotes[3]):(P=a.md.options.quotes[0],ae=a.md.options.quotes[1]),es(f,m,D.index,ae),es(f,te.tokenIdx,te.contentPos,P),nm(r,o,s);continue e}if(M){if(r.length>=By)return;r.push({tokenIdx:m,contentPos:D.index,isSingleQuote:L,level:b,prevSameQuoteIdx:L?o.single:o.double}),L?o.single=r.length-1:o.double=r.length-1}else A&&L&&es(f,m,D.index,tm)}}Object.keys(f).forEach(function(m){n[m].content=Hy(n[m].content,f[m])})}function Gy(n){if(n.md.options.typographer)for(let a=n.tokens.length-1;a>=0;a--)n.tokens[a].type!=="inline"||!Fy.test(n.tokens[a].content)||qy(n.tokens[a].children,n)}function Yy(n){let a,s;const r=n.tokens,o=r.length;for(let f=0;f<o;f++){if(r[f].type!=="inline")continue;const m=r[f].children,p=m.length;for(a=0;a<p;a++)m[a].type==="text_special"&&(m[a].type="text");for(a=s=0;a<p;a++)m[a].type==="text"&&a+1<p&&m[a+1].type==="text"?m[a+1].content=m[a].content+m[a+1].content:(a!==s&&(m[s]=m[a]),s++);a!==s&&(m.length=s)}}const K0=[["normalize",Ty],["block",Cy],["inline",Dy],["linkify",Oy],["replacements",Uy],["smartquotes",Gy],["text_join",Yy]];function Cf(){this.ruler=new nt;for(let n=0;n<K0.length;n++)this.ruler.push(K0[n][0],K0[n][1])}Cf.prototype.process=function(n){const a=this.ruler.getRules("");for(let s=0,r=a.length;s<r;s++)a[s](n)};Cf.prototype.State=$m;function an(n,a,s,r){this.src=n,this.md=a,this.env=s,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const o=this.src;for(let f=0,m=0,p=0,b=0,v=o.length,_=!1;m<v;m++){const y=o.charCodeAt(m);if(!_)if(Ke(y)){p++,y===9?b+=4-b%4:b++;continue}else _=!0;(y===10||m===v-1)&&(y!==10&&m++,this.bMarks.push(f),this.eMarks.push(m),this.tShift.push(p),this.sCount.push(b),this.bsCount.push(0),_=!1,p=0,b=0,f=m+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}an.prototype.push=function(n,a,s){const r=new Ft(n,a,s);return r.block=!0,s<0&&this.level--,r.level=this.level,s>0&&this.level++,this.tokens.push(r),r};an.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]};an.prototype.skipEmptyLines=function(a){for(let s=this.lineMax;a<s&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a};an.prototype.skipSpaces=function(a){for(let s=this.src.length;a<s;a++){const r=this.src.charCodeAt(a);if(!Ke(r))break}return a};an.prototype.skipSpacesBack=function(a,s){if(a<=s)return a;for(;a>s;)if(!Ke(this.src.charCodeAt(--a)))return a+1;return a};an.prototype.skipChars=function(a,s){for(let r=this.src.length;a<r&&this.src.charCodeAt(a)===s;a++);return a};an.prototype.skipCharsBack=function(a,s,r){if(a<=r)return a;for(;a>r;)if(s!==this.src.charCodeAt(--a))return a+1;return a};an.prototype.getLines=function(a,s,r,o){if(a>=s)return"";const f=new Array(s-a);for(let m=0,p=a;p<s;p++,m++){let b=0;const v=this.bMarks[p];let _=v,y;for(p+1<s||o?y=this.eMarks[p]+1:y=this.eMarks[p];_<y&&b<r;){const D=this.src.charCodeAt(_);if(Ke(D))D===9?b+=4-(b+this.bsCount[p])%4:b++;else if(_-v<this.tShift[p])b++;else break;_++}b>r?f[m]=new Array(b-r+1).join(" ")+this.src.slice(_,y):f[m]=this.src.slice(_,y)}return f.join("")};an.prototype.Token=Ft;const Vy=65536;function $0(n,a){const s=n.bMarks[a]+n.tShift[a],r=n.eMarks[a];return n.src.slice(s,r)}function lm(n){const a=[],s=n.length;let r=0,o=n.charCodeAt(r),f=!1,m=0,p="";for(;r<s;)o===124&&(f?(p+=n.substring(m,r-1),m=r):(a.push(p+n.substring(m,r)),p="",m=r+1)),f=o===92,r++,o=n.charCodeAt(r);return a.push(p+n.substring(m)),a}function Zy(n,a,s,r){if(a+2>s)return!1;let o=a+1;if(n.sCount[o]<n.blkIndent||n.sCount[o]-n.blkIndent>=4)return!1;let f=n.bMarks[o]+n.tShift[o];if(f>=n.eMarks[o])return!1;const m=n.src.charCodeAt(f++);if(m!==124&&m!==45&&m!==58||f>=n.eMarks[o])return!1;const p=n.src.charCodeAt(f++);if(p!==124&&p!==45&&p!==58&&!Ke(p)||m===45&&Ke(p))return!1;for(;f<n.eMarks[o];){const G=n.src.charCodeAt(f);if(G!==124&&G!==45&&G!==58&&!Ke(G))return!1;f++}let b=$0(n,a+1),v=b.split("|");const _=[];for(let G=0;G<v.length;G++){const Q=v[G].trim();if(!Q){if(G===0||G===v.length-1)continue;return!1}if(!/^:?-+:?$/.test(Q))return!1;Q.charCodeAt(Q.length-1)===58?_.push(Q.charCodeAt(0)===58?"center":"right"):Q.charCodeAt(0)===58?_.push("left"):_.push("")}if(b=$0(n,a).trim(),b.indexOf("|")===-1||n.sCount[a]-n.blkIndent>=4)return!1;v=lm(b),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop();const y=v.length;if(y===0||y!==_.length)return!1;if(r)return!0;const D=n.parentType;n.parentType="table";const M=n.md.block.ruler.getRules("blockquote"),A=n.push("table_open","table",1),L=[a,0];A.map=L;const V=n.push("thead_open","thead",1);V.map=[a,a+1];const J=n.push("tr_open","tr",1);J.map=[a,a+1];for(let G=0;G<v.length;G++){const Q=n.push("th_open","th",1);_[G]&&(Q.attrs=[["style","text-align:"+_[G]]]);const te=n.push("inline","",0);te.content=v[G].trim(),te.children=[],n.push("th_close","th",-1)}n.push("tr_close","tr",-1),n.push("thead_close","thead",-1);let fe,le=0;for(o=a+2;o<s&&!(n.sCount[o]<n.blkIndent);o++){let G=!1;for(let te=0,P=M.length;te<P;te++)if(M[te](n,o,s,!0)){G=!0;break}if(G||(b=$0(n,o).trim(),!b)||n.sCount[o]-n.blkIndent>=4||(v=lm(b),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop(),le+=y-v.length,le>Vy))break;if(o===a+2){const te=n.push("tbody_open","tbody",1);te.map=fe=[a+2,0]}const Q=n.push("tr_open","tr",1);Q.map=[o,o+1];for(let te=0;te<y;te++){const P=n.push("td_open","td",1);_[te]&&(P.attrs=[["style","text-align:"+_[te]]]);const ae=n.push("inline","",0);ae.content=v[te]?v[te].trim():"",ae.children=[],n.push("td_close","td",-1)}n.push("tr_close","tr",-1)}return fe&&(n.push("tbody_close","tbody",-1),fe[1]=o),n.push("table_close","table",-1),L[1]=o,n.parentType=D,n.line=o,!0}function Xy(n,a,s){if(n.sCount[a]-n.blkIndent<4)return!1;let r=a+1,o=r;for(;r<s;){if(n.isEmpty(r)){r++;continue}if(n.sCount[r]-n.blkIndent>=4){r++,o=r;continue}break}n.line=o;const f=n.push("code_block","code",0);return f.content=n.getLines(a,o,4+n.blkIndent,!1)+`
|
|
33
|
-
`,f.map=[a,n.line],!0}function Qy(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4||o+3>f)return!1;const m=n.src.charCodeAt(o);if(m!==126&&m!==96)return!1;let p=o;o=n.skipChars(o,m);let b=o-p;if(b<3)return!1;const v=n.src.slice(p,o),_=n.src.slice(o,f);if(m===96&&_.indexOf(String.fromCharCode(m))>=0)return!1;if(r)return!0;let y=a,D=!1;for(;y++,!(y>=s||(o=p=n.bMarks[y]+n.tShift[y],f=n.eMarks[y],o<f&&n.sCount[y]<n.blkIndent));)if(n.src.charCodeAt(o)===m&&!(n.sCount[y]-n.blkIndent>=4)&&(o=n.skipChars(o,m),!(o-p<b)&&(o=n.skipSpaces(o),!(o<f)))){D=!0;break}b=n.sCount[a],n.line=y+(D?1:0);const M=n.push("fence","code",0);return M.info=_,M.content=n.getLines(a+1,y,b,!0),M.markup=v,M.map=[a,n.line],!0}function Iy(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];const m=n.lineMax;if(n.sCount[a]-n.blkIndent>=4||n.src.charCodeAt(o)!==62)return!1;if(r)return!0;const p=[],b=[],v=[],_=[],y=n.md.block.ruler.getRules("blockquote"),D=n.parentType;n.parentType="blockquote";let M=!1,A;for(A=a;A<s;A++){const le=n.sCount[A]<n.blkIndent;if(o=n.bMarks[A]+n.tShift[A],f=n.eMarks[A],o>=f)break;if(n.src.charCodeAt(o++)===62&&!le){let Q=n.sCount[A]+1,te,P;n.src.charCodeAt(o)===32?(o++,Q++,P=!1,te=!0):n.src.charCodeAt(o)===9?(te=!0,(n.bsCount[A]+Q)%4===3?(o++,Q++,P=!1):P=!0):te=!1;let ae=Q;for(p.push(n.bMarks[A]),n.bMarks[A]=o;o<f;){const $e=n.src.charCodeAt(o);if(Ke($e))$e===9?ae+=4-(ae+n.bsCount[A]+(P?1:0))%4:ae++;else break;o++}M=o>=f,b.push(n.bsCount[A]),n.bsCount[A]=n.sCount[A]+1+(te?1:0),v.push(n.sCount[A]),n.sCount[A]=ae-Q,_.push(n.tShift[A]),n.tShift[A]=o-n.bMarks[A];continue}if(M)break;let G=!1;for(let Q=0,te=y.length;Q<te;Q++)if(y[Q](n,A,s,!0)){G=!0;break}if(G){n.lineMax=A,n.blkIndent!==0&&(p.push(n.bMarks[A]),b.push(n.bsCount[A]),_.push(n.tShift[A]),v.push(n.sCount[A]),n.sCount[A]-=n.blkIndent);break}p.push(n.bMarks[A]),b.push(n.bsCount[A]),_.push(n.tShift[A]),v.push(n.sCount[A]),n.sCount[A]=-1}const L=n.blkIndent;n.blkIndent=0;const V=n.push("blockquote_open","blockquote",1);V.markup=">";const J=[a,0];V.map=J,n.md.block.tokenize(n,a,A);const fe=n.push("blockquote_close","blockquote",-1);fe.markup=">",n.lineMax=m,n.parentType=D,J[1]=n.line;for(let le=0;le<_.length;le++)n.bMarks[le+a]=p[le],n.tShift[le+a]=_[le],n.sCount[le+a]=v[le],n.bsCount[le+a]=b[le];return n.blkIndent=L,!0}function Ky(n,a,s,r){const o=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4)return!1;let f=n.bMarks[a]+n.tShift[a];const m=n.src.charCodeAt(f++);if(m!==42&&m!==45&&m!==95)return!1;let p=1;for(;f<o;){const v=n.src.charCodeAt(f++);if(v!==m&&!Ke(v))return!1;v===m&&p++}if(p<3)return!1;if(r)return!0;n.line=a+1;const b=n.push("hr","hr",0);return b.map=[a,n.line],b.markup=Array(p+1).join(String.fromCharCode(m)),!0}function am(n,a){const s=n.eMarks[a];let r=n.bMarks[a]+n.tShift[a];const o=n.src.charCodeAt(r++);if(o!==42&&o!==45&&o!==43)return-1;if(r<s){const f=n.src.charCodeAt(r);if(!Ke(f))return-1}return r}function im(n,a){const s=n.bMarks[a]+n.tShift[a],r=n.eMarks[a];let o=s;if(o+1>=r)return-1;let f=n.src.charCodeAt(o++);if(f<48||f>57)return-1;for(;;){if(o>=r)return-1;if(f=n.src.charCodeAt(o++),f>=48&&f<=57){if(o-s>=10)return-1;continue}if(f===41||f===46)break;return-1}return o<r&&(f=n.src.charCodeAt(o),!Ke(f))?-1:o}function $y(n,a){const s=n.level+2;for(let r=a+2,o=n.tokens.length-2;r<o;r++)n.tokens[r].level===s&&n.tokens[r].type==="paragraph_open"&&(n.tokens[r+2].hidden=!0,n.tokens[r].hidden=!0,r+=2)}function Jy(n,a,s,r){let o,f,m,p,b=a,v=!0;if(n.sCount[b]-n.blkIndent>=4||n.listIndent>=0&&n.sCount[b]-n.listIndent>=4&&n.sCount[b]<n.blkIndent)return!1;let _=!1;r&&n.parentType==="paragraph"&&n.sCount[b]>=n.blkIndent&&(_=!0);let y,D,M;if((M=im(n,b))>=0){if(y=!0,m=n.bMarks[b]+n.tShift[b],D=Number(n.src.slice(m,M-1)),_&&D!==1)return!1}else if((M=am(n,b))>=0)y=!1;else return!1;if(_&&n.skipSpaces(M)>=n.eMarks[b])return!1;if(r)return!0;const A=n.src.charCodeAt(M-1),L=n.tokens.length;y?(p=n.push("ordered_list_open","ol",1),D!==1&&(p.attrs=[["start",D]])):p=n.push("bullet_list_open","ul",1);const V=[b,0];p.map=V,p.markup=String.fromCharCode(A);let J=!1;const fe=n.md.block.ruler.getRules("list"),le=n.parentType;for(n.parentType="list";b<s;){f=M,o=n.eMarks[b];const G=n.sCount[b]+M-(n.bMarks[b]+n.tShift[b]);let Q=G;for(;f<o;){const Me=n.src.charCodeAt(f);if(Me===9)Q+=4-(Q+n.bsCount[b])%4;else if(Me===32)Q++;else break;f++}const te=f;let P;te>=o?P=1:P=Q-G,P>4&&(P=1);const ae=G+P;p=n.push("list_item_open","li",1),p.markup=String.fromCharCode(A);const $e=[b,0];p.map=$e,y&&(p.info=n.src.slice(m,M-1));const ce=n.tight,he=n.tShift[b],je=n.sCount[b],eu=n.listIndent;if(n.listIndent=n.blkIndent,n.blkIndent=ae,n.tight=!0,n.tShift[b]=te-n.bMarks[b],n.sCount[b]=Q,te>=o&&n.isEmpty(b+1)?n.line=Math.min(n.line+2,s):n.md.block.tokenize(n,b,s,!0),(!n.tight||J)&&(v=!1),J=n.line-b>1&&n.isEmpty(n.line-1),n.blkIndent=n.listIndent,n.listIndent=eu,n.tShift[b]=he,n.sCount[b]=je,n.tight=ce,p=n.push("list_item_close","li",-1),p.markup=String.fromCharCode(A),b=n.line,$e[1]=b,b>=s||n.sCount[b]<n.blkIndent||n.sCount[b]-n.blkIndent>=4)break;let Je=!1;for(let Me=0,W=fe.length;Me<W;Me++)if(fe[Me](n,b,s,!0)){Je=!0;break}if(Je)break;if(y){if(M=im(n,b),M<0)break;m=n.bMarks[b]+n.tShift[b]}else if(M=am(n,b),M<0)break;if(A!==n.src.charCodeAt(M-1))break}return y?p=n.push("ordered_list_close","ol",-1):p=n.push("bullet_list_close","ul",-1),p.markup=String.fromCharCode(A),V[1]=b,n.line=b,n.parentType=le,v&&$y(n,L),!0}const J0=999;function Wy(n){let a=n.length;for(let s=0;s<n.length-1;s++){const r=n.charCodeAt(s);if(r<55296||r>56319)continue;const o=n.charCodeAt(s+1);o>=56320&&o<=57343&&(a--,s++)}return a}function rc(n,a){return Math.min(n.eMarks[a]+1,n.src.length)}function us(n,a){const s=n.lineMax;if(a>=s||n.isEmpty(a))return-1;let r=!1;if(n.sCount[a]-n.blkIndent>3&&(r=!0),n.sCount[a]<0&&(r=!0),!r){const o=n.md.block.ruler.getRules("reference"),f=n.parentType;n.parentType="reference";let m=!1;for(let p=0,b=o.length;p<b;p++)if(o[p](n,a,s,!0)){m=!0;break}if(n.parentType=f,m)return-1}return n.bMarks[a]+n.tShift[a]}function Py(n,a,s,r){const o=n.src;let f=n.bMarks[a]+n.tShift[a],m=a+1;if(n.sCount[a]-n.blkIndent>=4||o.charCodeAt(f)!==91)return!1;let p=rc(n,a),b="",v=-1,_=++f;for(;f<p;){if(b.length+f-_>J0*2)return!1;let G=o.charCodeAt(f);if(G===91)return!1;if(G===93){v=f;break}if(G===92&&(G=o.charCodeAt(++f)),G===10&&f<p){const Q=us(n,m);if(Q<0)return!1;b+=o.slice(_,p),f=_=Q,p=rc(n,m++);continue}f++}if(v<0||o.charCodeAt(v+1)!==58||(b+=o.slice(_,v),b.length>J0&&Wy(b)>J0))return!1;for(f=v+2;f<p;){const G=o.charCodeAt(f);if(G===10){const Q=us(n,m);if(Q<0)break;f=Q,p=rc(n,m++)}else if(Ke(G))f++;else break}const y=n.md.helpers.parseLinkDestination(o,f,p);if(!y.ok)return!1;const D=n.md.normalizeLink(y.str);if(!n.md.validateLink(D))return!1;f=y.pos;const M=f,A=p,L=m;for(;f<p;){const G=o.charCodeAt(f);if(G===10){const Q=us(n,m);if(Q<0)break;f=Q,p=rc(n,m++)}else if(Ke(G))f++;else break}const V=f;let J=n.md.helpers.parseLinkTitle(o,f,p);for(;J.can_continue;){const G=us(n,m);if(G<0)break;f=G,p=rc(n,m++),J=n.md.helpers.parseLinkTitle(o,f,p,J)}let fe;for(V!==M&&J.ok?(fe=J.str,f=J.pos):(fe="",f=M,p=A,m=L);f<p;){const G=o.charCodeAt(f);if(!Ke(G))break;f++}if(f<p&&o.charCodeAt(f)!==10&&fe)for(fe="",f=M,p=A,m=L;f<p;){const G=o.charCodeAt(f);if(!Ke(G))break;f++}if(f<p&&o.charCodeAt(f)!==10)return!1;const le=ms(b);return le?(r||(typeof n.env.references>"u"&&(n.env.references={}),typeof n.env.references[le]>"u"&&(n.env.references[le]={title:fe,href:D}),n.line=m),!0):!1}const e4=["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"],u4="[a-zA-Z_:][a-zA-Z0-9:._-]*",t4="[^\"'=<>`\\x00-\\x20]+",n4="'[^']*'",l4='"[^"]*"',a4="(?:"+t4+"|"+n4+"|"+l4+")",i4="(?:\\s+"+u4+"(?:\\s*=\\s*"+a4+")?)",c4="<[A-Za-z][A-Za-z0-9\\-]*"+i4+"*\\s*\\/?>",r4="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Wm=new RegExp("^(?:"+c4+"|"+r4+")"),ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+e4.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Wm.source+"\\s*$"),/^$/,!1]];function s4(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4||!n.md.options.html||n.src.charCodeAt(o)!==60)return!1;let m=n.src.slice(o,f),p=0;for(;p<ea.length&&!ea[p][0].test(m);p++);if(p===ea.length)return!1;if(r)return ea[p][2];let b=a+1;const v=ea[p][1].test("");if(!ea[p][1].test(m)){for(;b<s&&!(n.sCount[b]<n.blkIndent&&(v||!n.isEmpty(b)));b++)if(o=n.bMarks[b]+n.tShift[b],f=n.eMarks[b],m=n.src.slice(o,f),ea[p][1].test(m)){m.length!==0&&b++;break}}n.line=b;const _=n.push("html_block","",0);return _.map=[a,b],_.content=n.getLines(a,b,n.blkIndent,!0),!0}function o4(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4)return!1;let m=n.src.charCodeAt(o);if(m!==35||o>=f)return!1;let p=1;for(m=n.src.charCodeAt(++o);m===35&&o<f&&p<=6;)p++,m=n.src.charCodeAt(++o);if(p>6||o<f&&!Ke(m))return!1;if(r)return!0;f=n.skipSpacesBack(f,o);const b=n.skipCharsBack(f,35,o);b>o&&Ke(n.src.charCodeAt(b-1))&&(f=b),n.line=a+1;const v=n.push("heading_open","h"+String(p),1);v.markup="########".slice(0,p),v.map=[a,n.line];const _=n.push("inline","",0);_.content=ps(n.src.slice(o,f)),_.map=[a,n.line],_.children=[];const y=n.push("heading_close","h"+String(p),-1);return y.markup="########".slice(0,p),!0}function f4(n,a,s){const r=n.md.block.ruler.getRules("paragraph");if(n.sCount[a]-n.blkIndent>=4)return!1;const o=n.parentType;n.parentType="paragraph";let f=0,m,p=a+1;for(;p<s&&!n.isEmpty(p);p++){if(n.sCount[p]-n.blkIndent>3)continue;if(n.sCount[p]>=n.blkIndent){let M=n.bMarks[p]+n.tShift[p];const A=n.eMarks[p];if(M<A&&(m=n.src.charCodeAt(M),(m===45||m===61)&&(M=n.skipChars(M,m),M=n.skipSpaces(M),M>=A))){f=m===61?1:2;break}}if(n.sCount[p]<0)continue;let D=!1;for(let M=0,A=r.length;M<A;M++)if(r[M](n,p,s,!0)){D=!0;break}if(D)break}if(!f)return n.parentType=o,!1;const b=ps(n.getLines(a,p,n.blkIndent,!1));n.line=p+1;const v=n.push("heading_open","h"+String(f),1);v.markup=String.fromCharCode(m),v.map=[a,n.line];const _=n.push("inline","",0);_.content=b,_.map=[a,n.line-1],_.children=[];const y=n.push("heading_close","h"+String(f),-1);return y.markup=String.fromCharCode(m),n.parentType=o,!0}function d4(n,a,s){const r=n.md.block.ruler.getRules("paragraph"),o=n.parentType;let f=a+1;for(n.parentType="paragraph";f<s&&!n.isEmpty(f);f++){if(n.sCount[f]-n.blkIndent>3||n.sCount[f]<0)continue;let v=!1;for(let _=0,y=r.length;_<y;_++)if(r[_](n,f,s,!0)){v=!0;break}if(v)break}const m=ps(n.getLines(a,f,n.blkIndent,!1));n.line=f;const p=n.push("paragraph_open","p",1);p.map=[a,n.line];const b=n.push("inline","",0);return b.content=m,b.map=[a,n.line],b.children=[],n.push("paragraph_close","p",-1),n.parentType=o,!0}const ts=[["table",Zy,["paragraph","reference"]],["code",Xy],["fence",Qy,["paragraph","reference","blockquote","list"]],["blockquote",Iy,["paragraph","reference","blockquote","list"]],["hr",Ky,["paragraph","reference","blockquote","list"]],["list",Jy,["paragraph","reference","blockquote"]],["reference",Py],["html_block",s4,["paragraph","reference","blockquote"]],["heading",o4,["paragraph","reference","blockquote"]],["lheading",f4],["paragraph",d4]];function bs(){this.ruler=new nt;for(let n=0;n<ts.length;n++)this.ruler.push(ts[n][0],ts[n][1],{alt:(ts[n][2]||[]).slice()})}bs.prototype.tokenize=function(n,a,s){const r=this.ruler.getRules(""),o=r.length,f=n.md.options.maxNesting;let m=a,p=!1;for(;m<s&&(n.line=m=n.skipEmptyLines(m),!(m>=s||n.sCount[m]<n.blkIndent));){if(n.level>=f){n.line=s;break}const b=n.line;let v=!1;for(let _=0;_<o;_++)if(v=r[_](n,m,s,!1),v){if(b>=n.line)throw new Error("block rule didn't increment state.line");break}if(!v)throw new Error("none of the block rules matched");n.tight=!p,n.isEmpty(n.line-1)&&(p=!0),m=n.line,m<s&&n.isEmpty(m)&&(p=!0,m++,n.line=m)}};bs.prototype.parse=function(n,a,s,r){if(!n)return;const o=new this.State(n,a,s,r);this.tokenize(o,o.line,o.lineMax)};bs.prototype.State=an;function Ec(n,a,s,r){this.src=n,this.env=s,this.md=a,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.skipHtmlSpecial=!1,this.linkLevel=0}Ec.prototype.pushPending=function(){const n=new Ft("text","",0);return n.content=this.pending,n.level=this.pendingLevel,this.tokens.push(n),this.pending="",n};Ec.prototype.push=function(n,a,s){this.pending&&this.pushPending();const r=new Ft(n,a,s);let o=null;return s<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,s>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};Ec.prototype.scanDelims=function(n,a){const s=this.posMax,r=this.src.charCodeAt(n);let o;if(n===0)o=32;else if(n===1)o=this.src.charCodeAt(0),(o&63488)===55296&&(o=65533);else if(o=this.src.charCodeAt(n-1),(o&64512)===56320){const V=this.src.charCodeAt(n-2);o=(V&64512)===55296?65536+(V-55296<<10)+(o-56320):65533}else(o&64512)===55296&&(o=65533);let f=n;for(;f<s&&this.src.charCodeAt(f)===r;)f++;const m=f-n;let p=f<s?this.src.charCodeAt(f):32;if((p&64512)===55296){const V=this.src.charCodeAt(f+1);p=(V&64512)===56320?65536+(p-55296<<10)+(V-56320):65533}else(p&64512)===56320&&(p=65533);const b=xc(o)||yc(o),v=xc(p)||yc(p),_=gc(o),y=gc(p),D=!y&&(!v||_||b),M=!_&&(!b||y||v);return{can_open:D&&(a||!M||b),can_close:M&&(a||!D||v),length:m}};Ec.prototype.Token=Ft;function h4(n){switch(n){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function m4(n,a){let s=n.pos;for(;s<n.posMax&&!h4(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(a||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)}function p4(n){return n>=65&&n<=90||n>=97&&n<=122}function b4(n){return n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===43||n===45||n===46}function g4(n,a){if(!n.md.options.linkify||n.linkLevel>0)return!1;const s=n.pos,r=n.posMax;if(s+3>r||n.src.charCodeAt(s)!==58||n.src.charCodeAt(s+1)!==47||n.src.charCodeAt(s+2)!==47)return!1;const o=s-Math.min(10,n.pending.length,s);let f=s;for(;f>o&&b4(n.src.charCodeAt(f-1));)f--;if(f===s||!p4(n.src.charCodeAt(f)))return!1;const m=s-f,p=n.md.linkify.matchAtStart(n.src.slice(f));if(!p)return!1;let b=p.url;if(b.length<=m)return!1;let v=b.length;for(;v>0&&b.charCodeAt(v-1)===42;)v--;v!==b.length&&(b=b.slice(0,v));const _=n.md.normalizeLink(b);if(!n.md.validateLink(_))return!1;if(!a){n.pending=n.pending.slice(0,-m);const y=n.push("link_open","a",1);y.attrs=[["href",_]],y.markup="linkify",y.info="auto";const D=n.push("text","",0);D.content=n.md.normalizeLinkText(b);const M=n.push("link_close","a",-1);M.markup="linkify",M.info="auto"}return n.pos+=b.length-m,!0}function y4(n,a){let s=n.pos;if(n.src.charCodeAt(s)!==10)return!1;const r=n.pending.length-1,o=n.posMax;if(!a)if(r>=0&&n.pending.charCodeAt(r)===32)if(r>=1&&n.pending.charCodeAt(r-1)===32){let f=r-1;for(;f>=1&&n.pending.charCodeAt(f-1)===32;)f--;n.pending=n.pending.slice(0,f),n.push("hardbreak","br",0)}else n.pending=n.pending.slice(0,-1),n.push("softbreak","br",0);else n.push("softbreak","br",0);for(s++;s<o&&Ke(n.src.charCodeAt(s));)s++;return n.pos=s,!0}const Df=[];for(let n=0;n<256;n++)Df.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){Df[n.charCodeAt(0)]=1});function x4(n,a){let s=n.pos;const r=n.posMax;if(n.src.charCodeAt(s)!==92||(s++,s>=r))return!1;let o=n.src.charCodeAt(s);if(o===10){for(a||n.push("hardbreak","br",0),s++;s<r&&(o=n.src.charCodeAt(s),!!Ke(o));)s++;return n.pos=s,!0}if(o===32){if(!a){const p=n.push("text_special","",0);p.content="\\",p.markup="\\",p.info="escape"}return n.pos=s,!0}let f=n.src[s];if(o>=55296&&o<=56319&&s+1<r){const p=n.src.charCodeAt(s+1);p>=56320&&p<=57343&&(f+=n.src[s+1],s++)}const m="\\"+f;if(!a){const p=n.push("text_special","",0);o<256&&Df[o]!==0?p.content=f:p.content=m,p.markup=m,p.info="escape"}return n.pos=s+1,!0}function v4(n,a){let s=n.pos;if(n.src.charCodeAt(s)!==96)return!1;const o=s;s++;const f=n.posMax;for(;s<f&&n.src.charCodeAt(s)===96;)s++;const m=n.src.slice(o,s),p=m.length;if(n.backticksScanned&&(n.backticks[p]||0)<=o)return a||(n.pending+=m),n.pos+=p,!0;let b=s,v;for(;(v=n.src.indexOf("`",b))!==-1;){for(b=v+1;b<f&&n.src.charCodeAt(b)===96;)b++;const _=b-v;if(_===p){if(!a){const y=n.push("code_inline","code",0);y.markup=m,y.content=n.src.slice(s,v).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return n.pos=b,!0}n.backticks[_]=v}return n.backticksScanned=!0,a||(n.pending+=m),n.pos+=p,!0}function _4(n,a){const s=n.pos,r=n.src.charCodeAt(s);if(a||r!==126)return!1;const o=n.scanDelims(n.pos,!0);let f=o.length;const m=String.fromCharCode(r);if(f<2)return!1;let p;f%2&&(p=n.push("text","",0),p.content=m,f--);for(let b=0;b<f;b+=2)p=n.push("text","",0),p.content=m+m,n.delimiters.push({marker:r,length:0,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0}function cm(n,a){let s;const r=[],o=a.length;for(let f=0;f<o;f++){const m=a[f];if(m.marker!==126||m.end===-1)continue;const p=a[m.end];s=n.tokens[m.token],s.type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",s=n.tokens[p.token],s.type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="",n.tokens[p.token-1].type==="text"&&n.tokens[p.token-1].content==="~"&&r.push(p.token-1)}for(;r.length;){const f=r.pop();let m=f+1;for(;m<n.tokens.length&&n.tokens[m].type==="s_close";)m++;m--,f!==m&&(s=n.tokens[m],n.tokens[m]=n.tokens[f],n.tokens[f]=s)}}function E4(n){const a=n.tokens_meta,s=n.tokens_meta.length;cm(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&cm(n,a[r].delimiters)}const Pm={tokenize:_4,postProcess:E4};function S4(n,a){const s=n.pos,r=n.src.charCodeAt(s);if(a||r!==95&&r!==42)return!1;const o=n.scanDelims(n.pos,r===42);for(let f=0;f<o.length;f++){const m=n.push("text","",0);m.content=String.fromCharCode(r),n.delimiters.push({marker:r,length:o.length,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return n.pos+=o.length,!0}function rm(n,a){const s=a.length;for(let r=s-1;r>=0;r--){const o=a[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const f=a[o.end],m=r>0&&a[r-1].end===o.end+1&&a[r-1].marker===o.marker&&a[r-1].token===o.token-1&&a[o.end+1].token===f.token+1,p=String.fromCharCode(o.marker),b=n.tokens[o.token];b.type=m?"strong_open":"em_open",b.tag=m?"strong":"em",b.nesting=1,b.markup=m?p+p:p,b.content="";const v=n.tokens[f.token];v.type=m?"strong_close":"em_close",v.tag=m?"strong":"em",v.nesting=-1,v.markup=m?p+p:p,v.content="",m&&(n.tokens[a[r-1].token].content="",n.tokens[a[o.end+1].token].content="",r--)}}function A4(n){const a=n.tokens_meta,s=n.tokens_meta.length;rm(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&rm(n,a[r].delimiters)}const ep={tokenize:S4,postProcess:A4};function T4(n,a){let s,r,o,f,m="",p="",b=n.pos,v=!0;if(n.src.charCodeAt(n.pos)!==91)return!1;const _=n.pos,y=n.posMax,D=n.pos+1,M=n.md.helpers.parseLinkLabel(n,n.pos,!0);if(M<0)return!1;let A=M+1;if(A<y&&n.src.charCodeAt(A)===40){for(v=!1,A++;A<y&&(s=n.src.charCodeAt(A),!(!Ke(s)&&s!==10));A++);if(A>=y)return!1;if(b=A,o=n.md.helpers.parseLinkDestination(n.src,A,n.posMax),o.ok){for(m=n.md.normalizeLink(o.str),n.md.validateLink(m)?A=o.pos:m="",b=A;A<y&&(s=n.src.charCodeAt(A),!(!Ke(s)&&s!==10));A++);if(o=n.md.helpers.parseLinkTitle(n.src,A,n.posMax),A<y&&b!==A&&o.ok)for(p=o.str,A=o.pos;A<y&&(s=n.src.charCodeAt(A),!(!Ke(s)&&s!==10));A++);}(A>=y||n.src.charCodeAt(A)!==41)&&(v=!0),A++}if(v){if(typeof n.env.references>"u")return!1;if(A<y&&n.src.charCodeAt(A)===91?(b=A+1,A=n.md.helpers.parseLinkLabel(n,A),A>=0?r=n.src.slice(b,A++):A=M+1):A=M+1,r||(r=n.src.slice(D,M)),f=n.env.references[ms(r)],!f)return n.pos=_,!1;m=f.href,p=f.title}if(!a){n.pos=D,n.posMax=M;const L=n.push("link_open","a",1),V=[["href",m]];L.attrs=V,p&&V.push(["title",p]),n.linkLevel++,n.md.inline.tokenize(n),n.linkLevel--,n.push("link_close","a",-1)}return n.pos=A,n.posMax=y,!0}function C4(n,a){let s,r,o,f,m,p,b,v,_="";const y=n.pos,D=n.posMax;if(n.src.charCodeAt(n.pos)!==33||n.src.charCodeAt(n.pos+1)!==91)return!1;const M=n.pos+2,A=n.md.helpers.parseLinkLabel(n,n.pos+1,!1);if(A<0)return!1;if(f=A+1,f<D&&n.src.charCodeAt(f)===40){for(f++;f<D&&(s=n.src.charCodeAt(f),!(!Ke(s)&&s!==10));f++);if(f>=D)return!1;for(v=f,p=n.md.helpers.parseLinkDestination(n.src,f,n.posMax),p.ok&&(_=n.md.normalizeLink(p.str),n.md.validateLink(_)?f=p.pos:_=""),v=f;f<D&&(s=n.src.charCodeAt(f),!(!Ke(s)&&s!==10));f++);if(p=n.md.helpers.parseLinkTitle(n.src,f,n.posMax),f<D&&v!==f&&p.ok)for(b=p.str,f=p.pos;f<D&&(s=n.src.charCodeAt(f),!(!Ke(s)&&s!==10));f++);else b="";if(f>=D||n.src.charCodeAt(f)!==41)return n.pos=y,!1;f++}else{if(typeof n.env.references>"u")return!1;if(f<D&&n.src.charCodeAt(f)===91?(v=f+1,f=n.md.helpers.parseLinkLabel(n,f),f>=0?o=n.src.slice(v,f++):f=A+1):f=A+1,o||(o=n.src.slice(M,A)),m=n.env.references[ms(o)],!m)return n.pos=y,!1;_=m.href,b=m.title}if(!a){r=n.src.slice(M,A);const L=[];n.md.inline.parse(r,n.md,n.env,L);const V=n.push("image","img",0),J=[["src",_],["alt",""]];V.attrs=J,V.children=L,V.content=r,b&&J.push(["title",b])}return n.pos=f,n.posMax=D,!0}const D4=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,N4=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function k4(n,a){let s=n.pos;if(n.src.charCodeAt(s)!==60)return!1;const r=n.pos,o=n.posMax;for(;;){if(++s>=o)return!1;const m=n.src.charCodeAt(s);if(m===60)return!1;if(m===62)break}const f=n.src.slice(r+1,s);if(N4.test(f)){const m=n.md.normalizeLink(f);if(!n.md.validateLink(m))return!1;if(!a){const p=n.push("link_open","a",1);p.attrs=[["href",m]],p.markup="autolink",p.info="auto";const b=n.push("text","",0);b.content=n.md.normalizeLinkText(f);const v=n.push("link_close","a",-1);v.markup="autolink",v.info="auto"}return n.pos+=f.length+2,!0}if(D4.test(f)){const m=n.md.normalizeLink("mailto:"+f);if(!n.md.validateLink(m))return!1;if(!a){const p=n.push("link_open","a",1);p.attrs=[["href",m]],p.markup="autolink",p.info="auto";const b=n.push("text","",0);b.content=n.md.normalizeLinkText(f);const v=n.push("link_close","a",-1);v.markup="autolink",v.info="auto"}return n.pos+=f.length+2,!0}return!1}function O4(n){return/^<a[>\s]/i.test(n)}function z4(n){return/^<\/a\s*>/i.test(n)}function up(n){const a=n|32;return a>=97&&a<=122}function j4(n,a){const s=n.src;let r,o;if(s.startsWith("<!--",a)){if(s.startsWith(">",a+4))return a+5;if(s.startsWith("->",a+4))return a+6;r=a+4,o="-->"}else if(s.startsWith("<![CDATA[",a))r=a+9,o="]]>";else if(s.charCodeAt(a+1)===63)r=a+2,o="?>";else if(up(s.charCodeAt(a+2)))r=a+3,o=">";else return-1;if(n.skipHtmlSpecial)return-1;const f=s.indexOf(o,r);return f<0?(n.skipHtmlSpecial=!0,-1):f+o.length}function M4(n,a){if(!n.md.options.html)return!1;const s=n.posMax,r=n.pos;if(n.src.charCodeAt(r)!==60||r+2>=s)return!1;let o;const f=n.src.charCodeAt(r+1);if(f===33||f===63)o=j4(n,r);else if(f===47||up(f)){const m=n.src.slice(r).match(Wm);o=m?r+m[0].length:-1}else return!1;if(o<0)return!1;if(!a){const m=n.push("html_inline","",0);m.content=n.src.slice(r,o),O4(m.content)&&n.linkLevel++,z4(m.content)&&n.linkLevel--}return n.pos=o,!0}const R4=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,w4=/^&([a-z][a-z0-9]{1,31});/i;function L4(n,a){const s=n.pos,r=n.posMax;if(n.src.charCodeAt(s)!==38||s+1>=r)return!1;if(n.src.charCodeAt(s+1)===35){const f=n.src.slice(s).match(R4);if(f){if(!a){const m=f[1][0].toLowerCase()==="x"?parseInt(f[1].slice(1),16):parseInt(f[1],10),p=n.push("text_special","",0);p.content=Tf(m)?bc(m):bc(65533),p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}else{const f=n.src.slice(s).match(w4);if(f){const m=uy(f[0]);if(m!==f[0]){if(!a){const p=n.push("text_special","",0);p.content=m,p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}}return!1}function sm(n){const a={},s=n.length;if(!s)return;let r=0,o=-2;const f=[];for(let m=0;m<s;m++){const p=n[m];if(f.push(0),(n[r].marker!==p.marker||o!==p.token-1)&&(r=m),o=p.token,p.length=p.length||0,!p.close)continue;a.hasOwnProperty(p.marker)||(a[p.marker]=[-1,-1,-1,-1,-1,-1]);const b=a[p.marker][(p.open?3:0)+p.length%3];let v=r-f[r]-1,_=v;for(;v>b;v-=f[v]+1){const y=n[v];if(y.marker===p.marker&&y.open&&y.end<0){let D=!1;if((y.close||p.open)&&(y.length+p.length)%3===0&&(y.length%3!==0||p.length%3!==0)&&(D=!0),!D){const M=v>0&&!n[v-1].open?f[v-1]+1:0;f[m]=m-v+M,f[v]=M,p.open=!1,y.end=m,y.close=!1,_=-1,o=-2;break}}}_!==-1&&(a[p.marker][(p.open?3:0)+(p.length||0)%3]=_)}}function U4(n){const a=n.tokens_meta,s=n.tokens_meta.length;sm(n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&sm(a[r].delimiters)}function F4(n){let a,s,r=0;const o=n.tokens,f=n.tokens.length;for(a=s=0;a<f;a++)o[a].nesting<0&&r--,o[a].level=r,o[a].nesting>0&&r++,o[a].type==="text"&&a+1<f&&o[a+1].type==="text"?o[a+1].content=o[a].content+o[a+1].content:(a!==s&&(o[s]=o[a]),s++);a!==s&&(o.length=s)}const W0=[["text",m4],["linkify",g4],["newline",y4],["escape",x4],["backticks",v4],["strikethrough",Pm.tokenize],["emphasis",ep.tokenize],["link",T4],["image",C4],["autolink",k4],["html_inline",M4],["entity",L4]],P0=[["balance_pairs",U4],["strikethrough",Pm.postProcess],["emphasis",ep.postProcess],["fragments_join",F4]];function Sc(){this.ruler=new nt;for(let n=0;n<W0.length;n++)this.ruler.push(W0[n][0],W0[n][1]);this.ruler2=new nt;for(let n=0;n<P0.length;n++)this.ruler2.push(P0[n][0],P0[n][1])}Sc.prototype.skipToken=function(n){const a=n.pos,s=this.ruler.getRules(""),r=s.length,o=n.md.options.maxNesting,f=n.cache;if(typeof f[a]<"u"){n.pos=f[a];return}let m=!1;if(n.level<o){for(let p=0;p<r;p++)if(n.level++,m=s[p](n,!0),n.level--,m){if(a>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}else n.pos=n.posMax;m||n.pos++,f[a]=n.pos};Sc.prototype.tokenize=function(n){const a=this.ruler.getRules(""),s=a.length,r=n.posMax,o=n.md.options.maxNesting;for(;n.pos<r;){const f=n.pos;let m=!1;if(n.level<o){for(let p=0;p<s;p++)if(m=a[p](n,!1),m){if(f>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}if(m){if(n.pos>=r)break;continue}n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()};Sc.prototype.parse=function(n,a,s,r){const o=new this.State(n,a,s,r);this.tokenize(o);const f=this.ruler2.getRules(""),m=f.length;for(let p=0;p<m;p++)f[p](o)};Sc.prototype.State=Ec;function B4(n){const a={};n=n||{},a.src_Any=Gm.source,a.src_Cc=Ym.source,a.src_Z=Zm.source,a.src_P=Sf.source,a.src_ZPCc=[a.src_Z,a.src_P,a.src_Cc].join("|"),a.src_ZCc=[a.src_Z,a.src_Cc].join("|");const s="[><|]";return a.src_pseudo_letter=`(?:(?!${s}|${a.src_ZPCc})${a.src_Any})`,a.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",a.src_auth=`(?:(?:(?!${a.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,a.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",a.src_host_terminator=`(?=$|${s}|${a.src_ZPCc})(?!${n["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${a.src_ZPCc}))`,a.src_path=`(?:[/?#](?:(?!${a.src_ZCc}|${s}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${a.src_ZCc}|\\]).)*\\]|\\((?:(?!${a.src_ZCc}|[)]).)*\\)|\\{(?:(?!${a.src_ZCc}|[}]).)*\\}|\\"(?:(?!${a.src_ZCc}|["]).)+\\"|\\'(?:(?!${a.src_ZCc}|[']).)+\\'|\\'(?=${a.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${a.src_ZCc}|[.]|$)|`+(n["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${a.src_ZCc}|$)|;(?!${a.src_ZCc}|$)|\\!+(?!${a.src_ZCc}|[!]|$)|\\?(?!${a.src_ZCc}|[?]|$))+|\\/)?`,a.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',a.src_xn="xn--[a-z0-9\\-]{1,59}",a.src_domain_root="(?:"+a.src_xn+`|${a.src_pseudo_letter}{1,63})`,a.src_domain="(?:"+a.src_xn+`|(?:${a.src_pseudo_letter})|(?:${a.src_pseudo_letter}(?:-|${a.src_pseudo_letter}){0,61}${a.src_pseudo_letter}))`,a.src_host=`(?:(?:(?:(?:${a.src_domain})\\.)*${a.src_domain}))`,a.tpl_host_fuzzy="(?:"+a.src_ip4+`|(?:(?:(?:${a.src_domain})\\.)+(?:%TLDS%)))`,a.tpl_host_no_ip_fuzzy=`(?:(?:(?:${a.src_domain})\\.)+(?:%TLDS%))`,a.src_host_strict=a.src_host+a.src_host_terminator,a.tpl_host_fuzzy_strict=a.tpl_host_fuzzy+a.src_host_terminator,a.src_host_port_strict=a.src_host+a.src_port+a.src_host_terminator,a.tpl_host_port_fuzzy_strict=a.tpl_host_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_port_no_ip_fuzzy_strict=a.tpl_host_no_ip_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${a.src_ZPCc}|>|$))`,a.tpl_email_fuzzy=`(^|${s}|"|\\(|${a.src_ZCc})(${a.src_email_name}@${a.tpl_host_fuzzy_strict})`,a.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${a.src_ZPCc}))((?![$+<=>^\`||])${a.tpl_host_port_fuzzy_strict}${a.src_path})`,a.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${a.src_ZPCc}))((?![$+<=>^\`||])${a.tpl_host_port_no_ip_fuzzy_strict}${a.src_path})`,a}function pf(n){return Array.prototype.slice.call(arguments,1).forEach(function(s){s&&Object.keys(s).forEach(function(r){n[r]=s[r]})}),n}function gs(n){return Object.prototype.toString.call(n)}function H4(n){return gs(n)==="[object String]"}function q4(n){return gs(n)==="[object Object]"}function G4(n){return gs(n)==="[object RegExp]"}function om(n){return gs(n)==="[object Function]"}function Y4(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const tp={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function V4(n){return Object.keys(n||{}).reduce(function(a,s){return a||tp.hasOwnProperty(s)},!1)}const Z4={"http:":{validate:function(n,a,s){const r=n.slice(a);return s.re.http||(s.re.http=new RegExp(`^\\/\\/${s.re.src_auth}${s.re.src_host_port_strict}${s.re.src_path}`,"i")),s.re.http.test(r)?r.match(s.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(n,a,s){const r=n.slice(a);return s.re.no_http||(s.re.no_http=new RegExp("^"+s.re.src_auth+`(?:localhost|(?:(?:${s.re.src_domain})\\.)+${s.re.src_domain_root})`+s.re.src_port+s.re.src_host_terminator+s.re.src_path,"i")),s.re.no_http.test(r)?a>=3&&n[a-3]===":"||a>=3&&n[a-3]==="/"?0:r.match(s.re.no_http)[0].length:0}},"mailto:":{validate:function(n,a,s){const r=n.slice(a);return s.re.mailto||(s.re.mailto=new RegExp(`^${s.re.src_email_name}@${s.re.src_host_strict}`,"i")),s.re.mailto.test(r)?r.match(s.re.mailto)[0].length:0}}},X4="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Q4="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function I4(n){return function(a,s){const r=a.slice(s);return n.test(r)?r.match(n)[0].length:0}}function fm(){return function(n,a){a.normalize(n)}}function ds(n){const a=n.re=B4(n.__opts__),s=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||s.push(X4),s.push(a.src_xn),a.src_tlds=s.join("|");function r(p){return p.replace("%TLDS%",a.src_tlds)}a.email_fuzzy=RegExp(r(a.tpl_email_fuzzy),"i"),a.email_fuzzy_global=RegExp(r(a.tpl_email_fuzzy),"ig"),a.link_fuzzy=RegExp(r(a.tpl_link_fuzzy),"i"),a.link_fuzzy_global=RegExp(r(a.tpl_link_fuzzy),"ig"),a.link_no_ip_fuzzy=RegExp(r(a.tpl_link_no_ip_fuzzy),"i"),a.link_no_ip_fuzzy_global=RegExp(r(a.tpl_link_no_ip_fuzzy),"ig"),a.host_fuzzy_test=RegExp(r(a.tpl_host_fuzzy_test),"i");const o=[];n.__compiled__={};function f(p,b){throw new Error(`(LinkifyIt) Invalid schema "${p}": ${b}`)}Object.keys(n.__schemas__).forEach(function(p){const b=n.__schemas__[p];if(b===null)return;const v={validate:null,link:null};if(n.__compiled__[p]=v,q4(b)){G4(b.validate)?v.validate=I4(b.validate):om(b.validate)?v.validate=b.validate:f(p,b),om(b.normalize)?v.normalize=b.normalize:b.normalize?f(p,b):v.normalize=fm();return}if(H4(b)){o.push(p);return}f(p,b)}),o.forEach(function(p){n.__compiled__[n.__schemas__[p]]&&(n.__compiled__[p].validate=n.__compiled__[n.__schemas__[p]].validate,n.__compiled__[p].normalize=n.__compiled__[n.__schemas__[p]].normalize)}),n.__compiled__[""]={validate:null,normalize:fm()};const m=Object.keys(n.__compiled__).filter(function(p){return p.length>0&&n.__compiled__[p]}).map(Y4).join("|");n.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${a.src_ZPCc}))(${m})`,"i"),n.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${a.src_ZPCc}))(${m})`,"ig"),n.re.schema_at_start=RegExp(`^${n.re.schema_search.source}`,"i"),n.re.pretest=RegExp(`(${n.re.schema_test.source})|(${n.re.host_fuzzy_test.source})|@`,"i")}function np(n,a,s,r){const o=n.slice(s,r);this.schema=a.toLowerCase(),this.index=s,this.lastIndex=r,this.raw=o,this.text=o,this.url=o}function mt(n,a){if(!(this instanceof mt))return new mt(n,a);a||V4(n)&&(a=n,n={}),this.__opts__=pf({},tp,a),this.__schemas__=pf({},Z4,n),this.__compiled__={},this.__tlds__=Q4,this.__tlds_replaced__=!1,this.re={},ds(this)}mt.prototype.add=function(a,s){return this.__schemas__[a]=s,ds(this),this};mt.prototype.set=function(a){return this.__opts__=pf(this.__opts__,a),this};mt.prototype.test=function(a){if(!a.length)return!1;let s,r;if(this.re.schema_test.test(a)){for(r=this.re.schema_search,r.lastIndex=0;(s=r.exec(a))!==null;)if(this.testSchemaAt(a,s[2],r.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&a.search(this.re.host_fuzzy_test)>=0&&a.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&a.indexOf("@")>=0&&a.match(this.re.email_fuzzy)!==null)};mt.prototype.pretest=function(a){return this.re.pretest.test(a)};mt.prototype.testSchemaAt=function(a,s,r){return this.__compiled__[s.toLowerCase()]?this.__compiled__[s.toLowerCase()].validate(a,r,this):0};mt.prototype.match=function(a){const s=[],r=[],o=[],f=[];let m,p,b;function v(D,M){return D?M?D.index!==M.index?D.index<M.index?D:M:D.lastIndex>=M.lastIndex?D:M:D:M}if(!a.length)return null;if(this.re.schema_test.test(a))for(b=this.re.schema_search,b.lastIndex=0;(m=b.exec(a))!==null;)p=this.testSchemaAt(a,m[2],b.lastIndex),p&&r.push({schema:m[2],index:m.index+m[1].length,lastIndex:m.index+m[0].length+p});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(b=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,b.lastIndex=0;(m=b.exec(a))!==null;)o.push({schema:"",index:m.index+m[1].length,lastIndex:m.index+m[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(b=this.re.email_fuzzy_global,b.lastIndex=0;(m=b.exec(a))!==null;)f.push({schema:"mailto:",index:m.index+m[1].length,lastIndex:m.index+m[0].length});const _=[0,0,0];let y=0;for(;;){const D=[r[_[0]],f[_[1]],o[_[2]]],M=v(v(D[0],D[1]),D[2]);if(!M)break;if(M===D[0]?_[0]++:M===D[1]?_[1]++:_[2]++,M.index<y)continue;const A=new np(a,M.schema,M.index,M.lastIndex);this.__compiled__[A.schema].normalize(A,this),s.push(A),y=M.lastIndex}return s.length?s:null};mt.prototype.matchAtStart=function(a){if(!a.length)return null;const s=this.re.schema_at_start.exec(a);if(!s)return null;const r=this.testSchemaAt(a,s[2],s[0].length);if(!r)return null;const o=new np(a,s[2],s.index+s[1].length,s.index+s[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};mt.prototype.tlds=function(a,s){return a=Array.isArray(a)?a:[a],s?(this.__tlds__=this.__tlds__.concat(a).sort().filter(function(r,o,f){return r!==f[o-1]}).reverse(),ds(this),this):(this.__tlds__=a.slice(),this.__tlds_replaced__=!0,ds(this),this)};mt.prototype.normalize=function(a){a.schema||(a.url=`http://${a.url}`),a.schema==="mailto:"&&!/^mailto:/i.test(a.url)&&(a.url=`mailto:${a.url}`)};mt.prototype.onCompile=function(){};const ti=2147483647,tn=36,Nf=1,vc=26,K4=38,$4=700,lp=72,ap=128,ip="-",J4=/^xn--/,W4=/[^\0-\x7F]/,P4=/[\x2E\u3002\uFF0E\uFF61]/g,ex={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ef=tn-Nf,nn=Math.floor,uf=String.fromCharCode;function gl(n){throw new RangeError(ex[n])}function ux(n,a){const s=[];let r=n.length;for(;r--;)s[r]=a(n[r]);return s}function cp(n,a){const s=n.split("@");let r="";s.length>1&&(r=s[0]+"@",n=s[1]),n=n.replace(P4,".");const o=n.split("."),f=ux(o,a).join(".");return r+f}function rp(n){const a=[];let s=0;const r=n.length;for(;s<r;){const o=n.charCodeAt(s++);if(o>=55296&&o<=56319&&s<r){const f=n.charCodeAt(s++);(f&64512)==56320?a.push(((o&1023)<<10)+(f&1023)+65536):(a.push(o),s--)}else a.push(o)}return a}const tx=n=>String.fromCodePoint(...n),nx=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:tn},dm=function(n,a){return n+22+75*(n<26)-((a!=0)<<5)},sp=function(n,a,s){let r=0;for(n=s?nn(n/$4):n>>1,n+=nn(n/a);n>ef*vc>>1;r+=tn)n=nn(n/ef);return nn(r+(ef+1)*n/(n+K4))},op=function(n){const a=[],s=n.length;let r=0,o=ap,f=lp,m=n.lastIndexOf(ip);m<0&&(m=0);for(let p=0;p<m;++p)n.charCodeAt(p)>=128&&gl("not-basic"),a.push(n.charCodeAt(p));for(let p=m>0?m+1:0;p<s;){const b=r;for(let _=1,y=tn;;y+=tn){p>=s&&gl("invalid-input");const D=nx(n.charCodeAt(p++));D>=tn&&gl("invalid-input"),D>nn((ti-r)/_)&&gl("overflow"),r+=D*_;const M=y<=f?Nf:y>=f+vc?vc:y-f;if(D<M)break;const A=tn-M;_>nn(ti/A)&&gl("overflow"),_*=A}const v=a.length+1;f=sp(r-b,v,b==0),nn(r/v)>ti-o&&gl("overflow"),o+=nn(r/v),r%=v,a.splice(r++,0,o)}return String.fromCodePoint(...a)},fp=function(n){const a=[];n=rp(n);const s=n.length;let r=ap,o=0,f=lp;for(const b of n)b<128&&a.push(uf(b));const m=a.length;let p=m;for(m&&a.push(ip);p<s;){let b=ti;for(const _ of n)_>=r&&_<b&&(b=_);const v=p+1;b-r>nn((ti-o)/v)&&gl("overflow"),o+=(b-r)*v,r=b;for(const _ of n)if(_<r&&++o>ti&&gl("overflow"),_===r){let y=o;for(let D=tn;;D+=tn){const M=D<=f?Nf:D>=f+vc?vc:D-f;if(y<M)break;const A=y-M,L=tn-M;a.push(uf(dm(M+A%L,0))),y=nn(A/L)}a.push(uf(dm(y,0))),f=sp(o,v,p===m),o=0,++p}++o,++r}return a.join("")},lx=function(n){return cp(n,function(a){return J4.test(a)?op(a.slice(4).toLowerCase()):a})},ax=function(n){return cp(n,function(a){return W4.test(a)?"xn--"+fp(a):a})},dp={version:"2.3.1",ucs2:{decode:rp,encode:tx},decode:op,encode:fp,toASCII:ax,toUnicode:lx},ix={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},cx={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},rx={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},sx={default:ix,zero:cx,commonmark:rx},ox=/^(vbscript|javascript|file|data):/,fx=/^data:image\/(gif|png|jpeg|webp);/;function dx(n){const a=n.trim().toLowerCase();return ox.test(a)?fx.test(a):!0}const hp=["http:","https:","mailto:"];function hx(n){const a=Ef(n,!0);if(a.hostname&&(!a.protocol||hp.indexOf(a.protocol)>=0))try{a.hostname=dp.toASCII(a.hostname)}catch{}return _c(_f(a))}function mx(n){const a=Ef(n,!0);if(a.hostname&&(!a.protocol||hp.indexOf(a.protocol)>=0))try{a.hostname=dp.toUnicode(a.hostname)}catch{}return li(_f(a),li.defaultChars+"%")}function Dt(n,a){if(!(this instanceof Dt))return new Dt(n,a);a||Af(n)||(a=n||{},n="default"),this.inline=new Sc,this.block=new bs,this.core=new Cf,this.renderer=new ii,this.linkify=new mt,this.validateLink=dx,this.normalizeLink=hx,this.normalizeLinkText=mx,this.utils=yy,this.helpers=hs({},Ey),this.options={},this.configure(n),a&&this.set(a)}Dt.prototype.set=function(n){return hs(this.options,n),this};Dt.prototype.configure=function(n){const a=this;if(Af(n)){const s=n;if(n=sx[s],!n)throw new Error('Wrong `markdown-it` preset "'+s+'", check name')}if(!n)throw new Error("Wrong `markdown-it` preset, can't be empty");return n.options&&a.set(n.options),n.components&&Object.keys(n.components).forEach(function(s){n.components[s].rules&&a[s].ruler.enableOnly(n.components[s].rules),n.components[s].rules2&&a[s].ruler2.enableOnly(n.components[s].rules2)}),this};Dt.prototype.enable=function(n,a){let s=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(o){s=s.concat(this[o].ruler.enable(n,!0))},this),s=s.concat(this.inline.ruler2.enable(n,!0));const r=n.filter(function(o){return s.indexOf(o)<0});if(r.length&&!a)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Dt.prototype.disable=function(n,a){let s=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(o){s=s.concat(this[o].ruler.disable(n,!0))},this),s=s.concat(this.inline.ruler2.disable(n,!0));const r=n.filter(function(o){return s.indexOf(o)<0});if(r.length&&!a)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Dt.prototype.use=function(n){const a=[this].concat(Array.prototype.slice.call(arguments,1));return n.apply(n,a),this};Dt.prototype.parse=function(n,a){if(typeof n!="string")throw new Error("Input data should be a String");const s=new this.core.State(n,this,a);return this.core.process(s),s.tokens};Dt.prototype.render=function(n,a){return a=a||{},this.renderer.render(this.parse(n,a),this.options,a)};Dt.prototype.parseInline=function(n,a){const s=new this.core.State(n,this,a);return s.inlineMode=!0,this.core.process(s),s.tokens};Dt.prototype.renderInline=function(n,a){return a=a||{},this.renderer.render(this.parseInline(n,a),this.options,a)};function hm(n,a){(a==null||a>n.length)&&(a=n.length);for(var s=0,r=Array(a);s<a;s++)r[s]=n[s];return r}function px(n){if(Array.isArray(n))return n}function bx(n,a){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var r,o,f,m,p=[],b=!0,v=!1;try{if(f=(s=s.call(n)).next,a!==0)for(;!(b=(r=f.call(s)).done)&&(p.push(r.value),p.length!==a);b=!0);}catch(_){v=!0,o=_}finally{try{if(!b&&s.return!=null&&(m=s.return(),Object(m)!==m))return}finally{if(v)throw o}}return p}}function gx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
34
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yx(n,a){return px(n)||bx(n,a)||xx(n,a)||gx()}function xx(n,a){if(n){if(typeof n=="string")return hm(n,a);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?hm(n,a):void 0}}const mp=Object.entries,mm=Object.setPrototypeOf,vx=Object.isFrozen,pp=Object.getPrototypeOf,bp=Object.getOwnPropertyDescriptor;let Au=Object.freeze,Mu=Object.seal,ei=Object.create,gp=typeof Reflect<"u"&&Reflect,bf=gp.apply,gf=gp.construct;Au||(Au=function(a){return a});Mu||(Mu=function(a){return a});bf||(bf=function(a,s){for(var r=arguments.length,o=new Array(r>2?r-2:0),f=2;f<r;f++)o[f-2]=arguments[f];return a.apply(s,o)});gf||(gf=function(a){for(var s=arguments.length,r=new Array(s>1?s-1:0),o=1;o<s;o++)r[o-1]=arguments[o];return new a(...r)});const Tn=Pe(Array.prototype.forEach),_x=Pe(Array.prototype.lastIndexOf),pm=Pe(Array.prototype.pop),sc=Pe(Array.prototype.push),Ex=Pe(Array.prototype.slice),Sx=Pe(Array.prototype.splice),ni=Array.isArray,tf=yp(Set),nf=Pe(Set.prototype.add),oc=Pe(Set.prototype.has),ua=Pe(String.prototype.toLowerCase),lf=Pe(String.prototype.toString),bm=Pe(String.prototype.match),fc=Pe(String.prototype.replace),gm=Pe(String.prototype.indexOf),Ax=Pe(String.prototype.trim),Tx=Pe(Number.prototype.toString),Cx=Pe(Boolean.prototype.toString),ym=typeof BigInt>"u"?null:Pe(BigInt.prototype.toString),xm=typeof Symbol>"u"?null:Pe(Symbol.prototype.toString),tt=Pe(Object.prototype.hasOwnProperty),dc=Pe(Object.prototype.toString),ju=Pe(RegExp.prototype.test),Cn=yp(TypeError);function Pe(n){return function(a){a instanceof RegExp&&(a.lastIndex=0);for(var s=arguments.length,r=new Array(s>1?s-1:0),o=1;o<s;o++)r[o-1]=arguments[o];return bf(n,a,r)}}function yp(n){return function(){for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];return gf(n,s)}}function Fe(n,a){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ua;if(mm&&mm(n,null),!ni(a))return n;let r=a.length;for(;r--;){let o=a[r];if(typeof o=="string"){const f=s(o);f!==o&&(vx(a)||(a[r]=f),o=f)}n[o]=!0}return n}function Dx(n){for(let a=0;a<n.length;a++)tt(n,a)||(n[a]=null);return n}function ht(n){const a=ei(null);for(const r of mp(n)){var s=yx(r,2);const o=s[0],f=s[1];tt(n,o)&&(ni(f)?a[o]=Dx(f):f&&typeof f=="object"&&f.constructor===Object?a[o]=ht(f):a[o]=f)}return a}function Nx(n){switch(typeof n){case"string":return n;case"number":return Tx(n);case"boolean":return Cx(n);case"bigint":return ym?ym(n):"0";case"symbol":return xm?xm(n):"Symbol()";case"undefined":return dc(n);case"function":case"object":{if(n===null)return dc(n);const a=n,s=Ct(a,"toString");if(typeof s=="function"){const r=s(a);return typeof r=="string"?r:dc(r)}return dc(n)}default:return dc(n)}}function Ct(n,a){for(;n!==null;){const r=bp(n,a);if(r){if(r.get)return Pe(r.get);if(typeof r.value=="function")return Pe(r.value)}n=pp(n)}function s(){return null}return s}function kx(n,a){for(;n!==null;){const s=bp(n,a);if(s)return s.get?Pe(s.get):null;n=pp(n)}return null}function Ox(n){try{return ju(n,""),!0}catch{return!1}}const vm=Au(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),af=Au(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),cf=Au(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),zx=Au(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),rf=Au(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),jx=Au(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),_m=Au(["#text"]),Em=Au(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),sf=Au(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Sm=Au(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ns=Au(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Mx=Mu(/{{[\w\W]*|^[\w\W]*}}/g),Rx=Mu(/<%[\w\W]*|^[\w\W]*%>/g),wx=Mu(/\${[\w\W]*/g),Lx=Mu(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ux=Mu(/^aria-[\-\w]+$/),Am=Mu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fx=Mu(/^(?:\w+script|data):/i),Bx=Mu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Hx=Mu(/^html$/i),qx=Mu(/^[a-z][.\w]*(-[.\w]+)+$/i),of=Mu(/<[/\w!]/g),Tm=Mu(/<[/\w]/g),Gx=Mu(/<\/no(script|embed|frames)/i),Cm=Mu(/\/>/i),hu={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Yx=Au(Fe({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),Vx=function(){return typeof window>"u"?null:window},Zx=function(a,s){if(typeof a!="object"||typeof a.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";s&&s.hasAttribute(o)&&(r=s.getAttribute(o));const f="dompurify"+(r?"#"+r:"");try{return a.createPolicy(f,{createHTML(m){return m},createScriptURL(m){return m}})}catch{return console.warn("TrustedTypes policy "+f+" could not be created."),null}},Dm=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},bl=function(a,s,r,o){return tt(a,s)&&ni(a[s])?Fe(o.base?ht(o.base):{},a[s],o.transform):r},ff=function(a,s,r){const o=tt(a,s)?a[s]:void 0;return o&&typeof o=="object"?ht(o):r()};function xp(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vx();const a=q=>xp(q);if(a.version="3.4.17",a.removed=[],!n||!n.document||n.document.nodeType!==hu.document||!n.Element)return a.isSupported=!1,a;let s=n.document;const r=s,o=r.currentScript;n.DocumentFragment;const f=n.HTMLTemplateElement,m=n.Node,p=n.Element,b=n.NodeFilter;n.NamedNodeMap===void 0&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;const v=n.DOMParser,_=n.trustedTypes,y=p.prototype,D=Ct(y,"cloneNode"),M=Ct(y,"remove"),A=Ct(y,"removeAttributeNode"),L=Ct(y,"nextSibling"),V=Ct(y,"childNodes"),J=Ct(y,"parentNode"),fe=Ct(y,"shadowRoot"),le=Ct(y,"attributes"),G=m&&m.prototype?Ct(m.prototype,"nodeType"):null,Q=m&&m.prototype?Ct(m.prototype,"nodeName"):null,te=m&&m.prototype?Ct(m.prototype,"ownerDocument"):null,P=function(x){return G?G(x):x.nodeType},ae=function(x){return Q?Q(x):x.nodeName},$e=kx(y,"namespaceURI"),ce=function(x){return $e?$e(x):x.namespaceURI};if(typeof f=="function"){const q=s.createElement("template");q.content&&q.content.ownerDocument&&(s=q.content.ownerDocument)}let he,je="",eu,Je=!1,Me=0;const W=function(){if(Me>0)throw Cn('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},se=function(x){W(),Me++;try{return he.createHTML(x)}finally{Me--}},de=function(x){W(),Me++;try{return he.createScriptURL(x)}finally{Me--}},xe=function(){return Je||(eu=Zx(_,o),Je=!0),eu},ye=s,gu=ye.implementation,we=ye.createNodeIterator,I=ye.createDocumentFragment,T=ye.getElementsByTagName,Z=r.importNode;let K=Dm();a.isSupported=typeof mp=="function"&&typeof J=="function"&&gu&&gu.createHTMLDocument!==void 0;const ie=Mx,Se=Rx,ke=wx,Re=Lx,ee=Ux,me=Fx,Qu=Bx,_l=qx;let Nt=Am,Ce=null;const X=Fe({},[...vm,...af,...cf,...rf,..._m]);let F=null;const Ue=Fe({},[...Em,...sf,...Sm,...ns]);let nu=Object.seal(ei(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Iu=null,El=null;const lt=Object.seal(ei(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let cn=!0,Sl=!0,Al=!1,Tl=!0,pt=!1,Ru=!0,kt=!1,Cl=!1,na=null,Dl=null,Nl=!1,Bt=!1,Nn=!1,la=!1,Ac=!0,wu=!1;const Tc="user-content-";let aa=!0,ia=!1,bt=null,kn={},Ht=null;const Cc=Fe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Dc=null;const On=Fe({},["audio","video","img","source","image","track"]);let Lu=null;const Ot=Fe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yu="http://www.w3.org/1998/Math/MathML",ca="http://www.w3.org/2000/svg",gt="http://www.w3.org/1999/xhtml";let zn=gt,jn=!1,Mn=null;const ra=Fe({},[yu,ca,gt],lf),qt=Au(["mi","mo","mn","ms","mtext"]);let Rn=Fe({},qt);const wn=Au(["annotation-xml"]);let sa=Fe({},wn);const xs=Fe({},["title","style","font","a","script"]);let Ln=null;const ci=["application/xhtml+xml","text/html"],kl="text/html";let uu=null,rn=null;const Nc=s.createElement("form"),ri=function(x){return x instanceof RegExp||x instanceof Function},Ol=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(rn&&rn===x)return;(!x||typeof x!="object")&&(x={}),x=ht(x),Ln=ci.indexOf(x.PARSER_MEDIA_TYPE)===-1?kl:x.PARSER_MEDIA_TYPE,uu=Ln==="application/xhtml+xml"?lf:ua,Ce=bl(x,"ALLOWED_TAGS",X,{transform:uu}),F=bl(x,"ALLOWED_ATTR",Ue,{transform:uu}),Mn=bl(x,"ALLOWED_NAMESPACES",ra,{transform:lf}),Lu=bl(x,"ADD_URI_SAFE_ATTR",Ot,{transform:uu,base:Ot}),Dc=bl(x,"ADD_DATA_URI_TAGS",On,{transform:uu,base:On}),Ht=bl(x,"FORBID_CONTENTS",Cc,{transform:uu}),Iu=bl(x,"FORBID_TAGS",ht({}),{transform:uu}),El=bl(x,"FORBID_ATTR",ht({}),{transform:uu}),kn=tt(x,"USE_PROFILES")?x.USE_PROFILES&&typeof x.USE_PROFILES=="object"?ht(x.USE_PROFILES):x.USE_PROFILES:!1,cn=x.ALLOW_ARIA_ATTR!==!1,Sl=x.ALLOW_DATA_ATTR!==!1,Al=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Tl=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,pt=x.SAFE_FOR_TEMPLATES||!1,Ru=x.SAFE_FOR_XML!==!1,kt=x.WHOLE_DOCUMENT||!1,Bt=x.RETURN_DOM||!1,Nn=x.RETURN_DOM_FRAGMENT||!1,la=x.RETURN_TRUSTED_TYPE||!1,Nl=x.FORCE_BODY||!1,Ac=x.SANITIZE_DOM!==!1,wu=x.SANITIZE_NAMED_PROPS||!1,aa=x.KEEP_CONTENT!==!1,ia=x.IN_PLACE||!1,Nt=Ox(x.ALLOWED_URI_REGEXP)?x.ALLOWED_URI_REGEXP:Am,zn=typeof x.NAMESPACE=="string"?x.NAMESPACE:gt,Rn=ff(x,"MATHML_TEXT_INTEGRATION_POINTS",()=>Fe({},qt)),sa=ff(x,"HTML_INTEGRATION_POINTS",()=>Fe({},wn));const C=ff(x,"CUSTOM_ELEMENT_HANDLING",()=>ei(null));if(nu=ei(null),tt(C,"tagNameCheck")&&ri(C.tagNameCheck)&&(nu.tagNameCheck=C.tagNameCheck),tt(C,"attributeNameCheck")&&ri(C.attributeNameCheck)&&(nu.attributeNameCheck=C.attributeNameCheck),tt(C,"allowCustomizedBuiltInElements")&&typeof C.allowCustomizedBuiltInElements=="boolean"&&(nu.allowCustomizedBuiltInElements=C.allowCustomizedBuiltInElements),Mu(nu),pt&&(Sl=!1),Nn&&(Bt=!0),kn&&(Ce=Fe({},_m),F=ei(null),kn.html===!0&&(Fe(Ce,vm),Fe(F,Em)),kn.svg===!0&&(Fe(Ce,af),Fe(F,sf),Fe(F,ns)),kn.svgFilters===!0&&(Fe(Ce,cf),Fe(F,sf),Fe(F,ns)),kn.mathMl===!0&&(Fe(Ce,rf),Fe(F,Sm),Fe(F,ns))),lt.tagCheck=null,lt.attributeCheck=null,tt(x,"ADD_TAGS")&&(typeof x.ADD_TAGS=="function"?lt.tagCheck=x.ADD_TAGS:ni(x.ADD_TAGS)&&(Ce===X&&(Ce=ht(Ce)),Fe(Ce,x.ADD_TAGS,uu))),tt(x,"ADD_ATTR")&&(typeof x.ADD_ATTR=="function"?lt.attributeCheck=x.ADD_ATTR:ni(x.ADD_ATTR)&&(F===Ue&&(F=ht(F)),Fe(F,x.ADD_ATTR,uu))),tt(x,"ADD_FORBID_CONTENTS")&&ni(x.ADD_FORBID_CONTENTS)&&(Ht===Cc&&(Ht=ht(Ht)),Fe(Ht,x.ADD_FORBID_CONTENTS,uu)),aa&&(Ce["#text"]=!0),kt&&Fe(Ce,["html","head","body"]),Ce.table&&(Fe(Ce,["tbody"]),delete Iu.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw Cn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Cn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const H=he;he=x.TRUSTED_TYPES_POLICY;try{je=se("")}catch(B){throw he=H,B}}else x.TRUSTED_TYPES_POLICY===null?(he=void 0,je=""):(he===void 0&&(he=xe()),he&&typeof je=="string"&&(je=se("")));Au&&Au(x),rn=x},oa=Fe({},[...af,...cf,...zx]),si=Fe({},[...rf,...jx]),kc=function(x,C,H){return C.namespaceURI===gt?x==="svg":C.namespaceURI===yu?x==="svg"&&(H==="annotation-xml"||Rn[H]):!!oa[x]},zt=function(x,C,H){return C.namespaceURI===gt?x==="math":C.namespaceURI===ca?x==="math"&&sa[H]:!!si[x]},mu=function(x,C,H){return C.namespaceURI===ca&&!sa[H]||C.namespaceURI===yu&&!Rn[H]?!1:!si[x]&&(xs[x]||!oa[x])},Uu=function(x){const C=ce(x),H=ua(ae(x)),B=J(x);let re,pe;return B&&P(B)===hu.element?(re={namespaceURI:ce(B)},pe=ua(ae(B))):(re={namespaceURI:zn},pe="template"),Mn[C]?C===ca?kc(H,re,pe):C===yu?zt(H,re,pe):C===gt?mu(H,re,pe):!!(Ln==="application/xhtml+xml"&&Mn[C]):!1},Hu=function(x){sc(a.removed,{element:x});try{J(x).removeChild(x)}catch{if(M(x),!J(x))throw Cn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},oi=function(x,C,H){try{A(x,C)}catch{try{x.removeAttribute(H)}catch{}}},fi=function(x){Fn(x);const C=V(x);C&&Tn(Ex(C),B=>{try{M(B)}catch{}});const H=P(x)===hu.element?le(x):null;if(H)for(let B=H.length-1;B>=0;--B){const re=H[B],pe=re&&re.name;typeof pe=="string"&&oi(x,re,pe)}},Un=function(x,C,H){if(!H)try{H=C.getAttributeNode(x)}catch{H=null}sc(a.removed,{attribute:H||null,from:C});try{H?A(C,H):C.removeAttribute(x)}catch{try{C.removeAttribute(x)}catch{}}if(x==="is")if(Bt||Nn)try{Hu(C)}catch{}else try{C.setAttribute(x,"")}catch{}},di=function(x){const C=le(x);if(C)for(let H=C.length-1;H>=0;--H){const B=C[H],re=B&&B.name;typeof re!="string"||F[uu(re)]||oi(x,B,re)}},sn=function(x,C){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const B=[x];for(;B.length>0;){const re=B.pop();if(C(re)===!1)continue;if(H&&P(re)===hu.element){const ve=fe(re);Ae(ve)&&B.push(ve)}const pe=V(re);if(pe)for(let ve=pe.length-1;ve>=0;--ve)B.push(pe[ve])}},Fn=function(x){sn(x,C=>{P(C)===hu.element&&di(C)})},Bn=function(x){const C=[];return sn(x,H=>{C.push(H)},!0),C},on=function(x,C){const H=tf();Tn(Bn(x),B=>{P(B)===hu.element&&nf(H,B)}),Tn(C,B=>{P(B)===hu.element&&!oc(H,B)&&di(B)})},fn=function(x,C){let H=!1;return Tn(a.removed,B=>{B.element&&(H=H||B.element===x,Fn(B.element))}),on(x,C),H},zl=8,Hn=function(x,C){const H=bt;let B=null;const re=()=>(B||(B=tf(),Tn(C,pe=>{nf(B,pe)})),B);for(let pe=0;;pe++){const ve=Bn(x),He=[x];let $u=!1;if(Tn(ve,pu=>{P(pu)===hu.documentFragment?sc(He,pu):!$u&&!oc(H,pu)&&($u=oc(re(),pu))}),!$u)return;if(pe>=zl)throw Cn("the tree kept changing during in-place sanitization; refusing to return it");Tn(He,(pu,iu)=>{ru(pu,iu>0,x,re())})}},ru=function(x,C,H,B){const re=Yt(x);let pe;for(;pe=re.nextNode();)!oc(B,pe)||oc(bt,pe)||(C&&Fu(K.uponSanitizeShadowNode,pe,null),jl(pe,H),Vt(pe,H),Ae(pe.content)&&Yn(pe.content))},Oc=function(x){bt&&nf(bt,x)},hi=function(x,C){return Ru?x==="patchsrc"?!0:x==="for"&&C!=="label"&&C!=="output":!1},zc=function(x){Ru&&sn(x,C=>{const H=P(C);if(H===hu.processingInstruction||H===hu.comment&&ju(Tm,C.data)){try{M(C)}catch{}return!1}if(H===hu.element){const B=C,re=uu(ae(C));try{B.hasAttribute&&B.hasAttribute("patchsrc")&&B.removeAttribute("patchsrc"),B.hasAttribute&&B.hasAttribute("for")&&hi("for",re)&&B.removeAttribute("for")}catch{}}return!0})},Gt=function(x){let C=null,H=null;if(Nl)x="<remove></remove>"+x;else{const pe=bm(x,/^[\r\n\t ]+/);H=pe&&pe[0]}Ln==="application/xhtml+xml"&&zn===gt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const B=he?se(x):x;if(zn===gt)try{C=new v().parseFromString(B,Ln)}catch{}if(!C||!C.documentElement){C=gu.createDocument(zn,"template",null);try{C.documentElement.innerHTML=jn?je:B}catch{}}const re=C.body||C.documentElement;return x&&H&&re.insertBefore(s.createTextNode(H),re.childNodes[0]||null),zn===gt?T.call(C,kt?"html":"body")[0]:kt?C.documentElement:re},Yt=function(x){const C=te?te(x):x.ownerDocument;return we.call(C||x,x,b.SHOW_ELEMENT|b.SHOW_COMMENT|b.SHOW_TEXT|b.SHOW_PROCESSING_INSTRUCTION|b.SHOW_CDATA_SECTION,null)},fa=function(x){return x=fc(x,ie," "),x=fc(x,Se," "),x=fc(x,ke," "),x},da=function(x){var C;mi(x);const H=(C=x.querySelectorAll)===null||C===void 0?void 0:C.call(x,"template");H&&Tn(H,B=>{Ae(B.content)&&da(B.content)})},mi=function(x){x.normalize();const C=te?te(x):x.ownerDocument,H=we.call(C||x,x,b.SHOW_TEXT|b.SHOW_COMMENT|b.SHOW_CDATA_SECTION|b.SHOW_PROCESSING_INSTRUCTION,null);let B=H.nextNode();for(;B;)B.data=fa(B.data),B=H.nextNode()},ha=function(x){const C=Q?Q(x):null;return typeof C!="string"||uu(C)!=="form"?!1:typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||x.attributes!==le(x)||typeof x.removeAttribute!="function"||typeof x.removeAttributeNode!="function"||typeof x.getAttributeNode!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function"||x.nodeType!==G(x)||x.childNodes!==V(x)},Ae=function(x){if(!G||typeof x!="object"||x===null)return!1;try{return G(x)===hu.documentFragment}catch{return!1}},qn=function(x){if(!G||typeof x!="object"||x===null)return!1;try{return typeof G(x)=="number"}catch{return!1}};function Fu(q,x,C){q.length!==0&&Tn(q,H=>{H.call(a,x,C,rn)})}const ma=function(x,C){return!!(Ru&&x.hasChildNodes()&&!qn(x.firstElementChild)&&ju(of,x.textContent)&&ju(of,x.innerHTML)||Ru&&Yx[C]&&P(x)===hu.element&&ce(x)===gt&&(qn(x.firstElementChild)||typeof x.textContent=="string"&&ju(of,x.textContent))||x.nodeType===hu.processingInstruction||Ru&&x.nodeType===hu.comment&&ju(Tm,x.data))},Ku=function(x,C){if(x instanceof RegExp)return ju(x,C);if(x instanceof Function){for(var H=arguments.length,B=new Array(H>2?H-2:0),re=2;re<H;re++)B[re-2]=arguments[re];return!!x(C,...B)}return!1},qu=function(x,C,H){if(!Iu[C]&&Gu(C)&&Ku(nu.tagNameCheck,C))return!1;if(aa&&!Ht[C]&&!Ht[ua(C)]){const B=J(x),re=V(x);if(re&&B){const pe=re.length;for(let ve=pe-1;ve>=0;--ve){const He=x===H?D(re[ve],!0):re[ve];B.insertBefore(He,L(x))}}}return Hu(x),!0},pi=function(x,C,H,B){return x.length===0?C:C===H||C===B?ht(C):C},Gn=function(x,C){return x===C||J(x)!==null?!1:(ia&&Fn(x),!0)},jl=function(x,C){if(Oc(x),Fu(K.beforeSanitizeElements,x,null),Gn(x,C))return!0;if(ha(x))return Hu(x),!0;const H=uu(ae(x));if(Ce=pi(K.uponSanitizeElement,Ce,X,na),Fu(K.uponSanitizeElement,x,{tagName:H,allowedTags:Ce}),Gn(x,C))return!0;if(ma(x,H))return Hu(x),!0;if(Iu[H]||!(lt.tagCheck instanceof Function&<.tagCheck(H))&&!Ce[H]){const B=qu(x,H,C);return B===!1&&(Fu(K.afterSanitizeElements,x,null),Gn(x,C))?!0:B}if(P(x)===hu.element&&!Uu(x)||(H==="noscript"||H==="noembed"||H==="noframes")&&ju(Gx,x.innerHTML))return Hu(x),!0;if(pt&&x.nodeType===hu.text){const B=fa(x.textContent);x.textContent!==B&&(sc(a.removed,{element:x.cloneNode()}),x.textContent=B)}return Fu(K.afterSanitizeElements,x,null),Gn(x,C)},bi=function(x,C,H){if(El[C]||hi(C,x)||Ac&&(C==="id"||C==="name")&&(H in s||H in Nc))return!1;const B=F[C]||lt.attributeCheck instanceof Function&<.attributeCheck(C,x);return Sl&&ju(Re,C)||cn&&ju(ee,C)?!0:B?Lu[C]||ju(Nt,fc(H,Qu,""))||(C==="src"||C==="xlink:href"||C==="href")&&x!=="script"&&gm(H,"data:")===0&&Dc[x]||Al&&!ju(me,fc(H,Qu,""))?!0:!H:Gu(x)&&Ku(nu.tagNameCheck,x)&&Ku(nu.attributeNameCheck,C,x)||C==="is"&&nu.allowCustomizedBuiltInElements&&Ku(nu.tagNameCheck,H)},vs=Fe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Gu=function(x){return!vs[ua(x)]&&ju(_l,x)},gi=function(x,C,H,B){if(he&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!H)switch(_.getAttributeType(x,C)){case"TrustedHTML":return se(B);case"TrustedScriptURL":return de(B)}return B},jc=function(x,C,H,B){try{return H?x.setAttributeNS(H,C,B):x.setAttribute(C,B),ha(x)?(Hu(x),!1):!0}catch{return Un(C,x),!1}},pa=function(x,C){return Ru&&ju(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,C)?!0:ua(x)==="attributename"&&bm(C,"href")!==null},Vt=function(x,C){if(Fu(K.beforeSanitizeAttributes,x,null),Gn(x,C))return;const H=x.attributes;if(!H||ha(x))return;F=pi(K.uponSanitizeAttribute,F,Ue,Dl);const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let re=H.length;const pe=uu(x.nodeName);for(;re--;){const ve=H[re],He=ve.name,$u=ve.namespaceURI,pu=ve.value,iu=uu(He),at=pu;let Tu=He==="value"?at:Ax(at),ga=!1;if(B.attrName=iu,B.attrValue=Tu,B.keepAttr=!0,B.forceKeepAttr=void 0,Fu(K.uponSanitizeAttribute,x,B),Tu=B.attrValue,wu&&(iu==="id"||iu==="name")&&gm(Tu,Tc)!==0&&(Un(He,x,ve),Tu=Tc+Tu,ga=!0),pa(He,Tu)){Un(He,x,ve);continue}if(!B.forceKeepAttr){if(!B.keepAttr){Un(He,x,ve);continue}if(!Tl&&ju(Cm,Tu)){Un(He,x,ve);continue}if(pt&&(Tu=fa(Tu)),!bi(pe,iu,Tu)){Un(He,x,ve);continue}Tu=gi(pe,iu,$u,Tu),Tu!==at&&jc(x,He,$u,Tu)&&ga&&pm(a.removed)}}Fu(K.afterSanitizeAttributes,x,null),Gn(x,C)},Yn=function(x){let C=null;const H=Yt(x);for(Fu(K.beforeSanitizeShadowDOM,x,null);C=H.nextNode();)if(Fu(K.uponSanitizeShadowNode,C,null),jl(C,x),Vt(C,x),Ae(C.content)&&Yn(C.content),P(C)===hu.element){const B=fe(C);Ae(B)&&(ba(B),Yn(B))}pt&&mi(x),Fu(K.afterSanitizeShadowDOM,x,null)},ba=function(x){const C=[{node:x,shadow:null}];for(;C.length>0;){const H=C.pop();if(H.shadow){Yn(H.shadow);continue}const B=H.node,re=P(B)===hu.element,pe=V(B);if(pe)for(let ve=pe.length-1;ve>=0;--ve)C.push({node:pe[ve],shadow:null});if(re){const ve=Q?Q(B):null;if(typeof ve=="string"&&uu(ve)==="template"){const He=B.content;Ae(He)&&C.push({node:He,shadow:null})}}if(re){const ve=fe(B);Ae(ve)&&C.push({node:null,shadow:ve},{node:ve,shadow:null})}}};return a.sanitize=function(q){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=null,H=null,B=null,re=null;if(jn=!q,jn&&(q="<!-->"),typeof q!="string"&&!qn(q)&&(q=Nx(q),typeof q!="string"))throw Cn("dirty is not a string, aborting");if(!a.isSupported)return q;Cl?(Ce=na,F=Dl):Ol(x),(K.uponSanitizeElement.length>0||K.uponSanitizeAttribute.length>0)&&(Ce=ht(Ce)),K.uponSanitizeAttribute.length>0&&(F=ht(F)),a.removed=[];const pe=ia&&typeof q!="string"&&qn(q);let ve=[];const He=bt;if(pe){zc(q);const iu=ae(q);if(typeof iu=="string"){const at=uu(iu);if(!Ce[at]||Iu[at])throw fi(q),Cn("root node is forbidden and cannot be sanitized in-place")}if(ha(q))throw fi(q),Cn("root node is clobbered and cannot be sanitized in-place");ve=Bn(q),bt=tf()}else if(qn(q))C=Gt("<!---->"),H=C.ownerDocument.importNode(q,!0),H.nodeType===hu.element&&H.nodeName==="BODY"||H.nodeName==="HTML"?C=H:C.appendChild(H),ba(C);else{if(!Bt&&!pt&&!kt&&q.indexOf("<")===-1)return he&&la?se(q):q;if(C=Gt(q),!C)return Bt?null:la?je:""}C&&Nl&&Hu(C.firstChild);const $u=pe?q:C;try{pe&&ba(q);const iu=Yt($u);for(;B=iu.nextNode();)jl(B,$u),Vt(B,$u),Ae(B.content)&&Yn(B.content);pe&&Hn(q,ve)}catch(iu){throw pe&&(fi(q),fn(q,ve)),iu}finally{bt=He}if(pe){if(fn(q,ve))throw Cn("a node selected for removal could not be safely returned; refusing to sanitize in place");return pt&&da(q),q}if(Bt){if(pt&&da(C),Nn)for(re=I.call(C.ownerDocument);C.firstChild;)re.appendChild(C.firstChild);else re=C;return(F.shadowroot||F.shadowrootmode)&&(re=Z.call(r,re,!0)),re}let pu=kt?C.outerHTML:C.innerHTML;return kt&&Ce["!doctype"]&&C.ownerDocument&&C.ownerDocument.doctype&&C.ownerDocument.doctype.name&&ju(Hx,C.ownerDocument.doctype.name)&&(pu="<!DOCTYPE "+C.ownerDocument.doctype.name+`>
|
|
35
|
-
`+pu),pt&&(pu=fa(pu)),he&&la?se(pu):pu},a.setConfig=function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ol(q),Cl=!0,na=Ce,Dl=F},a.clearConfig=function(){rn=null,Cl=!1,na=null,Dl=null,he=eu,je=""},a.isValidAttribute=function(q,x,C){rn||Ol({});const H=uu(q),B=uu(x);return typeof C=="string"&&(pa(x,C)||!Tl&&ju(Cm,C))?!1:bi(H,B,C)},a.addHook=function(q,x){typeof x=="function"&&tt(K,q)&&sc(K[q],x)},a.removeHook=function(q,x){if(tt(K,q)){if(x!==void 0){const C=_x(K[q],x);return C===-1?void 0:Sx(K[q],C,1)[0]}return pm(K[q])}},a.removeHooks=function(q){tt(K,q)&&(K[q]=[])},a.removeAllHooks=function(){K=Dm()},a}var Xx=xp();let df;function Qx(){if(df)return df;const n=Xx,s=typeof n=="function"?n(globalThis.window):n;return s.addHook("afterSanitizeAttributes",r=>{const o=r;o.tagName==="A"&&typeof o.setAttribute=="function"&&(o.setAttribute("rel","noopener noreferrer nofollow"),o.setAttribute("target","_blank"))}),df=s,s}const Ix=new Dt({html:!1,linkify:!0,breaks:!1,typographer:!1});function Kx(n){return n?Qx().sanitize(Ix.render(n),{ALLOWED_TAGS:["p","br","hr","strong","em","del","s","blockquote","code","pre","ul","ol","li","h1","h2","h3","h4","h5","h6","a","img","table","thead","tbody","tr","th","td","span","div","sup","sub"],ALLOWED_ATTR:["href","src","alt","title","class","target","rel","colspan","rowspan"],ALLOWED_URI_REGEXP:/^(?:https?|mailto):/i}):""}function Nm({text:n,streaming:a=!1}){const s=Y.useMemo(()=>Kx(n),[n]);return h.jsx("div",{className:"prose",dangerouslySetInnerHTML:{__html:s},"data-streaming":a||void 0})}const $x=Y.memo(function({code:a,lang:s}){const[r,o]=Y.useState(void 0),[f,m]=Y.useState("pending");Y.useEffect(()=>{if(s.length===0){m("unavailable");return}let b=!0;return A6(a,s).then(v=>{b&&(o(v),m(v?"highlighted":"unavailable"))}),()=>{b=!1}},[a,s]);const p=r&&r.lang.toLowerCase()===s.toLowerCase();return h.jsxs("div",{className:"code-block",children:[s.length>0&&h.jsxs("div",{className:"code-lang",children:[s,f==="unavailable"&&h.jsx("span",{className:"code-lang-note",children:" · not highlighted"})]}),p?h.jsx("div",{className:"code-body","data-lang":s,children:C6(r)}):h.jsx("pre",{className:"code-plain",children:h.jsx("code",{children:a})})]})}),Jx=Y.memo(function({text:a,streaming:s=!1}){const r=Y.useMemo(()=>N6(a),[a]),o=Y.useMemo(()=>k6(r),[r]);return r.some(m=>m.kind==="code")?h.jsx("div",{className:"prose","data-streaming":s||void 0,"data-has-code":o.length>0||void 0,children:r.map((m,p)=>m.kind==="prose"?m.text.trim().length===0?null:h.jsx(Nm,{text:m.text},`p${p}`):h.jsx($x,{code:m.code,lang:m.lang},`c${p}`))}):h.jsx(Nm,{text:a,streaming:s})});function Wx(n){const a=n.ended;if(!a)return"Compacting context…";if(a.aborted)return"Context compaction stopped.";if(a.errorMessage!==void 0)return`Context compaction failed: ${a.errorMessage}`;if(a.willRetry)return"Context compaction failed; retrying…";const s=n.tokensBefore,r=n.tokensAfter;return typeof s=="number"&&typeof r=="number"?`Context compacted: ${os(s)} → ${os(r)} tokens.`:"Context compacted."}function Px(n){switch(n){case"overflow":return"the context was full";case"threshold":return"the context crossed the threshold";case"manual":return"you asked for it";default:return}}function e8({notice:n}){const a=Qg(n);if(n.kind==="compaction"){const r=Px(n.reason);return h.jsxs("div",{className:"run-notice","data-kind":"compaction","data-open":a||void 0,children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:a?"◐":n.ended?.aborted||n.ended?.errorMessage?"✕":"✓"}),h.jsx("span",{className:"notice-text",children:Wx(n)}),a&&r!==void 0&&h.jsxs("span",{className:"notice-note",children:["(",r,")"]})]})}if(n.kind==="retry"){const r=n.ended,o=`Retrying (${n.attempt}/${n.maxAttempts})`,f=n.delayMs>0?` in ${Math.round(n.delayMs/1e3)}s`:"";return r?h.jsxs("div",{className:"run-notice","data-kind":"retry",children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:r.success?"✓":"✕"}),h.jsx("span",{className:"notice-text",children:r.success?`Recovered after ${n.attempt} ${n.attempt===1?"retry":"retries"}.`:`Gave up after ${n.attempt} ${n.attempt===1?"attempt":"attempts"}: ${r.finalError??n.errorMessage}`})]}):h.jsxs("div",{className:"run-notice","data-kind":"retry","data-open":!0,children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:"↻"}),h.jsxs("span",{className:"notice-text",children:[o,f," after ",n.errorMessage||"a provider error"]})]})}const s=n.source==="branchSummary"?"summary of the earlier branch":"context summary";return h.jsxs("div",{className:"run-notice","data-kind":"summarization","data-open":a||void 0,children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:n.finished?"✓":"↻"}),h.jsx("span",{className:"notice-text",children:n.finished?`Recovered while building the ${s}.`:`Retrying the ${s} (${n.attempt}/${n.maxAttempts})${n.errorMessage!==void 0?`: ${n.errorMessage}`:""}`})]})}function u8({notices:n}){return n===void 0||n.length===0?null:h.jsx("div",{className:"run-notices",children:n.map((a,s)=>h.jsx(e8,{notice:a},`${a.kind}-${s}`))})}const vp=80;function t8(n,a=vp){const{scrollHeight:s,scrollTop:r,clientHeight:o}=n;return!Number.isFinite(s)||!Number.isFinite(r)||!Number.isFinite(o)||o<=0?!0:s-r-o<a}function n8({initialScroll:n,onScrollMemory:a,transcript:s,busy:r,sessionLabel:o,followToken:f=0,autoFollow:m=!0,expectedCount:p=0,loading:b=!1,onOpenTool:v,showMarkers:_=!0,historyError:y}){const D=Y.useRef(null),M=Y.useRef(null),A=Y.useRef(!0),[L,V]=Y.useState(!0),J=Y.useRef(a);J.current=a;const fe=Y.useRef(void 0);Y.useEffect(()=>{const ce=M.current;if(!ce)return;const he=()=>{const je={scrollTop:ce.scrollTop,scrollHeight:ce.scrollHeight,clientHeight:ce.clientHeight},eu=fe.current;q2(je)&&(fe.current=je);const Je=eu!==void 0&&q2(eu)?Ag(eu,je,vp):t8(ce);A.current=Je,V(Je),J.current?.({scrollTop:je.scrollTop,pinned:Je})};return ce.addEventListener("scroll",he,{passive:!0}),he(),()=>ce.removeEventListener("scroll",he)},[]);const le=Y.useRef(void 0);Y.useLayoutEffect(()=>{const ce=_g(n);if(ce.kind==="follow-end"){A.current=!0,V(!0);return}A.current=ce.pinned,V(ce.pinned),le.current={scrollTop:ce.scrollTop,pinned:ce.pinned}},[]),Y.useLayoutEffect(()=>{const ce=le.current;if(!ce)return;const he=M.current;he&&Eg(he.scrollHeight,he.clientHeight)&&(he.scrollTop=ce.scrollTop,le.current=void 0)});const G=Y.useRef(f);Y.useEffect(()=>{if(G.current===f)return;G.current=f,A.current=!0,V(!0);const ce=M.current;ce&&(ce.scrollTop=ce.scrollHeight)},[f]),Y.useEffect(()=>{Tg(m,A.current)&&D.current?.scrollIntoView({block:"end"})});const Q=Y.useCallback(()=>{A.current=!0,V(!0);const ce=D.current;if(!ce)return;typeof ce.scrollIntoView=="function"&&ce.scrollIntoView({block:"end",behavior:"smooth"});const he=M.current;he&&(he.scrollTop=he.scrollHeight)},[]),te=s.messages.length===0&&s.tools.length===0,P=te&&p>0&&y===void 0,ae=te&&y!==void 0,$e=Ig(s);return h.jsxs("div",{className:"transcript-wrap",children:[h.jsxs("div",{className:"transcript",ref:M,tabIndex:0,role:"region","aria-label":`Transcript for ${o}`,"aria-busy":r||void 0,children:[ae?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"Could not load this session's history"}),h.jsx("p",{children:y}),h.jsxs("p",{className:"dim",children:[`Pi reports ${p} message${p===1?"":"s"} in this session, `,"so they exist — the request for them failed. Reconnect, or reload the page, to try again."]})]}):P?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"Loading this session's history…"}),h.jsxs("p",{children:[`Pi reports ${p} message${p===1?"":"s"} in this session. `,"They are being fetched; nothing is missing."]})]}):te&&!b?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"No messages yet."}),h.jsxs("p",{children:["This session works in its own scratch workspace. Anything it writes stays there. To work in a project, use ",h.jsx("strong",{children:"Open in a directory"}),"."]})]}):h.jsx(h.Fragment,{children:$e.map((ce,he)=>ce.kind==="tools"?_?h.jsx(l8,{tools:ce.tools,onOpenTool:v},`tools-${he}`):null:h.jsx(a8,{message:ce.message},ce.message.id))}),h.jsx(u8,{notices:s.notices}),h.jsx("div",{ref:D})]}),!L&&h.jsxs("button",{type:"button",className:"jump-latest",onClick:Q,title:"Scroll to the newest message and follow along again",children:[h.jsx("span",{"aria-hidden":"true",children:"↓"})," Jump to latest"]})]})}function l8({tools:n,onOpenTool:a}){if(n.length===0)return null;const s=Xg(n),r=n[n.length-1],o=n.some(f=>f.running);return h.jsxs("button",{type:"button",className:`tool-marker${s.failed>0?" has-error":""}${o?" running":""}`,onClick:()=>a?.(r.toolCallId),title:"Open the tool trace at this point",children:[h.jsx("span",{className:"m-glyph","aria-hidden":"true",children:o?"●":s.failed>0?"✕":"⌁"}),h.jsxs("span",{className:"m-count",children:[s.count," tool",s.count===1?"":"s"]}),h.jsx("span",{className:"m-names mono",children:s.names.join(" · ")}),s.failed>0&&h.jsxs("span",{className:"m-failed",children:[s.failed," failed"]}),o&&h.jsx("span",{className:"m-running",children:"running"})]})}function a8({message:n}){const a=n.role==="user"?"You":n.role==="assistant"?"Assistant":n.role,s=Gg(n),r=n.blocks.filter(o=>o.kind==="thinking");return Mm(n)?h.jsxs("article",{className:`turn measure turn-${n.role}`,children:[h.jsxs("div",{className:"role",children:[h.jsx("span",{children:a}),n.streaming&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"live-dot","aria-hidden":"true"}),h.jsx("span",{children:"responding…"})]})]}),r.map((o,f)=>h.jsxs("details",{className:"quarantine",style:{marginBottom:8},children:[h.jsx("summary",{className:"quarantine-head",children:h.jsx("span",{className:"label",children:"Thinking"})}),h.jsx("pre",{className:"quarantine-body",children:o.kind==="thinking"?o.text:""})]},f)),s.length>0&&h.jsx(Jx,{text:s,streaming:n.streaming})]}):null}function i8({tools:n,selectedId:a,onSelect:s,collapsed:r,onToggleCollapsed:o,showMarkers:f,onToggleMarkers:m}){const p=Y.useRef(null),b=Y.useRef(!0),v=n.filter(L=>L.running),_=n.length;if(Y.useEffect(()=>{const L=p.current;if(!L)return;const V=()=>{const J=L.scrollHeight-L.scrollTop-L.clientHeight;b.current=J<40};return L.addEventListener("scroll",V,{passive:!0}),()=>L.removeEventListener("scroll",V)},[]),Y.useEffect(()=>{if(b.current&&!r){const L=p.current;L&&(L.scrollTop=L.scrollHeight)}},[_,v.length,r]),Y.useEffect(()=>{if(r)return;const L=V=>{if(V.key!=="ArrowUp"&&V.key!=="ArrowDown"||!p.current?.contains(document.activeElement))return;V.preventDefault();const J=n.findIndex(le=>le.toolCallId===a),fe=J===-1?n.length-1:Math.max(0,Math.min(n.length-1,J+(V.key==="ArrowDown"?1:-1)));s(n[fe]?.toolCallId)};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[n,a,s,r]),_===0)return null;const y=n.find(L=>L.toolCallId===a),D=Zg(n,5),M=new Set(D.map(L=>L.toolCallId)),A=r?[]:n;return h.jsxs("section",{className:"trace","aria-label":"Tool trace",children:[h.jsxs("div",{className:"trace-head",children:[h.jsxs("button",{type:"button",className:"trace-toggle",onClick:o,"aria-expanded":!r,children:[r?"▸":"▾"," Tool trace"]}),h.jsx("span",{className:"trace-count mono",children:`${_} call${_===1?"":"s"}`}),v.length>0&&h.jsxs("span",{className:"trace-running",children:[h.jsx("span",{className:"live-dot","aria-hidden":"true"}),`${v.map(L=>L.toolName).join(", ")} running`]}),r&&D.length>0&&h.jsx("span",{className:"trace-preview mono",title:D.map(L=>L.toolName).join(", "),children:`latest: ${D.slice(-3).map(L=>L.toolName).join(" · ")}`}),h.jsx("button",{type:"button",className:"trace-toggle toggle-chip",style:{marginLeft:r?"auto":void 0},onClick:m,"aria-pressed":f,children:f?"markers on":"markers off"}),!r&&h.jsx("span",{className:"trace-hint",children:"latest 5 shown · the rest below for debugging · ↑↓ to traverse"})]}),!r&&h.jsx("div",{className:"trace-list",ref:p,tabIndex:0,"aria-label":"Tool calls, newest last",children:A.map(L=>h.jsxs("button",{type:"button",className:["trace-row",L.running?"running":"",L.isError?"failed":"",L.toolCallId===a?"selected":"",L.unfinished?"unfinished":"",M.has(L.toolCallId)?"recent":""].filter(Boolean).join(" "),onClick:()=>s(L.toolCallId===a?void 0:L.toolCallId),"aria-current":L.toolCallId===a?"true":void 0,children:[h.jsx("span",{className:"t-status","aria-hidden":"true",children:L.running?"●":L.isError?"✕":L.unfinished?"?":"·"}),h.jsx("span",{className:"t-name mono",children:L.toolName||"tool"}),h.jsx("span",{className:"t-summary mono",title:Z2(L),children:Z2(L)}),h.jsx("span",{className:"t-time mono",children:L.running?"running":L.unfinished?"no result":L.durationMs!==void 0?c8(L.durationMs):"done"})]},L.toolCallId))}),!r&&y&&h.jsxs("div",{className:"trace-detail is-quarantined",children:[h.jsxs("div",{className:"trace-detail-head",children:[h.jsx("span",{className:"label",children:"Tool output"}),h.jsx("span",{className:"mono",children:y.toolName}),y.isError&&h.jsx("span",{className:"err",children:"failed"}),h.jsx("span",{className:"spacer"}),h.jsx("button",{type:"button",className:"copy",onClick:()=>s(void 0),children:"Close"})]}),y.args!==void 0&&h.jsx("pre",{className:"trace-args mono",children:r8(y.args)}),y.result.length>0?h.jsx("pre",{className:`trace-output mono${y.isError?" error":""}`,children:y.result}):h.jsx("pre",{className:"trace-output mono",children:y.running?"waiting for output…":y.unfinished?"No result was recorded for this call. The run was interrupted or aborted before it finished.":"This tool returned no output."})]})]})}function c8(n){return n<1e3?`${Math.round(n)}ms`:n<6e4?`${(n/1e3).toFixed(1)}s`:`${Math.floor(n/6e4)}m${Math.round(n%6e4/1e3)}s`}function r8(n){try{const a=JSON.stringify(n,null,2);return a===void 0?String(n):a}catch{return String(n)}}function s8({session:n,state:a,unavailableReason:s,onSend:r,onClearQueueAndStop:o,onRestored:f,restored:m,draft:p,onDraftChange:b}){const v=Y.useRef(null),_=n?.state==="streaming",y=s!==void 0,[D,M]=Y.useState("steer"),A=l6(a,n);Y.useEffect(()=>{if(m.length===0)return;const G=m.filter(te=>te.trim().length>0).join(`
|
|
36
|
-
|
|
37
|
-
`),Q=p.trim();G.length>0&&(b(Q.length>0?`${Q}
|
|
38
|
-
|
|
39
|
-
${G}`:G),v.current?.focus()),f()},[m]),Y.useEffect(()=>{const G=Q=>{Q.key==="Escape"&&_&&(Q.preventDefault(),o(),V(!0))};return window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[_,o]);const[L,V]=Y.useState(!1);Y.useEffect(()=>{if(L&&!_){const G=setTimeout(()=>V(!1),6e3);return()=>clearTimeout(G)}},[L,_]);const J=()=>{const G=p.trim();G.length===0||y||(r(G,_?D:"steer"),b(""))},fe=G=>{if(G.key==="Enter"&&!G.shiftKey){if(G.preventDefault(),_&&G.altKey){M("followUp");const Q=p.trim();Q.length>0&&!y&&(r(Q,"followUp"),b(""));return}J()}},le=_?D==="steer"?"Send steer":"Queue follow-up":"Send";return h.jsxs("div",{className:"composer",children:[_&&h.jsxs("div",{className:"mode-strip",children:[h.jsxs("div",{className:"mode-choice",role:"radiogroup","aria-label":"What this message does",children:[h.jsx("button",{type:"button",role:"radio","aria-checked":D==="steer",className:D==="steer"?"mode-option mode-option-on":"mode-option",onClick:()=>M("steer"),children:"Steer"}),h.jsx("button",{type:"button",role:"radio","aria-checked":D==="followUp",className:D==="followUp"?"mode-option mode-option-on":"mode-option",onClick:()=>M("followUp"),children:"Follow-up"})]}),h.jsx("span",{className:"mode-consequence",children:D==="steer"?"Delivered after the current turn's tools finish":"Starts after this run finishes"})]}),_&&A.total>0&&h.jsxs("div",{className:"queue-strip",role:"status",children:[h.jsxs("span",{className:"queue-head",children:[A.total," queued"]}),A.textsKnown?h.jsxs("ul",{className:"queue-rows",children:[A.steering.map((G,Q)=>h.jsx("li",{children:G},`s${Q}`)),A.followUp.map((G,Q)=>h.jsx("li",{children:G},`f${Q}`))]}):h.jsxs("span",{className:"queue-unknown",children:[A.total===1?"1 message":"Messages"," queued before this page loaded"]})]}),y&&s&&h.jsx("div",{className:"hint",role:"note",children:s}),h.jsxs("div",{className:"composer-row",children:[h.jsx("textarea",{ref:v,value:p,onChange:G=>b(G.target.value),onKeyDown:fe,placeholder:y?s??"Unavailable":"Send a prompt…",disabled:y,"aria-label":"Prompt",rows:3}),h.jsx("button",{type:"button",className:"btn-send",onClick:J,disabled:y||p.trim().length===0,children:y?"Send":le})]}),h.jsx("div",{className:"hint",children:_?h.jsxs(h.Fragment,{children:[h.jsx("kbd",{children:"Enter"})," to ",D==="steer"?"steer":"queue a follow-up"," ·"," ",h.jsx("kbd",{children:"Alt"}),"+",h.jsx("kbd",{children:"Enter"})," for ",D==="steer"?"a follow-up":"steer"," ·"," ",h.jsx("kbd",{children:"Esc"})," stops the run and returns the queue to this box"]}):h.jsxs(h.Fragment,{children:[h.jsx("kbd",{children:"Enter"})," to send · ",h.jsx("kbd",{children:"Shift"}),"+",h.jsx("kbd",{children:"Enter"})," for a new line"]})}),L&&h.jsx("div",{className:"hint",role:"status",children:"Stopped the run."})]})}function o8({dialogs:n,onAnswer:a}){const s=new Set(km),r=n.filter(f=>!s.has(f.method));if(r.length===0)return null;const o=r[0];return h.jsxs("div",{className:"dialog-dock",children:[h.jsxs("div",{className:"dialog-head",children:[h.jsx("span",{children:"Needs your answer"}),h.jsx("span",{style:{marginLeft:"auto",fontFamily:"var(--mono)"},children:o.method})]}),h.jsx(f8,{dialog:o,onAnswer:a},o.id)]})}function f8({dialog:n,onAnswer:a}){const[s,r]=Y.useState(n.prefill??""),o=Y.useRef(null),f=Y.useRef(null);Y.useEffect(()=>{f.current?.focus()},[]),Y.useEffect(()=>{const p=v=>{v.key==="Escape"&&(v.stopPropagation(),v.preventDefault(),a(n.id,{cancelled:!0}))},b=o.current;return b?.addEventListener("keydown",p),()=>b?.removeEventListener("keydown",p)},[n.id,a]);const m=n.message??n.title??"The agent is asking for input.";return h.jsxs("div",{className:"dialog-body",ref:o,role:"dialog","aria-label":m,children:[n.title&&n.message&&h.jsx("p",{className:"title",children:n.title}),h.jsx("p",{className:"question",children:m}),n.method==="confirm"&&h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{confirmed:!0}),children:"Allow once"}),h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{confirmed:!1}),children:"Deny"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]}),n.method==="select"&&h.jsxs("div",{className:"dialog-options",children:[(n.options??[]).map(p=>h.jsx("button",{type:"button",onClick:()=>a(n.id,{value:p}),children:p},p)),h.jsx("button",{type:"button",className:"btn btn-ghost",style:{marginTop:6},onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]}),n.method==="input"&&h.jsxs(h.Fragment,{children:[h.jsx("input",{ref:f,type:"text",value:s,placeholder:n.placeholder??"Type your answer","aria-label":m,onChange:p=>r(p.target.value),onKeyDown:p=>{p.key==="Enter"&&(p.preventDefault(),a(n.id,{value:s}))}}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{value:s}),children:"Submit"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]})]}),n.method==="editor"&&h.jsxs(h.Fragment,{children:[h.jsx("textarea",{ref:f,value:s,placeholder:n.placeholder??"Edit the content","aria-label":m,onChange:p=>r(p.target.value)}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{value:s}),children:"Submit"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]})]}),!dg(n.method)&&h.jsx("div",{className:"dialog-actions",children:h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})})]})}function yl({text:n,label:a}){const[s,r]=Y.useState(!1);return h.jsx("button",{type:"button",className:"copy",title:`Copy ${a}`,onClick:async()=>{const o=await d6(n);r(o),setTimeout(()=>r(!1),1500)},children:s?"Copied":`Copy ${a}`})}function d8({session:n,home:a,onStop:s,onRename:r}){return n?h.jsxs("div",{className:"inspector",children:[h.jsxs("section",{children:[h.jsx("h3",{children:"Isolation"}),h.jsxs("dl",{className:"kv",children:[h.jsx("dt",{children:"Mode"}),h.jsx("dd",{children:n.mode==="sandboxed"?h.jsx("span",{className:"chip chip-idle",children:"Safehouse"}):h.jsx("span",{className:"chip chip-no-isolation",children:"NO ISOLATION"})}),h.jsx("dt",{children:"Policy"}),h.jsx("dd",{children:n.isolation})]}),n.mode==="direct"&&h.jsx("p",{style:{color:"var(--warn-text)",fontSize:11,marginTop:8},children:"This session runs pi unsandboxed at your user account. It can read and write anything you can."})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Paths"}),h.jsxs("dl",{className:"kv",children:[h.jsx("dt",{children:"Workspace"}),h.jsxs("dd",{children:[h.jsx("span",{children:mc(n.cwd,40,a)}),h.jsx(yl,{text:n.cwd,label:"path"})]}),n.sessionFile&&h.jsxs(h.Fragment,{children:[h.jsx("dt",{children:"Session file"}),h.jsxs("dd",{children:[h.jsx("span",{children:mc(n.sessionFile,40,a)}),h.jsx(yl,{text:n.sessionFile,label:"path"})]})]}),h.jsx("dt",{children:"Session id"}),h.jsx("dd",{children:n.sessionId?h.jsxs(h.Fragment,{children:[h.jsx("span",{children:n.sessionId}),h.jsx(yl,{text:n.sessionId,label:"session id"})]}):h.jsx("span",{title:"Pi has not reported its session id yet",children:"—"})}),h.jsx("dt",{children:"Handle"}),h.jsxs("dd",{children:[h.jsx("span",{children:n.id}),h.jsx(yl,{text:n.id,label:"handle"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Command"}),h.jsx("pre",{className:"cmd",children:n.command}),h.jsx("div",{style:{marginTop:6},children:h.jsx(yl,{text:n.command,label:"command"})})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Usage"}),h.jsxs("dl",{className:"kv",children:[h.jsx("dt",{children:"Messages"}),h.jsx("dd",{children:n.messageCount}),h.jsx("dt",{children:"Tokens"}),h.jsx("dd",{children:os(n.tokensTotal)}),h.jsx("dt",{children:"Cost"}),h.jsx("dd",{children:xf(n.cost)}),h.jsx("dt",{children:"Context"}),h.jsx("dd",{children:n.contextPercent===null?"—":`${Math.round(n.contextPercent)}%`}),h.jsx("dt",{children:"Model"}),h.jsx("dd",{children:n.model??"—"}),h.jsx("dt",{children:"Thinking"}),h.jsx("dd",{children:n.thinkingLevel??"—"})]})]}),n.warnings.length>0&&h.jsxs("section",{children:[h.jsx("h3",{children:"Warnings"}),n.warnings.map((o,f)=>h.jsx("p",{style:{color:"var(--warn-text)",fontSize:11,margin:"0 0 6px"},children:o},f))]}),n.error&&h.jsxs("section",{children:[h.jsx("h3",{children:"Error"}),h.jsx("p",{style:{color:"var(--danger-text)",fontSize:11,whiteSpace:"pre-wrap"},children:n.error})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Actions"}),h.jsxs("div",{className:"actions",children:[h.jsx(h8,{current:n.name,onRename:r}),h.jsx("button",{type:"button",className:"btn",onClick:s,children:"Stop session"})]})]})]}):h.jsx("div",{className:"inspector",children:h.jsxs("section",{children:[h.jsx("h3",{children:"Inspector"}),h.jsx("p",{style:{color:"var(--dim)",fontSize:12},children:"Select a session to see its isolation, paths, and usage."})]})})}function h8({current:n,onRename:a}){return h.jsxs("details",{children:[h.jsx("summary",{className:"btn",style:{cursor:"pointer",fontSize:12},children:"Rename…"}),h.jsxs("form",{style:{marginTop:6,display:"flex",gap:6},onSubmit:s=>{s.preventDefault();const r=new FormData(s.currentTarget).get("name");typeof r=="string"&&r.trim().length>0&&a(r.trim())},children:[h.jsx("input",{name:"name",defaultValue:n,"aria-label":"Session name",style:{flex:1,background:"var(--bg)",border:"1px solid var(--line)",borderRadius:6,padding:"4px 8px",color:"var(--text)",font:"12px var(--sans)"}}),h.jsx("button",{type:"submit",className:"btn",children:"Save name"})]})]})}function _p(){return{commit:"ac0809a",builtAt:"2026-10-29T13:06:25.910Z"}}function m8(n=_p()){const a=n.builtAt==="unknown"?"unknown build time":n.builtAt.slice(0,16).replace("T"," ");return`${n.commit} · ${a}`}function Pa({label:n,value:a,copyable:s=!1,monospace:r=!1,note:o}){const f=a===void 0;return h.jsxs(h.Fragment,{children:[h.jsx("dt",{children:n}),h.jsxs("dd",{children:[h.jsx("span",{className:f?"settings-absent":r?"settings-mono":void 0,children:f?"not reported":a}),s&&!f&&h.jsx(yl,{text:a,label:n.toLowerCase()}),o!==void 0&&h.jsx("span",{className:"settings-note",children:o})]})]})}function p8({install:n,ready:a,onClose:s}){const r=Y.useRef(null);Y.useEffect(()=>{r.current?.focus();const m=p=>{p.key==="Escape"&&s()};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[s]);const o=n?.protocol,f=o!==void 0&&o!==ui;return h.jsx("div",{className:"modal-backdrop",onClick:s,role:"presentation",children:h.jsxs("div",{className:"modal settings",role:"dialog","aria-modal":"true","aria-labelledby":"settings-title",onClick:m=>m.stopPropagation(),children:[h.jsx("h3",{id:"settings-title",children:"This installation"}),n===void 0&&h.jsx("p",{className:"settings-absent-note",role:"status",children:a?h.jsxs(h.Fragment,{children:[h.jsx("strong",{children:"This orchestrator is older than this UI."})," It does not report the facts below, so nothing here can be shown. Restart it to pick up the current build — see"," ",h.jsx("code",{children:"docs/DOGFOODING.md"}),"."]}):h.jsx(h.Fragment,{children:"Waiting for the orchestrator to send these facts…"})}),h.jsxs("section",{children:[h.jsx("h4",{children:"This build"}),h.jsxs("dl",{className:"kv",children:[h.jsx(Pa,{label:"Version",value:n?.version}),h.jsx(Pa,{label:"UI build",value:m8(),note:_p().commit==="dev"?"built outside a git checkout, so there is no commit to name":void 0}),h.jsx(Pa,{label:"Protocol",value:o===void 0?void 0:`v${o}`,note:o===void 0?void 0:f?`MISMATCH — this UI speaks v${ui}. One half is out of date; see docs/DOGFOODING.md.`:`matches this UI (v${ui})`})]})]}),h.jsxs("section",{children:[h.jsx("h4",{children:"Where things live"}),h.jsxs("dl",{className:"kv",children:[h.jsx(Pa,{label:"Sessions",value:n?.sessionsRoot,copyable:!0,monospace:!0}),h.jsx(Pa,{label:"Workspaces",value:n?.workspaceRoot,copyable:!0,monospace:!0}),h.jsx(Pa,{label:"Agent root",value:n?.agentRoot,copyable:!0,monospace:!0,note:n===void 0?void 0:n.agentRootManaged?"managed by Pi Central":"external — not created or modified by Pi Central"})]})]}),h.jsxs("section",{children:[h.jsx("h4",{children:"Updates"}),h.jsxs("p",{className:"settings-note settings-updates",children:["This build does not check for updates. When it does, checking will be ",h.jsx("strong",{children:"off unless you turn it on"}),", will send nothing but the package name, and will never install anything without asking."]})]}),h.jsx("div",{className:"dialog-actions",children:h.jsx("button",{type:"button",className:"btn",ref:r,onClick:s,children:"Close"})})]})})}function kf({path:n,reason:a,code:s,message:r,depth:o=0}){return h.jsxs("p",{className:"filetree-note filetree-error",role:"note",style:{paddingLeft:`${o*12}px`},title:n===""?void 0:n,children:[h.jsx("strong",{children:b8(a)}),h.jsx("span",{className:"filetree-error-detail",children:r}),s!==void 0&&h.jsx("span",{className:"filetree-kind",children:s})]})}function b8(n){switch(n){case"escapes-cwd":return"Outside the working directory";case"absolute-path":return"Not a relative path";case"invalid-path":return"Not a usable path";case"too-large":return"Too large to read";case"binary":return"Not a text file";case"permission":return"Permission denied";case"not-found":return"Not found";case"not-a-directory":return"Not a directory";case"is-directory":return"That is a directory";default:return"Could not read"}}function g8(n){const a=atob(n),s=new Uint8Array(new ArrayBuffer(a.length));for(let r=0;r<a.length;r+=1)s[r]=a.charCodeAt(r);return s}function y8({path:n,type:a,base64:s,bytes:r}){const[o,f]=Y.useState(void 0),[m,p]=Y.useState(!1),b=Y.useMemo(()=>new Blob([g8(s)],{type:a}),[s,a]);return Y.useEffect(()=>{const v=URL.createObjectURL(b);return f(v),p(!1),()=>URL.revokeObjectURL(v)},[b]),o===void 0?null:m?h.jsxs("p",{className:"filetree-note filetree-error",role:"note",children:[h.jsxs("strong",{children:["Could not display ",n]}),h.jsxs("span",{className:"filetree-error-detail",children:["The browser could not decode this image. Its leading bytes are a valid ",a," header, so the file is most likely truncated or corrupt."]})]}):h.jsxs("div",{className:"imagepane",children:[h.jsx("img",{className:"imagepane-img",src:o,alt:n,onError:()=>p(!0)}),h.jsxs("p",{className:"imagepane-meta",children:[a," · ",cs(r)]})]})}function x8({path:n,state:a,wrapped:s,onToggleWrap:r,onClose:o}){const f=a.status==="loaded"&&a.content.kind==="text"?a.content.text:void 0,m=f===void 0?[]:f.split(`
|
|
40
|
-
`);return h.jsxs("div",{className:"filepane",children:[h.jsxs("div",{className:"filepane-head",children:[h.jsx("span",{className:"filepane-path",title:n,children:n}),a.status==="loaded"&&h.jsx("span",{className:"filepane-meta",children:a.content.kind==="text"?`${m.length} line${m.length===1?"":"s"} · ${cs(a.bytes)}`:cs(a.bytes)}),h.jsx(yl,{text:n,label:`path ${n}`}),a.status==="loaded"&&a.content.kind==="text"&&h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:r,"aria-pressed":s,title:s?"Stop wrapping long lines, and scroll sideways instead":"Wrap long lines so the whole line is readable without scrolling sideways",children:s?"No wrap":"Wrap lines"}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:o,"aria-label":"Close file",children:"Close"})]}),a.status==="unloaded"||a.status==="loading"?h.jsx("p",{className:"filetree-note",role:"status",children:"Reading…"}):a.status==="error"?h.jsx(kf,{path:n,reason:a.reason,code:a.code,message:a.message}):h.jsx(h.Fragment,{children:a.content.kind==="image"?h.jsx(y8,{path:n,type:a.content.type,base64:a.content.base64,bytes:a.bytes}):h.jsx("ol",{className:s?"filepane-lines is-wrapped":"filepane-lines",children:m.map((p,b)=>h.jsxs("li",{children:[h.jsx("span",{className:"filepane-line-no","aria-hidden":"true",children:b+1}),h.jsx("span",{className:"filepane-line-text",children:p===""?" ":p})]},b))})})]})}function v8({sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:m}){const p=as(a,n),b=rs(a,n,"");return h.jsxs("div",{className:"filetree",children:[h.jsxs("div",{className:"filetree-head",children:[h.jsx("span",{className:"filetree-scope",title:s,children:"Working directory"}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:f,"aria-pressed":p,title:p?"Hide dotfiles":"Show dotfiles",children:p?"Hide dotfiles":"Show dotfiles"})]}),b.status==="unloaded"?h.jsx("p",{className:"filetree-note",children:"Not loaded yet."}):b.status==="loading"?h.jsx("p",{className:"filetree-note",role:"status",children:"Reading…"}):b.status==="error"?h.jsx(kf,{path:"",reason:b.reason,code:b.code,message:b.message}):b.entries.length===0?h.jsx("p",{className:"filetree-note",children:"This directory is empty."}):h.jsx("ul",{className:"filetree-list",role:"tree","aria-label":`Files in ${s}`,children:b.entries.map(v=>h.jsx(Ep,{sessionId:n,parent:"",entry:v,state:a,depth:0,onExpand:r,onCollapse:o,onOpenFile:m},v.name))}),b.status==="loaded"&&b.truncated&&h.jsx("p",{className:"filetree-note filetree-truncated",children:"Showing the first entries only — this directory holds more."})]})}function Ep({sessionId:n,parent:a,entry:s,state:r,depth:o,onExpand:f,onCollapse:m,onOpenFile:p}){const b=Rg(a,s.name),v=Mg(s),_=v&&Og(r,n,b),y=v&&_?rs(r,n,b):void 0;return h.jsxs("li",{className:`filetree-node${s.unreadable?" is-unreadable":""}`,role:"treeitem","aria-expanded":v?_:void 0,style:{paddingLeft:`${o*12}px`},children:[h.jsxs("button",{type:"button",className:"filetree-row",onClick:()=>{v?_?m(b):f(b):p(b)},title:b,children:[h.jsx("span",{className:"filetree-mark","aria-hidden":"true",children:v?_?"▾":"▸":s.kind==="symlink"?"↗":"·"}),h.jsx("span",{className:`filetree-name${s.hidden?" is-hidden":""}`,children:s.name}),s.kind==="symlink"&&!V2(s)&&h.jsx("span",{className:"filetree-kind",children:"link"}),V2(s)&&h.jsx("span",{className:"filetree-kind filetree-bad",children:"broken"}),s.unreadable&&h.jsx("span",{className:"filetree-kind filetree-bad",children:"unreadable"}),s.size!==void 0&&h.jsx("span",{className:"filetree-size",children:cs(s.size)})]}),y!==void 0&&h.jsx(_8,{files:r,directory:y,sessionId:n,parent:b,depth:o+1,onExpand:f,onCollapse:m,onOpenFile:p})]})}function _8({files:n,directory:a,sessionId:s,parent:r,depth:o,onExpand:f,onCollapse:m,onOpenFile:p}){return a.status==="loading"||a.status==="unloaded"?h.jsx("p",{className:"filetree-note",role:"status",style:{paddingLeft:`${o*12}px`},children:"Reading…"}):a.status==="error"?h.jsx(kf,{path:r,reason:a.reason,code:a.code,message:a.message,depth:o}):a.entries.length===0?h.jsx("p",{className:"filetree-note",style:{paddingLeft:`${o*12}px`},children:"Empty."}):h.jsxs(h.Fragment,{children:[h.jsx("ul",{className:"filetree-list",role:"group",children:a.entries.map(b=>h.jsx(Ep,{sessionId:s,parent:r,entry:b,state:n,depth:o,onExpand:f,onCollapse:m,onOpenFile:p},b.name))}),a.truncated&&h.jsx("p",{className:"filetree-note filetree-truncated",style:{paddingLeft:`${o*12}px`},children:"Showing the first entries only — this directory holds more."})]})}function E8({sessionId:n,files:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,wrapped:m,onToggleWrap:p,onOpenFile:b,onCloseFile:v}){const _=jg(a,n);return h.jsxs("div",{className:"files-panel",children:[_&&h.jsxs("div",{className:"files-back",children:[h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:v,children:"‹ Files"}),h.jsx("span",{className:"files-back-path",title:_.path,children:_.path})]}),h.jsxs("div",{className:`files-body${_?" has-file":""}`,children:[h.jsx("div",{className:"files-tree",children:h.jsx(v8,{sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:b})}),_&&h.jsx("div",{className:"files-doc",children:h.jsx(x8,{path:_.path,state:_.state,wrapped:m,onToggleWrap:p,onClose:v})})]})]})}const ys=280,S8=.6,A8=1200,Of=360,T8=720;function zf(n){return Math.min(A8,Math.max(ys,n*S8))}function ta(n,a){return Number.isFinite(n)?Math.round(Math.min(zf(a),Math.max(ys,n))):Of}function C8(n,a,s){switch(n){case"ArrowLeft":return ta(a+16,s);case"ArrowRight":return ta(a-16,s);case"Home":return ta(ys,s);case"End":return ta(zf(s),s)}}const ls="pi-central.panel";function Sp(){return{width:Of,mode:"session",userSized:!1,collapsed:!0}}function D8(n){const a=Sp();if(n===null||n==="")return a;let s;try{s=JSON.parse(n)}catch{return a}if(typeof s!="object"||s===null)return a;const r=s,o=r.mode==="files"?"files":"session";return{width:typeof r.width=="number"?r.width:a.width,mode:o,userSized:r.userSized===!0,collapsed:r.collapsed!==!1}}function hf(n){return JSON.stringify(n)}const N8=[{mode:"session",label:"Session"},{mode:"files",label:"Files"}];function k8({mode:n,onMode:a,width:s,onWidth:r,viewportWidth:o,resizable:f=!0,onCommit:m,children:p}){const b=Y.useRef(void 0),v=zf(o);function _(A){f&&(A.preventDefault(),A.currentTarget.setPointerCapture(A.pointerId),b.current={pointerId:A.pointerId,startX:A.clientX,startWidth:s})}function y(A){const L=b.current;!L||L.pointerId!==A.pointerId||r(ta(L.startWidth-(A.clientX-L.startX),o),!0)}function D(A){b.current&&(b.current=void 0,A.currentTarget.hasPointerCapture(A.pointerId)&&A.currentTarget.releasePointerCapture(A.pointerId),m?.())}function M(A){f&&["ArrowLeft","ArrowRight","Home","End"].includes(A.key)&&(A.preventDefault(),r(C8(A.key,s,o),!0),m?.())}return h.jsxs("aside",{className:"panel","aria-label":"Panel",children:[h.jsx("div",{className:"panel-head",children:h.jsx("div",{className:"tabs",role:"tablist","aria-label":"Panel view",children:N8.map(({mode:A,label:L})=>h.jsx("button",{type:"button",role:"tab",id:`panel-tab-${A}`,className:"tab","aria-selected":n===A,"aria-controls":`panel-body-${A}`,tabIndex:n===A?0:-1,onClick:()=>a(A),children:L},A))})}),h.jsx("div",{className:"panel-body",id:`panel-body-${n}`,role:"tabpanel","aria-labelledby":`panel-tab-${n}`,tabIndex:-1,children:p}),f&&h.jsx("div",{className:"panel-resizer",role:"separator","aria-orientation":"vertical","aria-label":"Resize panel","aria-valuenow":s,"aria-valuemin":ys,"aria-valuemax":v,"aria-valuetext":`${s} pixels`,tabIndex:0,onPointerDown:_,onPointerMove:y,onPointerUp:D,onPointerCancel:D,onKeyDown:M,onDoubleClick:()=>{r(Of,!1),m?.()}})]})}function O8({collapsed:n,onToggle:a}){return h.jsx("button",{type:"button",className:"btn btn-quiet","aria-expanded":!n,onClick:a,title:n?"Show the session and file panel":"Hide the session and file panel and give the transcript the room",children:n?"Show panel":"Hide panel"})}function z8({following:n,onToggle:a}){return h.jsx("button",{type:"button",className:"toggle-chip","aria-pressed":n,onClick:a,title:n?"Stop scrolling to new output automatically. Jump to latest still works.":"Scroll to new output automatically whenever you are at the end of the transcript.",children:n?"auto-follow on":"auto-follow off"})}const j8=30;function M8({session:n,models:a,error:s,onRequest:r,onSelect:o}){const[f,m]=Y.useState(!1),p=()=>{f||(m(!0),r())},b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed",v=c6(n),_=f&&a===void 0&&s===void 0;if(s!==void 0)return h.jsxs("div",{className:"picker picker-broken",children:[h.jsx("span",{className:"picker-label",children:"Model"}),h.jsx("span",{className:"picker-value",title:s,children:"unavailable"}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:()=>{m(!0),r()},children:"Retry"}),h.jsxs("span",{className:"picker-note warn",children:["Could not read the model list: ",s]})]});const y=n.model===void 0?"—":n.provider?`${n.provider}/${n.model}`:n.model,D=a?.find(L=>Lm(n,L)),M=D?D.name??D.id:y,A=vf(M,j8);return h.jsxs("div",{className:"picker",children:[h.jsx("label",{className:"picker-label",htmlFor:`model-${n.id}`,children:"Model"}),h.jsxs("div",{className:"picker-field",children:[h.jsx("span",{className:`picker-display mono${b?"":" is-disabled"}`,"aria-hidden":"true",title:M,children:A}),h.jsxs("select",{id:`model-${n.id}`,className:"picker-select",title:M,value:a===void 0?"":R8(n,a),disabled:!b,onFocus:p,onMouseDown:p,onChange:L=>{const[V,...J]=L.target.value.split("/");V!==void 0&&J.length>0&&o(V,J.join("/"))},children:[a===void 0&&h.jsx("option",{value:"",children:y}),a!==void 0&&a.length===0&&h.jsx("option",{value:"",children:"no models available"}),a!==void 0&&i6(a).map(L=>h.jsx("optgroup",{label:L.provider,children:L.models.map(V=>h.jsxs("option",{value:`${V.provider}/${V.id}`,children:[V.name??V.id,V.reasoning?" · thinking":""]},`${V.provider}/${V.id}`))},L.provider))]})]}),_&&h.jsx("span",{className:"picker-note",children:"reading the model list…"}),v!==""&&h.jsx("span",{className:"picker-note",children:v})]})}function R8(n,a){const s=a.find(r=>Lm(n,r));return s?`${s.provider}/${s.id}`:""}function w8({installationRoot:n,initialPath:a="",onClose:s,onOpen:r}){const[o,f]=Y.useState(a),m=Y.useRef(null);Y.useEffect(()=>{m.current?.focus();const _=y=>{y.key==="Escape"&&s()};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[s]);const p=o.trim(),b=Y.useMemo(()=>{if(p.length===0)return"Enter a directory.";if(!p.startsWith("/"))return"Enter an absolute path, starting with /."},[p]),v=Y.useMemo(()=>{if(b===void 0)return pg(p,n)},[p,n,b]);return h.jsx("div",{className:"modal-backdrop",onClick:s,role:"presentation",children:h.jsxs("div",{className:"modal",role:"dialog","aria-modal":"true","aria-labelledby":"open-dir-title",onClick:_=>_.stopPropagation(),children:[h.jsx("h3",{id:"open-dir-title",children:"Open in a directory"}),h.jsx("p",{style:{marginBottom:12},children:"The session is sandboxed to this directory. Pi Central does not change a session's directory later, so start it where the work belongs."}),h.jsxs("form",{onSubmit:_=>{_.preventDefault(),b===void 0&&r(p)},children:[h.jsx("input",{ref:m,type:"text",value:o,spellCheck:!1,placeholder:"/absolute/path/to/project","aria-label":"Working directory","aria-invalid":b!==void 0&&o.length>0,onChange:_=>f(_.target.value),style:{width:"100%",background:"var(--bg)",border:"1px solid var(--line-strong)",borderRadius:6,padding:"8px 10px",color:"var(--text)",font:"13px var(--mono)"}}),b!==void 0&&o.length>0&&h.jsx("p",{style:{color:"var(--warn-text)",fontSize:12,margin:"6px 0 0"},children:b}),v!==void 0&&h.jsxs("p",{className:"hazard",role:"status",children:[h.jsx("span",{"aria-hidden":"true",children:"⚠ "}),v]}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"submit",className:"btn",disabled:b!==void 0,children:"Open here"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:s,children:"Cancel"})]})]})]})})}function L8(n){return`${n.provider??"?"}/${n.model??"?"}@${n.thinkingLevel??"?"}`}function U8({session:n,levels:a,error:s,onRequest:r,onSelect:o}){const[f,m]=Y.useState(void 0),p=L8(n),b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed";Y.useEffect(()=>{!b||f===p||(m(p),r())},[b,p,f,r]);const v=a!==void 0,_=n.thinkingLevel??"—";return s!==void 0?h.jsxs("div",{className:"picker picker-broken",children:[h.jsx("span",{className:"picker-label",children:"Thinking"}),h.jsx("span",{className:"picker-value",title:s,children:_}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:()=>{m(void 0)},children:"Retry"}),h.jsxs("span",{className:"picker-note warn",children:["Could not read the levels: ",s]})]}):h.jsxs("div",{className:"picker",children:[h.jsx("label",{className:"picker-label",htmlFor:`thinking-${n.id}`,children:"Thinking"}),h.jsxs("select",{id:`thinking-${n.id}`,className:"picker-select picker-select-narrow",value:v&&a.includes(_)?_:"",disabled:!b||!v,onChange:y=>{y.target.value!==""&&o(y.target.value)},children:[(!v||!a.includes(_))&&h.jsx("option",{value:"",children:_}),v&&a.map(y=>h.jsx("option",{value:y,children:y},y))]}),!v&&h.jsx("span",{className:"picker-note",children:"reading the levels…"})]})}function F8({history:n,historyTotal:a,onResume:s,home:r}){const[o,f]=Y.useState(""),[m,p]=Y.useState(void 0),b=a6(n,o);return h.jsxs("div",{className:"history",children:[h.jsxs("div",{className:"history-search",children:[h.jsx("input",{type:"search",value:o,placeholder:"Search sessions by content, project, or name","aria-label":"Search sessions",onChange:v=>f(v.target.value)}),o.length>0&&h.jsx("button",{type:"button",className:"btn",onClick:()=>f(""),children:"Clear search"})]}),n.length===0?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"No sessions on disk yet"}),h.jsxs("p",{children:["History comes from ",h.jsx("span",{className:"mono",children:"~/.pi/agent/sessions/"}),". A session appears here after its first message."]})]}):b.length===0?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsxs("h2",{children:["No sessions match “",o,"”."]}),h.jsx("button",{type:"button",className:"btn",onClick:()=>f(""),children:"Clear search"})]}):h.jsxs(h.Fragment,{children:[h.jsxs("p",{className:"hint",style:{marginBottom:12},"aria-live":"polite",children:[b.length," of ",n.length," session",n.length===1?"":"s",a>n.length&&h.jsxs(h.Fragment,{children:[" · searching the ",n.length," most recent of ",a]})]}),b.map(v=>h.jsx(B8,{session:v,home:r,onSelect:()=>{if(!v.cwdExists){p(v);return}s(v)}},v.path))]}),m&&h.jsx(H8,{session:m,onDismiss:()=>p(void 0)})]})}function B8({session:n,home:a,onSelect:s}){return h.jsxs("button",{type:"button",className:"history-row",onClick:s,children:[h.jsxs("span",{className:"h1",children:[h.jsx("strong",{children:n.name??"Untitled session"}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),!n.cwdExists&&h.jsx("span",{className:"chip chip-awaiting-approval",children:"directory is gone"})]}),h.jsx("span",{className:"project",title:n.cwd,children:q8(n.cwd,a)}),h.jsx("p",{className:"first",children:n.firstMessage||"(no messages)"}),h.jsxs("span",{className:"meta",children:[h.jsx("span",{children:s6(n.modifiedMs)}),h.jsxs("span",{children:[n.messageCount," msgs"]}),h.jsx("span",{children:G8(n.bytes)})]})]})}function H8({session:n,onDismiss:a}){return h.jsx("div",{className:"modal-backdrop",onClick:a,role:"presentation",children:h.jsxs("div",{className:"modal",role:"alertdialog","aria-modal":"true","aria-labelledby":"refusal-title",onClick:s=>s.stopPropagation(),children:[h.jsx("h3",{id:"refusal-title",children:"This session's directory is gone"}),h.jsx("p",{style:{marginBottom:12},children:"The directory this session worked in no longer exists:"}),h.jsx("pre",{className:"cmd",style:{marginBottom:12},children:n.cwd}),h.jsx("p",{style:{marginBottom:16},children:"Restore it, or start a new session in the directory you want to work in. Pi Central does not move a session between directories."}),h.jsxs("div",{className:"dialog-actions",style:{marginTop:0},children:[h.jsx("button",{type:"button",className:"btn",onClick:a,children:"Close"}),h.jsx(yl,{text:n.cwd,label:"path"})]})]})})}function q8(n,a){return a&&n.startsWith(a)?`~${n.slice(a.length)}`:n}function G8(n){return n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/(1024*1024)).toFixed(1)} MB`}function Y8(){const[n,a]=Y.useReducer($g,void 0,Rm),[s,r]=Y.useState("connecting"),[o,f]=Y.useState(void 0),[m,p]=Y.useState("sessions"),[b,v]=Y.useState(!1),[_,y]=Y.useState(void 0),[D,M]=Y.useState(!1),A=Y.useRef(null),[L,V]=Y.useState({}),[J,fe]=Y.useState(0),[le,G]=Y.useState(!0),Q=Y.useRef(new Map),[te,P]=Y.useState(()=>Y2().collapsed),[ae,$e]=Y.useState(()=>Y2().markers),[ce,he]=Y.useState(()=>{try{return D8(localStorage.getItem(ls))}catch{return Sp()}}),[je,eu]=Y.useState(()=>typeof window>"u"?1440:window.innerWidth);Y.useEffect(()=>{const X=()=>{eu(window.innerWidth),he(F=>({...F,width:ta(F.width,window.innerWidth)}))};return window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[]),Y.useEffect(()=>{Cg({collapsed:te,markers:ae})},[te,ae]);const Je=Y.useCallback((X,F)=>{he(Ue=>({...Ue,width:X,userSized:F}))},[]),Me=Y.useCallback(()=>{he(X=>{const F={...X,collapsed:!X.collapsed};try{localStorage.setItem(ls,hf(F))}catch{}return F})},[]),W=Y.useCallback(()=>{he(X=>{try{localStorage.setItem(ls,hf(X))}catch{}return X})},[]),se=Y.useCallback(X=>{he(F=>{const Ue=X==="files"&&!F.userSized?ta(T8,je):F.width,nu={...F,mode:X,width:Ue};try{localStorage.setItem(ls,hf(nu))}catch{}return nu})},[je]),[de,xe]=Y.useReducer(wg,void 0,Dg),ye=Y.useRef(de);ye.current=de;const gu=Y.useRef(void 0);Y.useEffect(()=>{const X=new yg(xg(),{onEvent:F=>{switch(a(F),F.kind){case"files":xe({kind:"filesLoaded",sessionId:F.sessionId,path:F.path,entries:F.entries,truncated:F.truncated});break;case"file":xe({kind:"fileLoaded",sessionId:F.sessionId,path:F.path,bytes:F.bytes,content:F.content});break;case"fileError":F.request==="list"?xe({kind:"filesFailed",sessionId:F.sessionId,path:F.path,reason:F.reason,...F.code===void 0?{}:{code:F.code},message:F.message}):xe({kind:"fileFailed",sessionId:F.sessionId,path:F.path,reason:F.reason,...F.code===void 0?{}:{code:F.code},message:F.message});break}},onStatus:(F,Ue)=>{r(F),f(Ue)}});return gu.current=X,X.connect(),()=>X.disconnect()},[]);const we=Y.useCallback(X=>{const F=gu.current?.send(X);return F||a({kind:"error",message:"Not connected to the orchestrator. Nothing was sent."}),F},[]),I=e6(n),T=Y.useCallback((X,F,Ue)=>{xe({kind:"filesLoading",sessionId:X,path:F}),we({kind:"listFiles",sessionId:X,path:F,includeHidden:Ue})},[we]),Z=Y.useCallback(X=>{I&&(xe({kind:"setExpanded",sessionId:I.id,path:X,expanded:!0}),rs(ye.current,I.id,X).status!=="loaded"&&T(I.id,X,as(ye.current,I.id)))},[I,T]),K=Y.useCallback(X=>{I&&(xe({kind:"openFile",sessionId:I.id,path:X}),xe({kind:"fileLoading",sessionId:I.id,path:X}),we({kind:"readFile",sessionId:I.id,path:X}))},[I,we]),ie=Y.useCallback(()=>{if(!I)return;const X=I.id,F=!as(ye.current,X);xe({kind:"toggleHidden",sessionId:X});const Ue=`${X}\0`;for(const nu of Object.keys(ye.current.directories))nu.startsWith(Ue)&&T(X,nu.slice(Ue.length),F)},[I,T]),Se=I?.id;Y.useEffect(()=>{Se&&rs(ye.current,Se,"").status==="unloaded"&&T(Se,"",as(ye.current,Se))},[Se,T]);const ke=n.live.map(X=>X.id).join("\0");Y.useEffect(()=>{const X=new Set(n.live.map(F=>F.id));for(const F of Object.keys(ye.current.directories)){const{sessionId:Ue}=Ng(F);X.has(Ue)||xe({kind:"forgetSession",sessionId:Ue})}},[ke]);const Re=u6(n,I?.id),ee=Wg(n),me=n.home,Qu=Pg(n);Y.useEffect(()=>{const X=F=>{const Ue=F.metaKey||F.ctrlKey;Ue&&F.key.toLowerCase()==="n"&&(F.preventDefault(),we({kind:"start"})),Ue&&F.shiftKey&&F.key.toLowerCase()==="o"&&(F.preventDefault(),v(!0))};return window.addEventListener("keydown",X),()=>window.removeEventListener("keydown",X)},[we]);const _l=Y.useCallback(()=>{we({kind:"start"})},[we]),Nt=Y.useCallback(X=>{we({kind:"start",cwd:X}),v(!1),p("sessions")},[we]),Ce=Y.useCallback((X,F)=>{I&&we({kind:"answerDialog",sessionId:I.id,dialogId:X,answer:F})},[I,we]);return h.jsxs("div",{className:"app",children:[h.jsxs("header",{className:"topbar",children:[h.jsxs("h1",{className:"wordmark",children:[h.jsx("img",{className:"wordmark-mark",src:vg,alt:"","aria-hidden":"true"}),"Pi Central"]}),h.jsxs("div",{className:"tabs",role:"tablist","aria-label":"View",children:[h.jsx("button",{type:"button",role:"tab",className:"tab","aria-selected":m==="sessions",onClick:()=>p("sessions"),children:"Sessions"}),h.jsx("button",{type:"button",role:"tab",className:"tab","aria-selected":m==="history",onClick:()=>p("history"),children:"History"})]}),h.jsxs("div",{className:"topbar-right",children:[h.jsxs("div",{className:"fleet",children:[h.jsxs("span",{children:[ee.total," session",ee.total===1?"":"s"]}),ee.running>0&&h.jsxs("span",{children:[ee.running," running"]}),ee.scratch>0&&h.jsxs("span",{children:[ee.scratch," scratch"]}),ee.needs>0&&h.jsxs("span",{className:"fleet-needs",children:[ee.needs," need you"]})]}),h.jsxs("span",{className:`conn conn-${s}`,children:[h.jsx("span",{className:"conn-dot","aria-hidden":"true"}),h.jsx("span",{children:s==="open"?"connected":s==="connecting"?"connecting…":"disconnected"}),o&&h.jsxs("span",{className:"hint",children:["· ",o]})]}),h.jsx(O8,{collapsed:ce.collapsed,onToggle:Me}),h.jsx("button",{type:"button",className:"btn btn-quiet",ref:A,onClick:()=>M(!0),children:"Settings"})]})]}),Qu&&h.jsxs("div",{className:"direct-banner",role:"alert",children:[h.jsx("strong",{children:"Direct mode: sessions are not sandboxed"}),h.jsx("span",{children:"These sessions run pi with your account's access. Everything else in Pi Central is unaffected; start new sessions with the sandbox to change it."})]}),n.errors.length>0&&h.jsx(Z8,{message:n.errors[0],onDismiss:()=>a({kind:"error",message:""})}),h.jsxs("div",{className:ce.collapsed?"panes is-collapsed":"panes",style:{"--panel-width":`${ce.width}px`},children:[h.jsx(m6,{sessions:n.live,focusedId:n.focusedId,onFocus:X=>{a({kind:"focusSession",sessionId:X}),p("sessions")},onStartSession:_l,onOpenDirectory:()=>v(!0),home:me,historyTotal:n.historyTotal}),m==="history"?h.jsx("main",{className:"column",children:h.jsx(F8,{history:n.history,historyTotal:n.historyTotal,home:me,onResume:X=>{we({kind:"resume",path:X.path}),p("sessions")}})}):h.jsx("main",{className:"column",children:h.jsx(V8,{session:I,traceCollapsed:I?te[I.id]===!0:!1,showMarkers:I?ae[I.id]!==!1:!0,onToggleTraceCollapsed:X=>I&&P(F=>({...F,[I.id]:X})),onToggleMarkers:()=>I&&$e(X=>({...X,[I.id]:X[I.id]===!1})),transcript:Re,home:me,historyError:n.transcriptErrors[I?.id??""],followToken:J,autoFollow:le,onToggleAutoFollow:()=>G(X=>!X),scrollMemory:Q,models:I?n.models[I.id]:void 0,modelError:I?n.modelErrors[I.id]:void 0,onAnswer:Ce,onRequestModels:()=>{I&&we({kind:"listModels",sessionId:I.id})},onSelectModel:(X,F)=>{I&&we({kind:"setModel",sessionId:I.id,provider:X,modelId:F})},thinking:{levels:I?n.thinkingLevels[I.id]:void 0,error:I?n.thinkingLevelErrors[I.id]:void 0},onRequestThinkingLevels:()=>{I&&we({kind:"listThinkingLevels",sessionId:I.id})},onSelectThinkingLevel:X=>{I&&we({kind:"setThinkingLevel",sessionId:I.id,level:X})},onSend:(X,F)=>{I&&(we(I.state==="streaming"?{kind:"prompt",sessionId:I.id,message:X,behavior:F}:{kind:"prompt",sessionId:I.id,message:X}),fe(Ue=>Ue+1))},onClearQueueAndStop:()=>{I&&we({kind:"clearQueue",sessionId:I.id,andStop:!0})},state:n,restored:I?n.restoredQueue[I.id]??[]:[],onRestored:()=>{I&&a({kind:"queueRestored",sessionId:I.id})},draft:I?L[I.id]??"":"",onDraftChange:X=>{I&&V(F=>({...F,[I.id]:X}))}},I?.id)}),!ce.collapsed&&h.jsx(k8,{mode:ce.mode,onMode:se,width:ce.width,onWidth:Je,viewportWidth:je,onCommit:W,children:ce.mode==="session"?h.jsx(d8,{session:m==="sessions"?I:void 0,home:me,onStop:()=>I&&y(I),onRename:X=>I&&we({kind:"rename",sessionId:I.id,name:X})}):I?h.jsx(E8,{sessionId:I.id,files:de,cwd:I.cwd,onExpand:Z,onCollapse:X=>xe({kind:"setExpanded",sessionId:I.id,path:X,expanded:!1}),onToggleHidden:ie,wrapped:zg(de,I.id),onToggleWrap:()=>xe({kind:"toggleWrap",sessionId:I.id}),onOpenFile:K,onCloseFile:()=>xe({kind:"closeFile",sessionId:I.id})}):h.jsx("p",{className:"panel-empty",children:"Select a session to browse its working directory."})})]}),D&&h.jsx(p8,{install:n.install,ready:n.ready,onClose:()=>{M(!1),A.current?.focus()}}),b&&h.jsx(w8,{installationRoot:n.installationRoot,onClose:()=>v(!1),onOpen:Nt}),_&&h.jsx(X8,{session:_,onCancel:()=>y(void 0),onConfirm:()=>{we({kind:"stop",sessionId:_.id}),y(void 0)}})]})}function V8({session:n,transcript:a,home:s,historyError:r,models:o,modelError:f,onAnswer:m,onRequestModels:p,onSelectModel:b,thinking:v,onRequestThinkingLevels:_,onSelectThinkingLevel:y,onSend:D,onClearQueueAndStop:M,followToken:A,autoFollow:L,traceCollapsed:V,showMarkers:J,onToggleTraceCollapsed:fe,onToggleMarkers:le,onToggleAutoFollow:G,scrollMemory:Q,restored:te,onRestored:P,state:ae,draft:$e,onDraftChange:ce}){if(!n)return h.jsxs("div",{className:"empty",children:[h.jsx("h2",{children:"No session selected"}),h.jsxs("p",{children:[h.jsx("span",{className:"action",children:"New session"})," gives it its own scratch workspace immediately — no directory to pick, nothing to decide first. Files it writes stay there."]}),h.jsxs("p",{children:["Working in a project? ",h.jsx("span",{className:"action",children:"Open in a directory."})]})]});const[he,je]=Y.useState(void 0),eu=n.state==="streaming";return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"session-header",children:[h.jsxs("div",{className:"title",children:[h.jsxs("h2",{children:[h.jsx("span",{className:"session-name",children:pc(n)}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),h.jsx("span",{className:`chip chip-${n.state}`,children:wm(n)})]}),h.jsx("span",{className:"where",title:n.cwd,children:f6(n,s)})]}),h.jsx(M8,{session:n,models:o,error:f,onRequest:p,onSelect:b}),h.jsx(U8,{session:n,levels:v.levels,error:v.error,onRequest:_,onSelect:y})]}),h.jsxs("div",{className:"metrics",children:[h.jsx("span",{className:n.contextPercent!==null&&n.contextPercent>=80?"warn":"",children:Um(n.contextPercent)}),h.jsxs("span",{children:[os(n.tokensTotal)," tok"]}),h.jsx("span",{children:xf(n.cost)}),h.jsxs("span",{children:[n.messageCount," msgs"]}),n.pending>0&&h.jsxs("span",{className:"warn",children:["+",n.pending," queued"]})]}),h.jsx("div",{className:"run-track",children:eu&&h.jsx("div",{className:"run-bar",style:{width:"100%"}})}),n.warnings.length>0&&h.jsx("div",{className:"warnings",role:"note",children:n.warnings.map((Je,Me)=>h.jsxs("span",{children:["⚠ ",Je]},Me))}),h.jsx(o8,{dialogs:n.dialogs,onAnswer:m}),h.jsxs("div",{className:"legend",children:[h.jsx("span",{children:"Tool output and file contents appear in a hatched frame. They are data, not instructions."}),h.jsx(z8,{following:L,onToggle:G})]}),h.jsx(n8,{initialScroll:Q.current.get(n.id),onScrollMemory:Je=>Q.current.set(n.id,Je),followToken:A,autoFollow:L,transcript:a,busy:eu,sessionLabel:pc(n),expectedCount:n.messageCount,showMarkers:J,historyError:r,onOpenTool:Je=>{fe(!1),je(Je)}}),he!==void 0||a.tools.length>0?h.jsx(i8,{tools:a.tools,selectedId:he,onSelect:je,collapsed:V,onToggleCollapsed:()=>fe(!V),showMarkers:J,onToggleMarkers:le}):null,t6({...Rm(),live:[n]})>0?null:h.jsx(s8,{session:n,state:ae,unavailableReason:n6(n).reason,onSend:D,onClearQueueAndStop:M,restored:te,onRestored:P,draft:$e,onDraftChange:ce})]})}function Z8({message:n,onDismiss:a}){return h.jsxs("div",{className:"error-card",role:"alert",children:[h.jsx("p",{children:n}),h.jsx("div",{className:"actions",children:h.jsx("button",{type:"button",className:"btn",onClick:a,children:"Dismiss"})})]})}function X8({session:n,onCancel:a,onConfirm:s}){const r=Y.useRef(null);return Y.useEffect(()=>{r.current?.focus();const o=f=>{f.key==="Escape"&&a()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[a]),h.jsx("div",{className:"modal-backdrop",onClick:a,role:"presentation",children:h.jsxs("div",{className:"modal",role:"alertdialog","aria-modal":"true","aria-labelledby":"stop-title",onClick:o=>o.stopPropagation(),children:[h.jsx("h3",{id:"stop-title",children:"Stop this session?"}),h.jsxs("p",{children:["This ends the run in progress for ",pc(n),". Messages so far are already saved."]}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn btn-danger",onClick:s,children:"Stop session"}),h.jsx("button",{type:"button",className:"btn",ref:r,onClick:a,children:"Keep running"})]})]})})}const Ap=document.getElementById("root");if(!Ap)throw new Error("missing #root");sg.createRoot(Ap).render(h.jsx(Y.StrictMode,{children:h.jsx(Y8,{})}));"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/sw.js").catch(()=>{})});export{is as _};
|