pi-central 0.2.0 → 0.4.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 +70 -17
- package/bin/pi-central.js +143 -10
- package/bin/pi-central.js.map +4 -4
- package/dist/ui/apple-touch-icon.png +0 -0
- package/dist/ui/assets/{grammar-map-VuoEIDon.js → grammar-map-CcZdLTyL.js} +1 -1
- package/dist/ui/assets/index-BC2CSxKc.js +40 -0
- package/dist/ui/assets/index-SAdkZfHm.css +1 -0
- package/dist/ui/assets/logo-icon-BCSgj5RT.svg +23 -0
- package/dist/ui/assets/logo-icon-CYTM3sb_.png +0 -0
- package/dist/ui/icon-192.png +0 -0
- package/dist/ui/icon-512.png +0 -0
- package/dist/ui/index.html +33 -3
- package/dist/ui/manifest.webmanifest +30 -0
- package/dist/ui/sw.js +93 -0
- package/package.json +1 -1
- package/dist/ui/assets/index-BGiGoTsW.css +0 -1
- package/dist/ui/assets/index-qgPxqDeZ.js +0 -40
|
@@ -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 h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).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 U0={exports:{}},ac={};var D2;function Ib(){if(D2)return ac;D2=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(r,o,f){var h=null;if(f!==void 0&&(h=""+f),o.key!==void 0&&(h=""+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:h,ref:o!==void 0?o:null,props:f}}return ac.Fragment=a,ac.jsx=s,ac.jsxs=s,ac}var C2;function Kb(){return C2||(C2=1,U0.exports=Ib()),U0.exports}var m=Kb(),F0={exports:{}},be={};var N2;function $b(){if(N2)return be;N2=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"),h=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"),C=Symbol.for("react.view_transition"),R=Symbol.iterator;function A(T){return T===null||typeof T!="object"?null:(T=R&&T[R]||T["@@iterator"],typeof T=="function"?T:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,K={};function ue(T,Y,Q){this.props=T,this.context=Y,this.refs=K,this.updater=Q||U}ue.prototype.isReactComponent={},ue.prototype.setState=function(T,Y){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,Y,"setState")},ue.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function ee(){}ee.prototype=ue.prototype;function G(T,Y,Q){this.props=T,this.context=Y,this.refs=K,this.updater=Q||U}var I=G.prototype=new ee;I.constructor=G,Z(I,ue.prototype),I.isPureReactComponent=!0;var ae=Array.isArray;function P(){}var ce={H:null,A:null,T:null,S:null},ke=Object.prototype.hasOwnProperty;function Oe(T,Y,Q){var F=Q.ref;return{$$typeof:n,type:T,key:Y,ref:F!==void 0?F:null,props:Q}}function je(T,Y){return Oe(T.type,Y,T.props)}function ge(T){return typeof T=="object"&&T!==null&&T.$$typeof===n}function W(T){var Y={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(Q){return Y[Q]})}var lu=/\/+/g;function Re(T,Y){return typeof T=="object"&&T!==null&&T.key!=null?W(""+T.key):Y.toString(36)}function J(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(Y){T.status==="pending"&&(T.status="fulfilled",T.value=Y)},function(Y){T.status==="pending"&&(T.status="rejected",T.reason=Y)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function re(T,Y,Q,F,V){var fe=typeof T;(fe==="undefined"||fe==="boolean")&&(T=null);var Ee=!1;if(T===null)Ee=!0;else switch(fe){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(T.$$typeof){case n:case a:Ee=!0;break;case _:return Ee=T._init,re(Ee(T._payload),Y,Q,F,V)}}if(Ee)return V=V(T),Ee=F===""?"."+Re(T,0):F,ae(V)?(Q="",Ee!=null&&(Q=Ee.replace(lu,"$&/")+"/"),re(V,Y,Q,"",function(ht){return ht})):V!=null&&(ge(V)&&(V=je(V,Q+(V.key==null||T&&T.key===V.key?"":(""+V.key).replace(lu,"$&/")+"/")+Ee)),Y.push(V)),1;Ee=0;var le=F===""?".":F+":";if(ae(T))for(var pe=0;pe<T.length;pe++)F=T[pe],fe=le+Re(F,pe),Ee+=re(F,Y,Q,fe,V);else if(pe=A(T),typeof pe=="function")for(T=pe.call(T),pe=0;!(F=T.next()).done;)F=F.value,fe=le+Re(F,pe++),Ee+=re(F,Y,Q,fe,V);else if(fe==="object"){if(typeof T.then=="function")return re(J(T),Y,Q,F,V);throw Y=String(T),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function oe(T,Y,Q){if(T==null)return T;var F=[],V=0;return re(T,F,"","",function(fe){return Y.call(Q,fe,V++)}),F}function Le(T){if(T._status===-1){var Y=T._result,Q=Y();Q.then(function(F){(T._status===0||T._status===-1)&&(T._status=1,T._result=F,Q.status===void 0&&(Q.status="fulfilled",Q.value=F))},function(F){(T._status===0||T._status===-1)&&(T._status=2,T._result=F,Q.status===void 0&&(Q.status="rejected",Q.reason=F))}),T._status===-1&&(T._status=0,T._result=Q)}if(T._status===1)return T._result.default;throw T._result}var Ae=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=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(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function Ie(T){var Y=ce.T,Q={};Q.types=Y!==null?Y.types:null,ce.T=Q;try{var F=T(),V=ce.S;V!==null&&V(Q,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(P,Ae)}catch(fe){Ae(fe)}finally{Y!==null&&Q.types!==null&&(Y.types=Q.types),ce.T=Y}}function _u(T){var Y=ce.T;if(Y!==null){var Q=Y.types;Q===null?Y.types=[T]:Q.indexOf(T)===-1&&Q.push(T)}else Ie(_u.bind(null,T))}var Ct={map:oe,forEach:function(T,Y,Q){oe(T,function(){Y.apply(this,arguments)},Q)},count:function(T){var Y=0;return oe(T,function(){Y++}),Y},toArray:function(T){return oe(T,function(Y){return Y})||[]},only:function(T){if(!ge(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return be.Activity=y,be.Children=Ct,be.Component=ue,be.Fragment=s,be.Profiler=o,be.PureComponent=G,be.StrictMode=r,be.Suspense=b,be.ViewTransition=C,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ce,be.__COMPILER_RUNTIME={__proto__:null,c:function(T){return ce.H.useMemoCache(T)}},be.addTransitionType=_u,be.cache=function(T){return function(){return T.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(T,Y,Q){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var F=Z({},T.props),V=T.key;if(Y!=null)for(fe in Y.key!==void 0&&(V=""+Y.key),Y)!ke.call(Y,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&Y.ref===void 0||(F[fe]=Y[fe]);var fe=arguments.length-2;if(fe===1)F.children=Q;else if(1<fe){for(var Ee=Array(fe),le=0;le<fe;le++)Ee[le]=arguments[le+2];F.children=Ee}return Oe(T.type,V,F)},be.createContext=function(T){return T={$$typeof:h,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},be.createElement=function(T,Y,Q){var F,V={},fe=null;if(Y!=null)for(F in Y.key!==void 0&&(fe=""+Y.key),Y)ke.call(Y,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(V[F]=Y[F]);var Ee=arguments.length-2;if(Ee===1)V.children=Q;else if(1<Ee){for(var le=Array(Ee),pe=0;pe<Ee;pe++)le[pe]=arguments[pe+2];V.children=le}if(T&&T.defaultProps)for(F in Ee=T.defaultProps,Ee)V[F]===void 0&&(V[F]=Ee[F]);return Oe(T,fe,V)},be.createRef=function(){return{current:null}},be.forwardRef=function(T){return{$$typeof:p,render:T}},be.isValidElement=ge,be.lazy=function(T){return{$$typeof:_,_payload:{_status:-1,_result:T},_init:Le}},be.memo=function(T,Y){return{$$typeof:v,type:T,compare:Y===void 0?null:Y}},be.startTransition=Ie,be.unstable_useCacheRefresh=function(){return ce.H.useCacheRefresh()},be.use=function(T){return ce.H.use(T)},be.useActionState=function(T,Y,Q){return ce.H.useActionState(T,Y,Q)},be.useCallback=function(T,Y){return ce.H.useCallback(T,Y)},be.useContext=function(T){return ce.H.useContext(T)},be.useDebugValue=function(){},be.useDeferredValue=function(T,Y){return ce.H.useDeferredValue(T,Y)},be.useEffect=function(T,Y){return ce.H.useEffect(T,Y)},be.useEffectEvent=function(T){return ce.H.useEffectEvent(T)},be.useId=function(){return ce.H.useId()},be.useImperativeHandle=function(T,Y,Q){return ce.H.useImperativeHandle(T,Y,Q)},be.useInsertionEffect=function(T,Y){return ce.H.useInsertionEffect(T,Y)},be.useLayoutEffect=function(T,Y){return ce.H.useLayoutEffect(T,Y)},be.useMemo=function(T,Y){return ce.H.useMemo(T,Y)},be.useOptimistic=function(T,Y){return ce.H.useOptimistic(T,Y)},be.useReducer=function(T,Y,Q){return ce.H.useReducer(T,Y,Q)},be.useRef=function(T){return ce.H.useRef(T)},be.useState=function(T){return ce.H.useState(T)},be.useSyncExternalStore=function(T,Y,Q){return ce.H.useSyncExternalStore(T,Y,Q)},be.useTransition=function(){return ce.H.useTransition()},be.version="19.3.1",be}var k2;function bf(){return k2||(k2=1,F0.exports=$b()),F0.exports}var X=bf(),B0={exports:{}},ic={},H0={exports:{}},q0={};var O2;function Jb(){return O2||(O2=1,(function(n){function a(J,re){var oe=J.length;J.push(re);e:for(;0<oe;){var Le=oe-1>>>1,Ae=J[Le];if(0<o(Ae,re))J[Le]=re,J[oe]=Ae,oe=Le;else break e}}function s(J){return J.length===0?null:J[0]}function r(J){if(J.length===0)return null;var re=J[0],oe=J.pop();if(oe!==re){J[0]=oe;e:for(var Le=0,Ae=J.length,Ie=Ae>>>1;Le<Ie;){var _u=2*(Le+1)-1,Ct=J[_u],T=_u+1,Y=J[T];if(0>o(Ct,oe))T<Ae&&0>o(Y,Ct)?(J[Le]=Y,J[T]=oe,Le=T):(J[Le]=Ct,J[_u]=oe,Le=_u);else if(T<Ae&&0>o(Y,oe))J[Le]=Y,J[T]=oe,Le=T;else break e}}return re}function o(J,re){var oe=J.sortIndex-re.sortIndex;return oe!==0?oe:J.id-re.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 h=Date,p=h.now();n.unstable_now=function(){return h.now()-p}}var b=[],v=[],_=1,y=null,C=3,R=!1,A=!1,U=!1,Z=!1,K=typeof setTimeout=="function"?setTimeout:null,ue=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;function G(J){for(var re=s(v);re!==null;){if(re.callback===null)r(v);else if(re.startTime<=J)r(v),re.sortIndex=re.expirationTime,a(b,re);else break;re=s(v)}}function I(J){if(U=!1,G(J),!A)if(s(b)!==null)A=!0,ae||(ae=!0,ge());else{var re=s(v);re!==null&&Re(I,re.startTime-J)}}var ae=!1,P=-1,ce=5,ke=-1;function Oe(){return Z?!0:!(n.unstable_now()-ke<ce)}function je(){if(Z=!1,ae){var J=n.unstable_now();ke=J;var re=!0;try{e:{A=!1,U&&(U=!1,ue(P),P=-1),R=!0;var oe=C;try{u:{for(G(J),y=s(b);y!==null&&!(y.expirationTime>J&&Oe());){var Le=y.callback;if(typeof Le=="function"){y.callback=null,C=y.priorityLevel;var Ae=Le(y.expirationTime<=J);if(J=n.unstable_now(),typeof Ae=="function"){y.callback=Ae,G(J),re=!0;break u}y===s(b)&&r(b),G(J)}else r(b);y=s(b)}if(y!==null)re=!0;else{var Ie=s(v);Ie!==null&&Re(I,Ie.startTime-J),re=!1}}break e}finally{y=null,C=oe,R=!1}re=void 0}}finally{re?ge():ae=!1}}}var ge;if(typeof ee=="function")ge=function(){ee(je)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,lu=W.port2;W.port1.onmessage=je,ge=function(){lu.postMessage(null)}}else ge=function(){K(je,0)};function Re(J,re){P=K(function(){J(n.unstable_now())},re)}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(J){J.callback=null},n.unstable_forceFrameRate=function(J){0>J||125<J?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ce=0<J?Math.floor(1e3/J):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_next=function(J){switch(C){case 1:case 2:case 3:var re=3;break;default:re=C}var oe=C;C=re;try{return J()}finally{C=oe}},n.unstable_requestPaint=function(){Z=!0},n.unstable_runWithPriority=function(J,re){switch(J){case 1:case 2:case 3:case 4:case 5:break;default:J=3}var oe=C;C=J;try{return re()}finally{C=oe}},n.unstable_scheduleCallback=function(J,re,oe){var Le=n.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Le+oe:Le):oe=Le,J){case 1:var Ae=-1;break;case 2:Ae=250;break;case 5:Ae=1073741823;break;case 4:Ae=1e4;break;default:Ae=5e3}return Ae=oe+Ae,J={id:_++,callback:re,priorityLevel:J,startTime:oe,expirationTime:Ae,sortIndex:-1},oe>Le?(J.sortIndex=oe,a(v,J),s(b)===null&&J===s(v)&&(U?(ue(P),P=-1):U=!0,Re(I,oe-Le))):(J.sortIndex=Ae,a(b,J),A||R||(A=!0,ae||(ae=!0,ge()))),J},n.unstable_shouldYield=Oe,n.unstable_wrapCallback=function(J){var re=C;return function(){var oe=C;C=re;try{return J.apply(this,arguments)}finally{C=oe}}}})(q0)),q0}var z2;function Wb(){return z2||(z2=1,H0.exports=Jb()),H0.exports}var G0={exports:{}},Nu={};var j2;function Pb(){if(j2)return Nu;j2=1;var n=bf();function a(_){var y="https://react.dev/errors/"+_;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var C=2;C<arguments.length;C++)y+="&args[]="+encodeURIComponent(arguments[C])}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"),h=Symbol.for("react.optimistic_key");function p(_,y,C){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:R==null?null:R===h?h:""+R,children:_,containerInfo:y,implementation:C}}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 Nu.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Nu.browser=function(_){return{$$typeof:f,_reason:_}},Nu.createPortal=function(_,y){var C=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,C)},Nu.flushSync=function(_){var y=b.T,C=r.p;try{if(b.T=null,r.p=2,_)return _()}finally{b.T=y,r.p=C,r.d.f()}},Nu.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))},Nu.prefetchDNS=function(_){typeof _=="string"&&r.d.D(_)},Nu.preinit=function(_,y){if(typeof _=="string"&&y&&typeof y.as=="string"){var C=y.as,R=v(C,y.crossOrigin),A=typeof y.integrity=="string"?y.integrity:void 0,U=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;C==="style"?r.d.S(_,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:R,integrity:A,fetchPriority:U}):C==="script"&&r.d.X(_,{crossOrigin:R,integrity:A,fetchPriority:U,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Nu.preinitModule=function(_,y){if(typeof _=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var C=v(y.as,y.crossOrigin);r.d.M(_,{crossOrigin:C,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(_)},Nu.preload=function(_,y){if(typeof _=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var C=y.as,R=v(C,y.crossOrigin);r.d.L(_,C,{crossOrigin:R,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})}},Nu.preloadModule=function(_,y){if(typeof _=="string")if(y){var C=v(y.as,y.crossOrigin);r.d.m(_,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:C,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(_)},Nu.requestFormReset=function(_){r.d.r(_)},Nu.unstable_batchedUpdates=function(_,y){return _(y)},Nu.useFormState=function(_,y,C){return b.H.useFormState(_,y,C)},Nu.useFormStatus=function(){return b.H.useHostTransitionStatus()},Nu.version="19.3.1",Nu}var M2;function eg(){if(M2)return G0.exports;M2=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(),G0.exports=Pb(),G0.exports}var R2;function ug(){if(R2)return ic;R2=1;var n=Wb(),a=bf(),s=eg();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 h(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 C(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 R(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=C(e);return t===null||U(u,e,t.child,{foundSelf:!1}),u}function U(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)&&U(e,u,t.child,l))return!0;t=t.sibling}return!1}function Z(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 K=null,ue=null;function ee(e,u,t){return e===t?!0:e===u?(K=e,!0):!1}function G(e,u,t){return e===t?(ue=e,!1):e===u?(ue!==null&&(K=e),!0):!1}function I(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 ae(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,ce=Symbol.for("react.element"),ke=Symbol.for("react.transitional.element"),Oe=Symbol.for("react.portal"),je=Symbol.for("react.fragment"),ge=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),lu=Symbol.for("react.consumer"),Re=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),Ie=Symbol.for("react.activity"),_u=Symbol.for("react.legacy_hidden"),Ct=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),Y=Symbol.for("react.recoverable"),Q=Symbol.iterator;function F(e){return e===null||typeof e!="object"?null:(e=Q&&e[Q]||e["@@iterator"],typeof e=="function"?e:null)}var V=Symbol.for("react.client.reference");function fe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===V?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case je:return"Fragment";case W:return"Profiler";case ge:return"StrictMode";case re:return"Suspense";case oe:return"SuspenseList";case Ie:return"Activity";case T:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case Oe:return"Portal";case Re:return e.displayName||"Context";case lu:return(e._context.displayName||"Context")+".Consumer";case J:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Le:return u=e.displayName||null,u!==null?u:fe(e.type)||"Memo";case Ae:u=e._payload,e=e._init;try{return fe(e(u))}catch{}}return null}var Ee=Array.isArray,le=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pe=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ht={pending:!1,data:null,method:null,action:null},ai=[],an=-1;function ze(e){return{current:e}}function uu(e){0>an||(e.current=ai[an],ai[an]=null,an--)}function de(e,u){an++,ai[an]=e.current,e.current=u}var Zu=ze(null),zu=ze(null),Xu=ze(null),_l=ze(null);function tt(e,u){switch(de(Xu,u),de(zu,e),de(Zu,null),u.nodeType){case 9:case 11:e=(e=u.documentElement)&&(e=e.namespaceURI)?wh(e):0;break;default:if(e=u.tagName,u=u.namespaceURI)u=wh(u),e=Lh(u,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}uu(Zu),de(Zu,e)}function cn(){uu(Zu),uu(zu),uu(Xu)}function El(e){var u=e.memoizedState;u!==null&&(Ka._currentValue=u.memoizedState,de(_l,e)),u=Zu.current;var t=Lh(u,e.type);u!==t&&(de(zu,e),de(Zu,t))}function Sl(e){zu.current===e&&(uu(Zu),uu(zu)),_l.current===e&&(uu(_l),Ka._currentValue=ht)}var Al,mt;function ju(e){if(Al===void 0)try{throw Error()}catch(t){var u=t.stack.trim().match(/\n( *(at )?)/);Al=u&&u[1]||"",mt=-1<t.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+Al+e+mt}var Nt=!1;function Tl(e,u){if(!e||Nt)return"";Nt=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(u){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch($){var N=$}Reflect.construct(e,[],L)}else{try{L.call()}catch($){N=$}L=!1;try{var j=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),L=!0,new e}finally{L&&(j!==void 0?Object.defineProperty(e.prototype,"props",j):delete e.prototype.props)}}}else{try{throw Error()}catch($){N=$}(L=e())&&typeof L.catch=="function"&&L.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 M=`
|
|
6
|
-
`+E[l].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=l&&0<=i);break}}}finally{Nt=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?ju(t):""}function ta(e,u){switch(e.tag){case 26:case 27:case 5:return ju(e.type);case 16:return ju("Lazy");case 13:return e.child!==u&&u!==null?ju("Suspense Fallback"):ju("Suspense");case 19:return ju("SuspenseList");case 0:case 15:return Tl(e.type,!1);case 11:return Tl(e.type.render,!1);case 1:return Tl(e.type,!0);case 31:return ju("Activity");case 30:return ju("ViewTransition");default:return""}}function Dl(e){try{var u="",t=null;do u+=ta(e,t),t=e,e=e.return;while(e);return u}catch(l){return`
|
|
7
|
-
Error generating stack: `+l.message+`
|
|
8
|
-
`+l.stack}}var Cl=Object.prototype.hasOwnProperty,Ft=n.unstable_scheduleCallback,Nn=n.unstable_cancelCallback,na=n.unstable_shouldYield,Ac=n.unstable_requestPaint,Mu=n.unstable_now,Tc=n.unstable_getCurrentPriorityLevel,la=n.unstable_ImmediatePriority,aa=n.unstable_UserBlockingPriority,pt=n.unstable_NormalPriority,kn=n.unstable_LowPriority,Bt=n.unstable_IdlePriority,Dc=n.log,Cc=n.unstable_setDisableYieldValue,On=null,Ru=null;function kt(e){if(typeof Dc=="function"&&Cc(e),Ru&&typeof Ru.setStrictMode=="function")try{Ru.setStrictMode(On,e)}catch{}}var mu=Math.clz32?Math.clz32:zn,ia=Math.log,bt=Math.LN2;function zn(e){return e>>>=0,e===0?32:31-(ia(e)/bt|0)|0}var jn=256,Mn=262144,ca=4194304;function Ht(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=Ht(l):(d&=g,d!==0?i=Ht(d):t||(t=g&~e,t!==0&&(i=Ht(t))))):(g=l&~c,g!==0?i=Ht(g):d!==0?i=Ht(d):t||(t=l&~e,t!==0&&(i=Ht(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 ra(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-mu(t),i=1<<l;u|=e[l],t&=~i}return u}function gs(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=ca;return ca<<=1,(ca&62914560)===0&&(ca=4194304),e}function ii(e){for(var u=[],t=0;31>t;t++)u.push(e);return u}function Nl(e,u){e.pendingLanes|=u,u!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Je(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 M=31-mu(t),L=1<<M;g[M]=0,E[M]=-1;var N=O[M];if(N!==null)for(O[M]=null,M=0;M<N.length;M++){var j=N[M];j!==null&&(j.lane&=-536870913)}t&=~L}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-mu(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-mu(t),i=1<<l;i&u|e[l]&u&&(e[l]|=u),t&=~i}}function ci(e,u){var t=u&-u;return t=(t&42)!==0?1:kl(t),(t&(e.suspendedLanes|u))!==0?0:t}function kl(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 sa(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ri(){var e=pe.p;return e!==0?e:(e=window.event,e===void 0?32:x2(e.type))}function kc(e,u){var t=pe.p;try{return pe.p=e,u()}finally{pe.p=t}}var Ot=Math.random().toString(36).slice(2),fu="__reactFiber$"+Ot,wu="__reactProps$"+Ot,Fu="__reactContainer$"+Ot,si="__reactEvents$"+Ot,oi="__reactListeners$"+Ot,Un="__reactHandles$"+Ot,fi="__reactResources$"+Ot,sn="__reactMarker$"+Ot,Fn="__reactLoad$"+Ot;function Bn(e){delete e[fu],delete e[wu],delete e[oi],delete e[Un]}function on(e){var u;if(u=e[fu])return u;for(var t=e.parentNode;t;){if(u=t[Fu]||t[fu]){if(t=u.alternate,u.child!==null||t!==null&&t.child!==null)for(e=Ph(e);e!==null;){if(t=e[fu])return t;e=Ph(e)}return u}e=t,t=e.parentNode}return null}function fn(e){if(e=e[fu]||e[Fu]){var u=e.tag;if(u===5||u===6||u===13||u===31||u===26||u===27||u===3)return e}return null}function Ol(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[fi];return u||(u=e[fi]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function au(e){e[sn]=!0}function Oc(e){e[Fn]=void 0}var di=new Set,zc={};function qt(e,u){Gt(e,u),Gt(e+"Capture",u)}function Gt(e,u){for(zc[e]=u,e=0;e<u.length;e++)di.add(u[e])}var oa=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]*$"),fa={},hi={};function da(e){return Cl.call(hi,e)?!0:Cl.call(fa,e)?!1:oa.test(e)?hi[e]=!0:(fa[e]=!0,!1)}var _e=!1;function qn(){var e=_e;return _e=!1,e}function Lu(e,u,t){if(da(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 ha(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 Qu(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 Bu(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mi(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 zl(e){if(!e._valueTracker){var u=mi(e)?"checked":"value";e._valueTracker=Gn(e,u,""+e[u])}}function pi(e){if(!e)return!1;var u=e._valueTracker;if(!u)return!0;var t=u.getValue(),l="";return e&&(l=mi(e)?e.checked?"true":"false":e.value),e=l,e!==t?(u.setValue(e),!0):!1}var ys=/[\n"\\]/g;function Hu(e){return e.replace(ys,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function bi(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=""+Bu(u)):e.value!==""+Bu(u)&&(e.value=""+Bu(u)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),u!=null?d==="number"&&e.value==u?ma(e,Bu(e.value)):ma(e,Bu(u)):t!=null?ma(e,Bu(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=""+Bu(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)){zl(e);return}t=t!=null?""+Bu(t):"",u=u!=null?""+Bu(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),zl(e)}function ma(e,u){e.defaultValue!==""+u&&(e.defaultValue=""+u)}function Yt(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=""+Bu(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=""+Bu(u),u!==e.value&&(e.value=u),t==null)){e.defaultValue!==u&&(e.defaultValue=u);return}e.defaultValue=t!=null?""+Bu(t):""}function pa(e,u,t,l){if(u==null){if(l!=null){if(t!=null)throw Error(r(92));if(Ee(l)){if(1<l.length)throw Error(r(93));l=l[0]}t=l}t==null&&(t=""),u=t}t=Bu(u),e.defaultValue=t,l=e.textContent,l===t&&l!==""&&l!==null&&(e.value=l),zl(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 D(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]="",_e=!0);for(var i in u)l=u[i],u.hasOwnProperty(i)&&t[i]!==l&&(D(e,i,l),_e=!0)}else for(var c in u)u.hasOwnProperty(c)&&D(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 ie=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"]]),he=/^[\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 ye(e){return he.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Fe(){}var Iu=null;function du(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tu=null,nt=null;function Eu(e){var u=fn(e);if(u&&(e=u.stateNode)){var t=e[wu]||null;e:switch(e=u.stateNode,u.type){case"input":if(bi(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="'+Hu(""+u)+'"][type="radio"]'),u=0;u<t.length;u++){var l=t[u];if(l!==e&&l.form===e.form){var i=l[wu]||null;if(!i)throw Error(r(90));bi(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&&pi(l)}break e;case"textarea":Yn(e,t.value,t.defaultValue);break e;case"select":u=t.value,u!=null&&Yt(e,!!t.multiple,u,!1)}}}var ba=!1;function Of(e,u,t){if(ba)return e(u,t);ba=!0;try{var l=e(u);return l}finally{if(ba=!1,(tu!==null||nt!==null)&&(jr(),tu&&(u=tu,e=nt,nt=tu=null,Eu(u),e)))for(u=0;u<e.length;u++)Eu(e[u])}}function gi(e,u){var t=e.stateNode;if(t===null)return null;var l=t[wu]||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"),xs=!1;if(dn)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){xs=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{xs=!1}var Vn=null,vs=null,Mc=null;function zf(){if(Mc)return Mc;var e,u=vs,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 jf(){return!1}function qu(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:jf,this.isPropagationStopped=jf,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=qu(Zn),xi=P({},Zn,{view:0,detail:0}),xp=qu(xi),_s,Es,vi,Uc=P({},xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:As,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!==vi&&(vi&&e.type==="mousemove"?(_s=e.screenX-vi.screenX,Es=e.screenY-vi.screenY):Es=_s=0,vi=e),_s)},movementY:function(e){return"movementY"in e?e.movementY:Es}}),Mf=qu(Uc),vp=P({},Uc,{dataTransfer:0}),_p=qu(vp),Ep=P({},xi,{relatedTarget:0}),Ss=qu(Ep),Sp=P({},Zn,{animationName:0,elapsedTime:0,pseudoElement:0}),Ap=qu(Sp),Tp=P({},Zn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dp=qu(Tp),Cp=P({},Zn,{data:0}),Rf=qu(Cp),Np={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kp={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"},Op={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zp(e){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(e):(e=Op[e])?!!u[e]:!1}function As(){return zp}var jp=P({},xi,{key:function(e){if(e.key){var u=Np[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"?kp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:As,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}}),Mp=qu(jp),Rp=P({},Uc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wf=qu(Rp),wp=P({},Zn,{submitter:0}),Lp=qu(wp),Up=P({},xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:As}),Fp=qu(Up),Bp=P({},Zn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hp=qu(Bp),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}),Gp=qu(qp),Yp=P({},Zn,{newState:0,oldState:0,source:0}),Vp=qu(Yp),Zp=[9,13,27,32],Ts=dn&&"CompositionEvent"in window,_i=null;dn&&"documentMode"in document&&(_i=document.documentMode);var Xp=dn&&"TextEvent"in window&&!_i,Lf=dn&&(!Ts||_i&&8<_i&&11>=_i),Uf=" ",Ff=!1;function Bf(e,u){switch(e){case"keyup":return Zp.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ga=!1;function Qp(e,u){switch(e){case"compositionend":return Hf(u);case"keypress":return u.which!==32?null:(Ff=!0,Uf);case"textInput":return e=u.data,e===Uf&&Ff?null:e;default:return null}}function Ip(e,u){if(ga)return e==="compositionend"||!Ts&&Bf(e,u)?(e=zf(),Mc=vs=Vn=null,ga=!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 Lf&&u.locale!=="ko"?null:u.data;default:return null}}var Kp={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 qf(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u==="input"?!!Kp[e.type]:u==="textarea"}function Gf(e,u,t,l){tu?nt?nt.push(l):nt=[l]:tu=l,u=Fr(u,"onChange"),0<u.length&&(t=new Lc("onChange","change",null,t,l),e.push({event:t,listeners:u}))}var Ei=null,Si=null;function $p(e){kh(e,0)}function Fc(e){var u=Ol(e);if(pi(u))return e}function Yf(e,u){if(e==="change")return u}var Vf=!1;if(dn){var Ds;if(dn){var Cs="oninput"in document;if(!Cs){var Zf=document.createElement("div");Zf.setAttribute("oninput","return;"),Cs=typeof Zf.oninput=="function"}Ds=Cs}else Ds=!1;Vf=Ds&&(!document.documentMode||9<document.documentMode)}function Xf(){Ei&&(Ei.detachEvent("onpropertychange",Qf),Si=Ei=null)}function Qf(e){if(e.propertyName==="value"&&Fc(Si)){var u=[];Gf(u,Si,e,du(e)),Of($p,u)}}function Jp(e,u,t){e==="focusin"?(Xf(),Ei=u,Si=t,Ei.attachEvent("onpropertychange",Qf)):e==="focusout"&&Xf()}function Wp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fc(Si)}function Pp(e,u){if(e==="click")return Fc(u)}function e3(e,u){if(e==="input"||e==="change")return Fc(u)}function u3(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var lt=typeof Object.is=="function"?Object.is:u3;function Ai(e,u){if(lt(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(!Cl.call(u,i)||!lt(e[i],u[i]))return!1}return!0}function Ns(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 If(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Kf(e,u){var t=If(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=If(t)}}function $f(e,u){return e&&u?e===u?!0:e&&e.nodeType===3?!1:u&&u.nodeType===3?$f(e,u.parentNode):"contains"in e?e.contains(u):e.compareDocumentPosition?!!(e.compareDocumentPosition(u)&16):!1:!1}function Jf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var u=Ns(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=Ns(e.document)}return u}function ks(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 t3=dn&&"documentMode"in document&&11>=document.documentMode,ya=null,Os=null,Ti=null,zs=!1;function Wf(e,u,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;zs||ya==null||ya!==Ns(l)||(l=ya,"selectionStart"in l&&ks(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}),Ti&&Ai(Ti,l)||(Ti=l,l=Fr(Os,"onSelect"),0<l.length&&(u=new Lc("onSelect","select",null,u,t),e.push({event:u,listeners:l}),u.target=ya)))}function jl(e,u){var t={};return t[e.toLowerCase()]=u.toLowerCase(),t["Webkit"+e]="webkit"+u,t["Moz"+e]="moz"+u,t}var xa={animationend:jl("Animation","AnimationEnd"),animationiteration:jl("Animation","AnimationIteration"),animationstart:jl("Animation","AnimationStart"),transitionrun:jl("Transition","TransitionRun"),transitionstart:jl("Transition","TransitionStart"),transitioncancel:jl("Transition","TransitionCancel"),transitionend:jl("Transition","TransitionEnd")},js={},Pf={};dn&&(Pf=document.createElement("div").style,"AnimationEvent"in window||(delete xa.animationend.animation,delete xa.animationiteration.animation,delete xa.animationstart.animation),"TransitionEvent"in window||delete xa.transitionend.transition);function Ml(e){if(js[e])return js[e];if(!xa[e])return e;var u=xa[e],t;for(t in u)if(u.hasOwnProperty(t)&&t in Pf)return js[e]=u[t];return e}var ed=Ml("animationend"),ud=Ml("animationiteration"),td=Ml("animationstart"),n3=Ml("transitionrun"),l3=Ml("transitionstart"),a3=Ml("transitioncancel"),nd=Ml("transitionend"),ld=new Map,Ms="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(" ");Ms.push("scrollEnd");function zt(e,u){ld.set(e,u),qt(u,[e])}var i3=0;function hn(e,u){if(e.name!=null&&e.name!=="auto")return e.name;if(u.autoName!==null)return u.autoName;e=wt.identifierPrefix;var t=i3++;return e="_"+e+"t_"+t.toString(32)+"_",u.autoName=e}function ad(e){if(e==null||typeof e=="string")return e;var u=null,t=Ba;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=ad(e),u=ad(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)},gt=[],va=0,Rs=0;function Hc(){for(var e=va,u=Rs=va=0;u<e;){var t=gt[u];gt[u++]=null;var l=gt[u];gt[u++]=null;var i=gt[u];gt[u++]=null;var c=gt[u];if(gt[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&&id(t,i,c)}}function qc(e,u,t,l){gt[va++]=e,gt[va++]=u,gt[va++]=t,gt[va++]=l,Rs|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function ws(e,u,t,l){return qc(e,u,t,l),Gc(e)}function Rl(e,u){return qc(e,null,null,u),Gc(e)}function id(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-mu(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<Qi)throw Qi=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 _a={};function c3(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 Ku(e,u,t,l){return new c3(e,u,t,l)}function Ls(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pn(e,u){var t=e.alternate;return t===null?(t=Ku(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 cd(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")Ls(l)&&(d=1);else if(typeof l=="string")d=wb(e,t,Zu.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(l){case Ie:return e=Ku(31,t,u,i),e.elementType=Ie,e.lanes=c,e;case je:return wl(t.children,i,c,u);case ge:d=8,i|=24;break;case W:return e=Ku(12,t,u,i|2),e.elementType=W,e.lanes=c,e;case re:return e=Ku(13,t,u,i),e.elementType=re,e.lanes=c,e;case oe:return e=Ku(19,t,u,i),e.elementType=oe,e.lanes=c,e;case _u:case T:return e=i|32,e=Ku(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 Re:d=10;break e;case lu:d=9;break e;case J:d=11;break e;case Le:d=14;break e;case Ae:d=16,l=null;break e}d=29,t=Error(r(130,e===null?"null":typeof e,"")),l=null}return u=Ku(d,t,u,i),u.elementType=e,u.type=l,u.lanes=c,u}function wl(e,u,t,l){return e=Ku(7,e,l,u),e.lanes=t,e}function Us(e,u,t){return e=Ku(6,e,null,u),e.lanes=t,e}function rd(e){var u=Ku(18,null,null,0);return u.stateNode=e,u}function Fs(e,u,t){return u=Ku(4,e.children!==null?e.children:[],e.key,u),u.lanes=t,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}var sd=new WeakMap;function yt(e,u){if(typeof e=="object"&&e!==null){var t=sd.get(e);return t!==void 0?t:(u={value:e,source:u,stack:Dl(u)},sd.set(e,u),u)}return{value:e,source:u,stack:Dl(u)}}var Ea=[],Sa=0,Vc=null,Di=0,xt=[],vt=0,Xn=null,Vt=1,Zt="";function bn(e,u){Ea[Sa++]=Di,Ea[Sa++]=Vc,Vc=e,Di=u}function od(e,u,t){xt[vt++]=Vt,xt[vt++]=Zt,xt[vt++]=Xn,Xn=e;var l=Vt;e=Zt;var i=32-mu(l)-1;l&=~(1<<i),t+=1;var c=32-mu(u)+i;if(30<c){var d=i-i%5;c=(l&(1<<d)-1).toString(32),l>>=d,i-=d,Vt=1<<32-mu(u)+i|t<<i|l,Zt=c+e}else Vt=1<<c|t<<i|l,Zt=e}function Zc(e){e.return!==null&&(bn(e,1),od(e,1,0))}function Bs(e){for(;e===Vc;)Vc=Ea[--Sa],Ea[Sa]=null,Di=Ea[--Sa],Ea[Sa]=null;for(;e===Xn;)Xn=xt[--vt],xt[vt]=null,Zt=xt[--vt],xt[vt]=null,Vt=xt[--vt],xt[vt]=null}function fd(e,u){xt[vt++]=Vt,xt[vt++]=Zt,xt[vt++]=Xn,Vt=u.id,Zt=u.overflow,Xn=e}var pu=null,Ze=null,Se=!1,Qn=null,_t=!1,Hs=Error(r(519));function In(e){var u=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ci(yt(u,e)),Hs}function dd(e){var u=e.stateNode,t=e.type,l=e.memoizedProps;switch(u[fu]=e,u[wu]=l,t){case"dialog":De("cancel",u),De("close",u);break;case"iframe":case"object":case"embed":De("load",u);break;case"video":case"audio":for(t=0;t<Ki.length;t++)De(Ki[t],u);break;case"source":De("error",u);break;case"img":case"image":case"link":De("error",u),De("load",u);break;case"details":De("toggle",u);break;case"input":De("invalid",u),jc(u,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":De("invalid",u);break;case"textarea":De("invalid",u),pa(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||Mh(u.textContent,t)?(l.popover!=null&&(De("beforetoggle",u),De("toggle",u)),l.onScroll!=null&&De("scroll",u),l.onScrollEnd!=null&&De("scrollend",u),l.onClick!=null&&(u.onclick=Fe),u=!0):u=!1,u||In(e,!0)}function Xc(e){for(pu=e.return;pu;)switch(pu.tag){case 5:case 31:case 13:_t=!1;return;case 27:case 3:_t=!0;return;default:pu=pu.return}}function Aa(e){if(e!==pu)return!1;if(!Se)return Xc(e),Se=!0,!1;var u=e.tag,t;if((t=u!==3&&u!==27)&&((t=u===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||g0(e.type,e.memoizedProps)),t=!t),t&&Ze&&In(e),Xc(e),u===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ze=Wh(e)}else if(u===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ze=Wh(e)}else u===27?(u=Ze,ol(e.type)?(e=D0,D0=null,Ze=e):Ze=u):Ze=pu?St(e.stateNode.nextSibling):null;return!0}function Ll(){Ze=pu=null,Se=!1}function qs(){var e=Qn;return e!==null&&(Wu===null?Wu=e:Wu.push.apply(Wu,e),Qn=null),e}function Ci(e){Qn===null?Qn=[e]:Qn.push(e)}var Gs=ze(null),Ul=null,gn=null;function Kn(e,u,t){de(Gs,u._currentValue),u._currentValue=t}function yn(e){e._currentValue=Gs.current,uu(Gs)}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 Ys(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 Fl(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;lt(i.pendingProps.value,d.value)||(e!==null?e.push(g):e=[g])}}else if(i===_l.current){if(d=i.alternate,d===null)throw Error(r(387));d.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(Ka):e=[Ka])}i=i.return}return e!==null&&Ys(u,e,t,l),u.flags|=262144,e!==null}function Ic(e){for(e=e.firstContext;e!==null;){if(!lt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Bl(e){Ul=e,gn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Su(e){return hd(Ul,e)}function Kc(e,u){return Ul===null&&Bl(e),hd(e,u)}function hd(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 r3=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()})}},s3=n.unstable_scheduleCallback,o3=n.unstable_NormalPriority,iu={$$typeof:Re,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Vs(){return{controller:new r3,data:new Map,refCount:0}}function Ni(e){e.refCount--,e.refCount===0&&s3(o3,function(){e.controller.abort()})}function md(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 ki=null;function f3(e){var u=e.transitionTypes;return e.transitionTypes=null,u}var Oi=null,Zs=0,Hl=0,Ta=null;function d3(e,u){if(Oi===null){var t=Oi=[];Zs=0,Hl=r0(),Ta={status:"pending",value:void 0,then:function(l){t.push(l)}}}return Zs++,u.then(pd,pd),u}function pd(){if(--Zs===0&&(ki=null,Oi!==null)){Ta!==null&&(Ta.status="fulfilled");var e=Oi;Oi=null,Hl=0,Ta=null;for(var u=0;u<e.length;u++)(0,e[u])()}}function h3(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 bd=le.S;le.S=function(e,u){if(rh=Mu(),typeof u=="object"&&u!==null&&typeof u.then=="function"&&d3(e,u),ki!==null)for(var t=Ya;t!==null;)md(t,ki),t=t.next;if(t=e.types,t!==null){for(var l=Ya;l!==null;)md(l,t),l=l.next;if(Hl!==0){l=ki,l===null&&(l=ki=[]);for(var i=0;i<t.length;i++){var c=t[i];l.indexOf(c)===-1&&l.push(c)}}}bd!==null&&bd(e,u)};var ql=ze(null);function Xs(){var e=ql.current;return e!==null?e:Ve.pooledCache}function $c(e,u){u===null?de(ql,ql.current):de(ql,u.pool)}function gd(){var e=Xs();return e===null?null:{parent:iu._currentValue,pool:e}}var Da=Error(r(460)),Qs=Error(r(474)),Jc=Error(r(542)),Wc={then:function(){}};function yd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function xd(e,u,t){switch(t=e[t],t===void 0?e.push(u):t!==u&&(u.then(Fe,Fe),u=t),u.status){case"fulfilled":return u.value;case"rejected":throw e=u.reason,_d(e),e===void 0&&!("reason"in u)?Error(r(600)):e;default:if(typeof u.status=="string")u.then(Fe,Fe);else{if(e=Ve,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,_d(e),e}throw Yl=u,Da}}function Gl(e){try{var u=e._init;return u(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Yl=t,Da):t}}var Yl=null;function vd(){if(Yl===null)throw Error(r(459));var e=Yl;return Yl=null,e}function _d(e){if(e===Da||e===Jc)throw Error(r(483))}var Ca=null,zi=0;function Pc(e){var u=zi;return zi+=1,Ca===null&&(Ca=[]),xd(Ca,e,u)}function $n(e,u){u=u.props.ref,e.ref=u!==void 0?u:null}function er(e,u){throw u.$$typeof===ce?Error(r(525)):(e=Object.prototype.toString.call(u),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":e)))}function Ed(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=Us(z,k.mode,w),S.return=k,S):(S=i(S,z),S.return=k,S)}function E(k,S,z,w){var te=z.type;return te===je?(k=M(k,S,z.props.children,w,z.key),$n(k,z),k):S!==null&&(S.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===Ae&&Gl(te)===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=Fs(z,k.mode,w),S.return=k,S):(S=i(S,z.children||[]),S.return=k,S)}function M(k,S,z,w,te){return S===null||S.tag!==7?(S=wl(z,k.mode,w,te),S.return=k,S):(S=i(S,z),S.return=k,S)}function L(k,S,z){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=Us(""+S,k.mode,z),S.return=k,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ke:return z=Yc(S.type,S.key,S.props,null,k.mode,z),$n(z,S),z.return=k,z;case Oe:return S=Fs(S,k.mode,z),S.return=k,S;case Ae:return S=Gl(S),L(k,S,z)}if(Ee(S)||F(S))return S=wl(S,k.mode,z,null),S.return=k,S;if(typeof S.then=="function")return L(k,Pc(S),z);if(S.$$typeof===Re)return L(k,Kc(k,S),z);er(k,S)}return null}function N(k,S,z,w){var te=S!==null?S.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return te!==null?null:g(k,S,""+z,w);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case ke:return z.key===te?E(k,S,z,w):null;case Oe:return z.key===te?O(k,S,z,w):null;case Ae:return z=Gl(z),N(k,S,z,w)}if(Ee(z)||F(z))return te!==null?null:M(k,S,z,w,null);if(typeof z.then=="function")return N(k,S,Pc(z),w);if(z.$$typeof===Re)return N(k,S,Kc(k,z),w);er(k,z)}return null}function j(k,S,z,w,te){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return k=k.get(z)||null,g(S,k,""+w,te);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ke:return k=k.get(w.key===null?z:w.key)||null,E(S,k,w,te);case Oe:return k=k.get(w.key===null?z:w.key)||null,O(S,k,w,te);case Ae:return w=Gl(w),j(k,S,z,w,te)}if(Ee(w)||F(w))return k=k.get(z)||null,M(S,k,w,te,null);if(typeof w.then=="function")return j(k,S,z,Pc(w),te);if(w.$$typeof===Re)return j(k,S,z,Kc(S,w),te);er(S,w)}return null}function $(k,S,z,w){for(var te=null,Ne=null,se=S,me=S=0,su=null;se!==null&&me<z.length;me++){se.index>me?(su=se,se=null):su=se.sibling;var Me=N(k,se,z[me],w);if(Me===null){se===null&&(se=su);break}e&&se&&Me.alternate===null&&u(k,se),S=c(Me,S,me),Ne===null?te=Me:Ne.sibling=Me,Ne=Me,se=su}if(me===z.length)return t(k,se),Se&&bn(k,me),te;if(se===null){for(;me<z.length;me++)se=L(k,z[me],w),se!==null&&(S=c(se,S,me),Ne===null?te=se:Ne.sibling=se,Ne=se);return Se&&bn(k,me),te}for(se=l(se);me<z.length;me++)su=j(se,k,me,z[me],w),su!==null&&(e&&(Me=su.alternate,Me!==null&&se.delete(Me.key===null?me:Me.key)),S=c(su,S,me),Ne===null?te=su:Ne.sibling=su,Ne=su);return e&&se.forEach(function(pl){return u(k,pl)}),Se&&bn(k,me),te}function ne(k,S,z,w){if(z==null)throw Error(r(151));for(var te=null,Ne=null,se=S,me=S=0,su=null,Me=z.next();se!==null&&!Me.done;me++,Me=z.next()){se.index>me?(su=se,se=null):su=se.sibling;var pl=N(k,se,Me.value,w);if(pl===null){se===null&&(se=su);break}e&&se&&pl.alternate===null&&u(k,se),S=c(pl,S,me),Ne===null?te=pl:Ne.sibling=pl,Ne=pl,se=su}if(Me.done)return t(k,se),Se&&bn(k,me),te;if(se===null){for(;!Me.done;me++,Me=z.next())Me=L(k,Me.value,w),Me!==null&&(S=c(Me,S,me),Ne===null?te=Me:Ne.sibling=Me,Ne=Me);return Se&&bn(k,me),te}for(se=l(se);!Me.done;me++,Me=z.next())Me=j(se,k,me,Me.value,w),Me!==null&&(e&&(su=Me.alternate,su!==null&&se.delete(su.key===null?me:su.key)),S=c(Me,S,me),Ne===null?te=Me:Ne.sibling=Me,Ne=Me);return e&&se.forEach(function(Qb){return u(k,Qb)}),Se&&bn(k,me),te}function ve(k,S,z,w){if(typeof z=="object"&&z!==null&&z.type===je&&z.key===null&&z.props.ref===void 0&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case ke:e:{for(var te=z.key;S!==null;){if(S.key===te){if(te=z.type,te===je){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===te||typeof te=="object"&&te!==null&&te.$$typeof===Ae&&Gl(te)===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===je?(w=wl(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 Oe:e:{for(te=z.key;S!==null;){if(S.key===te)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=Fs(z,k.mode,w),w.return=k,k=w}return d(k);case Ae:return z=Gl(z),ve(k,S,z,w)}if(Ee(z))return $(k,S,z,w);if(F(z)){if(te=F(z),typeof te!="function")throw Error(r(150));return z=te.call(z),ne(k,S,z,w)}if(typeof z.then=="function")return ve(k,S,Pc(z),w);if(z.$$typeof===Re)return ve(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=Us(z,k.mode,w),w.return=k,k=w),d(k)):t(k,S)}return function(k,S,z,w){try{zi=0;var te=ve(k,S,z,w);return Ca=null,te}catch(se){if(se===Da||se===Jc)throw se;var Ne=Ku(29,se,null,k.mode);return Ne.lanes=w,Ne.return=k,Ne}}}var Vl=Ed(!0),Sd=Ed(!1),Jn=!1;function Is(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ks(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,(Ue&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),id(e,null,t),u}return qc(e,l,u,t),Gc(e)}function ji(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 $s(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 Js=!1;function Mi(){if(Js){var e=Ta;if(e!==null)throw e}}function Ri(e,u,t,l){Js=!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 M=e.alternate;M!==null&&(M=M.updateQueue,g=M.lastBaseUpdate,g!==d&&(g===null?M.firstBaseUpdate=O:g.next=O,M.lastBaseUpdate=E))}if(c!==null){var L=i.baseState;d=0,M=O=E=null,g=c;do{var N=g.lane&-536870913,j=N!==g.lane;if(j?(Ce&N)===N:(l&N)===N){N!==0&&N===Hl&&(Js=!0),M!==null&&(M=M.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var $=e,ne=g;N=u;var ve=t;switch(ne.tag){case 1:if($=ne.payload,typeof $=="function"){L=$.call(ve,L,N);break e}L=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ne.payload,N=typeof $=="function"?$.call(ve,L,N):$,N==null)break e;L=P({},L,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},M===null?(O=M=j,E=L):M=M.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);M===null&&(E=L),i.baseState=E,i.firstBaseUpdate=O,i.lastBaseUpdate=M,c===null&&(i.shared.lanes=0),il|=d,e.lanes=d,e.memoizedState=L}}function Ad(e,u){if(typeof e!="function")throw Error(r(191,e));e.call(u)}function Td(e,u){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)Ad(t[e],u)}var el=ze(null),ur=ze(0);function Dd(e,u){e=Sn,de(ur,e),de(el,u),Sn=e|u.baseLanes}function Ws(){de(ur,Sn),de(el,el.current)}function Ps(){Sn=ur.current,uu(el),uu(ur)}var Au=ze(null),Uu=null;function ul(e){var u=e.alternate;de(Tu,Tu.current&1),de(Au,e),Uu===null&&(u===null||el.current!==null||u.memoizedState!==null)&&(Uu=e)}function eo(e){de(Tu,Tu.current),de(Au,e),Uu===null&&(Uu=e)}function Cd(e){e.tag===22?(de(Tu,Tu.current),de(Au,e),Uu===null&&(Uu=e)):tl()}function tl(){de(Tu,Tu.current),de(Au,Au.current)}function at(e){uu(Au),Uu===e&&(Uu=null),uu(Tu)}var Tu=ze(0);function wi(e,u){de(Au,Au.current),de(Tu,u)}function uo(e){uu(Tu),uu(Au),Uu===e&&(Uu=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||A0(t)||T0(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,xe=null,Ye=null,cu=null,nr=!1,Na=!1,Zl=!1,lr=0,Li=0,ka=null,m3=0;function Pe(){throw Error(r(321))}function to(e,u){if(u===null)return!1;for(var t=0;t<u.length&&t<e.length;t++)if(!lt(e[t],u[t]))return!1;return!0}function no(e,u,t,l,i,c){return xn=c,xe=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,le.H=e===null||e.memoizedState===null?o1:f1,Zl=!1,c=t(l,i),Zl=!1,Na&&(c=kd(u,t,l,i)),Nd(e),c}function Nd(e){le.H=fr;var u=Ye!==null&&Ye.next!==null;if(xn=0,cu=Ye=xe=null,nr=!1,Li=0,ka=null,u)throw Error(r(300));e===null||ru||(e=e.dependencies,e!==null&&Ic(e)&&(ru=!0))}function kd(e,u,t,l){xe=e;var i=0;do{if(Na&&(ka=null),Li=0,Na=!1,25<=i)throw Error(r(301));if(i+=1,cu=Ye=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}le.H=E3,c=u(t,l)}while(Na);return c}function p3(){var e=le.H,u=e.useState()[0];return u=typeof u.then=="function"?Ui(u):u,e=e.useState()[0],(Ye!==null?Ye.memoizedState:null)!==e&&(xe.flags|=1024),u}function lo(){var e=lr!==0;return lr=0,e}function ao(e,u,t){u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~t}function io(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,cu=Ye=xe=null,Na=!1,Li=lr=0,ka=null}function Gu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cu===null?xe.memoizedState=cu=e:cu=cu.next=e,cu}function nu(){if(Ye===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Ye.next;var u=cu===null?xe.memoizedState:cu.next;if(u!==null)cu=u,Ye=e;else{if(e===null)throw xe.alternate===null?Error(r(467)):Error(r(310));Ye=e,e={memoizedState:Ye.memoizedState,baseState:Ye.baseState,baseQueue:Ye.baseQueue,queue:Ye.queue,next:null},cu===null?xe.memoizedState=cu=e:cu=cu.next=e}return cu}function ar(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ui(e){var u=Li;return Li+=1,ka===null&&(ka=[]),e=xd(ka,e,u),u=xe,(cu===null?u.memoizedState:cu.next)===null&&(u=u.alternate,le.H=u===null||u.memoizedState===null?o1:f1),e}function ir(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ui(e);if(e.$$typeof===Y)return;if(e.$$typeof===Re)return Su(e)}throw Error(r(438,String(e)))}function co(e){var u=null,t=xe.updateQueue;if(t!==null&&(u=t.memoCache),u==null){var l=xe.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(),xe.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]=Ct;return u.index++,t}function vn(e,u){return typeof u=="function"?u(e):u}function cr(e){var u=nu();return ro(u,Ye,e)}function ro(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,M=!1;do{var L=O.lane&-536870913;if(L!==O.lane?(Ce&L)===L:(xn&L)===L){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}),L===Hl&&(M=!0);else if((xn&N)===N){O=O.next,N===Hl&&(M=!0);continue}else L={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},E===null?(g=E=L,d=c):E=E.next=L,xe.lanes|=N,il|=N;L=O.action,Zl&&t(c,L),c=O.hasEagerState?O.eagerState:t(c,L)}else N={lane:L,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,xe.lanes|=L,il|=L;O=O.next}while(O!==null&&O!==u);if(E===null?d=c:E.next=g,!lt(c,e.memoizedState)&&(ru=!0,M&&(t=Ta,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 so(e){var u=nu(),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);lt(c,u.memoizedState)||(ru=!0),u.memoizedState=c,u.baseQueue===null&&(u.baseState=c),t.lastRenderedState=c}return[c,l]}function Od(e,u,t){var l=xe,i=nu(),c=Se;if(c){if(t===void 0)throw Error(r(407));t=t()}else t=u();var d=!lt((Ye||i).memoizedState,t);if(d&&(i.memoizedState=t,ru=!0),i=i.queue,ho(Md.bind(null,l,i,e),[e]),e=i.getSnapshot!==u||d||cu!==null&&(cu.memoizedState.tag&1)!==0,Oa(e?9:8,{destroy:void 0},jd.bind(null,l,i,t,u),null),e){if(l.flags|=2048,Ve===null)throw Error(r(349));c||(xn&127)!==0||zd(l,u,t)}return t}function zd(e,u,t){e.flags|=16384,e={getSnapshot:u,value:t},u=xe.updateQueue,u===null?(u=ar(),xe.updateQueue=u,u.stores=[e]):(t=u.stores,t===null?u.stores=[e]:t.push(e))}function jd(e,u,t,l){u.value=t,u.getSnapshot=l,Rd(u)&&wd(e)}function Md(e,u,t){return t(function(){Rd(u)&&wd(e)})}function Rd(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!lt(e,t)}catch{return!0}}function wd(e){var u=Rl(e,2);u!==null&&Pu(u,e,2)}function oo(e){var u=Gu();if(typeof e=="function"){var t=e;if(e=t(),Zl){kt(!0);try{t()}finally{kt(!1)}}}return u.memoizedState=u.baseState=e,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:e},u}function Ld(e,u,t,l){return e.baseState=t,ro(e,Ye,typeof l=="function"?l:vn)}function b3(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)}};le.T!==null?t(!0):c.isTransition=!1,l(c),t=u.pending,t===null?(c.next=u.pending=c,Ud(u,c)):(c.next=t.next,u.pending=t.next=c)}}function Ud(e,u){var t=u.action,l=u.payload,i=e.state;if(u.isTransition){var c=le.T,d={};d.types=c!==null?c.types:null,le.T=d;try{var g=t(i,l),E=le.S;E!==null&&E(d,g),Fd(e,u,g)}catch(O){fo(e,u,O)}finally{c!==null&&d.types!==null&&(c.types=d.types),le.T=c}}else try{c=t(i,l),Fd(e,u,c)}catch(O){fo(e,u,O)}}function Fd(e,u,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){Bd(e,u,l)},function(l){return fo(e,u,l)}):Bd(e,u,t)}function Bd(e,u,t){u.status="fulfilled",u.value=t,Hd(u),e.state=t,u=e.pending,u!==null&&(t=u.next,t===u?e.pending=null:(t=t.next,u.next=t,Ud(e,t)))}function fo(e,u,t){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do u.status="rejected",u.reason=t,Hd(u),u=u.next;while(u!==l)}e.action=null}function Hd(e){e=e.listeners;for(var u=0;u<e.length;u++)(0,e[u])()}function qd(e,u){return u}function Gd(e,u){if(Se){var t=Ve.formState;if(t!==null){e:{var l=xe;if(Se){if(Ze){u:{for(var i=Ze,c=_t;i.nodeType!==8;){if(!c){i=null;break u}if(i=St(i.nextSibling),i===null){i=null;break u}}c=i.data,i=c==="F!"||c==="F"?i:null}if(i){Ze=St(i.nextSibling),l=i.data==="F!";break e}}In(l)}l=!1}l&&(u=t[0])}}return t=Gu(),t.memoizedState=t.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qd,lastRenderedState:u},t.queue=l,t=c1.bind(null,xe,l),l.dispatch=t,l=oo(!1),c=yo.bind(null,xe,!1,l.queue),l=Gu(),i={state:u,dispatch:null,action:e,pending:null},l.queue=i,t=b3.bind(null,xe,i,c,t),i.dispatch=t,l.memoizedState=e,[u,t,!1]}function Yd(e){var u=nu();return Vd(u,Ye,e)}function Vd(e,u,t){if(u=ro(e,u,qd)[0],e=cr(vn)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var l=Ui(u)}catch(d){throw d===Da?Jc:d}else l=u;u=nu();var i=u.queue,c=i.dispatch;return t!==u.memoizedState&&(xe.flags|=2048,Oa(9,{destroy:void 0},g3.bind(null,i,t),null)),[l,c,e]}function g3(e,u){e.action=u}function Zd(e){var u=nu(),t=Ye;if(t!==null)return Vd(u,t,e);nu(),u=u.memoizedState,t=nu();var l=t.queue.dispatch;return t.memoizedState=e,[u,l,!1]}function Oa(e,u,t,l){return e={tag:e,create:t,deps:l,inst:u,next:null},u=xe.updateQueue,u===null&&(u=ar(),xe.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 Xd(){return nu().memoizedState}function rr(e,u,t,l){var i=Gu();xe.flags|=e,i.memoizedState=Oa(1|u,{destroy:void 0},t,l===void 0?null:l)}function sr(e,u,t,l){var i=nu();l=l===void 0?null:l;var c=i.memoizedState.inst;Ye!==null&&l!==null&&to(l,Ye.memoizedState.deps)?i.memoizedState=Oa(u,c,t,l):(xe.flags|=e,i.memoizedState=Oa(1|u,c,t,l))}function Qd(e,u){rr(8390656,8,e,u)}function ho(e,u){sr(2048,8,e,u)}function y3(e){xe.flags|=4;var u=xe.updateQueue;if(u===null)u=ar(),xe.updateQueue=u,u.events=[e];else{var t=u.events;t===null?u.events=[e]:t.push(e)}}function Id(e){var u=nu().memoizedState;return y3({ref:u,nextImpl:e}),function(){if((Ue&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}function Kd(e,u){return sr(4,2,e,u)}function $d(e,u){return sr(4,4,e,u)}function Jd(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 Wd(e,u,t){t=t!=null?t.concat([e]):null,sr(4,4,Jd.bind(null,u,e),t)}function mo(){}function Pd(e,u){var t=nu();u=u===void 0?null:u;var l=t.memoizedState;return u!==null&&to(u,l[1])?l[0]:(t.memoizedState=[e,u],e)}function e1(e,u){var t=nu();u=u===void 0?null:u;var l=t.memoizedState;if(u!==null&&to(u,l[1]))return l[0];if(l=e(),Zl){kt(!0);try{e()}finally{kt(!1)}}return t.memoizedState=[l,u],l}function po(e,u,t){return t===void 0||(xn&1073741824)!==0&&(Ce&261930)===0?e.memoizedState=u:(e.memoizedState=t,e=oh(),xe.lanes|=e,il|=e,t)}function u1(e,u,t,l){return lt(t,u)?t:el.current!==null?(e=po(e,t,l),lt(e,u)||(ru=!0),e):(xn&106)===0||(xn&1073741824)!==0&&(Ce&261930)===0?(ru=!0,e.memoizedState=t):(e=oh(),xe.lanes|=e,il|=e,u)}function t1(e,u,t,l,i){var c=pe.p;pe.p=c!==0&&8>c?c:8;var d=le.T,g={};g.types=d!==null?d.types:null,le.T=g,yo(e,!1,u,t);try{var E=i(),O=le.S;if(O!==null&&O(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var M=h3(E,l);Fi(e,u,M,st(e))}else Fi(e,u,l,st(e))}catch(L){Fi(e,u,{then:function(){},status:"rejected",reason:L},st())}finally{pe.p=c,d!==null&&g.types!==null&&(d.types=g.types),le.T=d}}function x3(){}function bo(e,u,t,l){if(e.tag!==5)throw Error(r(476));var i=n1(e).queue;t1(e,i,u,ht,t===null?x3:function(){return l1(e),t(l)})}function n1(e){var u=e.memoizedState;if(u!==null)return u;u={memoizedState:ht,baseState:ht,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:ht},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 l1(e){var u=n1(e);u.next===null&&(u=e.alternate.memoizedState),Fi(e,u.next.queue,{},st())}function go(){return Su(Ka)}function a1(){return nu().memoizedState}function i1(){return nu().memoizedState}function v3(e){for(var u=e.return;u!==null;){switch(u.tag){case 24:case 3:var t=st();e=Wn(t);var l=Pn(u,e,t);l!==null&&(Pu(l,u,t),ji(l,u,t)),u={cache:Vs()},e.payload=u;return}u=u.return}}function _3(e,u,t){var l=st();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},or(e)?r1(u,t):(t=ws(e,u,t,l),t!==null&&(Pu(t,e,l),s1(t,u,l)))}function c1(e,u,t){var l=st();Fi(e,u,t,l)}function Fi(e,u,t,l){var i={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(or(e))r1(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,lt(g,d))return qc(e,u,i,0),Ve===null&&Hc(),!1}catch{}if(t=ws(e,u,i,l),t!==null)return Pu(t,e,l),s1(t,u,l),!0}return!1}function yo(e,u,t,l){if(l={lane:2,revertLane:r0(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},or(e)){if(u)throw Error(r(479))}else u=ws(e,t,l,2),u!==null&&Pu(u,e,2)}function or(e){var u=e.alternate;return e===xe||u!==null&&u===xe}function r1(e,u){Na=nr=!0;var t=e.pending;t===null?u.next=u:(u.next=t.next,t.next=u),e.pending=u}function s1(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:Su,use:ir,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useLayoutEffect:Pe,useInsertionEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useSyncExternalStore:Pe,useId:Pe,useHostTransitionStatus:Pe,useFormState:Pe,useActionState:Pe,useOptimistic:Pe,useMemoCache:Pe,useCacheRefresh:Pe,useEffectEvent:Pe},o1={readContext:Su,use:ir,useCallback:function(e,u){return Gu().memoizedState=[e,u===void 0?null:u],e},useContext:Su,useEffect:Qd,useImperativeHandle:function(e,u,t){t=t!=null?t.concat([e]):null,rr(4194308,4,Jd.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=Gu();u=u===void 0?null:u;var l=e();if(Zl){kt(!0);try{e()}finally{kt(!1)}}return t.memoizedState=[l,u],l},useReducer:function(e,u,t){var l=Gu();if(t!==void 0){var i=t(u);if(Zl){kt(!0);try{t(u)}finally{kt(!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=_3.bind(null,xe,e),[l.memoizedState,e]},useRef:function(e){var u=Gu();return e={current:e},u.memoizedState=e},useState:function(e){e=oo(e);var u=e.queue,t=c1.bind(null,xe,u);return u.dispatch=t,[e.memoizedState,t]},useDebugValue:mo,useDeferredValue:function(e,u){var t=Gu();return po(t,e,u)},useTransition:function(){var e=oo(!1);return e=t1.bind(null,xe,e.queue,!0,!1),Gu().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,u,t){var l=xe,i=Gu();if(Se){if(t===void 0)throw Error(r(407));t=t()}else{if(t=u(),Ve===null)throw Error(r(349));(Ce&127)!==0||zd(l,u,t)}i.memoizedState=t;var c={value:t,getSnapshot:u};return i.queue=c,Qd(Md.bind(null,l,c,e),[e]),l.flags|=2048,Oa(9,{destroy:void 0},jd.bind(null,l,c,t,u),null),t},useId:function(){var e=Gu(),u=Ve.identifierPrefix;if(Se){var t=Zt,l=Vt;t=(l&~(1<<32-mu(l)-1)).toString(32)+t,u="_"+u+"R_"+t,t=lr++,0<t&&(u+="H"+t.toString(32)),u+="_"}else t=m3++,u="_"+u+"r_"+t.toString(32)+"_";return e.memoizedState=u},useHostTransitionStatus:go,useFormState:Gd,useActionState:Gd,useOptimistic:function(e){var u=Gu();u.memoizedState=u.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=t,u=yo.bind(null,xe,!0,t),t.dispatch=u,[e,u]},useMemoCache:co,useCacheRefresh:function(){return Gu().memoizedState=v3.bind(null,xe)},useEffectEvent:function(e){var u=Gu(),t={impl:e};return u.memoizedState=t,function(){if((Ue&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}},f1={readContext:Su,use:ir,useCallback:Pd,useContext:Su,useEffect:ho,useImperativeHandle:Wd,useInsertionEffect:Kd,useLayoutEffect:$d,useMemo:e1,useReducer:cr,useRef:Xd,useState:function(){return cr(vn)},useDebugValue:mo,useDeferredValue:function(e,u){var t=nu();return u1(t,Ye.memoizedState,e,u)},useTransition:function(){var e=cr(vn)[0],u=nu().memoizedState;return[typeof e=="boolean"?e:Ui(e),u]},useSyncExternalStore:Od,useId:a1,useHostTransitionStatus:go,useFormState:Yd,useActionState:Yd,useOptimistic:function(e,u){var t=nu();return Ld(t,Ye,e,u)},useMemoCache:co,useCacheRefresh:i1,useEffectEvent:Id},E3={readContext:Su,use:ir,useCallback:Pd,useContext:Su,useEffect:ho,useImperativeHandle:Wd,useInsertionEffect:Kd,useLayoutEffect:$d,useMemo:e1,useReducer:so,useRef:Xd,useState:function(){return so(vn)},useDebugValue:mo,useDeferredValue:function(e,u){var t=nu();return Ye===null?po(t,e,u):u1(t,Ye.memoizedState,e,u)},useTransition:function(){var e=so(vn)[0],u=nu().memoizedState;return[typeof e=="boolean"?e:Ui(e),u]},useSyncExternalStore:Od,useId:a1,useHostTransitionStatus:go,useFormState:Zd,useActionState:Zd,useOptimistic:function(e,u){var t=nu();return Ye!==null?Ld(t,Ye,e,u):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:co,useCacheRefresh:i1,useEffectEvent:Id};function xo(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 vo={enqueueSetState:function(e,u,t){e=e._reactInternals;var l=st(),i=Wn(l);i.payload=u,t!=null&&(i.callback=t),u=Pn(e,i,l),u!==null&&(Pu(u,e,l),ji(u,e,l))},enqueueReplaceState:function(e,u,t){e=e._reactInternals;var l=st(),i=Wn(l);i.tag=1,i.payload=u,t!=null&&(i.callback=t),u=Pn(e,i,l),u!==null&&(Pu(u,e,l),ji(u,e,l))},enqueueForceUpdate:function(e,u){e=e._reactInternals;var t=st(),l=Wn(t);l.tag=2,u!=null&&(l.callback=u),u=Pn(e,l,t),u!==null&&(Pu(u,e,t),ji(u,e,t))}};function d1(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?!Ai(t,l)||!Ai(i,c):!0}function h1(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&&vo.enqueueReplaceState(u,u.state,null)}function Xl(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 m1(e){Bc(e)}function p1(e){console.error(e)}function b1(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 g1(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 _o(e,u,t){return t=Wn(t),t.tag=3,t.payload={element:null},t.callback=function(){dr(e,u)},t}function y1(e){return e=Wn(e),e.tag=3,e}function x1(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(){g1(u,t,l)}}var d=t.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){g1(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 S3(e,u,t,l,i){if(t.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(u=t.alternate,u!==null&&Fl(u,t,i,!0),t=Au.current,t!==null){switch(t.tag){case 31:case 13:case 19:return Uu===null?Mr():t.alternate===null&&eu===0&&(eu=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),a0(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)),a0(e,l,i)),!1}throw Error(r(435,t.tag))}return a0(e,l,i),Mr(),!1}if(Se)return u=Au.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=i,l!==Hs&&(e=Error(r(422),{cause:l}),Ci(yt(e,t)))):(l!==Hs&&(u=Error(r(423),{cause:l}),Ci(yt(u,t))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=yt(l,t),i=_o(e.stateNode,l,i),$s(e,i),eu!==4&&(eu=2)),!1;var c=Error(r(520),{cause:l});if(c=yt(c,t),Xi===null?Xi=[c]:Xi.push(c),eu!==4&&(eu=2),u===null)return!0;l=yt(l,t),t=u;do{switch(t.tag){case 3:return t.flags|=65536,e=i&-i,t.lanes|=e,e=_o(t.stateNode,l,e),$s(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=y1(i),x1(i,e,t,l),$s(t,i),!1;break;case 22:if(t.memoizedState!==null)return t.flags|=65536,!1}t=t.return}while(t!==null);return!1}var Eo=Error(r(461)),ru=!1;function hu(e,u,t,l){u.child=e===null?Sd(u,null,t,l):Vl(u,e.child,t,l)}function v1(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 Bl(u),l=no(e,u,t,d,c,i),g=lo(),e!==null&&!ru?(ao(e,u,i),_n(e,u,i)):(Se&&g&&Zc(u),u.flags|=1,hu(e,u,l,i),u.child)}function _1(e,u,t,l,i){if(e===null){var c=t.type;return typeof c=="function"&&!Ls(c)&&c.defaultProps===void 0&&t.compare===null?(u.tag=15,u.type=c,E1(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,!Oo(e,i)){var d=c.memoizedProps;if(t=t.compare,t=t!==null?t:Ai,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 E1(e,u,t,l,i){if(e!==null){var c=e.memoizedProps;if(Ai(c,l)&&e.ref===u.ref)if(ru=!1,u.pendingProps=l=c,Oo(e,i))(e.flags&131072)!==0&&(ru=!0);else return u.lanes=e.lanes,_n(e,u,i)}return So(e,u,t,l,i)}function S1(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 A1(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?Dd(u,c):Ws(),Cd(u);else return l=u.lanes=536870912,A1(e,u,c!==null?c.baseLanes|t:t,t,l)}else c!==null?($c(u,c.cachePool),Dd(u,c),tl(),u.memoizedState=null):(e!==null&&$c(u,null),Ws(),tl());return hu(e,u,i,t),u.child}function Bi(e,u){return e!==null&&e.tag===22||u.stateNode!==null||(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.sibling}function A1(e,u,t,l,i){var c=Xs();return c=c===null?null:{parent:iu._currentValue,pool:c},u.memoizedState={baseLanes:t,cachePool:c},e!==null&&$c(u,null),Ws(),Cd(u),e!==null&&Fl(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 T1(e,u,t){return Vl(u,e.child,null,t),e=hr(u,u.pendingProps),e.flags|=2,at(u),u.memoizedState=null,e}function A3(e,u,t){var l=u.pendingProps,i=(u.flags&128)!==0;if(u.flags&=-129,e===null){if(Se){if(l.mode==="hidden")return e=hr(u,l),u.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Bi(null,e);if(eo(u),(e=Ze)?(e=Jh(e,_t),e=e!==null&&e.data==="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Xn!==null?{id:Vt,overflow:Zt}:null,retryLane:536870912,hydrationErrors:null},t=rd(e),t.return=u,u.child=t,pu=u,Ze=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(eo(u),i)if(u.flags&256)u.flags&=-257,u=T1(e,u,t);else if(u.memoizedState!==null)u.child=e.child,u.flags|=128,u=null;else throw Error(r(558));else if(ru||Fl(e,u,t,!1),i=(t&e.childLanes)!==0,ru||i){if(el.current===null){if(l=Ve,l!==null&&(d=ci(l,t),d!==0&&d!==c.retryLane))throw c.retryLane=d,Rl(e,d),Pu(l,e,d),Eo;Mr()}u=T1(e,u,t)}else e=c.treeContext,Ze=St(d.nextSibling),pu=u,Se=!0,Qn=null,_t=!1,e!==null&&fd(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 za(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 So(e,u,t,l,i){return Bl(u),t=no(e,u,t,l,void 0,i),l=lo(),e!==null&&!ru?(ao(e,u,i),_n(e,u,i)):(Se&&l&&Zc(u),u.flags|=1,hu(e,u,t,i),u.child)}function D1(e,u,t,l,i,c){return Bl(u),u.updateQueue=null,t=kd(u,l,t,i),Nd(e),l=lo(),e!==null&&!ru?(ao(e,u,c),_n(e,u,c)):(Se&&l&&Zc(u),u.flags|=1,hu(e,u,t,c),u.child)}function C1(e,u,t,l,i){if(Bl(u),u.stateNode===null){var c=_a,d=t.contextType;typeof d=="object"&&d!==null&&(c=Su(d)),c=new t(l,c),u.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=vo,u.stateNode=c,c._reactInternals=u,c=u.stateNode,c.props=l,c.state=u.memoizedState,c.refs={},Is(u),d=t.contextType,c.context=typeof d=="object"&&d!==null?Su(d):_a,c.state=u.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(xo(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&&vo.enqueueReplaceState(c,c.state,null),Ri(u,l,c,i),Mi(),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=Xl(t,g);c.props=E;var O=c.context,M=t.contextType;d=_a,typeof M=="object"&&M!==null&&(d=Su(M));var L=t.getDerivedStateFromProps;M=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=u.pendingProps!==g,M||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||O!==d)&&h1(u,c,l,d),Jn=!1;var N=u.memoizedState;c.state=N,Ri(u,l,c,i),Mi(),O=u.memoizedState,g||N!==O||Jn?(typeof L=="function"&&(xo(u,t,L,l),O=u.memoizedState),(E=Jn||d1(u,t,E,l,N,O,d))?(M||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,Ks(e,u),d=u.memoizedProps,M=Xl(t,d),c.props=M,L=u.pendingProps,N=c.context,O=t.contextType,E=_a,typeof O=="object"&&O!==null&&(E=Su(O)),g=t.getDerivedStateFromProps,(O=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d!==L||N!==E)&&h1(u,c,l,E),Jn=!1,N=u.memoizedState,c.state=N,Ri(u,l,c,i),Mi();var j=u.memoizedState;d!==L||N!==j||Jn||e!==null&&e.dependencies!==null&&Ic(e.dependencies)?(typeof g=="function"&&(xo(u,t,g,l),j=u.memoizedState),(M=Jn||d1(u,t,M,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=M):(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,za(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=Vl(u,e.child,null,i),u.child=Vl(u,null,t,i)):hu(e,u,t,i),u.memoizedState=c.state,e=u.child):e=_n(e,u,i),e}function N1(e,u,t,l){return Ll(),u.flags|=256,hu(e,u,t,l),u.child}var Ao={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function To(e){return{baseLanes:e,cachePool:gd()}}function Do(e,u,t){return e=e!==null?e.childLanes&~t:0,u&&(e|=rt),e}function k1(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:(Tu.current&2)!==0),d&&(i=!0,u.flags&=-129),d=(u.flags&32)!==0,u.flags&=-33,e===null){if(Se){if(i?ul(u):tl(),(e=Ze)?(e=Jh(e,_t),e=e!==null&&e.data!=="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Xn!==null?{id:Vt,overflow:Zt}:null,retryLane:536870912,hydrationErrors:null},t=rd(e),t.return=u,u.child=t,pu=u,Ze=null)):e=null,e===null)throw In(u);return T0(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=wl(l,i,t,null),c.return=u,l.return=u,c.sibling=l,u.child=c,l=u.child,l.memoizedState=To(t),l.childLanes=Do(e,d,t),u.memoizedState=Ao,Bi(null,l)):(ul(u),Co(u,c))}var g=e.memoizedState;if(g!==null){var E=g.dehydrated;if(E!==null)return T3(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=wl(i,c,t,null),i.flags|=2),i.return=u,l.return=u,l.sibling=i,u.child=l,Bi(null,l),l=u.child,i=e.child.memoizedState,i===null?i=To(t):(c=i.cachePool,c!==null?(g=iu._currentValue,c=c.parent!==g?{parent:g,pool:g}:c):c=gd(),i={baseLanes:i.baseLanes|t,cachePool:c}),l.memoizedState=i,l.childLanes=Do(e,d,t),u.memoizedState=Ao,Bi(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 Co(e,u){return u=mr({mode:"visible",children:u},e.mode),u.return=e,e.child=u}function mr(e,u){return e=Ku(22,e,null,u),e.lanes=0,e}function pr(e,u,t){return Vl(u,e.child,null,t),e=Co(u,u.pendingProps.children),e.flags|=2,u.memoizedState=null,e}function T3(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=wl(c,d,g,null),c.flags|=2,i.return=u,c.return=u,i.sibling=c,u.child=i,Vl(u,e.child,null,g),i=u.child,i.memoizedState=To(g),i.childLanes=Do(e,l,g),u.memoizedState=Ao,Bi(null,i));if(ul(u),T0(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,Ci({value:i,source:null,stack:null})),pr(e,u,g)}if(ru||Fl(e,u,g,!1),l=(g&e.childLanes)!==0,ru||l){if(el.current!==null)return pr(e,u,g);if(l=Ve,l!==null&&(i=ci(l,g),i!==0&&i!==d.retryLane))throw d.retryLane=i,Rl(e,i),Pu(l,e,i),Eo;return A0(c)||Mr(),pr(e,u,g)}return A0(c)?(u.flags|=192,u.child=e.child,null):(e=d.treeContext,Ze=St(c.nextSibling),pu=u,Se=!0,Qn=null,_t=!1,e!==null&&fd(u,e),u=Co(u,i.children),u.flags|=134221824,u)}function O1(e,u,t){e.lanes|=u;var l=e.alternate;l!==null&&(l.lanes|=u),Qc(e.return,u,t)}function z1(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 No(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 ko(e,u,t){var l=u.pendingProps,i=l.revealOrder,c=l.tail;l=l.children;var d=Tu.current;if(u.flags&128)return wi(u,d),null;var g=(d&2)!==0;if(g?(d=d&1|2,u.flags|=128):d&=1,wi(u,d),i==="backwards"&&e!==null?(No(e),hu(e,u,l,t),No(e)):hu(e,u,l,t),l=Se?Di:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=u.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&O1(e,t,u);else if(e.tag===19)O1(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=z1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null,No(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=z1(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 j1(e,u,t){var l=u.pendingProps;return Kn(u,u.type,l.value),hu(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(Fl(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 Oo(e,u){return(e.lanes&u)!==0?!0:(e=e.dependencies,!!(e!==null&&Ic(e)))}function D3(e,u,t){switch(u.tag){case 3:tt(u,u.stateNode.containerInfo),Kn(u,iu,e.memoizedState.cache),Ll();break;case 27:case 5:El(u);break;case 4:tt(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,eo(u),null;break;case 13:var l=u.memoizedState;if(l!==null){if(l.dehydrated!==null)return ul(u),u.flags|=128,null;l=Fl(e,u,t,!1);var i=u.child.childLanes;return l||(t&i)!==0?k1(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 ko(e,u,t);if(i=(e.flags&128)!==0,l=(t&u.childLanes)!==0,l||(Fl(e,u,t,!1),l=(t&u.childLanes)!==0),i){if(l)return ko(e,u,t);u.flags|=128}if(i=u.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),wi(u,Tu.current),l)break;return null;case 22:return u.lanes=0,S1(e,u,t,u.pendingProps);case 24:Kn(u,iu,e.memoizedState.cache)}return _n(e,u,t)}function M1(e,u,t){if(e!==null)if(e.memoizedProps!==u.pendingProps)ru=!0;else{if(!Oo(e,t)&&(u.flags&128)===0)return ru=!1,D3(e,u,t);ru=(e.flags&131072)!==0}else ru=!1,Se&&(u.flags&1048576)!==0&&od(u,Di,u.index);switch(u.lanes=0,u.tag){case 16:e:{var l=u.pendingProps;if(e=Gl(u.elementType),u.type=e,typeof e=="function")Ls(e)?(l=Xl(e,l),u.tag=1,u=C1(null,u,e,l,t)):(u.tag=0,u=So(null,u,e,l,t));else{if(e!=null){var i=e.$$typeof;if(i===J){u.tag=11,u=v1(null,u,e,l,t);break e}else if(i===Le){u.tag=14,u=_1(null,u,e,l,t);break e}else if(i===Re){u.tag=10,u.type=e,u=j1(null,u,t);break e}}throw u=fe(e)||e,Error(r(306,u,""))}}return u;case 0:return So(e,u,u.type,u.pendingProps,t);case 1:return l=u.type,i=Xl(l,u.pendingProps),C1(e,u,l,i,t);case 3:e:{if(tt(u,u.stateNode.containerInfo),e===null)throw Error(r(387));l=u.pendingProps;var c=u.memoizedState;i=c.element,Ks(e,u),Ri(u,l,null,t);var d=u.memoizedState;if(l=d.cache,Kn(u,iu,l),l!==c.cache&&Ys(u,[iu],t,!0),Mi(),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=N1(e,u,l,t);break e}else if(l!==i){i=yt(Error(r(424)),u),Ci(i),u=N1(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,Ze=St(e.firstChild),pu=u,Se=!0,Qn=null,_t=!0,t=Sd(u,null,l,t),u.child=t;t;)t.flags=t.flags&-3|134221824,t=t.sibling;else{if(Ll(),l===i){u=_n(e,u,t);break e}hu(e,u,l,t)}u=u.child}return u;case 26:return za(e,u),e===null?(t=l2(u.type,null,u.pendingProps,null))?u.memoizedState=t:Se||(u.stateNode=Uh(u.type,u.pendingProps,Xu.current,u)):u.memoizedState=l2(u.type,e.memoizedProps,u.pendingProps,e.memoizedState),null;case 27:return El(u),e===null&&Se&&(l=u.stateNode=e2(u.type,u.pendingProps,Xu.current),pu=u,_t=!0,i=Ze,ol(u.type)?(D0=i,Ze=St(l.firstChild)):Ze=i),hu(e,u,u.pendingProps.children,t),za(e,u),e===null&&(u.flags|=4194304),u.child;case 5:return e===null&&Se&&((i=l=Ze)&&(l=vb(l,u.type,u.pendingProps,_t),l!==null?(u.stateNode=l,pu=u,Ze=St(l.firstChild),_t=!1,i=!0):i=!1),i||In(u)),El(u),i=u.type,c=u.pendingProps,d=e!==null?e.memoizedProps:null,l=c.children,g0(i,c)?l=null:d!==null&&g0(i,d)&&(u.flags|=32),u.memoizedState!==null&&(i=no(e,u,p3,null,null,t),Ka._currentValue=i),za(e,u),hu(e,u,l,t),u.child;case 6:return e===null&&Se&&((e=t=Ze)&&(t=_b(t,u.pendingProps,_t),t!==null?(u.stateNode=t,pu=u,Ze=null,e=!0):e=!1),e||In(u)),null;case 13:return k1(e,u,t);case 4:return tt(u,u.stateNode.containerInfo),l=u.pendingProps,e===null?u.child=Vl(u,null,l,t):hu(e,u,l,t),u.child;case 11:return v1(e,u,u.type,u.pendingProps,t);case 7:return l=u.pendingProps,za(e,u),hu(e,u,l,t),u.child;case 8:return hu(e,u,u.pendingProps.children,t),u.child;case 12:return hu(e,u,u.pendingProps.children,t),u.child;case 10:return j1(e,u,t);case 9:return i=u.type._context,l=u.pendingProps.children,Bl(u),i=Su(i),l=l(i),u.flags|=1,hu(e,u,l,t),u.child;case 14:return _1(e,u,u.type,u.pendingProps,t);case 15:return E1(e,u,u.type,u.pendingProps,t);case 19:return ko(e,u,t);case 31:return A3(e,u,t);case 22:return S1(e,u,t,u.pendingProps);case 24:return Bl(u),l=Su(iu),e===null?(i=Xs(),i===null&&(i=Ve,c=Vs(),i.pooledCache=c,c.refCount++,c!==null&&(i.pooledCacheLanes|=t),i=c),u.memoizedState={parent:l,cache:i},Is(u),Kn(u,iu,i)):((e.lanes&t)!==0&&(Ks(e,u),Ri(u,null,null,t),Mi()),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,iu,l)):(l=c.cache,Kn(u,iu,l),l!==i.cache&&Ys(u,[iu],t,!0))),hu(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:Se&&Zc(u),e!==null&&e.memoizedProps.name!==l.name?u.flags|=4194816:za(e,u),hu(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 zo(e,u,t,l,i){var c;if((c=(e.mode&32)!==0)&&(c=t===null?r2(u,l):r2(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(mh())e.flags|=8192;else throw Yl=Wc,Qs}else e.flags&=-16777217}function R1(e,u){if(u.type!=="stylesheet"||(u.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!s2(u))if(mh())e.flags|=8192;else throw Yl=Wc,Qs}function gr(e,u){u!==null&&(e.flags|=4),e.flags&16384&&(u=e.tag!==22?Ln():536870912,e.lanes|=u,La|=u)}function Hi(e,u){if(!Se)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 Xe(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 C3(e,u,t){var l=u.pendingProps;switch(Bs(u),u.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(u),null;case 1:return Xe(u),null;case 3:return t=u.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),u.memoizedState.cache!==l&&(u.flags|=2048),yn(iu),cn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Aa(u)?En(u):e===null||e.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,qs())),Xe(u),null;case 26:var i=u.type,c=u.memoizedState;return e===null?(En(u),c!==null?(Xe(u),R1(u,c)):(Xe(u),zo(u,i,null,l,t))):c?c!==e.memoizedState?(En(u),Xe(u),R1(u,c)):(Xe(u),u.flags&=-16777217):(e=e.memoizedProps,e!==l&&En(u),Xe(u),zo(u,i,e,l,t)),null;case 27:if(Sl(u),t=Xu.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 Xe(u),u.subtreeFlags&=-33554433,null}e=Zu.current,Aa(u)?dd(u):(e=e2(i,l,t),u.stateNode=e,En(u))}return Xe(u),u.subtreeFlags&=-33554433,null;case 5:if(Sl(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 Xe(u),u.subtreeFlags&=-33554433,null}if(c=Zu.current,Aa(u))dd(u);else{var d=Ji(Xu.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[fu]=u,c[wu]=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(Cu(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 Xe(u),u.subtreeFlags&=-33554433,zo(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=Xu.current,Aa(u)){if(e=u.stateNode,t=u.memoizedProps,l=null,i=pu,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[fu]=u,e=!!(e.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||Mh(e.nodeValue,t)),e||In(u,!0)}else e=Ji(e).createTextNode(l),e[fu]=u,u.stateNode=e}return Xe(u),null;case 31:if(t=u.memoizedState,e===null||e.memoizedState!==null){if(l=Aa(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[fu]=u}else Ll(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Xe(u),e=!1}else t=qs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return u.flags&256?(at(u),u):(at(u),null);if((u.flags&128)!==0)throw Error(r(558))}return Xe(u),null;case 13:if(l=u.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Aa(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[fu]=u}else Ll(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Xe(u),i=!1}else i=qs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return u.flags&256?(at(u),u):(at(u),null)}return at(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),Xe(u),null);case 4:return cn(),e===null&&d0(u.stateNode.containerInfo),u.flags|=67108864,Xe(u),null;case 10:return yn(u.type),Xe(u),null;case 19:if(uo(u),l=u.memoizedState,l===null)return Xe(u),null;if(i=(u.flags&128)!==0,c=l.rendering,c===null)if(i)Hi(l,!1);else{if(eu!==0||e!==null&&(e.flags&128)!==0)for(e=u.child;e!==null;){if(c=tr(e),c!==null){for(u.flags|=128,Hi(l,!1),e=c.updateQueue,u.updateQueue=e,gr(u,e),u.subtreeFlags=0,e=t,t=u.child;t!==null;)cd(t,e),t=t.sibling;return wi(u,Tu.current&1|2),Se&&bn(u,l.treeForkCount),u.child}e=e.sibling}l.tail!==null&&Mu()>kr&&(u.flags|=128,i=!0,Hi(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),Hi(l,!0),l.tail===null&&l.tailMode!=="collapsed"&&l.tailMode!=="visible"&&!c.alternate&&!Se)return Xe(u),null}else 2*Mu()-l.renderingStartTime>kr&&t!==536870912&&(u.flags|=128,i=!0,Hi(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=Mu(),e.sibling=null,c=Tu.current,c=i?c&1|2:c&1,l.tailMode==="visible"||l.tailMode==="collapsed"||!t||Se?wi(u,c):(t=c,de(Au,u),de(Tu,t),Uu===null&&(Uu=u)),Se&&bn(u,l.treeForkCount),e}return Xe(u),null;case 22:case 23:return at(u),Ps(),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&&(Xe(u),u.subtreeFlags&6&&(u.flags|=8192)):Xe(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&&uu(ql),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),u.memoizedState.cache!==t&&(u.flags|=2048),yn(iu),Xe(u),null;case 25:return null;case 30:return u.flags|=33554432,Xe(u),null}throw Error(r(156,u.tag))}function N3(e,u){switch(Bs(u),u.tag){case 1:return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 3:return yn(iu),cn(),e=u.flags,(e&65536)!==0&&(e&128)===0?(u.flags=e&-65537|128,u):null;case 26:case 27:case 5:return Sl(u),null;case 31:if(u.memoizedState!==null){if(at(u),u.alternate===null)throw Error(r(340));Ll()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 13:if(at(u),e=u.memoizedState,e!==null&&e.dehydrated!==null){if(u.alternate===null)throw Error(r(340));Ll()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 19:return uo(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 at(u),Ps(),e!==null&&uu(ql),e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 24:return yn(iu),null;case 25:return null;default:return null}}function w1(e,u){switch(Bs(u),u.tag){case 3:yn(iu),cn();break;case 26:case 27:case 5:Sl(u);break;case 4:cn();break;case 31:u.memoizedState!==null&&at(u);break;case 13:at(u);break;case 19:uo(u);break;case 10:yn(u.type);break;case 22:case 23:at(u),Ps(),e!==null&&uu(ql);break;case 24:yn(iu)}}function qi(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){qe(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(M){qe(i,E,M)}}}l=l.next}while(l!==c)}}catch(M){qe(u,u.return,M)}}function L1(e){var u=e.updateQueue;if(u!==null){var t=e.stateNode;try{Td(u,t)}catch(l){qe(e,e.return,l)}}}function U1(e,u,t){t.props=Xl(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(l){qe(e,u,l)}}function Xt(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=Vh(c)),l=i.ref;break;case 7:if(e.stateNode===null){var d=new ot(e);y(e.child,!1,yb,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){qe(e,u,g)}}function Du(e,u){var t=e.ref,l=e.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(i){qe(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){qe(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++)$h(e.stateNode,u[t])}function F1(e){for(var u=e.return;u!==null&&(Mo(u)&&$h(e.stateNode,u.stateNode),!jo(u));)u=u.return}function Gi(e){for(var u=e.return;u!==null&&(Mo(u)&&xb(e.stateNode,u.stateNode),!jo(u));)u=u.return}function jo(e){return e.tag===5||e.tag===3||e.tag===27}function Mo(e){return e&&e.tag===7&&e.stateNode!==null}function Ro(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){qe(e,e.return,i)}}function wo(e,u,t){try{var l=e.stateNode;eb(l,e.type,t,u),l[wu]=u}catch(i){qe(e,e.return,i)}}function B1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ol(e.type)||e.tag===4}function Lo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||B1(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 Uo(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=Fe)),yr(e,l),_e=!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(Uo(e,u,t,l),e=e.sibling;e!==null;)Uo(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),_e=!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 H1(e){var u=e.stateNode,t=e.memoizedProps;try{for(var l=e.type,i=u.attributes;i.length;)u.removeAttributeNode(i[0]);Cu(u,l,t),u[fu]=e,u[wu]=t}catch(c){qe(e,e.return,c)}}var vr=!1,it=null;function q1(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(vr=!0)}var Qt=null;function G1(){var e=Qt;return Qt=null,e}var $u=0;function ja(e,u,t,l,i){return $u=0,Y1(e.child,u,t,l,i)}function Y1(e,u,t,l,i){for(var c=!1;e!==null;){if(e.tag===5){var d=e.stateNode;if(l!==null){var g=v0(d);l.push(g),g.view&&(c=!0)}else c||v0(d).view&&(c=!0);vr=!0,Gh(d,$u===0?u:u+"_"+$u,t),$u++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Y1(e.child,u,t,l,i)&&(c=!0));e=e.sibling}return c}function It(e,u){for(;e!==null;)e.tag===5?Yh(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&u||It(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"&&(ja(e,t,u,null,!1)||It(e.child,!1))}e=e.sibling}}function Fo(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"?ja(e,i,c,null,!1)?(_r(e),t.paired||u||Ha(e,l.onEnter)):It(e.child,!1):_r(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Fo(e,u),e=e.sibling;else _r(e)}function Bo(e){if(it!==null&&it.size!==0){var u=it;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"&&(ja(e,l,c,null,!1)?(c=e.stateNode,i.paired=c,c.paired=i,Ha(e,t.onShare)):It(e.child,!1)),u.delete(l),u.size===0)break}}}Bo(e)}e=e.sibling}}}function Ho(e){if(e.tag===30){var u=e.memoizedProps,t=hn(u,e.stateNode),l=it!==null?it.get(t):void 0,i=mn(u.default,l!==void 0?u.share:u.exit);i!=="none"&&(ja(e,t,i,null,!1)?l!==void 0?(i=e.stateNode,l.paired=i,i.paired=l,it.delete(t),Ha(e,u.onShare)):Ha(e,u.onExit):It(e.child,!1)),it!==null&&Bo(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ho(e),e=e.sibling;else it!==null&&Bo(e)}function V1(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"&&ja(e,t,u,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&V1(e);e=e.sibling}}function qo(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,It(e.child,!1))}qo(e)}e=e.sibling}}function Er(e){if(e.tag===30)e.stateNode.paired=null,It(e.child,!1),qo(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Er(e),e=e.sibling;else qo(e)}function Z1(e){for(e=e.child;e!==null;)e.tag===30?It(e.child,!1):(e.subtreeFlags&33554432)!==0&&Z1(e),e=e.sibling}function Go(e,u,t,l,i,c,d){for(var g=!1;u!==null;){if(u.tag===5){var E=u.stateNode;if(c!==null&&$u<c.length){var O=c[$u],M=v0(E);(O.view||M.view)&&(g=!0);var L;if(L=(e.flags&4)===0)if(M.clip)L=!0;else{L=O.rect;var N=M.rect;L=L.y!==N.y||L.x!==N.x||L.height!==N.height||L.width!==N.width}L&&(e.flags|=4),M.abs?M=!O.abs:(O=O.rect,M=M.rect,M=O.height!==M.height||O.width!==M.width),M&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Gh(E,$u===0?t:t+"_"+$u,i),g&&(e.flags&4)!==0||(Qt===null&&(Qt=[]),Qt.push(E,$u===0?l:l+"_"+$u,u.memoizedProps)),$u++}else(u.tag!==22||u.memoizedState===null)&&(u.tag===30&&d?e.flags|=u.flags&32:Go(e,u.child,t,l,i,c,d)&&(g=!0));u=u.sibling}return g}function X1(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;$u=0,i=Go(l,g,i,i,c,d,!1),(e.flags&4)!==0&&i&&Ha(e,t.onUpdate)}else(e.subtreeFlags&33554432)!==0&&X1(e);e=e.sibling}}var bu=!1,Be=!1,Kt=!1,Yo=!1,Q1=typeof WeakSet=="function"?WeakSet:Set,gu=null,$t=!1,Yi=!1,Sr=!1,Vo=!1;function k3(e,u,t){if(e=e.containerInfo,p0=$a,e=Jf(e),ks(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,M=0,L=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&&++M===c&&(E=g),j===d&&++L===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(b0={focusedElem:e,selectionRange:l},$a=!1,t=(t&335544064)===t,gu=u,u=t?9270:1024;gu!==null;){if(e=gu,t&&(l=e.deletions,l!==null))for(c=0;c<l.length;c++)t&&Ho(l[c]);if(e.alternate===null&&(e.flags&2)!==0)t&&q1(e),Ar(t);else{if(e.tag===22){if(l=e.alternate,e.memoizedState!==null){l!==null&&l.memoizedState===null&&t&&Ho(l),Ar(t);continue}else if(l!==null&&l.memoizedState!==null){t&&q1(e),Ar(t);continue}}l=e.child,(e.subtreeFlags&u)!==0&&l!==null?(l.return=e,gu=l):(t&&V1(e),Ar(t))}}it=null}function Ar(e){for(;gu!==null;){var u=gu,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=Xl(u.type,i);t=c.getSnapshotBeforeUpdate(d,l),c.__reactInternalSnapshotBeforeUpdate=t}catch(g){qe(u,u.return,g)}}break;case 3:if((i&1024)!==0){if(l=u.stateNode.containerInfo,t=l.nodeType,t===9)S0(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":S0(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"&&ja(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,gu=l;break}gu=u.return}}function I1(e,u,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Jt(e,t),l&4&&qi(5,t);break;case 1:if(Jt(e,t),l&4)if(e=t.stateNode,u===null)try{e.componentDidMount()}catch(d){qe(t,t.return,d)}else{var i=Xl(t.type,u.memoizedProps);u=u.memoizedState;try{e.componentDidUpdate(i,u,e.__reactInternalSnapshotBeforeUpdate)}catch(d){qe(t,t.return,d)}}l&64&&L1(t),l&512&&Xt(t,t.return);break;case 3:if(Jt(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{Td(e,u)}catch(d){qe(t,t.return,d)}}break;case 27:u===null&&l&4&&H1(t);case 26:case 5:Jt(e,t),u===null&&l&4&&Ro(t),l&512&&Xt(t,t.return);break;case 12:Jt(e,t);break;case 31:Jt(e,t),l&4&&W1(e,t);break;case 13:Jt(e,t),l&4&&P1(e,t),l&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=q3.bind(null,t),Eb(e,t))));break;case 22:if(l=t.memoizedState!==null||bu,!l){var c=u!==null&&u.memoizedState!==null||Be;u=bu,i=Be,bu=l,(Be=c)&&!i?(l=2,(t.subtreeFlags&8772)!==0&&(l|=1),Rt(e,t,l)):Jt(e,t),bu=u,Be=i}break;case 30:Jt(e,t),l&512&&Xt(t,t.return);break;case 7:l&512&&Xt(t,t.return);default:Jt(e,t)}}function Zo(e,u){for(e=e.child;e!==null;)K1(e,u),e=e.sibling}function K1(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){qe(e,e.return,E)}Xo(e,u);break;case 6:try{e.stateNode.nodeValue=u?"":e.memoizedProps,_e=!0}catch(E){qe(e,e.return,E)}break;case 18:try{var g=e.stateNode;u?qh(g,!0):qh(e.stateNode,!1)}catch(E){qe(e,e.return,E)}break;case 22:case 23:e.memoizedState===null&&Zo(e,u);break;default:Zo(e,u)}}function Xo(e,u){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var t=e,l=u;switch(t.tag){case 4:K1(t,l);break e;case 22:t.memoizedState===null&&Xo(t,l);break e;default:Xo(t,l)}}e=e.sibling}}function $1(e){var u=e.alternate;u!==null&&(e.alternate=null,$1(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 Ke=null,Ju=!1;function jt(e,u,t){for(t=t.child;t!==null;)J1(e,u,t),t=t.sibling}function J1(e,u,t){if(Ru&&typeof Ru.onCommitFiberUnmount=="function")try{Ru.onCommitFiberUnmount(On,t)}catch{}switch(t.tag){case 26:Be||Du(t,u),jt(e,u,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&!Be&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:Be||Du(t,u),Gi(t);var l=Ke,i=Ju;ol(t.type)&&(Ke=t.stateNode,Ju=!1),jt(e,u,t),u2(t.stateNode,t.type,t.memoizedProps),Ke=l,Ju=i;break;case 5:Be||Du(t,u),Gi(t);case 6:if(t.tag===6&&Gi(t),l=Ke,i=Ju,Ke=null,jt(e,u,t),Ke=l,Ju=i,Ke!==null)if(Ju)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(t.stateNode),_e=!0}catch(c){qe(t,u,c)}else try{Ke.removeChild(t.stateNode),_e=!0}catch(c){qe(t,u,c)}break;case 18:Ke!==null&&(Ju?(e=Ke,Hh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),Ja(e)):Hh(Ke,t.stateNode));break;case 4:l=Ke,i=Ju,Ke=t.stateNode.containerInfo,Ju=!0,jt(e,u,t),Ke=l,Ju=i;break;case 0:case 11:case 14:case 15:nl(2,t,u),Be||nl(4,t,u),jt(e,u,t);break;case 1:Be||(Du(t,u),l=t.stateNode,typeof l.componentWillUnmount=="function"&&U1(t,u,l)),jt(e,u,t);break;case 21:jt(e,u,t);break;case 22:Be=(l=Be)||t.memoizedState!==null,jt(e,u,t),Be=l;break;case 30:Du(t,u),jt(e,u,t);break;case 7:Be||Du(t,u),jt(e,u,t);break;default:jt(e,u,t)}}function W1(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ja(e)}catch(t){qe(u,u.return,t)}}}function P1(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ja(e)}catch(t){qe(u,u.return,t)}}function O3(e){switch(e.tag){case 31:case 13:case 19:var u=e.stateNode;return u===null&&(u=e.stateNode=new Q1),u;case 22:return e=e.stateNode,u=e._retryCache,u===null&&(u=e._retryCache=new Q1),u;default:throw Error(r(435,e.tag))}}function Tr(e,u){var t=O3(e);u.forEach(function(l){if(!t.has(l)){t.add(l);var i=G3.bind(null,e,l);l.then(i,i)}})}function Yu(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)){Ke=E.stateNode,Ju=!1;break e}break;case 5:Ke=E.stateNode,Ju=!1;break e;case 3:case 4:Ke=E.stateNode.containerInfo,Ju=!0;break e}E=E.return}if(Ke===null)throw Error(r(160));J1(d,g,c),Ke=null,Ju=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(u.subtreeFlags&13886)for(u=u.child;u!==null;)eh(u,e,t),u=u.sibling}var Mt=null;function eh(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}Yu(u,e,t),Vu(e),i&4&&(nl(3,e,e.return),qi(3,e),nl(5,e,e.return));break;case 1:Yu(u,e,t),Vu(e),i&512&&(Be||l===null||Du(l,l.return)),i&64&&bu&&(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=Mt,Yu(u,e,t),Vu(e),i&512&&(Be||l===null||Du(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(bu)e.stateNode=Uh(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[fu]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=i.createElement(u),i.head.insertBefore(l,i.querySelector("head > title"))),Cu(l,u,t),l[fu]=e,au(l),u=l;break e;case"link":if(c=c2("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),Cu(l,u,t),i.head.appendChild(l);break;case"meta":if(c=c2("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),Cu(l,u,t),i.head.appendChild(l);break;default:throw Error(r(468,u))}l[fu]=e,au(l),u=l}e.stateNode=u}else bu||O0(c,e.type,e.stateNode);else e.stateNode=i2(c,t,e.memoizedProps);else i!==t?(i===null?(u=l.stateNode,u===null||Be||u.parentNode.removeChild(u)):i.count--,t===null?bu||O0(c,e.type,e.stateNode):i2(c,t,e.memoizedProps)):t===null&&e.stateNode!==null&&wo(e,e.memoizedProps,l.memoizedProps);break;case 27:Yu(u,e,t),Vu(e),i&512&&(Be||l===null||Du(l,l.return)),l!==null&&i&4&&wo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(c=Kt,Kt=!1,Yu(u,e,t),Kt=c,Vu(e),i&512&&(Be||l===null||Du(l,l.return)),e.flags&32){u=e.stateNode;try{q(u,""),_e=!0}catch(M){qe(e,e.return,M)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,wo(e,u,l!==null?l.memoizedProps:u)),i&1024&&(Yo=!0);break;case 6:if(Yu(u,e,t),Vu(e),i&4){if(e.stateNode===null)throw Error(r(162));u=e.memoizedProps,t=e.stateNode;try{t.nodeValue=u,_e=!0}catch(M){qe(e,e.return,M)}}break;case 3:if(_e=!1,Hr=null,c=Mt,Mt=Wi(u.containerInfo),Yu(u,e,t),Mt=c,Vu(e),i&4&&l!==null&&l.memoizedState.isDehydrated)try{Ja(u.containerInfo)}catch(M){qe(e,e.return,M)}Yo&&(Yo=!1,uh(e)),_e=!1;break;case 4:i=Kt,Kt=bu,l=qn(),c=Mt,Mt=Wi(e.stateNode.containerInfo),Yu(u,e,t),Vu(e),Mt=c,_e&&Yi&&(Sr=!0),_e=l,Kt=i;break;case 12:Yu(u,e,t),Vu(e);break;case 31:Yu(u,e,t),Vu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 13:Yu(u,e,t),Vu(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Nr=Mu()),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=bu,E=Be,O=Kt;bu=g||c,Kt=O||c,Be=E||d,Yu(u,e,t),Be=E,Kt=O,bu=g,Vu(e),i&8192&&(u=e.stateNode,u._visibility=c?u._visibility&-2:u._visibility|1,!c||l===null||d||bu||Be||(u=d||Be,t=bu,l=Be,bu=c||bu,Be=u,ll(e,2),bu=t,Be=l),!c&&Kt||Zo(e,c)),i&4&&(u=e.updateQueue,u!==null&&(t=u.retryQueue,t!==null&&(u.retryQueue=null,Tr(e,t))));break;case 19:Yu(u,e,t),Vu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 30:i&512&&(Be||l===null||Du(l,l.return)),i=qn(),c=Yi,d=(t&335544064)===t,g=e.memoizedProps,Yi=d&&mn(g.default,g.update)!=="none",Yu(u,e,t),Vu(e),d&&l!==null&&_e&&(e.flags|=4),Yi=c,_e=i;break;case 21:break;case 7:i&512&&(Be||l===null||Du(l,l.return)),l&&l.stateNode!==null&&(l.stateNode._fragmentFiber=e);default:Yu(u,e,t),Vu(e)}}function Vu(e){var u=e.flags;if(u&2){try{for(var t,l=e.return;l!==null;){if(B1(l)){t=l;break}l=l.return}l=null;for(var i=e.return;i!==null;){if(Mo(i)){var c=i.stateNode;l===null?l=[c]:l.push(c)}if(jo(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=Lo(e);xr(e,E,g,d);break;case 5:var O=t.stateNode;t.flags&32&&(q(O,""),t.flags&=-33);var M=Lo(e);xr(e,M,O,d);break;case 3:case 4:var L=t.stateNode.containerInfo,N=Lo(e);Uo(e,N,L,d);break;default:throw Error(r(161))}}catch(j){qe(e,e.return,j)}e.flags&=-3}u&4096&&(e.flags&=-4097)}function uh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var u=e;uh(u),u.tag===5&&u.flags&1024&&(u=u.stateNode,$a=!0,u.reset(),$a=!1),e=e.sibling}}function Ma(e,u){if(u.subtreeFlags&9270)for(u=u.child;u!==null;)th(u,e),u=u.sibling;else X1(u)}function th(e,u){var t=e.alternate;if(t===null)Fo(e,!1);else switch(e.tag){case 3:if(Vo=$t=!1,G1(),Ma(u,e),!$t&&!Sr){if(e=Qt,e!==null)for(var l=0;l<e.length;l+=3){t=e[l];var i=e[l+1];Yh(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"})),Vo=!0}Qt=null;break;case 5:Ma(u,e);break;case 4:l=$t,$t=!1,Ma(u,e),$t&&(Sr=!0),$t=l;break;case 22:e.memoizedState===null&&(t.memoizedState!==null?Fo(e,!1):Ma(u,e));break;case 30:l=$t,i=G1(),$t=!1,Ma(u,e),$t&&(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,$u=0,u=Go(e,t,u,d,g,c,!0),$u!==(c===null?0:c.length)&&(e.flags|=32)),(e.flags&4)!==0&&u?(Ha(e,e.memoizedProps.onUpdate),Qt=i):i!==null&&(i.push.apply(i,Qt),Qt=i),$t=(e.flags&32)!==0?!0:l;break;default:Ma(u,e)}}function Jt(e,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)I1(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:Du(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&U1(t,t.return,i),ll(t,l);break;case 27:(l&2)!==0&&u2(t.stateNode,t.type,t.memoizedProps);case 5:Du(t,t.return),t.tag!==5&&t.tag!==27||Gi(t),ll(t,l);break;case 6:Gi(t);break;case 26:Du(t,t.return),i=t.stateNode,t.memoizedState!==null||i===null||Be||i.parentNode.removeChild(i),ll(t,l);break;case 22:t.memoizedState===null&&ll(t,l);break;case 30:Du(t,t.return),ll(t,l);break;case 7:Du(t,t.return);default:ll(t,l)}e=e.sibling}}function Rt(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:Rt(i,c,t),qi(4,c);break;case 1:if(Rt(i,c,t),l=c,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(M){qe(l,l.return,M)}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++)Ad(O[i],E)}catch(M){qe(l,l.return,M)}}g&&d&64&&L1(c),Xt(c,c.return);break;case 27:(t&2)!==0&&H1(c);case 5:c.tag!==5&&c.tag!==27||F1(c),Rt(i,c,t),g&&l===null&&d&4&&Ro(c),Xt(c,c.return);break;case 6:F1(c);break;case 26:E=c.stateNode,c.memoizedState!==null||E===null||bu||O0(Wi(E.ownerDocument),c.type,E),Rt(i,c,t),g&&l===null&&d&4&&Ro(c),Xt(c,c.return);break;case 12:Rt(i,c,t);break;case 31:Rt(i,c,t),g&&d&4&&W1(i,c);break;case 13:Rt(i,c,t),g&&d&4&&P1(i,c);break;case 22:c.memoizedState===null&&Rt(i,c,t),Xt(c,c.return);break;case 30:Rt(i,c,t),Xt(c,c.return);break;case 7:Xt(c,c.return);default:Rt(i,c,t)}u=u.sibling}}function Qo(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&&Ni(t))}function Io(e,u){e=null,u.alternate!==null&&(e=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==e&&(u.refCount++,e!=null&&Ni(e))}function Et(e,u,t,l){var i=(t&335544064)===t;if(u.subtreeFlags&(i?10262:10256))for(u=u.child;u!==null;)nh(e,u,t,l),u=u.sibling;else i&&Z1(u)}function nh(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:Et(e,u,t,l),c&2048&&qi(9,u);break;case 1:Et(e,u,t,l);break;case 3:Et(e,u,t,l),i&&Vo&&(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&&Ni(c)));break;case 12:if(c&2048){Et(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){qe(u,u.return,O)}}else Et(e,u,t,l);break;case 31:Et(e,u,t,l);break;case 13:Et(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?Et(e,u,t,l):Vi(e,u)):(i&&g!==null&&g.memoizedState!==null&&Er(u),d._visibility&2?Et(e,u,t,l):(d._visibility|=2,Ra(e,u,t,l,(u.subtreeFlags&10256)!==0||!1))),c&2048&&Qo(g,u);break;case 24:Et(e,u,t,l),c&2048&&Io(u.alternate,u);break;case 30:i&&(c=u.alternate,c!==null&&(It(c.child,!0),It(u.child,!0))),Et(e,u,t,l);break;default:Et(e,u,t,l)}}function Ra(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:Ra(c,d,g,E,i),qi(8,d);break;case 23:break;case 22:var M=d.stateNode;d.memoizedState!==null?M._visibility&2?Ra(c,d,g,E,i):Vi(c,d):(M._visibility|=2,Ra(c,d,g,E,i)),i&&O&2048&&Qo(d.alternate,d);break;case 24:Ra(c,d,g,E,i),i&&O&2048&&Io(d.alternate,d);break;default:Ra(c,d,g,E,i)}u=u.sibling}}function Vi(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:Vi(t,l),i&2048&&Qo(l.alternate,l);break;case 24:Vi(t,l),i&2048&&Io(l.alternate,l);break;default:Vi(t,l)}u=u.sibling}}var Ql=8192;function Il(e,u,t){if(e.subtreeFlags&Ql)for(e=e.child;e!==null;)lh(e,u,t),e=e.sibling}function lh(e,u,t){switch(e.tag){case 26:Il(e,u,t),e.flags&Ql&&(e.memoizedState!==null?Lb(t,Mt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(u&335544128)===u&&f2(t,e)));break;case 5:Il(e,u,t),e.flags&Ql&&(e=e.stateNode,(u&335544128)===u&&f2(t,e));break;case 3:case 4:var l=Mt;Mt=Wi(e.stateNode.containerInfo),Il(e,u,t),Mt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Ql,Ql=16777216,Il(e,u,t),Ql=l):Il(e,u,t));break;case 30:if((e.flags&Ql)!==0&&(l=e.memoizedProps.name,l!=null&&l!=="auto")){var i=e.stateNode;i.paired=null,it===null&&(it=new Map),it.set(l,i)}Il(e,u,t);break;default:Il(e,u,t)}}function ah(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 Zi(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];gu=l,ch(l,e)}ah(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ih(e),e=e.sibling}function ih(e){switch(e.tag){case 0:case 11:case 15:Zi(e),e.flags&2048&&nl(9,e,e.return);break;case 3:Zi(e);break;case 12:Zi(e);break;case 22:var u=e.stateNode;e.memoizedState!==null&&u._visibility&2&&(e.return===null||e.return.tag!==13)?(u._visibility&=-3,Dr(e)):Zi(e);break;default:Zi(e)}}function Dr(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];gu=l,ch(l,e)}ah(e)}for(e=e.child;e!==null;){switch(u=e,u.tag){case 0:case 11:case 15:nl(8,u,u.return),Dr(u);break;case 22:t=u.stateNode,t._visibility&2&&(t._visibility&=-3,Dr(u));break;default:Dr(u)}e=e.sibling}}function ch(e,u){for(;gu!==null;){var t=gu;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:Ni(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,gu=l;else e:for(t=e;gu!==null;){l=gu;var i=l.sibling,c=l.return;if($1(l),l===t){gu=null;break e}if(i!==null){i.return=c,gu=i;break e}gu=c}}}var z3={getCacheForType:function(e){var u=Su(iu),t=u.data.get(e);return t===void 0&&(t=e(),u.data.set(e,t)),t},cacheSignal:function(){return Su(iu).controller.signal}},j3=typeof WeakMap=="function"?WeakMap:Map,Ue=0,Ve=null,Te=null,Ce=0,He=0,ct=null,al=!1,wa=!1,Ko=!1,Sn=0,eu=0,il=0,Kl=0,Cr=0,rt=0,La=0,Xi=null,Wu=null,$o=!1,Nr=0,rh=0,kr=1/0,Or=null,cl=null,We=0,wt=null,$l=null,Wt=0,Jo=0,Wo=null,sh=null,Ua=null,Fa=null,Ba=null,Qi=0,zr=null;function st(){return(Ue&2)!==0&&Ce!==0?Ce&-Ce:le.T!==null?r0():ri()}function oh(){if(rt===0)if((Ce&536870912)===0||Se){var e=Mn;Mn<<=1,(Mn&3932160)===0&&(Mn=262144),rt=e}else rt=536870912;return e=Au.current,e!==null&&(e.flags|=32),rt}function Ha(e,u){if(u!=null){var t=e.stateNode,l=t.ref;l===null&&(l=t.ref=Vh(hn(e.memoizedProps,t))),Fa===null&&(Fa=[]),Fa.push(u.bind(null,l))}}function Pu(e,u,t){(e===Ve&&(He===2||He===9)||e.cancelPendingCommit!==null)&&(qa(e,0),rl(e,Ce,rt,!1)),Nl(e,t),((Ue&2)===0||e!==Ve)&&(e===Ve&&((Ue&2)===0&&(Kl|=t),eu===4&&rl(e,Ce,rt,!1)),Pt(e))}function fh(e,u,t){if((Ue&6)!==0)throw Error(r(327));var l=!t&&(u&127)===0&&(u&e.expiredLanes)===0||wn(e,u),i=l?w3(e,u):e0(e,u,!0),c=l;do{if(i===0){wa&&!l&&rl(e,u,0,!1);break}else{if(t=e.current.alternate,c&&!M3(t)){i=e0(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=Xi;var E=g.current.memoizedState.isDehydrated;if(E&&(qa(g,d).flags|=256),d=e0(g,d,!1),d!==2&&d!==6){if(Ko&&!E){g.errorRecoveryDisabledLanes|=c,Kl|=c,i=4;break e}c=Wu,Wu=i,c!==null&&(Wu===null?Wu=c:Wu.push.apply(Wu,c))}i=d}if(c=!1,i!==2)continue}}if(i===1){qa(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,rt,!al);break e;case 2:Wu=null;break;case 3:case 5:break;default:throw Error(r(329))}if((u&62914560)===u&&(i=Nr+300-Mu(),10<i)){if(rl(l,u,rt,!al),Rn(l,0,!0)!==0)break e;Wt=u,l.timeoutHandle=x0(dh.bind(null,l,t,Wu,Or,$o,u,rt,Kl,La,al,c,"Throttled",-0,0),i);break e}dh(l,t,Wu,Or,$o,u,rt,Kl,La,al,c,null,-0,0)}}break}while(!0);Pt(e)}function dh(e,u,t,l,i,c,d,g,E,O,M,L,N,j){e.timeoutHandle=-1;var $=u.subtreeFlags,ne=(c&335544064)===c;if(L=null,(ne||$&8192||($&16785408)===16785408)&&(L={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Fe},it=null,lh(u,c,L),ne&&($=L,ne=e.containerInfo,ne=(ne.nodeType===9?ne:ne.ownerDocument).__reactViewTransition,ne!=null&&($.count++,$.waitingForViewTransition=!0,$=uc.bind($),ne.finished.then($,$))),$=(c&62914560)===c?Nr-Mu():(c&4194048)===c?rh-Mu():0,$=Ub(L,$),$!==null)){Wt=c,e.cancelPendingCommit=$(vh.bind(null,e,u,c,t,l,i,d,g,E,O,M,L,null,N,j)),rl(e,c,d,!O);return}vh(e,u,c,t,l,i,d,g,E,O,M,L)}function M3(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(!lt(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=ra(e,u),u&=~Cr,u&=~Kl,e.suspendedLanes|=u,e.pingedLanes&=~u,l&&(e.warmLanes|=u),l=e.expirationTimes;for(var i=u;0<i;){var c=31-mu(i),d=1<<c;l[c]=-1,i&=~d}t!==0&&rn(e,t,u)}function jr(){return(Ue&6)===0?(Ii(0),!1):!0}function Po(){if(Te!==null){if(He===0)var e=Te.return;else e=Te,gn=Ul=null,io(e),Ca=null,zi=0,e=Te;for(;e!==null;)w1(e.alternate,e),e=e.return;Te=null}}function qa(e,u){var t=e.timeoutHandle;return t!==-1&&(e.timeoutHandle=-1,nb(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),Wt=0,Po(),Ve=e,Te=t=pn(e.current,null),Ce=u,He=0,ct=null,al=!1,wa=wn(e,u),Ko=!1,La=rt=Cr=Kl=il=eu=0,Wu=Xi=null,$o=!1,Sn=ra(e,u),Hc(),t}function hh(e,u){xe=null,le.H=fr,u===Da||u===Jc?(u=vd(),He=3):u===Qs?(u=vd(),He=4):He=u===Eo?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,ct=u,Te===null&&(eu=1,dr(e,yt(u,e.current)))}function mh(){var e=Au.current;return e===null?!0:(Ce&4194048)===Ce?Uu===null:(Ce&62914560)===Ce||(Ce&536870912)!==0?e===Uu:!1}function ph(){var e=le.H;return le.H=fr,e===null?fr:e}function bh(){var e=le.A;return le.A=z3,e}function Mr(){eu=4,al||(Ce&4194048)!==Ce&&Au.current!==null||(wa=!0),(il&134217727)===0&&(Kl&134217727)===0||Ve===null||rl(Ve,Ce,rt,!1)}function e0(e,u,t){var l=Ue;Ue|=2;var i=ph(),c=bh();(Ve!==e||Ce!==u)&&(Or=null,qa(e,u)),u=!1;var d=eu;e:do try{if(He!==0&&Te!==null){var g=Te,E=ct;switch(He){case 8:Po(),d=6;break e;case 3:case 2:case 9:case 6:Au.current===null&&(u=!0);var O=He;if(He=0,ct=null,Ga(e,g,E,O),t&&wa){d=0;break e}break;default:O=He,He=0,ct=null,Ga(e,g,E,O)}}R3(),d=eu;break}catch(M){hh(e,M)}while(!0);return u&&e.shellSuspendCounter++,gn=Ul=null,Ue=l,le.H=i,le.A=c,Te===null&&(Ve=null,Ce=0,Hc()),d}function R3(){for(;Te!==null;)gh(Te)}function w3(e,u){var t=Ue;Ue|=2;var l=ph(),i=bh();Ve!==e||Ce!==u?(Or=null,kr=Mu()+500,qa(e,u)):wa=wn(e,u);e:do try{if(He!==0&&Te!==null){u=Te;var c=ct;u:switch(He){case 1:He=0,ct=null,Ga(e,u,c,1);break;case 2:case 9:if(yd(c)){He=0,ct=null,yh(u);break}u=function(){He!==2&&He!==9||Ve!==e||(He=7),Pt(e)},c.then(u,u);break e;case 3:He=7;break e;case 4:He=5;break e;case 7:yd(c)?(He=0,ct=null,yh(u)):(He=0,ct=null,Ga(e,u,c,7));break;case 5:var d=null;switch(Te.tag){case 26:d=Te.memoizedState;case 5:case 27:var g=Te;if(d?s2(d):g.stateNode.complete){He=0,ct=null;var E=g.sibling;if(E!==null)Te=E;else{var O=g.return;O!==null?(Te=O,Rr(O)):Te=null}break u}}He=0,ct=null,Ga(e,u,c,5);break;case 6:He=0,ct=null,Ga(e,u,c,6);break;case 8:Po(),eu=6;break e;default:throw Error(r(462))}}L3();break}catch(M){hh(e,M)}while(!0);return gn=Ul=null,le.H=l,le.A=i,Ue=t,Te!==null?0:(Ve=null,Ce=0,Hc(),eu)}function L3(){for(;Te!==null&&!na();)gh(Te)}function gh(e){var u=M1(e.alternate,e,Sn);e.memoizedProps=e.pendingProps,u===null?Rr(e):Te=u}function yh(e){var u=e,t=u.alternate;switch(u.tag){case 15:case 0:u=D1(t,u,u.pendingProps,u.type,void 0,Ce);break;case 11:u=D1(t,u,u.pendingProps,u.type.render,u.ref,Ce);break;case 5:io(u);var l=u;l===pu&&(Se?(Xc(l),l.tag===5&&l.stateNode!=null&&(Ze=l.stateNode)):(Xc(l),Se=!0));default:w1(t,u),u=Te=cd(u,Sn),u=M1(t,u,Sn)}e.memoizedProps=e.pendingProps,u===null?Rr(e):Te=u}function Ga(e,u,t,l){gn=Ul=null,io(u),Ca=null,zi=0;var i=u.return;try{if(S3(e,i,u,t,Ce)){eu=1,dr(e,yt(t,e.current)),Te=null;return}}catch(c){if(i!==null)throw Te=i,c;eu=1,dr(e,yt(t,e.current)),Te=null;return}u.flags&32768?(Se||l===1?e=!0:wa||(Ce&536870912)!==0?e=!1:(al=e=!0,(l===2||l===9||l===3||l===6)&&(l=Au.current,l!==null&&l.tag===13&&(l.flags|=16384))),xh(u,e)):Rr(u)}function Rr(e){var u=e;do{if((u.flags&32768)!==0){xh(u,al);return}e=u.return;var t=C3(u.alternate,u,Sn);if(t!==null){Te=t;return}if(u=u.sibling,u!==null){Te=u;return}Te=u=e}while(u!==null);eu===0&&(eu=5)}function xh(e,u){do{var t=N3(e.alternate,e);if(t!==null){t.flags&=32767,Te=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!u&&(e=e.sibling,e!==null)){Te=e;return}Te=e=t}while(e!==null);eu=6,Te=null}function vh(e,u,t,l,i,c,d,g,E,O,M,L){e.cancelPendingCommit=null;do wr();while(We!==0);if((Ue&6)!==0)throw Error(r(327));if(u!==null){if(u===e.current)throw Error(r(177));e===Ve&&(Te=Ve=null,Ce=0),$l=u,wt=e,Wt=t,Wo=i,sh=l,U3(e,u,t,d,g,E,L)}}function U3(e,u,t,l,i,c,d){var g=u.lanes|u.childLanes;if(Jo=g,g|=Rs,Je(e,t,g,l,i,c),Fa=null,(t&335544064)===t?(Ba=f3(e),l=10262):(Ba=null,l=10256),(u.subtreeFlags&l)!==0||(u.flags&l)!==0?(e.callbackNode=null,e.callbackPriority=0,Y3(pt,function(){return l0(),null})):(e.callbackNode=null,e.callbackPriority=0),vr=!1,l=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||l){l=le.T,le.T=null,i=pe.p,pe.p=2,c=Ue,Ue|=4;try{k3(e,u,t)}finally{Ue=c,pe.p=i,le.T=l}}We=1,vr?Ua=sb(d,e.containerInfo,Ba,u0,t0,B3,n0,l0,F3):(u0(),t0(),n0())}function F3(e){if(We!==0){var u=wt.onRecoverableError;u(e,{componentStack:null})}}function B3(){We===3&&(We=0,th($l,wt),We=4)}function u0(){if(We===1){We=0;var e=wt,u=$l,t=Wt,l=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||l){l=le.T,le.T=null;var i=pe.p;pe.p=2;var c=Ue;Ue|=4;try{Yi=Sr=!1,eh(u,e,t),t=b0;var d=Jf(e.containerInfo),g=t.focusedElem,E=t.selectionRange;if(d!==g&&g&&g.ownerDocument&&$f(g.ownerDocument.documentElement,g)){if(E!==null&&ks(g)){var O=E.start,M=E.end;if(M===void 0&&(M=O),"selectionStart"in g)g.selectionStart=O,g.selectionEnd=Math.min(M,g.value.length);else{var L=g.ownerDocument||document,N=L&&L.defaultView||window;if(N.getSelection){var j=N.getSelection(),$=g.textContent.length,ne=Math.min(E.start,$),ve=E.end===void 0?ne:Math.min(E.end,$);!j.extend&&ne>ve&&(d=ve,ve=ne,ne=d);var k=Kf(g,ne),S=Kf(g,ve);if(k&&S&&(j.rangeCount!==1||j.anchorNode!==k.node||j.anchorOffset!==k.offset||j.focusNode!==S.node||j.focusOffset!==S.offset)){var z=L.createRange();z.setStart(k.node,k.offset),j.removeAllRanges(),ne>ve?(j.addRange(z),j.extend(S.node,S.offset)):(z.setEnd(S.node,S.offset),j.addRange(z))}}}}for(L=[],j=g;j=j.parentNode;)j.nodeType===1&&L.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<L.length;g++){var w=L[g];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}$a=!!p0,b0=p0=null}finally{Ue=c,pe.p=i,le.T=l}}e.current=u,We=2}}function t0(){if(We===2){We=0;var e=wt,u=$l,t=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||t){t=le.T,le.T=null;var l=pe.p;pe.p=2;var i=Ue;Ue|=4;try{I1(e,u.alternate,u)}finally{Ue=i,pe.p=l,le.T=t}}We=3}}function n0(){if(We===4||We===3){We=0;var e=Ua;Ua=null,Ac();var u=wt,t=$l,l=Wt,i=sh,c=(l&335544064)===l?10262:10256;if((t.subtreeFlags&c)!==0||(t.flags&c)!==0?We=5:(We=0,$l=wt=null,_h(u,u.pendingLanes)),c=u.pendingLanes,c===0&&(cl=null),sa(l),t=t.stateNode,Ru&&typeof Ru.onCommitFiberRoot=="function")try{Ru.onCommitFiberRoot(On,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=le.T,c=pe.p,pe.p=2,le.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{le.T=t,pe.p=c}}if(i=Fa,d=Ba,Ba=null,i!==null&&(Fa=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);(Wt&3)!==0&&wr(),Pt(u),c=u.pendingLanes,(l&261930)!==0&&(c&42)!==0?u===zr?Qi++:(Qi=0,zr=u):(Qi=0,zr=null),Ii(0)}}function _h(e,u){(e.pooledCacheLanes&=u)===0&&(u=e.pooledCache,u!=null&&(e.pooledCache=null,Ni(u)))}function wr(){return Ua!==null&&(Ua.skipTransition(),Ua=null),u0(),t0(),n0(),l0()}function l0(){if(We!==5)return!1;var e=wt,u=Jo;Jo=0;var t=sa(Wt),l=le.T,i=pe.p;try{pe.p=32>t?32:t,le.T=null,t=Wo,Wo=null;var c=wt,d=Wt;if(We=0,$l=wt=null,Wt=0,(Ue&6)!==0)throw Error(r(331));var g=Ue;if(Ue|=4,ih(c.current),nh(c,c.current,d,t),Ue=g,Ii(0,!1),Ru&&typeof Ru.onPostCommitFiberRoot=="function")try{Ru.onPostCommitFiberRoot(On,c)}catch{}return!0}finally{pe.p=i,le.T=l,_h(e,u)}}function Eh(e,u,t){u=yt(t,u),u=_o(e.stateNode,u,2),e=Pn(e,u,2),e!==null&&(Nl(e,2),Pt(e))}function qe(e,u,t){if(e.tag===3)Eh(e,e,t);else for(;u!==null;){if(u.tag===3){Eh(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=yt(t,e),t=y1(2),l=Pn(u,t,2),l!==null&&(x1(t,l,u,e),Nl(l,2),Pt(l));break}}u=u.return}}function a0(e,u,t){var l=e.pingCache;if(l===null){l=e.pingCache=new j3;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)||(Ko=!0,i.add(t),e=H3.bind(null,e,u,t),u.then(e,e))}function H3(e,u,t){var l=e.pingCache;l!==null&&l.delete(u),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,Ve===e&&(Ce&t)===t&&((eu===4||eu===3&&(Ce&62914560)===Ce&&300>Mu()-Nr)&&(Ue&2)===0?qa(e,0):Cr|=t,La===Ce&&(La=0)),Pt(e)}function Sh(e,u){u===0&&(u=Ln()),e=Rl(e,u),e!==null&&(Nl(e,u),Pt(e))}function q3(e){var u=e.memoizedState,t=0;u!==null&&(t=u.retryLane),Sh(e,t)}function G3(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),Sh(e,t)}function Y3(e,u){return Ft(e,u)}var Ya=null,Va=null,i0=!1,Lr=!1,c0=!1,sl=0;function Pt(e){e!==Va&&e.next===null&&(Va===null?Ya=Va=e:Va=Va.next=e),Lr=!0,i0||(i0=!0,Z3())}function Ii(e,u){if(!c0&&Lr){c0=!0;do for(var t=!1,l=Ya;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-mu(42|e)+1)-1,c&=i&~(d&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(t=!0,Ch(l,c))}else c=Ce,c=Rn(l,l===Ve?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||wn(l,c)||(t=!0,Ch(l,c));l=l.next}while(t);c0=!1}}function V3(){Ah()}function Ah(){Lr=i0=!1;var e=0;sl!==0&&tb()&&(e=sl);for(var u=Mu(),t=null,l=Ya;l!==null;){var i=l.next,c=Th(l,u);c===0?(l.next=null,t===null?Ya=i:t.next=i,i===null&&(Va=t)):(t=l,(e!==0||(c&3)!==0)&&(Lr=!0)),l=i}We!==0&&We!==5||Ii(e),sl!==0&&(sl=0)}function Th(e,u){for(var t=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var d=31-mu(c),g=1<<d,E=i[d];E===-1?((g&t)===0||(g&l)!==0)&&(i[d]=gs(g,u)):E<=u&&(e.expiredLanes|=g),c&=~g}if(u=Ve,t=Ce,t=Rn(e,e===u?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,t===0||e===u&&(He===2||He===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),sa(t)){case 2:case 8:t=aa;break;case 32:t=pt;break;case 268435456:t=Bt;break;default:t=pt}return l=Dh.bind(null,e),t=Ft(t,l),e.callbackPriority=u,e.callbackNode=t,u}return l!==null&&l!==null&&Nn(l),e.callbackPriority=2,e.callbackNode=null,2}function Dh(e,u){if(We!==0&&We!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(wr()&&e.callbackNode!==t)return null;var l=Ce;return l=Rn(e,e===Ve?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(fh(e,l,u),Th(e,Mu()),e.callbackNode!=null&&e.callbackNode===t?Dh.bind(null,e):null)}function Ch(e,u){if(wr())return null;fh(e,u,!0)}function Z3(){lb(function(){(Ue&6)!==0?Ft(la,V3):Ah()})}function r0(){if(sl===0){var e=Hl;e===0&&(e=jn,jn<<=1,(jn&261888)===0&&(jn=256)),sl=e}return sl}function Nh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ye(e)}function X3(e,u,t,l,i){if(u==="submit"&&t&&t.stateNode===i){var c=Nh((i[wu]||null).action),d=l.submitter;d&&(u=(u=d[wu]||null)?Nh(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);bo(t,{pending:!0,data:E,method:i.method,action:c},null,E)}}else typeof c=="function"&&(g.preventDefault(),E=new FormData(i,d),bo(t,{pending:!0,data:E,method:i.method,action:c},c,E))},currentTarget:i}]})}}for(var s0=0;s0<Ms.length;s0++){var o0=Ms[s0],Q3=o0.toLowerCase(),I3=o0[0].toUpperCase()+o0.slice(1);zt(Q3,"on"+I3)}zt(ed,"onAnimationEnd"),zt(ud,"onAnimationIteration"),zt(td,"onAnimationStart"),zt("dblclick","onDoubleClick"),zt("focusin","onFocus"),zt("focusout","onBlur"),zt(n3,"onTransitionRun"),zt(l3,"onTransitionStart"),zt(a3,"onTransitionCancel"),zt(nd,"onTransitionEnd"),Gt("onMouseEnter",["mouseout","mouseover"]),Gt("onMouseLeave",["mouseout","mouseover"]),Gt("onPointerEnter",["pointerout","pointerover"]),Gt("onPointerLeave",["pointerout","pointerover"]),qt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qt("onBeforeInput",["compositionend","keypress","textInput","paste"]),qt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ki="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(" "),K3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ki));function kh(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(M){Bc(M)}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(M){Bc(M)}i.currentTarget=null,c=E}}}}function De(e,u){var t=u[si];t===void 0&&(t=u[si]=new Set);var l=e+"__bubble";t.has(l)||(Oh(u,e,2,!1),t.add(l))}function f0(e,u,t){var l=0;u&&(l|=4),Oh(t,e,l,u)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function d0(e){if(!e[Ur]){e[Ur]=!0,di.forEach(function(t){t!=="selectionchange"&&(K3.has(t)||f0(t,!1,e),f0(t,!0,e))});var u=e.nodeType===9?e:e.ownerDocument;u===null||u[Ur]||(u[Ur]=!0,f0("selectionchange",!1,u))}}function Oh(e,u,t,l){switch(x2(u)){case 2:var i=qb;break;case 8:i=Gb;break;default:i=j0}t=i.bind(null,u,t,e),i=void 0,!xs||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 h0(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}Of(function(){var O=c,M=du(t),L=[];e:{var N=ld.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=Mp;break;case"focusin":$="focus",j=Ss;break;case"focusout":$="blur",j=Ss;break;case"beforeblur":case"afterblur":j=Ss;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=Mf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=_p;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Fp;break;case ed:case ud:case td:j=Ap;break;case nd:j=Hp;break;case"scroll":case"scrollend":j=xp;break;case"wheel":j=Gp;break;case"copy":case"cut":case"paste":j=Dp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=wf;break;case"submit":j=Lp;break;case"toggle":case"beforetoggle":j=Vp}var ne=(u&4)!==0,ve=!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=gi(S,k),w!=null&&ne.push($i(S,w,z))),ve)break;S=S.return}0<ne.length&&(N=new j(N,$,null,t,M),L.push({event:N,listeners:ne}))}}if((u&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",j&&t!==Iu&&($=t.relatedTarget||t.fromElement)&&(on($)||$[Fu]))break e;(N||j)&&($=M.window===M?M:(j=M.ownerDocument)?j.defaultView||j.parentWindow:window,N?(j=t.relatedTarget||t.toElement,N=O,j=j?on(j):null,j!==null&&(ve=f(j),ne=j.tag,j!==ve||ne!==5&&ne!==27&&ne!==6)&&(j=null)):(N=null,j=O),N!==j&&(ne=Mf,w="onMouseLeave",k="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(ne=wf,w="onPointerLeave",k="onPointerEnter",S="pointer"),ve=N==null?$:Ol(N),z=j==null?$:Ol(j),$=new ne(w,S+"leave",N,t,M),$.target=ve,$.relatedTarget=z,w=null,on(M)===O&&(ne=new ne(k,S+"enter",j,t,M),ne.target=z,ne.relatedTarget=ve,w=ne),ve=w,ne=N&&j?ae(N,j,$3):null,N!==null&&zh(L,$,N,ne,!1),j!==null&&ve!==null&&zh(L,ve,j,ne,!0)))}e:{if(N=O?Ol(O):window,j=N.nodeName&&N.nodeName.toLowerCase(),j==="select"||j==="input"&&N.type==="file")var te=Yf;else if(qf(N))if(Vf)te=e3;else{te=Wp;var Ne=Jp}else j=N.nodeName,!j||j.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?O&&B(O.elementType)&&(te=Yf):te=Pp;if(te&&(te=te(e,O))){Gf(L,te,t,M);break e}Ne&&Ne(e,N,O)}switch(Ne=O?Ol(O):window,e){case"focusin":(qf(Ne)||Ne.contentEditable==="true")&&(ya=Ne,Os=O,Ti=null);break;case"focusout":Ti=Os=ya=null;break;case"mousedown":zs=!0;break;case"contextmenu":case"mouseup":case"dragend":zs=!1,Wf(L,t,M);break;case"selectionchange":if(t3)break;case"keydown":case"keyup":Wf(L,t,M)}var se;if(Ts)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else ga?Bf(e,t)&&(me="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(me="onCompositionStart");me&&(Lf&&t.locale!=="ko"&&(ga||me!=="onCompositionStart"?me==="onCompositionEnd"&&ga&&(se=zf()):(Vn=M,vs="value"in Vn?Vn.value:Vn.textContent,ga=!0)),Ne=Fr(O,me),0<Ne.length&&(me=new Rf(me,e,null,t,M),L.push({event:me,listeners:Ne}),se?me.data=se:(se=Hf(t),se!==null&&(me.data=se)))),(se=Xp?Qp(e,t):Ip(e,t))&&(me=Fr(O,"onBeforeInput"),0<me.length&&(Ne=new Rf("onBeforeInput","beforeinput",null,t,M),L.push({event:Ne,listeners:me}),Ne.data=se)),X3(L,e,O,t,M)}kh(L,u)})}function $i(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=gi(e,t),i!=null&&l.unshift($i(e,i,c)),i=gi(e,u),i!=null&&l.push($i(e,i,c))),e.tag===3)return l;e=e.return}return[]}function $3(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function zh(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=gi(t,c),O!=null&&d.unshift($i(t,O,E))):i||(O=gi(t,c),O!=null&&d.push($i(t,O,E)))),t=t.return}d.length!==0&&e.push({event:u,listeners:d})}var J3=/\r\n?/g,W3=/\u0000|\uFFFD/g;function jh(e){return(typeof e=="string"?e:""+e).replace(J3,`
|
|
9
|
-
`).replace(W3,"")}function Mh(e,u){return u=jh(u),jh(e)===u}function Ge(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":ha(e,"class",l);break;case"tabIndex":ha(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ha(e,t,l);break;case"style":H(e,l,c);return;case"data":if(u!=="object"){ha(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=ye(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"&&Ge(e,u,"name",i.name,i,null),Ge(e,u,"formEncType",i.formEncType,i,null),Ge(e,u,"formMethod",i.formMethod,i,null),Ge(e,u,"formTarget",i.formTarget,i,null)):(Ge(e,u,"encType",i.encType,i,null),Ge(e,u,"method",i.method,i,null),Ge(e,u,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=ye(l),e.setAttribute(t,l);break;case"onClick":l!=null&&(e.onclick=Fe);return;case"onScroll":l!=null&&De("scroll",e);return;case"onScrollEnd":l!=null&&De("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=ye(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":De("beforetoggle",e),De("toggle",e),Lu(e,"popover",l);break;case"xlinkActuate":Qu(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Qu(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Qu(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Qu(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Qu(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Qu(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Qu(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Qu(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Qu(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Lu(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=ie.get(t)||t,Lu(e,t,l);else return}_e=!0}function m0(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&&De("scroll",e);return;case"onScrollEnd":l!=null&&De("scrollend",e);return;case"onClick":l!=null&&(e.onclick=Fe);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[wu]||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}_e=!0,t in e?e[t]=l:l===!0?e.setAttribute(t,""):Lu(e,t,l)}return}_e=!0}function Cu(e,u,t){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":De("error",e),De("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:Ge(e,u,c,d,t,null)}}i&&Ge(e,u,"srcSet",t.srcSet,t,null),l&&Ge(e,u,"src",t.src,t,null);return;case"input":De("invalid",e);var g=c=d=i=null,E=null,O=null;for(l in t)if(t.hasOwnProperty(l)){var M=t[l];if(M!=null)switch(l){case"name":i=M;break;case"type":d=M;break;case"checked":E=M;break;case"defaultChecked":O=M;break;case"value":c=M;break;case"defaultValue":g=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(r(137,u));break;default:Ge(e,u,l,M,t,null)}}jc(e,c,g,E,O,d,i,!1);return;case"select":De("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:Ge(e,u,i,g,t,null)}u=c,t=d,e.multiple=!!l,u!=null?Yt(e,!!l,u,!1):t!=null&&Yt(e,!!l,t,!0);return;case"textarea":De("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:Ge(e,u,d,g,t,null)}pa(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":Ge(e,u,E,l,t,null));return;case"dialog":De("beforetoggle",e),De("toggle",e),De("cancel",e),De("close",e);break;case"iframe":case"object":De("load",e);break;case"video":case"audio":for(l=0;l<Ki.length;l++)De(Ki[l],e);break;case"image":De("error",e),De("load",e);break;case"details":De("toggle",e);break;case"embed":case"source":case"link":De("error",e),De("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:Ge(e,u,O,l,t,null)}return;default:if(B(u)){for(M in t)t.hasOwnProperty(M)&&(l=t[M],l!==void 0&&m0(e,u,M,l,t,void 0));return}}for(g in t)t.hasOwnProperty(g)&&(l=t[g],l!=null&&Ge(e,u,g,l,t,null))}var P3={};function eb(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,M=null;for(j in t){var L=t[j];if(t.hasOwnProperty(j)&&L!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":E=L;default:l.hasOwnProperty(j)||Ge(e,u,j,null,l,L)}}for(var N in l){var j=l[N];if(L=t[N],l.hasOwnProperty(N)&&(j!=null||L!=null))switch(N){case"type":j!==L&&(_e=!0),c=j;break;case"name":j!==L&&(_e=!0),i=j;break;case"checked":j!==L&&(_e=!0),O=j;break;case"defaultChecked":j!==L&&(_e=!0),M=j;break;case"value":j!==L&&(_e=!0),d=j;break;case"defaultValue":j!==L&&(_e=!0),g=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,u));break;default:j!==L&&Ge(e,u,N,j,l,L)}}bi(e,d,g,E,O,M,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)||Ge(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&&(_e=!0),N=c;break;case"defaultValue":c!==E&&(_e=!0),g=c;break;case"multiple":c!==E&&(_e=!0),d=c;default:c!==E&&Ge(e,u,i,c,l,E)}u=g,t=d,l=j,N!=null?Yt(e,!!t,N,!1):!!l!=!!t&&(u!=null?Yt(e,!!t,u,!0):Yt(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:Ge(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&&(_e=!0),N=i;break;case"defaultValue":i!==c&&(_e=!0),j=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==c&&Ge(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:Ge(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&&(_e=!0),e.selected=N&&typeof N!="function"&&typeof N!="symbol"):Ge(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)&&Ge(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:Ge(e,u,O,N,l,j)}return;default:if(B(u)){for(var ve in t)N=t[ve],t.hasOwnProperty(ve)&&N!==void 0&&!l.hasOwnProperty(ve)&&m0(e,u,ve,void 0,l,N);for(M in l)N=l[M],j=t[M],!l.hasOwnProperty(M)||N===j||N===void 0&&j===void 0||m0(e,u,M,N,l,j);return}}for(var k in t)N=t[k],t.hasOwnProperty(k)&&N!=null&&!l.hasOwnProperty(k)&&Ge(e,u,k,null,l,N);for(L in l)N=l[L],j=t[L],!l.hasOwnProperty(L)||N===j||N==null&&j==null||Ge(e,u,L,N,l,j)}function Rh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ub(){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&&Rh(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 M=E.transferSize,L=E.initiatorType;M&&Rh(L)&&(E=E.responseEnd,d+=M*(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 p0=null,b0=null;function Ji(e){return e.nodeType===9?e:e.ownerDocument}function wh(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 Lh(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 Uh(e,u,t,l){return t=Ji(t).createElement(e),t[fu]=l,t[wu]=u,Cu(t,e,u),au(t),t}function g0(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 y0=null;function tb(){var e=window.event;return e&&e.type==="popstate"?e===y0?!1:(y0=e,!0):(y0=null,!1)}var x0=typeof setTimeout=="function"?setTimeout:void 0,nb=typeof clearTimeout=="function"?clearTimeout:void 0,Fh=typeof Promise=="function"?Promise:void 0,Bh=typeof requestAnimationFrame=="function"?requestAnimationFrame:x0,lb=typeof queueMicrotask=="function"?queueMicrotask:typeof Fh<"u"?function(e){return Fh.resolve(null).then(e).catch(ab)}:x0;function ab(e){setTimeout(function(){throw e})}function ol(e){return e==="head"}function Hh(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),Ja(u);return}l--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")l++;else if(t==="html")C0(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,C0(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"&&C0(e.ownerDocument.body);t=i}while(t);Ja(u)}function qh(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 Gh(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 Yh(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 ib(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 v0(e){var u=e.getBoundingClientRect(),t=getComputedStyle(e);return ib(u,t,e)}function cb(e){return e.documentElement.clientHeight}function rb(e){this.addEventListener("load",e),this.addEventListener("error",e)}function sb(e,u,t,l,i,c,d,g,E){var O=u.nodeType===9?u:u.ownerDocument;try{var M=O.startViewTransition({update:function(){var N=O.defaultView,j=N.navigation&&N.navigation.transition,$=O.fonts.status;l();var ne=[];if($==="loaded"&&(cb(O),O.fonts.status==="loading"&&ne.push(O.fonts.ready)),$=ne.length,e!==null)for(var ve=e.suspenseyImages,k=0,S=0;S<ve.length;S++){var z=ve[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+=o2(z),k>qr){ne.length=$;break}z=new Promise(rb.bind(z)),ne.push(z)}}}if(0<ne.length)return N=Promise.race([Promise.all(ne),new Promise(function(te){return setTimeout(te,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=M;var L=[];return M.ready.then(function(){for(var N=O.documentElement.getAnimations({subtree:!0}),j=0;j<N.length;j++){var $=N[j],ne=$.effect,ve=ne.pseudoElement;if(ve!=null&&ve.startsWith("::view-transition")){L.push($),$=ne.getKeyframes();for(var k=ve=void 0,S=!0,z=0;z<$.length;z++){var w=$[z],te=w.width;if(ve===void 0)ve=te;else if(ve!==te){S=!1;break}if(te=w.height,k===void 0)k=te;else if(k!==te){S=!1;break}delete w.width,delete w.height,w.transform==="none"&&delete w.transform}S&&ve!==void 0&&k!==void 0&&(ne.setKeyframes($),S=getComputedStyle(ne.target,ne.pseudoElement),S.width!==ve||S.height!==k)&&(S=$[0],S.width=ve,S.height=k,S=$[$.length-1],S.width=ve,S.height=k,ne.setKeyframes($))}}d()},function(N){O.__reactViewTransition===M&&(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()}}),M.finished.finally(function(){for(var N=0;N<L.length;N++)L[N].cancel();O.__reactViewTransition===M&&(O.__reactViewTransition=null),g()}),M}catch{return l(),i(),d(),null}}function Jl(e,u){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+u+")"}Jl.prototype.animate=function(e,u){return u=typeof u=="number"?{duration:u}:P({},u),u.pseudoElement=this._selector,this._scope.animate(e,u)},Jl.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},Jl.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Vh(e){return{name:e,group:new Jl("group",e),imagePair:new Jl("image-pair",e),old:new Jl("old",e),new:new Jl("new",e)}}function ot(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}ot.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(Xh(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=Za(t),c.push({type:e,listener:u,optionsOrUseCapture:t,attachedListener:g,cleanup:i}),y(this._fragmentFiber.child,!1,ob,e,g,l)}this._eventListeners=c}};function ob(e,u,t,l){return Z(e).addEventListener(u,t,l),!1}ot.prototype.removeEventListener=function(e,u,t){var l=this._eventListeners;if(l!==null&&(u=Xh(l,e,u,t),u!==-1)){var i=l[u];t=i.attachedListener;var c=i.cleanup;i=Za(i.optionsOrUseCapture),y(this._fragmentFiber.child,!1,fb,e,t,i),l.splice(u,1),c!==null&&c()}};function fb(e,u,t,l){return Z(e).removeEventListener(u,t,l),!1}function Za(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Zh(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Xh(e,u,t,l){if(e.length===0)return-1;l=Zh(l);for(var i=0;i<e.length;i++){var c=e[i];if(c.type===u&&c.listener===t&&Zh(c.optionsOrUseCapture)===l)return i}return-1}ot.prototype.dispatchEvent=function(e){var u=C(this._fragmentFiber);if(u===null)return!0;u=Z(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,Za(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,Za(c.optionsOrUseCapture));return u.removeChild(l),e}return u.dispatchEvent(e)},ot.prototype.focus=function(e){y(this._fragmentFiber.child,!0,Qh,e,void 0,void 0)};function Qh(e,u){return e.tag===6?!1:(e=Z(e),Sb(e,u))}ot.prototype.focusLast=function(e){var u=[];y(this._fragmentFiber.child,!0,_0,u,void 0,void 0);for(var t=u.length-1;0<=t&&!Qh(u[t],e);t--);};function _0(e,u){return u.push(e),!1}ot.prototype.blur=function(){var e=C(this._fragmentFiber);e!==null&&(e=Z(e),e=Ji(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,db,e,void 0,void 0))};function db(e,u){return e.tag===6?!1:(e=Z(e),e===u||e.contains(u)?(u.blur(),!0):!1)}ot.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,hb,e,void 0,void 0)};function hb(e,u){return e.tag===6||(e=Z(e),u.observe(e)),!1}ot.prototype.unobserveUsing=function(e){var u=this._observers;if(u!==null&&u.has(e)){u.delete(e),y(this._fragmentFiber.child,!1,mb,e,void 0,void 0);for(var t=u=0;t<Lt.length;t++){var l=Lt[t];l.fragmentInstance===this&&l.observer===e?e.unobserve(l.instance):Lt[u++]=l}Lt.length=u}};function mb(e,u){return e.tag===6||(e=Z(e),u.unobserve(e)),!1}var Lt=[],E0=!1;function pb(e,u,t){Lt.push({fragmentInstance:e,observer:u,instance:t}),E0||(E0=!0,Ab(function(){E0=!1;var l=Lt;Lt=[];for(var i=0;i<l.length;i++){var c=l[i];c.observer.unobserve(c.instance)}}))}ot.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,bb,e,void 0,void 0),e};function bb(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=Z(e),u.push.apply(u,e.getClientRects());return!1}ot.prototype.getRootNode=function(e){var u=C(this._fragmentFiber);return u===null?this:Z(u).getRootNode(e)},ot.prototype.compareDocumentPosition=function(e){var u=C(this._fragmentFiber);if(u===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var t=[];y(this._fragmentFiber.child,!1,_0,t,void 0,void 0);var l=Z(u);if(t.length===0){if(t=l,R(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=Z(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=Z(t[0]),i=Z(t[t.length-1]);var c=R(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||gb(u,this._fragmentFiber,t[0],t[t.length-1],e)?u:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function gb(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=C(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=ae(t,c,I),u===null?u=!1:(y(u,!0,ee,c,t),c=K,K=null,u=c!==null)),u):e&Node.DOCUMENT_POSITION_FOLLOWING?((u=!!c)&&!(u=c===l)&&(u=ae(l,c,I),u===null?u=!1:(y(u,!0,G,c,l),c=K,ue=K=null,u=c!==null)),u):!1}function Ih(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)}ot.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(r(566));var u=[];y(this._fragmentFiber.child,!1,_0,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]||C(this._fragmentFiber):l[0]||l[1],l===null)return;if(l.tag===6){e=Z(l),Ih(e,t);return}if(l=Z(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=Z(i),Ih(i,t)):Z(i).scrollIntoView(e),l+=t?-1:1}};function yb(e,u){return e=Z(e),Kh(e,u),!1}function Kh(e,u){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(u)}function $h(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,Za(i.optionsOrUseCapture))}e.nodeType!==3&&(t=u._observers,t!==null&&t.forEach(function(c){for(var d=0,g=0;g<Lt.length;g++){var E=Lt[g];(E.fragmentInstance!==u||E.observer!==c||E.instance!==e)&&(Lt[d++]=E)}Lt.length=d,c.observe(e)}),Kh(e,u))}function xb(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,Za(i.optionsOrUseCapture))}e.nodeType!==3&&(t=u._observers,t!==null&&t.forEach(function(c){typeof c.rootMargin=="string"?pb(u,c,e):c.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(u))}function S0(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":S0(t),Bn(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function vb(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=St(e.nextSibling),e===null)break}return null}function _b(e,u,t){if(u==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=St(e.nextSibling),e===null))return null;return e}function Jh(e,u){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!u||(e=St(e.nextSibling),e===null))return null;return e}function A0(e){return e.data==="$?"||e.data==="$~"}function T0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Eb(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 St(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 D0=null;function Wh(e){e=e.nextSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(u===0)return St(e.nextSibling);u--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||u++}e=e.nextSibling}return null}function Ph(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 Sb(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 Ab(e){Bh(function(){Bh(function(u){return e(u)})})}function e2(e,u,t){switch(u=Ji(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 u2(e,u,t){for(var l in t){var i=t[l];t.hasOwnProperty(l)&&i!=null&&Ge(e,u,l,null,P3,i)}t.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Fe&&(e.onclick=null),Bn(e)}function C0(e){for(var u=e.attributes;u.length;)e.removeAttributeNode(u[0]);Bn(e)}var At=new Map,t2=new Set;function Wi(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=pe.d;pe.d={f:Tb,r:Db,D:Cb,C:Nb,L:kb,m:Ob,X:jb,S:zb,M:Mb};function Tb(){var e=An.f(),u=jr();return e||u}function Db(e){var u=fn(e);u!==null&&u.tag===5&&u.type==="form"?l1(u):An.r(e)}var Xa=typeof document>"u"?null:document;function n2(e,u,t){var l=Xa;if(l&&typeof u=="string"&&u){var i=Hu(u);i='link[rel="'+e+'"][href="'+i+'"]',typeof t=="string"&&(i+='[crossorigin="'+t+'"]'),t2.has(i)||(t2.add(i),e={rel:e,crossOrigin:t,href:u},l.querySelector(i)===null&&(u=l.createElement("link"),Cu(u,"link",e),au(u),l.head.appendChild(u)))}}function Cb(e){An.D(e),n2("dns-prefetch",e,null)}function Nb(e,u){An.C(e,u),n2("preconnect",e,u)}function kb(e,u,t){An.L(e,u,t);var l=Xa;if(l&&e&&u){var i='link[rel="preload"][as="'+Hu(u)+'"]';u==="image"&&t&&t.imageSrcSet?(i+='[imagesrcset="'+Hu(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(i+='[imagesizes="'+Hu(t.imageSizes)+'"]')):i+='[href="'+Hu(e)+'"]';var c=i;switch(u){case"style":c=Qa(e);break;case"script":c=Ia(e)}if(!(At.has(c)||(e=P({rel:"preload",href:u==="image"&&t&&t.imageSrcSet?void 0:e,as:u},t),At.set(c,e),l.querySelector(i)!==null||u==="style"&&l.querySelector(Pi(c))||u==="script"&&l.querySelector(ec(c))))){var d=l.createElement("link");Cu(d,"link",e),u==="style"&&(d[Fn]=!0,d.onload=d.onerror=function(){Oc(d)}),au(d),l.head.appendChild(d)}}}function Ob(e,u){An.m(e,u);var t=Xa;if(t&&e){var l=u&&typeof u.as=="string"?u.as:"script",i='link[rel="modulepreload"][as="'+Hu(l)+'"][href="'+Hu(e)+'"]',c=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ia(e)}if(!At.has(c)&&(e=P({rel:"modulepreload",href:e},u),At.set(c,e),t.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(ec(c)))return}l=t.createElement("link"),Cu(l,"link",e),au(l),t.head.appendChild(l)}}}function zb(e,u,t){An.S(e,u,t);var l=Xa;if(l&&e){var i=Hn(l).hoistableStyles,c=Qa(e);u=u||"default";var d=i.get(c);if(!d){var g={loading:0,preload:null};if(d=l.querySelector(Pi(c)))g.loading=5;else{e=P({rel:"stylesheet",href:e,"data-precedence":u},t),(t=At.get(c))&&N0(e,t);var E=d=l.createElement("link");au(E),Cu(E,"link",e),E._p=new Promise(function(O,M){E.onload=O,E.onerror=M}),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 jb(e,u){An.X(e,u);var t=Xa;if(t&&e){var l=Hn(t).hoistableScripts,i=Ia(e),c=l.get(i);c||(c=t.querySelector(ec(i)),c||(e=P({src:e,async:!0},u),(u=At.get(i))&&k0(e,u),c=t.createElement("script"),au(c),Cu(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function Mb(e,u){An.M(e,u);var t=Xa;if(t&&e){var l=Hn(t).hoistableScripts,i=Ia(e),c=l.get(i);c||(c=t.querySelector(ec(i)),c||(e=P({src:e,async:!0,type:"module"},u),(u=At.get(i))&&k0(e,u),c=t.createElement("script"),au(c),Cu(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function l2(e,u,t,l){var i=(i=Xu.current)?Wi(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=Qa(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=Qa(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(Pi(e)))?c._p||(d.instance=c,d.state.loading=5):(c=At.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},At.set(e,c)),Rb(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=Ia(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 Qa(e){return'href="'+Hu(e)+'"'}function Pi(e){return'link[rel="stylesheet"]['+e+"]"}function a2(e){return P({},e,{"data-precedence":e.precedence,precedence:null})}function Rb(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),Cu(u,"link",t),au(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 Ia(e){return'[src="'+Hu(e)+'"]'}function ec(e){return"script[async]"+e}function i2(e,u,t){if(u.count++,u.instance===null)switch(u.type){case"style":var l=e.querySelector('style[data-href~="'+Hu(t.href)+'"]');if(l)return u.instance=l,au(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"),au(l),Cu(l,"style",i),Br(l,t.precedence,e),u.instance=l;case"stylesheet":i=Qa(t.href);var c=e.querySelector(Pi(i));if(c)return u.state.loading|=4,u.instance=c,au(c),c;l=a2(t),(i=At.get(i))&&N0(l,i),c=(e.ownerDocument||e).createElement("link"),au(c);var d=c;return d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),Cu(c,"link",l),u.state.loading|=4,Br(c,t.precedence,e),u.instance=c;case"script":return c=Ia(t.src),(i=e.querySelector(ec(c)))?(u.instance=i,au(i),i):(l=t,(i=At.get(c))&&(l=P({},t),k0(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),au(i),Cu(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 N0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.title==null&&(e.title=u.title)}function k0(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 c2(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[fu]||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 O0(e,u,t){e=e.ownerDocument||e,e.head.insertBefore(t,u==="title"?e.querySelector("head > title"):null)}function wb(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 r2(e,u){return e==="img"&&u.src!=null&&u.src!==""&&u.onLoad==null&&u.loading!=="lazy"}function s2(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function o2(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function f2(e,u){typeof u.decode=="function"&&(e.imgCount++,u.complete||(e.imgBytes+=o2(u),e.suspenseyImages.push(u)),e=Fb.bind(e),u.decode().then(e,e))}function Lb(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=Qa(l.href),c=u.querySelector(Pi(i));if(c){u=c._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(e.count++,e=uc.bind(e),u.then(e,e)),t.state.loading|=4,t.instance=c,au(c);return}c=u.ownerDocument||u,l=a2(l),(i=At.get(i))&&N0(l,i),c=c.createElement("link"),au(c);var d=c;d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),Cu(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=uc.bind(e),u.addEventListener("load",t),u.addEventListener("error",t))}}var qr=0;function Ub(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*ub());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 d2(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 uc(){this.count--,d2(this)}function Fb(){this.imgCount--,d2(this)}var Gr=null;function Yr(e,u){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gr=new Map,u.forEach(Bb,e),Gr=null,uc.call(e))}function Bb(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=uc.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 Ka={$$typeof:Re,Provider:null,Consumer:null,_currentValue:ht,_currentValue2:ht,_threadCount:0};function Hb(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=ii(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ii(0),this.hiddenUpdates=ii(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 h2(e,u,t,l,i,c,d,g,E,O,M,L){return e=new Hb(e,u,t,d,E,O,M,L,g),u=1,c===!0&&(u|=24),c=Ku(3,null,null,u),e.current=c,c.stateNode=e,u=Vs(),u.refCount++,e.pooledCache=u,u.refCount++,c.memoizedState={element:l,isDehydrated:t,cache:u},Is(c),e}function m2(e){return e?(e=_a,e):_a}function p2(e,u,t,l,i,c){i=m2(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&&(Pu(t,e,u),ji(t,e,u))}function b2(e,u){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<u?t:u}}function z0(e,u){b2(e,u),(e=e.alternate)&&b2(e,u)}function g2(e){if(e.tag===13||e.tag===31){var u=Rl(e,67108864);u!==null&&Pu(u,e,67108864),z0(e,67108864)}}function y2(e){if(e.tag===13||e.tag===31){var u=st();u=kl(u);var t=Rl(e,u);t!==null&&Pu(t,e,u),z0(e,u)}}var $a=!0;function qb(e,u,t,l){var i=le.T;le.T=null;var c=pe.p;try{pe.p=2,j0(e,u,t,l)}finally{pe.p=c,le.T=i}}function Gb(e,u,t,l){var i=le.T;le.T=null;var c=pe.p;try{pe.p=8,j0(e,u,t,l)}finally{pe.p=c,le.T=i}}function j0(e,u,t,l){if($a){var i=M0(l);if(i===null)h0(e,u,l,Vr,t),v2(e,l);else if(Vb(i,e,u,t,l))l.stopPropagation();else if(v2(e,l),u&4&&-1<Yb.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=Ht(c.pendingLanes);if(d!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;d;){var E=1<<31-mu(d);g.entanglements[1]|=E,d&=~E}Pt(c),(Ue&6)===0&&(kr=Mu()+500,Ii(0))}}break;case 31:case 13:g=Rl(c,2),g!==null&&Pu(g,c,2),jr(),z0(c,2)}if(c=M0(l),c===null&&h0(e,u,l,Vr,t),c===i)break;i=c}i!==null&&l.stopPropagation()}else h0(e,u,l,null,t)}}function M0(e){return e=du(e),R0(e)}var Vr=null;function R0(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=h(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 x2(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 la:return 2;case aa:return 8;case pt:case kn:return 32;case Bt:return 268435456;default:return 32}default:return 32}}var w0=!1,fl=null,dl=null,hl=null,tc=new Map,nc=new Map,ml=[],Yb="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 v2(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":tc.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":nc.delete(u.pointerId)}}function lc(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&&g2(u)),e):(e.eventSystemFlags|=l,u=e.targetContainers,i!==null&&u.indexOf(i)===-1&&u.push(i),e)}function Vb(e,u,t,l,i){switch(u){case"focusin":return fl=lc(fl,e,u,t,l,i),!0;case"dragenter":return dl=lc(dl,e,u,t,l,i),!0;case"mouseover":return hl=lc(hl,e,u,t,l,i),!0;case"pointerover":var c=i.pointerId;return tc.set(c,lc(tc.get(c)||null,e,u,t,l,i)),!0;case"gotpointercapture":return c=i.pointerId,nc.set(c,lc(nc.get(c)||null,e,u,t,l,i)),!0}return!1}function _2(e){var u=on(e.target);if(u!==null){var t=f(u);if(t!==null){if(u=t.tag,u===13){if(u=h(t),u!==null){e.blockedOn=u,kc(e.priority,function(){y2(t)});return}}else if(u===31){if(u=p(t),u!==null){e.blockedOn=u,kc(e.priority,function(){y2(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=M0(e.nativeEvent);if(t===null){t=e.nativeEvent;var l=new t.constructor(t.type,t);Iu=l,t.target.dispatchEvent(l),Iu=null}else return u=fn(t),u!==null&&g2(u),e.blockedOn=t,!1;u.shift()}return!0}function E2(e,u,t){Zr(e)&&t.delete(u)}function Zb(){w0=!1,fl!==null&&Zr(fl)&&(fl=null),dl!==null&&Zr(dl)&&(dl=null),hl!==null&&Zr(hl)&&(hl=null),tc.forEach(E2),nc.forEach(E2)}function Xr(e,u){e.blockedOn===u&&(e.blockedOn=null,w0||(w0=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Zb)))}var Qr=null;function S2(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(R0(l||t)===null)continue;break}var c=fn(t);c!==null&&(e.splice(u,3),u-=3,bo(c,{pending:!0,data:i,method:t.method,action:l},l,i))}}))}function Ja(e){function u(E){return Xr(E,e)}fl!==null&&Xr(fl,e),dl!==null&&Xr(dl,e),hl!==null&&Xr(hl,e),tc.forEach(u),nc.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);)_2(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[wu]||null;if(typeof c=="function")d||S2(t);else if(d){var g=null;if(c&&c.hasAttribute("formAction")){if(i=c,d=c[wu]||null)g=d.formAction;else if(R0(i)!==null)continue}else g=d.action;typeof g=="function"?t[l+1]=g:(t.splice(l,3),l-=3),S2(t)}}}function A2(){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 L0(e){this._internalRoot=e}Ir.prototype.render=L0.prototype.render=function(e){var u=this._internalRoot;if(u===null)throw Error(r(409));var t=u.current,l=st();p2(t,l,e,u,null,null)},Ir.prototype.unmount=L0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var u=e.containerInfo;p2(e.current,2,null,e,null,null),jr(),u[Fu]=null}};function Ir(e){this._internalRoot=e}Ir.prototype.unstable_scheduleHydration=function(e){if(e){var u=ri();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&&_2(e)}};var T2=a.version;if(T2!=="19.3.1")throw Error(r(527,T2,"19.3.1"));pe.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 Xb={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:le,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(Xb),Ru=Kr}catch{}}return ic.createRoot=function(e,u){if(!o(e))throw Error(r(299));var t=!1,l="",i=m1,c=p1,d=b1;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=h2(e,1,!1,null,null,t,l,null,i,c,d,A2),e[Fu]=u.current,d0(e),new L0(u)},ic.hydrateRoot=function(e,u,t){if(!o(e))throw Error(r(299));var l=!1,i="",c=m1,d=p1,g=b1,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=h2(e,1,!0,u,t??null,l,i,E,c,d,g,A2),u.context=m2(null),t=u.current,l=st(),l=kl(l),i=Wn(l),i.callback=null,Pn(t,i,l),t=l,u.current.lanes=t,Nl(u,t),Pt(u),e[Fu]=u.current,d0(e),new Ir(u)},ic.version="19.3.1",ic}var w2;function tg(){if(w2)return B0.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(),B0.exports=ug(),B0.exports}var ng=tg();const lg=["select","confirm","input","editor"],ag=new Set(lg),Tm=["notify","setStatus","setWidget","setTitle","set_editor_text"];new Set(Tm);function ig(n){return ag.has(n)}const Pa=2;function L2(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 cg(n,a){const s=L2(n),r=L2(a);return s.length===0||r.length===0?!1:s===r?!0:U2(s,r)||U2(r,s)}function U2(n,a){return a==="/"?n!=="/":n.startsWith(`${a}/`)}const rg="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 sg(n,a){if(a!==void 0)return cg(n,a)?rg:void 0}function Dm(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 og={},F2=[500,1e3,2e3,3e3,5e3];function fg(n){if(n!==Pa)return`protocol mismatch: the orchestrator speaks v${n} and this UI speaks v${Pa}. Reload the UI; if that fails, restart the orchestrator.`}class dg{#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=fg(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=F2[Math.min(this.#l,F2.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:Pa,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 hg(){const n=og.VITE_PI_CENTRAL_WS;return typeof n=="string"&&n.length>0?n:`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}function mg(){return{directories:{},files:{},expanded:{},openFile:{},showHidden:{}}}function en(n,a){return`${n}\0${a}`}function pg(n){const a=n.indexOf("\0");return{sessionId:n.slice(0,a),path:n.slice(a+1)}}function is(n,a,s){return n.directories[en(a,s)]??{status:"unloaded"}}function bg(n,a,s){return n.files[en(a,s)]??{status:"unloaded"}}function gg(n,a,s){return n.expanded[en(a,s)]===!0}function ls(n,a){return n.showHidden[a]===!0}function yg(n,a){const s=n.openFile[a];if(s!==void 0)return{path:s,state:bg(n,a,s)}}function xg(n){return n.kind==="directory"?!0:n.kind==="symlink"&&n.linkTarget==="directory"}function B2(n){return n.kind==="symlink"&&n.linkTarget==="missing"}function vg(n,a){return n===""?a:`${n.replace(/\/+$/,"")}/${a}`}function _g(n,a){switch(a.kind){case"filesLoading":return{...n,directories:{...n.directories,[en(a.sessionId,a.path)]:{status:"loading"}}};case"filesLoaded":return{...n,directories:{...n.directories,[en(a.sessionId,a.path)]:{status:"loaded",entries:a.entries,truncated:a.truncated}}};case"filesFailed":return{...n,directories:{...n.directories,[en(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,[en(a.sessionId,a.path)]:{status:"loading"}}};case"fileLoaded":return{...n,files:{...n.files,[en(a.sessionId,a.path)]:{status:"loaded",text:a.text,bytes:a.bytes}}};case"fileFailed":return{...n,files:{...n.files,[en(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=en(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"forgetSession":{const s=`${a.sessionId}\0`,r=b=>Object.fromEntries(Object.entries(b).filter(([v])=>!v.startsWith(s))),{[a.sessionId]:o,...f}=n.openFile,{[a.sessionId]:h,...p}=n.showHidden;return{directories:r(n.directories),files:r(n.files),expanded:r(n.expanded),openFile:f,showHidden:p}}}}function cs(){return{messages:[],tools:[],notices:[]}}function Eg(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 Y0(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 Wl(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 Cm(n){const a=n.messages[n.messages.length-1];return a?.role==="assistant"?a:void 0}function Nm(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=V0(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=V0(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=V0(r.notices,"summarization",o=>({...o,finished:!0})),r;case"message_start":{const f=a.message?.role??"assistant";return r.messages=r.messages.map(h=>h.streaming?{...h,streaming:!1}:h),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 h=Cm(r);h&&(r.messages[r.messages.length-1]={...h,usage:f})}return Sg(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=Y0(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 h=Eg(o?.content),p=o?Ag(o):void 0;p&&h.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:h.length>0?h:b.blocks,complete:!0,streaming:!1}:o&&r.messages.push({id:`m${r.messages.length}`,role:Tg(f),blocks:h,complete:!0,streaming:!1}),r}case"tool_execution_start":{const o=String(a.toolCallId??"");return r.tools=Y0(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(h=>h.toolCallId!==o?h:(f=!0,{...h,result:hc(a.result),isError:a.isError===!0,running:!1,...typeof a.durationMs=="number"?{durationMs:a.durationMs}:{}})),f||(r.tools=Y0(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 Sg(n,a){const s=String(a.type??""),r=typeof a.contentIndex=="number"?a.contentIndex:0,o=Cm(n);if(!o)return n;const f=[...n.messages],h=[...o.blocks],p=b=>{f[f.length-1]=b};switch(s){case"text_start":Wl(h,r,()=>({kind:"text",text:"",complete:!1}));break;case"text_delta":{const b=Wl(h,r,()=>({kind:"text",text:"",complete:!1}));b.kind==="text"&&(h[r]={...b,text:b.text+String(a.delta??"")});break}case"text_end":{const b=String(a.content??"");Wl(h,r,()=>({kind:"text",text:"",complete:!1})),h[r]={kind:"text",text:b,complete:!0};break}case"thinking_start":Wl(h,r,()=>({kind:"thinking",text:"",complete:!1}));break;case"thinking_delta":{const b=Wl(h,r,()=>({kind:"thinking",text:"",complete:!1}));b.kind==="thinking"&&(h[r]={...b,text:b.text+String(a.delta??"")});break}case"thinking_end":{h[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)}:{}};Wl(h,r,()=>b),h[r]=b;break}case"toolcall_delta":{const b=h[r];b?.kind==="toolcall"&&(h[r]={...b,argsText:b.argsText+String(a.delta??"")});break}case"toolcall_end":{const b=h[r],v=a.toolCall,_=b?.kind==="toolcall"?b:{kind:"toolcall",contentIndex:r,argsText:"",complete:!1};h[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=Wl(h,r,()=>({kind:"text",text:"",complete:!1})),v=String(a.reason??a.error??"the provider stream ended with an error");b.kind==="text"&&(h[r]={...b,text:`${b.text}
|
|
10
|
-
|
|
11
|
-
[${v}]`,complete:!1});break}default:return n}return p({...o,blocks:h}),{...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 Ag(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 Tg(n){switch(n){case"user":return"user";case"system":return"system";case"toolResult":case"bashExecution":return"tool";default:return"assistant"}}function Dg(n){let a=cs();for(const s of n)typeof s!="object"||s===null||(a=Nm(a,{type:"message_end",message:s}));return Cg(a)}function Cg(n){const a=new Map;if(n.messages.forEach((f,h)=>{for(const p of f.blocks)p.kind!=="toolcall"||p.id===void 0||a.set(p.id,{name:p.name,args:p.args,index:h})}),a.size===0)return n;const s=new Set(n.tools.map(f=>f.toolCallId)),r=n.tools.map(f=>{const h=a.get(f.toolCallId);return h?{...f,args:f.args??h.args,toolName:f.toolName==="tool"&&h.name?h.name:f.toolName}:f}),o=[];for(const[f,h]of a)s.has(f)||o.push({toolCallId:f,toolName:h.name??"tool",args:h.args,result:"",isError:!1,running:!1,startedAt:Date.now(),afterMessage:h.index+1,unfinished:!0});return{...n,tools:[...r,...o].sort((f,h)=>f.afterMessage-h.afterMessage)}}function Ng(n){return n.blocks.filter(a=>a.kind==="text").map(a=>a.text).join("")}function kg(n,a){const s=a+1;return n.tools.filter(r=>r.afterMessage===s)}function Og(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 H2(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 jg(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 km(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 V0(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 h=[...n];return h[r]=s(o),h}return n}function Mg(n){return n.kind==="summarization"?!n.finished:n.ended===void 0}function Rg(n){const a=[],s=Og(n);s.length>0&&a.push({kind:"tools",tools:s});let r=[];return n.messages.forEach((o,f)=>{const h=kg(n,f);km(o)&&(r.length>0&&(a.push({kind:"tools",tools:r}),r=[]),a.push({kind:"turn",message:o})),r.push(...h)}),r.length>0&&a.push({kind:"tools",tools:r}),a}function Om(){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 wg=20;function Lg(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}:Ug(n,a)}function Ug(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]??cs();return{...n,transcripts:{...n.transcripts,[a.sessionId]:Nm(s,a.record)}}}case"transcript":{const{[a.sessionId]:s,...r}=n.transcriptErrors;return{...n,transcripts:{...n.transcripts,[a.sessionId]:Dg(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,wg)}}}function Fg(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 Bg(n){return n.live.some(a=>a.mode==="direct")}function Hg(n){return n.live.find(a=>a.id===n.focusedId)}function qg(n,a){return a?n.transcripts[a]??cs():cs()}function Gg(n){return n.live.reduce((a,s)=>a+s.dialogs.length,0)}function Yg(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 Vg(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 Zg(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 h=0;const p=(f.name??"").toLowerCase(),b=f.cwd.toLowerCase(),v=f.firstMessage.toLowerCase();p.includes(r)&&(h+=100),b.includes(r)&&(h+=50),v.includes(r)&&(h+=20),h>0&&o.push({session:f,score:h})}return o.sort((f,h)=>h.score-f.score||h.session.modifiedMs-f.session.modifiedMs),o.slice(0,s).map(f=>f.session)}function zm(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 Xg(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 jm(n,a){return n.model===a.id&&(n.provider===void 0||n.provider===a.provider)}function Qg(n){return n&&n.state==="streaming"?"Applies to the next turn; this run is already using the current model.":""}function gf(n){return n===null||!Number.isFinite(n)?"—":n===0?"$0.00":n<1?`$${n.toFixed(4)}`:`$${n.toFixed(2)}`}function rs(n){return n===null||!Number.isFinite(n)?"—":n<1e3?`${n}`:n<1e6?`${(n/1e3).toFixed(1)}k`:`${(n/1e6).toFixed(1)}M`}function Mm(n){if(n===null||!Number.isFinite(n))return"ctx —";const a=Math.round(n);return a>=80?`ctx ${a}% full`:`ctx ${a}%`}function Ig(n){return n?n.length>4?n.slice(0,3):n:"—"}function Kg(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 yf(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)}`),yf(r,a)}function $g(n,a=14){return n?yf(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 Rm(n,a){return n.scratch?`scratch · ${n.id}`:mc(n.cwd,34,a)}function Jg(n,a,s=70){return n.scratch?`${Rm(n,a)} · ${mc(n.cwd,s,a)}`:mc(n.cwd,s,a)}async function Wg(n){try{return await navigator.clipboard.writeText(n),!0}catch{return!1}}const Pg=[{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 e6({sessions:n,focusedId:a,onFocus:s,onStartSession:r,onOpenDirectory:o,home:f,historyTotal:h}){const[p,b]=X.useState(""),v=X.useMemo(()=>{const y=p.trim().toLowerCase();return y.length===0?n:n.filter(C=>pc(C).toLowerCase().includes(y)||C.cwd.toLowerCase().includes(y)||C.id.toLowerCase().includes(y))},[n,p]),_=X.useMemo(()=>Pg.map(y=>({...y,items:v.filter(y.match)})).filter(y=>y.items.length>0),[v]);return m.jsxs("nav",{className:"rail","aria-label":"Sessions",children:[m.jsxs("div",{className:"rail-start",children:[m.jsxs("button",{type:"button",className:"btn-primary",onClick:r,children:["New session",m.jsx("small",{children:"runs in a scratch workspace"})]}),m.jsxs("button",{type:"button",className:"btn-quiet",onClick:o,children:[m.jsx("span",{children:"Open in a directory…"}),m.jsx("span",{className:"mono",children:"⌘⇧O"})]})]}),m.jsx("div",{className:"rail-filter",children:m.jsx("input",{type:"search",value:p,placeholder:"Filter sessions","aria-label":"Filter sessions",onChange:y=>b(y.target.value)})}),m.jsxs("div",{className:"rail-list",children:[n.length===0?m.jsxs("p",{className:"rail-empty",children:["No live sessions. Start one with ",m.jsx("kbd",{children:"⌘N"}),"."]}):_.length===0?m.jsxs("p",{className:"rail-empty",children:["No sessions match “",p,"”."]}):_.map(y=>m.jsxs("section",{"aria-label":y.label,children:[m.jsxs("h3",{className:"group-header",children:[m.jsx("span",{children:y.label}),m.jsx("span",{className:"count",children:y.items.length})]}),y.items.map(C=>m.jsx(u6,{session:C,focused:C.id===a,onFocus:()=>s(C.id),home:f},C.id))]},y.key)),h>0&&m.jsx("p",{className:"rail-empty",style:{borderTop:"1px solid var(--line)",marginTop:8},children:`${h} session${h===1?"":"s"} on disk — see the History tab.`})]})]})}function u6({session:n,focused:a,onFocus:s,home:r}){const o=n.dialogs[0]?.message??n.dialogs[0]?.title;return m.jsxs("button",{type:"button",className:`rail-row state-${n.state}`,"aria-current":a?"true":void 0,onClick:s,children:[m.jsxs("span",{className:"r1",children:[m.jsx("span",{className:"name",children:pc(n)}),n.scratch&&m.jsx("span",{className:"chip chip-scratch",children:"scratch"}),m.jsx("span",{className:`chip chip-${n.state}`,children:zm(n)})]}),o?m.jsxs("span",{className:"r2 ask",title:o,children:["⚠ ",o]}):m.jsx("span",{className:"r2",title:n.cwd,children:Rm(n,r)}),m.jsxs("span",{className:"r3",children:[m.jsx("span",{children:$g(n.model)}),m.jsx("span",{children:Ig(n.thinkingLevel)}),m.jsx("span",{children:Mm(n.contextPercent)}),m.jsx("span",{children:gf(n.cost)}),n.pending>0&&m.jsxs("span",{children:["+",n.pending," queued"]})]}),n.warnings.length>0&&m.jsxs("span",{className:"r3",style:{color:"var(--warn-text)"},title:n.warnings.join(`
|
|
13
|
-
`),children:["⚠ ",n.warnings[0]]})]})}const t6="modulepreload",n6=function(n){return"/"+n},q2={},as=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 h=document.querySelector("meta[property=csp-nonce]"),p=h?.nonce||h?.getAttribute("nonce");o=b(s.map(v=>{if(v=n6(v),v in q2)return;q2[v]=!0;const _=v.endsWith(".css"),y=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${y}`))return;const C=document.createElement("link");if(C.rel=_?"stylesheet":t6,_||(C.as="script"),C.crossOrigin="",C.href=v,p&&C.setAttribute("nonce",p),document.head.appendChild(C),_)return new Promise((R,A)=>{C.addEventListener("load",R),C.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${v}`)))})}))}function f(h){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=h,window.dispatchEvent(p),!p.defaultPrevented)throw h}return o.then(h=>{for(const p of h||[])p.status==="rejected"&&f(p.reason);return a().catch(f)})},l6="github-dark-default";let $r,Jr;async function wm(){return $r||(Jr||(Jr=as(()=>import("./grammar-map-VuoEIDon.js"),[]).then(n=>($r=n.grammars,$r)).catch(()=>(Jr=void 0,{}))),Jr)}let Wr,Pr;const a6=new Set,Z0=new Map;function Lm(n){return n.trim().toLowerCase()}async function Um(n){if(n.length===0)return;const a=await wm(),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 i6(n){return await Um(Lm(n))!==void 0}async function c6(n){const a=Z0.get(n);if(a)return a;const s=await Um(n),r=s?(await wm())[s]:void 0;if(!r)return;const o=r().then(f=>f,()=>{Z0.delete(n)});return Z0.set(n,o),o}async function r6(){return Wr||(Pr||(Pr=(async()=>{try{const[{createHighlighterCore:n},{createJavaScriptRegexEngine:a},s]=await Promise.all([as(()=>import("./core-CcaQSRDK.js"),[]),as(()=>import("./engine-javascript-CuxHA8oH.js"),[]),as(()=>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 o6(n,a){if(n.length===0)return;const s=Lm(a);if(!await i6(s))return;const r=await r6();if(r)try{if(!r.getLoadedLanguages().includes(s)){const f=await c6(s);if(!f)return;await r.loadLanguage(f.default),a6.add(s)}const{tokens:o}=r.codeToTokens(n,{lang:s,theme:l6});return{lang:s,lines:o.map(f=>f.map(h=>({text:h.content,...h.color!==void 0?{color:h.color}:{},...s6(h.fontStyle)?{italic:!0}:{}})))}}catch{return}}function f6(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 d6(n){return X.createElement("pre",{className:`shiki shiki-${n.lang}`},X.createElement("code",null,n.lines.map((a,s)=>X.createElement("span",{className:"line",key:s},a.length===0?`
|
|
14
|
-
`:[...a.map((r,o)=>X.createElement("span",{key:o,className:[f6(r.color),r.italic?"tk-i":void 0].filter(Boolean).join(" ")||void 0},r.text)),`
|
|
15
|
-
`]))))}const h6=/^(`{3,}|~{3,})\s*([^`\s]*)\s*$/;function m6(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 h=a[f]??"",p=h6.exec(h);if(!p){r.push(h);continue}const b=p[1],v=(p[2]??"").toLowerCase();let _=-1;for(let y=f+1;y<a.length;y+=1){const R=(a[y]??"").trimEnd();if(R.length>=b.length&&/^(`{3,}|~{3,})$/.test(R)&&R[0]===b[0]){_=y;break}}if(_===-1){r.push(h);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 p6(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 G2={};function b6(n){let a=G2[n];if(a)return a;a=G2[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 ti(n,a){typeof a!="string"&&(a=ti.defaultChars);const s=b6(a);return n.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let f=0,h=r.length;f<h;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<h){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<h){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<h){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})}ti.defaultChars=";/?:@&=+$,#";ti.componentChars="";const Y2={};function g6(n){let a=Y2[n];if(a)return a;a=Y2[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=g6(a);let o="";for(let f=0,h=n.length;f<h;f++){const p=n.charCodeAt(f);if(s&&p===37&&f+2<h&&/^[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<h){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 xf(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 ss(){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 y6=/^([a-z0-9.+-]+:)/i,x6=/:[0-9]*$/,v6=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,_6=["<",">",'"',"`"," ","\r",`
|
|
19
|
-
`," "],E6=["{","}","|","\\","^","`"].concat(_6),S6=["'"].concat(E6),V2=["%","/","?",";","#"].concat(S6),Z2=["/","?","#"],A6=255,X2=/^[+a-z0-9A-Z_-]{0,63}$/,T6=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Q2={javascript:!0,"javascript:":!0},I2={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function vf(n,a){if(n&&n instanceof ss)return n;const s=new ss;return s.parse(n,a),s}ss.prototype.parse=function(n,a){let s,r,o,f=n;if(f=f.trim(),!a&&n.split("#").length===1){const v=v6.exec(f);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}let h=y6.exec(f);if(h&&(h=h[0],s=h.toLowerCase(),this.protocol=h,f=f.substr(h.length)),(a||h||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=f.substr(0,2)==="//",o&&!(h&&Q2[h])&&(f=f.substr(2),this.slashes=!0)),!Q2[h]&&(o||h&&!I2[h])){let v=-1;for(let A=0;A<Z2.length;A++)r=f.indexOf(Z2[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<V2.length;A++)r=f.indexOf(V2[A]),r!==-1&&(v===-1||r<v)&&(v=r);v===-1&&(v=f.length),f[v-1]===":"&&v--;const C=f.slice(0,v);f=f.slice(v),this.parseHost(C),this.hostname=this.hostname||"";const R=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!R){const A=this.hostname.split(/\./);for(let U=0,Z=A.length;U<Z;U++){const K=A[U];if(K&&!K.match(X2)){let ue="";for(let ee=0,G=K.length;ee<G;ee++)K.charCodeAt(ee)>127?ue+="x":ue+=K[ee];if(!ue.match(X2)){const ee=A.slice(0,U),G=A.slice(U+1),I=K.match(T6);I&&(ee.push(I[1]),G.unshift(I[2])),G.length&&(f=G.join(".")+f),this.hostname=ee.join(".");break}}}}this.hostname.length>A6&&(this.hostname=""),R&&(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),I2[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ss.prototype.parseHost=function(n){let a=x6.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 D6=Object.freeze(Object.defineProperty({__proto__:null,decode:ti,encode:_c,format:xf,parse:vf},Symbol.toStringTag,{value:"Module"})),Fm=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Bm=/[\0-\x1F\x7F-\x9F]/,C6=/[\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]/,_f=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Hm=/[\$\+<->\^`\|~\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]/,qm=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,N6=Object.freeze(Object.defineProperty({__proto__:null,Any:Fm,Cc:Bm,Cf:C6,P:_f,S:Hm,Z:qm},Symbol.toStringTag,{value:"Module"})),k6=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))),O6=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(n=>n.charCodeAt(0)));var X0;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]]),j6=(X0=String.fromCodePoint)!==null&&X0!==void 0?X0: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 M6(n){var a;return n>=55296&&n<=57343||n>1114111?65533:(a=z6.get(n))!==null&&a!==void 0?a:n}var xu;(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"})(xu||(xu={}));const R6=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 df(n){return n>=xu.ZERO&&n<=xu.NINE}function w6(n){return n>=xu.UPPER_A&&n<=xu.UPPER_F||n>=xu.LOWER_A&&n<=xu.LOWER_F}function L6(n){return n>=xu.UPPER_A&&n<=xu.UPPER_Z||n>=xu.LOWER_A&&n<=xu.LOWER_Z||df(n)}function U6(n){return n===xu.EQUALS||L6(n)}var yu;(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"})(yu||(yu={}));var Cn;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(Cn||(Cn={}));class F6{constructor(a,s,r){this.decodeTree=a,this.emitCodePoint=s,this.errors=r,this.state=yu.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cn.Strict}startEntity(a){this.decodeMode=a,this.state=yu.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,s){switch(this.state){case yu.EntityStart:return a.charCodeAt(s)===xu.NUM?(this.state=yu.NumericStart,this.consumed+=1,this.stateNumericStart(a,s+1)):(this.state=yu.NamedEntity,this.stateNamedEntity(a,s));case yu.NumericStart:return this.stateNumericStart(a,s);case yu.NumericDecimal:return this.stateNumericDecimal(a,s);case yu.NumericHex:return this.stateNumericHex(a,s);case yu.NamedEntity:return this.stateNamedEntity(a,s)}}stateNumericStart(a,s){return s>=a.length?-1:(a.charCodeAt(s)|R6)===xu.LOWER_X?(this.state=yu.NumericHex,this.consumed+=1,this.stateNumericHex(a,s+1)):(this.state=yu.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(df(o)||w6(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(df(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===xu.SEMI)this.consumed+=1;else if(this.decodeMode===Cn.Strict)return 0;return this.emitCodePoint(M6(this.result),this.consumed),this.errors&&(a!==xu.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 h=a.charCodeAt(s);if(this.treeIndex=B6(r,o,this.treeIndex+Math.max(1,f),h),this.treeIndex<0)return this.result===0||this.decodeMode===Cn.Attribute&&(f===0||U6(h))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],f=(o&xl.VALUE_LENGTH)>>14,f!==0){if(h===xu.SEMI)return this.emitNamedEntityData(this.treeIndex,f,this.consumed+this.excess);this.decodeMode!==Cn.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 yu.NamedEntity:return this.result!==0&&(this.decodeMode!==Cn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case yu.NumericDecimal:return this.emitNumericEntity(0,2);case yu.NumericHex:return this.emitNumericEntity(0,3);case yu.NumericStart:return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case yu.EntityStart:return 0}}}function Gm(n){let a="";const s=new F6(n,r=>a+=j6(r));return function(o,f){let h=0,p=0;for(;(p=o.indexOf("&",p))>=0;){a+=o.slice(h,p),s.startEntity(f);const v=s.write(o,p+1);if(v<0){h=p+s.end();break}h=p+v,p=v===0?h+1:h}const b=a+o.slice(h);return a="",b}}function B6(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 h=s,p=h+o-1;for(;h<=p;){const b=h+p>>>1,v=n[b];if(v<r)h=b+1;else if(v>r)p=b-1;else return n[b+o]}return-1}const Ym=Gm(k6);Gm(O6);function H6(n,a=Cn.Legacy){return Ym(n,a)}function q6(n){return Ym(n,Cn.Strict)}function G6(n){return Object.prototype.toString.call(n)}function Ef(n){return G6(n)==="[object String]"}const Y6=Object.prototype.hasOwnProperty;function V6(n,a){return Y6.call(n,a)}function fs(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 Z6(n,a,s){return[].concat(n.slice(0,a),s,n.slice(a+1))}function Sf(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 Vm=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,X6=/&([a-z#][a-z0-9]{1,31});/gi,Q6=new RegExp(Vm.source+"|"+X6.source,"gi"),I6=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function K6(n,a){if(a.charCodeAt(0)===35&&I6.test(a)){const r=a[1].toLowerCase()==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return Sf(r)?bc(r):n}const s=H6(n);return s!==n?s:n}function $6(n){return n.indexOf("\\")<0?n:n.replace(Vm,"$1")}function ni(n){return n.indexOf("\\")<0&&n.indexOf("&")<0?n:n.replace(Q6,function(a,s,r){return s||K6(a,r)})}const J6=/[&<>"]/,W6=/[&<>"]/g,P6={"&":"&","<":"<",">":">",'"':"""};function e4(n){return P6[n]}function vl(n){return J6.test(n)?n.replace(W6,e4):n}const u4=/[.?*+^$[\]\\(){}|-]/g;function t4(n){return n.replace(u4,"\\$&")}function Qe(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 Zm(n){return _f.test(n)||Hm.test(n)}function yc(n){return Zm(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 ds(n){return n=n.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(n=n.replace(/ẞ/g,"ß")),n.toLowerCase().toUpperCase()}function K2(n){return n===32||n===9||n===10||n===13}function hs(n){let a=0;for(;a<n.length&&K2(n.charCodeAt(a));a++);let s=n.length-1;for(;s>=a&&K2(n.charCodeAt(s));s--);return n.slice(a,s+1)}const n4={mdurl:D6,ucmicro:N6},l4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Z6,asciiTrim:hs,assign:fs,escapeHtml:vl,escapeRE:t4,fromCodePoint:bc,has:V6,isMdAsciiPunct:xc,isPunctChar:Zm,isPunctCharCode:yc,isSpace:Qe,isString:Ef,isValidEntityCode:Sf,isWhiteSpace:gc,lib:n4,normalizeReference:ds,unescapeAll:ni,unescapeMd:$6},Symbol.toStringTag,{value:"Module"}));function a4(n,a,s){let r,o,f,h;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(h=n.pos,n.md.inline.skipToken(n),f===91){if(h===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 i4(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=ni(n.slice(a+1,o)),f.ok=!0,f;if(r===92&&o+1<s){o+=2;continue}o++}return f}let h=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&&(h++,h>32))return f;if(r===41){if(h===0)break;h--}o++}return a===o||h!==0||(f.str=ni(n.slice(a,o)),f.pos=o,f.ok=!0),f}function c4(n,a,s,r){let o,f=a;const h={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)h.str=r.str,h.marker=r.marker;else{if(f>=s)return h;let p=n.charCodeAt(f);if(p!==34&&p!==39&&p!==40)return h;a++,f++,p===40&&(p=41),h.marker=p}for(;f<s;){if(o=n.charCodeAt(f),o===h.marker)return h.pos=f+1,h.str+=ni(n.slice(a,f)),h.ok=!0,h;if(o===40&&h.marker===41)return h;o===92&&f+1<s&&f++,f++}return h.can_continue=!0,h.str+=ni(n.slice(a,f)),h}const r4=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:i4,parseLinkLabel:a4,parseLinkTitle:c4},Symbol.toStringTag,{value:"Module"})),nn={};nn.code_inline=function(n,a,s,r,o){const f=n[a];return"<code"+o.renderAttrs(f)+">"+vl(f.content)+"</code>"};nn.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
|
-
`};nn.fence=function(n,a,s,r,o){const f=n[a],h=f.info?ni(f.info).trim():"";let p="",b="";if(h){const _=h.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(h){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 C={attrs:y};return`<pre><code${o.renderAttrs(C)}>${v}</code></pre>
|
|
22
|
-
`}return`<pre><code${o.renderAttrs(f)}>${v}</code></pre>
|
|
23
|
-
`};nn.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)};nn.hardbreak=function(n,a,s){return s.xhtmlOut?`<br />
|
|
24
|
-
`:`<br>
|
|
25
|
-
`};nn.softbreak=function(n,a,s){return s.breaks?s.xhtmlOut?`<br />
|
|
26
|
-
`:`<br>
|
|
27
|
-
`:`
|
|
28
|
-
`};nn.text=function(n,a){return vl(n[a].content)};nn.html_block=function(n,a){return n[a].content};nn.html_inline=function(n,a){return n[a].content};function li(){this.rules=fs({},nn)}li.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};li.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 h=!1;if(o.block&&(h=!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)&&(h=!1)}return f+=h?`>
|
|
30
|
-
`:">",f};li.prototype.renderInline=function(n,a,s){let r="";const o=this.rules;for(let f=0,h=n.length;f<h;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};li.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};li.prototype.render=function(n,a,s){let r="";const o=this.rules;for(let f=0,h=n.length;f<h;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 ut(){this.__rules__=[],this.__cache__=null}ut.prototype.__find__=function(n){for(let a=0;a<this.__rules__.length;a++)if(this.__rules__[a].name===n)return a;return-1};ut.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))})})};ut.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};ut.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};ut.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};ut.prototype.push=function(n,a,s){const r=s||{};this.__rules__.push({name:n,enabled:!0,fn:a,alt:r.alt||[]}),this.__cache__=null};ut.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};ut.prototype.enableOnly=function(n,a){Array.isArray(n)||(n=[n]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(n,a)};ut.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};ut.prototype.getRules=function(n){return this.__cache__===null&&this.__compile__(),this.__cache__[n]||[]};function Ut(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}Ut.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};Ut.prototype.attrPush=function(a){this.attrs?this.attrs.push(a):this.attrs=[a]};Ut.prototype.attrSet=function(a,s){const r=this.attrIndex(a),o=[a,s];r<0?this.attrPush(o):this.attrs[r]=o};Ut.prototype.attrGet=function(a){const s=this.attrIndex(a);let r=null;return s>=0&&(r=this.attrs[s][1]),r};Ut.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 Xm(n,a,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=a}Xm.prototype.Token=Ut;const s4=/\r\n?|\n/g,o4=/\0/g;function f4(n){let a;a=n.src.replace(s4,`
|
|
32
|
-
`),a=a.replace(o4,"�"),n.src=a}function d4(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 h4(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 m4(n){return/^<a[>\s]/i.test(n)}function p4(n){return/^<\/a\s*>/i.test(n)}function b4(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 h=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"&&(m4(b.content)&&h>0&&h--,p4(b.content)&&h++),!(h>0)&&b.type==="text"&&n.md.linkify.test(b.content)){const v=b.content;let _=n.md.linkify.match(v);const y=[];let C=b.level,R=0;_.length>0&&_[0].index===0&&p>0&&o[p-1].type==="text_special"&&(_=_.slice(1));for(let A=0;A<_.length;A++){const U=_[A].url,Z=n.md.normalizeLink(U);if(!n.md.validateLink(Z))continue;let K=_[A].text;_[A].schema?_[A].schema==="mailto:"&&!/^mailto:/i.test(K)?K=n.md.normalizeLinkText("mailto:"+K).replace(/^mailto:/,""):K=n.md.normalizeLinkText(K):K=n.md.normalizeLinkText("http://"+K).replace(/^http:\/\//,"");const ue=_[A].index;if(ue>R){const ae=new n.Token("text","",0);ae.content=v.slice(R,ue),ae.level=C,y.push(ae)}const ee=new n.Token("link_open","a",1);ee.attrs=[["href",Z]],ee.level=C++,ee.markup="linkify",ee.info="auto",y.push(ee);const G=new n.Token("text","",0);G.content=K,G.level=C,y.push(G);const I=new n.Token("link_close","a",-1);I.level=--C,I.markup="linkify",I.info="auto",y.push(I),R=_[A].lastIndex}if(R<v.length){const A=new n.Token("text","",0);A.content=v.slice(R),A.level=C,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 C=f[v];if(C?.index===y){for(const R of C.nodes)b[_++]=R;v++}else b[_++]=o[y]}a[s].children=b}}}const Qm=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,g4=/\((c|tm|r)\)/i,y4=/\((c|tm|r)\)/ig,x4={c:"©",r:"®",tm:"™"};function v4(n,a){return x4[a.toLowerCase()]}function _4(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(y4,v4)),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}}function E4(n){let a=0;for(let s=n.length-1;s>=0;s--){const r=n[s];r.type==="text"&&!a&&Qm.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 S4(n){let a;if(n.md.options.typographer)for(a=n.tokens.length-1;a>=0;a--)n.tokens[a].type==="inline"&&(g4.test(n.tokens[a].content)&&_4(n.tokens[a].children),Qm.test(n.tokens[a].content)&&E4(n.tokens[a].children))}const A4=/['"]/,$2=/['"]/g,J2="’",T4=1e3;function W2(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 D4(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 C4(n,a){let s;const r=[],o={single:-1,double:-1},f={};for(let h=0;h<n.length;h++){const p=n[h],b=n[h].level;for(s=r.length-1;s>=0&&!(r[s].level<=b);s--);if(W2(r,o,s+1),p.type!=="text")continue;const v=p.content;let _=0;const y=v.length;e:for(;_<y;){$2.lastIndex=_;const C=$2.exec(v);if(!C)break;let R=!0,A=!0;_=C.index+1;const U=C[0]==="'";let Z=32;if(C.index-1>=0)Z=v.charCodeAt(C.index-1);else for(s=h-1;s>=0&&!(n[s].type==="softbreak"||n[s].type==="hardbreak");s--)if(n[s].content){Z=n[s].content.charCodeAt(n[s].content.length-1);break}let K=32;if(_<y)K=v.charCodeAt(_);else for(s=h+1;s<n.length&&!(n[s].type==="softbreak"||n[s].type==="hardbreak");s++)if(n[s].content){K=n[s].content.charCodeAt(0);break}const ue=xc(Z)||yc(Z),ee=xc(K)||yc(K),G=gc(Z),I=gc(K);if(I?R=!1:ee&&(G||ue||(R=!1)),G?A=!1:ue&&(I||ee||(A=!1)),K===34&&C[0]==='"'&&Z>=48&&Z<=57&&(A=R=!1),R&&A&&(R=ue,A=ee),!R&&!A){U&&es(f,h,C.index,J2);continue}if(A&&(s=U?o.single:o.double,s>=0&&r[s].level===b)){const ae=r[s];let P,ce;U?(P=a.md.options.quotes[2],ce=a.md.options.quotes[3]):(P=a.md.options.quotes[0],ce=a.md.options.quotes[1]),es(f,h,C.index,ce),es(f,ae.tokenIdx,ae.contentPos,P),W2(r,o,s);continue e}if(R){if(r.length>=T4)return;r.push({tokenIdx:h,contentPos:C.index,isSingleQuote:U,level:b,prevSameQuoteIdx:U?o.single:o.double}),U?o.single=r.length-1:o.double=r.length-1}else A&&U&&es(f,h,C.index,J2)}}Object.keys(f).forEach(function(h){n[h].content=D4(n[h].content,f[h])})}function N4(n){if(n.md.options.typographer)for(let a=n.tokens.length-1;a>=0;a--)n.tokens[a].type!=="inline"||!A4.test(n.tokens[a].content)||C4(n.tokens[a].children,n)}function k4(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 h=r[f].children,p=h.length;for(a=0;a<p;a++)h[a].type==="text_special"&&(h[a].type="text");for(a=s=0;a<p;a++)h[a].type==="text"&&a+1<p&&h[a+1].type==="text"?h[a+1].content=h[a].content+h[a+1].content:(a!==s&&(h[s]=h[a]),s++);a!==s&&(h.length=s)}}const Q0=[["normalize",f4],["block",d4],["inline",h4],["linkify",b4],["replacements",S4],["smartquotes",N4],["text_join",k4]];function Af(){this.ruler=new ut;for(let n=0;n<Q0.length;n++)this.ruler.push(Q0[n][0],Q0[n][1])}Af.prototype.process=function(n){const a=this.ruler.getRules("");for(let s=0,r=a.length;s<r;s++)a[s](n)};Af.prototype.State=Xm;function ln(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,h=0,p=0,b=0,v=o.length,_=!1;h<v;h++){const y=o.charCodeAt(h);if(!_)if(Qe(y)){p++,y===9?b+=4-b%4:b++;continue}else _=!0;(y===10||h===v-1)&&(y!==10&&h++,this.bMarks.push(f),this.eMarks.push(h),this.tShift.push(p),this.sCount.push(b),this.bsCount.push(0),_=!1,p=0,b=0,f=h+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}ln.prototype.push=function(n,a,s){const r=new Ut(n,a,s);return r.block=!0,s<0&&this.level--,r.level=this.level,s>0&&this.level++,this.tokens.push(r),r};ln.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]};ln.prototype.skipEmptyLines=function(a){for(let s=this.lineMax;a<s&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a};ln.prototype.skipSpaces=function(a){for(let s=this.src.length;a<s;a++){const r=this.src.charCodeAt(a);if(!Qe(r))break}return a};ln.prototype.skipSpacesBack=function(a,s){if(a<=s)return a;for(;a>s;)if(!Qe(this.src.charCodeAt(--a)))return a+1;return a};ln.prototype.skipChars=function(a,s){for(let r=this.src.length;a<r&&this.src.charCodeAt(a)===s;a++);return a};ln.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};ln.prototype.getLines=function(a,s,r,o){if(a>=s)return"";const f=new Array(s-a);for(let h=0,p=a;p<s;p++,h++){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 C=this.src.charCodeAt(_);if(Qe(C))C===9?b+=4-(b+this.bsCount[p])%4:b++;else if(_-v<this.tShift[p])b++;else break;_++}b>r?f[h]=new Array(b-r+1).join(" ")+this.src.slice(_,y):f[h]=this.src.slice(_,y)}return f.join("")};ln.prototype.Token=Ut;const O4=65536;function I0(n,a){const s=n.bMarks[a]+n.tShift[a],r=n.eMarks[a];return n.src.slice(s,r)}function P2(n){const a=[],s=n.length;let r=0,o=n.charCodeAt(r),f=!1,h=0,p="";for(;r<s;)o===124&&(f?(p+=n.substring(h,r-1),h=r):(a.push(p+n.substring(h,r)),p="",h=r+1)),f=o===92,r++,o=n.charCodeAt(r);return a.push(p+n.substring(h)),a}function z4(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 h=n.src.charCodeAt(f++);if(h!==124&&h!==45&&h!==58||f>=n.eMarks[o])return!1;const p=n.src.charCodeAt(f++);if(p!==124&&p!==45&&p!==58&&!Qe(p)||h===45&&Qe(p))return!1;for(;f<n.eMarks[o];){const G=n.src.charCodeAt(f);if(G!==124&&G!==45&&G!==58&&!Qe(G))return!1;f++}let b=I0(n,a+1),v=b.split("|");const _=[];for(let G=0;G<v.length;G++){const I=v[G].trim();if(!I){if(G===0||G===v.length-1)continue;return!1}if(!/^:?-+:?$/.test(I))return!1;I.charCodeAt(I.length-1)===58?_.push(I.charCodeAt(0)===58?"center":"right"):I.charCodeAt(0)===58?_.push("left"):_.push("")}if(b=I0(n,a).trim(),b.indexOf("|")===-1||n.sCount[a]-n.blkIndent>=4)return!1;v=P2(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 C=n.parentType;n.parentType="table";const R=n.md.block.ruler.getRules("blockquote"),A=n.push("table_open","table",1),U=[a,0];A.map=U;const Z=n.push("thead_open","thead",1);Z.map=[a,a+1];const K=n.push("tr_open","tr",1);K.map=[a,a+1];for(let G=0;G<v.length;G++){const I=n.push("th_open","th",1);_[G]&&(I.attrs=[["style","text-align:"+_[G]]]);const ae=n.push("inline","",0);ae.content=v[G].trim(),ae.children=[],n.push("th_close","th",-1)}n.push("tr_close","tr",-1),n.push("thead_close","thead",-1);let ue,ee=0;for(o=a+2;o<s&&!(n.sCount[o]<n.blkIndent);o++){let G=!1;for(let ae=0,P=R.length;ae<P;ae++)if(R[ae](n,o,s,!0)){G=!0;break}if(G||(b=I0(n,o).trim(),!b)||n.sCount[o]-n.blkIndent>=4||(v=P2(b),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop(),ee+=y-v.length,ee>O4))break;if(o===a+2){const ae=n.push("tbody_open","tbody",1);ae.map=ue=[a+2,0]}const I=n.push("tr_open","tr",1);I.map=[o,o+1];for(let ae=0;ae<y;ae++){const P=n.push("td_open","td",1);_[ae]&&(P.attrs=[["style","text-align:"+_[ae]]]);const ce=n.push("inline","",0);ce.content=v[ae]?v[ae].trim():"",ce.children=[],n.push("td_close","td",-1)}n.push("tr_close","tr",-1)}return ue&&(n.push("tbody_close","tbody",-1),ue[1]=o),n.push("table_close","table",-1),U[1]=o,n.parentType=C,n.line=o,!0}function j4(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 M4(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 h=n.src.charCodeAt(o);if(h!==126&&h!==96)return!1;let p=o;o=n.skipChars(o,h);let b=o-p;if(b<3)return!1;const v=n.src.slice(p,o),_=n.src.slice(o,f);if(h===96&&_.indexOf(String.fromCharCode(h))>=0)return!1;if(r)return!0;let y=a,C=!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)===h&&!(n.sCount[y]-n.blkIndent>=4)&&(o=n.skipChars(o,h),!(o-p<b)&&(o=n.skipSpaces(o),!(o<f)))){C=!0;break}b=n.sCount[a],n.line=y+(C?1:0);const R=n.push("fence","code",0);return R.info=_,R.content=n.getLines(a+1,y,b,!0),R.markup=v,R.map=[a,n.line],!0}function R4(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];const h=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"),C=n.parentType;n.parentType="blockquote";let R=!1,A;for(A=a;A<s;A++){const ee=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&&!ee){let I=n.sCount[A]+1,ae,P;n.src.charCodeAt(o)===32?(o++,I++,P=!1,ae=!0):n.src.charCodeAt(o)===9?(ae=!0,(n.bsCount[A]+I)%4===3?(o++,I++,P=!1):P=!0):ae=!1;let ce=I;for(p.push(n.bMarks[A]),n.bMarks[A]=o;o<f;){const ke=n.src.charCodeAt(o);if(Qe(ke))ke===9?ce+=4-(ce+n.bsCount[A]+(P?1:0))%4:ce++;else break;o++}R=o>=f,b.push(n.bsCount[A]),n.bsCount[A]=n.sCount[A]+1+(ae?1:0),v.push(n.sCount[A]),n.sCount[A]=ce-I,_.push(n.tShift[A]),n.tShift[A]=o-n.bMarks[A];continue}if(R)break;let G=!1;for(let I=0,ae=y.length;I<ae;I++)if(y[I](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 U=n.blkIndent;n.blkIndent=0;const Z=n.push("blockquote_open","blockquote",1);Z.markup=">";const K=[a,0];Z.map=K,n.md.block.tokenize(n,a,A);const ue=n.push("blockquote_close","blockquote",-1);ue.markup=">",n.lineMax=h,n.parentType=C,K[1]=n.line;for(let ee=0;ee<_.length;ee++)n.bMarks[ee+a]=p[ee],n.tShift[ee+a]=_[ee],n.sCount[ee+a]=v[ee],n.bsCount[ee+a]=b[ee];return n.blkIndent=U,!0}function w4(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 h=n.src.charCodeAt(f++);if(h!==42&&h!==45&&h!==95)return!1;let p=1;for(;f<o;){const v=n.src.charCodeAt(f++);if(v!==h&&!Qe(v))return!1;v===h&&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(h)),!0}function em(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(!Qe(f))return-1}return r}function um(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),!Qe(f))?-1:o}function L4(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 U4(n,a,s,r){let o,f,h,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,C,R;if((R=um(n,b))>=0){if(y=!0,h=n.bMarks[b]+n.tShift[b],C=Number(n.src.slice(h,R-1)),_&&C!==1)return!1}else if((R=em(n,b))>=0)y=!1;else return!1;if(_&&n.skipSpaces(R)>=n.eMarks[b])return!1;if(r)return!0;const A=n.src.charCodeAt(R-1),U=n.tokens.length;y?(p=n.push("ordered_list_open","ol",1),C!==1&&(p.attrs=[["start",C]])):p=n.push("bullet_list_open","ul",1);const Z=[b,0];p.map=Z,p.markup=String.fromCharCode(A);let K=!1;const ue=n.md.block.ruler.getRules("list"),ee=n.parentType;for(n.parentType="list";b<s;){f=R,o=n.eMarks[b];const G=n.sCount[b]+R-(n.bMarks[b]+n.tShift[b]);let I=G;for(;f<o;){const Re=n.src.charCodeAt(f);if(Re===9)I+=4-(I+n.bsCount[b])%4;else if(Re===32)I++;else break;f++}const ae=f;let P;ae>=o?P=1:P=I-G,P>4&&(P=1);const ce=G+P;p=n.push("list_item_open","li",1),p.markup=String.fromCharCode(A);const ke=[b,0];p.map=ke,y&&(p.info=n.src.slice(h,R-1));const Oe=n.tight,je=n.tShift[b],ge=n.sCount[b],W=n.listIndent;if(n.listIndent=n.blkIndent,n.blkIndent=ce,n.tight=!0,n.tShift[b]=ae-n.bMarks[b],n.sCount[b]=I,ae>=o&&n.isEmpty(b+1)?n.line=Math.min(n.line+2,s):n.md.block.tokenize(n,b,s,!0),(!n.tight||K)&&(v=!1),K=n.line-b>1&&n.isEmpty(n.line-1),n.blkIndent=n.listIndent,n.listIndent=W,n.tShift[b]=je,n.sCount[b]=ge,n.tight=Oe,p=n.push("list_item_close","li",-1),p.markup=String.fromCharCode(A),b=n.line,ke[1]=b,b>=s||n.sCount[b]<n.blkIndent||n.sCount[b]-n.blkIndent>=4)break;let lu=!1;for(let Re=0,J=ue.length;Re<J;Re++)if(ue[Re](n,b,s,!0)){lu=!0;break}if(lu)break;if(y){if(R=um(n,b),R<0)break;h=n.bMarks[b]+n.tShift[b]}else if(R=em(n,b),R<0)break;if(A!==n.src.charCodeAt(R-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),Z[1]=b,n.line=b,n.parentType=ee,v&&L4(n,U),!0}const K0=999;function F4(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 cc(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 h=!1;for(let p=0,b=o.length;p<b;p++)if(o[p](n,a,s,!0)){h=!0;break}if(n.parentType=f,h)return-1}return n.bMarks[a]+n.tShift[a]}function B4(n,a,s,r){const o=n.src;let f=n.bMarks[a]+n.tShift[a],h=a+1;if(n.sCount[a]-n.blkIndent>=4||o.charCodeAt(f)!==91)return!1;let p=cc(n,a),b="",v=-1,_=++f;for(;f<p;){if(b.length+f-_>K0*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 I=us(n,h);if(I<0)return!1;b+=o.slice(_,p),f=_=I,p=cc(n,h++);continue}f++}if(v<0||o.charCodeAt(v+1)!==58||(b+=o.slice(_,v),b.length>K0&&F4(b)>K0))return!1;for(f=v+2;f<p;){const G=o.charCodeAt(f);if(G===10){const I=us(n,h);if(I<0)break;f=I,p=cc(n,h++)}else if(Qe(G))f++;else break}const y=n.md.helpers.parseLinkDestination(o,f,p);if(!y.ok)return!1;const C=n.md.normalizeLink(y.str);if(!n.md.validateLink(C))return!1;f=y.pos;const R=f,A=p,U=h;for(;f<p;){const G=o.charCodeAt(f);if(G===10){const I=us(n,h);if(I<0)break;f=I,p=cc(n,h++)}else if(Qe(G))f++;else break}const Z=f;let K=n.md.helpers.parseLinkTitle(o,f,p);for(;K.can_continue;){const G=us(n,h);if(G<0)break;f=G,p=cc(n,h++),K=n.md.helpers.parseLinkTitle(o,f,p,K)}let ue;for(Z!==R&&K.ok?(ue=K.str,f=K.pos):(ue="",f=R,p=A,h=U);f<p;){const G=o.charCodeAt(f);if(!Qe(G))break;f++}if(f<p&&o.charCodeAt(f)!==10&&ue)for(ue="",f=R,p=A,h=U;f<p;){const G=o.charCodeAt(f);if(!Qe(G))break;f++}if(f<p&&o.charCodeAt(f)!==10)return!1;const ee=ds(b);return ee?(r||(typeof n.env.references>"u"&&(n.env.references={}),typeof n.env.references[ee]>"u"&&(n.env.references[ee]={title:ue,href:C}),n.line=h),!0):!1}const H4=["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"],q4="[a-zA-Z_:][a-zA-Z0-9:._-]*",G4="[^\"'=<>`\\x00-\\x20]+",Y4="'[^']*'",V4='"[^"]*"',Z4="(?:"+G4+"|"+Y4+"|"+V4+")",X4="(?:\\s+"+q4+"(?:\\s*=\\s*"+Z4+")?)",Q4="<[A-Za-z][A-Za-z0-9\\-]*"+X4+"*\\s*\\/?>",I4="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Im=new RegExp("^(?:"+Q4+"|"+I4+")"),Pl=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+H4.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Im.source+"\\s*$"),/^$/,!1]];function K4(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 h=n.src.slice(o,f),p=0;for(;p<Pl.length&&!Pl[p][0].test(h);p++);if(p===Pl.length)return!1;if(r)return Pl[p][2];let b=a+1;const v=Pl[p][1].test("");if(!Pl[p][1].test(h)){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],h=n.src.slice(o,f),Pl[p][1].test(h)){h.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 $4(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 h=n.src.charCodeAt(o);if(h!==35||o>=f)return!1;let p=1;for(h=n.src.charCodeAt(++o);h===35&&o<f&&p<=6;)p++,h=n.src.charCodeAt(++o);if(p>6||o<f&&!Qe(h))return!1;if(r)return!0;f=n.skipSpacesBack(f,o);const b=n.skipCharsBack(f,35,o);b>o&&Qe(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=hs(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 J4(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,h,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 R=n.bMarks[p]+n.tShift[p];const A=n.eMarks[p];if(R<A&&(h=n.src.charCodeAt(R),(h===45||h===61)&&(R=n.skipChars(R,h),R=n.skipSpaces(R),R>=A))){f=h===61?1:2;break}}if(n.sCount[p]<0)continue;let C=!1;for(let R=0,A=r.length;R<A;R++)if(r[R](n,p,s,!0)){C=!0;break}if(C)break}if(!f)return n.parentType=o,!1;const b=hs(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(h),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(h),n.parentType=o,!0}function W4(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 h=hs(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=h,b.map=[a,n.line],b.children=[],n.push("paragraph_close","p",-1),n.parentType=o,!0}const ts=[["table",z4,["paragraph","reference"]],["code",j4],["fence",M4,["paragraph","reference","blockquote","list"]],["blockquote",R4,["paragraph","reference","blockquote","list"]],["hr",w4,["paragraph","reference","blockquote","list"]],["list",U4,["paragraph","reference","blockquote"]],["reference",B4],["html_block",K4,["paragraph","reference","blockquote"]],["heading",$4,["paragraph","reference","blockquote"]],["lheading",J4],["paragraph",W4]];function ms(){this.ruler=new ut;for(let n=0;n<ts.length;n++)this.ruler.push(ts[n][0],ts[n][1],{alt:(ts[n][2]||[]).slice()})}ms.prototype.tokenize=function(n,a,s){const r=this.ruler.getRules(""),o=r.length,f=n.md.options.maxNesting;let h=a,p=!1;for(;h<s&&(n.line=h=n.skipEmptyLines(h),!(h>=s||n.sCount[h]<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,h,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),h=n.line,h<s&&n.isEmpty(h)&&(p=!0,h++,n.line=h)}};ms.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)};ms.prototype.State=ln;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 Ut("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 Ut(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 Z=this.src.charCodeAt(n-2);o=(Z&64512)===55296?65536+(Z-55296<<10)+(o-56320):65533}else(o&64512)===55296&&(o=65533);let f=n;for(;f<s&&this.src.charCodeAt(f)===r;)f++;const h=f-n;let p=f<s?this.src.charCodeAt(f):32;if((p&64512)===55296){const Z=this.src.charCodeAt(f+1);p=(Z&64512)===56320?65536+(p-55296<<10)+(Z-56320):65533}else(p&64512)===56320&&(p=65533);const b=xc(o)||yc(o),v=xc(p)||yc(p),_=gc(o),y=gc(p),C=!y&&(!v||_||b),R=!_&&(!b||y||v);return{can_open:C&&(a||!R||b),can_close:R&&(a||!C||v),length:h}};Ec.prototype.Token=Ut;function P4(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 ey(n,a){let s=n.pos;for(;s<n.posMax&&!P4(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(a||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)}function uy(n){return n>=65&&n<=90||n>=97&&n<=122}function ty(n){return n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===43||n===45||n===46}function ny(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&&ty(n.src.charCodeAt(f-1));)f--;if(f===s||!uy(n.src.charCodeAt(f)))return!1;const h=s-f,p=n.md.linkify.matchAtStart(n.src.slice(f));if(!p)return!1;let b=p.url;if(b.length<=h)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,-h);const y=n.push("link_open","a",1);y.attrs=[["href",_]],y.markup="linkify",y.info="auto";const C=n.push("text","",0);C.content=n.md.normalizeLinkText(b);const R=n.push("link_close","a",-1);R.markup="linkify",R.info="auto"}return n.pos+=b.length-h,!0}function ly(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&&Qe(n.src.charCodeAt(s));)s++;return n.pos=s,!0}const Tf=[];for(let n=0;n<256;n++)Tf.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){Tf[n.charCodeAt(0)]=1});function ay(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),!!Qe(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 h="\\"+f;if(!a){const p=n.push("text_special","",0);o<256&&Tf[o]!==0?p.content=f:p.content=h,p.markup=h,p.info="escape"}return n.pos=s+1,!0}function iy(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 h=n.src.slice(o,s),p=h.length;if(n.backticksScanned&&(n.backticks[p]||0)<=o)return a||(n.pending+=h),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=h,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+=h),n.pos+=p,!0}function cy(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 h=String.fromCharCode(r);if(f<2)return!1;let p;f%2&&(p=n.push("text","",0),p.content=h,f--);for(let b=0;b<f;b+=2)p=n.push("text","",0),p.content=h+h,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 tm(n,a){let s;const r=[],o=a.length;for(let f=0;f<o;f++){const h=a[f];if(h.marker!==126||h.end===-1)continue;const p=a[h.end];s=n.tokens[h.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 h=f+1;for(;h<n.tokens.length&&n.tokens[h].type==="s_close";)h++;h--,f!==h&&(s=n.tokens[h],n.tokens[h]=n.tokens[f],n.tokens[f]=s)}}function ry(n){const a=n.tokens_meta,s=n.tokens_meta.length;tm(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&tm(n,a[r].delimiters)}const Km={tokenize:cy,postProcess:ry};function sy(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 h=n.push("text","",0);h.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 nm(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],h=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=h?"strong_open":"em_open",b.tag=h?"strong":"em",b.nesting=1,b.markup=h?p+p:p,b.content="";const v=n.tokens[f.token];v.type=h?"strong_close":"em_close",v.tag=h?"strong":"em",v.nesting=-1,v.markup=h?p+p:p,v.content="",h&&(n.tokens[a[r-1].token].content="",n.tokens[a[o.end+1].token].content="",r--)}}function oy(n){const a=n.tokens_meta,s=n.tokens_meta.length;nm(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&nm(n,a[r].delimiters)}const $m={tokenize:sy,postProcess:oy};function fy(n,a){let s,r,o,f,h="",p="",b=n.pos,v=!0;if(n.src.charCodeAt(n.pos)!==91)return!1;const _=n.pos,y=n.posMax,C=n.pos+1,R=n.md.helpers.parseLinkLabel(n,n.pos,!0);if(R<0)return!1;let A=R+1;if(A<y&&n.src.charCodeAt(A)===40){for(v=!1,A++;A<y&&(s=n.src.charCodeAt(A),!(!Qe(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(h=n.md.normalizeLink(o.str),n.md.validateLink(h)?A=o.pos:h="",b=A;A<y&&(s=n.src.charCodeAt(A),!(!Qe(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),!(!Qe(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=R+1):A=R+1,r||(r=n.src.slice(C,R)),f=n.env.references[ds(r)],!f)return n.pos=_,!1;h=f.href,p=f.title}if(!a){n.pos=C,n.posMax=R;const U=n.push("link_open","a",1),Z=[["href",h]];U.attrs=Z,p&&Z.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 dy(n,a){let s,r,o,f,h,p,b,v,_="";const y=n.pos,C=n.posMax;if(n.src.charCodeAt(n.pos)!==33||n.src.charCodeAt(n.pos+1)!==91)return!1;const R=n.pos+2,A=n.md.helpers.parseLinkLabel(n,n.pos+1,!1);if(A<0)return!1;if(f=A+1,f<C&&n.src.charCodeAt(f)===40){for(f++;f<C&&(s=n.src.charCodeAt(f),!(!Qe(s)&&s!==10));f++);if(f>=C)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<C&&(s=n.src.charCodeAt(f),!(!Qe(s)&&s!==10));f++);if(p=n.md.helpers.parseLinkTitle(n.src,f,n.posMax),f<C&&v!==f&&p.ok)for(b=p.str,f=p.pos;f<C&&(s=n.src.charCodeAt(f),!(!Qe(s)&&s!==10));f++);else b="";if(f>=C||n.src.charCodeAt(f)!==41)return n.pos=y,!1;f++}else{if(typeof n.env.references>"u")return!1;if(f<C&&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(R,A)),h=n.env.references[ds(o)],!h)return n.pos=y,!1;_=h.href,b=h.title}if(!a){r=n.src.slice(R,A);const U=[];n.md.inline.parse(r,n.md,n.env,U);const Z=n.push("image","img",0),K=[["src",_],["alt",""]];Z.attrs=K,Z.children=U,Z.content=r,b&&K.push(["title",b])}return n.pos=f,n.posMax=C,!0}const hy=/^([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])?)*)$/,my=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function py(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 h=n.src.charCodeAt(s);if(h===60)return!1;if(h===62)break}const f=n.src.slice(r+1,s);if(my.test(f)){const h=n.md.normalizeLink(f);if(!n.md.validateLink(h))return!1;if(!a){const p=n.push("link_open","a",1);p.attrs=[["href",h]],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(hy.test(f)){const h=n.md.normalizeLink("mailto:"+f);if(!n.md.validateLink(h))return!1;if(!a){const p=n.push("link_open","a",1);p.attrs=[["href",h]],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 by(n){return/^<a[>\s]/i.test(n)}function gy(n){return/^<\/a\s*>/i.test(n)}function Jm(n){const a=n|32;return a>=97&&a<=122}function yy(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(Jm(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 xy(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=yy(n,r);else if(f===47||Jm(f)){const h=n.src.slice(r).match(Im);o=h?r+h[0].length:-1}else return!1;if(o<0)return!1;if(!a){const h=n.push("html_inline","",0);h.content=n.src.slice(r,o),by(h.content)&&n.linkLevel++,gy(h.content)&&n.linkLevel--}return n.pos=o,!0}const vy=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_y=/^&([a-z][a-z0-9]{1,31});/i;function Ey(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(vy);if(f){if(!a){const h=f[1][0].toLowerCase()==="x"?parseInt(f[1].slice(1),16):parseInt(f[1],10),p=n.push("text_special","",0);p.content=Sf(h)?bc(h):bc(65533),p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}else{const f=n.src.slice(s).match(_y);if(f){const h=q6(f[0]);if(h!==f[0]){if(!a){const p=n.push("text_special","",0);p.content=h,p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}}return!1}function lm(n){const a={},s=n.length;if(!s)return;let r=0,o=-2;const f=[];for(let h=0;h<s;h++){const p=n[h];if(f.push(0),(n[r].marker!==p.marker||o!==p.token-1)&&(r=h),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 C=!1;if((y.close||p.open)&&(y.length+p.length)%3===0&&(y.length%3!==0||p.length%3!==0)&&(C=!0),!C){const R=v>0&&!n[v-1].open?f[v-1]+1:0;f[h]=h-v+R,f[v]=R,p.open=!1,y.end=h,y.close=!1,_=-1,o=-2;break}}}_!==-1&&(a[p.marker][(p.open?3:0)+(p.length||0)%3]=_)}}function Sy(n){const a=n.tokens_meta,s=n.tokens_meta.length;lm(n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&lm(a[r].delimiters)}function Ay(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 $0=[["text",ey],["linkify",ny],["newline",ly],["escape",ay],["backticks",iy],["strikethrough",Km.tokenize],["emphasis",$m.tokenize],["link",fy],["image",dy],["autolink",py],["html_inline",xy],["entity",Ey]],J0=[["balance_pairs",Sy],["strikethrough",Km.postProcess],["emphasis",$m.postProcess],["fragments_join",Ay]];function Sc(){this.ruler=new ut;for(let n=0;n<$0.length;n++)this.ruler.push($0[n][0],$0[n][1]);this.ruler2=new ut;for(let n=0;n<J0.length;n++)this.ruler2.push(J0[n][0],J0[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 h=!1;if(n.level<o){for(let p=0;p<r;p++)if(n.level++,h=s[p](n,!0),n.level--,h){if(a>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}else n.pos=n.posMax;h||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 h=!1;if(n.level<o){for(let p=0;p<s;p++)if(h=a[p](n,!1),h){if(f>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}if(h){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(""),h=f.length;for(let p=0;p<h;p++)f[p](o)};Sc.prototype.State=Ec;function Ty(n){const a={};n=n||{},a.src_Any=Fm.source,a.src_Cc=Bm.source,a.src_Z=qm.source,a.src_P=_f.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 hf(n){return Array.prototype.slice.call(arguments,1).forEach(function(s){s&&Object.keys(s).forEach(function(r){n[r]=s[r]})}),n}function ps(n){return Object.prototype.toString.call(n)}function Dy(n){return ps(n)==="[object String]"}function Cy(n){return ps(n)==="[object Object]"}function Ny(n){return ps(n)==="[object RegExp]"}function am(n){return ps(n)==="[object Function]"}function ky(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Wm={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Oy(n){return Object.keys(n||{}).reduce(function(a,s){return a||Wm.hasOwnProperty(s)},!1)}const zy={"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}}},jy="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]",My="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ry(n){return function(a,s){const r=a.slice(s);return n.test(r)?r.match(n)[0].length:0}}function im(){return function(n,a){a.normalize(n)}}function os(n){const a=n.re=Ty(n.__opts__),s=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||s.push(jy),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,Cy(b)){Ny(b.validate)?v.validate=Ry(b.validate):am(b.validate)?v.validate=b.validate:f(p,b),am(b.normalize)?v.normalize=b.normalize:b.normalize?f(p,b):v.normalize=im();return}if(Dy(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:im()};const h=Object.keys(n.__compiled__).filter(function(p){return p.length>0&&n.__compiled__[p]}).map(ky).join("|");n.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${a.src_ZPCc}))(${h})`,"i"),n.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${a.src_ZPCc}))(${h})`,"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 Pm(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 dt(n,a){if(!(this instanceof dt))return new dt(n,a);a||Oy(n)&&(a=n,n={}),this.__opts__=hf({},Wm,a),this.__schemas__=hf({},zy,n),this.__compiled__={},this.__tlds__=My,this.__tlds_replaced__=!1,this.re={},os(this)}dt.prototype.add=function(a,s){return this.__schemas__[a]=s,os(this),this};dt.prototype.set=function(a){return this.__opts__=hf(this.__opts__,a),this};dt.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)};dt.prototype.pretest=function(a){return this.re.pretest.test(a)};dt.prototype.testSchemaAt=function(a,s,r){return this.__compiled__[s.toLowerCase()]?this.__compiled__[s.toLowerCase()].validate(a,r,this):0};dt.prototype.match=function(a){const s=[],r=[],o=[],f=[];let h,p,b;function v(C,R){return C?R?C.index!==R.index?C.index<R.index?C:R:C.lastIndex>=R.lastIndex?C:R:C:R}if(!a.length)return null;if(this.re.schema_test.test(a))for(b=this.re.schema_search,b.lastIndex=0;(h=b.exec(a))!==null;)p=this.testSchemaAt(a,h[2],b.lastIndex),p&&r.push({schema:h[2],index:h.index+h[1].length,lastIndex:h.index+h[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;(h=b.exec(a))!==null;)o.push({schema:"",index:h.index+h[1].length,lastIndex:h.index+h[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(b=this.re.email_fuzzy_global,b.lastIndex=0;(h=b.exec(a))!==null;)f.push({schema:"mailto:",index:h.index+h[1].length,lastIndex:h.index+h[0].length});const _=[0,0,0];let y=0;for(;;){const C=[r[_[0]],f[_[1]],o[_[2]]],R=v(v(C[0],C[1]),C[2]);if(!R)break;if(R===C[0]?_[0]++:R===C[1]?_[1]++:_[2]++,R.index<y)continue;const A=new Pm(a,R.schema,R.index,R.lastIndex);this.__compiled__[A.schema].normalize(A,this),s.push(A),y=R.lastIndex}return s.length?s:null};dt.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 Pm(a,s[2],s.index+s[1].length,s.index+s[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};dt.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(),os(this),this):(this.__tlds__=a.slice(),this.__tlds_replaced__=!0,os(this),this)};dt.prototype.normalize=function(a){a.schema||(a.url=`http://${a.url}`),a.schema==="mailto:"&&!/^mailto:/i.test(a.url)&&(a.url=`mailto:${a.url}`)};dt.prototype.onCompile=function(){};const ei=2147483647,un=36,Df=1,vc=26,wy=38,Ly=700,ep=72,up=128,tp="-",Uy=/^xn--/,Fy=/[^\0-\x7F]/,By=/[\x2E\u3002\uFF0E\uFF61]/g,Hy={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},W0=un-Df,tn=Math.floor,P0=String.fromCharCode;function gl(n){throw new RangeError(Hy[n])}function qy(n,a){const s=[];let r=n.length;for(;r--;)s[r]=a(n[r]);return s}function np(n,a){const s=n.split("@");let r="";s.length>1&&(r=s[0]+"@",n=s[1]),n=n.replace(By,".");const o=n.split("."),f=qy(o,a).join(".");return r+f}function lp(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 Gy=n=>String.fromCodePoint(...n),Yy=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:un},cm=function(n,a){return n+22+75*(n<26)-((a!=0)<<5)},ap=function(n,a,s){let r=0;for(n=s?tn(n/Ly):n>>1,n+=tn(n/a);n>W0*vc>>1;r+=un)n=tn(n/W0);return tn(r+(W0+1)*n/(n+wy))},ip=function(n){const a=[],s=n.length;let r=0,o=up,f=ep,h=n.lastIndexOf(tp);h<0&&(h=0);for(let p=0;p<h;++p)n.charCodeAt(p)>=128&&gl("not-basic"),a.push(n.charCodeAt(p));for(let p=h>0?h+1:0;p<s;){const b=r;for(let _=1,y=un;;y+=un){p>=s&&gl("invalid-input");const C=Yy(n.charCodeAt(p++));C>=un&&gl("invalid-input"),C>tn((ei-r)/_)&&gl("overflow"),r+=C*_;const R=y<=f?Df:y>=f+vc?vc:y-f;if(C<R)break;const A=un-R;_>tn(ei/A)&&gl("overflow"),_*=A}const v=a.length+1;f=ap(r-b,v,b==0),tn(r/v)>ei-o&&gl("overflow"),o+=tn(r/v),r%=v,a.splice(r++,0,o)}return String.fromCodePoint(...a)},cp=function(n){const a=[];n=lp(n);const s=n.length;let r=up,o=0,f=ep;for(const b of n)b<128&&a.push(P0(b));const h=a.length;let p=h;for(h&&a.push(tp);p<s;){let b=ei;for(const _ of n)_>=r&&_<b&&(b=_);const v=p+1;b-r>tn((ei-o)/v)&&gl("overflow"),o+=(b-r)*v,r=b;for(const _ of n)if(_<r&&++o>ei&&gl("overflow"),_===r){let y=o;for(let C=un;;C+=un){const R=C<=f?Df:C>=f+vc?vc:C-f;if(y<R)break;const A=y-R,U=un-R;a.push(P0(cm(R+A%U,0))),y=tn(A/U)}a.push(P0(cm(y,0))),f=ap(o,v,p===h),o=0,++p}++o,++r}return a.join("")},Vy=function(n){return np(n,function(a){return Uy.test(a)?ip(a.slice(4).toLowerCase()):a})},Zy=function(n){return np(n,function(a){return Fy.test(a)?"xn--"+cp(a):a})},rp={version:"2.3.1",ucs2:{decode:lp,encode:Gy},decode:ip,encode:cp,toASCII:Zy,toUnicode:Vy},Xy={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Qy={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"]}}},Iy={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"]}}},Ky={default:Xy,zero:Qy,commonmark:Iy},$y=/^(vbscript|javascript|file|data):/,Jy=/^data:image\/(gif|png|jpeg|webp);/;function Wy(n){const a=n.trim().toLowerCase();return $y.test(a)?Jy.test(a):!0}const sp=["http:","https:","mailto:"];function Py(n){const a=vf(n,!0);if(a.hostname&&(!a.protocol||sp.indexOf(a.protocol)>=0))try{a.hostname=rp.toASCII(a.hostname)}catch{}return _c(xf(a))}function ex(n){const a=vf(n,!0);if(a.hostname&&(!a.protocol||sp.indexOf(a.protocol)>=0))try{a.hostname=rp.toUnicode(a.hostname)}catch{}return ti(xf(a),ti.defaultChars+"%")}function Dt(n,a){if(!(this instanceof Dt))return new Dt(n,a);a||Ef(n)||(a=n||{},n="default"),this.inline=new Sc,this.block=new ms,this.core=new Af,this.renderer=new li,this.linkify=new dt,this.validateLink=Wy,this.normalizeLink=Py,this.normalizeLinkText=ex,this.utils=l4,this.helpers=fs({},r4),this.options={},this.configure(n),a&&this.set(a)}Dt.prototype.set=function(n){return fs(this.options,n),this};Dt.prototype.configure=function(n){const a=this;if(Ef(n)){const s=n;if(n=Ky[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 rm(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 ux(n){if(Array.isArray(n))return n}function tx(n,a){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var r,o,f,h,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&&(h=s.return(),Object(h)!==h))return}finally{if(v)throw o}}return p}}function nx(){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 lx(n,a){return ux(n)||tx(n,a)||ax(n,a)||nx()}function ax(n,a){if(n){if(typeof n=="string")return rm(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)?rm(n,a):void 0}}const op=Object.entries,sm=Object.setPrototypeOf,ix=Object.isFrozen,fp=Object.getPrototypeOf,dp=Object.getOwnPropertyDescriptor;let vu=Object.freeze,Ou=Object.seal,Wa=Object.create,hp=typeof Reflect<"u"&&Reflect,mf=hp.apply,pf=hp.construct;vu||(vu=function(a){return a});Ou||(Ou=function(a){return a});mf||(mf=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)});pf||(pf=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=$e(Array.prototype.forEach),cx=$e(Array.prototype.lastIndexOf),om=$e(Array.prototype.pop),rc=$e(Array.prototype.push),rx=$e(Array.prototype.slice),sx=$e(Array.prototype.splice),ui=Array.isArray,ef=mp(Set),uf=$e(Set.prototype.add),sc=$e(Set.prototype.has),ea=$e(String.prototype.toLowerCase),tf=$e(String.prototype.toString),fm=$e(String.prototype.match),oc=$e(String.prototype.replace),dm=$e(String.prototype.indexOf),ox=$e(String.prototype.trim),fx=$e(Number.prototype.toString),dx=$e(Boolean.prototype.toString),hm=typeof BigInt>"u"?null:$e(BigInt.prototype.toString),mm=typeof Symbol>"u"?null:$e(Symbol.prototype.toString),et=$e(Object.prototype.hasOwnProperty),fc=$e(Object.prototype.toString),ku=$e(RegExp.prototype.test),Dn=mp(TypeError);function $e(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 mf(n,a,r)}}function mp(n){return function(){for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];return pf(n,s)}}function we(n,a){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ea;if(sm&&sm(n,null),!ui(a))return n;let r=a.length;for(;r--;){let o=a[r];if(typeof o=="string"){const f=s(o);f!==o&&(ix(a)||(a[r]=f),o=f)}n[o]=!0}return n}function hx(n){for(let a=0;a<n.length;a++)et(n,a)||(n[a]=null);return n}function ft(n){const a=Wa(null);for(const r of op(n)){var s=lx(r,2);const o=s[0],f=s[1];et(n,o)&&(ui(f)?a[o]=hx(f):f&&typeof f=="object"&&f.constructor===Object?a[o]=ft(f):a[o]=f)}return a}function mx(n){switch(typeof n){case"string":return n;case"number":return fx(n);case"boolean":return dx(n);case"bigint":return hm?hm(n):"0";case"symbol":return mm?mm(n):"Symbol()";case"undefined":return fc(n);case"function":case"object":{if(n===null)return fc(n);const a=n,s=Tt(a,"toString");if(typeof s=="function"){const r=s(a);return typeof r=="string"?r:fc(r)}return fc(n)}default:return fc(n)}}function Tt(n,a){for(;n!==null;){const r=dp(n,a);if(r){if(r.get)return $e(r.get);if(typeof r.value=="function")return $e(r.value)}n=fp(n)}function s(){return null}return s}function px(n,a){for(;n!==null;){const s=dp(n,a);if(s)return s.get?$e(s.get):null;n=fp(n)}return null}function bx(n){try{return ku(n,""),!0}catch{return!1}}const pm=vu(["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"]),nf=vu(["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"]),lf=vu(["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"]),gx=vu(["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"]),af=vu(["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"]),yx=vu(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),bm=vu(["#text"]),gm=vu(["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"]),cf=vu(["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"]),ym=vu(["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=vu(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),xx=Ou(/{{[\w\W]*|^[\w\W]*}}/g),vx=Ou(/<%[\w\W]*|^[\w\W]*%>/g),_x=Ou(/\${[\w\W]*/g),Ex=Ou(/^data-[\-\w.\u00B7-\uFFFF]+$/),Sx=Ou(/^aria-[\-\w]+$/),xm=Ou(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ax=Ou(/^(?:\w+script|data):/i),Tx=Ou(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dx=Ou(/^html$/i),Cx=Ou(/^[a-z][.\w]*(-[.\w]+)+$/i),rf=Ou(/<[/\w!]/g),vm=Ou(/<[/\w]/g),Nx=Ou(/<\/no(script|embed|frames)/i),_m=Ou(/\/>/i),ou={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},kx=vu(we({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),Ox=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(h){return h},createScriptURL(h){return h}})}catch{return console.warn("TrustedTypes policy "+f+" could not be created."),null}},Em=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},bl=function(a,s,r,o){return et(a,s)&&ui(a[s])?we(o.base?ft(o.base):{},a[s],o.transform):r},sf=function(a,s,r){const o=et(a,s)?a[s]:void 0;return o&&typeof o=="object"?ft(o):r()};function pp(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ox();const a=q=>pp(q);if(a.version="3.4.17",a.removed=[],!n||!n.document||n.document.nodeType!==ou.document||!n.Element)return a.isSupported=!1,a;let s=n.document;const r=s,o=r.currentScript;n.DocumentFragment;const f=n.HTMLTemplateElement,h=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,C=Tt(y,"cloneNode"),R=Tt(y,"remove"),A=Tt(y,"removeAttributeNode"),U=Tt(y,"nextSibling"),Z=Tt(y,"childNodes"),K=Tt(y,"parentNode"),ue=Tt(y,"shadowRoot"),ee=Tt(y,"attributes"),G=h&&h.prototype?Tt(h.prototype,"nodeType"):null,I=h&&h.prototype?Tt(h.prototype,"nodeName"):null,ae=h&&h.prototype?Tt(h.prototype,"ownerDocument"):null,P=function(x){return G?G(x):x.nodeType},ce=function(x){return I?I(x):x.nodeName},ke=px(y,"namespaceURI"),Oe=function(x){return ke?ke(x):x.namespaceURI};if(typeof f=="function"){const q=s.createElement("template");q.content&&q.content.ownerDocument&&(s=q.content.ownerDocument)}let je,ge="",W,lu=!1,Re=0;const J=function(){if(Re>0)throw Dn('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.')},re=function(x){J(),Re++;try{return je.createHTML(x)}finally{Re--}},oe=function(x){J(),Re++;try{return je.createScriptURL(x)}finally{Re--}},Le=function(){return lu||(W=zx(_,o),lu=!0),W},Ae=s,Ie=Ae.implementation,_u=Ae.createNodeIterator,Ct=Ae.createDocumentFragment,T=Ae.getElementsByTagName,Y=r.importNode;let Q=Em();a.isSupported=typeof op=="function"&&typeof K=="function"&&Ie&&Ie.createHTMLDocument!==void 0;const F=xx,V=vx,fe=_x,Ee=Ex,le=Sx,pe=Ax,ht=Tx,ai=Cx;let an=xm,ze=null;const uu=we({},[...pm,...nf,...lf,...af,...bm]);let de=null;const Zu=we({},[...gm,...cf,...ym,...ns]);let zu=Object.seal(Wa(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}})),Xu=null,_l=null;const tt=Object.seal(Wa(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let cn=!0,El=!0,Sl=!1,Al=!0,mt=!1,ju=!0,Nt=!1,Tl=!1,ta=null,Dl=null,Cl=!1,Ft=!1,Nn=!1,na=!1,Ac=!0,Mu=!1;const Tc="user-content-";let la=!0,aa=!1,pt=null,kn={},Bt=null;const Dc=we({},["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 Cc=null;const On=we({},["audio","video","img","source","image","track"]);let Ru=null;const kt=we({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),mu="http://www.w3.org/1998/Math/MathML",ia="http://www.w3.org/2000/svg",bt="http://www.w3.org/1999/xhtml";let zn=bt,jn=!1,Mn=null;const ca=we({},[mu,ia,bt],tf),Ht=vu(["mi","mo","mn","ms","mtext"]);let Rn=we({},Ht);const wn=vu(["annotation-xml"]);let ra=we({},wn);const gs=we({},["title","style","font","a","script"]);let Ln=null;const ii=["application/xhtml+xml","text/html"],Nl="text/html";let Je=null,rn=null;const Nc=s.createElement("form"),ci=function(x){return x instanceof RegExp||x instanceof Function},kl=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(rn&&rn===x)return;(!x||typeof x!="object")&&(x={}),x=ft(x),Ln=ii.indexOf(x.PARSER_MEDIA_TYPE)===-1?Nl:x.PARSER_MEDIA_TYPE,Je=Ln==="application/xhtml+xml"?tf:ea,ze=bl(x,"ALLOWED_TAGS",uu,{transform:Je}),de=bl(x,"ALLOWED_ATTR",Zu,{transform:Je}),Mn=bl(x,"ALLOWED_NAMESPACES",ca,{transform:tf}),Ru=bl(x,"ADD_URI_SAFE_ATTR",kt,{transform:Je,base:kt}),Cc=bl(x,"ADD_DATA_URI_TAGS",On,{transform:Je,base:On}),Bt=bl(x,"FORBID_CONTENTS",Dc,{transform:Je}),Xu=bl(x,"FORBID_TAGS",ft({}),{transform:Je}),_l=bl(x,"FORBID_ATTR",ft({}),{transform:Je}),kn=et(x,"USE_PROFILES")?x.USE_PROFILES&&typeof x.USE_PROFILES=="object"?ft(x.USE_PROFILES):x.USE_PROFILES:!1,cn=x.ALLOW_ARIA_ATTR!==!1,El=x.ALLOW_DATA_ATTR!==!1,Sl=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Al=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,mt=x.SAFE_FOR_TEMPLATES||!1,ju=x.SAFE_FOR_XML!==!1,Nt=x.WHOLE_DOCUMENT||!1,Ft=x.RETURN_DOM||!1,Nn=x.RETURN_DOM_FRAGMENT||!1,na=x.RETURN_TRUSTED_TYPE||!1,Cl=x.FORCE_BODY||!1,Ac=x.SANITIZE_DOM!==!1,Mu=x.SANITIZE_NAMED_PROPS||!1,la=x.KEEP_CONTENT!==!1,aa=x.IN_PLACE||!1,an=bx(x.ALLOWED_URI_REGEXP)?x.ALLOWED_URI_REGEXP:xm,zn=typeof x.NAMESPACE=="string"?x.NAMESPACE:bt,Rn=sf(x,"MATHML_TEXT_INTEGRATION_POINTS",()=>we({},Ht)),ra=sf(x,"HTML_INTEGRATION_POINTS",()=>we({},wn));const D=sf(x,"CUSTOM_ELEMENT_HANDLING",()=>Wa(null));if(zu=Wa(null),et(D,"tagNameCheck")&&ci(D.tagNameCheck)&&(zu.tagNameCheck=D.tagNameCheck),et(D,"attributeNameCheck")&&ci(D.attributeNameCheck)&&(zu.attributeNameCheck=D.attributeNameCheck),et(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(zu.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),Ou(zu),mt&&(El=!1),Nn&&(Ft=!0),kn&&(ze=we({},bm),de=Wa(null),kn.html===!0&&(we(ze,pm),we(de,gm)),kn.svg===!0&&(we(ze,nf),we(de,cf),we(de,ns)),kn.svgFilters===!0&&(we(ze,lf),we(de,cf),we(de,ns)),kn.mathMl===!0&&(we(ze,af),we(de,ym),we(de,ns))),tt.tagCheck=null,tt.attributeCheck=null,et(x,"ADD_TAGS")&&(typeof x.ADD_TAGS=="function"?tt.tagCheck=x.ADD_TAGS:ui(x.ADD_TAGS)&&(ze===uu&&(ze=ft(ze)),we(ze,x.ADD_TAGS,Je))),et(x,"ADD_ATTR")&&(typeof x.ADD_ATTR=="function"?tt.attributeCheck=x.ADD_ATTR:ui(x.ADD_ATTR)&&(de===Zu&&(de=ft(de)),we(de,x.ADD_ATTR,Je))),et(x,"ADD_FORBID_CONTENTS")&&ui(x.ADD_FORBID_CONTENTS)&&(Bt===Dc&&(Bt=ft(Bt)),we(Bt,x.ADD_FORBID_CONTENTS,Je)),la&&(ze["#text"]=!0),Nt&&we(ze,["html","head","body"]),ze.table&&(we(ze,["tbody"]),delete Xu.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw Dn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Dn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const H=je;je=x.TRUSTED_TYPES_POLICY;try{ge=re("")}catch(B){throw je=H,B}}else x.TRUSTED_TYPES_POLICY===null?(je=void 0,ge=""):(je===void 0&&(je=Le()),je&&typeof ge=="string"&&(ge=re("")));vu&&vu(x),rn=x},sa=we({},[...nf,...lf,...gx]),ri=we({},[...af,...yx]),kc=function(x,D,H){return D.namespaceURI===bt?x==="svg":D.namespaceURI===mu?x==="svg"&&(H==="annotation-xml"||Rn[H]):!!sa[x]},Ot=function(x,D,H){return D.namespaceURI===bt?x==="math":D.namespaceURI===ia?x==="math"&&ra[H]:!!ri[x]},fu=function(x,D,H){return D.namespaceURI===ia&&!ra[H]||D.namespaceURI===mu&&!Rn[H]?!1:!ri[x]&&(gs[x]||!sa[x])},wu=function(x){const D=Oe(x),H=ea(ce(x)),B=K(x);let ie,he;return B&&P(B)===ou.element?(ie={namespaceURI:Oe(B)},he=ea(ce(B))):(ie={namespaceURI:zn},he="template"),Mn[D]?D===ia?kc(H,ie,he):D===mu?Ot(H,ie,he):D===bt?fu(H,ie,he):!!(Ln==="application/xhtml+xml"&&Mn[D]):!1},Fu=function(x){rc(a.removed,{element:x});try{K(x).removeChild(x)}catch{if(R(x),!K(x))throw Dn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},si=function(x,D,H){try{A(x,D)}catch{try{x.removeAttribute(H)}catch{}}},oi=function(x){Fn(x);const D=Z(x);D&&Tn(rx(D),B=>{try{R(B)}catch{}});const H=P(x)===ou.element?ee(x):null;if(H)for(let B=H.length-1;B>=0;--B){const ie=H[B],he=ie&&ie.name;typeof he=="string"&&si(x,ie,he)}},Un=function(x,D,H){if(!H)try{H=D.getAttributeNode(x)}catch{H=null}rc(a.removed,{attribute:H||null,from:D});try{H?A(D,H):D.removeAttribute(x)}catch{try{D.removeAttribute(x)}catch{}}if(x==="is")if(Ft||Nn)try{Fu(D)}catch{}else try{D.setAttribute(x,"")}catch{}},fi=function(x){const D=ee(x);if(D)for(let H=D.length-1;H>=0;--H){const B=D[H],ie=B&&B.name;typeof ie!="string"||de[Je(ie)]||si(x,B,ie)}},sn=function(x,D){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const B=[x];for(;B.length>0;){const ie=B.pop();if(D(ie)===!1)continue;if(H&&P(ie)===ou.element){const ye=ue(ie);_e(ye)&&B.push(ye)}const he=Z(ie);if(he)for(let ye=he.length-1;ye>=0;--ye)B.push(he[ye])}},Fn=function(x){sn(x,D=>{P(D)===ou.element&&fi(D)})},Bn=function(x){const D=[];return sn(x,H=>{D.push(H)},!0),D},on=function(x,D){const H=ef();Tn(Bn(x),B=>{P(B)===ou.element&&uf(H,B)}),Tn(D,B=>{P(B)===ou.element&&!sc(H,B)&&fi(B)})},fn=function(x,D){let H=!1;return Tn(a.removed,B=>{B.element&&(H=H||B.element===x,Fn(B.element))}),on(x,D),H},Ol=8,Hn=function(x,D){const H=pt;let B=null;const ie=()=>(B||(B=ef(),Tn(D,he=>{uf(B,he)})),B);for(let he=0;;he++){const ye=Bn(x),Fe=[x];let Iu=!1;if(Tn(ye,du=>{P(du)===ou.documentFragment?rc(Fe,du):!Iu&&!sc(H,du)&&(Iu=sc(ie(),du))}),!Iu)return;if(he>=Ol)throw Dn("the tree kept changing during in-place sanitization; refusing to return it");Tn(Fe,(du,tu)=>{au(du,tu>0,x,ie())})}},au=function(x,D,H,B){const ie=Gt(x);let he;for(;he=ie.nextNode();)!sc(B,he)||sc(pt,he)||(D&&Lu(Q.uponSanitizeShadowNode,he,null),zl(he,H),Yt(he,H),_e(he.content)&&Yn(he.content))},Oc=function(x){pt&&uf(pt,x)},di=function(x,D){return ju?x==="patchsrc"?!0:x==="for"&&D!=="label"&&D!=="output":!1},zc=function(x){ju&&sn(x,D=>{const H=P(D);if(H===ou.processingInstruction||H===ou.comment&&ku(vm,D.data)){try{R(D)}catch{}return!1}if(H===ou.element){const B=D,ie=Je(ce(D));try{B.hasAttribute&&B.hasAttribute("patchsrc")&&B.removeAttribute("patchsrc"),B.hasAttribute&&B.hasAttribute("for")&&di("for",ie)&&B.removeAttribute("for")}catch{}}return!0})},qt=function(x){let D=null,H=null;if(Cl)x="<remove></remove>"+x;else{const he=fm(x,/^[\r\n\t ]+/);H=he&&he[0]}Ln==="application/xhtml+xml"&&zn===bt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const B=je?re(x):x;if(zn===bt)try{D=new v().parseFromString(B,Ln)}catch{}if(!D||!D.documentElement){D=Ie.createDocument(zn,"template",null);try{D.documentElement.innerHTML=jn?ge:B}catch{}}const ie=D.body||D.documentElement;return x&&H&&ie.insertBefore(s.createTextNode(H),ie.childNodes[0]||null),zn===bt?T.call(D,Nt?"html":"body")[0]:Nt?D.documentElement:ie},Gt=function(x){const D=ae?ae(x):x.ownerDocument;return _u.call(D||x,x,b.SHOW_ELEMENT|b.SHOW_COMMENT|b.SHOW_TEXT|b.SHOW_PROCESSING_INSTRUCTION|b.SHOW_CDATA_SECTION,null)},oa=function(x){return x=oc(x,F," "),x=oc(x,V," "),x=oc(x,fe," "),x},fa=function(x){var D;hi(x);const H=(D=x.querySelectorAll)===null||D===void 0?void 0:D.call(x,"template");H&&Tn(H,B=>{_e(B.content)&&fa(B.content)})},hi=function(x){x.normalize();const D=ae?ae(x):x.ownerDocument,H=_u.call(D||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=oa(B.data),B=H.nextNode()},da=function(x){const D=I?I(x):null;return typeof D!="string"||Je(D)!=="form"?!1:typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||x.attributes!==ee(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!==Z(x)},_e=function(x){if(!G||typeof x!="object"||x===null)return!1;try{return G(x)===ou.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 Lu(q,x,D){q.length!==0&&Tn(q,H=>{H.call(a,x,D,rn)})}const ha=function(x,D){return!!(ju&&x.hasChildNodes()&&!qn(x.firstElementChild)&&ku(rf,x.textContent)&&ku(rf,x.innerHTML)||ju&&kx[D]&&P(x)===ou.element&&Oe(x)===bt&&(qn(x.firstElementChild)||typeof x.textContent=="string"&&ku(rf,x.textContent))||x.nodeType===ou.processingInstruction||ju&&x.nodeType===ou.comment&&ku(vm,x.data))},Qu=function(x,D){if(x instanceof RegExp)return ku(x,D);if(x instanceof Function){for(var H=arguments.length,B=new Array(H>2?H-2:0),ie=2;ie<H;ie++)B[ie-2]=arguments[ie];return!!x(D,...B)}return!1},Bu=function(x,D,H){if(!Xu[D]&&Hu(D)&&Qu(zu.tagNameCheck,D))return!1;if(la&&!Bt[D]&&!Bt[ea(D)]){const B=K(x),ie=Z(x);if(ie&&B){const he=ie.length;for(let ye=he-1;ye>=0;--ye){const Fe=x===H?C(ie[ye],!0):ie[ye];B.insertBefore(Fe,U(x))}}}return Fu(x),!0},mi=function(x,D,H,B){return x.length===0?D:D===H||D===B?ft(D):D},Gn=function(x,D){return x===D||K(x)!==null?!1:(aa&&Fn(x),!0)},zl=function(x,D){if(Oc(x),Lu(Q.beforeSanitizeElements,x,null),Gn(x,D))return!0;if(da(x))return Fu(x),!0;const H=Je(ce(x));if(ze=mi(Q.uponSanitizeElement,ze,uu,ta),Lu(Q.uponSanitizeElement,x,{tagName:H,allowedTags:ze}),Gn(x,D))return!0;if(ha(x,H))return Fu(x),!0;if(Xu[H]||!(tt.tagCheck instanceof Function&&tt.tagCheck(H))&&!ze[H]){const B=Bu(x,H,D);return B===!1&&(Lu(Q.afterSanitizeElements,x,null),Gn(x,D))?!0:B}if(P(x)===ou.element&&!wu(x)||(H==="noscript"||H==="noembed"||H==="noframes")&&ku(Nx,x.innerHTML))return Fu(x),!0;if(mt&&x.nodeType===ou.text){const B=oa(x.textContent);x.textContent!==B&&(rc(a.removed,{element:x.cloneNode()}),x.textContent=B)}return Lu(Q.afterSanitizeElements,x,null),Gn(x,D)},pi=function(x,D,H){if(_l[D]||di(D,x)||Ac&&(D==="id"||D==="name")&&(H in s||H in Nc))return!1;const B=de[D]||tt.attributeCheck instanceof Function&&tt.attributeCheck(D,x);return El&&ku(Ee,D)||cn&&ku(le,D)?!0:B?Ru[D]||ku(an,oc(H,ht,""))||(D==="src"||D==="xlink:href"||D==="href")&&x!=="script"&&dm(H,"data:")===0&&Cc[x]||Sl&&!ku(pe,oc(H,ht,""))?!0:!H:Hu(x)&&Qu(zu.tagNameCheck,x)&&Qu(zu.attributeNameCheck,D,x)||D==="is"&&zu.allowCustomizedBuiltInElements&&Qu(zu.tagNameCheck,H)},ys=we({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Hu=function(x){return!ys[ea(x)]&&ku(ai,x)},bi=function(x,D,H,B){if(je&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!H)switch(_.getAttributeType(x,D)){case"TrustedHTML":return re(B);case"TrustedScriptURL":return oe(B)}return B},jc=function(x,D,H,B){try{return H?x.setAttributeNS(H,D,B):x.setAttribute(D,B),da(x)?(Fu(x),!1):!0}catch{return Un(D,x),!1}},ma=function(x,D){return ju&&ku(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,D)?!0:ea(x)==="attributename"&&fm(D,"href")!==null},Yt=function(x,D){if(Lu(Q.beforeSanitizeAttributes,x,null),Gn(x,D))return;const H=x.attributes;if(!H||da(x))return;de=mi(Q.uponSanitizeAttribute,de,Zu,Dl);const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:de,forceKeepAttr:void 0};let ie=H.length;const he=Je(x.nodeName);for(;ie--;){const ye=H[ie],Fe=ye.name,Iu=ye.namespaceURI,du=ye.value,tu=Je(Fe),nt=du;let Eu=Fe==="value"?nt:ox(nt),ba=!1;if(B.attrName=tu,B.attrValue=Eu,B.keepAttr=!0,B.forceKeepAttr=void 0,Lu(Q.uponSanitizeAttribute,x,B),Eu=B.attrValue,Mu&&(tu==="id"||tu==="name")&&dm(Eu,Tc)!==0&&(Un(Fe,x,ye),Eu=Tc+Eu,ba=!0),ma(Fe,Eu)){Un(Fe,x,ye);continue}if(!B.forceKeepAttr){if(!B.keepAttr){Un(Fe,x,ye);continue}if(!Al&&ku(_m,Eu)){Un(Fe,x,ye);continue}if(mt&&(Eu=oa(Eu)),!pi(he,tu,Eu)){Un(Fe,x,ye);continue}Eu=bi(he,tu,Iu,Eu),Eu!==nt&&jc(x,Fe,Iu,Eu)&&ba&&om(a.removed)}}Lu(Q.afterSanitizeAttributes,x,null),Gn(x,D)},Yn=function(x){let D=null;const H=Gt(x);for(Lu(Q.beforeSanitizeShadowDOM,x,null);D=H.nextNode();)if(Lu(Q.uponSanitizeShadowNode,D,null),zl(D,x),Yt(D,x),_e(D.content)&&Yn(D.content),P(D)===ou.element){const B=ue(D);_e(B)&&(pa(B),Yn(B))}mt&&hi(x),Lu(Q.afterSanitizeShadowDOM,x,null)},pa=function(x){const D=[{node:x,shadow:null}];for(;D.length>0;){const H=D.pop();if(H.shadow){Yn(H.shadow);continue}const B=H.node,ie=P(B)===ou.element,he=Z(B);if(he)for(let ye=he.length-1;ye>=0;--ye)D.push({node:he[ye],shadow:null});if(ie){const ye=I?I(B):null;if(typeof ye=="string"&&Je(ye)==="template"){const Fe=B.content;_e(Fe)&&D.push({node:Fe,shadow:null})}}if(ie){const ye=ue(B);_e(ye)&&D.push({node:null,shadow:ye},{node:ye,shadow:null})}}};return a.sanitize=function(q){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,H=null,B=null,ie=null;if(jn=!q,jn&&(q="<!-->"),typeof q!="string"&&!qn(q)&&(q=mx(q),typeof q!="string"))throw Dn("dirty is not a string, aborting");if(!a.isSupported)return q;Tl?(ze=ta,de=Dl):kl(x),(Q.uponSanitizeElement.length>0||Q.uponSanitizeAttribute.length>0)&&(ze=ft(ze)),Q.uponSanitizeAttribute.length>0&&(de=ft(de)),a.removed=[];const he=aa&&typeof q!="string"&&qn(q);let ye=[];const Fe=pt;if(he){zc(q);const tu=ce(q);if(typeof tu=="string"){const nt=Je(tu);if(!ze[nt]||Xu[nt])throw oi(q),Dn("root node is forbidden and cannot be sanitized in-place")}if(da(q))throw oi(q),Dn("root node is clobbered and cannot be sanitized in-place");ye=Bn(q),pt=ef()}else if(qn(q))D=qt("<!---->"),H=D.ownerDocument.importNode(q,!0),H.nodeType===ou.element&&H.nodeName==="BODY"||H.nodeName==="HTML"?D=H:D.appendChild(H),pa(D);else{if(!Ft&&!mt&&!Nt&&q.indexOf("<")===-1)return je&&na?re(q):q;if(D=qt(q),!D)return Ft?null:na?ge:""}D&&Cl&&Fu(D.firstChild);const Iu=he?q:D;try{he&&pa(q);const tu=Gt(Iu);for(;B=tu.nextNode();)zl(B,Iu),Yt(B,Iu),_e(B.content)&&Yn(B.content);he&&Hn(q,ye)}catch(tu){throw he&&(oi(q),fn(q,ye)),tu}finally{pt=Fe}if(he){if(fn(q,ye))throw Dn("a node selected for removal could not be safely returned; refusing to sanitize in place");return mt&&fa(q),q}if(Ft){if(mt&&fa(D),Nn)for(ie=Ct.call(D.ownerDocument);D.firstChild;)ie.appendChild(D.firstChild);else ie=D;return(de.shadowroot||de.shadowrootmode)&&(ie=Y.call(r,ie,!0)),ie}let du=Nt?D.outerHTML:D.innerHTML;return Nt&&ze["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&ku(Dx,D.ownerDocument.doctype.name)&&(du="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
|
|
35
|
-
`+du),mt&&(du=oa(du)),je&&na?re(du):du},a.setConfig=function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};kl(q),Tl=!0,ta=ze,Dl=de},a.clearConfig=function(){rn=null,Tl=!1,ta=null,Dl=null,je=W,ge=""},a.isValidAttribute=function(q,x,D){rn||kl({});const H=Je(q),B=Je(x);return typeof D=="string"&&(ma(x,D)||!Al&&ku(_m,D))?!1:pi(H,B,D)},a.addHook=function(q,x){typeof x=="function"&&et(Q,q)&&rc(Q[q],x)},a.removeHook=function(q,x){if(et(Q,q)){if(x!==void 0){const D=cx(Q[q],x);return D===-1?void 0:sx(Q[q],D,1)[0]}return om(Q[q])}},a.removeHooks=function(q){et(Q,q)&&(Q[q]=[])},a.removeAllHooks=function(){Q=Em()},a}var jx=pp();let of;function Mx(){if(of)return of;const n=jx,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"))}),of=s,s}const Rx=new Dt({html:!1,linkify:!0,breaks:!1,typographer:!1});function wx(n){return n?Mx().sanitize(Rx.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 Sm({text:n,streaming:a=!1}){const s=X.useMemo(()=>wx(n),[n]);return m.jsx("div",{className:"prose",dangerouslySetInnerHTML:{__html:s},"data-streaming":a||void 0})}const Lx=X.memo(function({code:a,lang:s}){const[r,o]=X.useState(void 0),[f,h]=X.useState("pending");X.useEffect(()=>{if(s.length===0){h("unavailable");return}let b=!0;return o6(a,s).then(v=>{b&&(o(v),h(v?"highlighted":"unavailable"))}),()=>{b=!1}},[a,s]);const p=r&&r.lang.toLowerCase()===s.toLowerCase();return m.jsxs("div",{className:"code-block",children:[s.length>0&&m.jsxs("div",{className:"code-lang",children:[s,f==="unavailable"&&m.jsx("span",{className:"code-lang-note",children:" · not highlighted"})]}),p?m.jsx("div",{className:"code-body","data-lang":s,children:d6(r)}):m.jsx("pre",{className:"code-plain",children:m.jsx("code",{children:a})})]})}),Ux=X.memo(function({text:a,streaming:s=!1}){const r=X.useMemo(()=>m6(a),[a]),o=X.useMemo(()=>p6(r),[r]);return r.some(h=>h.kind==="code")?m.jsx("div",{className:"prose","data-streaming":s||void 0,"data-has-code":o.length>0||void 0,children:r.map((h,p)=>h.kind==="prose"?h.text.trim().length===0?null:m.jsx(Sm,{text:h.text},`p${p}`):m.jsx(Lx,{code:h.code,lang:h.lang},`c${p}`))}):m.jsx(Sm,{text:a,streaming:s})});function Fx(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: ${rs(s)} → ${rs(r)} tokens.`:"Context compacted."}function Bx(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 Hx({notice:n}){const a=Mg(n);if(n.kind==="compaction"){const r=Bx(n.reason);return m.jsxs("div",{className:"run-notice","data-kind":"compaction","data-open":a||void 0,children:[m.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:a?"◐":n.ended?.aborted||n.ended?.errorMessage?"✕":"✓"}),m.jsx("span",{className:"notice-text",children:Fx(n)}),a&&r!==void 0&&m.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?m.jsxs("div",{className:"run-notice","data-kind":"retry",children:[m.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:r.success?"✓":"✕"}),m.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}`})]}):m.jsxs("div",{className:"run-notice","data-kind":"retry","data-open":!0,children:[m.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:"↻"}),m.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 m.jsxs("div",{className:"run-notice","data-kind":"summarization","data-open":a||void 0,children:[m.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:n.finished?"✓":"↻"}),m.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 qx({notices:n}){return n===void 0||n.length===0?null:m.jsx("div",{className:"run-notices",children:n.map((a,s)=>m.jsx(Hx,{notice:a},`${a.kind}-${s}`))})}const Gx=80;function Yx(n,a=Gx){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 Vx({transcript:n,busy:a,sessionLabel:s,expectedCount:r=0,loading:o=!1,onOpenTool:f,showMarkers:h=!0,historyError:p}){const b=X.useRef(null),v=X.useRef(null),_=X.useRef(!0),[y,C]=X.useState(!0);X.useEffect(()=>{const ue=v.current;if(!ue)return;const ee=()=>{const G=Yx(ue);_.current=G,C(G)};return ue.addEventListener("scroll",ee,{passive:!0}),ee(),()=>ue.removeEventListener("scroll",ee)},[]),X.useEffect(()=>{_.current&&b.current?.scrollIntoView({block:"end"})});const R=X.useCallback(()=>{_.current=!0,C(!0);const ue=b.current;if(!ue)return;typeof ue.scrollIntoView=="function"&&ue.scrollIntoView({block:"end"});const ee=v.current;ee&&(ee.scrollTop=ee.scrollHeight)},[]),A=n.messages.length===0&&n.tools.length===0,U=A&&r>0&&p===void 0,Z=A&&p!==void 0,K=Rg(n);return m.jsxs("div",{className:"transcript-wrap",children:[m.jsxs("div",{className:"transcript",ref:v,tabIndex:0,role:"region","aria-label":`Transcript for ${s}`,"aria-busy":a||void 0,children:[Z?m.jsxs("div",{className:"empty",style:{padding:0},children:[m.jsx("h2",{children:"Could not load this session's history"}),m.jsx("p",{children:p}),m.jsxs("p",{className:"dim",children:[`Pi reports ${r} message${r===1?"":"s"} in this session, `,"so they exist — the request for them failed. Reconnect, or reload the page, to try again."]})]}):U?m.jsxs("div",{className:"empty",style:{padding:0},children:[m.jsx("h2",{children:"Loading this session's history…"}),m.jsxs("p",{children:[`Pi reports ${r} message${r===1?"":"s"} in this session. `,"They are being fetched; nothing is missing."]})]}):A&&!o?m.jsxs("div",{className:"empty",style:{padding:0},children:[m.jsx("h2",{children:"No messages yet."}),m.jsxs("p",{children:["This session works in its own scratch workspace. Anything it writes stays there. To work in a project, use ",m.jsx("strong",{children:"Open in a directory"}),"."]})]}):m.jsx(m.Fragment,{children:K.map((ue,ee)=>ue.kind==="tools"?h?m.jsx(Zx,{tools:ue.tools,onOpenTool:f},`tools-${ee}`):null:m.jsx(Xx,{message:ue.message},ue.message.id))}),m.jsx(qx,{notices:n.notices}),m.jsx("div",{ref:b})]}),!y&&m.jsxs("button",{type:"button",className:"jump-latest",onClick:R,title:"Scroll to the newest message and follow along again",children:[m.jsx("span",{"aria-hidden":"true",children:"↓"})," Jump to latest"]})]})}function Zx({tools:n,onOpenTool:a}){if(n.length===0)return null;const s=jg(n),r=n[n.length-1],o=n.some(f=>f.running);return m.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:[m.jsx("span",{className:"m-glyph","aria-hidden":"true",children:o?"●":s.failed>0?"✕":"⌁"}),m.jsxs("span",{className:"m-count",children:[s.count," tool",s.count===1?"":"s"]}),m.jsx("span",{className:"m-names mono",children:s.names.join(" · ")}),s.failed>0&&m.jsxs("span",{className:"m-failed",children:[s.failed," failed"]}),o&&m.jsx("span",{className:"m-running",children:"running"})]})}function Xx({message:n}){const a=n.role==="user"?"You":n.role==="assistant"?"Assistant":n.role,s=Ng(n),r=n.blocks.filter(o=>o.kind==="thinking");return km(n)?m.jsxs("article",{className:"turn measure",children:[m.jsxs("div",{className:"role",children:[m.jsx("span",{children:a}),n.streaming&&m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"live-dot","aria-hidden":"true"}),m.jsx("span",{children:"responding…"})]})]}),r.map((o,f)=>m.jsxs("details",{className:"quarantine",style:{marginBottom:8},children:[m.jsx("summary",{className:"quarantine-head",children:m.jsx("span",{className:"label",children:"Thinking"})}),m.jsx("pre",{className:"quarantine-body",children:o.kind==="thinking"?o.text:""})]},f)),s.length>0&&m.jsx(Ux,{text:s,streaming:n.streaming})]}):null}function Qx({tools:n,selectedId:a,onSelect:s,collapsed:r,onToggleCollapsed:o,showMarkers:f,onToggleMarkers:h}){const p=X.useRef(null),b=X.useRef(!0),v=n.filter(U=>U.running),_=n.length;if(X.useEffect(()=>{const U=p.current;if(!U)return;const Z=()=>{const K=U.scrollHeight-U.scrollTop-U.clientHeight;b.current=K<40};return U.addEventListener("scroll",Z,{passive:!0}),()=>U.removeEventListener("scroll",Z)},[]),X.useEffect(()=>{if(b.current&&!r){const U=p.current;U&&(U.scrollTop=U.scrollHeight)}},[_,v.length,r]),X.useEffect(()=>{if(r)return;const U=Z=>{if(Z.key!=="ArrowUp"&&Z.key!=="ArrowDown"||!p.current?.contains(document.activeElement))return;Z.preventDefault();const K=n.findIndex(ee=>ee.toolCallId===a),ue=K===-1?n.length-1:Math.max(0,Math.min(n.length-1,K+(Z.key==="ArrowDown"?1:-1)));s(n[ue]?.toolCallId)};return window.addEventListener("keydown",U),()=>window.removeEventListener("keydown",U)},[n,a,s,r]),_===0)return null;const y=n.find(U=>U.toolCallId===a),C=zg(n,5),R=new Set(C.map(U=>U.toolCallId)),A=r?[]:n;return m.jsxs("section",{className:"trace","aria-label":"Tool trace",children:[m.jsxs("div",{className:"trace-head",children:[m.jsxs("button",{type:"button",className:"trace-toggle",onClick:o,"aria-expanded":!r,children:[r?"▸":"▾"," Tool trace"]}),m.jsx("span",{className:"trace-count mono",children:`${_} call${_===1?"":"s"}`}),v.length>0&&m.jsxs("span",{className:"trace-running",children:[m.jsx("span",{className:"live-dot","aria-hidden":"true"}),`${v.map(U=>U.toolName).join(", ")} running`]}),r&&C.length>0&&m.jsx("span",{className:"trace-preview mono",title:C.map(U=>U.toolName).join(", "),children:`latest: ${C.slice(-3).map(U=>U.toolName).join(" · ")}`}),m.jsx("button",{type:"button",className:"trace-toggle",style:{marginLeft:r?"auto":void 0},onClick:h,"aria-pressed":f,children:f?"markers on":"markers off"}),!r&&m.jsx("span",{className:"trace-hint",children:"latest 5 shown · the rest below for debugging · ↑↓ to traverse"})]}),!r&&m.jsx("div",{className:"trace-list",ref:p,tabIndex:0,"aria-label":"Tool calls, newest last",children:A.map(U=>m.jsxs("button",{type:"button",className:["trace-row",U.running?"running":"",U.isError?"failed":"",U.toolCallId===a?"selected":"",U.unfinished?"unfinished":"",R.has(U.toolCallId)?"recent":""].filter(Boolean).join(" "),onClick:()=>s(U.toolCallId===a?void 0:U.toolCallId),"aria-current":U.toolCallId===a?"true":void 0,children:[m.jsx("span",{className:"t-status","aria-hidden":"true",children:U.running?"●":U.isError?"✕":U.unfinished?"?":"·"}),m.jsx("span",{className:"t-name mono",children:U.toolName||"tool"}),m.jsx("span",{className:"t-summary mono",title:H2(U),children:H2(U)}),m.jsx("span",{className:"t-time mono",children:U.running?"running":U.unfinished?"no result":U.durationMs!==void 0?Ix(U.durationMs):"done"})]},U.toolCallId))}),!r&&y&&m.jsxs("div",{className:"trace-detail is-quarantined",children:[m.jsxs("div",{className:"trace-detail-head",children:[m.jsx("span",{className:"label",children:"Tool output"}),m.jsx("span",{className:"mono",children:y.toolName}),y.isError&&m.jsx("span",{className:"err",children:"failed"}),m.jsx("span",{className:"spacer"}),m.jsx("button",{type:"button",className:"copy",onClick:()=>s(void 0),children:"Close"})]}),y.args!==void 0&&m.jsx("pre",{className:"trace-args mono",children:Kx(y.args)}),y.result.length>0?m.jsx("pre",{className:`trace-output mono${y.isError?" error":""}`,children:y.result}):m.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 Ix(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 Kx(n){try{const a=JSON.stringify(n,null,2);return a===void 0?String(n):a}catch{return String(n)}}function $x({session:n,state:a,unavailableReason:s,onSend:r,onClearQueueAndStop:o,onRestored:f,restored:h,draft:p,onDraftChange:b}){const v=X.useRef(null),_=n?.state==="streaming",y=s!==void 0,[C,R]=X.useState("steer"),A=Vg(a,n);X.useEffect(()=>{if(h.length===0)return;const G=h.filter(ae=>ae.trim().length>0).join(`
|
|
36
|
-
|
|
37
|
-
`),I=p.trim();G.length>0&&(b(I.length>0?`${I}
|
|
38
|
-
|
|
39
|
-
${G}`:G),v.current?.focus()),f()},[h]),X.useEffect(()=>{const G=I=>{I.key==="Escape"&&_&&(I.preventDefault(),o(),Z(!0))};return window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[_,o]);const[U,Z]=X.useState(!1);X.useEffect(()=>{if(U&&!_){const G=setTimeout(()=>Z(!1),6e3);return()=>clearTimeout(G)}},[U,_]);const K=()=>{const G=p.trim();G.length===0||y||(r(G,_?C:"steer"),b(""))},ue=G=>{if(G.key==="Enter"&&!G.shiftKey){if(G.preventDefault(),_&&G.altKey){R("followUp");const I=p.trim();I.length>0&&!y&&(r(I,"followUp"),b(""));return}K()}},ee=_?C==="steer"?"Send steer":"Queue follow-up":"Send";return m.jsxs("div",{className:"composer",children:[_&&m.jsxs("div",{className:"mode-strip",children:[m.jsxs("div",{className:"mode-choice",role:"radiogroup","aria-label":"What this message does",children:[m.jsx("button",{type:"button",role:"radio","aria-checked":C==="steer",className:C==="steer"?"mode-option mode-option-on":"mode-option",onClick:()=>R("steer"),children:"Steer"}),m.jsx("button",{type:"button",role:"radio","aria-checked":C==="followUp",className:C==="followUp"?"mode-option mode-option-on":"mode-option",onClick:()=>R("followUp"),children:"Follow-up"})]}),m.jsx("span",{className:"mode-consequence",children:C==="steer"?"Delivered after the current turn's tools finish":"Starts after this run finishes"})]}),_&&A.total>0&&m.jsxs("div",{className:"queue-strip",role:"status",children:[m.jsxs("span",{className:"queue-head",children:[A.total," queued"]}),A.textsKnown?m.jsxs("ul",{className:"queue-rows",children:[A.steering.map((G,I)=>m.jsx("li",{children:G},`s${I}`)),A.followUp.map((G,I)=>m.jsx("li",{children:G},`f${I}`))]}):m.jsxs("span",{className:"queue-unknown",children:[A.total===1?"1 message":"Messages"," queued before this page loaded"]})]}),y&&s&&m.jsx("div",{className:"hint",role:"note",children:s}),m.jsxs("div",{className:"composer-row",children:[m.jsx("textarea",{ref:v,value:p,onChange:G=>b(G.target.value),onKeyDown:ue,placeholder:y?s??"Unavailable":"Send a prompt…",disabled:y,"aria-label":"Prompt",rows:3}),m.jsx("button",{type:"button",className:"btn-send",onClick:K,disabled:y||p.trim().length===0,children:y?"Send":ee})]}),m.jsx("div",{className:"hint",children:_?m.jsxs(m.Fragment,{children:[m.jsx("kbd",{children:"Enter"})," to ",C==="steer"?"steer":"queue a follow-up"," ·"," ",m.jsx("kbd",{children:"Alt"}),"+",m.jsx("kbd",{children:"Enter"})," for ",C==="steer"?"a follow-up":"steer"," ·"," ",m.jsx("kbd",{children:"Esc"})," stops the run and returns the queue to this box"]}):m.jsxs(m.Fragment,{children:[m.jsx("kbd",{children:"Enter"})," to send · ",m.jsx("kbd",{children:"Shift"}),"+",m.jsx("kbd",{children:"Enter"})," for a new line"]})}),U&&m.jsx("div",{className:"hint",role:"status",children:"Stopped the run."})]})}function Jx({dialogs:n,onAnswer:a}){const s=new Set(Tm),r=n.filter(f=>!s.has(f.method));if(r.length===0)return null;const o=r[0];return m.jsxs("div",{className:"dialog-dock",children:[m.jsxs("div",{className:"dialog-head",children:[m.jsx("span",{children:"Needs your answer"}),m.jsx("span",{style:{marginLeft:"auto",fontFamily:"var(--mono)"},children:o.method})]}),m.jsx(Wx,{dialog:o,onAnswer:a},o.id)]})}function Wx({dialog:n,onAnswer:a}){const[s,r]=X.useState(n.prefill??""),o=X.useRef(null),f=X.useRef(null);X.useEffect(()=>{f.current?.focus()},[]),X.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 h=n.message??n.title??"The agent is asking for input.";return m.jsxs("div",{className:"dialog-body",ref:o,role:"dialog","aria-label":h,children:[n.title&&n.message&&m.jsx("p",{className:"title",children:n.title}),m.jsx("p",{className:"question",children:h}),n.method==="confirm"&&m.jsxs("div",{className:"dialog-actions",children:[m.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{confirmed:!0}),children:"Allow once"}),m.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{confirmed:!1}),children:"Deny"}),m.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]}),n.method==="select"&&m.jsxs("div",{className:"dialog-options",children:[(n.options??[]).map(p=>m.jsx("button",{type:"button",onClick:()=>a(n.id,{value:p}),children:p},p)),m.jsx("button",{type:"button",className:"btn btn-ghost",style:{marginTop:6},onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]}),n.method==="input"&&m.jsxs(m.Fragment,{children:[m.jsx("input",{ref:f,type:"text",value:s,placeholder:n.placeholder??"Type your answer","aria-label":h,onChange:p=>r(p.target.value),onKeyDown:p=>{p.key==="Enter"&&(p.preventDefault(),a(n.id,{value:s}))}}),m.jsxs("div",{className:"dialog-actions",children:[m.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{value:s}),children:"Submit"}),m.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]})]}),n.method==="editor"&&m.jsxs(m.Fragment,{children:[m.jsx("textarea",{ref:f,value:s,placeholder:n.placeholder??"Edit the content","aria-label":h,onChange:p=>r(p.target.value)}),m.jsxs("div",{className:"dialog-actions",children:[m.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{value:s}),children:"Submit"}),m.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]})]}),!ig(n.method)&&m.jsx("div",{className:"dialog-actions",children:m.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})})]})}function yl({text:n,label:a}){const[s,r]=X.useState(!1);return m.jsx("button",{type:"button",className:"copy",title:`Copy ${a.toLowerCase()}`,onClick:async()=>{const o=await Wg(n);r(o),setTimeout(()=>r(!1),1500)},children:s?"Copied":`Copy ${a.toLowerCase()}`})}function Px({session:n,home:a,onStop:s,onRename:r}){return n?m.jsxs("div",{className:"inspector",children:[m.jsxs("section",{children:[m.jsx("h3",{children:"Isolation"}),m.jsxs("dl",{className:"kv",children:[m.jsx("dt",{children:"Mode"}),m.jsx("dd",{children:n.mode==="sandboxed"?m.jsx("span",{className:"chip chip-idle",children:"Safehouse"}):m.jsx("span",{className:"chip chip-no-isolation",children:"NO ISOLATION"})}),m.jsx("dt",{children:"Policy"}),m.jsx("dd",{children:n.isolation})]}),n.mode==="direct"&&m.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."})]}),m.jsxs("section",{children:[m.jsx("h3",{children:"Paths"}),m.jsxs("dl",{className:"kv",children:[m.jsx("dt",{children:"Workspace"}),m.jsxs("dd",{children:[m.jsx("span",{children:mc(n.cwd,40,a)}),m.jsx(yl,{text:n.cwd,label:"Path"})]}),n.sessionFile&&m.jsxs(m.Fragment,{children:[m.jsx("dt",{children:"Session file"}),m.jsxs("dd",{children:[m.jsx("span",{children:mc(n.sessionFile,40,a)}),m.jsx(yl,{text:n.sessionFile,label:"Path"})]})]}),m.jsx("dt",{children:"Session id"}),m.jsx("dd",{children:n.sessionId?m.jsxs(m.Fragment,{children:[m.jsx("span",{children:n.sessionId}),m.jsx(yl,{text:n.sessionId,label:"Session id"})]}):m.jsx("span",{title:"Pi has not reported its session id yet",children:"—"})}),m.jsx("dt",{children:"Handle"}),m.jsxs("dd",{children:[m.jsx("span",{children:n.id}),m.jsx(yl,{text:n.id,label:"Handle"})]})]})]}),m.jsxs("section",{children:[m.jsx("h3",{children:"Command"}),m.jsx("pre",{className:"cmd",children:n.command}),m.jsx("div",{style:{marginTop:6},children:m.jsx(yl,{text:n.command,label:"Command"})})]}),m.jsxs("section",{children:[m.jsx("h3",{children:"Usage"}),m.jsxs("dl",{className:"kv",children:[m.jsx("dt",{children:"Messages"}),m.jsx("dd",{children:n.messageCount}),m.jsx("dt",{children:"Tokens"}),m.jsx("dd",{children:rs(n.tokensTotal)}),m.jsx("dt",{children:"Cost"}),m.jsx("dd",{children:gf(n.cost)}),m.jsx("dt",{children:"Context"}),m.jsx("dd",{children:n.contextPercent===null?"—":`${Math.round(n.contextPercent)}%`}),m.jsx("dt",{children:"Model"}),m.jsx("dd",{children:n.model??"—"}),m.jsx("dt",{children:"Thinking"}),m.jsx("dd",{children:n.thinkingLevel??"—"})]})]}),n.warnings.length>0&&m.jsxs("section",{children:[m.jsx("h3",{children:"Warnings"}),n.warnings.map((o,f)=>m.jsx("p",{style:{color:"var(--warn-text)",fontSize:11,margin:"0 0 6px"},children:o},f))]}),n.error&&m.jsxs("section",{children:[m.jsx("h3",{children:"Error"}),m.jsx("p",{style:{color:"var(--danger-text)",fontSize:11,whiteSpace:"pre-wrap"},children:n.error})]}),m.jsxs("section",{children:[m.jsx("h3",{children:"Actions"}),m.jsxs("div",{className:"actions",children:[m.jsx(e8,{current:n.name,onRename:r}),m.jsx("button",{type:"button",className:"btn",onClick:s,children:"Stop session"})]})]})]}):m.jsx("div",{className:"inspector",children:m.jsxs("section",{children:[m.jsx("h3",{children:"Inspector"}),m.jsx("p",{style:{color:"var(--dim)",fontSize:12},children:"Select a session to see its isolation, paths, and usage."})]})})}function e8({current:n,onRename:a}){return m.jsxs("details",{children:[m.jsx("summary",{className:"btn",style:{cursor:"pointer",fontSize:12},children:"Rename…"}),m.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:[m.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)"}}),m.jsx("button",{type:"submit",className:"btn",children:"Save name"})]})]})}function dc({label:n,value:a,copyable:s=!1,monospace:r=!1,note:o}){const f=a===void 0;return m.jsxs(m.Fragment,{children:[m.jsx("dt",{children:n}),m.jsxs("dd",{children:[m.jsx("span",{className:f?"settings-absent":r?"settings-mono":void 0,children:f?"not reported":a}),s&&!f&&m.jsx(yl,{text:a,label:n}),o!==void 0&&m.jsx("span",{className:"settings-note",children:o})]})]})}function u8({install:n,ready:a,onClose:s}){const r=X.useRef(null);X.useEffect(()=>{r.current?.focus();const h=p=>{p.key==="Escape"&&s()};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[s]);const o=n?.protocol,f=o!==void 0&&o!==Pa;return m.jsx("div",{className:"modal-backdrop",onClick:s,role:"presentation",children:m.jsxs("div",{className:"modal settings",role:"dialog","aria-modal":"true","aria-labelledby":"settings-title",onClick:h=>h.stopPropagation(),children:[m.jsx("h3",{id:"settings-title",children:"This installation"}),n===void 0&&m.jsx("p",{className:"settings-absent-note",role:"status",children:a?m.jsxs(m.Fragment,{children:[m.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"," ",m.jsx("code",{children:"docs/DOGFOODING.md"}),"."]}):m.jsx(m.Fragment,{children:"Waiting for the orchestrator to send these facts…"})}),m.jsxs("section",{children:[m.jsx("h4",{children:"This build"}),m.jsxs("dl",{className:"kv",children:[m.jsx(dc,{label:"Version",value:n?.version}),m.jsx(dc,{label:"Protocol",value:o===void 0?void 0:`v${o}`,note:o===void 0?void 0:f?`MISMATCH — this UI speaks v${Pa}. One half is out of date; see docs/DOGFOODING.md.`:`matches this UI (v${Pa})`})]})]}),m.jsxs("section",{children:[m.jsx("h4",{children:"Where things live"}),m.jsxs("dl",{className:"kv",children:[m.jsx(dc,{label:"Sessions",value:n?.sessionsRoot,copyable:!0,monospace:!0}),m.jsx(dc,{label:"Workspaces",value:n?.workspaceRoot,copyable:!0,monospace:!0}),m.jsx(dc,{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"})]})]}),m.jsxs("section",{children:[m.jsx("h4",{children:"Updates"}),m.jsxs("p",{className:"settings-note settings-updates",children:["This build does not check for updates. When it does, checking will be ",m.jsx("strong",{children:"off unless you turn it on"}),", will send nothing but the package name, and will never install anything without asking."]})]}),m.jsx("div",{className:"dialog-actions",children:m.jsx("button",{type:"button",className:"btn",ref:r,onClick:s,children:"Close"})})]})})}function Cf({path:n,reason:a,code:s,message:r,depth:o=0}){return m.jsxs("p",{className:"filetree-note filetree-error",role:"note",style:{paddingLeft:`${o*12}px`},title:n===""?void 0:n,children:[m.jsx("strong",{children:t8(a)}),m.jsx("span",{className:"filetree-error-detail",children:r}),s!==void 0&&m.jsx("span",{className:"filetree-kind",children:s})]})}function t8(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 n8({path:n,state:a,onClose:s}){const r=a.status==="loaded"?a.text.split(`
|
|
40
|
-
`):[];return m.jsxs("div",{className:"filepane",children:[m.jsxs("div",{className:"filepane-head",children:[m.jsx("span",{className:"filepane-path",title:n,children:n}),a.status==="loaded"&&m.jsxs("span",{className:"filepane-meta",children:[r.length," line",r.length===1?"":"s"," · ",Dm(a.bytes)]}),m.jsx(yl,{text:n,label:`Copy path ${n}`}),m.jsx("button",{type:"button",className:"btn btn-quiet",onClick:s,"aria-label":"Close file",children:"Close"})]}),a.status==="unloaded"||a.status==="loading"?m.jsx("p",{className:"filetree-note",role:"status",children:"Reading…"}):a.status==="error"?m.jsx(Cf,{path:n,reason:a.reason,code:a.code,message:a.message}):m.jsx("ol",{className:"filepane-lines",children:r.map((o,f)=>m.jsxs("li",{children:[m.jsx("span",{className:"filepane-line-no","aria-hidden":"true",children:f+1}),m.jsx("span",{className:"filepane-line-text",children:o===""?" ":o})]},f))})]})}function l8({sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:h}){const p=ls(a,n),b=is(a,n,"");return m.jsxs("div",{className:"filetree",children:[m.jsxs("div",{className:"filetree-head",children:[m.jsx("span",{className:"filetree-scope",title:s,children:"Working directory"}),m.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"?m.jsx("p",{className:"filetree-note",children:"Not loaded yet."}):b.status==="loading"?m.jsx("p",{className:"filetree-note",role:"status",children:"Reading…"}):b.status==="error"?m.jsx(Cf,{path:"",reason:b.reason,code:b.code,message:b.message}):b.entries.length===0?m.jsx("p",{className:"filetree-note",children:"This directory is empty."}):m.jsx("ul",{className:"filetree-list",role:"tree","aria-label":`Files in ${s}`,children:b.entries.map(v=>m.jsx(bp,{sessionId:n,parent:"",entry:v,state:a,depth:0,onExpand:r,onCollapse:o,onOpenFile:h},v.name))}),b.status==="loaded"&&b.truncated&&m.jsx("p",{className:"filetree-note filetree-truncated",children:"Showing the first entries only — this directory holds more."})]})}function bp({sessionId:n,parent:a,entry:s,state:r,depth:o,onExpand:f,onCollapse:h,onOpenFile:p}){const b=vg(a,s.name),v=xg(s),_=v&&gg(r,n,b),y=v&&_?is(r,n,b):void 0;return m.jsxs("li",{className:`filetree-node${s.unreadable?" is-unreadable":""}`,role:"treeitem","aria-expanded":v?_:void 0,style:{paddingLeft:`${o*12}px`},children:[m.jsxs("button",{type:"button",className:"filetree-row",onClick:()=>{v?_?h(b):f(b):p(b)},title:b,children:[m.jsx("span",{className:"filetree-mark","aria-hidden":"true",children:v?_?"▾":"▸":s.kind==="symlink"?"↗":"·"}),m.jsx("span",{className:`filetree-name${s.hidden?" is-hidden":""}`,children:s.name}),s.kind==="symlink"&&!B2(s)&&m.jsx("span",{className:"filetree-kind",children:"link"}),B2(s)&&m.jsx("span",{className:"filetree-kind filetree-bad",children:"broken"}),s.unreadable&&m.jsx("span",{className:"filetree-kind filetree-bad",children:"unreadable"}),s.size!==void 0&&m.jsx("span",{className:"filetree-size",children:Dm(s.size)})]}),y!==void 0&&m.jsx(a8,{files:r,directory:y,sessionId:n,parent:b,depth:o+1,onExpand:f,onCollapse:h,onOpenFile:p})]})}function a8({files:n,directory:a,sessionId:s,parent:r,depth:o,onExpand:f,onCollapse:h,onOpenFile:p}){return a.status==="loading"||a.status==="unloaded"?m.jsx("p",{className:"filetree-note",role:"status",style:{paddingLeft:`${o*12}px`},children:"Reading…"}):a.status==="error"?m.jsx(Cf,{path:r,reason:a.reason,code:a.code,message:a.message,depth:o}):a.entries.length===0?m.jsx("p",{className:"filetree-note",style:{paddingLeft:`${o*12}px`},children:"Empty."}):m.jsxs(m.Fragment,{children:[m.jsx("ul",{className:"filetree-list",role:"group",children:a.entries.map(b=>m.jsx(bp,{sessionId:s,parent:r,entry:b,state:n,depth:o,onExpand:f,onCollapse:h,onOpenFile:p},b.name))}),a.truncated&&m.jsx("p",{className:"filetree-note filetree-truncated",style:{paddingLeft:`${o*12}px`},children:"Showing the first entries only — this directory holds more."})]})}function i8({sessionId:n,files:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:h,onCloseFile:p}){const b=yg(a,n);return m.jsxs("div",{className:"files-panel",children:[b&&m.jsxs("div",{className:"files-back",children:[m.jsx("button",{type:"button",className:"btn btn-quiet",onClick:p,children:"‹ Files"}),m.jsx("span",{className:"files-back-path",title:b.path,children:b.path})]}),m.jsxs("div",{className:`files-body${b?" has-file":""}`,children:[m.jsx("div",{className:"files-tree",children:m.jsx(l8,{sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:h})}),b&&m.jsx("div",{className:"files-doc",children:m.jsx(n8,{path:b.path,state:b.state,onClose:p})})]})]})}const bs=280,c8=.6,r8=1200,Nf=360,s8=720;function kf(n){return Math.min(r8,Math.max(bs,n*c8))}function ua(n,a){return Number.isFinite(n)?Math.round(Math.min(kf(a),Math.max(bs,n))):Nf}function o8(n,a,s){switch(n){case"ArrowLeft":return ua(a+16,s);case"ArrowRight":return ua(a-16,s);case"Home":return ua(bs,s);case"End":return ua(kf(s),s)}}const ff="pi-central.panel";function gp(){return{width:Nf,mode:"session",userSized:!1}}function f8(n){const a=gp();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}}function Am(n){return JSON.stringify(n)}const d8=[{mode:"session",label:"Session"},{mode:"files",label:"Files"}];function h8({mode:n,onMode:a,width:s,onWidth:r,viewportWidth:o,resizable:f=!0,onCommit:h,children:p}){const b=X.useRef(void 0),v=kf(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 U=b.current;!U||U.pointerId!==A.pointerId||r(ua(U.startWidth-(A.clientX-U.startX),o),!0)}function C(A){b.current&&(b.current=void 0,A.currentTarget.hasPointerCapture(A.pointerId)&&A.currentTarget.releasePointerCapture(A.pointerId),h?.())}function R(A){f&&["ArrowLeft","ArrowRight","Home","End"].includes(A.key)&&(A.preventDefault(),r(o8(A.key,s,o),!0),h?.())}return m.jsxs("aside",{className:"panel","aria-label":"Panel",children:[m.jsx("div",{className:"panel-head",children:m.jsx("div",{className:"tabs",role:"tablist","aria-label":"Panel view",children:d8.map(({mode:A,label:U})=>m.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:U},A))})}),m.jsx("div",{className:"panel-body",id:`panel-body-${n}`,role:"tabpanel","aria-labelledby":`panel-tab-${n}`,tabIndex:-1,children:p}),f&&m.jsx("div",{className:"panel-resizer",role:"separator","aria-orientation":"vertical","aria-label":"Resize panel","aria-valuenow":s,"aria-valuemin":bs,"aria-valuemax":v,"aria-valuetext":`${s} pixels`,tabIndex:0,onPointerDown:_,onPointerMove:y,onPointerUp:C,onPointerCancel:C,onKeyDown:R,onDoubleClick:()=>{r(Nf,!1),h?.()}})]})}const m8=22;function p8({session:n,models:a,error:s,onRequest:r,onSelect:o}){const[f,h]=X.useState(!1),p=()=>{f||(h(!0),r())},b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed",v=Qg(n),_=f&&a===void 0&&s===void 0;if(s!==void 0)return m.jsxs("div",{className:"picker picker-broken",children:[m.jsx("span",{className:"picker-label",children:"Model"}),m.jsx("span",{className:"picker-value",title:s,children:"unavailable"}),m.jsx("button",{type:"button",className:"btn btn-quiet",onClick:()=>{h(!0),r()},children:"Retry"}),m.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,C=a?.find(U=>jm(n,U)),R=C?C.name??C.id:y,A=yf(R,m8);return m.jsxs("div",{className:"picker",children:[m.jsx("label",{className:"picker-label",htmlFor:`model-${n.id}`,children:"Model"}),m.jsxs("div",{className:"picker-field",children:[m.jsx("span",{className:`picker-display mono${b?"":" is-disabled"}`,"aria-hidden":"true",title:R,children:A}),m.jsxs("select",{id:`model-${n.id}`,className:"picker-select",title:R,value:a===void 0?"":b8(n,a),disabled:!b,onFocus:p,onMouseDown:p,onChange:U=>{const[Z,...K]=U.target.value.split("/");Z!==void 0&&K.length>0&&o(Z,K.join("/"))},children:[a===void 0&&m.jsx("option",{value:"",children:y}),a!==void 0&&a.length===0&&m.jsx("option",{value:"",children:"no models available"}),a!==void 0&&Xg(a).map(U=>m.jsx("optgroup",{label:U.provider,children:U.models.map(Z=>m.jsxs("option",{value:`${Z.provider}/${Z.id}`,children:[Z.name??Z.id,Z.reasoning?" · thinking":""]},`${Z.provider}/${Z.id}`))},U.provider))]})]}),_&&m.jsx("span",{className:"picker-note",children:"reading the model list…"}),v!==""&&m.jsx("span",{className:"picker-note",children:v})]})}function b8(n,a){const s=a.find(r=>jm(n,r));return s?`${s.provider}/${s.id}`:""}function g8({installationRoot:n,initialPath:a="",onClose:s,onOpen:r}){const[o,f]=X.useState(a),h=X.useRef(null);X.useEffect(()=>{h.current?.focus();const _=y=>{y.key==="Escape"&&s()};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[s]);const p=o.trim(),b=X.useMemo(()=>{if(p.length===0)return"Enter a directory.";if(!p.startsWith("/"))return"Enter an absolute path, starting with /."},[p]),v=X.useMemo(()=>{if(b===void 0)return sg(p,n)},[p,n,b]);return m.jsx("div",{className:"modal-backdrop",onClick:s,role:"presentation",children:m.jsxs("div",{className:"modal",role:"dialog","aria-modal":"true","aria-labelledby":"open-dir-title",onClick:_=>_.stopPropagation(),children:[m.jsx("h3",{id:"open-dir-title",children:"Open in a directory"}),m.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."}),m.jsxs("form",{onSubmit:_=>{_.preventDefault(),b===void 0&&r(p)},children:[m.jsx("input",{ref:h,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&&m.jsx("p",{style:{color:"var(--warn-text)",fontSize:12,margin:"6px 0 0"},children:b}),v!==void 0&&m.jsxs("p",{className:"hazard",role:"status",children:[m.jsx("span",{"aria-hidden":"true",children:"⚠ "}),v]}),m.jsxs("div",{className:"dialog-actions",children:[m.jsx("button",{type:"submit",className:"btn",disabled:b!==void 0,children:"Open here"}),m.jsx("button",{type:"button",className:"btn btn-ghost",onClick:s,children:"Cancel"})]})]})]})})}function y8(n){return`${n.provider??"?"}/${n.model??"?"}@${n.thinkingLevel??"?"}`}function x8({session:n,levels:a,error:s,onRequest:r,onSelect:o}){const[f,h]=X.useState(void 0),p=y8(n),b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed";X.useEffect(()=>{!b||f===p||(h(p),r())},[b,p,f,r]);const v=a!==void 0,_=n.thinkingLevel??"—";return s!==void 0?m.jsxs("div",{className:"picker picker-broken",children:[m.jsx("span",{className:"picker-label",children:"Thinking"}),m.jsx("span",{className:"picker-value",title:s,children:_}),m.jsx("button",{type:"button",className:"btn btn-quiet",onClick:()=>{h(void 0)},children:"Retry"}),m.jsxs("span",{className:"picker-note warn",children:["Could not read the levels: ",s]})]}):m.jsxs("div",{className:"picker",children:[m.jsx("label",{className:"picker-label",htmlFor:`thinking-${n.id}`,children:"Thinking"}),m.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(_))&&m.jsx("option",{value:"",children:_}),v&&a.map(y=>m.jsx("option",{value:y,children:y},y))]}),!v&&m.jsx("span",{className:"picker-note",children:"reading the levels…"})]})}function v8({history:n,historyTotal:a,onResume:s,home:r}){const[o,f]=X.useState(""),[h,p]=X.useState(void 0),b=Zg(n,o);return m.jsxs("div",{className:"history",children:[m.jsxs("div",{className:"history-search",children:[m.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&&m.jsx("button",{type:"button",className:"btn",onClick:()=>f(""),children:"Clear search"})]}),n.length===0?m.jsxs("div",{className:"empty",style:{padding:0},children:[m.jsx("h2",{children:"No sessions on disk yet"}),m.jsxs("p",{children:["History comes from ",m.jsx("span",{className:"mono",children:"~/.pi/agent/sessions/"}),". A session appears here after its first message."]})]}):b.length===0?m.jsxs("div",{className:"empty",style:{padding:0},children:[m.jsxs("h2",{children:["No sessions match “",o,"”."]}),m.jsx("button",{type:"button",className:"btn",onClick:()=>f(""),children:"Clear search"})]}):m.jsxs(m.Fragment,{children:[m.jsxs("p",{className:"hint",style:{marginBottom:12},"aria-live":"polite",children:[b.length," of ",n.length," session",n.length===1?"":"s",a>n.length&&m.jsxs(m.Fragment,{children:[" · searching the ",n.length," most recent of ",a]})]}),b.map(v=>m.jsx(_8,{session:v,home:r,onSelect:()=>{if(!v.cwdExists){p(v);return}s(v)}},v.path))]}),h&&m.jsx(E8,{session:h,onDismiss:()=>p(void 0)})]})}function _8({session:n,home:a,onSelect:s}){return m.jsxs("button",{type:"button",className:"history-row",onClick:s,children:[m.jsxs("span",{className:"h1",children:[m.jsx("strong",{children:n.name??"Untitled session"}),n.scratch&&m.jsx("span",{className:"chip chip-scratch",children:"scratch"}),!n.cwdExists&&m.jsx("span",{className:"chip chip-awaiting-approval",children:"directory is gone"})]}),m.jsx("span",{className:"project",title:n.cwd,children:S8(n.cwd,a)}),m.jsx("p",{className:"first",children:n.firstMessage||"(no messages)"}),m.jsxs("span",{className:"meta",children:[m.jsx("span",{children:Kg(n.modifiedMs)}),m.jsxs("span",{children:[n.messageCount," msgs"]}),m.jsx("span",{children:A8(n.bytes)})]})]})}function E8({session:n,onDismiss:a}){return m.jsx("div",{className:"modal-backdrop",onClick:a,role:"presentation",children:m.jsxs("div",{className:"modal",role:"alertdialog","aria-modal":"true","aria-labelledby":"refusal-title",onClick:s=>s.stopPropagation(),children:[m.jsx("h3",{id:"refusal-title",children:"This session's directory is gone"}),m.jsx("p",{style:{marginBottom:12},children:"The directory this session worked in no longer exists:"}),m.jsx("pre",{className:"cmd",style:{marginBottom:12},children:n.cwd}),m.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."}),m.jsxs("div",{className:"dialog-actions",style:{marginTop:0},children:[m.jsx("button",{type:"button",className:"btn",onClick:a,children:"Close"}),m.jsx(yl,{text:n.cwd,label:"Path"})]})]})})}function S8(n,a){return a&&n.startsWith(a)?`~${n.slice(a.length)}`:n}function A8(n){return n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/(1024*1024)).toFixed(1)} MB`}function T8(){const[n,a]=X.useReducer(Lg,void 0,Om),[s,r]=X.useState("connecting"),[o,f]=X.useState(void 0),[h,p]=X.useState("sessions"),[b,v]=X.useState(!1),[_,y]=X.useState(void 0),[C,R]=X.useState(!1),A=X.useRef(null),[U,Z]=X.useState({}),[K,ue]=X.useState(()=>{try{return f8(localStorage.getItem(ff))}catch{return gp()}}),[ee,G]=X.useState(()=>typeof window>"u"?1440:window.innerWidth);X.useEffect(()=>{const F=()=>{G(window.innerWidth),ue(V=>({...V,width:ua(V.width,window.innerWidth)}))};return window.addEventListener("resize",F),()=>window.removeEventListener("resize",F)},[]);const I=X.useCallback((F,V)=>{ue(fe=>({...fe,width:F,userSized:V}))},[]),ae=X.useCallback(()=>{ue(F=>{try{localStorage.setItem(ff,Am(F))}catch{}return F})},[]),P=X.useCallback(F=>{ue(V=>{const fe=F==="files"&&!V.userSized?ua(s8,ee):V.width,Ee={...V,mode:F,width:fe};try{localStorage.setItem(ff,Am(Ee))}catch{}return Ee})},[ee]),[ce,ke]=X.useReducer(_g,void 0,mg),Oe=X.useRef(ce);Oe.current=ce;const je=X.useRef(void 0);X.useEffect(()=>{const F=new dg(hg(),{onEvent:V=>{switch(a(V),V.kind){case"files":ke({kind:"filesLoaded",sessionId:V.sessionId,path:V.path,entries:V.entries,truncated:V.truncated});break;case"file":ke({kind:"fileLoaded",sessionId:V.sessionId,path:V.path,text:V.text,bytes:V.bytes});break;case"fileError":V.request==="list"?ke({kind:"filesFailed",sessionId:V.sessionId,path:V.path,reason:V.reason,...V.code===void 0?{}:{code:V.code},message:V.message}):ke({kind:"fileFailed",sessionId:V.sessionId,path:V.path,reason:V.reason,...V.code===void 0?{}:{code:V.code},message:V.message});break}},onStatus:(V,fe)=>{r(V),f(fe)}});return je.current=F,F.connect(),()=>F.disconnect()},[]);const ge=X.useCallback(F=>{const V=je.current?.send(F);return V||a({kind:"error",message:"Not connected to the orchestrator. Nothing was sent."}),V},[]),W=Hg(n),lu=X.useCallback((F,V,fe)=>{ke({kind:"filesLoading",sessionId:F,path:V}),ge({kind:"listFiles",sessionId:F,path:V,includeHidden:fe})},[ge]),Re=X.useCallback(F=>{W&&(ke({kind:"setExpanded",sessionId:W.id,path:F,expanded:!0}),is(Oe.current,W.id,F).status!=="loaded"&&lu(W.id,F,ls(Oe.current,W.id)))},[W,lu]),J=X.useCallback(F=>{W&&(ke({kind:"openFile",sessionId:W.id,path:F}),ke({kind:"fileLoading",sessionId:W.id,path:F}),ge({kind:"readFile",sessionId:W.id,path:F}))},[W,ge]),re=X.useCallback(()=>{if(!W)return;const F=W.id,V=!ls(Oe.current,F);ke({kind:"toggleHidden",sessionId:F});const fe=`${F}\0`;for(const Ee of Object.keys(Oe.current.directories))Ee.startsWith(fe)&&lu(F,Ee.slice(fe.length),V)},[W,lu]),oe=W?.id;X.useEffect(()=>{oe&&is(Oe.current,oe,"").status==="unloaded"&&lu(oe,"",ls(Oe.current,oe))},[oe,lu]);const Le=n.live.map(F=>F.id).join("\0");X.useEffect(()=>{const F=new Set(n.live.map(V=>V.id));for(const V of Object.keys(Oe.current.directories)){const{sessionId:fe}=pg(V);F.has(fe)||ke({kind:"forgetSession",sessionId:fe})}},[Le]);const Ae=qg(n,W?.id),Ie=Fg(n),_u=n.home,Ct=Bg(n);X.useEffect(()=>{const F=V=>{const fe=V.metaKey||V.ctrlKey;fe&&V.key.toLowerCase()==="n"&&(V.preventDefault(),ge({kind:"start"})),fe&&V.shiftKey&&V.key.toLowerCase()==="o"&&(V.preventDefault(),v(!0))};return window.addEventListener("keydown",F),()=>window.removeEventListener("keydown",F)},[ge]);const T=X.useCallback(()=>{ge({kind:"start"})},[ge]),Y=X.useCallback(F=>{ge({kind:"start",cwd:F}),v(!1),p("sessions")},[ge]),Q=X.useCallback((F,V)=>{W&&ge({kind:"answerDialog",sessionId:W.id,dialogId:F,answer:V})},[W,ge]);return m.jsxs("div",{className:"app",children:[m.jsxs("header",{className:"topbar",children:[m.jsx("h1",{className:"wordmark",children:"Pi Central"}),m.jsxs("div",{className:"tabs",role:"tablist","aria-label":"View",children:[m.jsx("button",{type:"button",role:"tab",className:"tab","aria-selected":h==="sessions",onClick:()=>p("sessions"),children:"Sessions"}),m.jsx("button",{type:"button",role:"tab",className:"tab","aria-selected":h==="history",onClick:()=>p("history"),children:"History"})]}),m.jsxs("div",{className:"topbar-right",children:[m.jsxs("div",{className:"fleet",children:[m.jsxs("span",{children:[Ie.total," session",Ie.total===1?"":"s"]}),Ie.running>0&&m.jsxs("span",{children:[Ie.running," running"]}),Ie.scratch>0&&m.jsxs("span",{children:[Ie.scratch," scratch"]}),Ie.needs>0&&m.jsxs("span",{className:"fleet-needs",children:[Ie.needs," need you"]})]}),m.jsxs("span",{className:`conn conn-${s}`,children:[m.jsx("span",{className:"conn-dot","aria-hidden":"true"}),m.jsx("span",{children:s==="open"?"connected":s==="connecting"?"connecting…":"disconnected"}),o&&m.jsxs("span",{className:"hint",children:["· ",o]})]}),m.jsx("button",{type:"button",className:"btn btn-quiet",ref:A,onClick:()=>R(!0),children:"Settings"})]})]}),Ct&&m.jsxs("div",{className:"direct-banner",role:"alert",children:[m.jsx("strong",{children:"Direct mode: sessions are not sandboxed"}),m.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&&m.jsx(C8,{message:n.errors[0],onDismiss:()=>a({kind:"error",message:""})}),m.jsxs("div",{className:"panes",style:{"--panel-width":`${K.width}px`},children:[m.jsx(e6,{sessions:n.live,focusedId:n.focusedId,onFocus:F=>{a({kind:"focusSession",sessionId:F}),p("sessions")},onStartSession:T,onOpenDirectory:()=>v(!0),home:_u,historyTotal:n.historyTotal}),h==="history"?m.jsx("main",{className:"column",children:m.jsx(v8,{history:n.history,historyTotal:n.historyTotal,home:_u,onResume:F=>{ge({kind:"resume",path:F.path}),p("sessions")}})}):m.jsx("main",{className:"column",children:m.jsx(D8,{session:W,transcript:Ae,home:_u,historyError:n.transcriptErrors[W?.id??""],models:W?n.models[W.id]:void 0,modelError:W?n.modelErrors[W.id]:void 0,onAnswer:Q,onRequestModels:()=>{W&&ge({kind:"listModels",sessionId:W.id})},onSelectModel:(F,V)=>{W&&ge({kind:"setModel",sessionId:W.id,provider:F,modelId:V})},thinking:{levels:W?n.thinkingLevels[W.id]:void 0,error:W?n.thinkingLevelErrors[W.id]:void 0},onRequestThinkingLevels:()=>{W&&ge({kind:"listThinkingLevels",sessionId:W.id})},onSelectThinkingLevel:F=>{W&&ge({kind:"setThinkingLevel",sessionId:W.id,level:F})},onSend:(F,V)=>{W&&ge(W.state==="streaming"?{kind:"prompt",sessionId:W.id,message:F,behavior:V}:{kind:"prompt",sessionId:W.id,message:F})},onClearQueueAndStop:()=>{W&&ge({kind:"clearQueue",sessionId:W.id,andStop:!0})},state:n,restored:W?n.restoredQueue[W.id]??[]:[],onRestored:()=>{W&&a({kind:"queueRestored",sessionId:W.id})},draft:W?U[W.id]??"":"",onDraftChange:F=>{W&&Z(V=>({...V,[W.id]:F}))}},W?.id)}),m.jsx(h8,{mode:K.mode,onMode:P,width:K.width,onWidth:I,viewportWidth:ee,onCommit:ae,children:K.mode==="session"?m.jsx(Px,{session:h==="sessions"?W:void 0,home:_u,onStop:()=>W&&y(W),onRename:F=>W&&ge({kind:"rename",sessionId:W.id,name:F})}):W?m.jsx(i8,{sessionId:W.id,files:ce,cwd:W.cwd,onExpand:Re,onCollapse:F=>ke({kind:"setExpanded",sessionId:W.id,path:F,expanded:!1}),onToggleHidden:re,onOpenFile:J,onCloseFile:()=>ke({kind:"closeFile",sessionId:W.id})}):m.jsx("p",{className:"panel-empty",children:"Select a session to browse its working directory."})})]}),C&&m.jsx(u8,{install:n.install,ready:n.ready,onClose:()=>{R(!1),A.current?.focus()}}),b&&m.jsx(g8,{installationRoot:n.installationRoot,onClose:()=>v(!1),onOpen:Y}),_&&m.jsx(N8,{session:_,onCancel:()=>y(void 0),onConfirm:()=>{ge({kind:"stop",sessionId:_.id}),y(void 0)}})]})}function D8({session:n,transcript:a,home:s,historyError:r,models:o,modelError:f,onAnswer:h,onRequestModels:p,onSelectModel:b,thinking:v,onRequestThinkingLevels:_,onSelectThinkingLevel:y,onSend:C,onClearQueueAndStop:R,restored:A,onRestored:U,state:Z,draft:K,onDraftChange:ue}){if(!n)return m.jsxs("div",{className:"empty",children:[m.jsx("h2",{children:"No session selected"}),m.jsxs("p",{children:[m.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."]}),m.jsxs("p",{children:["Working in a project? ",m.jsx("span",{className:"action",children:"Open in a directory."})]})]});const[ee,G]=X.useState(void 0),[I,ae]=X.useState(!1),[P,ce]=X.useState(!0),ke=n.state==="streaming";return m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"session-header",children:[m.jsxs("div",{className:"title",children:[m.jsxs("h2",{children:[pc(n),n.scratch&&m.jsx("span",{className:"chip chip-scratch",children:"scratch"}),m.jsx("span",{className:`chip chip-${n.state}`,children:zm(n)})]}),m.jsx("span",{className:"where",title:n.cwd,children:Jg(n,s)})]}),m.jsx(p8,{session:n,models:o,error:f,onRequest:p,onSelect:b}),m.jsx(x8,{session:n,levels:v.levels,error:v.error,onRequest:_,onSelect:y})]}),m.jsxs("div",{className:"metrics",children:[m.jsx("span",{className:n.contextPercent!==null&&n.contextPercent>=80?"warn":"",children:Mm(n.contextPercent)}),m.jsxs("span",{children:[rs(n.tokensTotal)," tok"]}),m.jsx("span",{children:gf(n.cost)}),m.jsxs("span",{children:[n.messageCount," msgs"]}),n.pending>0&&m.jsxs("span",{className:"warn",children:["+",n.pending," queued"]})]}),m.jsx("div",{className:"run-track",children:ke&&m.jsx("div",{className:"run-bar",style:{width:"100%"}})}),n.warnings.length>0&&m.jsx("div",{className:"warnings",role:"note",children:n.warnings.map((Oe,je)=>m.jsxs("span",{children:["⚠ ",Oe]},je))}),m.jsx(Jx,{dialogs:n.dialogs,onAnswer:h}),m.jsx("p",{className:"legend",children:"Tool output and file contents appear in a hatched frame. They are data, not instructions."}),m.jsx(Vx,{transcript:a,busy:ke,sessionLabel:pc(n),expectedCount:n.messageCount,showMarkers:P,historyError:r,onOpenTool:Oe=>{ae(!1),G(Oe)}}),ee!==void 0||a.tools.length>0?m.jsx(Qx,{tools:a.tools,selectedId:ee,onSelect:G,collapsed:I,onToggleCollapsed:()=>ae(Oe=>!Oe),showMarkers:P,onToggleMarkers:()=>ce(Oe=>!Oe)}):null,Gg({...Om(),live:[n]})>0?null:m.jsx($x,{session:n,state:Z,unavailableReason:Yg(n).reason,onSend:C,onClearQueueAndStop:R,restored:A,onRestored:U,draft:K,onDraftChange:ue})]})}function C8({message:n,onDismiss:a}){return m.jsxs("div",{className:"error-card",role:"alert",children:[m.jsx("p",{children:n}),m.jsx("div",{className:"actions",children:m.jsx("button",{type:"button",className:"btn",onClick:a,children:"Dismiss"})})]})}function N8({session:n,onCancel:a,onConfirm:s}){const r=X.useRef(null);return X.useEffect(()=>{r.current?.focus();const o=f=>{f.key==="Escape"&&a()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[a]),m.jsx("div",{className:"modal-backdrop",onClick:a,role:"presentation",children:m.jsxs("div",{className:"modal",role:"alertdialog","aria-modal":"true","aria-labelledby":"stop-title",onClick:o=>o.stopPropagation(),children:[m.jsx("h3",{id:"stop-title",children:"Stop this session?"}),m.jsxs("p",{children:["This ends the run in progress for ",pc(n),". Messages so far are already saved."]}),m.jsxs("div",{className:"dialog-actions",children:[m.jsx("button",{type:"button",className:"btn btn-danger",onClick:s,children:"Stop session"}),m.jsx("button",{type:"button",className:"btn",ref:r,onClick:a,children:"Keep running"})]})]})})}const yp=document.getElementById("root");if(!yp)throw new Error("missing #root");ng.createRoot(yp).render(m.jsx(X.StrictMode,{children:m.jsx(T8,{})}));export{as as _};
|