vendor: 8,087 bytes, line 1
1function y1(e,i){for(var r=0;r<i.length;r++){const a=i[r];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const u=Object.getOwnPropertyDescriptor(a,s);u&&Object.defineProperty(e,s,u.get?u:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function r(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function a(s){if(s.ep)return;s.ep=!0;const u=r(s);fetch(s.href,u)}})();function is(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uc={exports:{}},Kl={};var bg;function b1(){if(bg)return Kl;bg=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(a,s,u){var c=null;if(u!==void 0&&(c=""+u),s.key!==void 0&&(c=""+s.key),"key"in s){u={};for(var d in s)d!=="key"&&(u[d]=s[d])}else u=s;return s=u.ref,{$$typeof:e,type:a,key:c,ref:s!==void 0?s:null,props:u}}return Kl.Fragment=i,Kl.jsx=r,Kl.jsxs=r,Kl}var vg;function v1(){return vg||(vg=1,Uc.exports=b1()),Uc.exports}var O=v1(),qc={exports:{}},Zl={},Pc={exports:{}},Hc={};var xg;function x1(){return xg||(xg=1,(function(e){function i(_,F){var ee=_.length;_.push(F);e:for(;0<ee;){var de=ee-1>>>1,b=_[de];if(0<s(b,F))_[de]=F,_[ee]=b,ee=de;else break e}}function r(_){return _.length===0?null:_[0]}function a(_){if(_.length===0)return null;var F=_[0],ee=_.pop();if(ee!==F){_[0]=ee;e:for(var de=0,b=_.length,Q=b>>>1;de<Q;){var le=2*(de+1)-1,A=_[le],se=le+1,pe=_[se];if(0>s(A,ee))se<b&&0>s(pe,A)?(_[de]=pe,_[se]=ee,de=se):(_[de]=A,_[le]=ee,de=le);else if(se<b&&0>s(pe,ee))_[de]=pe,_[se]=ee,de=se;else break e}}return F}function s(_,F){var ee=_.sortIndex-F.sortIndex;return ee!==0?ee:_.id-F.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var m=[],h=[],g=1,y=null,w=3,v=!1,k=!1,T=!1,E=!1,C=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function G(_){for(var F=r(h);F!==null;){if(F.callback===null)a(h);else if(F.startTime<=_)a(h),F.sortIndex=F.expirationTime,i(m,F);else break;F=r(h)}}function I(_){if(T=!1,G(_),!k)if(r(m)!==null)k=!0,z||(z=!0,te());else{var F=r(h);F!==null&&Z(I,F.startTime-_)}}var z=!1,W=-1,V=5,ae=-1;function B(){return E?!0:!(e.unstable_now()-ae<V)}function ne(){if(E=!1,z){var _=e.unstable_now();ae=_;var F=!0;try{e:{k=!1,T&&(T=!1,L(W),W=-1),v=!0;var ee=w;try{t:{for(G(_),y=r(m);y!==null&&!(y.expirationTime>_&&B());){var de=y.callback;if(typeof de=="function"){y.callback=null,w=y.priorityLevel;var b=de(y.expirationTime<=_);if(_=e.unstable_now(),typeof b=="function"){y.callback=b,G(_),F=!0;break t}y===r(m)&&a(m),G(_)}else a(m);y=r(m)}if(y!==null)F=!0;else{var Q=r(h);Q!==null&&Z(I,Q.startTime-_),F=!1}}break e}finally{y=null,w=ee,v=!1}F=void 0}}finally{F?te():z=!1}}}var te;if(typeof M=="function")te=function(){M(ne)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,K=fe.port2;fe.port1.onmessage=ne,te=function(){K.postMessage(null)}}else te=function(){C(ne,0)};function Z(_,F){W=C(function(){_(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(_){switch(w){case 1:case 2:case 3:var F=3;break;default:F=w}var ee=w;w=F;try{return _()}finally{w=ee}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(_,F){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var ee=w;w=_;try{return F()}finally{w=ee}},e.unstable_scheduleCallback=function(_,F,ee){var de=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?de+ee:de):ee=de,_){case 1:var b=-1;break;case 2:b=250;break;case 5:b=1073741823;break;case 4:b=1e4;break;default:b=5e3}return b=ee+b,_={id:g++,callback:F,priorityLevel:_,startTime:ee,expirationTime:b,sortIndex:-1},ee>de?(_.sortIndex=ee,i(h,_),r(m)===null&&_===r(h)&&(T?(L(W),W=-1):T=!0,Z(I,ee-de))):(_.sortIndex=b,i(m,_),k||v||(k=!0,z||(z=!0,te()))),_},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(_){var F=w;return function(){var ee=w;w=F;try{return _.apply(this,arguments)}finally{w=ee}}}})(Hc)),Hc}var wg;function w1(){return wg||(wg=1,Pc.exports=x1()),Pc.exports}var Ic={exports:{}},Se={};var Sg;function S1(){if(Sg)return Se;Sg=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function w(b){return b===null||typeof b!="object"?null:(b=y&&b[y]||b["@@iterator"],typeof b=="function"?b:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,T={};function E(b,Q,le){this.props=b,this.context=Q,this.refs=T,this.updater=le||v}E.prototype.isReactComponent={},E.prototype.setState=function(b,Q){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,Q,"setState")},E.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function C(){}C.prototype=E.prototype;function L(b,Q,le){this.props=b,this.context=Q,this.refs=T,this.updater=le||v}var M=L.prototype=new C;M.constructor=L,k(M,E.prototype),M.isPureReactComponent=!0;var G=Array.isArray,I={H:null,A:null,T:null,S:null,V:null},z=Object.prototype.hasOwnProperty;function W(b,Q,le,A,se,pe){return le=pe.ref,{$$typeof:e,type:b,key:Q,ref:le!==void 0?le:null,props:pe}}function V(b,Q){return W(b.type,Q,void 0,void 0,void 0,b.props)}function ae(b){return typeof b=="object"&&b!==null&&b.$$typeof===e}function B(b){var Q={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(le){return Q[le]})}var ne=/\/+/g;function te(b,Q){return typeof b=="object"&&b!==null&&b.key!=null?B(""+b.key):Q.toString(36)}function fe(){}function K(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(fe,fe):(b.status="pending",b.then(function(Q){b.status==="pending"&&(b.status="fulfilled",b.value=Q)},function(Q){b.status==="pending"&&(b.status="rejected",b.reason=Q)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function Z(b,Q,le,A,se){var pe=typeof b;(pe==="undefined"||pe==="boolean")&&(b=null);var oe=!1;if(b===null)oe=!0;else switch(pe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(b.$$typeof){case e:case i:oe=!0;break;case g:return oe=b._init,Z(oe(b._payload),Q,le,A,se)}}if(oe)return se=se(b),oe=A===""?"."+te(b,0):A,G(se)?(le="",oe!=null&&(le=oe.replace(ne,"$&/")+"/"),Z(se,Q,le,"",function(Ne){return Ne}
vendor: 26,684 bytes, lines 1-8
1)):se!=null&&(ae(se)&&(se=V(se,le+(se.key==null||b&&b.key===se.key?"":(""+se.key).replace(ne,"$&/")+"/")+oe)),Q.push(se)),1;oe=0;var je=A===""?".":A+":";if(G(b))for(var Ae=0;Ae<b.length;Ae++)A=b[Ae],pe=je+te(A,Ae),oe+=Z(A,Q,le,pe,se);else if(Ae=w(b),typeof Ae=="function")for(b=Ae.call(b),Ae=0;!(A=b.next()).done;)A=A.value,pe=je+te(A,Ae++),oe+=Z(A,Q,le,pe,se);else if(pe==="object"){if(typeof b.then=="function")return Z(K(b),Q,le,A,se);throw Q=String(b),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return oe}function _(b,Q,le){if(b==null)return b;var A=[],se=0;return Z(b,A,"","",function(pe){return Q.call(le,pe,se++)}),A}function F(b){if(b._status===-1){var Q=b._result;Q=Q(),Q.then(function(le){(b._status===0||b._status===-1)&&(b._status=1,b._result=le)},function(le){(b._status===0||b._status===-1)&&(b._status=2,b._result=le)}),b._status===-1&&(b._status=0,b._result=Q)}if(b._status===1)return b._result.default;throw b._result}var ee=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)};function de(){}return Se.Children={map:_,forEach:function(b,Q,le){_(b,function(){Q.apply(this,arguments)},le)},count:function(b){var Q=0;return _(b,function(){Q++}),Q},toArray:function(b){return _(b,function(Q){return Q})||[]},only:function(b){if(!ae(b))throw Error("React.Children.only expected to receive a single React element child.");return b}},Se.Component=E,Se.Fragment=r,Se.Profiler=s,Se.PureComponent=L,Se.StrictMode=a,Se.Suspense=m,Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,Se.__COMPILER_RUNTIME={__proto__:null,c:function(b){return I.H.useMemoCache(b)}},Se.cache=function(b){return function(){return b.apply(null,arguments)}},Se.cloneElement=function(b,Q,le){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var A=k({},b.props),se=b.key,pe=void 0;if(Q!=null)for(oe in Q.ref!==void 0&&(pe=void 0),Q.key!==void 0&&(se=""+Q.key),Q)!z.call(Q,oe)||oe==="key"||oe==="__self"||oe==="__source"||oe==="ref"&&Q.ref===void 0||(A[oe]=Q[oe]);var oe=arguments.length-2;if(oe===1)A.children=le;else if(1<oe){for(var je=Array(oe),Ae=0;Ae<oe;Ae++)je[Ae]=arguments[Ae+2];A.children=je}return W(b.type,se,void 0,void 0,pe,A)},Se.createContext=function(b){return b={$$typeof:c,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:u,_context:b},b},Se.createElement=function(b,Q,le){var A,se={},pe=null;if(Q!=null)for(A in Q.key!==void 0&&(pe=""+Q.key),Q)z.call(Q,A)&&A!=="key"&&A!=="__self"&&A!=="__source"&&(se[A]=Q[A]);var oe=arguments.length-2;if(oe===1)se.children=le;else if(1<oe){for(var je=Array(oe),Ae=0;Ae<oe;Ae++)je[Ae]=arguments[Ae+2];se.children=je}if(b&&b.defaultProps)for(A in oe=b.defaultProps,oe)se[A]===void 0&&(se[A]=oe[A]);return W(b,pe,void 0,void 0,null,se)},Se.createRef=function(){return{current:null}},Se.forwardRef=function(b){return{$$typeof:d,render:b}},Se.isValidElement=ae,Se.lazy=function(b){return{$$typeof:g,_payload:{_status:-1,_result:b},_init:F}},Se.memo=function(b,Q){return{$$typeof:h,type:b,compare:Q===void 0?null:Q}},Se.startTransition=function(b){var Q=I.T,le={};I.T=le;try{var A=b(),se=I.S;se!==null&&se(le,A),typeof A=="object"&&A!==null&&typeof A.then=="function"&&A.then(de,ee)}catch(pe){ee(pe)}finally{I.T=Q}},Se.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},Se.use=function(b){return I.H.use(b)},Se.useActionState=function(b,Q,le){return I.H.useActionState(b,Q,le)},Se.useCallback=function(b,Q){return I.H.useCallback(b,Q)},Se.useContext=function(b){return I.H.useContext(b)},Se.useDebugValue=function(){},Se.useDeferredValue=function(b,Q){return I.H.useDeferredValue(b,Q)},Se.useEffect=function(b,Q,le){var A=I.H;if(typeof le=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return A.useEffect(b,Q)},Se.useId=function(){return I.H.useId()},Se.useImperativeHandle=function(b,Q,le){return I.H.useImperativeHandle(b,Q,le)},Se.useInsertionEffect=function(b,Q){return I.H.useInsertionEffect(b,Q)},Se.useLayoutEffect=function(b,Q){return I.H.useLayoutEffect(b,Q)},Se.useMemo=function(b,Q){return I.H.useMemo(b,Q)},Se.useOptimistic=function(b,Q){return I.H.useOptimistic(b,Q)},Se.useReducer=function(b,Q,le){return I.H.useReducer(b,Q,le)},Se.useRef=function(b){return I.H.useRef(b)},Se.useState=function(b){return I.H.useState(b)},Se.useSyncExternalStore=function(b,Q,le){return I.H.useSyncExternalStore(b,Q,le)},Se.useTransition=function(){return I.H.useTransition()},Se.version="19.1.0",Se}var kg;function rs(){return kg||(kg=1,Ic.exports=S1()),Ic.exports}var Gc={exports:{}},yt={};var Ag;function k1(){if(Ag)return yt;Ag=1;var e=rs();function i(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)h+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var a={d:{f:r,r:function(){throw Error(i(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function u(m,h,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:y==null?null:""+y,children:m,containerInfo:h,implementation:g}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return yt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,yt.createPortal=function(m,h){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(i(299));return u(m,h,null,g)},yt.flushSync=function(m){var h=c.T,g=a.p;try{if(c.T=null,a.p=2,m)return m()}finally{c.T=h,a.p=g,a.d.f()}},yt.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,a.d.C(m,h))},yt.prefetchDNS=function(m){typeof m=="string"&&a.d.D(m)},yt.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var g=h.as,y=d(g,h.crossOrigin),w=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;g==="style"?a.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:y,integrity:w,fetchPriority:v}):g==="script"&&a.d.X(m,{crossOrigin:y,integrity:w,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},yt.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var g=d(h.as,h.crossOrigin);a.d.M(m,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&a.d.M(m)},yt.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var g=h.as,y=d(g,h.crossOrigin);a.d.L(m,g,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},yt.preloadModule=function(m,h){if(typeof m=="string")if(h){var g=d(h.as,h.crossOrigin);a.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else a.d.m(m)},yt.requestFormReset=function(m){a.d.r(m)},yt.unstable_batchedUpdates=function(m,h){return m(h)},yt.useFormState=function(m,h,g){return c.H.useFormState(m,h,g)},yt.useFormStatus=function(){return c.H.useHostTransitionStatus()},yt.version="19.1.0",yt}var Tg;function ob(){if(Tg)return Gc.exports;Tg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(i){console.error(i)}}return e(),Gc.exports=k1(),Gc.exports}var Eg;function A1(){if(Eg)return Zl;Eg=1;var e=w1(),i=rs(),r=ob();function a(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var n=t,l=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(l=n.return),t=n.return;while(t)}return n.tag===3?l:null}function c(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function d(t){if(u(t)!==t)throw Error(a(188))}function m(t){var n=t.alternate;if(!n){if(n=u(t),n===null)throw Error(a(188));return n!==t?null:t}for(var l=t,o=n;;){var f=l.return;if(f===null)break;var p=f.alternate;if(p===null){if(o=f.return,o!==null){l=o;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===l)return d(f),t;if(p===o)return d(f),n;p=p.sibling}throw Error(a(188))}if(l.return!==o.return)l=f,o=p;else{for(var x=!1,S=f.child;S;){if(S===l){x=!0,l=f,o=p;break}if(S===o){x=!0,o=f,l=p;break}S=S.sibling}if(!x){for(S=p.child;S;){if(S===l){x=!0,l=p,o=f;break}if(S===o){x=!0,o=p,l=f;break}S=S.sibling}if(!x)throw Error(a(189))}}if(l.alternate!==o)throw Error(a(190))}if(l.tag!==3)throw Error(a(188));return l.stateNode.current===l?t:n}function h(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=h(t),n!==null)return n;t=t.sibling}return null}var g=Object.assign,y=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),L=Symbol.for("react.consumer"),M=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),B=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function te(t){return t===null||typeof t!="object"?null:(t=ne&&t[ne]||t["@@iterator"],typeof t=="function"?t:null)}var fe=Symbol.for("react.client.reference");function K(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===fe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case k:return"Fragment";case E:return"Profiler";case T:return"StrictMode";case I:return"Suspense";case z:return"SuspenseList";case ae:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case v:return"Portal";case M:return(t.displayName||"Context")+".Provider";case L:return(t._context.displayName||"Context")+".Consumer";case G:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case W:return n=t.displayName||null,n!==null?n:K(t.type)||"Memo";case V:n=t._payload,t=t._init;try{return K(t(n))}catch{}}return null}var Z=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},de=[],b=-1;function Q(t){return{current:t}}function le(t){0>b||(t.current=de[b],de[b]=null,b--)}function A(t,n){b++,de[b]=t.current,t.current=n}var se=Q(null),pe=Q(null),oe=Q(null),je=Q(null);function Ae(t,n){switch(A(oe,n),A(pe,t),A(se,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?Ym(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=Ym(n),t=Qm(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}le(se),A(se,t)}function Ne(){le(se),le(pe),le(oe)}function xt(t){t.memoizedState!==null&&A(je,t);var n=se.current,l=Qm(n,t.type);n!==l&&(A(pe,t),A(se,l))}function pt(t){pe.current===t&&(le(se),le(pe)),je.current===t&&(le(je),Fl._currentValue=ee)}var Kt=Object.prototype.hasOwnProperty,At=e.unstable_scheduleCallback,yn=e.unstable_cancelCallback,ya=e.unstable_shouldYield,ba=e.unstable_requestPaint,Lt=e.unstable_now,ks=e.unstable_getCurrentPriorityLevel,Jr=e.unstable_ImmediatePriority,Wr=e.unstable_UserBlockingPriority,Wi=e.unstable_NormalPriority,As=e.unstable_LowPriority,va=e.unstable_IdlePriority,Ts=e.log,Es=e.unstable_setDisableYieldValue,Y=null,ie=null;function ge(t){if(typeof Ts=="function"&&Es(t),ie&&typeof ie.setStrictMode=="function")try{ie.setStrictMode(Y,t)}catch{}}var xe=Math.clz32?Math.clz32:Rn,Be=Math.log,jt=Math.LN2;function Rn(t){return t>>>=0,t===0?32:31-(Be(t)/jt|0)|0}var Tt=256,bn=4194304;function Bt(t){var n=t&42;if(n!==0)return n;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function at(t,n,l){var o=t.pendingLanes;if(o===0)return 0;var f=0,p=t.suspendedLanes,x=t.pingedLanes;t=t.warmLanes;var S=o&134217727;return S!==0?(o=S&~p,o!==0?f=Bt(o):(x&=S,x!==0?f=Bt(x):l||(l=S&~t,l!==0&&(f=Bt(l))))):(S=o&~p,S!==0?f=Bt(S):x!==0?f=Bt(x):l||(l=o&~t,l!==0&&(f=Bt(l)))),f===0?0:n!==0&&n!==f&&(n&p)===0&&(p=f&-f,l=n&-n,p>=l||p===32&&(l&4194048)!==0)?n:f}function Zt(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function sn(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 Rd(){var t=Tt;return Tt<<=1,(Tt&4194048)===0&&(Tt=256),t}function Dd(){var t=bn;return bn<<=1,(bn&62914560)===0&&(bn=4194304),t}function Cs(t){for(var n=[],l=0;31>l;l++)n.push(t);return n}function el(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function l0(t,n,l,o,f,p){var x=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var S=t.entanglements,R=t.expirationTimes,q=t.hiddenUpdates;for(l=x&~l;0<l;){var X=31-xe(l),J=1<<X;S[X]=0,R[X]=-1;var P=q[X];if(P!==null)for(q[X]=null,X=0;X<P.length;X++){var H=P[X];H!==null&&(H.lane&=-536870913)}l&=~J}o!==0&&Nd(t,o,0),p!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=p&~(x&~n))}function Nd(t,n,l){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-xe(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|l&4194090}function Md(t,n){var l=t.entangledLanes|=n;for(t=t.entanglements;l;){var o=31-xe(l),f=1<<o;f&n|t[o]&n&&(t[o]|=n),l&=~f}}function Os(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Rs(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function zd(){var t=F.p;return t!==0?t:(t=window.event,t===void 0?32:dg(t.type))}function a0(t,n){var l=F.p;try{return F.p=t,n()}finally{F.p=l}}var Zn=Math.random().toString(36).slice(2),mt="__reactFiber$"+Zn,Et="__reactProps$"+Zn,er="__reactContainer$"+Zn,Ds="__reactEvents$"+Zn,o0="__reactListeners$"+Zn,s0="__reactHandles$"+Zn,_d="__reactResources$"+Zn,tl="__reactMarker$"+Zn;function Ns(t){delete t[mt],delete t[Et],delete t[Ds],delete t[o0],delete t[s0]}function tr(t){var n=t[mt];if(n)return n;for(var l=t.parentNode;l;){if(n=l[er]||l[mt]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(t=$m(t);t!==null;){if(l=t[mt])return l;t=$m(t)}return n}t=l,l=t.parentNode}return null}function nr(t){if(t=t[mt]||t[er]){var n=t.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return t}return null}function nl(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(a(33))}function ir(t){var n=t[_d];return n||(n=t[_d]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ot(t){t[tl]=!0}var Ld=new Set,jd={};function Ri(t,n){rr(t,n),rr(t+"Capture",n)}function rr(t,n){for(jd[t]=n,t=0;t<n.length;t++)Ld.add(n[t])}var u0=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]*$"),Bd={},Ud={};function c0(t){return Kt.call(Ud,t)?!0:Kt.call(Bd,t)?!1:u0.test(t)?Ud[t]=!0:(Bd[t]=!0,!1)}function xa(t,n,l){if(c0(n))if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+l)}}function wa(t,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+l)}}function Dn(t,n,l,o){if(o===null)t.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(n,l,""+o)}}var Ms,qd;function lr(t){if(Ms===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);Ms=n&&n[1]||"",qd=-1<l.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+Ms+t+qd}var zs=!1;function _s(t,n){if(!t||zs)return"";zs=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(H){var P=H}Reflect.construct(t,[],J)}else{try{J.call()}catch(H){P=H}t.call(J.prototype)}}else{try{throw Error()}catch(H){P=H}(J=t())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(H){if(H&&P&&typeof H.stack=="string")return[H.stack,P.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=o.DetermineComponentFrameRoot(),x=p[0],S=p[1];if(x&&S){var R=x.split(` 4`),q=S.split(` 5`);for(f=o=0;o<R.length&&!R[o].includes("DetermineComponentFrameRoot");)o++;for(;f<q.length&&!q[f].includes("DetermineComponentFrameRoot");)f++;if(o===R.length||f===q.length)for(o=R.length-1,f=q.length-1;1<=o&&0<=f&&R[o]!==q[f];)f--;for(;1<=o&&0<=f;o--,f--)if(R[o]!==q[f]){if(o!==1||f!==1)do if(o--,f--,0>f||R[o]!==q[f]){var X=` 6`+R[o].replace(" at new "," at ");return t.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",t.displayName)),X}while(1<=o&&0<=f);break}}}finally{zs=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?lr(l):""}function f0(t){switch(t.tag){case 26:case 27:case 5:return lr(t.type);case 16:return lr("Lazy");case 13:return lr("Suspense");case 19:return lr("SuspenseList");case 0:case 15:return _s(t.type,!1);case 11:return _s(t.type.render,!1);case 1:return _s(t.type,!0);case 31:return lr("Activity");default:return""}}function Pd(t){try{var n="";do n+=f0(t),t=t.return;while(t);return n}catch(l){return` 7Error generating stack: `+l.message+` 8`+l.stack}}function $t(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hd(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function d0(t){var n=Hd(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),o=""+t[n];if(!t.hasOwnProperty(n)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,p=l.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return f.call(this)},set:function(x){o=""+x,p.call(this,x)}}),Object.defineProperty(t,n,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(x){o=""+x},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function Sa(t){t._valueTracker||(t._valueTracker=d0(t))}function Id(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var l=n.getValue(),o="";return t&&(o=Hd(t)?t.checked?"true":"false":t.value),t=o,t!==l?(n.setValue(t),!0):!1}function ka(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var h0=/[\n"\\]/g;function Jt(t){return t.replace(h0,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Ls(t,n,l,o,f,p,x,S){t.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.type=x:t.removeAttribute("type"),n!=null?x==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+$t(n)):t.value!==""+$t(n)&&(t.value=""+$t(n)):x!=="submit"&&x!=="reset"||t.removeAttribute("value"),n!=null?js(t,x,$t(n)):l!=null?js(t,x,$t(l)):o!=null&&t.removeAttribute("value"),f==null&&p!=null&&(t.defaultChecked=!!p),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+$t(S):t.removeAttribute("name")}function Gd(t,n,l,o,f,p,x,S){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(t.type=p),n!=null||l!=null){if(!(p!=="submit"&&p!=="reset"||n!=null))return;l=l!=null?""+$t(l):"",n=n!=null?""+$t(n):l,S||n===t.value||(t.value=n),t.defaultValue=n}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=S?t.checked:!!o,t.defaultChecked=!!o,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(t.name=x)}function js(t,n,l){n==="number"&&ka(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function ar(t,n,l,o){if(t=t.options,n){n={};for(var f=0;f<l.length;f++)n["$"+l[f]]=!0;for(l=0;l<t.length;l++)f=n.hasOwnProperty("$"+t[l].value),t[l].selected!==f&&(t[l].selected=f),f&&o&&(t[l].defaultSelected=!0)}else{for(l=""+$t(l),n=null,f=0;f<t.length;f++){if(t[f].value===l){t[f].selected=!0,o&&(t[f].defaultSelected=!0);return}n!==null||t[f].disabled||(n=t[f])}n!==null&&(n.selected=!0)}}function Fd(t,n,l){if(n!=null&&(n=""+$t(n),n!==t.value&&(t.value=n),l==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=l!=null?""+$t(l):""}function Vd(t,n,l,o){if(n==null){if(o!=null){if(l!=null)throw Error(a(92));if(Z(o)){if(1<o.length)throw Error(a(93));o=o[0]}l=o}l==null&&(l=""),n=l}l=$t(n),t.defaultValue=l,o=t.textContent,o===l&&o!==""&&o!==null&&(t.value=o)}function or(t,n){if(n){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=n;return}}t.textContent=n}var p0=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 Yd(t,n,l){var o=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,l):typeof l!="number"||l===0||p0.has(n)?n==="float"?t.cssFloat=l:t[n]=(""+l).trim():t[n]=l+"px"}function Qd(t,n,l){if(n!=null&&typeof n!="object")throw Error(a(62));if(t=t.style,l!=null){for(var o in l)!l.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var f in n)o=n[f],n.hasOwnProperty(f)&&l[f]!==o&&Yd(t,f,o)}else for(var p in n)n.hasOwnProperty(p)&&Yd(t,p,n[p])}function Bs(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var m0=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"],["colorRen
8dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),g0=/^[\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 Aa(t){return g0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Us=null;function qs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sr=null,ur=null;function Xd(t){var n=nr(t);if(n&&(t=n.stateNode)){var l=t[Et]||null;e:switch(t=n.stateNode,n.type){case"input":if(Ls(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Jt(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var o=l[n];if(o!==t&&o.form===t.form){var f=o[Et]||null;if(!f)throw Error(a(90));Ls(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(n=0;n<l.length;n++)o=l[n],o.form===t.form&&Id(o)}break e;case"textarea":Fd(t,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&ar(t,!!l.multiple,n,!1)}}}var Ps=!1;function Kd(t,n,l){if(Ps)return t(n,l);Ps=!0;try{var o=t(n);return o}finally{if(Ps=!1,(sr!==null||ur!==null)&&(uo(),sr&&(n=sr,t=ur,ur=sr=null,Xd(n),t)))for(n=0;n<t.length;n++)Xd(t[n])}}function il(t,n){var l=t.stateNode;if(l===null)return null;var o=l[Et]||null;if(o===null)return null;l=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(a(231,n,typeof l));return l}var Nn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hs=!1;if(Nn)try{var rl={};Object.defineProperty(rl,"passive",{get:function(){Hs=!0}}),window.addEventListener("test",rl,rl),window.removeEventListener("test",rl,rl)}catch{Hs=!1}var $n=null,Is=null,Ta=null;function Zd(){if(Ta)return Ta;var t,n=Is,l=n.length,o,f="value"in $n?$n.value:$n.textContent,p=f.length;for(t=0;t<l&&n[t]===f[t];t++);var x=l-t;for(o=1;o<=x&&n[l-o]===f[p-o];o++);return Ta=f.slice(t,1<o?1-o:void 0)}function Ea(t){var n=t.keyCode;
vendor: 6,364 bytes, line 8
8return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function Ca(){return!0}function $d(){return!1}function Ct(t){function n(l,o,f,p,x){this._reactName=l,this._targetInst=f,this.type=o,this.nativeEvent=p,this.target=x,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(l=t[S],this[S]=l?l(p):p[S]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Ca:$d,this.isPropagationStopped=$d,this}return g(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ca)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ca)},persist:function(){},isPersistent:Ca}),n}var Di={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oa=Ct(Di),ll=g({},Di,{view:0,detail:0}),y0=Ct(ll),Gs,Fs,al,Ra=g({},ll,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ys,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==al&&(al&&t.type==="mousemove"?(Gs=t.screenX-al.screenX,Fs=t.screenY-al.screenY):Fs=Gs=0,al=t),Gs)},movementY:function(t){return"movementY"in t?t.movementY:Fs}}),Jd=Ct(Ra),b0=g({},Ra,{dataTransfer:0}),v0=Ct(b0),x0=g({},ll,{relatedTarget:0}),Vs=Ct(x0),w0=g({},Di,{animationName:0,elapsedTime:0,pseudoElement:0}),S0=Ct(w0),k0=g({},Di,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),A0=Ct(k0),T0=g({},Di,{data:0}),Wd=Ct(T0),E0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},C0={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"},O0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function R0(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=O0[t])?!!n[t]:!1}function Ys(){return R0}var D0=g({},ll,{key:function(t){if(t.key){var n=E0[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=Ea(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?C0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ys,charCode:function(t){return t.type==="keypress"?Ea(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ea(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),N0=Ct(D0),M0=g({},Ra,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),eh=Ct(M0),z0=g({},ll,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ys}),_0=Ct(z0),L0=g({},Di,{propertyName:0,elapsedTime:0,pseudoElement:0}),j0=Ct(L0),B0=g({},Ra,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),U0=Ct(B0),q0=g({},Di,{newState:0,oldState:0}),P0=Ct(q0),H0=[9,13,27,32],Qs=Nn&&"CompositionEvent"in window,ol=null;Nn&&"documentMode"in document&&(ol=document.documentMode);var I0=Nn&&"TextEvent"in window&&!ol,th=Nn&&(!Qs||ol&&8<ol&&11>=ol),nh=" ",ih=!1;function rh(t,n){switch(t){case"keyup":return H0.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var cr=!1;function G0(t,n){switch(t){case"compositionend":return lh(n);case"keypress":return n.which!==32?null:(ih=!0,nh);case"textInput":return t=n.data,t===nh&&ih?null:t;default:return null}}function F0(t,n){if(cr)return t==="compositionend"||!Qs&&rh(t,n)?(t=Zd(),Ta=Is=$n=null,cr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return th&&n.locale!=="ko"?null:n.data;default:return null}}var V0={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 ah(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!V0[t.type]:n==="textarea"}function oh(t,n,l,o){sr?ur?ur.push(o):ur=[o]:sr=o,n=go(n,"onChange"),0<n.length&&(l=new Oa("onChange","change",null,l,o),t.push({event:l,listeners:n}))}var sl=null,ul=null;function Y0(t){Hm(t,0)}function Da(t){var n=nl(t);if(Id(n))return t}function sh(t,n){if(t==="change")return n}var uh=!1;if(Nn){var Xs;if(Nn){var Ks="oninput"in document;if(!Ks){var ch=document.createElement("div");ch.setAttribute("oninput","return;"),Ks=typeof ch.oninput=="function"}Xs=Ks}else Xs=!1;uh=Xs&&(!document.documentMode||9<document.documentMode)}function fh(){sl&&(sl.detachEvent("onpropertychange",dh),ul=sl=null)}function dh(t){if(t.propertyName==="value"&&Da(ul)){var n=[];oh(n,ul,t,qs(t)),Kd(Y0,n)}}function Q0(t,n,l){t==="focusin"?(fh(),sl=n,ul=l,sl.attachEvent("onpropertychange",dh)):t==="focusout"&&fh()}function X0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Da(ul)}function K0(t,n){if(t==="click")return Da(n)}function Z0(t,n){if(t==="input"||t==="change")return Da(n)}function $0(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Ut=typeof Object.is=="function"?Object.is:$0;function cl(t,n){if(Ut(t,n))return!0;
vendor: 98,482 bytes, line 8
8if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var l=Object.keys(t),o=Object.keys(n);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var f=l[o];if(!Kt.call(n,f)||!Ut(t[f],n[f]))return!1}return!0}function hh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ph(t,n){var l=hh(t);t=0;for(var o;l;){if(l.nodeType===3){if(o=t+l.textContent.length,t<=n&&o>=n)return{node:l,offset:n-t};t=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=hh(l)}}function mh(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?mh(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function gh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=ka(t.document);n instanceof t.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)t=n.contentWindow;else break;n=ka(t.document)}return n}function Zs(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var J0=Nn&&"documentMode"in document&&11>=document.documentMode,fr=null,$s=null,fl=null,Js=!1;function yh(t,n,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Js||fr==null||fr!==ka(o)||(o=fr,"selectionStart"in o&&Zs(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),fl&&cl(fl,o)||(fl=o,o=go($s,"onSelect"),0<o.length&&(n=new Oa("onSelect","select",null,n,l),t.push({event:n,listeners:o}),n.target=fr)))}function Ni(t,n){var l={};return l[t.toLowerCase()]=n.toLowerCase(),l["Webkit"+t]="webkit"+n,l["Moz"+t]="moz"+n,l}var dr={animationend:Ni("Animation","AnimationEnd"),animationiteration:Ni("Animation","AnimationIteration"),animationstart:Ni("Animation","AnimationStart"),transitionrun:Ni("Transition","TransitionRun"),transitionstart:Ni("Transition","TransitionStart"),transitioncancel:Ni("Transition","TransitionCancel"),transitionend:Ni("Transition","TransitionEnd")},Ws={},bh={};Nn&&(bh=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);function Mi(t){if(Ws[t])return Ws[t];if(!dr[t])return t;var n=dr[t],l;for(l in n)if(n.hasOwnProperty(l)&&l in bh)return Ws[t]=n[l];return t}var vh=Mi("animationend"),xh=Mi("animationiteration"),wh=Mi("animationstart"),W0=Mi("transitionrun"),ew=Mi("transitionstart"),tw=Mi("transitioncancel"),Sh=Mi("transitionend"),kh=new Map,eu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");eu.push("scrollEnd");function un(t,n){kh.set(t,n),Ri(n,[t])}var Ah=new WeakMap;function Wt(t,n){if(typeof t=="object"&&t!==null){var l=Ah.get(t);return l!==void 0?l:(n={value:t,source:n,stack:Pd(n)},Ah.set(t,n),n)}return{value:t,source:n,stack:Pd(n)}}var en=[],hr=0,tu=0;function Na(){for(var t=hr,n=tu=hr=0;n<t;){var l=en[n];en[n++]=null;var o=en[n];en[n++]=null;var f=en[n];en[n++]=null;var p=en[n];if(en[n++]=null,o!==null&&f!==null){var x=o.pending;x===null?f.next=f:(f.next=x.next,x.next=f),o.pending=f}p!==0&&Th(l,f,p)}}function Ma(t,n,l,o){en[hr++]=t,en[hr++]=n,en[hr++]=l,en[hr++]=o,tu|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function nu(t,n,l,o){return Ma(t,n,l,o),za(t)}function pr(t,n){return Ma(t,null,null,n),za(t)}function Th(t,n,l){t.lanes|=l;var o=t.alternate;o!==null&&(o.lanes|=l);for(var f=!1,p=t.return;p!==null;)p.childLanes|=l,o=p.alternate,o!==null&&(o.childLanes|=l),p.tag===22&&(t=p.stateNode,t===null||t._visibility&1||(f=!0)),t=p,p=p.return;return t.tag===3?(p=t.stateNode,f&&n!==null&&(f=31-xe(l),t=p.hiddenUpdates,o=t[f],o===null?t[f]=[n]:o.push(n),n.lane=l|536870912),p):null}function za(t){if(50<jl)throw jl=0,sc=null,Error(a(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var mr={};function nw(t,n,l,o){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(t,n,l,o){return new nw(t,n,l,o)}function iu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mn(t,n){var l=t.alternate;return l===null?(l=qt(t.tag,n,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=n,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,n=t.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Eh(t,n){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,n=l.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function _a(t,n,l,o,f,p){var x=0;if(o=t,typeof t=="function")iu(t)&&(x=1);else if(typeof t=="string")x=r1(t,l,se.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case ae:return t=qt(31,l,n,f),t.elementType=ae,t.lanes=p,t;case k:return zi(l.children,f,p,n);case T:x=8,f|=24;break;case E:return t=qt(12,l,n,f|2),t.elementType=E,t.lanes=p,t;case I:return t=qt(13,l,n,f),t.elementType=I,t.lanes=p,t;case z:return t=qt(19,l,n,f),t.elementType=z,t.lanes=p,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case C:case M:x=10;break e;case L:x=9;break e;case G:x=11;break e;case W:x=14;break e;case V:x=16,o=null;break e}x=29,l=Error(a(130,t===null?"null":typeof t,"")),o=null}return n=qt(x,l,n,f),n.elementType=t,n.type=o,n.lanes=p,n}function zi(t,n,l,o){return t=qt(7,t,o,n),t.lanes=l,t}function ru(t,n,l){return t=qt(6,t,null,n),t.lanes=l,t}function lu(t,n,l){return n=qt(4,t.children!==null?t.children:[],t.key,n),n.lanes=l,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var gr=[],yr=0,La=null,ja=0,tn=[],nn=0,_i=null,zn=1,_n="";function Li(t,n){gr[yr++]=ja,gr[yr++]=La,La=t,ja=n}function Ch(t,n,l){tn[nn++]=zn,tn[nn++]=_n,tn[nn++]=_i,_i=t;var o=zn;t=_n;var f=32-xe(o)-1;o&=~(1<<f),l+=1;var p=32-xe(n)+f;if(30<p){var x=f-f%5;p=(o&(1<<x)-1).toString(32),o>>=x,f-=x,zn=1<<32-xe(n)+f|l<<f|o,_n=p+t}else zn=1<<p|l<<f|o,_n=t}function au(t){t.return!==null&&(Li(t,1),Ch(t,1,0))}function ou(t){for(;t===La;)La=gr[--yr],gr[yr]=null,ja=gr[--yr],gr[yr]=null;for(;t===_i;)_i=tn[--nn],tn[nn]=null,_n=tn[--nn],tn[nn]=null,zn=tn[--nn],tn[nn]=null}var wt=null,Ke=null,Le=!1,ji=null,vn=!1,su=Error(a(519));function Bi(t){var n=Error(a(418,""));throw pl(Wt(n,t)),su}function Oh(t){var n=t.stateNode,l=t.type,o=t.memoizedProps;switch(n[mt]=t,n[Et]=o,l){case"dialog":Re("cancel",n),Re("close",n);break;case"iframe":case"object":case"embed":Re("load",n);break;case"video":case"audio":for(l=0;l<Ul.length;l++)Re(Ul[l],n);break;case"source":Re("error",n);break;case"img":case"image":case"link":Re("error",n),Re("load",n);break;case"details":Re("toggle",n);break;case"input":Re("invalid",n),Gd(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Sa(n);break;case"select":Re("invalid",n);break;case"textarea":Re("invalid",n),Vd(n,o.value,o.defaultValue,o.children),Sa(n)}l=o.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||o.suppressHydrationWarning===!0||Vm(n.textContent,l)?(o.popover!=null&&(Re("beforetoggle",n),Re("toggle",n)),o.onScroll!=null&&Re("scroll",n),o.onScrollEnd!=null&&Re("scrollend",n),o.onClick!=null&&(n.onclick=yo),n=!0):n=!1,n||Bi(t)}function Rh(t){for(wt=t.return;wt;)switch(wt.tag){case 5:case 13:vn=!1;return;case 27:case 3:vn=!0;return;default:wt=wt.return}}function dl(t){if(t!==wt)return!1;if(!Le)return Rh(t),Le=!0,!1;var n=t.tag,l;if((l=n!==3&&n!==27)&&((l=n===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Ac(t.type,t.memoizedProps)),l=!l),l&&Ke&&Bi(t),Rh(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));e:{for(t=t.nextSibling,n=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(n===0){Ke=fn(t.nextSibling);break e}n--}else l!=="$"&&l!=="$!"&&l!=="$?"||n++;t=t.nextSibling}Ke=null}}else n===27?(n=Ke,hi(t.type)?(t=Oc,Oc=null,Ke=t):Ke=n):Ke=wt?fn(t.stateNode.nextSibling):null;return!0}function hl(){Ke=wt=null,Le=!1}function Dh(){var t=ji;return t!==null&&(Dt===null?Dt=t:Dt.push.apply(Dt,t),ji=null),t}function pl(t){ji===null?ji=[t]:ji.push(t)}var uu=Q(null),Ui=null,Ln=null;function Jn(t,n,l){A(uu,n._currentValue),n._currentValue=l}function jn(t){t._currentValue=uu.current,le(uu)}function cu(t,n,l){for(;t!==null;){var o=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),t===l)break;t=t.return}}function fu(t,n,l,o){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var p=f.dependencies;if(p!==null){var x=f.child;p=p.firstContext;e:for(;p!==null;){var S=p;p=f;for(var R=0;R<n.length;R++)if(S.context===n[R]){p.lanes|=l,S=p.alternate,S!==null&&(S.lanes|=l),cu(p.return,l,t),o||(x=null);break e}p=S.next}}else if(f.tag===18){if(x=f.return,x===null)throw Error(a(341));x.lanes|=l,p=x.alternate,p!==null&&(p.lanes|=l),cu(x,l,t),x=null}else x=f.child;if(x!==null)x.return=f;else for(x=f;x!==null;){if(x===t){x=null;break}if(f=x.sibling,f!==null){f.return=x.return,x=f;break}x=x.return}f=x}}function ml(t,n,l,o){t=null;for(var f=n,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var x=f.alternate;if(x===null)throw Error(a(387));if(x=x.memoizedProps,x!==null){var S=f.type;Ut(f.pendingProps.value,x.value)||(t!==null?t.push(S):t=[S])}}else if(f===je.current){if(x=f.alternate,x===null)throw Error(a(387));x.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(Fl):t=[Fl])}f=f.return}t!==null&&fu(n,t,l,o),n.flags|=262144}function Ba(t){for(t=t.firstContext;t!==null;){if(!Ut(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function qi(t){Ui=t,Ln=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function gt(t){return Nh(Ui,t)}function Ua(t,n){return Ui===null&&qi(t),Nh(t,n)}function Nh(t,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},Ln===null){if(t===null)throw Error(a(308));Ln=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else Ln=Ln.next=n;return l}var iw=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(l,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(l){return l()})}},rw=e.unstable_scheduleCallback,lw=e.unstable_NormalPriority,nt={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function du(){return{controller:new iw,data:new Map,refCount:0}}function gl(t){t.refCount--,t.refCount===0&&rw(lw,function(){t.controller.abort()})}var yl=null,hu=0,br=0,vr=null;function aw(t,n){if(yl===null){var l=yl=[];hu=0,br=mc(),vr={status:"pending",value:void 0,then:function(o){l.push(o)}}}return hu++,n.then(Mh,Mh),n}function Mh(){if(--hu===0&&yl!==null){vr!==null&&(vr.status="fulfilled");var t=yl;yl=null,br=0,vr=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function ow(t,n){var l=[],o={status:"pending",value:null,reason:null,then:function(f){l.push(f)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var f=0;f<l.length;f++)(0,l[f])(n)},function(f){for(o.status="rejected",o.reason=f,f=0;f<l.length;f++)(0,l[f])(void 0)}),o}var zh=_.S;_.S=function(t,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&aw(t,n),zh!==null&&zh(t,n)};var Pi=Q(null);function pu(){var t=Pi.current;return t!==null?t:Ve.pooledCache}function qa(t,n){n===null?A(Pi,Pi.current):A(Pi,n.pool)}function _h(){var t=pu();return t===null?null:{parent:nt._currentValue,pool:t}}var bl=Error(a(460)),Lh=Error(a(474)),Pa=Error(a(542)),mu={then:function(){}};function jh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ha(){}function Bh(t,n,l){switch(l=t[l],l===void 0?t.push(n):l!==n&&(n.then(Ha,Ha),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,qh(t),t;default:if(typeof n.status=="string")n.then(Ha,Ha);else{if(t=Ve,t!==null&&100<t.shellSuspendCounter)throw Error(a(482));t=n,t.status="pending",t.then(function(o){if(n.status==="pending"){var f=n;f.status="fulfilled",f.value=o}},function(o){if(n.status==="pending"){var f=n;f.status="rejected",f.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,qh(t),t}throw vl=n,bl}}var vl=null;function Uh(){if(vl===null)throw Error(a(459));var t=vl;return vl=null,t}function qh(t){if(t===bl||t===Pa)throw Error(a(483))}var Wn=!1;function gu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yu(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ei(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ti(t,n,l){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Ue&2)!==0){var f=o.pending;return f===null?n.next=n:(n.next=f.next,f.next=n),o.pending=n,n=za(t),Th(t,null,l),n}return Ma(t,o,n,l),za(t)}function xl(t,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,l|=o,n.lanes=l,Md(t,l)}}function bu(t,n){var l=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var f=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var x={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};p===null?f=p=x:p=p.next=x,l=l.next}while(l!==null);p===null?f=p=n:p=p.next=n}else f=p=n;l={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:o.shared,callbacks:o.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=n:t.next=n,l.lastBaseUpdate=n}var vu=!1;function wl(){if(vu){var t=vr;if(t!==null)throw t}}function Sl(t,n,l,o){vu=!1;var f=t.updateQueue;Wn=!1;var p=f.firstBaseUpdate,x=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var R=S,q=R.next;R.next=null,x===null?p=q:x.next=q,x=R;var X=t.alternate;X!==null&&(X=X.updateQueue,S=X.lastBaseUpdate,S!==x&&(S===null?X.firstBaseUpdate=q:S.next=q,X.lastBaseUpdate=R))}if(p!==null){var J=f.baseState;x=0,X=q=R=null,S=p;do{var P=S.lane&-536870913,H=P!==S.lane;if(H?(Me&P)===P:(o&P)===P){P!==0&&P===br&&(vu=!0),X!==null&&(X=X.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var we=t,be=S;P=n;var Ie=l;switch(be.tag){case 1:if(we=be.payload,typeof we=="function"){J=we.call(Ie,J,P);break e}J=we;break e;case 3:we.flags=we.flags&-65537|128;case 0:if(we=be.payload,P=typeof we=="function"?we.call(Ie,J,P):we,P==null)break e;J=g({},J,P);break e;case 2:Wn=!0}}P=S.callback,P!==null&&(t.flags|=64,H&&(t.flags|=8192),H=f.callbacks,H===null?f.callbacks=[P]:H.push(P))}else H={lane:P,tag:S.tag,payload:S.payload,callback:S.callback,next:null},X===null?(q=X=H,R=J):X=X.next=H,x|=P;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;H=S,S=H.next,H.next=null,f.lastBaseUpdate=H,f.shared.pending=null}}while(!0);X===null&&(R=J),f.baseState=R,f.firstBaseUpdate=q,f.lastBaseUpdate=X,p===null&&(f.shared.lanes=0),ui|=x,t.lanes=x,t.memoizedState=J}}function Ph(t,n){if(typeof t!="function")throw Error(a(191,t));t.call(n)}function Hh(t,n){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Ph(l[t],n)}var xr=Q(null),Ia=Q(0);function Ih(t,n){t=Gn,A(Ia,t),A(xr,n),Gn=t|n.baseLanes}function xu(){A(Ia,Gn),A(xr,xr.current)}function wu(){Gn=Ia.current,le(xr),le(Ia)}var ni=0,Te=null,Pe=null,We=null,Ga=!1,wr=!1,Hi=!1,Fa=0,kl=0,Sr=null,sw=0;function $e(){throw Error(a(321))}function Su(t,n){if(n===null)return!1;for(var l=0;l<n.length&&l<t.length;l++)if(!Ut(t[l],n[l]))return!1;return!0}function ku(t,n,l,o,f,p){return ni=p,Te=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,_.H=t===null||t.memoizedState===null?Tp:Ep,Hi=!1,p=l(o,f),Hi=!1,wr&&(p=Fh(n,l,o,f)),Gh(t),p}function Gh(t){_.H=Za;var n=Pe!==null&&Pe.next!==null;if(ni=0,We=Pe=Te=null,Ga=!1,kl=0,Sr=null,n)throw Error(a(300));t===null||st||(t=t.dependencies,t!==null&&Ba(t)&&(st=!0))}function Fh(t,n,l,o){Te=t;var f=0;do{if(wr&&(Sr=null),kl=0,wr=!1,25<=f)throw Error(a(301));if(f+=1,We=Pe=null,t.updateQueue!=null){var p=t.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}_.H=mw,p=n(l,o)}while(wr);return p}function uw(){var t=_.H,n=t.useState()[0];return n=typeof n.then=="function"?Al(n):n,t=t.useState()[0],(Pe!==null?Pe.memoizedState:null)!==t&&(Te.flags|=1024),n}function Au(){var t=Fa!==0;return Fa=0,t}function Tu(t,n,l){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~l}function Eu(t){if(Ga){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Ga=!1}ni=0,We=Pe=Te=null,wr=!1,kl=Fa=0,Sr=null}function Ot(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return We===null?Te.memoizedState=We=t:We=We.next=t,We}function et(){if(Pe===null){var t=Te.alternate;t=t!==null?t.memoizedState:null}else t=Pe.next;var n=We===null?Te.memoizedState:We.next;if(n!==null)We=n,Pe=t;else{if(t===null)throw Te.alternate===null?Error(a(467)):Error(a(310));Pe=t,t={memoizedState:Pe.memoizedState,baseState:Pe.baseState,baseQueue:Pe.baseQueue,queue:Pe.queue,next:null},We===null?Te.memoizedState=We=t:We=We.next=t}return We}function Cu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Al(t){var n=kl;return kl+=1,Sr===null&&(Sr=[]),t=Bh(Sr,t,n),n=Te,(We===null?n.memoizedState:We.next)===null&&(n=n.alternate,_.H=n===null||n.memoizedState===null?Tp:Ep),t}function Va(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Al(t);if(t.$$typeof===M)return gt(t)}throw Error(a(438,String(t)))}function Ou(t){var n=null,l=Te.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var o=Te.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(f){return f.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=Cu(),Te.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(t),o=0;o<t;o++)l[o]=B;return n.index++,l}function Bn(t,n){return typeof n=="function"?n(t):n}function Ya(t){var n=et();return Ru(n,Pe,t)}function Ru(t,n,l){var o=t.queue;if(o===null)throw Error(a(311));o.lastRenderedReducer=l;var f=t.baseQueue,p=o.pending;if(p!==null){if(f!==null){var x=f.next;f.next=p.next,p.next=x}n.baseQueue=f=p,o.pending=null}if(p=t.baseState,f===null)t.memoizedState=p;else{n=f.next;var S=x=null,R=null,q=n,X=!1;do{var J=q.lane&-536870913;if(J!==q.lane?(Me&J)===J:(ni&J)===J){var P=q.revertLane;if(P===0)R!==null&&(R=R.next={lane:0,revertLane:0,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),J===br&&(X=!0);else if((ni&P)===P){q=q.next,P===br&&(X=!0);continue}else J={lane:0,revertLane:q.revertLane,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},R===null?(S=R=J,x=p):R=R.next=J,Te.lanes|=P,ui|=P;J=q.action,Hi&&l(p,J),p=q.hasEagerState?q.eagerState:l(p,J)}else P={lane:J,revertLane:q.revertLane,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},R===null?(S=R=P,x=p):R=R.next=P,Te.lanes|=J,ui|=J;q=q.next}while(q!==null&&q!==n);if(R===null?x=p:R.next=S,!Ut(p,t.memoizedState)&&(st=!0,X&&(l=vr,l!==null)))throw l;t.memoizedState=p,t.baseState=x,t.baseQueue=R,o.lastRenderedState=p}return f===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Du(t){var n=et(),l=n.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=t;var o=l.dispatch,f=l.pending,p=n.memoizedState;if(f!==null){l.pending=null;var x=f=f.next;do p=t(p,x.action),x=x.next;while(x!==f);Ut(p,n.memoizedState)||(st=!0),n.memoizedState=p,n.baseQueue===null&&(n.baseState=p),l.lastRenderedState=p}return[p,o]}function Vh(t,n,l){var o=Te,f=et(),p=Le;if(p){if(l===void 0)throw Error(a(407));l=l()}else l=n();var x=!Ut((Pe||f).memoizedState,l);x&&(f.memoizedState=l,st=!0),f=f.queue;var S=Xh.bind(null,o,f,t);if(Tl(2048,8,S,[t]),f.getSnapshot!==n||x||We!==null&&We.memoizedState.tag&1){if(o.flags|=2048,kr(9,Qa(),Qh.bind(null,o,f,l,n),null),Ve===null)throw Error(a(349));p||(ni&124)!==0||Yh(o,n,l)}return l}function Yh(t,n,l){t.flags|=16384,t={getSnapshot:n,value:l},n=Te.updateQueue,n===null?(n=Cu(),Te.updateQueue=n,n.stores=[t]):(l=n.stores,l===null?n.stores=[t]:l.push(t))}function Qh(t,n,l,o){n.value=l,n.getSnapshot=o,Kh(n)&&Zh(t)}function Xh(t,n,l){return l(function(){Kh(n)&&Zh(t)})}function Kh(t){var n=t.getSnapshot;t=t.value;try{var l=n();return!Ut(t,l)}catch{return!0}}function Zh(t){var n=pr(t,2);n!==null&&Ft(n,t,2)}function Nu(t){var n=Ot();if(typeof t=="function"){var l=t;if(t=l(),Hi){ge(!0);try{l()}finally{ge(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bn,lastRenderedState:t},n}function $h(t,n,l,o){return t.baseState=l,Ru(t,Pe,typeof o=="function"?o:Bn)}function cw(t,n,l,o,f){if(Ka(t))throw Error(a(485));if(t=n.action,t!==null){var p={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){p.listeners.push(x)}};_.T!==null?l(!0):p.isTransition=!1,o(p),l=n.pending,l===null?(p.next=n.pending=p,Jh(n,p)):(p.next=l.next,n.pending=l.next=p)}}function Jh(t,n){var l=n.action,o=n.payload,f=t.state;if(n.isTransition){var p=_.T,x={};_.T=x;try{var S=l(f,o),R=_.S;R!==null&&R(x,S),Wh(t,n,S)}catch(q){Mu(t,n,q)}finally{_.T=p}}else try{p=l(f,o),Wh(t,n,p)}catch(q){Mu(t,n,q)}}function Wh(t,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(o){ep(t,n,o)},function(o){return Mu(t,n,o)}):ep(t,n,l)}function ep(t,n,l){n.status="fulfilled",n.value=l,tp(n),t.state=l,n=t.pending,n!==null&&(l=n.next,l===n?t.pending=null:(l=l.next,n.next=l,Jh(t,l)))}function Mu(t,n,l){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=l,tp(n),n=n.next;while(n!==o)}t.action=null}function tp(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function np(t,n){return n}function ip(t,n){if(Le){var l=Ve.formState;if(l!==null){e:{var o=Te;if(Le){if(Ke){t:{for(var f=Ke,p=vn;f.nodeType!==8;){if(!p){f=null;break t}if(f=fn(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Ke=fn(f.nextSibling),o=f.data==="F!";break e}}Bi(o)}o=!1}o&&(n=l[0])}}return l=Ot(),l.memoizedState=l.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:np,lastRenderedState:n},l.queue=o,l=Sp.bind(null,Te,o),o.dispatch=l,o=Nu(!1),p=Bu.bind(null,Te,!1,o.queue),o=Ot(),f={state:n,dispatch:null,action:t,pending:null},o.queue=f,l=cw.bind(null,Te,f,p,l),f.dispatch=l,o.memoizedState=t,[n,l,!1]}function rp(t){var n=et();return lp(n,Pe,t)}function lp(t,n,l){if(n=Ru(t,n,np)[0],t=Ya(Bn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Al(n)}catch(x){throw x===bl?Pa:x}else o=n;n=et();var f=n.queue,p=f.dispatch;return l!==n.memoizedState&&(Te.flags|=2048,kr(9,Qa(),fw.bind(null,f,l),null)),[o,p,t]}function fw(t,n){t.action=n}function ap(t){var n=et(),l=Pe;if(l!==null)return lp(n,l,t);et(),n=n.memoizedState,l=et();var o=l.queue.dispatch;return l.memoizedState=t,[n,o,!1]}function kr(t,n,l,o){return t={tag:t,create:l,deps:o,inst:n,next:null},n=Te.updateQueue,n===null&&(n=Cu(),Te.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=t.next=t:(o=l.next,l.next=t,t.next=o,n.lastEffect=t),t}function Qa(){return{destroy:void 0,resource:void 0}}function op(){return et().memoizedState}function Xa(t,n,l,o){var f=Ot();o=o===void 0?null:o,Te.flags|=t,f.memoizedState=kr(1|n,Qa(),l,o)}function Tl(t,n,l,o){var f=et();o=o===void 0?null:o;var p=f.memoizedState.inst;Pe!==null&&o!==null&&Su(o,Pe.memoizedState.deps)?f.memoizedState=kr(n,p,l,o):(Te.flags|=t,f.memoizedState=kr(1|n,p,l,o))}function sp(t,n){Xa(8390656,8,t,n)}function up(t,n){Tl(2048,8,t,n)}function cp(t,n){return Tl(4,2,t,n)}function fp(t,n){return Tl(4,4,t,n)}function dp(t,n){if(typeof n=="function"){t=t();var l=n(t);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function hp(t,n,l){l=l!=null?l.concat([t]):null,Tl(4,4,dp.bind(null,n,t),l)}function zu(){}function pp(t,n){var l=et();n=n===void 0?null:n;var o=l.memoizedState;return n!==null&&Su(n,o[1])?o[0]:(l.memoizedState=[t,n],t)}function mp(t,n){var l=et();n=n===void 0?null:n;var o=l.memoizedState;if(n!==null&&Su(n,o[1]))return o[0];if(o=t(),Hi){ge(!0);try{t()}finally{ge(!1)}}return l.memoizedState=[o,n],o}function _u(t,n,l){return l===void 0||(ni&1073741824)!==0?t.memoizedState=n:(t.memoizedState=l,t=bm(),Te.lanes|=t,ui|=t,l)}function gp(t,n,l,o){return Ut(l,n)?l:xr.current!==null?(t=_u(t,l,o),Ut(t,n)||(st=!0),t):(ni&42)===0?(st=!0,t.memoizedState=l):(t=bm(),Te.lanes|=t,ui|=t,n)}function yp(t,n,l,o,f){var p=F.p;F.p=p!==0&&8>p?p:8;var x=_.T,S={};_.T=S,Bu(t,!1,n,l);try{var R=f(),q=_.S;if(q!==null&&q(S,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var X=ow(R,o);El(t,n,X,Gt(t))}else El(t,n,o,Gt(t))}catch(J){El(t,n,{then:function(){},status:"rejected",reason:J},Gt())}finally{F.p=p,_.T=x}}function dw(){}function Lu(t,n,l,o){if(t.tag!==5)throw Error(a(476));var f=bp(t).queue;yp(t,f,n,ee,l===null?dw:function(){return vp(t),l(o)})}function bp(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bn,lastRenderedState:ee},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bn,lastRenderedState:l},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function vp(t){var n=bp(t).next.queue;El(t,n,{},Gt())}function ju(){return gt(Fl)}function xp(){return et().memoizedState}function wp(){return et().memoizedState}function hw(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var l=Gt();t=ei(l);var o=ti(n,t,l);o!==null&&(Ft(o,n,l),xl(o,n,l)),n={cache:du()},t.payload=n;return}n=n.return}}function pw(t,n,l){var o=Gt();l={lane:o,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Ka(t)?kp(n,l):(l=nu(t,n,l,o),l!==null&&(Ft(l,t,o),Ap(l,n,o)))}function Sp(t,n,l){var o=Gt();El(t,n,l,o)}function El(t,n,l,o){var f={lane:o,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ka(t))kp(n,f);else{var p=t.alternate;if(t.lanes===0&&(p===null||p.lanes===0)&&(p=n.lastRenderedReducer,p!==null))try{var x=n.lastRenderedState,S=p(x,l);if(f.hasEagerState=!0,f.eagerState=S,Ut(S,x))return Ma(t,n,f,0),Ve===null&&Na(),!1}catch{}if(l=nu(t,n,f,o),l!==null)return Ft(l,t,o),Ap(l,n,o),!0}return!1}function Bu(t,n,l,o){if(o={lane:2,revertLane:mc(),action:o,hasEagerState:!1,eagerState:null,next:null},Ka(t)){if(n)throw Error(a(479))}else n=nu(t,l,o,2),n!==null&&Ft(n,t,2)}function Ka(t){var n=t.alternate;return t===Te||n!==null&&n===Te}function kp(t,n){wr=Ga=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function Ap(t,n,l){if((l&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,l|=o,n.lanes=l,Md(t,l)}}var Za={readContext:gt,use:Va,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useLayoutEffect:$e,useInsertionEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useSyncExternalStore:$e,useId:$e,useHostTransitionStatus:$e,useFormState:$e,useActionState:$e,useOptimistic:$e,useMemoCache:$e,useCacheRefresh:$e},Tp={readContext:gt,use:Va,useCallback:function(t,n){return Ot().memoizedState=[t,n===void 0?null:n],t},useContext:gt,useEffect:sp,useImperativeHandle:function(t,n,l){l=l!=null?l.concat([t]):null,Xa(4194308,4,dp.bind(null,n,t),l)},useLayoutEffect:function(t,n){return Xa(4194308,4,t,n)},useInsertionEffect:function(t,n){Xa(4,2,t,n)},useMemo:function(t,n){var l=Ot();n=n===void 0?null:n;var o=t();if(Hi){ge(!0);try{t()}finally{ge(!1)}}return l.memoizedState=[o,n],o},useReducer:function(t,n,l){var o=Ot();if(l!==void 0){var f=l(n);if(Hi){ge(!0);try{l(n)}finally{ge(!1)}}}else f=n;return o.memoizedState=o.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},o.queue=t,t=t.dispatch=pw.bind(null,Te,t),[o.memoizedState,t]},useRef:function(t){var n=Ot();return t={current:t},n.memoizedState=t},useState:function(t){t=Nu(t);var n=t.queue,l=Sp.bind(null,Te,n);return n.dispatch=l,[t.memoizedState,l]},useDebugValue:zu,useDeferredValue:function(t,n){var l=Ot();return _u(l,t,n)},useTransition:function(){var t=Nu(!1);return t=yp.bind(null,Te,t.queue,!0,!1),Ot().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,l){var o=Te,f=Ot();if(Le){if(l===void 0)throw Error(a(407));l=l()}else{if(l=n(),Ve===null)throw Error(a(349));(Me&124)!==0||Yh(o,n,l)}f.memoizedState=l;var p={value:l,getSnapshot:n};return f.queue=p,sp(Xh.bind(null,o,p,t),[t]),o.flags|=2048,kr(9,Qa(),Qh.bind(null,o,p,l,n),null),l},useId:function(){var t=Ot(),n=Ve.identifierPrefix;if(Le){var l=_n,o=zn;l=(o&~(1<<32-xe(o)-1)).toString(32)+l,n="«"+n+"R"+l,l=Fa++,0<l&&(n+="H"+l.toString(32)),n+="»"}else l=sw++,n="«"+n+"r"+l.toString(32)+"»";return t.memoizedState=n},useHostTransitionStatus:ju,useFormState:ip,useActionState:ip,useOptimistic:function(t){var n=Ot();n.memoizedState=n.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=Bu.bind(null,Te,!0,l),l.dispatch=n,[t,n]},useMemoCache:Ou,useCacheRefresh:function(){return Ot().memoizedState=hw.bind(null,Te)}},Ep={readContext:gt,use:Va,useCallback:pp,useContext:gt,useEffect:up,useImperativeHandle:hp,useInsertionEffect:cp,useLayoutEffect:fp,useMemo:mp,useReducer:Ya,useRef:op,useState:function(){return Ya(Bn)},useDebugValue:zu,useDeferredValue:function(t,n){var l=et();return gp(l,Pe.memoizedState,t,n)},useTransition:function(){var t=Ya(Bn)[0],n=et().memoizedState;return[typeof t=="boolean"?t:Al(t),n]},useSyncExternalStore:Vh,useId:xp,useHostTransitionStatus:ju,useFormState:rp,useActionState:rp,useOptimistic:function(t,n){var l=et();return $h(l,Pe,t,n)},useMemoCache:Ou,useCacheRefresh:wp},mw={readContext:gt,use:Va,useCallback:pp,useContext:gt,useEffect:up,useImperativeHandle:hp,useInsertionEffect:cp,useLayoutEffect:fp,useMemo:mp,useReducer:Du,useRef:op,useState:function(){return Du(Bn)},useDebugValue:zu,useDeferredValue:function(t,n){var l=et();return Pe===null?_u(l,t,n):gp(l,Pe.memoizedState,t,n)},useTransition:function(){var t=Du(Bn)[0],n=et().memoizedState;return[typeof t=="boolean"?t:Al(t),n]},useSyncExternalStore:Vh,useId:xp,useHostTransitionStatus:ju,useFormState:ap,useActionState:ap,useOptimistic:function(t,n){var l=et();return Pe!==null?$h(l,Pe,t,n):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Ou,useCacheRefresh:wp},Ar=null,Cl=0;function $a(t){var n=Cl;return Cl+=1,Ar===null&&(Ar=[]),Bh(Ar,t,n)}function Ol(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function Ja(t,n){throw n.$$typeof===y?Error(a(525)):(t=Object.prototype.toString.call(n),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function Cp(t){var n=t._init;return n(t._payload)}function Op(t){function n(j,N){if(t){var U=j.deletions;U===null?(j.deletions=[N],j.flags|=16):U.push(N)}}function l(j,N){if(!t)return null;for(;N!==null;)n(j,N),N=N.sibling;return null}function o(j){for(var N=new Map;j!==null;)j.key!==null?N.set(j.key,j):N.set(j.index,j),j=j.sibling;return N}function f(j,N){return j=Mn(j,N),j.index=0,j.sibling=null,j}function p(j,N,U){return j.index=U,t?(U=j.alternate,U!==null?(U=U.index,U<N?(j.flags|=67108866,N):U):(j.flags|=67108866,N)):(j.flags|=1048576,N)}function x(j){return t&&j.alternate===null&&(j.flags|=67108866),j}function S(j,N,U,$){return N===null||N.tag!==6?(N=ru(U,j.mode,$),N.return=j,N):(N=f(N,U),N.return=j,N)}function R(j,N,U,$){var ue=U.type;return ue===k?X(j,N,U.props.children,$,U.key):N!==null&&(N.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===V&&Cp(ue)===N.type)?(N=f(N,U.props),Ol(N,U),N.return=j,N):(N=_a(U.type,U.key,U.props,null,j.mode,$),Ol(N,U),N.return=j,N)}function q(j,N,U,$){return N===null||N.tag!==4||N.stateNode.containerInfo!==U.containerInfo||N.stateNode.implementation!==U.implementation?(N=lu(U,j.mode,$),N.return=j,N):(N=f(N,U.children||[]),N.return=j,N)}function X(j,N,U,$,ue){return N===null||N.tag!==7?(N=zi(U,j.mode,$,ue),N.return=j,N):(N=f(N,U),N.return=j,N)}function J(j,N,U){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=ru(""+N,j.mode,U),N.return=j,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case w:return U=_a(N.type,N.key,N.props,null,j.mode,U),Ol(U,N),U.return=j,U;case v:return N=lu(N,j.mode,U),N.return=j,N;case V:var $=N._init;return N=$(N._payload),J(j,N,U)}if(Z(N)||te(N))return N=zi(N,j.mode,U,null),N.return=j,N;if(typeof N.then=="function")return J(j,$a(N),U);if(N.$$typeof===M)return J(j,Ua(j,N),U);Ja(j,N)}return null}function P(j,N,U,$){var ue=N!==null?N.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return ue!==null?null:S(j,N,""+U,$);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case w:return U.key===ue?R(j,N,U,$):null;case v:return U.key===ue?q(j,N,U,$):null;case V:return ue=U._init,U=ue(U._payload),P(j,N,U,$)}if(Z(U)||te(U))return ue!==null?null:X(j,N,U,$,null);if(typeof U.then=="function")return P(j,N,$a(U),$);if(U.$$typeof===M)return P(j,N,Ua(j,U),$);Ja(j,U)}return null}function H(j,N,U,$,ue){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return j=j.get(U)||null,S(N,j,""+$,ue);if(typeof $=="object"&&$!==null){switch($.$$typeof){case w:return j=j.get($.key===null?U:$.key)||null,R(N,j,$,ue);case v:return j=j.get($.key===null?U:$.key)||null,q(N,j,$,ue);case V:var Ce=$._init;return $=Ce($._payload),H(j,N,U,$,ue)}if(Z($)||te($))return j=j.get(U)||null,X(N,j,$,ue,null);if(typeof $.then=="function")return H(j,N,U,$a($),ue);if($.$$typeof===M)return H(j,N,U,Ua(N,$),ue);Ja(N,$)}return null}function we(j,N,U,$){for(var ue=null,Ce=null,me=N,ve=N=0,ct=null;me!==null&&ve<U.length;ve++){me.index>ve?(ct=me,me=null):ct=me.sibling;var _e=P(j,me,U[ve],$);if(_e===null){me===null&&(me=ct);break}t&&me&&_e.alternate===null&&n(j,me),N=p(_e,N,ve),Ce===null?ue=_e:Ce.sibling=_e,Ce=_e,me=ct}if(ve===U.length)return l(j,me),Le&&Li(j,ve),ue;if(me===null){for(;ve<U.length;ve++)me=J(j,U[ve],$),me!==null&&(N=p(me,N,ve),Ce===null?ue=me:Ce.sibling=me,Ce=me);return Le&&Li(j,ve),ue}for(me=o(me);ve<U.length;ve++)ct=H(me,j,ve,U[ve],$),ct!==null&&(t&&ct.alternate!==null&&me.delete(ct.key===null?ve:ct.key),N=p(ct,N,ve),Ce===null?ue=ct:Ce.sibling=ct,Ce=ct);return t&&me.forEach(function(bi){return n(j,bi)}),Le&&Li(j,ve),ue}function be(j,N,U,$){if(U==null)throw Error(a(151));for(var ue=null,Ce=null,me=N,ve=N=0,ct=null,_e=U.next();me!==null&&!_e.done;ve++,_e=U.next()){me.index>ve?(ct=me,me=null):ct=me.sibling;var bi=P(j,me,_e.value,$);if(bi===null){me===null&&(me=ct);break}t&&me&&bi.alternate===null&&n(j,me),N=p(bi,N,ve),Ce===null?ue=bi:Ce.sibling=bi,Ce=bi,me=ct}if(_e.done)return l(j,me),Le&&Li(j,ve),ue;if(me===null){for(;!_e.done;ve++,_e=U.next())_e=J(j,_e.value,$),_e!==null&&(N=p(_e,N,ve),Ce===null?ue=_e:Ce.sibling=_e,Ce=_e);return Le&&Li(j,ve),ue}for(me=o(me);!_e.done;ve++,_e=U.next())_e=H(me,j,ve,_e.value,$),_e!==null&&(t&&_e.alternate!==null&&me.delete(_e.key===null?ve:_e.key),N=p(_e,N,ve),Ce===null?ue=_e:Ce.sibling=_e,Ce=_e);return t&&me.forEach(function(g1){return n(j,g1)}),Le&&Li(j,ve),ue}function Ie(j,N,U,$){if(typeof U=="object"&&U!==null&&U.type===k&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case w:e:{for(var ue=U.key;N!==null;){if(N.key===ue){if(ue=U.type,ue===k){if(N.tag===7){l(j,N.sibling),$=f(N,U.props.children),$.return=j,j=$;break e}}else if(N.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===V&&Cp(ue)===N.type){l(j,N.sibling),$=f(N,U.props),Ol($,U),$.return=j,j=$;break e}l(j,N);break}else n(j,N);N=N.sibling}U.type===k?($=zi(U.props.children,j.mode,$,U.key),$.return=j,j=$):($=_a(U.type,U.key,U.props,null,j.mode,$),Ol($,U),$.return=j,j=$)}return x(j);case v:e:{for(ue=U.key;N!==null;){if(N.key===ue)if(N.tag===4&&N.stateNode.containerInfo===U.containerInfo&&N.stateNode.implementation===U.implementation){l(j,N.sibling),$=f(N,U.children||[]),$.return=j,j=$;break e}else{l(j,N);break}else n(j,N);N=N.sibling}$=lu(U,j.mode,$),$.return=j,j=$}return x(j);case V:return ue=U._init,U=ue(U._payload),Ie(j,N,U,$)}if(Z(U))return we(j,N,U,$);if(te(U)){if(ue=te(U),typeof ue!="function")throw Error(a(150));return U=ue.call(U),be(j,N,U,$)}if(typeof U.then=="function")return Ie(j,N,$a(U),$);if(U.$$typeof===M)return Ie(j,N,Ua(j,U),$);Ja(j,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,N!==null&&N.tag===6?(l(j,N.sibling),$=f(N,U),$.return=j,j=$):(l(j,N),$=ru(U,j.mode,$),$.return=j,j=$),x(j)):l(j,N)}return function(j,N,U,$){try{Cl=0;var ue=Ie(j,N,U,$);return Ar=null,ue}catch(me){if(me===bl||me===Pa)throw me;var Ce=qt(29,me,null,j.mode);return Ce.lanes=$,Ce.return=j,Ce}}}var Tr=Op(!0),Rp=Op(!1),rn=Q(null),xn=null;function ii(t){var n=t.alternate;A(it,it.current&1),A(rn,t),xn===null&&(n===null||xr.current!==null||n.memoizedState!==null)&&(xn=t)}function Dp(t){if(t.tag===22){if(A(it,it.current),A(rn,t),xn===null){var n=t.alternate;n!==null&&n.memoizedState!==null&&(xn=t)}}else ri()}function ri(){A(it,it.current),A(rn,rn.current)}function Un(t){le(rn),xn===t&&(xn=null),le(it)}var it=Q(0);function Wa(t){for(var n=t;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Cc(l)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function Uu(t,n,l,o){n=t.memoizedState,l=l(o,n),l=l==null?n:g({},n,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var qu={enqueueSetState:function(t,n,l){t=t._reactInternals;var o=Gt(),f=ei(o);f.payload=n,l!=null&&(f.callback=l),n=ti(t,f,o),n!==null&&(Ft(n,t,o),xl(n,t,o))},enqueueReplaceState:function(t,n,l){t=t._reactInternals;var o=Gt(),f=ei(o);f.tag=1,f.payload=n,l!=null&&(f.callback=l),n=ti(t,f,o),n!==null&&(Ft(n,t,o),xl(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var l=Gt(),o=ei(l);o.tag=2,n!=null&&(o.callback=n),n=ti(t,o,l),n!==null&&(Ft(n,t,l),xl(n,t,l))}};function Np(t,n,l,o,f,p,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,p,x):n.prototype&&n.prototype.isPureReactComponent?!cl(l,o)||!cl(f,p):!0}function Mp(t,n,l,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,o),n.state!==t&&qu.enqueueReplaceState(n,n.state,null)}function Ii(t,n){var l=n;if("ref"in n){l={};for(var o in n)o!=="ref"&&(l[o]=n[o])}if(t=t.defaultProps){l===n&&(l=g({},l));for(var f in t)l[f]===void 0&&(l[f]=t[f])}return l}var eo=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function zp(t){eo(t)}function _p(t){console.error(t)}function Lp(t){eo(t)}function to(t,n){try{var l=t.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function jp(t,n,l){try{var o=t.onCaughtError;o(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Pu(t,n,l){return l=ei(l),l.tag=3,l.payload={element:null},l.callback=function(){to(t,n)},l}function Bp(t){return t=ei(t),t.tag=3,t}function Up(t,n,l,o){var f=l.type.getDerivedStateFromError;if(typeof f=="function"){var p=o.value;t.payload=function(){return f(p)},t.callback=function(){jp(n,l,o)}}var x=l.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(t.callback=function(){jp(n,l,o),typeof f!="function"&&(ci===null?ci=new Set([this]):ci.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function gw(t,n,l,o,f){if(l.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=l.alternate,n!==null&&ml(n,l,f,!0),l=rn.current,l!==null){switch(l.tag){case 13:return xn===null?cc():l.alternate===null&&Ze===0&&(Ze=3),l.flags&=-257,l.flags|=65536,l.lanes=f,o===mu?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([o]):n.add(o),dc(t,o,f)),!1;case 22:return l.flags|=65536,o===mu?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([o]):l.add(o)),dc(t,o,f)),!1}throw Error(a(435,l.tag))}return dc(t,o,f),cc(),!1}if(Le)return n=rn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=f,o!==su&&(t=Error(a(422),{cause:o}),pl(Wt(t,l)))):(o!==su&&(n=Error(a(423),{cause:o}),pl(Wt(n,l))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,o=Wt(o,l),f=Pu(t.stateNode,o,f),bu(t,f),Ze!==4&&(Ze=2)),!1;var p=Error(a(520),{cause:o});if(p=Wt(p,l),Ll===null?Ll=[p]:Ll.push(p),Ze!==4&&(Ze=2),n===null)return!0;o=Wt(o,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,t=f&-f,l.lanes|=t,t=Pu(l.stateNode,o,t),bu(l,t),!1;case 1:if(n=l.type,p=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(ci===null||!ci.has(p))))return l.flags|=65536,f&=-f,l.lanes|=f,f=Bp(f),Up(f,t,l,o),bu(l,f),!1}l=l.return}while(l!==null);return!1}var qp=Error(a(461)),st=!1;function ft(t,n,l,o){n.child=t===null?Rp(n,null,l,o):Tr(n,t.child,l,o)}function Pp(t,n,l,o,f){l=l.render;var p=n.ref;if("ref"in o){var x={};for(var S in o)S!=="ref"&&(x[S]=o[S])}else x=o;return qi(n),o=ku(t,n,l,x,p,f),S=Au(),t!==null&&!st?(Tu(t,n,f),qn(t,n,f)):(Le&&S&&au(n),n.flags|=1,ft(t,n,o,f),n.child)}function Hp(t,n,l,o,f){if(t===null){var p=l.type;return typeof p=="function"&&!iu(p)&&p.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=p,Ip(t,n,p,o,f)):(t=_a(l.type,null,o,n,n.mode,f),t.ref=n.ref,t.return=n,n.child=t)}if(p=t.child,!Xu(t,f)){var x=p.memoizedProps;if(l=l.compare,l=l!==null?l:cl,l(x,o)&&t.ref===n.ref)return qn(t,n,f)}return n.flags|=1,t=Mn(p,o),t.ref=n.ref,t.return=n,n.child=t}function Ip(t,n,l,o,f){if(t!==null){var p=t.memoizedProps;if(cl(p,o)&&t.ref===n.ref)if(st=!1,n.pendingProps=o=p,Xu(t,f))(t.flags&131072)!==0&&(st=!0);else return n.lanes=t.lanes,qn(t,n,f)}return Hu(t,n,l,o,f)}function Gp(t,n,l){var o=n.pendingProps,f=o.children,p=t!==null?t.memoizedState:null;if(o.mode==="hidden"){if((n.flags&128)!==0){if(o=p!==null?p.baseLanes|l:l,t!==null){for(f=n.child=t.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;n.childLanes=p&~o}else n.childLanes=0,n.child=null;return Fp(t,n,o,l)}if((l&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&qa(n,p!==null?p.cachePool:null),p!==null?Ih(n,p):xu(),Dp(n);else return n.lanes=n.childLanes=536870912,Fp(t,n,p!==null?p.baseLanes|l:l,l)}else p!==null?(qa(n,p.cachePool),Ih(n,p),ri(),n.memoizedState=null):(t!==null&&qa(n,null),xu(),ri());return ft(t,n,f,l),n.child}function Fp(t,n,l,o){var f=pu();return f=f===null?null:{parent:nt._currentValue,pool:f},n.memoizedState={baseLanes:l,cachePool:f},t!==null&&qa(n,null),xu(),Dp(n),t!==null&&ml(t,n,o,!0),null}function no(t,n){var l=n.ref;if(l===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(a(284));(t===null||t.ref!==l)&&(n.flags|=4194816)}}function Hu(t,n,l,o,f){return qi(n),l=ku(t,n,l,o,void 0,f),o=Au(),t!==null&&!st?(Tu(t,n,f),qn(t,n,f)):(Le&&o&&au(n),n.flags|=1,ft(t,n,l,f),n.child)}function Vp(t,n,l,o,f,p){return qi(n),n.updateQueue=null,l=Fh(n,o,l,f),Gh(t),o=Au(),t!==null&&!st?(Tu(t,n,p),qn(t,n,p)):(Le&&o&&au(n),n.flags|=1,ft(t,n,l,p),n.child)}function Yp(t,n,l,o,f){if(qi(n),n.stateNode===null){var p=mr,x=l.contextType;typeof x=="object"&&x!==null&&(p=gt(x)),p=new l(o,p),n.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=qu,n.stateNode=p,p._reactInternals=n,p=n.stateNode,p.props=o,p.state=n.memoizedState,p.refs={},gu(n),x=l.contextType,p.context=typeof x=="object"&&x!==null?gt(x):mr,p.state=n.memoizedState,x=l.getDerivedStateFromProps,typeof x=="function"&&(Uu(n,l,x,o),p.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(x=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),x!==p.state&&qu.enqueueReplaceState(p,p.state,null),Sl(n,o,p,f),wl(),p.state=n.memoizedState),typeof p.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){p=n.stateNode;var S=n.memoizedProps,R=Ii(l,S);p.props=R;var q=p.context,X=l.contextType;x=mr,typeof X=="object"&&X!==null&&(x=gt(X));var J=l.getDerivedStateFromProps;X=typeof J=="function"||typeof p.getSnapshotBeforeUpdate=="function",S=n.pendingProps!==S,X||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S||q!==x)&&Mp(n,p,o,x),Wn=!1;var P=n.memoizedState;p.state=P,Sl(n,o,p,f),wl(),q=n.memoizedState,S||P!==q||Wn?(typeof J=="function"&&(Uu(n,l,J,o),q=n.memoizedState),(R=Wn||Np(n,l,R,o,P,q,x))?(X||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(n.flags|=4194308)):(typeof p.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=q),p.props=o,p.state=q,p.context=x,o=R):(typeof p.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{p=n.stateNode,yu(t,n),x=n.memoizedProps,X=Ii(l,x),p.props=X,J=n.pendingProps,P=p.context,q=l.contextType,R=mr,typeof q=="object"&&q!==null&&(R=gt(q)),S=l.getDerivedStateFromProps,(q=typeof S=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(x!==J||P!==R)&&Mp(n,p,o,R),Wn=!1,P=n.memoizedState,p.state=P,Sl(n,o,p,f),wl();var H=n.memoizedState;x!==J||P!==H||Wn||t!==null&&t.dependencies!==null&&Ba(t.dependencies)?(typeof S=="function"&&(Uu(n,l,S,o),H=n.memoizedState),(X=Wn||Np(n,l,X,o,P,H,R)||t!==null&&t.dependencies!==null&&Ba(t.dependencies))?(q||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(o,H,R),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(o,H,R)),typeof p.componentDidUpdate=="function"&&(n.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof p.componentDidUpdate!="function"||x===t.memoizedProps&&P===t.memoizedState||(n.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&P===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=H),p.props=o,p.state=H,p.context=R,o=X):(typeof p.componentDidUpdate!="function"||x===t.memoizedProps&&P===t.memoizedState||(n.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&P===t.memoizedState||(n.flags|=1024),o=!1)}return p=o,no(t,n),o=(n.flags&128)!==0,p||o?(p=n.stateNode,l=o&&typeof l.getDerivedStateFromError!="function"?null:p.render(),n.flags|=1,t!==null&&o?(n.child=Tr(n,t.child,null,f),n.child=Tr(n,null,l,f)):ft(t,n,l,f),n.memoizedState=p.state,t=n.child):t=qn(t,n,f),t}function Qp(t,n,l,o){return hl(),n.flags|=256,ft(t,n,l,o),n.child}var Iu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gu(t){return{baseLanes:t,cachePool:_h()}}function Fu(t,n,l){return t=t!==null?t.childLanes&~l:0,n&&(t|=ln),t}function Xp(t,n,l){var o=n.pendingProps,f=!1,p=(n.flags&128)!==0,x;if((x=p)||(x=t!==null&&t.memoizedState===null?!1:(it.current&2)!==0),x&&(f=!0,n.flags&=-129),x=(n.flags&32)!==0,n.flags&=-33,t===null){if(Le){if(f?ii(n):ri(),Le){var S=Ke,R;if(R=S){e:{for(R=S,S=vn;R.nodeType!==8;){if(!S){S=null;break e}if(R=fn(R.nextSibling),R===null){S=null;break e}}S=R}S!==null?(n.memoizedState={dehydrated:S,treeContext:_i!==null?{id:zn,overflow:_n}:null,retryLane:536870912,hydrationErrors:null},R=qt(18,null,null,0),R.stateNode=S,R.return=n,n.child=R,wt=n,Ke=null,R=!0):R=!1}R||Bi(n)}if(S=n.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return Cc(S)?n.lanes=32:n.lanes=536870912,null;Un(n)}return S=o.children,o=o.fallback,f?(ri(),f=n.mode,S=io({mode:"hidden",children:S},f),o=zi(o,f,l,null),S.return=n,o.return=n,S.sibling=o,n.child=S,f=n.child,f.memoizedState=Gu(l),f.childLanes=Fu(t,x,l),n.memoizedState=Iu,o):(ii(n),Vu(n,S))}if(R=t.memoizedState,R!==null&&(S=R.dehydrated,S!==null)){if(p)n.flags&256?(ii(n),n.flags&=-257,n=Yu(t,n,l)):n.memoizedState!==null?(ri(),n.child=t.child,n.flags|=128,n=null):(ri(),f=o.fallback,S=n.mode,o=io({mode:"visible",children:o.children},S),f=zi(f,S,l,null),f.flags|=2,o.return=n,f.return=n,o.sibling=f,n.child=o,Tr(n,t.child,null,l),o=n.child,o.memoizedState=Gu(l),o.childLanes=Fu(t,x,l),n.memoizedState=Iu,n=f);else if(ii(n),Cc(S)){if(x=S.nextSibling&&S.nextSibling.dataset,x)var q=x.dgst;x=q,o=Error(a(419)),o.stack="",o.digest=x,pl({value:o,source:null,stack:null}),n=Yu(t,n,l)}else if(st||ml(t,n,l,!1),x=(l&t.childLanes)!==0,st||x){if(x=Ve,x!==null&&(o=l&-l,o=(o&42)!==0?1:Os(o),o=(o&(x.suspendedLanes|l))!==0?0:o,o!==0&&o!==R.retryLane))throw R.retryLane=o,pr(t,o),Ft(x,t,o),qp;S.data==="$?"||cc(),n=Yu(t,n,l)}else S.data==="$?"?(n.flags|=192,n.child=t.child,n=null):(t=R.treeContext,Ke=fn(S.nextSibling),wt=n,Le=!0,ji=null,vn=!1,t!==null&&(tn[nn++]=zn,tn[nn++]=_n,tn[nn++]=_i,zn=t.id,_n=t.overflow,_i=n),n=Vu(n,o.children),n.flags|=4096);return n}return f?(ri(),f=o.fallback,S=n.mode,R=t.child,q=R.sibling,o=Mn(R,{mode:"hidden",children:o.children}),o.subtreeFlags=R.subtreeFlags&65011712,q!==null?f=Mn(q,f):(f=zi(f,S,l,null),f.flags|=2),f.return=n,o.return=n,o.sibling=f,n.child=o,o=f,f=n.child,S=t.child.memoizedState,S===null?S=Gu(l):(R=S.cachePool,R!==null?(q=nt._currentValue,R=R.parent!==q?{parent:q,pool:q}:R):R=_h(),S={baseLanes:S.baseLanes|l,cachePool:R}),f.memoizedState=S,f.childLanes=Fu(t,x,l),n.memoizedState=Iu,o):(ii(n),l=t.child,t=l.sibling,l=Mn(l,{mode:"visible",children:o.children}),l.return=n,l.sibling=null,t!==null&&(x=n.deletions,x===null?(n.deletions=[t],n.flags|=16):x.push(t)),n.child=l,n.memoizedState=null,l)}function Vu(t,n){return n=io({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function io(t,n){return t=qt(22,t,null,n),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Yu(t,n,l){return Tr(n,t.child,null,l),t=Vu(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function Kp(t,n,l){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),cu(t.return,n,l)}function Qu(t,n,l,o,f){var p=t.memoizedState;p===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:f}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=o,p.tail=l,p.tailMode=f)}function Zp(t,n,l){var o=n.pendingProps,f=o.revealOrder,p=o.tail;if(ft(t,n,o.children,l),o=it.current,(o&2)!==0)o=o&1|2,n.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Kp(t,l,n);else if(t.tag===19)Kp(t,l,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}o&=1}switch(A(it,o),f){case"forwards":for(l=n.child,f=null;l!==null;)t=l.alternate,t!==null&&Wa(t)===null&&(f=l),l=l.sibling;l=f,l===null?(f=n.child,n.child=null):(f=l.sibling,l.sibling=null),Qu(n,!1,f,l,p);break;case"backwards":for(l=null,f=n.child,n.child=null;f!==null;){if(t=f.alternate,t!==null&&Wa(t)===null){n.child=f;break}t=f.sibling,f.sibling=l,l=f,f=t}Qu(n,!0,l,null,p);break;case"together":Qu(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function qn(t,n,l){if(t!==null&&(n.dependencies=t.dependencies),ui|=n.lanes,(l&n.childLanes)===0)if(t!==null){if(ml(t,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(a(153));if(n.child!==null){for(t=n.child,l=Mn(t,t.pendingProps),n.child=l,l.return=n;t.sibling!==null;)t=t.sibling,l=l.sibling=Mn(t,t.pendingProps),l.return=n;l.sibling=null}return n.child}function Xu(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&Ba(t)))}function yw(t,n,l){switch(n.tag){case 3:Ae(n,n.stateNode.containerInfo),Jn(n,nt,t.memoizedState.cache),hl();break;case 27:case 5:xt(n);break;case 4:Ae(n,n.stateNode.containerInfo);break;case 10:Jn(n,n.type,n.memoizedProps.value);break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(ii(n),n.flags|=128,null):(l&n.child.childLanes)!==0?Xp(t,n,l):(ii(n),t=qn(t,n,l),t!==null?t.sibling:null);ii(n);break;case 19:var f=(t.flags&128)!==0;if(o=(l&n.childLanes)!==0,o||(ml(t,n,l,!1),o=(l&n.childLanes)!==0),f){if(o)return Zp(t,n,l);n.flags|=128}if(f=n.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),A(it,it.current),o)break;return null;case 22:case 23:return n.lanes=0,Gp(t,n,l);case 24:Jn(n,nt,t.memoizedState.cache)}return qn(t,n,l)}function $p(t,n,l){if(t!==null)if(t.memoizedProps!==n.pendingProps)st=!0;else{if(!Xu(t,l)&&(n.flags&128)===0)return st=!1,yw(t,n,l);st=(t.flags&131072)!==0}else st=!1,Le&&(n.flags&1048576)!==0&&Ch(n,ja,n.index);switch(n.lanes=0,n.tag){case 16:e:{t=n.pendingProps;var o=n.elementType,f=o._init;if(o=f(o._payload),n.type=o,typeof o=="function")iu(o)?(t=Ii(o,t),n.tag=1,n=Yp(null,n,o,t,l)):(n.tag=0,n=Hu(null,n,o,t,l));else{if(o!=null){if(f=o.$$typeof,f===G){n.tag=11,n=Pp(null,n,o,t,l);break e}else if(f===W){n.tag=14,n=Hp(null,n,o,t,l);break e}}throw n=K(o)||o,Error(a(306,n,""))}}return n;case 0:return Hu(t,n,n.type,n.pendingProps,l);case 1:return o=n.type,f=Ii(o,n.pendingProps),Yp(t,n,o,f,l);case 3:e:{if(Ae(n,n.stateNode.containerInfo),t===null)throw Error(a(387));o=n.pendingProps;var p=n.memoizedState;f=p.element,yu(t,n),Sl(n,o,null,l);var x=n.memoizedState;if(o=x.cache,Jn(n,nt,o),o!==p.cache&&fu(n,[nt],l,!0),wl(),o=x.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:x.cache},n.updateQueue.baseState=p,n.memoizedState=p,n.flags&256){n=Qp(t,n,o,l);break e}else if(o!==f){f=Wt(Error(a(424)),n),pl(f),n=Qp(t,n,o,l);break e}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ke=fn(t.firstChild),wt=n,Le=!0,ji=null,vn=!0,l=Rp(n,null,o,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(hl(),o===f){n=qn(t,n,l);break e}ft(t,n,o,l)}n=n.child}return n;case 26:return no(t,n),t===null?(l=tg(n.type,null,n.pendingProps,null))?n.memoizedState=l:Le||(l=n.type,t=n.pendingProps,o=bo(oe.current).createElement(l),o[mt]=n,o[Et]=t,ht(o,l,t),ot(o),n.stateNode=o):n.memoizedState=tg(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return xt(n),t===null&&Le&&(o=n.stateNode=Jm(n.type,n.pendingProps,oe.current),wt=n,vn=!0,f=Ke,hi(n.type)?(Oc=f,Ke=fn(o.firstChild)):Ke=f),ft(t,n,n.pendingProps.children,l),no(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Le&&((f=o=Ke)&&(o=Vw(o,n.type,n.pendingProps,vn),o!==null?(n.stateNode=o,wt=n,Ke=fn(o.firstChild),vn=!1,f=!0):f=!1),f||Bi(n)),xt(n),f=n.type,p=n.pendingProps,x=t!==null?t.memoizedProps:null,o=p.children,Ac(f,p)?o=null:x!==null&&Ac(f,x)&&(n.flags|=32),n.memoizedState!==null&&(f=ku(t,n,uw,null,null,l),Fl._currentValue=f),no(t,n),ft(t,n,o,l),n.child;case 6:return t===null&&Le&&((t=l=Ke)&&(l=Yw(l,n.pendingProps,vn),l!==null?(n.stateNode=l,wt=n,Ke=null,t=!0):t=!1),t||Bi(n)),null;case 13:return Xp(t,n,l);case 4:return Ae(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=Tr(n,null,o,l):ft(t,n,o,l),n.child;case 11:return Pp(t,n,n.type,n.pendingProps,l);case 7:return ft(t,n,n.pendingProps,l),n.child;case 8:return ft(t,n,n.pendingProps.children,l),n.child;case 12:return ft(t,n,n.pendingProps.children,l),n.child;case 10:return o=n.pendingProps,Jn(n,n.type,o.value),ft(t,n,o.children,l),n.child;case 9:return f=n.type._context,o=n.pendingProps.children,qi(n),f=gt(f),o=o(f),n.flags|=1,ft(t,n,o,l),n.child;case 14:return Hp(t,n,n.type,n.pendingProps,l);case 15:return Ip(t,n,n.type,n.pendingProps,l);case 19:return Zp(t,n,l);case 31:return o=n.pendingProps,l=n.mode,o={mode:o.mode,children:o.children},t===null?(l=io(o,l),l.ref=n.ref,n.child=l,l.return=n,n=l):(l=Mn(t.child,o),l.ref=n.ref,n.child=l,l.return=n,n=l),n;case 22:return Gp(t,n,l);case 24:return qi(n),o=gt(nt),t===null?(f=pu(),f===null&&(f=Ve,p=du(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=l),f=p),n.memoizedState={parent:o,cache:f},gu(n),Jn(n,nt,f)):((t.lanes&l)!==0&&(yu(t,n),Sl(n,null,null,l),wl()),f=t.memoizedState,p=n.memoizedState,f.parent!==o?(f={parent:o,cache:o},n.memoizedState=f,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=f),Jn(n,nt,o)):(o=p.cache,Jn(n,nt,o),o!==f.cache&&fu(n,[nt],l,!0))),ft(t,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(a(156,n.tag))}function Pn(t){t.flags|=4}function Jp(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!ag(n)){if(n=rn.current,n!==null&&((Me&4194048)===Me?xn!==null:(Me&62914560)!==Me&&(Me&536870912)===0||n!==xn))throw vl=mu,Lh;t.flags|=8192}}function ro(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Dd():536870912,t.lanes|=n,Rr|=n)}function Rl(t,n){if(!Le)switch(t.tailMode){case"hidden":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Xe(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=0,o=0;if(n)for(var f=t.child;f!==null;)l|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)l|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=o,t.childLanes=l,n}function bw(t,n,l){var o=n.pendingProps;switch(ou(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(n),null;case 1:return Xe(n),null;case 3:return l=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),jn(nt),Ne(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(dl(n)?Pn(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Dh())),Xe(n),null;case 26:return l=n.memoizedState,t===null?(Pn(n),l!==null?(Xe(n),Jp(n,l)):(Xe(n),n.flags&=-16777217)):l?l!==t.memoizedState?(Pn(n),Xe(n),Jp(n,l)):(Xe(n),n.flags&=-16777217):(t.memoizedProps!==o&&Pn(n),Xe(n),n.flags&=-16777217),null;case 27:pt(n),l=oe.current;var f=n.type;if(t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Pn(n);else{if(!o){if(n.stateNode===null)throw Error(a(166));return Xe(n),null}t=se.current,dl(n)?Oh(n):(t=Jm(f,o,l),n.stateNode=t,Pn(n))}return Xe(n),null;case 5:if(pt(n),l=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Pn(n);else{if(!o){if(n.stateNode===null)throw Error(a(166));return Xe(n),null}if(t=se.current,dl(n))Oh(n);else{switch(f=bo(oe.current),t){case 1:t=f.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=f.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=f.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=f.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=f.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?t.multiple=!0:o.size&&(t.size=o.size);break;default:t=typeof o.is=="string"?f.createElement(l,{is:o.is}):f.createElement(l)}}t[mt]=n,t[Et]=o;e:for(f=n.child;f!==null;){if(f.tag===5||f.tag===6)t.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===n)break e;for(;f.sibling===null;){if(f.return===null||f.return===n)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}n.stateNode=t;e:switch(ht(t,l,o),l){case"button":case"input":case"select":case"textarea":t=!!o.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&Pn(n)}}return Xe(n),n.flags&=-16777217,null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&Pn(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(a(166));if(t=oe.current,dl(n)){if(t=n.stateNode,l=n.memoizedProps,o=null,f=wt,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}t[mt]=n,t=!!(t.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||Vm(t.nodeValue,l)),t||Bi(n)}else t=bo(t).createTextNode(o),t[mt]=n,n.stateNode=t}return Xe(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=dl(n),o!==null&&o.dehydrated!==null){if(t===null){if(!f)throw Error(a(318));if(f=n.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[mt]=n}else hl(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Xe(n),f=!1}else f=Dh(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return n.flags&256?(Un(n),n):(Un(n),null)}if(Un(n),(n.flags&128)!==0)return n.lanes=l,n;if(l=o!==null,t=t!==null&&t.memoizedState!==null,l){o=n.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool);var p=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(p=o.memoizedState.cachePool.pool),p!==f&&(o.flags|=2048)}return l!==t&&l&&(n.child.flags|=8192),ro(n,n.updateQueue),Xe(n),null;case 4:return Ne(),t===null&&vc(n.stateNode.containerInfo),Xe(n),null;case 10:return jn(n.type),Xe(n),null;case 19:if(le(it),f=n.memoizedState,f===null)return Xe(n),null;if(o=(n.flags&128)!==0,p=f.rendering,p===null)if(o)Rl(f,!1);else{if(Ze!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(p=Wa(t),p!==null){for(n.flags|=128,Rl(f,!1),t=p.updateQueue,n.updateQueue=t,ro(n,t),n.subtreeFlags=0,t=l,l=n.child;l!==null;)Eh(l,t),l=l.sibling;return A(it,it.current&1|2),n.child}t=t.sibling}f.tail!==null&&Lt()>oo&&(n.flags|=128,o=!0,Rl(f,!1),n.lanes=4194304)}else{if(!o)if(t=Wa(p),t!==null){if(n.flags|=128,o=!0,t=t.updateQueue,n.updateQueue=t,ro(n,t),Rl(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!Le)return Xe(n),null}else 2*Lt()-f.renderingStartTime>oo&&l!==536870912&&(n.flags|=128,o=!0,Rl(f,!1),n.lanes=4194304);f.isBackwards?(p.sibling=n.child,n.child=p):(t=f.last,t!==null?t.sibling=p:n.child=p,f.last=p)}return f.tail!==null?(n=f.tail,f.rendering=n,f.tail=n.sibling,f.renderingStartTime=Lt(),n.sibling=null,t=it.current,A(it,o?t&1|2:t&1),n):(Xe(n),null);case 22:case 23:return Un(n),wu(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(l&536870912)!==0&&(n.flags&128)===0&&(Xe(n),n.subtreeFlags&6&&(n.flags|=8192)):Xe(n),l=n.updateQueue,l!==null&&ro(n,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==l&&(n.flags|=2048),t!==null&&le(Pi),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),jn(nt),Xe(n),null;case 25:return null;case 30:return null}throw Error(a(156,n.tag))}function vw(t,n){switch(ou(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return jn(nt),Ne(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return pt(n),null;case 13:if(Un(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(a(340));hl()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return le(it),null;case 4:return Ne(),null;case 10:return jn(n.type),null;case 22:case 23:return Un(n),wu(),t!==null&&le(Pi),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return jn(nt),null;case 25:return null;default:return null}}function Wp(t,n){switch(ou(n),n.tag){case 3:jn(nt),Ne();break;case 26:case 27:case 5:pt(n);break;case 4:Ne();break;case 13:Un(n);break;case 19:le(it);break;case 10:jn(n.type);break;case 22:case 23:Un(n),wu(),t!==null&&le(Pi);break;case 24:jn(nt)}}function Dl(t,n){try{var l=n.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var f=o.next;l=f;do{if((l.tag&t)===t){o=void 0;var p=l.create,x=l.inst;o=p(),x.destroy=o}l=l.next}while(l!==f)}}catch(S){Ge(n,n.return,S)}}function li(t,n,l){try{var o=n.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var p=f.next;o=p;do{if((o.tag&t)===t){var x=o.inst,S=x.destroy;if(S!==void 0){x.destroy=void 0,f=n;var R=l,q=S;try{q()}catch(X){Ge(f,R,X)}}}o=o.next}while(o!==p)}}catch(X){Ge(n,n.return,X)}}function em(t){var n=t.updateQueue;if(n!==null){var l=t.stateNode;try{Hh(n,l)}catch(o){Ge(t,t.return,o)}}}function tm(t,n,l){l.props=Ii(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(o){Ge(t,n,o)}}function Nl(t,n){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof l=="function"?t.refCleanup=l(o):l.current=o}}catch(f){Ge(t,n,f)}}function wn(t,n){var l=t.ref,o=t.refCleanup;if(l!==null)if(typeof o=="function")try{o()}catch(f){Ge(t,n,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(f){Ge(t,n,f)}else l.current=null}function nm(t){var n=t.type,l=t.memoizedProps,o=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break e;case"img":l.src?o.src=l.src:l.srcSet&&(o.srcset=l.srcSet)}}catch(f){Ge(t,t.return,f)}}function Ku(t,n,l){try{var o=t.stateNode;Pw(o,t.type,l,n),o[Et]=n}catch(f){Ge(t,t.return,f)}}function im(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&hi(t.type)||t.tag===4}function Zu(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||im(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&hi(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function $u(t,n,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(t),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=yo));else if(o!==4&&(o===27&&hi(t.type)&&(l=t.stateNode,n=null),t=t.child,t!==null))for($u(t,n,l),t=t.sibling;t!==null;)$u(t,n,l),t=t.sibling}function lo(t,n,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?l.insertBefore(t,n):l.appendChild(t);else if(o!==4&&(o===27&&hi(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(lo(t,n,l),t=t.sibling;t!==null;)lo(t,n,l),t=t.sibling}function rm(t){var n=t.stateNode,l=t.memoizedProps;try{for(var o=t.type,f=n.attributes;f.length;)n.removeAttributeNode(f[0]);ht(n,o,l),n[mt]=t,n[Et]=l}catch(p){Ge(t,t.return,p)}}var Hn=!1,Je=!1,Ju=!1,lm=typeof WeakSet=="function"?WeakSet:Set,ut=null;function xw(t,n){if(t=t.containerInfo,Sc=Ao,t=gh(t),Zs(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var f=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var x=0,S=-1,R=-1,q=0,X=0,J=t,P=null;t:for(;;){for(var H;J!==l||f!==0&&J.nodeType!==3||(S=x+f),J!==p||o!==0&&J.nodeType!==3||(R=x+o),J.nodeType===3&&(x+=J.nodeValue.length),(H=J.firstChild)!==null;)P=J,J=H;for(;;){if(J===t)break t;if(P===l&&++q===f&&(S=x),P===p&&++X===o&&(R=x),(H=J.nextSibling)!==null)break;J=P,P=J.parentNode}J=H}l=S===-1||R===-1?null:{start:S,end:R}}else l=null}l=l||{start:0,end:0}}else l=null;for(kc={focusedElem:t,selectionRange:l},Ao=!1,ut=n;ut!==null;)if(n=ut,t=n.child,(n.subtreeFlags&1024)!==0&&t!==null)t.return=n,ut=t;else for(;ut!==null;){switch(n=ut,p=n.alternate,t=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&p!==null){t=void 0,l=n,f=p.memoizedProps,p=p.memoizedState,o=l.stateNode;try{var we=Ii(l.type,f,l.elementType===l.type);t=o.getSnapshotBeforeUpdate(we,p),o.__reactInternalSnapshotBeforeUpdate=t}catch(be){Ge(l,l.return,be)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,l=t.nodeType,l===9)Ec(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ec(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(a(163))}if(t=n.sibling,t!==null){t.return=n.return,ut=t;break}ut=n.return}}function am(t,n,l){var o=l.flags;switch(l.tag){case 0:case 11:case 15:ai(t,l),o&4&&Dl(5,l);break;case 1:if(ai(t,l),o&4)if(t=l.stateNode,n===null)try{t.componentDidMount()}catch(x){Ge(l,l.return,x)}else{var f=Ii(l.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(f,n,t.__reactInternalSnapshotBeforeUpdate)}catch(x){Ge(l,l.return,x)}}o&64&&em(l),o&512&&Nl(l,l.return);break;case 3:if(ai(t,l),o&64&&(t=l.updateQueue,t!==null)){if(n=null,l.child!==null)switch(l.child.tag){case 27:case 5:n=l.child.stateNode;break;case 1:n=l.child.stateNode}try{Hh(t,n)}catch(x){Ge(l,l.return,x)}}break;case 27:n===null&&o&4&&rm(l);case 26:case 5:ai(t,l),n===null&&o&4&&nm(l),o&512&&Nl(l,l.return);break;case 12:ai(t,l);break;case 13:ai(t,l),o&4&&um(t,l),o&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=Rw.bind(null,l),Qw(t,l))));break;case 22:if(o=l.memoizedState!==null||Hn,!o){n=n!==null&&n.memoizedState!==null||Je,f=Hn;var p=Je;Hn=o,(Je=n)&&!p?oi(t,l,(l.subtreeFlags&8772)!==0):ai(t,l),Hn=f,Je=p}break;case 30:break;default:ai(t,l)}}function om(t){var n=t.alternate;n!==null&&(t.alternate=null,om(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&Ns(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Qe=null,Rt=!1;function In(t,n,l){for(l=l.child;l!==null;)sm(t,n,l),l=l.sibling}function sm(t,n,l){if(ie&&typeof ie.onCommitFiberUnmount=="function")try{ie.onCommitFiberUnmount(Y,l)}catch{}switch(l.tag){case 26:Je||wn(l,n),In(t,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Je||wn(l,n);var o=Qe,f=Rt;hi(l.type)&&(Qe=l.stateNode,Rt=!1),In(t,n,l),Pl(l.stateNode),Qe=o,Rt=f;break;case 5:Je||wn(l,n);case 6:if(o=Qe,f=Rt,Qe=null,In(t,n,l),Qe=o,Rt=f,Qe!==null)if(Rt)try{(Qe.nodeType===9?Qe.body:Qe.nodeName==="HTML"?Qe.ownerDocument.body:Qe).removeChild(l.stateNode)}catch(p){Ge(l,n,p)}else try{Qe.removeChild(l.stateNode)}catch(p){Ge(l,n,p)}break;case 18:Qe!==null&&(Rt?(t=Qe,Zm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Xl(t)):Zm(Qe,l.stateNode));break;case 4:o=Qe,f=Rt,Qe=l.stateNode.containerInfo,Rt=!0,In(t,n,l),Qe=o,Rt=f;break;case 0:case 11:case 14:case 15:Je||li(2,l,n),Je||li(4,l,n),In(t,n,l);break;case 1:Je||(wn(l,n),o=l.stateNode,typeof o.componentWillUnmount=="function"&&tm(l,n,o)),In(t,n,l);break;case 21:In(t,n,l);break;case 22:Je=(o=Je)||l.memoizedState!==null,In(t,n,l),Je=o;break;default:In(t,n,l)}}function um(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Xl(t)}catch(l){Ge(n,n.return,l)}}function ww(t){switch(t.tag){case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new lm),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new lm),n;default:throw Error(a(435,t.tag))}}function Wu(t,n){var l=ww(t);n.forEach(function(o){var f=Dw.bind(null,t,o);l.has(o)||(l.add(o),o.then(f,f))})}function Pt(t,n){var l=n.deletions;if(l!==null)for(var o=0;o<l.length;o++){var f=l[o],p=t,x=n,S=x;e:for(;S!==null;){switch(S.tag){case 27:if(hi(S.type)){Qe=S.stateNode,Rt=!1;break e}break;case 5:Qe=S.stateNode,Rt=!1;break e;case 3:case 4:Qe=S.stateNode.containerInfo,Rt=!0;break e}S=S.return}if(Qe===null)throw Error(a(160));sm(p,x,f),Qe=null,Rt=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)cm(n,t),n=n.sibling}var cn=null;function cm(t,n){var l=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Pt(n,t),Ht(t),o&4&&(li(3,t,t.return),Dl(3,t),li(5,t,t.return));break;case 1:Pt(n,t),Ht(t),o&512&&(Je||l===null||wn(l,l.return)),o&64&&Hn&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?o:l.concat(o))));break;case 26:var f=cn;if(Pt(n,t),Ht(t),o&512&&(Je||l===null||wn(l,l.return)),o&4){var p=l!==null?l.memoizedState:null;if(o=t.memoizedState,l===null)if(o===null)if(t.stateNode===null){e:{o=t.type,l=t.memoizedProps,f=f.ownerDocument||f;t:switch(o){case"title":p=f.getElementsByTagName("title")[0],(!p||p[tl]||p[mt]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(o),f.head.insertBefore(p,f.querySelector("head > title"))),ht(p,o,l),p[mt]=t,ot(p),o=p;break e;case"link":var x=rg("link","href",f).get(o+(l.href||""));if(x){for(var S=0;S<x.length;S++)if(p=x[S],p.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&p.getAttribute("rel")===(l.rel==null?null:l.rel)&&p.getAttribute("title")===(l.title==null?null:l.title)&&p.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){x.splice(S,1);break t}}p=f.createElement(o),ht(p,o,l),f.head.appendChild(p);break;case"meta":if(x=rg("meta","content",f).get(o+(l.content||""))){for(S=0;S<x.length;S++)if(p=x[S],p.getAttribute("content")===(l.content==null?null:""+l.content)&&p.getAttribute("name")===(l.name==null?null:l.name)&&p.getAttribute("property")===(l.property==null?null:l.property)&&p.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&p.getAttribute("charset")===(l.charSet==null?null:l.charSet)){x.splice(S,1);break t}}p=f.createElement(o),ht(p,o,l),f.head.appendChild(p);break;default:throw Error(a(468,o))}p[mt]=t,ot(p),o=p}t.stateNode=o}else lg(f,t.type,t.stateNode);else t.stateNode=ig(f,o,t.memoizedProps);else p!==o?(p===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):p.count--,o===null?lg(f,t.type,t.stateNode):ig(f,o,t.memoizedProps)):o===null&&t.stateNode!==null&&Ku(t,t.memoizedProps,l.memoizedProps)}break;case 27:Pt(n,t),Ht(t),o&512&&(Je||l===null||wn(l,l.return)),l!==null&&o&4&&Ku(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Pt(n,t),Ht(t),o&512&&(Je||l===null||wn(l,l.return)),t.flags&32){f=t.stateNode;try{or(f,"")}catch(H){Ge(t,t.return,H)}}o&4&&t.stateNode!=null&&(f=t.memoizedProps,Ku(t,f,l!==null?l.memoizedProps:f)),o&1024&&(Ju=!0);break;case 6:if(Pt(n,t),Ht(t),o&4){if(t.stateNode===null)throw Error(a(162));o=t.memoizedProps,l=t.stateNode;try{l.nodeValue=o}catch(H){Ge(t,t.return,H)}}break;case 3:if(wo=null,f=cn,cn=vo(n.containerInfo),Pt(n,t),cn=f,Ht(t),o&4&&l!==null&&l.memoizedState.isDehydrated)try{Xl(n.containerInfo)}catch(H){Ge(t,t.return,H)}Ju&&(Ju=!1,fm(t));break;case 4:o=cn,cn=vo(t.stateNode.containerInfo),Pt(n,t),Ht(t),cn=o;break;case 12:Pt(n,t),Ht(t);break;case 13:Pt(n,t),Ht(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(lc=Lt()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Wu(t,o)));break;case 22:f=t.memoizedState!==null;var R=l!==null&&l.memoizedState!==null,q=Hn,X=Je;if(Hn=q||f,Je=X||R,Pt(n,t),Je=X,Hn=q,Ht(t),o&8192)e:for(n=t.stateNode,n._visibility=f?n._visibility&-2:n._visibility|1,f&&(l===null||R||Hn||Je||Gi(t)),l=null,n=t;;){if(n.tag===5||n.tag===26){if(l===null){R=l=n;try{if(p=R.stateNode,f)x=p.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{S=R.stateNode;var J=R.memoizedProps.style,P=J!=null&&J.hasOwnProperty("display")?J.display:null;S.style.display=P==null||typeof P=="boolean"?"":(""+P).trim()}}catch(H){Ge(R,R.return,H)}}}else if(n.tag===6){if(l===null){R=n;try{R.stateNode.nodeValue=f?"":R.memoizedProps}catch(H){Ge(R,R.return,H)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(l=o.retryQueue,l!==null&&(o.retryQueue=null,Wu(t,l))));break;case 19:Pt(n,t),Ht(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Wu(t,o)));break;case 30:break;case 21:break;default:Pt(n,t),Ht(t)}}function Ht(t){var n=t.flags;if(n&2){try{for(var l,o=t.return;o!==null;){if(im(o)){l=o;break}o=o.return}if(l==null)throw Error(a(160));switch(l.tag){case 27:var f=l.stateNode,p=Zu(t);lo(t,p,f);break;case 5:var x=l.stateNode;l.flags&32&&(or(x,""),l.flags&=-33);var S=Zu(t);lo(t,S,x);break;case 3:case 4:var R=l.stateNode.containerInfo,q=Zu(t);$u(t,q,R);break;default:throw Error(a(161))}}catch(X){Ge(t,t.return,X)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function fm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;fm(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function ai(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)am(t,n.alternate,n),n=n.sibling}function Gi(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:li(4,n,n.return),Gi(n);break;case 1:wn(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&tm(n,n.return,l),Gi(n);break;case 27:Pl(n.stateNode);case 26:case 5:wn(n,n.return),Gi(n);break;case 22:n.memoizedState===null&&Gi(n);break;case 30:Gi(n);break;default:Gi(n)}t=t.sibling}}function oi(t,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,f=t,p=n,x=p.flags;switch(p.tag){case 0:case 11:case 15:oi(f,p,l),Dl(4,p);break;case 1:if(oi(f,p,l),o=p,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(q){Ge(o,o.return,q)}if(o=p,f=o.updateQueue,f!==null){var S=o.stateNode;try{var R=f.shared.hiddenCallbacks;if(R!==null)for(f.shared.hiddenCallbacks=null,f=0;f<R.length;f++)Ph(R[f],S)}catch(q){Ge(o,o.return,q)}}l&&x&64&&em(p),Nl(p,p.return);break;case 27:rm(p);case 26:case 5:oi(f,p,l),l&&o===null&&x&4&&nm(p),Nl(p,p.return);break;case 12:oi(f,p,l);break;case 13:oi(f,p,l),l&&x&4&&um(f,p);break;case 22:p.memoizedState===null&&oi(f,p,l),Nl(p,p.return);break;case 30:break;default:oi(f,p,l)}n=n.sibling}}function ec(t,n){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&gl(l))}function tc(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&gl(t))}function Sn(t,n,l,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)dm(t,n,l,o),n=n.sibling}function dm(t,n,l,o){var f=n.flags;switch(n.tag){case 0:case 11:case 15:Sn(t,n,l,o),f&2048&&Dl(9,n);break;case 1:Sn(t,n,l,o);break;case 3:Sn(t,n,l,o),f&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&gl(t)));break;case 12:if(f&2048){Sn(t,n,l,o),t=n.stateNode;try{var p=n.memoizedProps,x=p.id,S=p.onPostCommit;typeof S=="function"&&S(x,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){Ge(n,n.return,R)}}else Sn(t,n,l,o);break;case 13:Sn(t,n,l,o);break;case 23:break;case 22:p=n.stateNode,x=n.alternate,n.memoizedState!==null?p._visibility&2?Sn(t,n,l,o):Ml(t,n):p._visibility&2?Sn(t,n,l,o):(p._visibility|=2,Er(t,n,l,o,(n.subtreeFlags&10256)!==0)),f&2048&&ec(x,n);break;case 24:Sn(t,n,l,o),f&2048&&tc(n.alternate,n);break;default:Sn(t,n,l,o)}}function Er(t,n,l,o,f){for(f=f&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var p=t,x=n,S=l,R=o,q=x.flags;switch(x.tag){case 0:case 11:case 15:Er(p,x,S,R,f),Dl(8,x);break;case 23:break;case 22:var X=x.stateNode;x.memoizedState!==null?X._visibility&2?Er(p,x,S,R,f):Ml(p,x):(X._visibility|=2,Er(p,x,S,R,f)),f&&q&2048&&ec(x.alternate,x);break;case 24:Er(p,x,S,R,f),f&&q&2048&&tc(x.alternate,x);break;default:Er(p,x,S,R,f)}n=n.sibling}}function Ml(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=t,o=n,f=o.flags;switch(o.tag){case 22:Ml(l,o),f&2048&&ec(o.alternate,o);break;case 24:Ml(l,o),f&2048&&tc(o.alternate,o);break;default:Ml(l,o)}n=n.sibling}}var zl=8192;function Cr(t){if(t.subtreeFlags&zl)for(t=t.child;t!==null;)hm(t),t=t.sibling}function hm(t){switch(t.tag){case 26:Cr(t),t.flags&zl&&t.memoizedState!==null&&a1(cn,t.memoizedState,t.memoizedProps);break;case 5:Cr(t);break;case 3:case 4:var n=cn;cn=vo(t.stateNode.containerInfo),Cr(t),cn=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=zl,zl=16777216,Cr(t),zl=n):Cr(t));break;default:Cr(t)}}function pm(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function _l(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var o=n[l];ut=o,gm(o,t)}pm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)mm(t),t=t.sibling}function mm(t){switch(t.tag){case 0:case 11:case 15:_l(t),t.flags&2048&&li(9,t,t.return);break;case 3:_l(t);break;case 12:_l(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,ao(t)):_l(t);break;default:_l(t)}}function ao(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var o=n[l];ut=o,gm(o,t)}pm(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:li(8,n,n.return),ao(n);break;case 22:l=n.stateNode,l._visibility&2&&(l._visibility&=-3,ao(n));break;default:ao(n)}t=t.sibling}}function gm(t,n){for(;ut!==null;){var l=ut;switch(l.tag){case 0:case 11:case 15:li(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var o=l.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:gl(l.memoizedState.cache)}if(o=l.child,o!==null)o.return=l,ut=o;else e:for(l=t;ut!==null;){o=ut;var f=o.sibling,p=o.return;if(om(o),o===l){ut=null;break e}if(f!==null){f.return=p,ut=f;break e}ut=p}}}var Sw={getCacheForType:function(t){var n=gt(nt),l=n.data.get(t);return l===void 0&&(l=t(),n.data.set(t,l)),l}},kw=typeof WeakMap=="function"?WeakMap:Map,Ue=0,Ve=null,Oe=null,Me=0,qe=0,It=null,si=!1,Or=!1,nc=!1,Gn=0,Ze=0,ui=0,Fi=0,ic=0,ln=0,Rr=0,Ll=null,Dt=null,rc=!1,lc=0,oo=1/0,so=null,ci=null,dt=0,fi=null,Dr=null,Nr=0,ac=0,oc=null,ym=null,jl=0,sc=null;function Gt(){if((Ue&2)!==0&&Me!==0)return Me&-Me;if(_.T!==null){var t=br;return t!==0?t:mc()}return zd()}function bm(){ln===0&&(ln=(Me&536870912)===0||Le?Rd():536870912);var t=rn.current;return t!==null&&(t.flags|=32),ln}function Ft(t,n,l){(t===Ve&&(qe===2||qe===9)||t.cancelPendingCommit!==null)&&(Mr(t,0),di(t,Me,ln,!1)),el(t,l),((Ue&2)===0||t!==Ve)&&(t===Ve&&((Ue&2)===0&&(Fi|=l),Ze===4&&di(t,Me,ln,!1)),kn(t))}function vm(t,n,l){if((Ue&6)!==0)throw Error(a(327));var o=!l&&(n&124)===0&&(n&t.expiredLanes)===0||Zt(t,n),f=o?Ew(t,n):fc(t,n,!0),p=o;do{if(f===0){Or&&!o&&di(t,n,0,!1);break}else{if(l=t.current.alternate,p&&!Aw(l)){f=fc(t,n,!1),p=!1;continue}if(f===2){if(p=n,t.errorRecoveryDisabledLanes&p)var x=0;else x=t.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){n=x;e:{var S=t;f=Ll;var R=S.current.memoizedState.isDehydrated;if(R&&(Mr(S,x).flags|=256),x=fc(S,x,!1),x!==2){if(nc&&!R){S.errorRecoveryDisabledLanes|=p,Fi|=p,f=4;break e}p=Dt,Dt=f,p!==null&&(Dt===null?Dt=p:Dt.push.apply(Dt,p))}f=x}if(p=!1,f!==2)continue}}if(f===1){Mr(t,0),di(t,n,0,!0);break}e:{switch(o=t,p=f,p){case 0:case 1:throw Error(a(345));case 4:if((n&4194048)!==n)break;case 6:di(o,n,ln,!si);break e;case 2:Dt=null;break;case 3:case 5:break;default:throw Error(a(329))}if((n&62914560)===n&&(f=lc+300-Lt(),10<f)){if(di(o,n,ln,!si),at(o,0,!0)!==0)break e;o.timeoutHandle=Xm(xm.bind(null,o,l,Dt,so,rc,n,ln,Fi,Rr,si,p,2,-0,0),f);break e}xm(o,l,Dt,so,rc,n,ln,Fi,Rr,si,p,0,-0,0)}}break}while(!0);kn(t)}function xm(t,n,l,o,f,p,x,S,R,q,X,J,P,H){if(t.timeoutHandle=-1,J=n.subtreeFlags,(J&8192||(J&16785408)===16785408)&&(Gl={stylesheets:null,count:0,unsuspend:l1},hm(n),J=o1(),J!==null)){t.cancelPendingCommit=J(Cm.bind(null,t,n,p,l,o,f,x,S,R,X,1,P,H)),di(t,p,x,!q);return}Cm(t,n,p,l,o,f,x,S,R)}function Aw(t){for(var n=t;;){var l=n.tag;if((l===0||l===11||l===15)&&n.flags&16384&&(l=n.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var o=0;o<l.length;o++){var f=l[o],p=f.getSnapshot;f=f.value;try{if(!Ut(p(),f))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function di(t,n,l,o){n&=~ic,n&=~Fi,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var f=n;0<f;){var p=31-xe(f),x=1<<p;o[p]=-1,f&=~x}l!==0&&Nd(t,l,n)}function uo(){return(Ue&6)===0?(Bl(0),!1):!0}function uc(){if(Oe!==null){if(qe===0)var t=Oe.return;else t=Oe,Ln=Ui=null,Eu(t),Ar=null,Cl=0,t=Oe;for(;t!==null;)Wp(t.alternate,t),t=t.return;Oe=null}}function Mr(t,n){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Iw(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),uc(),Ve=t,Oe=l=Mn(t.current,null),Me=n,qe=0,It=null,si=!1,Or=Zt(t,n),nc=!1,Rr=ln=ic=Fi=ui=Ze=0,Dt=Ll=null,rc=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var f=31-xe(o),p=1<<f;n|=t[f],o&=~p}return Gn=n,Na(),l}function wm(t,n){Te=null,_.H=Za,n===bl||n===Pa?(n=Uh(),qe=3):n===Lh?(n=Uh(),qe=4):qe=n===qp?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,It=n,Oe===null&&(Ze=1,to(t,Wt(n,t.current)))}function Sm(){var t=_.H;return _.H=Za,t===null?Za:t}function km(){var t=_.A;return _.A=Sw,t}function cc(){Ze=4,si||(Me&4194048)!==Me&&rn.current!==null||(Or=!0),(ui&134217727)===0&&(Fi&134217727)===0||Ve===null||di(Ve,Me,ln,!1)}function fc(t,n,l){var o=Ue;Ue|=2;var f=Sm(),p=km();(Ve!==t||Me!==n)&&(so=null,Mr(t,n)),n=!1;var x=Ze;e:do try{if(qe!==0&&Oe!==null){var S=Oe,R=It;switch(qe){case 8:uc(),x=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(n=!0);var q=qe;if(qe=0,It=null,zr(t,S,R,q),l&&Or){x=0;break e}break;default:q=qe,qe=0,It=null,zr(t,S,R,q)}}Tw(),x=Ze;break}catch(X){wm(t,X)}while(!0);return n&&t.shellSuspendCounter++,Ln=Ui=null,Ue=o,_.H=f,_.A=p,Oe===null&&(Ve=null,Me=0,Na()),x}function Tw(){for(;Oe!==null;)Am(Oe)}function Ew(t,n){var l=Ue;Ue|=2;var o=Sm(),f=km();Ve!==t||Me!==n?(so=null,oo=Lt()+500,Mr(t,n)):Or=Zt(t,n);e:do try{if(qe!==0&&Oe!==null){n=Oe;var p=It;t:switch(qe){case 1:qe=0,It=null,zr(t,n,p,1);break;case 2:case 9:if(jh(p)){qe=0,It=null,Tm(n);break}n=function(){qe!==2&&qe!==9||Ve!==t||(qe=7),kn(t)},p.then(n,n);break e;case 3:qe=7;break e;case 4:qe=5;break e;case 7:jh(p)?(qe=0,It=null,Tm(n)):(qe=0,It=null,zr(t,n,p,7));break;case 5:var x=null;switch(Oe.tag){case 26:x=Oe.memoizedState;case 5:case 27:var S=Oe;if(!x||ag(x)){qe=0,It=null;var R=S.sibling;if(R!==null)Oe=R;else{var q=S.return;q!==null?(Oe=q,co(q)):Oe=null}break t}}qe=0,It=null,zr(t,n,p,5);break;case 6:qe=0,It=null,zr(t,n,p,6);break;case 8:uc(),Ze=6;break e;default:throw Error(a(462))}}Cw();break}catch(X){wm(t,X)}while(!0);return Ln=Ui=null,_.H=o,_.A=f,Ue=l,Oe!==null?0:(Ve=null,Me=0,Na(),Ze)}function Cw(){for(;Oe!==null&&!ya();)Am(Oe)}function Am(t){var n=$p(t.alternate,t,Gn);t.memoizedProps=t.pendingProps,n===null?co(t):Oe=n}function Tm(t){var n=t,l=n.alternate;switch(n.tag){case 15:case 0:n=Vp(l,n,n.pendingProps,n.type,void 0,Me);break;case 11:n=Vp(l,n,n.pendingProps,n.type.render,n.ref,Me);break;case 5:Eu(n);default:Wp(l,n),n=Oe=Eh(n,Gn),n=$p(l,n,Gn)}t.memoizedProps=t.pendingProps,n===null?co(t):Oe=n}function zr(t,n,l,o){Ln=Ui=null,Eu(n),Ar=null,Cl=0;var f=n.return;try{if(gw(t,f,n,l,Me)){Ze=1,to(t,Wt(l,t.current)),Oe=null;return}}catch(p){if(f!==null)throw Oe=f,p;Ze=1,to(t,Wt(l,t.current)),Oe=null;return}n.flags&32768?(Le||o===1?t=!0:Or||(Me&536870912)!==0?t=!1:(si=t=!0,(o===2||o===9||o===3||o===6)&&(o=rn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Em(n,t)):co(n)}function co(t){var n=t;do{if((n.flags&32768)!==0){Em(n,si);return}t=n.return;var l=bw(n.alternate,n,Gn);if(l!==null){Oe=l;return}if(n=n.sibling,n!==null){Oe=n;return}Oe=n=t}while(n!==null);Ze===0&&(Ze=5)}function Em(t,n){do{var l=vw(t.alternate,t);if(l!==null){l.flags&=32767,Oe=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(t=t.sibling,t!==null)){Oe=t;return}Oe=t=l}while(t!==null);Ze=6,Oe=null}function Cm(t,n,l,o,f,p,x,S,R){t.cancelPendingCommit=null;do fo();while(dt!==0);if((Ue&6)!==0)throw Error(a(327));if(n!==null){if(n===t.current)throw Error(a(177));if(p=n.lanes|n.childLanes,p|=tu,l0(t,l,p,x,S,R),t===Ve&&(Oe=Ve=null,Me=0),Dr=n,fi=t,Nr=l,ac=p,oc=f,ym=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Nw(Wi,function(){return Mm(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=_.T,_.T=null,f=F.p,F.p=2,x=Ue,Ue|=4;try{xw(t,n,l)}finally{Ue=x,F.p=f,_.T=o}}dt=1,Om(),Rm(),Dm()}}function Om(){if(dt===1){dt=0;var t=fi,n=Dr,l=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||l){l=_.T,_.T=null;var o=F.p;F.p=2;var f=Ue;Ue|=4;try{cm(n,t);var p=kc,x=gh(t.containerInfo),S=p.focusedElem,R=p.selectionRange;if(x!==S&&S&&S.ownerDocument&&mh(S.ownerDocument.documentElement,S)){if(R!==null&&Zs(S)){var q=R.start,X=R.end;if(X===void 0&&(X=q),"selectionStart"in S)S.selectionStart=q,S.selectionEnd=Math.min(X,S.value.length);else{var J=S.ownerDocument||document,P=J&&J.defaultView||window;if(P.getSelection){var H=P.getSelection(),we=S.textContent.length,be=Math.min(R.start,we),Ie=R.end===void 0?be:Math.min(R.end,we);!H.extend&&be>Ie&&(x=Ie,Ie=be,be=x);var j=ph(S,be),N=ph(S,Ie);if(j&&N&&(H.rangeCount!==1||H.anchorNode!==j.node||H.anchorOffset!==j.offset||H.focusNode!==N.node||H.focusOffset!==N.offset)){var U=J.createRange();U.setStart(j.node,j.offset),H.removeAllRanges(),be>Ie?(H.addRange(U),H.extend(N.node,N.offset)):(U.setEnd(N.node,N.offset),H.addRange(U))}}}}for(J=[],H=S;H=H.parentNode;)H.nodeType===1&&J.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<J.length;S++){var $=J[S];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}Ao=!!Sc,kc=Sc=null}finally{Ue=f,F.p=o,_.T=l}}t.current=n,dt=2}}function Rm(){if(dt===2){dt=0;var t=fi,n=Dr,l=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||l){l=_.T,_.T=null;var o=F.p;F.p=2;var f=Ue;Ue|=4;try{am(t,n.alternate,n)}finally{Ue=f,F.p=o,_.T=l}}dt=3}}function Dm(){if(dt===4||dt===3){dt=0,ba();var t=fi,n=Dr,l=Nr,o=ym;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?dt=5:(dt=0,Dr=fi=null,Nm(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(ci=null),Rs(l),n=n.stateNode,ie&&typeof ie.onCommitFiberRoot=="function")try{ie.onCommitFiberRoot(Y,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=_.T,f=F.p,F.p=2,_.T=null;try{for(var p=t.onRecoverableError,x=0;x<o.length;x++){var S=o[x];p(S.value,{componentStack:S.stack})}}finally{_.T=n,F.p=f}}(Nr&3)!==0&&fo(),kn(t),f=t.pendingLanes,(l&4194090)!==0&&(f&42)!==0?t===sc?jl++:(jl=0,sc=t):jl=0,Bl(0)}}function Nm(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,gl(n)))}function fo(t){return Om(),Rm(),Dm(),Mm()}function Mm(){if(dt!==5)return!1;var t=fi,n=ac;ac=0;var l=Rs(Nr),o=_.T,f=F.p;try{F.p=32>l?32:l,_.T=null,l=oc,oc=null;var p=fi,x=Nr;if(dt=0,Dr=fi=null,Nr=0,(Ue&6)!==0)throw Error(a(331));var S=Ue;if(Ue|=4,mm(p.current),dm(p,p.current,x,l),Ue=S,Bl(0,!1),ie&&typeof ie.onPostCommitFiberRoot=="function")try{ie.onPostCommitFiberRoot(Y,p)}catch{}return!0}finally{F.p=f,_.T=o,Nm(t,n)}}function zm(t,n,l){n=Wt(l,n),n=Pu(t.stateNode,n,2),t=ti(t,n,2),t!==null&&(el(t,2),kn(t))}function Ge(t,n,l){if(t.tag===3)zm(t,t,l);else for(;n!==null;){if(n.tag===3){zm(n,t,l);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ci===null||!ci.has(o))){t=Wt(l,t),l=Bp(2),o=ti(n,l,2),o!==null&&(Up(l,o,n,t),el(o,2),kn(o));break}}n=n.return}}function dc(t,n,l){var o=t.pingCache;if(o===null){o=t.pingCache=new kw;var f=new Set;o.set(n,f)}else f=o.get(n),f===void 0&&(f=new Set,o.set(n,f));f.has(l)||(nc=!0,f.add(l),t=Ow.bind(null,t,n,l),n.then(t,t))}function Ow(t,n,l){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ve===t&&(Me&l)===l&&(Ze===4||Ze===3&&(Me&62914560)===Me&&300>Lt()-lc?(Ue&2)===0&&Mr(t,0):ic|=l,Rr===Me&&(Rr=0)),kn(t)}function _m(t,n){n===0&&(n=Dd()),t=pr(t,n),t!==null&&(el(t,n),kn(t))}function Rw(t){var n=t.memoizedState,l=0;n!==null&&(l=n.retryLane),_m(t,l)}function Dw(t,n){var l=0;switch(t.tag){case 13:var o=t.stateNode,f=t.memoizedState;f!==null&&(l=f.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(a(314))}o!==null&&o.delete(n),_m(t,l)}function Nw(t,n){return At(t,n)}var ho=null,_r=null,hc=!1,po=!1,pc=!1,Vi=0;function kn(t){t!==_r&&t.next===null&&(_r===null?ho=_r=t:_r=_r.next=t),po=!0,hc||(hc=!0,zw())}function Bl(t,n){if(!pc&&po){pc=!0;do for(var l=!1,o=ho;o!==null;){if(t!==0){var f=o.pendingLanes;if(f===0)var p=0;else{var x=o.suspendedLanes,S=o.pingedLanes;p=(1<<31-xe(42|t)+1)-1,p&=f&~(x&~S),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(l=!0,Um(o,p))}else p=Me,p=at(o,o===Ve?p:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(p&3)===0||Zt(o,p)||(l=!0,Um(o,p));o=o.next}while(l);pc=!1}}function Mw(){Lm()}function Lm(){po=hc=!1;var t=0;Vi!==0&&(Hw()&&(t=Vi),Vi=0);for(var n=Lt(),l=null,o=ho;o!==null;){var f=o.next,p=jm(o,n);p===0?(o.next=null,l===null?ho=f:l.next=f,f===null&&(_r=l)):(l=o,(t!==0||(p&3)!==0)&&(po=!0)),o=f}Bl(t)}function jm(t,n){for(var l=t.suspendedLanes,o=t.pingedLanes,f=t.expirationTimes,p=t.pendingLanes&-62914561;0<p;){var x=31-xe(p),S=1<<x,R=f[x];R===-1?((S&l)===0||(S&o)!==0)&&(f[x]=sn(S,n)):R<=n&&(t.expiredLanes|=S),p&=~S}if(n=Ve,l=Me,l=at(t,t===n?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,l===0||t===n&&(qe===2||qe===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&yn(o),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Zt(t,l)){if(n=l&-l,n===t.callbackPriority)return n;switch(o!==null&&yn(o),Rs(l)){case 2:case 8:l=Wr;break;case 32:l=Wi;break;case 268435456:l=va;break;default:l=Wi}return o=Bm.bind(null,t),l=At(l,o),t.callbackPriority=n,t.callbackNode=l,n}return o!==null&&o!==null&&yn(o),t.callbackPriority=2,t.callbackNode=null,2}function Bm(t,n){if(dt!==0&&dt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(fo()&&t.callbackNode!==l)return null;var o=Me;return o=at(t,t===Ve?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(vm(t,o,n),jm(t,Lt()),t.callbackNode!=null&&t.callbackNode===l?Bm.bind(null,t):null)}function Um(t,n){if(fo())return null;vm(t,n,!0)}function zw(){Gw(function(){(Ue&6)!==0?At(Jr,Mw):Lm()})}function mc(){return Vi===0&&(Vi=Rd()),Vi}function qm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Aa(""+t)}function Pm(t,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,t.id&&l.setAttribute("form",t.id),n.parentNode.insertBefore(l,n),t=new FormData(t),l.parentNode.removeChild(l),t}function _w(t,n,l,o,f){if(n==="submit"&&l&&l.stateNode===f){var p=qm((f[Et]||null).action),x=o.submitter;x&&(n=(n=x[Et]||null)?qm(n.formAction):x.getAttribute("formAction"),n!==null&&(p=n,x=null));var S=new Oa("action","action",null,o,f);t.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Vi!==0){var R=x?Pm(f,x):new FormData(f);
vendor: 5,509 bytes, line 8
8Lu(l,{pending:!0,data:R,method:f.method,action:p},null,R)}}else typeof p=="function"&&(S.preventDefault(),R=x?Pm(f,x):new FormData(f),Lu(l,{pending:!0,data:R,method:f.method,action:p},p,R))},currentTarget:f}]})}}for(var gc=0;gc<eu.length;gc++){var yc=eu[gc],Lw=yc.toLowerCase(),jw=yc[0].toUpperCase()+yc.slice(1);un(Lw,"on"+jw)}un(vh,"onAnimationEnd"),un(xh,"onAnimationIteration"),un(wh,"onAnimationStart"),un("dblclick","onDoubleClick"),un("focusin","onFocus"),un("focusout","onBlur"),un(W0,"onTransitionRun"),un(ew,"onTransitionStart"),un(tw,"onTransitionCancel"),un(Sh,"onTransitionEnd"),rr("onMouseEnter",["mouseout","mouseover"]),rr("onMouseLeave",["mouseout","mouseover"]),rr("onPointerEnter",["pointerout","pointerover"]),rr("onPointerLeave",["pointerout","pointerover"]),Ri("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ri("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ri("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ri("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ri("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ri("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ul="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(" "),Bw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ul));function Hm(t,n){n=(n&4)!==0;for(var l=0;l<t.length;l++){var o=t[l],f=o.event;o=o.listeners;e:{var p=void 0;if(n)for(var x=o.length-1;0<=x;x--){var S=o[x],R=S.instance,q=S.currentTarget;if(S=S.listener,R!==p&&f.isPropagationStopped())break e;p=S,f.currentTarget=q;try{p(f)}catch(X){eo(X)}f.currentTarget=null,p=R}else for(x=0;x<o.length;x++){if(S=o[x],R=S.instance,q=S.currentTarget,S=S.listener,R!==p&&f.isPropagationStopped())break e;p=S,f.currentTarget=q;try{p(f)}catch(X){eo(X)}f.currentTarget=null,p=R}}}}function Re(t,n){var l=n[Ds];l===void 0&&(l=n[Ds]=new Set);var o=t+"__bubble";l.has(o)||(Im(n,t,2,!1),l.add(o))}function bc(t,n,l){var o=0;n&&(o|=4),Im(l,t,o,n)}var mo="_reactListening"+Math.random().toString(36).slice(2);function vc(t){if(!t[mo]){t[mo]=!0,Ld.forEach(function(l){l!=="selectionchange"&&(Bw.has(l)||bc(l,!1,t),bc(l,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[mo]||(n[mo]=!0,bc("selectionchange",!1,n))}}function Im(t,n,l,o){switch(dg(n)){case 2:var f=c1;break;case 8:f=f1;break;default:f=zc}l=f.bind(null,n,l,t),f=void 0,!Hs||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(f=!0),o?f!==void 0?t.addEventListener(n,l,{capture:!0,passive:f}):t.addEventListener(n,l,!0):f!==void 0?t.addEventListener(n,l,{passive:f}):t.addEventListener(n,l,!1)}function xc(t,n,l,o,f){var p=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var x=o.tag;if(x===3||x===4){var S=o.stateNode.containerInfo;if(S===f)break;if(x===4)for(x=o.return;x!==null;){var R=x.tag;if((R===3||R===4)&&x.stateNode.containerInfo===f)return;x=x.return}for(;S!==null;){if(x=tr(S),x===null)return;if(R=x.tag,R===5||R===6||R===26||R===27){o=p=x;continue e}S=S.parentNode}}o=o.return}Kd(function(){var q=p,X=qs(l),J=[];e:{var P=kh.get(t);if(P!==void 0){var H=Oa,we=t;switch(t){case"keypress":if(Ea(l)===0)break e;case"keydown":case"keyup":H=N0;break;case"focusin":we="focus",H=Vs;break;case"focusout":we="blur",H=Vs;break;case"beforeblur":case"afterblur":H=Vs;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=v0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=_0;break;case vh:case xh:case wh:H=S0;break;case Sh:H=j0;break;case"scroll":case"scrollend":H=y0;break;case"wheel":H=U0;break;case"copy":case"cut":case"paste":H=A0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=eh;break;case"toggle":case"beforetoggle":H=P0}var be=(n&4)!==0,Ie=!be&&(t==="scroll"||t==="scrollend"),j=be?P!==null?P+"Capture":null:P;be=[];for(var N=q,U;N!==null;){var $=N;if(U=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||U===null||j===null||($=il(N,j),$!=null&&be.push(ql(N,$,U))),Ie)break;N=N.return}0<be.length&&(P=new H(P,we,null,l,X),J.push({event:P,listeners:be}))}}if((n&7)===0){e:{if(P=t==="mouseover"||t==="pointerover",H=t==="mouseout"||t==="pointerout",P&&l!==Us&&(we=l.relatedTarget||l.fromElement)&&(tr(we)||we[er]))break e;if((H||P)&&(P=X.window===X?X:(P=X.ownerDocument)?P.defaultView||P.parentWindow:window,H?(we=l.relatedTarget||l.toElement,H=q,we=we?tr(we):null,we!==null&&(Ie=u(we),be=we.tag,we!==Ie||be!==5&&be!==27&&be!==6)&&(we=null)):(H=null,we=q),H!==we)){if(be=Jd,$="onMouseLeave",j="onMouseEnter",N="mouse",(t==="pointerout"||t==="pointerover")&&(be=eh,$="onPointerLeave",j="onPointerEnter",N="pointer"),Ie=H==null?P:nl(H),U=we==null?P:nl(we),P=new be($,N+"leave",H,l,X),P.target=Ie,P.relatedTarget=U,$=null,tr(X)===q&&(be=new be(j,N+"enter",we,l,X),be.target=U,be.relatedTarget=Ie,$=be),Ie=$,H&&we)t:{for(be=H,j=we,N=0,U=be;U;
vendor: 5,455 bytes, lines 8-9
8U=Lr(U))N++;for(U=0,$=j;$;$=Lr($))U++;for(;0<N-U;)be=Lr(be),N--;for(;0<U-N;)j=Lr(j),U--;for(;N--;){if(be===j||j!==null&&be===j.alternate)break t;be=Lr(be),j=Lr(j)}be=null}else be=null;H!==null&&Gm(J,P,H,be,!1),we!==null&&Ie!==null&&Gm(J,Ie,we,be,!0)}}e:{if(P=q?nl(q):window,H=P.nodeName&&P.nodeName.toLowerCase(),H==="select"||H==="input"&&P.type==="file")var ue=sh;else if(ah(P))if(uh)ue=Z0;else{ue=X0;var Ce=Q0}else H=P.nodeName,!H||H.toLowerCase()!=="input"||P.type!=="checkbox"&&P.type!=="radio"?q&&Bs(q.elementType)&&(ue=sh):ue=K0;if(ue&&(ue=ue(t,q))){oh(J,ue,l,X);break e}Ce&&Ce(t,P,q),t==="focusout"&&q&&P.type==="number"&&q.memoizedProps.value!=null&&js(P,"number",P.value)}switch(Ce=q?nl(q):window,t){case"focusin":(ah(Ce)||Ce.contentEditable==="true")&&(fr=Ce,$s=q,fl=null);break;case"focusout":fl=$s=fr=null;break;case"mousedown":Js=!0;break;case"contextmenu":case"mouseup":case"dragend":Js=!1,yh(J,l,X);break;case"selectionchange":if(J0)break;case"keydown":case"keyup":yh(J,l,X)}var me;if(Qs)e:{switch(t){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else cr?rh(t,l)&&(ve="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(ve="onCompositionStart");ve&&(th&&l.locale!=="ko"&&(cr||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&cr&&(me=Zd()):($n=X,Is="value"in $n?$n.value:$n.textContent,cr=!0)),Ce=go(q,ve),0<Ce.length&&(ve=new Wd(ve,t,null,l,X),J.push({event:ve,listeners:Ce}),me?ve.data=me:(me=lh(l),me!==null&&(ve.data=me)))),(me=I0?G0(t,l):F0(t,l))&&(ve=go(q,"onBeforeInput"),0<ve.length&&(Ce=new Wd("onBeforeInput","beforeinput",null,l,X),J.push({event:Ce,listeners:ve}),Ce.data=me)),_w(J,t,q,l,X)}Hm(J,n)})}function ql(t,n,l){return{instance:t,listener:n,currentTarget:l}}function go(t,n){for(var l=n+"Capture",o=[];t!==null;){var f=t,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=il(t,l),f!=null&&o.unshift(ql(t,f,p)),f=il(t,n),f!=null&&o.push(ql(t,f,p))),t.tag===3)return o;t=t.return}return[]}function Lr(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Gm(t,n,l,o,f){for(var p=n._reactName,x=[];l!==null&&l!==o;){var S=l,R=S.alternate,q=S.stateNode;if(S=S.tag,R!==null&&R===o)break;S!==5&&S!==26&&S!==27||q===null||(R=q,f?(q=il(l,p),q!=null&&x.unshift(ql(l,q,R))):f||(q=il(l,p),q!=null&&x.push(ql(l,q,R)))),l=l.return}x.length!==0&&t.push({event:n,listeners:x})}var Uw=/\r\n?/g,qw=/\u0000|\uFFFD/g;function Fm(t){return(typeof t=="string"?t:""+t).replace(Uw,` 9`).replace(qw,"")}function Vm(t,n){return n=Fm(n),Fm(t)===n}function yo(){}function He(t,n,l,o,f,p){switch(l){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||or(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&or(t,""+o);break;case"className":wa(t,"class",o);break;case"tabIndex":wa(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":wa(t,l,o);break;case"style":Qd(t,o,p);break;case"data":if(n!=="object"){wa(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||l!=="href")){t.removeAttribute(l);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Aa(""+o),t.setAttribute(l,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(l==="formAction"?(n!=="input"&&He(t,n,"name",f.name,f,null),He(t,n,"formEncType",f.formEncType,f,null),He(t,n,"formMethod",f.formMethod,f,null),He(t,n,"formTarget",f.formTarget,f,null)):(He(t,n,"encType",f.encType,f,null),He(t,n,"method",f.method,f,null),He(t,n,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Aa(""+o),t.setAttribute(l,o);break;case"onClick":o!=null&&(t.onclick=yo);break;case"onScroll":o!=null&&Re("scroll",t);break;case"onScrollEnd":o!=null&&Re("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(a(61));if(l=o.__html,l!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=l}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}l=Aa(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""+o):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":o===!0?t.setAttribute(l,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,o):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(l,o):t.removeAttribute(l);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(l):t.setAttribute(l,o);break;case"popover":Re("beforetoggle",t),Re("toggle",t),xa(t,"popover",o);break;case"xlinkActuate":Dn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Dn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Dn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Dn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Dn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Dn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Dn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Dn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Dn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":xa(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=m0.get(l)||l,xa(t,l,o))}}function wc(t,n,l,o,f,p){switch(l){case"style":Qd(t,o,p);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(a(61));if(l=o.__html,l!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=l}}break;case"children":typeof o=="string"?or(t,o):(typeof o=="number"||typeof o=="bigint")&&or(t,""+o);break;case"onScroll":o!=null&&Re("scroll",t);break;case"onScrollEnd":o!=null&&Re("scrollend",t);break;case"onClick":o!=null&&(t.onclick=yo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jd.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(f=l.endsWith("Capture"),n=l.slice(2,f?l.length-7:void 0),p=t[Et]||null,p=p!=null?p[l]:null,typeof p=="function"&&t.removeEventListener(n,p,f),typeof o=="function")){typeof p!="function"&&p!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(n,o,f);break e}l in t?t[l]=o:o===!0?t.setAttribute(l,""):xa(t,l,o)}}}function ht(t,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Re("error",t),Re("load",t);var o=!1,f=!1,p;for(p in l)if(l.hasOwnProperty(p)){var x=l[p];if(x!=null)switch(p){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,n));default:He(t,n,p,x,l,null)}}f&&He(t,n,"srcSet",l.srcSet,l,null),o&&He(t,n,"src",l.src,l,null);return;case"input":Re("invalid",t);var S=p=x=f=null,R=null,q=null;for(o in l)if(l.hasOwnProperty(o)){var X=l[o];if(X!=null)switch(o){case"name":f=X;break;case"type":x=X;break;case"checked":R=X;break;case"defaultChecked":q=X;break;case"value":p=X;break;case"defaultValue":S=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(a(137,n));break;default:He(t,n,o,X,l,null)}}Gd(t,p,S,R,q,x,f,!1),Sa(t);return;case"select":Re("invalid",t),o=x=p=null;for(f in l)if(l.hasOwnProperty(f)&&(S=l[f],S!=null))switch(f){case"value":p=S;break;case"defaultValue":x=S;break;case"multiple":o=S;default:He(t,n,f,S,l,null)}n=p,l=x,t.multiple=!!o,n!=null?ar(t,!!o,n,!1):l!=null&&ar(t,!!o,l,!0);return;case"textarea":Re("invalid",t),p=f=o=null;for(x in l)if(l.hasOwnProperty(x)&&(S=l[x],S!=null))switch(x){case"value":o=S;break;case"defaultValue":f=S;break;case"children":p=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(a(91));break;default:He(t,n,x,S,l,null)}Vd(t,o,f,p),Sa(t);return;case"option":for(R in l)l.hasOwnProperty(R)&&(o=l[R],o!=null)&&(R==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":He(t,n,R,o,l,null));return;case"dialog":Re("beforetoggle",t),Re("toggle",t),Re("cancel",t),Re("close",t);break;case"iframe":case"object":Re("load",t);break;case"video":case"audio":for(o=0;o<Ul.length;o++)Re(Ul[o],t);break;case"image":Re("error",t),Re("load",t);break;case"details":Re("toggle",t);break;case"embed":case"source":case"link":Re("error",t),Re("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(q in l)if(l.hasOwnProperty(q)&&(o=l[q],o!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,n));default:He(t,n,q,o,l,null)}return;default:if(Bs(n)){for(X in l)l.hasOwnProperty(X)&&(o=l[X],o!==void 0&&wc(t,n,X,o,l,void 0));return}}for(S in l)l.hasOwnProperty(S)&&(o=l[S],o!=null&&He(t,n,S,o,l,null))}function Pw(t,n,l,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,x=null,S=null,R=null,q=null,X=null;for(H in l){var J=l[H];if(l.hasOwnProperty(H)&&J!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":R=J;default:o.hasOwnProperty(H)||He(t,n,H,null,o,J)}}for(var P in o){var H=o[P];if(J=l[P],o.hasOwnProperty(P)&&(H!=null||J!=null))switch(P){case"type":p=H;break;case"name":f=H;break;case"checked":q=H;break;case"defaultChecked":X=H;break;case"value":x=H;break;case"defaultValue":S=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(a(137,n));break;default:H!==J&&He(t,n,P,H,o,J)}}Ls(t,x,S,R,q,X,p,f);return;case"select":H=x=S=P=null;for(p in l)if(R=l[p],l.hasOwnProperty(p)&&R!=null)switch(p){case"value":break;case"multiple":H=R;default:o.hasOwnProperty(p)||He(t,n,p,null,o,R)}for(f in o)if(p=o[f],R=l[f],o.hasOwnProperty(f)&&(p!=null||R!=null))switch(f){case"value":P=p;break;case"defaultValue":S=p;break;case"multiple":x=p;default:p!==R&&He(t,n,f,p,o,R)}n=S,l=x,o=H,P!=null?ar(t,!!l,P,!1):!!o!=!!l&&(n!=null?ar(t,!!l,n,!0):ar(t,!!l,l?[]:"",!1));return;case"textarea":H=P=null;for(S in l)if(f=l[S],l.hasOwnProperty(S)&&f!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:He(t,n,S,null,o,f)}for(x in o)if(f=o[x],p=l[x],o.hasOwnProperty(x)&&(f!=null||p!=null))switch(x){case"value":P=f;break;case"defaultValue":H=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==p&&He(t,n,x,f,o,p)}Fd(t,P,H);return;case"option":for(var we in l)P=l[we],l.hasOwnProperty(we)&&P!=null&&!o.hasOwnProperty(we)&&(we==="selected"?t.selected=!1:He(t,n,we,null,o,P));for(R in o)P=o[R],H=l[R],o.hasOwnProperty(R)&&P!==H&&(P!=null||H!=null)&&(R==="selected"?t.selected=P&&typeof P!="function"&&typeof P!="symbol":He(t,n,R,P,o,H));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 be in l)P=l[be],l.hasOwnProperty(be)&&P!=null&&!o.hasOwnProperty(be)&&He(t,n,be,null,o,P);for(q in o)if(P=o[q],H=l[q],o.hasOwnProperty(q)&&P!==H&&(P!=null||H!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(a(137,n));break;default:He(t,n,q,P,o,H)}return;default:if(Bs(n)){for(var Ie in l)P=l[Ie],l.hasOwnProperty(Ie)&&P!==void 0&&!o.hasOwnProperty(Ie)&&wc(t,n,Ie,void 0,o,P);for(X in o)P=o[X],H=l[X],!o.hasOwnProperty(X)||P===H||P===void 0&&H===void 0||wc(t,n,X,P,o,H);return}}for(var j in l)P=l[j],l.hasOwnProperty(j)&&P!=null&&!o.hasOwnProperty(j)&&He(t,n,j,null,o,P);for(J in o)P=o[J],H=l[J],!o.hasOwnProperty(J)||P===H||P==null&&H==null||He(t,n,J,P,o,H)}var Sc=null,kc=null;function bo(t){return t.nodeType===9?t:t.ownerDocument}function Ym(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Qm(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Ac(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Tc=null;function Hw(){var t=window.event;return t&&t.type==="popstate"?t===Tc?!1:(Tc=t,!0):(Tc=null,!1)}var Xm=typeof setTimeout=="function"?setTimeout:void 0,Iw=typeof clearTimeout=="function"?clearTimeout:void 0,Km=typeof Promise=="function"?Promise:void 0,Gw=typeof queueMicrotask=="function"?queueMicrotask:typeof Km<"u"?function(t){return Km.resolve(null).then(t).cat
vendor: 5,349 bytes, line 9
9ch(Fw)}:Xm;function Fw(t){setTimeout(function(){throw t})}function hi(t){return t==="head"}function Zm(t,n){var l=n,o=0,f=0;do{var p=l.nextSibling;if(t.removeChild(l),p&&p.nodeType===8)if(l=p.data,l==="/$"){if(0<o&&8>o){l=o;var x=t.ownerDocument;if(l&1&&Pl(x.documentElement),l&2&&Pl(x.body),l&4)for(l=x.head,Pl(l),x=l.firstChild;x;){var S=x.nextSibling,R=x.nodeName;x[tl]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&x.rel.toLowerCase()==="stylesheet"||l.removeChild(x),x=S}}if(f===0){t.removeChild(p),Xl(n);return}f--}else l==="$"||l==="$?"||l==="$!"?f++:o=l.charCodeAt(0)-48;else o=0;l=p}while(l);Xl(n)}function Ec(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var l=n;switch(n=n.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ec(l),Ns(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Vw(t,n,l,o){for(;t.nodeType===1;){var f=l;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[tl])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(p=t.getAttribute("rel"),p==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(p!==f.rel||t.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||t.getAttribute("title")!==(f.title==null?null:f.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(p=t.getAttribute("src"),(p!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===p)return t}else return t;if(t=fn(t.nextSibling),t===null)break}return null}function Yw(t,n,l){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=fn(t.nextSibling),t===null))return null;return t}function Cc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function Qw(t,n){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")n();else{var o=function(){n(),l.removeEventListener("DOMContentLoaded",o)};l.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function fn(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return t}var Oc=null;function $m(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(n===0)return t;n--}else l==="/$"&&n++}t=t.previousSibling}return null}function Jm(t,n,l){switch(n=bo(l),t){case"html":if(t=n.documentElement,!t)throw Error(a(452));return t;case"head":if(t=n.head,!t)throw Error(a(453));return t;case"body":if(t=n.body,!t)throw Error(a(454));return t;default:throw Error(a(451))}}function Pl(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Ns(t)}var an=new Map,Wm=new Set;function vo(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Fn=F.d;F.d={f:Xw,r:Kw,D:Zw,C:$w,L:Jw,m:Ww,X:t1,S:e1,M:n1};function Xw(){var t=Fn.f(),n=uo();return t||n}function Kw(t){var n=nr(t);n!==null&&n.tag===5&&n.type==="form"?vp(n):Fn.r(t)}var jr=typeof document>"u"?null:document;function eg(t,n,l){var o=jr;if(o&&typeof n=="string"&&n){var f=Jt(n);f='link[rel="'+t+'"][href="'+f+'"]',typeof l=="string"&&(f+='[crossorigin="'+l+'"]'),Wm.has(f)||(Wm.add(f),t={rel:t,crossOrigin:l,href:n},o.querySelector(f)===null&&(n=o.createElement("link"),ht(n,"link",t),ot(n),o.head.appendChild(n)))}}function Zw(t){Fn.D(t),eg("dns-prefetch",t,null)}function $w(t,n){Fn.C(t,n),eg("preconnect",t,n)}function Jw(t,n,l){Fn.L(t,n,l);var o=jr;if(o&&t&&n){var f='link[rel="preload"][as="'+Jt(n)+'"]';n==="image"&&l&&l.imageSrcSet?(f+='[imagesrcset="'+Jt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(f+='[imagesizes="'+Jt(l.imageSizes)+'"]')):f+='[href="'+Jt(t)+'"]';var p=f;switch(n){case"style":p=Br(t);break;case"script":p=Ur(t)}an.has(p)||(t=g({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:t,as:n},l),an.set(p,t),o.querySelector(f)!==null||n==="style"&&o.querySelector(Hl(p))||n==="script"&&o.querySelector(Il(p))||(n=o.createElement("link"),ht(n,"link",t),ot(n),o.head.appendChild(n)))}}function Ww(t,n){Fn.m(t,n);var l=jr;if(l&&t){var o=n&&typeof n.as=="string"?n.as:"script",f='link[rel="modulepreload"][as="'+Jt(o)+'"][href="'+Jt(t)+'"]',p=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ur(t)}if(!an.has(p)&&(t=g({rel:"modulepreload",href:t},n),an.set(p,t),l.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Il(p)))return}o=l.createElement("link"),ht(o,"link",t),ot(o),l.head.appendChild(o)}}}function e1(t,n,l){Fn.S(t,n,l);var o=jr;if(o&&t){var f=ir(o).hoistableStyles,p=Br(t);n=n||"default";var x=f.get(p);if(!x){var S={loading:0,preload:null};if(x=o.querySelector(Hl(p)))S.loading=5;
vendor: 5,847 bytes, line 9
9else{t=g({rel:"stylesheet",href:t,"data-precedence":n},l),(l=an.get(p))&&Rc(t,l);var R=x=o.createElement("link");ot(R),ht(R,"link",t),R._p=new Promise(function(q,X){R.onload=q,R.onerror=X}),R.addEventListener("load",function(){S.loading|=1}),R.addEventListener("error",function(){S.loading|=2}),S.loading|=4,xo(x,n,o)}x={type:"stylesheet",instance:x,count:1,state:S},f.set(p,x)}}}function t1(t,n){Fn.X(t,n);var l=jr;if(l&&t){var o=ir(l).hoistableScripts,f=Ur(t),p=o.get(f);p||(p=l.querySelector(Il(f)),p||(t=g({src:t,async:!0},n),(n=an.get(f))&&Dc(t,n),p=l.createElement("script"),ot(p),ht(p,"link",t),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(f,p))}}function n1(t,n){Fn.M(t,n);var l=jr;if(l&&t){var o=ir(l).hoistableScripts,f=Ur(t),p=o.get(f);p||(p=l.querySelector(Il(f)),p||(t=g({src:t,async:!0,type:"module"},n),(n=an.get(f))&&Dc(t,n),p=l.createElement("script"),ot(p),ht(p,"link",t),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(f,p))}}function tg(t,n,l,o){var f=(f=oe.current)?vo(f):null;if(!f)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=Br(l.href),l=ir(f).hoistableStyles,o=l.get(n),o||(o={type:"style",instance:null,count:0,state:null},l.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Br(l.href);var p=ir(f).hoistableStyles,x=p.get(t);if(x||(f=f.ownerDocument||f,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(t,x),(p=f.querySelector(Hl(t)))&&!p._p&&(x.instance=p,x.state.loading=5),an.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},an.set(t,l),p||i1(f,t,l,x.state))),n&&o===null)throw Error(a(528,""));return x}if(n&&o!==null)throw Error(a(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Ur(l),l=ir(f).hoistableScripts,o=l.get(n),o||(o={type:"script",instance:null,count:0,state:null},l.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function Br(t){return'href="'+Jt(t)+'"'}function Hl(t){return'link[rel="stylesheet"]['+t+"]"}function ng(t){return g({},t,{"data-precedence":t.precedence,precedence:null})}function i1(t,n,l,o){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=t.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),ht(n,"link",l),ot(n),t.head.appendChild(n))}function Ur(t){return'[src="'+Jt(t)+'"]'}function Il(t){return"script[async]"+t}function ig(t,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+Jt(l.href)+'"]');if(o)return n.instance=o,ot(o),o;var f=g({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),ot(o),ht(o,"style",f),xo(o,l.precedence,t),n.instance=o;case"stylesheet":f=Br(l.href);var p=t.querySelector(Hl(f));if(p)return n.state.loading|=4,n.instance=p,ot(p),p;o=ng(l),(f=an.get(f))&&Rc(o,f),p=(t.ownerDocument||t).createElement("link"),ot(p);var x=p;return x._p=new Promise(function(S,R){x.onload=S,x.onerror=R}),ht(p,"link",o),n.state.loading|=4,xo(p,l.precedence,t),n.instance=p;case"script":return p=Ur(l.src),(f=t.querySelector(Il(p)))?(n.instance=f,ot(f),f):(o=l,(f=an.get(p))&&(o=g({},l),Dc(o,f)),t=t.ownerDocument||t,f=t.createElement("script"),ot(f),ht(f,"link",o),t.head.appendChild(f),n.instance=f);case"void":return null;default:throw Error(a(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,xo(o,l.precedence,t));return n.instance}function xo(t,n,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,p=f,x=0;x<o.length;x++){var S=o[x];if(S.dataset.precedence===n)p=S;else if(p!==f)break}p?p.parentNode.insertBefore(t,p.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(t,n.firstChild))}function Rc(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function Dc(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var wo=null;function rg(t,n,l){if(wo===null){var o=new Map,f=wo=new Map;f.set(l,o)}else f=wo,o=f.get(l),o||(o=new Map,f.set(l,o));if(o.has(t))return o;for(o.set(t,null),l=l.getElementsByTagName(t),f=0;f<l.length;f++){var p=l[f];if(!(p[tl]||p[mt]||t==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var x=p.getAttribute(n)||"";x=t+x;var S=o.get(x);S?S.push(p):o.set(x,[p])}}return o}function lg(t,n,l){t=t.ownerDocument||t,t.head.insertBefore(l,n==="title"?t.querySelector("head > title"):null)}function r1(t,n,l){if(l===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(t=n.disabled,typeof n.precedence=="string"&&t==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function ag(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Gl=null;function l1(){}function a1(t,n,l){if(Gl===null)throw Error(a(475));var o=Gl;
vendor: 8,729 bytes, line 9
9if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var f=Br(l.href),p=t.querySelector(Hl(f));if(p){t=p._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(o.count++,o=So.bind(o),t.then(o,o)),n.state.loading|=4,n.instance=p,ot(p);return}p=t.ownerDocument||t,l=ng(l),(f=an.get(f))&&Rc(l,f),p=p.createElement("link"),ot(p);var x=p;x._p=new Promise(function(S,R){x.onload=S,x.onerror=R}),ht(p,"link",l),n.instance=p}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(o.count++,n=So.bind(o),t.addEventListener("load",n),t.addEventListener("error",n))}}function o1(){if(Gl===null)throw Error(a(475));var t=Gl;return t.stylesheets&&t.count===0&&Nc(t,t.stylesheets),0<t.count?function(n){var l=setTimeout(function(){if(t.stylesheets&&Nc(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l)}}:null}function So(){if(this.count--,this.count===0){if(this.stylesheets)Nc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ko=null;function Nc(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ko=new Map,n.forEach(s1,t),ko=null,So.call(t))}function s1(t,n){if(!(n.state.loading&4)){var l=ko.get(t);if(l)var o=l.get(null);else{l=new Map,ko.set(t,l);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var x=f[p];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(l.set(x.dataset.precedence,x),o=x)}o&&l.set(null,o)}f=n.instance,x=f.getAttribute("data-precedence"),p=l.get(x)||o,p===o&&l.set(null,f),l.set(x,f),this.count++,o=So.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),p?p.parentNode.insertBefore(f,p.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),n.state.loading|=4}}var Fl={$$typeof:M,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function u1(t,n,l,o,f,p,x,S){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Cs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cs(0),this.hiddenUpdates=Cs(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function og(t,n,l,o,f,p,x,S,R,q,X,J){return t=new u1(t,n,l,x,S,R,q,J),n=1,p===!0&&(n|=24),p=qt(3,null,null,n),t.current=p,p.stateNode=t,n=du(),n.refCount++,t.pooledCache=n,n.refCount++,p.memoizedState={element:o,isDehydrated:l,cache:n},gu(p),t}function sg(t){return t?(t=mr,t):mr}function ug(t,n,l,o,f,p){f=sg(f),o.context===null?o.context=f:o.pendingContext=f,o=ei(n),o.payload={element:l},p=p===void 0?null:p,p!==null&&(o.callback=p),l=ti(t,o,n),l!==null&&(Ft(l,t,n),xl(l,t,n))}function cg(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<n?l:n}}function Mc(t,n){cg(t,n),(t=t.alternate)&&cg(t,n)}function fg(t){if(t.tag===13){var n=pr(t,67108864);n!==null&&Ft(n,t,67108864),Mc(t,67108864)}}var Ao=!0;function c1(t,n,l,o){var f=_.T;_.T=null;var p=F.p;try{F.p=2,zc(t,n,l,o)}finally{F.p=p,_.T=f}}function f1(t,n,l,o){var f=_.T;_.T=null;var p=F.p;try{F.p=8,zc(t,n,l,o)}finally{F.p=p,_.T=f}}function zc(t,n,l,o){if(Ao){var f=_c(o);if(f===null)xc(t,n,o,To,l),hg(t,o);else if(h1(f,t,n,l,o))o.stopPropagation();else if(hg(t,o),n&4&&-1<d1.indexOf(t)){for(;f!==null;){var p=nr(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var x=Bt(p.pendingLanes);if(x!==0){var S=p;for(S.pendingLanes|=2,S.entangledLanes|=2;x;){var R=1<<31-xe(x);S.entanglements[1]|=R,x&=~R}kn(p),(Ue&6)===0&&(oo=Lt()+500,Bl(0))}}break;case 13:S=pr(p,2),S!==null&&Ft(S,p,2),uo(),Mc(p,2)}if(p=_c(o),p===null&&xc(t,n,o,To,l),p===f)break;f=p}f!==null&&o.stopPropagation()}else xc(t,n,o,null,l)}}function _c(t){return t=qs(t),Lc(t)}var To=null;function Lc(t){if(To=null,t=tr(t),t!==null){var n=u(t);if(n===null)t=null;else{var l=n.tag;if(l===13){if(t=c(n),t!==null)return t;t=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return To=t,null}function dg(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ks()){case Jr:return 2;case Wr:return 8;case Wi:case As:return 32;case va:return 268435456;default:return 32}default:return 32}}var jc=!1,pi=null,mi=null,gi=null,Vl=new Map,Yl=new Map,yi=[],d1="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 hg(t,n){switch(t){case"focusin":case"focusout":pi=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":gi=null;break;case"pointerover":case"pointerout":Vl.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yl.delete(n.pointerId)}}function Ql(t,n,l,o,f,p){return t===null||t.nativeEvent!==p?(t={blockedOn:n,domEventName:l,eventSystemFlags:o,nativeEvent:p,targetContainers:[f]},n!==null&&(n=nr(n),n!==null&&fg(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,f!==null&&n.indexOf(f)===-1&&n.push(f),t)}function h1(t,n,l,o,f){switch(n){case"focusin":return pi=Ql(pi,t,n,l,o,f),!0;case"dragenter":return mi=Ql(mi,t,n,l,o,f),!0;case"mouseover":return gi=Ql(gi,t,n,l,o,f),!0;case"pointerover":var p=f.pointerId;return Vl.set(p,Ql(Vl.get(p)||null,t,n,l,o,f)),!0;case"gotpointercapture":return p=f.pointerId,Yl.set(p,Ql(Yl.get(p)||null,t,n,l,o,f)),!0}return!1}function pg(t){var n=tr(t.target);if(n!==null){var l=u(n);if(l!==null){if(n=l.tag,n===13){if(n=c(l),n!==null){t.blockedOn=n,a0(t.priority,function(){if(l.tag===13){var o=Gt();o=Os(o);var f=pr(l,o);f!==null&&Ft(f,l,o),Mc(l,o)}});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Eo(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var l=_c(t.nativeEvent);if(l===null){l=t.nativeEvent;var o=new l.constructor(l.type,l);Us=o,l.target.dispatchEvent(o),Us=null}else return n=nr(l),n!==null&&fg(n),t.blockedOn=l,!1;n.shift()}return!0}function mg(t,n,l){Eo(t)&&l.delete(n)}function p1(){jc=!1,pi!==null&&Eo(pi)&&(pi=null),mi!==null&&Eo(mi)&&(mi=null),gi!==null&&Eo(gi)&&(gi=null),Vl.forEach(mg),Yl.forEach(mg)}function Co(t,n){t.blockedOn===n&&(t.blockedOn=null,jc||(jc=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,p1)))}var Oo=null;function gg(t){Oo!==t&&(Oo=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Oo===t&&(Oo=null);for(var n=0;n<t.length;n+=3){var l=t[n],o=t[n+1],f=t[n+2];if(typeof o!="function"){if(Lc(o||l)===null)continue;break}var p=nr(l);p!==null&&(t.splice(n,3),n-=3,Lu(p,{pending:!0,data:f,method:l.method,action:o},o,f))}}))}function Xl(t){function n(R){return Co(R,t)}pi!==null&&Co(pi,t),mi!==null&&Co(mi,t),gi!==null&&Co(gi,t),Vl.forEach(n),Yl.forEach(n);for(var l=0;l<yi.length;l++){var o=yi[l];o.blockedOn===t&&(o.blockedOn=null)}for(;0<yi.length&&(l=yi[0],l.blockedOn===null);
9)pg(l),l.blockedOn===null&&yi.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(o=0;o<l.length;o+=3){var f=l[o],p=l[o+1],x=f[Et]||null;if(typeof p=="function")x||gg(l);else if(x){var S=null;if(p&&p.hasAttribute("formAction")){if(f=p,x=p[Et]||null)S=x.formAction;else if(Lc(f)!==null)continue}else S=x.action;typeof S=="function"?l[o+1]=S:(l.splice(o,3),o-=3),gg(l)}}}function Bc(t){this._internalRoot=t}Ro.prototype.render=Bc.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(a(409));var l=n.current,o=Gt();ug(l,o,t,n,null,null)},Ro.prototype.unmount=Bc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;ug(t.current,2,null,t,null,null),uo(),n[er]=null}};function Ro(t){this._internalRoot=t}Ro.prototype.unstable_scheduleHydration=function(t){if(t){var n=zd();t={blockedOn:null,target:t,priority:n};for(var l=0;l<yi.length&&n!==0&&n<yi[l].priority;l++);yi.splice(l,0,t),l===0&&pg(t)}};var yg=i.version;if(yg!=="19.1.0")throw Error(a(527,yg,"19.1.0"));F.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(a(188)):(t=Object.keys(t).join(","),Error(a(268,t)));return t=m(n),t=t!==null?h(t):null,t=t===null?null:t.stateNode,t};var m1={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Do=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Do.isDisabled&&Do.supportsFiber)try{Y=Do.inject(m1),ie=Do}catch{}}return Zl.createRoot=function(t,n){if(!s(t))throw Error(a(299));var l=!1,o="",f=zp,p=_p,x=Lp,S=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(f=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(S=n.unstable_transitionCallbacks)),n=og(t,1,!1,null,null,l,o,f,p,x,S,null),t[er]=n.current,vc(t),new Bc(n)},Zl.hydrateRoot=function(t,n,l){if(!s(t))throw Error(a(299));var o=!1,f="",p=zp,x=_p,S=Lp,R=null,q=null;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(f=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(x=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(R=l.unstable_transitionCallbacks),l.formState!==void 0&&(q=l.formState)),n=og(t,1,!0,n,l??null,o,f,p,x,S,R,q),n.context=sg(null),l=n.current,o=Gt(),o=Os(o),f=ei(o),f.callback=null,ti(l,f,o),l=o,n.current.lanes=l,el(n,l),kn(n),t[er]=n.current,vc(t),new Ro(n)},Zl.version="19.1.0",Zl}var Cg;function T1(){if(Cg)return qc.exports;Cg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(i){console.error(i)}}return e(),qc.exports=A1(),qc.exports}var E1=T1();function C1(e,i){if(e instanceof RegExp)return{keys:!1,pattern:e};var r,a,s,u,c=[],d="",m=e.split("/");for(m[0]||m.shift();s=m.shift();)r=s[0],r==="*"?(c.push(r),d+=s[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(a=s.indexOf("?",1),u=s.indexOf(".",1),c.push(s.substring(1,~a?a:~u?u:s.length)),d+=~a&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(d+=(~a?"?":"")+"\\"+s.substring(u))):d+="/"+s;return{keys:c,pattern:new RegExp("^"+d+(i?"(?=$|/)":"/?$"),"i")}}var D=rs();const Si=is(D),If=y1({__proto__:null,default:Si},[D]);var Fc={exports:{}},Vc={};var Og;function O1(){if(Og)return Vc;Og=1;var e=rs();function i(y,w){return y===w&&(y!==0||1/y===1/w)||y!==y&&w!==w}var r=typeof Object.is=="function"?Object.is:i,a=e.useState,s=e.useEffect,u=e.useLayoutEffect,c=e.useDebugValue;function d(y,w){var v=w(),k=a({inst:{value:v,getSnapshot:w}}),T=k[0].inst,E=k[1];return u(function(){T.value=v,T.getSnapshot=w,m(T)&&E({inst:T})},[y,v,w]),s(function(){return m(T)&&E({inst:T}),y(function(){m(T)&&E({inst:T})})},[y]),c(v),v}function m(y){var w=y.getSnapshot;y=y.value;try{var v=w();return!r(y,v)}catch{return!0}}function h(y,w){return w()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return Vc.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,Vc}var Rg;function R1(){return Rg||(Rg=1,Fc.exports=O1()),Fc.exports}var D1=R1();const N1=If.useInsertionEffect,M1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",z1=M1?D.useLayoutEffect:D.useEffect,_1=N1||z1,sb=e=>{const i=D.useRef([e,(...r)=>i[0](...r)]).current;return _1(()=>{i[0]=e}),i[1]},L1="popstate",Gf="pushState",Ff="replaceState",j1="hashchange",Dg=[L1,Gf,Ff,j1],B1=e=>{for(const i of Dg)addEventListener(i,e);return()=>{for(const i of Dg)removeEventListener(i,e)}},ub=(e,i)=>D1.useSyncExternalStore(B1,e,i),Ng=()=>location.search,U1=({ssrSearch:e}={})=>ub(Ng,e!=null?()=>e:Ng),Mg=()=>location.pathname,q1=({ssrPath:e}={})=>ub(Mg,e!=null?()=>e:Mg),P1=(e,{replace:i=!1,state:r=null}={})=>history[i?Ff:Gf](r,"",e),H1=(e={})=>[q1(e),P1],zg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[zg]>"u"){for(const e of[Gf,Ff]){const i=history[e];history[e]=function(){const r=i.apply(this,arguments),a=new Event(e);return a.arguments=arguments,dispatchEvent(a),r}}Object.defineProperty(window,zg,{value:!0})}const I1=(e,i)=>i.toLowerCase().indexOf(e.toLowerCase())?"~"+i:i.slice(e.length)||"/",cb=(e="")=>e==="/"?"":e,G1=(e,i)=>e[0]==="~"?e.slice(1):cb(i)+e,F1=(e="",i)=>I1(_g(cb(e)),_g(i)),_g=e=>{try{return decodeURI(e)}catch{return e}},fb={hook:H1,searchHook:U1,parser:C1,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,i,r)=>e(i,r)},db=D.createContext(fb),ls=()=>D.useContext(db),hb={},pb=D.createContext(hb),V1=()=>D.useContext(pb),Vf=e=>{const[i,r]=e.hook(e);return[F1(e.base,i),sb((a,s)=>e.aroundNav(r,G1(a,e.base),s))]},mb=(e,i,r,a)=>{const{pattern:s,keys:u}=i instanceof RegExp?{keys:!1,pattern:i}:e(i||"*",a),c=s.exec(r)||[],[d,...m]=c;return d!==void 0?[!0,(()=>{const h=u!==!1?Object.fromEntries(u.map((y,w)=>[y,m[w]])):c.groups;let g={...m};return h&&Object.assign(g,h),g})(),...a?[d]:[]]:[!1,null]},gb=({children:e,...i})=>{const r=ls(),a=i.hook?fb:r;let s=a;const[u,c=i.ssrSearch??""]=i.ssrPath?.split("?")??[];u&&(i.ssrSearch=c,i.ssrPath=u),i.hrefs=i.hrefs??i.hook?.hrefs,i.searchHook=i.searchHook??i.hook?.searchHook;let d=D.useRef({}),m=d.current,h=m;for(let g in a){const y=g==="base"?a[g]+(i[g]??""):i[g]??a[g];
9m===h&&y!==h[g]&&(d.current=h={...h}),h[g]=y,(y!==a[g]||y!==s[g])&&(s=h)}return D.createElement(db.Provider,{value:s,children:e})},Lg=({children:e,component:i},r)=>i?D.createElement(i,{params:r}):typeof e=="function"?e(r):e,Y1=e=>{let i=D.useRef(hb);const r=i.current;return i.current=Object.keys(e).length!==Object.keys(r).length||Object.entries(e).some(([a,s])=>s!==r[a])?e:r},No=({path:e,nest:i,match:r,...a})=>{const s=ls(),[u]=Vf(s),[c,d,m]=r??mb(s.parser,e,u,i),h=Y1({...V1(),...d});if(!c)return null;const g=m?D.createElement(gb,{base:m},Lg(a,h)):Lg(a,h);return D.createElement(pb.Provider,{value:h,children:g})};D.forwardRef((e,i)=>{const r=ls(),[a,s]=Vf(r),{to:u="",href:c=u,onClick:d,asChild:m,children:h,className:g,replace:y,state:w,transition:v,...k}=e,T=sb(C=>{C.ctrlKey||C.metaKey||C.altKey||C.shiftKey||C.button!==0||(d?.(C),C.defaultPrevented||(C.preventDefault(),s(c,e)))}),E=r.hrefs(c[0]==="~"?c.slice(1):r.base+c,r);return m&&D.isValidElement(h)?D.cloneElement(h,{onClick:T,href:E}):D.createElement("a",{...k,onClick:T,href:E,className:g?.call?g(a===c):g,children:h,ref:i})});const yb=e=>Array.isArray(e)?e.flatMap(i=>yb(i&&i.type===D.Fragment?i.props.children:i)):[e],Q1=({children:e,location:i})=>{const r=ls(),[a]=Vf(r);for(const s of yb(e)){let u=0;if(D.isValidElement(s)&&(u=mb(r.parser,s.props.path,i||a,s.props.nest))[0])return D.cloneElement(s,{match:u})}return null};var as=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},X1={setTimeout:(e,i)=>setTimeout(e,i),clearTimeout:e=>clearTimeout(e),setInterval:(e,i)=>setInterval(e,i),clearInterval:e=>clearInterval(e)},K1=class{#e=X1;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,i){return this.#e.setTimeout(e,i)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,i){return this.#e.setInterval(e,i)}clearInterval(e){this.#e.clearInterval(e)}},yf=new K1;function Z1(e){setTimeout(e,0)}var os=typeof window>"u"||"Deno"in globalThis;function dn(){}function $1(e,i){return typeof e=="function"?e(i):e}function J1(e){return typeof e=="number"&&e>=0&&e!==1/0}function W1(e,i){return Math.max(e+(i||0)-Date.now(),0)}function bf(e,i){return typeof e=="function"?e(i):e}function eS(e,i){return typeof e=="function"?e(i):e}function jg(e,i){const{type:r="all",exact:a,fetchStatus:s,predicate:u,queryKey:c,stale:d}=e;if(c){if(a){if(i.queryHash!==Yf(c,i.options))return!1}else if(!oa(i.queryKey,c))return!1}if(r!=="all"){const m=i.isActive();if(r==="active"&&!m||r==="inactive"&&m)return!1}return!(typeof d=="boolean"&&i.isStale()!==d||s&&s!==i.state.fetchStatus||u&&!u(i))}function Bg(e,i){const{exact:r,status:a,predicate:s,mutationKey:u}=e;if(u){if(!i.options.mutationKey)return!1;if(r){if(aa(i.options.mutationKey)!==aa(u))return!1}else if(!oa(i.options.mutationKey,u))return!1}return!(a&&i.state.status!==a||s&&!s(i))}function Yf(e,i){return(i?.queryKeyHashFn||aa)(e)}function aa(e){return JSON.stringify(e,(i,r)=>vf(r)?Object.keys(r).sort().reduce((a,s)=>(a[s]=r[s],a),{}):r)}function oa(e,i){return e===i?!0:typeof e!=typeof i?!1:e&&i&&typeof e=="object"&&typeof i=="object"?Object.keys(i).every(r=>oa(e[r],i[r])):!1}var tS=Object.prototype.hasOwnProperty;function bb(e,i,r=0){if(e===i)return e;if(r>500)return i;const a=Ug(e)&&Ug(i);if(!a&&!(vf(e)&&vf(i)))return i;const u=(a?e:Object.keys(e)).length,c=a?i:Object.keys(i),d=c.length,m=a?new Array(d):{};let h=0;for(let g=0;g<d;g++){const y=a?g:c[g],w=e[y],v=i[y];if(w===v){m[y]=w,(a?g<u:tS.call(e,y))&&h++;continue}if(w===null||v===null||typeof w!="object"||typeof v!="object"){m[y]=v;continue}const k=bb(w,v,r+1);m[y]=k,k===w&&h++}return u===d&&h===u?e:m}function Ug(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vf(e){if(!qg(e))return!1;const i=e.constructor;if(i===void 0)return!0;const r=i.prototype;return!(!qg(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function qg(e){return Object.prototype.toString.call(e)==="[object Object]"}function nS(e){return new Promise(i=>{yf.setTimeout(i,e)})}function iS(e,i,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,i):r.structuralSharing!==!1?bb(e,i):i}function rS(e,i,r=0){const a=[...e,i];return r&&a.length>r?a.slice(1):a}function lS(e,i,r=0){const a=[i,...e];return r&&a.length>r?a.slice(0,-1):a}var Qf=Symbol();function vb(e,i){return!e.queryFn&&i?.initialPromise?()=>i.initialPromise:!e.queryFn||e.queryFn===Qf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function aS(e,i,r){let a=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=i(),a||(a=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),e}var oS=class extends as{#e;#n;#t;constructor(){super(),this.#t=e=>{if(!os&&window.addEventListener){const i=()=>e();return window.addEventListener("visibilitychange",i,!1),()=>
vendor: 19,580 bytes, line 9
9{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(i=>{i(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},xb=new oS;function sS(){let e,i;const r=new Promise((s,u)=>{e=s,i=u});r.status="pending",r.catch(()=>{});function a(s){Object.assign(r,s),delete r.resolve,delete r.reject}return r.resolve=s=>{a({status:"fulfilled",value:s}),e(s)},r.reject=s=>{a({status:"rejected",reason:s}),i(s)},r}var uS=Z1;function cS(){let e=[],i=0,r=d=>{d()},a=d=>{d()},s=uS;const u=d=>{i?e.push(d):s(()=>{r(d)})},c=()=>{const d=e;e=[],d.length&&s(()=>{a(()=>{d.forEach(m=>{r(m)})})})};return{batch:d=>{let m;i++;try{m=d()}finally{i--,i||c()}return m},batchCalls:d=>(...m)=>{u(()=>{d(...m)})},schedule:u,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{s=d}}}var St=cS(),fS=class extends as{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(!os&&window.addEventListener){const i=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#e}},Yo=new fS;function dS(e){return Math.min(1e3*2**e,3e4)}function wb(e){return(e??"online")==="online"?Yo.isOnline():!0}var xf=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Sb(e){let i=!1,r=0,a;const s=sS(),u=()=>s.status!=="pending",c=T=>{if(!u()){const E=new xf(T);w(E),e.onCancel?.(E)}},d=()=>{i=!0},m=()=>{i=!1},h=()=>xb.isFocused()&&(e.networkMode==="always"||Yo.isOnline())&&e.canRun(),g=()=>wb(e.networkMode)&&e.canRun(),y=T=>{u()||(a?.(),s.resolve(T))},w=T=>{u()||(a?.(),s.reject(T))},v=()=>new Promise(T=>{a=E=>{(u()||h())&&T(E)},e.onPause?.()}).then(()=>{a=void 0,u()||e.onContinue?.()}),k=()=>{if(u())return;let T;const E=r===0?e.initialPromise:void 0;try{T=E??e.fn()}catch(C){T=Promise.reject(C)}Promise.resolve(T).then(y).catch(C=>{if(u())return;const L=e.retry??(os?0:3),M=e.retryDelay??dS,G=typeof M=="function"?M(r,C):M,I=L===!0||typeof L=="number"&&r<L||typeof L=="function"&&L(r,C);if(i||!I){w(C);return}r++,e.onFail?.(r,C),nS(G).then(()=>h()?void 0:v()).then(()=>{i?w(C):k()})})};return{promise:s,status:()=>s.status,cancel:c,continue:()=>(a?.(),s),cancelRetry:d,continueRetry:m,canStart:g,start:()=>(g()?k():v().then(k),s)}}var kb=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),J1(this.gcTime)&&(this.#e=yf.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(os?1/0:300*1e3))}clearGcTimeout(){this.#e&&(yf.clearTimeout(this.#e),this.#e=void 0)}},hS=class extends kb{#e;#n;#t;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#t=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Hg(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Hg(this.options);i.data!==void 0&&(this.setState(Pg(i.data,i.dataUpdatedAt)),this.#e=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,i){const r=iS(this.state.data,e,this.options);return this.#l({data:r,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),r}setState(e,i){this.#l({type:"setState",state:e,setStateOptions:i})}cancel(e){const i=this.#i?.promise;return this.#i?.cancel(e),i?i.then(dn).catch(dn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>eS(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Qf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>bf(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!W1(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(i=>i.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(i=>i.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(i=>i!==e),this.observers.length||(this.#i&&(this.#o?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,i){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#o=!0,r.signal)})},s=()=>{const d=vb(this.options,i),h=(()=>{const g={client:this.#r,queryKey:this.queryKey,meta:this.meta};return a(g),g})();return this.#o=!1,this.options.persister?this.options.persister(d,h,this):d(h)},c=(()=>{const d={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:s};return a(d),d})();this.options.behavior?.onFetch(c,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#l({type:"fetch",meta:c.fetchOptions?.meta}),this.#i=Sb({initialPromise:i?.initialPromise,fn:c.fetchFn,onCancel:d=>{d instanceof xf&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),r.abort()},onFail:(d,m)=>{this.#l({type:"failed",failureCount:d,error:m})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const d=await this.#i.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#t.config.onSuccess?.(d,this),this.#t.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof xf){if(d.silent)return this.#i.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#l({type:"error",error:d}),this.#t.config.onError?.(d,this),this.#t.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#l(e){const i=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...pS(r.data,this.options),fetchMeta:e.meta??null};case"success":const a={...r,...Pg(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?a:void 0,a;case"error":const s=e.error;return{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=i(this.state),St.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function pS(e,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:wb(i.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Pg(e,i){return{data:e,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Hg(e){const i=typeof e.initialData=="function"?e.initialData():e.initialData,r=i!==void 0,a=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:r?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}function Ig(e){return{onFetch:(i,r)=>{const a=i.options,s=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],c=i.state.data?.pageParams||[];let d={pages:[],pageParams:[]},m=0;const h=async()=>{let g=!1;const y=k=>{aS(k,()=>i.signal,()=>g=!0)},w=vb(i.options,i.fetchOptions),v=async(k,T,E)=>{if(g)return Promise.reject();if(T==null&&k.pages.length)return Promise.resolve(k);const L=(()=>{const z={client:i.client,queryKey:i.queryKey,pageParam:T,direction:E?"backward":"forward",meta:i.options.meta};return y(z),z})(),M=await w(L),{maxPages:G}=i.options,I=E?lS:rS;return{pages:I(k.pages,M,G),pageParams:I(k.pageParams,T,G)}};if(s&&u.length){const k=s==="backward",T=k?mS:Gg,E={pages:u,pageParams:c},C=T(a,E);d=await v(E,C,k)}else{const k=e??u.length;do{const T=m===0?c[0]??a.initialPageParam:Gg(a,d);if(m>0&&T==null)break;d=await v(d,T),m++}while(m<k)}return d};i.options.persister?i.fetchFn=()=>i.options.persister?.(h,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},r):i.fetchFn=h}}}function Gg(e,{pages:i,pageParams:r}){const a=i.length-1;return i.length>0?e.getNextPageParam(i[a],i,r[a],r):void 0}function mS(e,{pages:i,pageParams:r}){return i.length>0?e.getPreviousPageParam?.(i[0],i,r[0],r):void 0}var gS=class extends kb{#e;#n;#t;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||yS(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(i=>i!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const i=()=>{this.#i({type:"continue"})},r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Sb({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(u,c)=>{this.#i({type:"failed",failureCount:u,error:c})},onPause:()=>{this.#i({type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const a=this.state.status==="pending",s=!this.#r.canStart();try{if(a)i();else{this.#i({type:"pending",variables:e,isPaused:s}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,r);const c=await this.options.onMutate?.(e,r);c!==this.state.context&&this.#i({type:"pending",context:c,variables:e,isPaused:s})}const u=await this.#r.start();return await this.#t.config.onSuccess?.(u,e,this.state.context,this,r),await this.options.onSuccess?.(u,e,this.state.context,r),await this.#t.config.onSettled?.(u,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(u,null,e,this.state.context,r),this.#i({type:"success",data:u}),u}catch(u){try{await this.#t.config.onError?.(u,e,this.state.context,this,r)}catch(c){Promise.reject(c)}try{await this.options.onError?.(u,e,this.state.context,r)}catch(c){Promise.reject(c)}try{await this.#t.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,r)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,r)}catch(c){Promise.reject(c)}throw this.#i({type:"error",error:u}),u}finally{this.#t.runNext(this)}}#i(e){const i=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=i(this.state),St.batch(()=>{this.#n.forEach(r=>{r.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function yS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var bS=class extends as{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(e,i,r){const a=new gS({client:e,mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(i),state:r});return this.add(a),a}add(e){this.#e.add(e);const i=Mo(e);if(typeof i=="string"){const r=this.#n.get(i);r?r.push(e):this.#n.set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const i=Mo(e);if(typeof i=="string"){const r=this.#n.get(i);if(r)if(r.length>1){const a=r.indexOf(e);a!==-1&&r.splice(a,1)}else r[0]===e&&this.#n.delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Mo(e);if(typeof i=="string"){const a=this.#n.get(i)?.find(s=>s.state.status==="pending");return!a||a===e}else return!0}runNext(e){const i=Mo(e);return typeof i=="string"?this.#n.get(i)?.find(a=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){St.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(e){const i={exact:!0,...e};return this.getAll().find(r=>Bg(i,r))}findAll(e={}){return this.getAll().filter(i=>Bg(e,i))}notify(e){St.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return St.batch(()=>Promise.all(e.map(i=>i.continue().catch(dn))))}};function Mo(e){return e.options.scope?.id}var vS=class extends as{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,i,r){const a=i.queryKey,s=i.queryHash??Yf(a,i);let u=this.get(s);return u||(u=new hS({client:e,queryKey:a,queryHash:s,options:e.defaultQueryOptions(i),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=this.#e.get(e.queryHash);i&&(e.destroy(),i===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){St.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const i={exact:!0,...e};return this.getAll().find(r=>jg(i,r))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(r=>jg(e,r)):i}notify(e){St.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){St.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},xS=class{#e;#n;#t;#r;#i;#a;#o;#l;constructor(e={}){this.#e=e.queryCache||new vS,this.#n=e.mutationCache||new bS,this.#t=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=xb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=Yo.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const i=this.defaultQueryOptions({queryKey:e});return this.#e.get(i.queryHash)?.state.data}ensureQueryData(e){const i=this.defaultQueryOptions(e),r=this.#e.build(this,i),a=r.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(bf(i.staleTime,r))&&this.prefetchQuery(i),Promise.resolve(a))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:i,state:r})=>{const a=r.data;return[i,a]})}setQueryData(e,i,r){const a=this.defaultQueryOptions({queryKey:e}),u=this.#e.get(a.queryHash)?.state.data,c=$1(i,u);if(c!==void 0)return this.#e.build(this,a).setData(c,{...r,manual:!0})}setQueriesData(e,i,r){return St.batch(()=>this.#e.findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,i,r)]))}getQueryState(e){const i=this.defaultQueryOptions({queryKey:e});return this.#e.get(i.queryHash)?.state}removeQueries(e){const i=this.#e;St.batch(()=>{i.findAll(e).forEach(r=>{i.remove(r)})})}resetQueries(e,i){const r=this.#e;return St.batch(()=>(r.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},i)))}cancelQueries(e,i={}){const r={revert:!0,...i},a=St.batch(()=>this.#e.findAll(e).map(s=>s.cancel(r)));return Promise.all(a).then(dn).catch(dn)}invalidateQueries(e,i={}){return St.batch(()=>(this.#e.findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},i)))}refetchQueries(e,i={}){const r={...i,cancelRefetch:i.cancelRefetch??!0},a=St.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let u=s.fetch(void 0,r);return r.throwOnError||(u=u.catch(dn)),s.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(a).then(dn)}fetchQuery(e){const i=this.defaultQueryOptions(e);i.retry===void 0&&(i.retry=!1);const r=this.#e.build(this,i);return r.isStaleByTime(bf(i.staleTime,r))?r.fetch(i):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dn).catch(dn)}fetchInfiniteQuery(e){return e.behavior=Ig(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dn).catch(dn)}ensureInfiniteQueryData(e){return e.behavior=Ig(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Yo.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,i){this.#r.set(aa(e),{queryKey:e,defaultOptions:i})}getQueryDefaults(e){const i=[...this.#r.values()],r={};
9return i.forEach(a=>{oa(e,a.queryKey)&&Object.assign(r,a.defaultOptions)}),r}setMutationDefaults(e,i){this.#i.set(aa(e),{mutationKey:e,defaultOptions:i})}getMutationDefaults(e){const i=[...this.#i.values()],r={};return i.forEach(a=>{oa(e,a.mutationKey)&&Object.assign(r,a.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const i={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return i.queryHash||(i.queryHash=Yf(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===Qf&&(i.enabled=!1),i}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},wS=D.createContext(void 0),SS=({client:e,children:i})=>(D.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),O.jsx(wS.Provider,{value:e,children:i}));const kS=1,AS=1e6;let Yc=0;function TS(){return Yc=(Yc+1)%Number.MAX_SAFE_INTEGER,Yc.toString()}const Qc=new Map,Fg=e=>{if(Qc.has(e))return;const i=setTimeout(()=>{Qc.delete(e),na({type:"REMOVE_TOAST",toastId:e})},AS);Qc.set(e,i)},ES=(e,i)=>{switch(i.type){case"ADD_TOAST":return{...e,toasts:[i.toast,...e.toasts].slice(0,kS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===i.toast.id?{...r,...i.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=i;return r?Fg(r):e.toasts.forEach(a=>{Fg(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===r||r===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return i.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==i.toastId)}}},Io=[];let Go={toasts:[]};function na(e){Go=ES(Go,e),Io.forEach(i=>{i(Go)})}function CS({...e}){const i=TS(),r=s=>na({type:"UPDATE_TOAST",toast:{...s,id:i}}),a=()=>na({type:"DISMISS_TOAST",toastId:i});return na({type:"ADD_TOAST",toast:{...e,id:i,open:!0,onOpenChange:s=>{s||a()}}}),{id:i,dismiss:a,update:r}}function OS(){const[e,i]=D.useState(Go);return D.useEffect(()=>(Io.push(i),()=>{const r=Io.indexOf(i);r>-1&&Io.splice(r,1)}),[e]),{...e,toast:CS,dismiss:r=>na({type:"DISMISS_TOAST",toastId:r})}}var ss=ob();const RS=is(ss);function lt(e,i,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),r===!1||!s.defaultPrevented)return i?.(s)}}function Vg(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function Xf(...e){return i=>{let r=!1;const a=e.map(s=>{const u=Vg(s,i);return!r&&typeof u=="function"&&(r=!0),u});if(r)return()=>{for(let s=0;s<a.length;s++){const u=a[s];typeof u=="function"?u():Vg(e[s],null)}}}}function pn(...e){return D.useCallback(Xf(...e),e)}function us(e,i=[]){let r=[];function a(u,c){const d=D.createContext(c),m=r.length;r=[...r,c];const h=y=>{const{scope:w,children:v,...k}=y,T=w?.[e]?.[m]||d,E=D.useMemo(()=>k,Object.values(k));return O.jsx(T.Provider,{value:E,children:v})};h.displayName=u+"Provider";function g(y,w){const v=w?.[e]?.[m]||d,k=D.useContext(v);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${y}\` must be used within \`${u}\``)}return[h,g]}const s=()=>{const u=r.map(c=>D.createContext(c));return function(d){const m=d?.[e]||u;return D.useMemo(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])}};return s.scopeName=e,[a,DS(s,...i)]}function DS(...e){const i=e[0];if(e.length===1)return i;const r=()=>{const a=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(u){const c=a.reduce((d,{useScope:m,scopeName:h})=>{const y=m(u)[`__scope${h}`];return{...d,...y}},{});return D.useMemo(()=>({[`__scope${i.scopeName}`]:c}),[c])}};return r.scopeName=i.scopeName,r}function wf(e){const i=NS(e),r=D.forwardRef((a,s)=>{const{children:u,...c}=a,d=D.Children.toArray(u),m=d.find(zS);if(m){const h=m.props.children,g=d.map(y=>y===m?D.Children.count(h)>1?D.Children.only(null):D.isValidElement(h)?h.props.children:null:y);return O.jsx(i,{...c,ref:s,children:D.isValidElement(h)?D.cloneElement(h,void 0,g):null})}return O.jsx(i,{...c,ref:s,children:u})});return r.displayName=`${e}.Slot`,r}function NS(e){const i=D.forwardRef((r,a)=>{const{children:s,...u}=r;if(D.isValidElement(s)){const c=LS(s),d=_S(u,s.props);return s.type!==D.Fragment&&(d.ref=a?Xf(a,c):c),D.cloneElement(s,d)}return D.Children.count(s)>1?D.Children.only(null):null});return i.displayName=`${e}.SlotClone`,i}var Ab=Symbol("radix.slottable");function MS(e){const i=({children:r})=>O.jsx(O.Fragment,{children:r});return i.displayName=`${e}.Slottable`,i.__radixId=Ab,i}function zS(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ab}function _S(e,i){const r={...i};for(const a in i){const s=e[a],u=i[a];/^on[A-Z]/.test(a)?s&&u?r[a]=(...d)=>{const m=u(...d);return s(...d),m}:s&&(r[a]=s):a==="style"?r[a]={...s,...u}
vendor: 9,061 bytes, line 9
9:a==="className"&&(r[a]=[s,u].filter(Boolean).join(" "))}return{...e,...r}}function LS(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning;return r?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function jS(e){const i=e+"CollectionProvider",[r,a]=us(i),[s,u]=r(i,{collectionRef:{current:null},itemMap:new Map}),c=T=>{const{scope:E,children:C}=T,L=Si.useRef(null),M=Si.useRef(new Map).current;return O.jsx(s,{scope:E,itemMap:M,collectionRef:L,children:C})};c.displayName=i;const d=e+"CollectionSlot",m=wf(d),h=Si.forwardRef((T,E)=>{const{scope:C,children:L}=T,M=u(d,C),G=pn(E,M.collectionRef);return O.jsx(m,{ref:G,children:L})});h.displayName=d;const g=e+"CollectionItemSlot",y="data-radix-collection-item",w=wf(g),v=Si.forwardRef((T,E)=>{const{scope:C,children:L,...M}=T,G=Si.useRef(null),I=pn(E,G),z=u(g,C);return Si.useEffect(()=>(z.itemMap.set(G,{ref:G,...M}),()=>{z.itemMap.delete(G)})),O.jsx(w,{[y]:"",ref:I,children:L})});v.displayName=g;function k(T){const E=u(e+"CollectionConsumer",T);return Si.useCallback(()=>{const L=E.collectionRef.current;if(!L)return[];const M=Array.from(L.querySelectorAll(`[${y}]`));return Array.from(E.itemMap.values()).sort((z,W)=>M.indexOf(z.ref.current)-M.indexOf(W.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:c,Slot:h,ItemSlot:v},k,a]}var BS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Mt=BS.reduce((e,i)=>{const r=wf(`Primitive.${i}`),a=D.forwardRef((s,u)=>{const{asChild:c,...d}=s,m=c?r:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(m,{...d,ref:u})});return a.displayName=`Primitive.${i}`,{...e,[i]:a}},{});function Tb(e,i){e&&ss.flushSync(()=>e.dispatchEvent(i))}function ki(e){const i=D.useRef(e);return D.useEffect(()=>{i.current=e}),D.useMemo(()=>(...r)=>i.current?.(...r),[])}function US(e,i=globalThis?.document){const r=ki(e);D.useEffect(()=>{const a=s=>{s.key==="Escape"&&r(s)};return i.addEventListener("keydown",a,{capture:!0}),()=>i.removeEventListener("keydown",a,{capture:!0})},[r,i])}var qS="DismissableLayer",Sf="dismissableLayer.update",PS="dismissableLayer.pointerDownOutside",HS="dismissableLayer.focusOutside",Yg,Eb=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kf=D.forwardRef((e,i)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...m}=e,h=D.useContext(Eb),[g,y]=D.useState(null),w=g?.ownerDocument??globalThis?.document,[,v]=D.useState({}),k=pn(i,W=>y(W)),T=Array.from(h.layers),[E]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),C=T.indexOf(E),L=g?T.indexOf(g):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,G=L>=C,I=GS(W=>{const V=W.target,ae=[...h.branches].some(B=>B.contains(V));!G||ae||(s?.(W),c?.(W),W.defaultPrevented||d?.())},w),z=FS(W=>{const V=W.target;[...h.branches].some(B=>B.contains(V))||(u?.(W),c?.(W),W.defaultPrevented||d?.())},w);return US(W=>{L===h.layers.size-1&&(a?.(W),!W.defaultPrevented&&d&&(W.preventDefault(),d()))},w),D.useEffect(()=>{if(g)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Yg=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),Qg(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Yg)}},[g,w,r,h]),D.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),Qg())},[g,h]),D.useEffect(()=>{const W=()=>v({});return document.addEventListener(Sf,W),()=>document.removeEventListener(Sf,W)},[]),O.jsx(Mt.div,{...m,ref:k,style:{pointerEvents:M?G?"auto":"none":void 0,...e.style},onFocusCapture:lt(e.onFocusCapture,z.onFocusCapture),onBlurCapture:lt(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:lt(e.onPointerDownCapture,I.onPointerDownCapture)})});Kf.displayName=qS;var IS="DismissableLayerBranch",Cb=D.forwardRef((e,i)=>{const r=D.useContext(Eb),a=D.useRef(null),s=pn(i,a);return D.useEffect(()=>{const u=a.current;if(u)return r.branches.add(u),()=>{r.branches.delete(u)}},[r.branches]),O.jsx(Mt.div,{...e,ref:s})});Cb.displayName=IS;function GS(e,i=globalThis?.document){const r=ki(e),a=D.useRef(!1),s=D.useRef(()=>{});return D.useEffect(()=>{const u=d=>{if(d.target&&!a.current){let m=function(){Ob(PS,r,h,{discrete:!0})};const h={originalEvent:d};d.pointerType==="touch"?(i.removeEventListener("click",s.current),s.current=m,i.addEventListener("click",s.current,{once:!0})):m()}else i.removeEventListener("click",s.current);a.current=!1},c=window.setTimeout(()=>{i.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(c),i.removeEventListener("pointerdown",u),i.removeEventListener("click",s.current)}},[i,r]),{onPointerDownCapture:()=>a.current=!0}}function FS(e,i=globalThis?.document){const r=ki(e),a=D.useRef(!1);return D.useEffect(()=>{const s=u=>{u.target&&!a.current&&Ob(HS,r,{originalEvent:u},{discrete:!1})};return i.addEventListener("focusin",s),()=>i.removeEventListener("focusin",s)},[i,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function Qg(){const e=new CustomEvent(Sf);document.dispatchEvent(e)}function Ob(e,i,r,{discrete:a}){const s=r.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});i&&s.addEventListener(e,i,{once:!0}),a?Tb(s,u):s.dispatchEvent(u)}var VS=Kf,YS=Cb,Ai=globalThis?.document?D.useLayoutEffect:()=>{},QS="Portal",Zf=D.forwardRef((e,i)=>{const{container:r,...a}=e,[s,u]=D.useState(!1);Ai(()=>u(!0),[]);const c=r||s&&globalThis?.document?.body;return c?RS.createPortal(O.jsx(Mt.div,{...a,ref:i}),c):null});Zf.displayName=QS;function XS(e,i){return D.useReducer((r,a)=>i[r][a]??r,e)}var cs=e=>{const{present:i,children:r}=e,a=KS(i),s=typeof r=="function"?r({present:a.isPresent}):D.Children.only(r),u=pn(a.ref,ZS(s));return typeof r=="function"||a.isPresent?D.cloneElement(s,{ref:u}):null};cs.displayName="Presence";function KS(e){const[i,r]=D.useState(),a=D.useRef(null),s=D.useRef(e),u=D.useRef("none"),c=e?"mounted":"unmounted",[d,m]=XS(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const h=zo(a.current);u.current=d==="mounted"?h:"none"},[d]),Ai(()=>{const h=a.current,g=s.current;if(g!==e){const w=u.current,v=zo(h);e?m("MOUNT"):v==="none"||h?.display==="none"?m("UNMOUNT"):m(g&&w!==v?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,m]),Ai(()=>{if(i){let h;const g=i.ownerDocument.defaultView??window,y=v=>{const T=zo(a.current).includes(CSS.escape(v.animationName));if(v.target===i&&T&&(m("ANIMATION_END"),!s.current)){const E=i.style.animationFillMode;i.style.animationFillMode="forwards",h=g.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=E)})}},w=v=>{v.target===i&&(u.current=zo(a.current))};return i.addEventListener("animationstart",w),i.addEventListener("animationcancel",y),i.addEventListener("animationend",y),()=>{g.clearTimeout(h),i.removeEventListener("animationstart",w),i.removeEventListener("animationcancel",y),i.removeEventListener("animationend",y)}}else m("ANIMATION_END")},[i,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:D.useCallback(h=>{a.current=h?getComputedStyle(h):null,r(h)},[])}}function zo(e){return e?.animationName||"none"}function ZS(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning;return r?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var $S=If[" useInsertionEffect ".trim().toString()]||Ai;function JS({prop:e,defaultProp:i,onChange:r=()=>{},caller:a}){const[s,u,c]=WS({defaultProp:i,onChange:r}),d=e!==void 0,m=d?e:s;{const g=D.useRef(e!==void 0);D.useEffect(()=>{const y=g.current;y!==d&&console.warn(`${a} is changing from ${y?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=d},[d,a])}const h=D.useCallback(g=>{if(d){const y=ek(g)?g(e):g;y!==e&&c.current?.(y)}else u(g)},[d,e,u,c]);return[m,h]}function WS({defaultProp:e,onChange:i}){const[r,a]=D.useState(e),s=D.useRef(r),u=D.useRef(i);return $S(()=>{u.current=i},[i]),D.useEffect(()=>{s.current!==r&&(u.current?.(r),s.current=r)},[r,s]),[r,a,u]}function ek(e){return typeof e=="function"}var tk=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),nk="VisuallyHidden",fs=D.forwardRef((e,i)=>O.jsx(Mt.span,{...e,ref:i,style:{...tk,...e.style}}));fs.displayName=nk;var ik=fs,$f="ToastProvider",[Jf,rk,lk]=jS("Toast"),[Rb]=us("Toast",[lk]),[ak,ds]=Rb($f),Db=e=>
9{const{__scopeToast:i,label:r="Notification",duration:a=5e3,swipeDirection:s="right",swipeThreshold:u=50,children:c}=e,[d,m]=D.useState(null),[h,g]=D.useState(0),y=D.useRef(!1),w=D.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${$f}\`. Expected non-empty \`string\`.`),O.jsx(Jf.Provider,{scope:i,children:O.jsx(ak,{scope:i,label:r,duration:a,swipeDirection:s,swipeThreshold:u,toastCount:h,viewport:d,onViewportChange:m,onToastAdd:D.useCallback(()=>g(v=>v+1),[]),onToastRemove:D.useCallback(()=>g(v=>v-1),[]),isFocusedToastEscapeKeyDownRef:y,isClosePausedRef:w,children:c})})};Db.displayName=$f;var Nb="ToastViewport",ok=["F8"],kf="toast.viewportPause",Af="toast.viewportResume",Mb=D.forwardRef((e,i)=>{const{__scopeToast:r,hotkey:a=ok,label:s="Notifications ({hotkey})",...u}=e,c=ds(Nb,r),d=rk(r),m=D.useRef(null),h=D.useRef(null),g=D.useRef(null),y=D.useRef(null),w=pn(i,y,c.onViewportChange),v=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=c.toastCount>0;D.useEffect(()=>{const E=C=>{a.length!==0&&a.every(M=>C[M]||C.code===M)&&y.current?.focus()};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[a]),D.useEffect(()=>{const E=m.current,C=y.current;if(k&&E&&C){const L=()=>
9{if(!c.isClosePausedRef.current){const z=new CustomEvent(kf);C.dispatchEvent(z),c.isClosePausedRef.current=!0}},M=()=>{if(c.isClosePausedRef.current){const z=new CustomEvent(Af);C.dispatchEvent(z),c.isClosePausedRef.current=!1}},G=z=>{!E.contains(z.relatedTarget)&&M()},I=()=>{E.contains(document.activeElement)||M()};return E.addEventListener("focusin",L),E.addEventListener("focusout",G),E.addEventListener("pointermove",L),E.addEventListener("pointerleave",I),window.addEventListener("blur",L),window.addEventListener("focus",M),()=>{E.removeEventListener("focusin",L),E.removeEventListener("focusout",G),E.removeEventListener("pointermove",L),E.removeEventListener("pointerleave",I),window.removeEventListener("blur",L),window.removeEventListener("focus",M)}}},[k,c.isClosePausedRef]);const T=D.useCallback(({tabbingDirection:E})=>{const L=d().map(M=>{const G=M.ref.current,I=[G,...xk(G)];return E==="forwards"?I:I.reverse()});return(E==="forwards"?L.reverse():L).flat()},[d]);return D.useEffect(()=>{const E=y.current;if(E){const C=L=>{const M=L.altKey||L.ctrlKey||L.metaKey;if(L.key==="Tab"&&!M){const I=document.activeElement,z=L.shiftKey;if(L.target===E&&z){h.current?.focus();return}const ae=T({tabbingDirection:z?"backwards":"forwards"}),B=ae.findIndex(ne=>ne===I);Xc(ae.slice(B+1))?L.preventDefault():z?h.current?.focus():g.current?.focus()}};return E.addEventListener("keydown",C),()=>E.removeEventListener("keydown",C)}},[d,T]),O.jsxs(YS,{ref:m,role:"region","aria-label":s.replace("{hotkey}",v),tabIndex:-1,style:{pointerEvents:k?void 0:"none"},children:[k&&O.jsx(Tf,{ref:h,onFocusFromOutsideViewport:()=>{const E=T({tabbingDirection:"forwards"});Xc(E)}}),O.jsx(Jf.Slot,{scope:r,children:O.jsx(Mt.ol,{tabIndex:-1,...u,ref:w})}),k&&O.jsx(Tf,{ref:g,onFocusFromOutsideViewport:()=>{const E=T({tabbingDirection:"backwards"});Xc(E)}})]})});Mb.displayName=Nb;var zb="ToastFocusProxy",Tf=D.forwardRef((e,i)=>{const{__scopeToast:r,onFocusFromOutsideViewport:a,...s}=e,u=ds(zb,r);return O.jsx(fs,{tabIndex:0,...s,ref:i,style:{position:"fixed"},onFocus:c=>{const d=c.relatedTarget;!u.viewport?.contains(d)&&a()}})});Tf.displayName=zb;var fa="Toast",sk="toast.swipeStart",uk="toast.swipeMove",ck="toast.swipeCancel",fk="toast.swipeEnd",_b=D.forwardRef((e,i)=>{const{forceMount:r,open:a,defaultOpen:s,onOpenChange:u,...c}=e,[d,m]=JS({prop:a,defaultProp:s??!0,onChange:u,caller:fa});return O.jsx(cs,{present:r||d,children:O.jsx(pk,{open:d,...c,ref:i,onClose:()=>m(!1),onPause:ki(e.onPause),onResume:ki(e.onResume),onSwipeStart:lt(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:lt(e.onSwipeMove,h=>{const{x:g,y}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${g}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${y}px`)}),onSwipeCancel:lt(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:lt(e.onSwipeEnd,h=>{const{x:g,y}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${g}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${y}px`),m(!1)})})})});_b.displayName=fa;var[dk,hk]=Rb(fa,{onClose(){}}),pk=D.forwardRef((e,i)=>{const{__scopeToast:r,type:a="foreground",duration:s,open:u,onClose:c,onEscapeKeyDown:d,onPause:m,onResume:h,onSwipeStart:g,onSwipeMove:y,onSwipeCancel:w,onSwipeEnd:v,...k}=e,T=ds(fa,r),[E,C]=D.useState(null),L=pn(i,K=>C(K)),M=D.useRef(null),G=D.useRef(null),I=s||T.duration,z=D.useRef(0),W=D.useRef(I),V=D.useRef(0),{onToastAdd:ae,onToastRemove:B}=T,ne=ki(()=>{E?.contains(document.activeElement)&&T.viewport?.focus(),c()}),te=D.useCallback(K=>
9{!K||K===1/0||(window.clearTimeout(V.current),z.current=new Date().getTime(),V.current=window.setTimeout(ne,K))},[ne]);D.useEffect(()=>{const K=T.viewport;if(K){const Z=()=>{te(W.current),h?.()},_=()=>{const F=new Date().getTime()-z.current;W.current=W.current-F,window.clearTimeout(V.current),m?.()};return K.addEventListener(kf,_),K.addEventListener(Af,Z),()=>{K.removeEventListener(kf,_),K.removeEventListener(Af,Z)}}},[T.viewport,I,m,h,te]),D.useEffect(()=>{u&&!T.isClosePausedRef.current&&te(I)},[u,I,T.isClosePausedRef,te]),D.useEffect(()=>(ae(),()=>B()),[ae,B]);const fe=D.useMemo(()=>E?Hb(E):null,[E]);return T.viewport?O.jsxs(O.Fragment,{children:[fe&&O.jsx(mk,{__scopeToast:r,role:"status","aria-live":a==="foreground"?"assertive":"polite",children:fe}),O.jsx(dk,{scope:r,onClose:ne,children:ss.createPortal(O.jsx(Jf.ItemSlot,{scope:r,children:O.jsx(VS,{asChild:!0,onEscapeKeyDown:lt(d,()=>{T.isFocusedToastEscapeKeyDownRef.current||ne(),T.isFocusedToastEscapeKeyDownRef.current=!1}),children:O.jsx(Mt.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":T.swipeDirection,...k,ref:L,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:lt(e.onKeyDown,K=>{K.key==="Escape"&&(d?.(K.nativeEvent),K.nativeEvent.defaultPrevented||(T.isFocusedToastEscapeKeyDownRef.current=!0,ne()))}),onPointerDown:lt(e.onPointerDown,K=>{K.button===0&&(M.current={x:K.clientX,y:K.clientY})}),onPointerMove:lt(e.onPointerMove,K=>{if(!M.current)return;const Z=K.clientX-M.current.x,_=K.clientY-M.current.y,F=!!G.current,ee=["left","right"].includes(T.swipeDirection),de=["left","up"].includes(T.swipeDirection)?Math.min:Math.max,b=ee?de(0,Z):0,Q=ee?0:de(0,_),le=K.pointerType==="touch"?10:2,A={x:b,y:Q},se={originalEvent:K,delta:A};F?(G.current=A,_o(uk,y,se,{discrete:!1})):Xg(A,T.swipeDirection,le)?(G.current=A,_o(sk,g,se,{discrete:!1}),K.target.setPointerCapture(K.pointerId)):(Math.abs(Z)>le||Math.abs(_)>le)&&(M.current=null)}),onPointerUp:lt(e.onPointerUp,K=>{const Z=G.current,_=K.target;if(_.hasPointerCapture(K.pointerId)&&_.releasePointerCapture(K.pointerId),G.current=null,M.current=null,Z){const F=K.currentTarget,ee={originalEvent:K,delta:Z};Xg(Z,T.swipeDirection,T.swipeThreshold)?_o(fk,v,ee,{discrete:!0}):_o(ck,w,ee,{discrete:!0}),F.addEventListener("click",de=>de.preventDefault(),{once:!0})}})})})}),T.viewport)})]}):null}),mk=e=>{const{__scopeToast:i,children:r,...a}=e,s=ds(fa,i),[u,c]=D.useState(!1),[d,m]=D.useState(!1);return bk(()=>c(!0)),D.useEffect(()=>{const h=window.setTimeout(()=>m(!0),1e3);return()=>window.clearTimeout(h)},[]),d?null:O.jsx(Zf,{asChild:!0,children:O.jsx(fs,{...a,children:u&&O.jsxs(O.Fragment,{children:[s.label," ",r]})})})},gk="ToastTitle",Lb=D.forwardRef((e,i)=>{const{__scopeToast:r,...a}=e;return O.jsx(Mt.div,{...a,ref:i})});Lb.displayName=gk;var yk="ToastDescription",jb=D.forwardRef((e,i)=>{const{__scopeToast:r,...a}=e;return O.jsx(Mt.div,{...a,ref:i})});jb.displayName=yk;var Bb="ToastAction",Ub=D.forwardRef((e,i)=>{const{altText:r,...a}=e;return r.trim()?O.jsx(Pb,{altText:r,asChild:!0,children:O.jsx(Wf,{...a,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${Bb}\`. Expected non-empty \`string\`.`),null)});Ub.displayName=Bb;var qb="ToastClose",Wf=D.forwardRef((e,i)=>{const{__scopeToast:r,...a}=e,s=hk(qb,r);return O.jsx(Pb,{asChild:!0,children:O.jsx(Mt.button,{type:"button",...a,ref:i,onClick:lt(e.onClick,s.onClose)})})});Wf.displayName=qb;var Pb=D.forwardRef((e,i)=>{const{__scopeToast:r,altText:a,...s}=e;return O.jsx(Mt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...s,ref:i})});function Hb(e){const i=[];return Array.from(e.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&i.push(a.textContent),vk(a)){const s=a.ariaHidden||a.hidden||a.style.display==="none",u=a.dataset.radixToastAnnounceExclude==="";if(!s)if(u){const c=a.dataset.radixToastAnnounceAlt;c&&i.push(c)}else i.push(...Hb(a))}}),i}function _o(e,i,r,{discrete:a}){const s=r.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});i&&s.addEventListener(e,i,{once:!0}),a?Tb(s,u):s.dispatchEvent(u)}var Xg=(e,i,r=0)=>{const a=Math.abs(e.x),s=Math.abs(e.y),u=a>s;return i==="left"||i==="right"?u&&a>r:!u&&s>r};function bk(e=()=>{}){const i=ki(e);Ai(()=>{let r=0,a=0;return r=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(a)}},[i])}
vendor: 11,314 bytes, line 9
9function vk(e){return e.nodeType===e.ELEMENT_NODE}function xk(e){const i=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const s=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||s?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)i.push(r.currentNode);return i}function Xc(e){const i=document.activeElement;return e.some(r=>r===i?!0:(r.focus(),document.activeElement!==i))}var wk=Db,Ib=Mb,Gb=_b,Fb=Lb,Vb=jb,Yb=Ub,Qb=Wf;function Xb(e){var i,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=Xb(e[i]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function Kb(){for(var e,i,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(i=Xb(e))&&(a&&(a+=" "),a+=i);return a}const Kg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Zg=Kb,Sk=(e,i)=>r=>{var a;if(i?.variants==null)return Zg(e,r?.class,r?.className);const{variants:s,defaultVariants:u}=i,c=Object.keys(s).map(h=>{const g=r?.[h],y=u?.[h];if(g===null)return null;const w=Kg(g)||Kg(y);return s[h][w]}),d=r&&Object.entries(r).reduce((h,g)=>{let[y,w]=g;return w===void 0||(h[y]=w),h},{}),m=i==null||(a=i.compoundVariants)===null||a===void 0?void 0:a.reduce((h,g)=>{let{class:y,className:w,...v}=g;return Object.entries(v).every(k=>{let[T,E]=k;return Array.isArray(E)?E.includes({...u,...d}[T]):{...u,...d}[T]===E})?[...h,y,w]:h},[]);return Zg(e,c,m,r?.class,r?.className)};const kk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ak=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,r,a)=>a?a.toUpperCase():r.toLowerCase()),$g=e=>{const i=Ak(e);return i.charAt(0).toUpperCase()+i.slice(1)},Zb=(...e)=>e.filter((i,r,a)=>!!i&&i.trim()!==""&&a.indexOf(i)===r).join(" ").trim(),Tk=e=>{for(const i in e)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var Ek={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Ck=D.forwardRef(({color:e="currentColor",size:i=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:s="",children:u,iconNode:c,...d},m)=>D.createElement("svg",{ref:m,...Ek,width:i,height:i,stroke:e,strokeWidth:a?Number(r)*24/Number(i):r,className:Zb("lucide",s),...!u&&!Tk(d)&&{"aria-hidden":"true"},...d},[...c.map(([h,g])=>D.createElement(h,g)),...Array.isArray(u)?u:[u]]));const $b=(e,i)=>{const r=D.forwardRef(({className:a,...s},u)=>D.createElement(Ck,{ref:u,iconNode:i,className:Zb(`lucide-${kk($g(e))}`,`lucide-${e}`,a),...s}));return r.displayName=$g(e),r};const Ok=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Rk=$b("circle-alert",Ok);const Dk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Nk=$b("x",Dk),Mk=(e,i)=>{const r=new Array(e.length+i.length);for(let a=0;a<e.length;a++)r[a]=e[a];for(let a=0;a<i.length;a++)r[e.length+a]=i[a];return r},zk=(e,i)=>({classGroupId:e,validator:i}),Jb=(e=new Map,i=null,r)=>({nextPart:e,validators:i,classGroupId:r}),Qo="-",Jg=[],_k="arbitrary..",Lk=e=>{const i=Bk(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return jk(c);const d=c.split(Qo),m=d[0]===""&&d.length>1?1:0;return Wb(d,m,i)},getConflictingClassGroupIds:(c,d)=>{if(d){const m=a[c],h=r[c];return m?h?Mk(h,m):m:h||Jg}return r[c]||Jg}}},Wb=(e,i,r)=>{if(e.length-i===0)return r.classGroupId;const s=e[i],u=r.nextPart.get(s);if(u){const h=Wb(e,i+1,u);if(h)return h}const c=r.validators;if(c===null)return;const d=i===0?e.join(Qo):e.slice(i).join(Qo),m=c.length;for(let h=0;h<m;h++){const g=c[h];if(g.validator(d))return g.classGroupId}},jk=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=e.slice(1,-1),r=i.indexOf(":"),a=i.slice(0,r);return a?_k+a:void 0})(),Bk=e=>{const{theme:i,classGroups:r}=e;return Uk(r,i)},Uk=(e,i)=>{const r=Jb();for(const a in e){const s=e[a];ed(s,r,a,i)}return r},ed=(e,i,r,a)=>{const s=e.length;for(let u=0;u<s;u++){const c=e[u];qk(c,i,r,a)}},qk=(e,i,r,a)=>{if(typeof e=="string"){Pk(e,i,r);return}if(typeof e=="function"){Hk(e,i,r,a);return}Ik(e,i,r,a)},Pk=(e,i,r)=>{const a=e===""?i:ev(i,e);a.classGroupId=r},Hk=(e,i,r,a)=>{if(Gk(e)){ed(e(a),i,r,a);return}i.validators===null&&(i.validators=[]),i.validators.push(zk(r,e))},Ik=(e,i,r,a)=>{const s=Object.entries(e),u=s.length;for(let c=0;c<u;c++){const[d,m]=s[c];ed(m,ev(i,d),r,a)}},ev=(e,i)=>{let r=e;const a=i.split(Qo),s=a.length;for(let u=0;u<s;u++){const c=a[u];let d=r.nextPart.get(c);d||(d=Jb(),r.nextPart.set(c,d)),r=d}return r},Gk=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Fk=e=>{if(e<1)return{get:()=>{},set:()=>{}};let i=0,r=Object.create(null),a=Object.create(null);const s=(u,c)=>{r[u]=c,i++,i>e&&(i=0,a=r,r=Object.create(null))};return{get(u){let c=r[u];if(c!==void 0)return c;if((c=a[u])!==void 0)return s(u,c),c},set(u,c){u in r?r[u]=c:s(u,c)}}},Ef="!",Wg=":",Vk=[],ey=(e,i,r,a,s)=>({modifiers:e,hasImportantModifier:i,baseClassName:r,maybePostfixModifierPosition:a,isExternal:s}),Yk=e=>{const{prefix:i,experimentalParseClassName:r}=e;let a=s=>{const u=[];let c=0,d=0,m=0,h;const g=s.length;for(let T=0;T<g;T++){const E=s[T];if(c===0&&d===0){if(E===Wg){u.push(s.slice(m,T)),m=T+1;continue}if(E==="/"){h=T;continue}}E==="["?c++:E==="]"?c--:E==="("?d++:E===")"&&d--}const y=u.length===0?s:s.slice(m);let w=y,v=!1;y.endsWith(Ef)?(w=y.slice(0,-1),v=!0):y.startsWith(Ef)&&(w=y.slice(1),v=!0);const k=h&&h>m?h-m:void 0;return ey(u,v,w,k)};if(i){const s=i+Wg,u=a;a=c=>c.startsWith(s)?u(c.slice(s.length)):ey(Vk,!1,c,void 0,!0)}if(r){const s=a;a=u=>r({className:u,parseClassName:s})}return a},Qk=e=>{const i=new Map;return e.orderSensitiveModifiers.forEach((r,a)=>{i.set(r,1e6+a)}),r=>{const a=[];let s=[];for(let u=0;u<r.length;u++){const c=r[u],d=c[0]==="[",m=i.has(c);d||m?(s.length>0&&(s.sort(),a.push(...s),s=[]),a.push(c)):s.push(c)}return s.length>0&&(s.sort(),a.push(...s)),a}},Xk=e=>({cache:Fk(e.cacheSize),parseClassName:Yk(e),sortModifiers:Qk(e),...Lk(e)}),Kk=/\s+/,Zk=(e,i)=>{const{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s,sortModifiers:u}=i,c=[],d=e.trim().split(Kk);let m="";for(let h=d.length-1;h>=0;h-=1){const g=d[h],{isExternal:y,modifiers:w,hasImportantModifier:v,baseClassName:k,maybePostfixModifierPosition:T}=r(g);if(y){m=g+(m.length>0?" "+m:m);continue}let E=!!T,C=a(E?k.substring(0,T):k);if(!C){if(!E){m=g+(m.length>0?" "+m:m);continue}if(C=a(k),!C){m=g+(m.length>0?" "+m:m);continue}E=!1}const L=w.length===0?"":w.length===1?w[0]:u(w).join(":"),M=v?L+Ef:L,G=M+C;if(c.indexOf(G)>-1)continue;c.push(G);const I=s(C,E);for(let z=0;z<I.length;++z){const W=I[z];c.push(M+W)}m=g+(m.length>0?" "+m:m)}return m},$k=(...e)=>{let i=0,r,a,s="";for(;i<e.length;)(r=e[i++])&&(a=tv(r))&&(s&&(s+=" "),s+=a);return s},tv=e=>{if(typeof e=="string")return e;let i,r="";for(let a=0;a<e.length;a++)e[a]&&(i=tv(e[a]))&&(r&&(r+=" "),r+=i);return r},Jk=(e,...i)=>{let r,a,s,u;const c=m=>{const h=i.reduce((g,y)=>y(g),e());return r=Xk(h),a=r.cache.get,s=r.cache.set,u=d,d(m)},d=m=>{const h=a(m);if(h)return h;const g=Zk(m,r);return s(m,g),g};return u=c,(...m)=>u($k(...m))},Wk=[],rt=e=>{const i=r=>r[e]||Wk;return i.isThemeGetter=!0,i},nv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,iv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eA=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nA=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,iA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,vi=e=>eA.test(e),Ee=e=>!!e&&!Number.isNaN(Number(e)),xi=e=>!!e&&Number.isInteger(Number(e)),Kc=e=>e.endsWith("%")&&Ee(e.slice(0,-1)),Vn=e=>tA.test(e),rv=()=>!0,aA=e=>nA.test(e)&&!iA.test(e),td=()=>!1,oA=e=>rA.test(e),sA=e=>lA.test(e),uA=e=>!ce(e)&&!he(e),cA=e=>Ci(e,ov,td),ce=e=>nv.test(e),Yi=e=>Ci(e,sv,aA),ty=e=>Ci(e,bA,Ee),fA=e=>Ci(e,cv,rv),dA=e=>Ci(e,uv,td),ny=e=>Ci(e,lv,td),hA=e=>Ci(e,av,sA),Lo=e=>Ci(e,fv,oA),he=e=>iv.test(e),$l=e=>$i(e,sv),pA=e=>$i(e,uv),iy=e=>$i(e,lv),mA=e=>$i(e,ov),gA=e=>$i(e,av),jo=e=>$i(e,fv,!0),yA=e=>$i(e,cv,!0),Ci=(e,i,r)=>{const a=nv.exec(e);return a?a[1]?i(a[1]):r(a[2]):!1},$i=(e,i,r=!1)=>{const a=iv.exec(e);return a?a[1]?i(a[1]):r:!1},lv=e=>e==="position"||e==="percentage",av=e=>e==="image"||e==="url",ov=e=>e==="length"||e==="size"||e==="bg-size",sv=e=>e==="length",bA=e=>e==="number",uv=e=>e==="family-name",cv=e=>e==="number"||e==="weight",fv=e=>e==="shadow",vA=()=>{const e=rt("color"),i=rt("font"),r=rt("text"),a=rt("font-weight"),s=rt("tracking"),u=rt("leading"),c=rt("breakpoint"),d=rt("container"),m=rt("spacing"),h=rt("radius"),g=rt("shadow"),y=rt("inset-shadow"),w=rt("text-shadow"),v=rt("drop-shadow"),k=rt("blur"),T=rt("perspective"),E=rt("aspect"),C=rt("ease"),L=rt("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...G(),he,ce],z=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],V=()=>[he,ce,m],ae=()=>[vi,"full","auto",...V()],B=()=>[xi,"none","subgrid",he,ce],ne=()=>["auto",{span:["full",xi,he,ce]},xi,he,ce],te=()=>[xi,"auto",he,ce],fe=()=>["auto","min","max","fr",he,ce],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...V()],F=()=>[vi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],ee=()=>[vi,"screen","full","dvw","lvw","svw","min","max","fit",...V()],de=()=>[vi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...V()],b=()=>[e,he,ce],Q=()=>[...G(),iy,ny,{position:[he,ce]}],le=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",mA,cA,{size:[he,ce]}],se=()=>[Kc,$l,Yi],pe=()=>["","none","full",h,he,ce],oe=()=>["",Ee,$l,Yi],je=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ne=()=>[Ee,Kc,iy,ny],xt=()=>["","none",k,he,ce],pt=()=>["none",Ee,he,ce],Kt=()=>["none",Ee,he,ce],At=()=>[Ee,he,ce],yn=()=>[vi,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Vn],breakpoint:[Vn],color:[rv],container:[Vn],"drop-shadow":[Vn],ease:["in","out","in-out"],font:[uA],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Vn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Vn],shadow:[Vn],spacing:["px",Ee],text:[Vn],"text-shadow":[Vn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",vi,ce,he,E]}
vendor: 6,120 bytes, line 9
9],container:["container"],columns:[{columns:[Ee,ce,he,d]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:I()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{"inset-s":ae(),start:ae()}],end:[{"inset-e":ae(),end:ae()}],"inset-bs":[{"inset-bs":ae()}],"inset-be":[{"inset-be":ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[xi,"auto",he,ce]}],basis:[{basis:[vi,"full","auto",d,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,vi,"auto","initial","none",ce]}],grow:[{grow:["",Ee,he,ce]}],shrink:[{shrink:["",Ee,he,ce]}],order:[{order:[xi,"first","last","none",he,ce]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":fe()}],"auto-rows":[{"auto-rows":fe()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pbs:[{pbs:V()}],pbe:[{pbe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...ee()]}],"min-inline-size":[{"min-inline":["auto",...ee()]}],"max-inline-size":[{"max-inline":["none",...ee()]}],"block-size":[{block:["auto",...de()]}],"min-block-size":[{"min-block":["auto",...de()]}],"max-block-size":[{"max-block":["none",...de()]}],w:[{w:[d,"screen",...F()]}],"min-w":[{"min-w":[d,"screen","none",...F()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",r,$l,Yi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,yA,fA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Kc,ce]}],"font-family":[{font:[pA,dA,i]}],"font-features":[{"font-features":[ce]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,he,ce]}],"line-clamp":[{"line-clamp":[Ee,"none",he,ty]}],leading:[{leading:[u,...V()]}],"list-image":[{"list-image":["none",he,ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",he,Yi]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[Ee,"auto",he,ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Q()}],"bg-repeat":[{bg:le()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},xi,he,ce],radial:["",he,ce],conic:[xi,he,ce]},gA,hA]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:se()}
vendor: 7,403 bytes, line 9
9],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:pe()}],"rounded-s":[{"rounded-s":pe()}],"rounded-e":[{"rounded-e":pe()}],"rounded-t":[{"rounded-t":pe()}],"rounded-r":[{"rounded-r":pe()}],"rounded-b":[{"rounded-b":pe()}],"rounded-l":[{"rounded-l":pe()}],"rounded-ss":[{"rounded-ss":pe()}],"rounded-se":[{"rounded-se":pe()}],"rounded-ee":[{"rounded-ee":pe()}],"rounded-es":[{"rounded-es":pe()}],"rounded-tl":[{"rounded-tl":pe()}],"rounded-tr":[{"rounded-tr":pe()}],"rounded-br":[{"rounded-br":pe()}],"rounded-bl":[{"rounded-bl":pe()}],"border-w":[{border:oe()}],"border-w-x":[{"border-x":oe()}],"border-w-y":[{"border-y":oe()}],"border-w-s":[{"border-s":oe()}],"border-w-e":[{"border-e":oe()}],"border-w-bs":[{"border-bs":oe()}],"border-w-be":[{"border-be":oe()}],"border-w-t":[{"border-t":oe()}],"border-w-r":[{"border-r":oe()}],"border-w-b":[{"border-b":oe()}],"border-w-l":[{"border-l":oe()}],"divide-x":[{"divide-x":oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...je(),"hidden","none"]}],"divide-style":[{divide:[...je(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-bs":[{"border-bs":b()}],"border-color-be":[{"border-be":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...je(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,he,ce]}],"outline-w":[{outline:["",Ee,$l,Yi]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",g,jo,Lo]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",y,jo,Lo]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[Ee,Yi]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":oe()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",w,jo,Lo]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[Ee,he,ce]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ne()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":Ne()}],"mask-image-t-to-pos":[{"mask-t-to":Ne()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":Ne()}],"mask-image-r-to-pos":[{"mask-r-to":Ne()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":Ne()}],"mask-image-b-to-pos":[{"mask-b-to":Ne()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":Ne()}],"mask-image-l-to-pos":[{"mask-l-to":Ne()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":Ne()}],"mask-image-x-to-pos":[{"mask-x-to":Ne()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":Ne()}],"mask-image-y-to-pos":[{"mask-y-to":Ne()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[he,ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ne()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":G()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ne()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Q()}],"mask-repeat":[{mask:le()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,ce]}],filter:[{filter:["","none",he,ce]}],blur:[{blur:xt()}],brightness:[{brightness:[Ee,he,ce]}],contrast:[{contrast:[Ee,he,ce]}],"drop-shadow":[{"drop-shadow":["","none",v,jo,Lo]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",Ee,he,ce]}],"hue-rotate":[{"hue-rotate":[Ee,he,ce]}],invert:[{invert:["",Ee,he,ce]}],saturate:[{saturate:[Ee,he,ce]}],sepia:[{sepia:["",Ee,he,ce]}],"backdrop-filter":[{"backdrop-filter":["","none",he,ce]}],"backdrop-blur":[{"backdrop-blur":xt()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,he,ce]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,he,ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,he,ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,he,ce]}],"backdrop-invert":[{"backdrop-invert":["",Ee,he,ce]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,he,ce]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,he,ce]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,he,ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",he,ce]}],ease:[{ease:["linear","initial",C,he,ce]}],delay:[{delay:[Ee,he,ce]}],animate:[{animate:["none",L,he,ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,he,ce]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:pt()}],"rotate-x":[{"rotate-x":pt()}],"rotate-y":[{"rotate-y":pt()}],"rotate-z":[{"rotate-z":pt()}],scale:[{scale:Kt()}],"scale-x":[{"scale-x":Kt()}],"scale-y":[{"scale-y":Kt()}],"scale-z":[{"scale-z":Kt()}],"scale-3d":["scale-3d"],skew:[{skew:At()}],"skew-x":[{"skew-x":At()}],"skew-y":[{"skew-y":At()}],transform:[{transform:[he,ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yn()}],"translate-x":[{"translate-x":yn()}],"translate-y":[{"translate-y":yn()}],"translate-z":[{"translate-z":yn()}],"translate-none":["translate-none"],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}
9],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mbs":[{"scroll-mbs":V()}],"scroll-mbe":[{"scroll-mbe":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pbs":[{"scroll-pbs":V()}],"scroll-pbe":[{"scroll-pbe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,ce]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[Ee,$l,Yi,ty]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},xA=Jk(vA);function zt(...e){return xA(Kb(e))}const wA=wk,dv=D.forwardRef(({className:e,...i},r)=>O.jsx(Ib,{ref:r,className:zt("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...i}));dv.displayName=Ib.displayName;const SA=Sk("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),hv=D.forwardRef(({className:e,variant:i,...r},a)=>O.jsx(Gb,{ref:a,className:zt(SA({variant:i}),e),...r}));hv.displayName=Gb.displayName;
9const kA=D.forwardRef(({className:e,...i},r)=>O.jsx(Yb,{ref:r,className:zt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...i}));kA.displayName=Yb.displayName;const pv=D.forwardRef(({className:e,...i},r)=>O.jsx(Qb,{ref:r,className:zt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...i,children:O.jsx(Nk,{className:"h-4 w-4"})}));pv.displayName=Qb.displayName;const mv=D.forwardRef(({className:e,...i},r)=>O.jsx(Fb,{ref:r,className:zt("text-sm font-semibold",e),...i}));mv.displayName=Fb.displayName;const gv=D.forwardRef(({className:e,...i},r)=>O.jsx(Vb,{ref:r,className:zt("text-sm opacity-90",e),...i}));gv.displayName=Vb.displayName;function AA(){const{toasts:e}=OS();return O.jsxs(wA,{children:[e.map(function({id:i,title:r,description:a,action:s,...u}){return O.jsxs(hv,{...u,children:[O.jsxs("div",{className:"grid gap-1",children:[r&&O.jsx(mv,{children:r}),a&&O.jsx(gv,{children:a})]}),s,O.jsx(pv,{})]},i)}),O.jsx(dv,{})]})}const TA=["top","right","bottom","left"],Ti=Math.min,Yt=Math.max,Xo=Math.round,Bo=Math.floor,En=e=>({x:e,y:e}),EA={left:"right",right:"left",bottom:"top",top:"bottom"};function Cf(e,i,r){return Yt(e,Ti(i,r))}function Yn(e,i){return typeof e=="function"?e(i):e}function Qn(e){return e.split("-")[0]}function Xr(e){return e.split("-")[1]}function nd(e){return e==="x"?"y":"x"}function id(e){return e==="y"?"height":"width"}function Tn(e){const i=e[0];return i==="t"||i==="b"?"y":"x"}function rd(e){return nd(Tn(e))}function CA(e,i,r){r===void 0&&(r=!1);const a=Xr(e),s=rd(e),u=id(s);let c=s==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[u]>i.floating[u]&&(c=Ko(c)),[c,Ko(c)]}function OA(e){const i=Ko(e);return[Of(e),i,Of(i)]}function Of(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ry=["left","right"],ly=["right","left"],RA=["top","bottom"],DA=["bottom","top"];function NA(e,i,r){switch(e){case"top":case"bottom":return r?i?ly:ry:i?ry:ly;case"left":case"right":return i?RA:DA;default:return[]}}function MA(e,i,r,a){const s=Xr(e);let u=NA(Qn(e),r==="start",a);return s&&(u=u.map(c=>c+"-"+s),i&&(u=u.concat(u.map(Of)))),u}function Ko(e){const i=Qn(e);return EA[i]+e.slice(i.length)}function zA(e){return{top:0,right:0,bottom:0,left:0,...e}}function yv(e){return typeof e!="number"?zA(e):{top:e,right:e,bottom:e,left:e}}function Zo(e){const{x:i,y:r,width:a,height:s}=e;return{width:a,height:s,top:r,left:i,right:i+a,bottom:r+s,x:i,y:r}}function ay(e,i,r){let{reference:a,floating:s}=e;const u=Tn(i),c=rd(i),d=id(c),m=Qn(i),h=u==="y",g=a.x+a.width/2-s.width/2,y=a.y+a.height/2-s.height/2,w=a[d]/2-s[d]/2;let v;switch(m){case"top":v={x:g,y:a.y-s.height};break;case"bottom":v={x:g,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y};break;case"left":v={x:a.x-s.width,y};break;default:v={x:a.x,y:a.y}}switch(Xr(i)){case"start":v[c]-=w*(r&&h?-1:1);break;case"end":v[c]+=w*(r&&h?-1:1);break}return v}async function _A(e,i){var r;i===void 0&&(i={});const{x:a,y:s,platform:u,rects:c,elements:d,strategy:m}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:y="floating",altBoundary:w=!1,padding:v=0}=Yn(i,e),k=yv(v),E=d[w?y==="floating"?"reference":"floating":y],C=Zo(await u.getClippingRect({element:(r=await(u.isElement==null?void 0:u.isElement(E)))==null||r?E:E.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(d.floating)),boundary:h,rootBoundary:g,strategy:m})),L=y==="floating"?{x:a,y:s,width:c.floating.width,height:c.floating.height}:c.reference,M=await(u.getOffsetParent==null?void 0:u.getOffsetParent(d.floating)),G=await(u.isElement==null?void 0:u.isElement(M))?await(u.getScale==null?void 0:u.getScale(M))||{x:1,y:1}:{x:1,y:1},I=Zo(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:L,offsetParent:M,strategy:m}):L);return{top:(C.top-I.top+k.top)/G.y,bottom:(I.bottom-C.bottom+k.bottom)/G.y,left:(C.left-I.left+k.left)/G.x,right:(I.right-C.right+k.right)/G.x}}const LA=50,jA=async(e,i,r)=>{const{placement:a="bottom",strategy:s="absolute",middleware:u=[],platform:c}=r,d=c.detectOverflow?c:{...c,detectOverflow:_A},m=await(c.isRTL==null?void 0:c.isRTL(i));let h=await c.getElementRects({reference:e,floating:i,strategy:s}),{x:g,y}=ay(h,a,m),w=a,v=0;const k={};for(let T=0;T<u.length;T++){const E=u[T];if(!E)continue;const{name:C,fn:L}=E,{x:M,y:G,data:I,reset:z}=await L({x:g,y,initialPlacement:a,placement:w,strategy:s,middlewareData:k,rects:h,platform:d,elements:{reference:e,floating:i}});g=M??g,y=G??y,k[C]={...k[C],...I},z&&v<LA&&(v++,typeof z=="object"&&(z.placement&&(w=z.placement),z.rects&&(h=z.rects===!0?await c.getElementRects({reference:e,floating:i,strategy:s}):z.rects),{x:g,y}=ay(h,w,m)),T=-1)}return{x:g,y,placement:w,strategy:s,middlewareData:k}},BA=e=>({name:"arrow",options:e,async fn(i){const{x:r,y:a,placement:s,rects:u,platform:c,elements:d,middlewareData:m}=i,{element:h,padding:g=0}=Yn(e,i)||{};if(h==null)return{};const y=yv(g),w={x:r,y:a},v=rd(s),k=id(v),T=await c.getDimensions(h),E=v==="y",C=E?"top":"left",L=E?"bottom":"right",M=E?"clientHeight":"clientWidth",G=u.reference[k]+u.reference[v]-w[v]-u.floating[k],I=w[v]-u.reference[v],z=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let W=z?z[M]:0;(!W||!await(c.isElement==null?void 0:c.isElement(z)))&&(W=d.floating[M]||u.floating[k]);const V=G/2-I/2,ae=W/2-T[k]/2-1,B=Ti(y[C],ae),ne=Ti(y[L],ae),te=B,fe=W-T[k]-ne,K=W/2-T[k]/2+V,Z=Cf(te,K,fe),_=!m.arrow&&Xr(s)!=null&&K!==Z&&u.reference[k]/2-(K<te?B:ne)-T[k]/2<0,F=_?K<te?K-te:K-fe:0;return{[v]:w[v]+F,data:{[v]:Z,centerOffset:K-Z-F,..._&&{alignmentOffset:F}},reset:_}}}),UA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(i){var r,a;const{placement:s,middlewareData:u,rects:c,initialPlacement:d,platform:m,elements:h}=i,{mainAxis:g=!0,crossAxis:y=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:T=!0,...E}=Yn(e,i);if((r=u.arrow)!=null&&r.alignmentOffset)return{};const C=Qn(s),L=Tn(d),M=Qn(d)===d,G=await(m.isRTL==null?void 0:m.isRTL(h.floating)),I=w||(M||!T?[Ko(d)]:OA(d)),z=k!=="none";!w&&z&&I.push(...MA(d,T,k,G));const W=[d,...I],V=await m.detectOverflow(i,E),ae=[];let B=((a=u.flip)==null?void 0:a.overflows)||[];if(g&&ae.push(V[C]),y){const K=CA(s,c,G);ae.push(V[K[0]],V[K[1]])}if(B=[...B,{placement:s,overflows:ae}
vendor: 6,547 bytes, line 9
9],!ae.every(K=>K<=0)){var ne,te;const K=(((ne=u.flip)==null?void 0:ne.index)||0)+1,Z=W[K];if(Z&&(!(y==="alignment"?L!==Tn(Z):!1)||B.every(ee=>Tn(ee.placement)===L?ee.overflows[0]>0:!0)))return{data:{index:K,overflows:B},reset:{placement:Z}};let _=(te=B.filter(F=>F.overflows[0]<=0).sort((F,ee)=>F.overflows[1]-ee.overflows[1])[0])==null?void 0:te.placement;if(!_)switch(v){case"bestFit":{var fe;const F=(fe=B.filter(ee=>{if(z){const de=Tn(ee.placement);return de===L||de==="y"}return!0}).map(ee=>[ee.placement,ee.overflows.filter(de=>de>0).reduce((de,b)=>de+b,0)]).sort((ee,de)=>ee[1]-de[1])[0])==null?void 0:fe[0];F&&(_=F);break}case"initialPlacement":_=d;break}if(s!==_)return{reset:{placement:_}}}return{}}}};function oy(e,i){return{top:e.top-i.height,right:e.right-i.width,bottom:e.bottom-i.height,left:e.left-i.width}}function sy(e){return TA.some(i=>e[i]>=0)}const qA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(i){const{rects:r,platform:a}=i,{strategy:s="referenceHidden",...u}=Yn(e,i);switch(s){case"referenceHidden":{const c=await a.detectOverflow(i,{...u,elementContext:"reference"}),d=oy(c,r.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:sy(d)}}}case"escaped":{const c=await a.detectOverflow(i,{...u,altBoundary:!0}),d=oy(c,r.floating);return{data:{escapedOffsets:d,escaped:sy(d)}}}default:return{}}}}},bv=new Set(["left","top"]);async function PA(e,i){const{placement:r,platform:a,elements:s}=e,u=await(a.isRTL==null?void 0:a.isRTL(s.floating)),c=Qn(r),d=Xr(r),m=Tn(r)==="y",h=bv.has(c)?-1:1,g=u&&m?-1:1,y=Yn(i,e);let{mainAxis:w,crossAxis:v,alignmentAxis:k}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return d&&typeof k=="number"&&(v=d==="end"?k*-1:k),m?{x:v*g,y:w*h}:{x:w*h,y:v*g}}const HA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(i){var r,a;const{x:s,y:u,placement:c,middlewareData:d}=i,m=await PA(i,e);return c===((r=d.offset)==null?void 0:r.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:s+m.x,y:u+m.y,data:{...m,placement:c}}}}},IA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(i){const{x:r,y:a,placement:s,platform:u}=i,{mainAxis:c=!0,crossAxis:d=!1,limiter:m={fn:C=>{let{x:L,y:M}=C;return{x:L,y:M}}},...h}=Yn(e,i),g={x:r,y:a},y=await u.detectOverflow(i,h),w=Tn(Qn(s)),v=nd(w);let k=g[v],T=g[w];if(c){const C=v==="y"?"top":"left",L=v==="y"?"bottom":"right",M=k+y[C],G=k-y[L];k=Cf(M,k,G)}if(d){const C=w==="y"?"top":"left",L=w==="y"?"bottom":"right",M=T+y[C],G=T-y[L];T=Cf(M,T,G)}const E=m.fn({...i,[v]:k,[w]:T});return{...E,data:{x:E.x-r,y:E.y-a,enabled:{[v]:c,[w]:d}}}}}},GA=function(e){return e===void 0&&(e={}),{options:e,fn(i){const{x:r,y:a,placement:s,rects:u,middlewareData:c}=i,{offset:d=0,mainAxis:m=!0,crossAxis:h=!0}=Yn(e,i),g={x:r,y:a},y=Tn(s),w=nd(y);let v=g[w],k=g[y];const T=Yn(d,i),E=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(m){const M=w==="y"?"height":"width",G=u.reference[w]-u.floating[M]+E.mainAxis,I=u.reference[w]+u.reference[M]-E.mainAxis;v<G?v=G:v>I&&(v=I)}if(h){var C,L;const M=w==="y"?"width":"height",G=bv.has(Qn(s)),I=u.reference[y]-u.floating[M]+(G&&((C=c.offset)==null?void 0:C[y])||0)+(G?0:E.crossAxis),z=u.reference[y]+u.reference[M]+(G?0:((L=c.offset)==null?void 0:L[y])||0)-(G?E.crossAxis:0);k<I?k=I:k>z&&(k=z)}return{[w]:v,[y]:k}}}},FA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(i){var r,a;const{placement:s,rects:u,platform:c,elements:d}=i,{apply:m=()=>{},...h}=Yn(e,i),g=await c.detectOverflow(i,h),y=Qn(s),w=Xr(s),v=Tn(s)==="y",{width:k,height:T}=u.floating;let E,C;y==="top"||y==="bottom"?(E=y,C=w===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(C=y,E=w==="end"?"top":"bottom");const L=T-g.top-g.bottom,M=k-g.left-g.right,G=Ti(T-g[E],L),I=Ti(k-g[C],M),z=!i.middlewareData.shift;let W=G,V=I;if((r=i.middlewareData.shift)!=null&&r.enabled.x&&(V=M),(a=i.middlewareData.shift)!=null&&a.enabled.y&&(W=L),z&&!w){const B=Yt(g.left,0),ne=Yt(g.right,0),te=Yt(g.top,0),fe=Yt(g.bottom,0);v?V=k-2*(B!==0||ne!==0?B+ne:Yt(g.left,g.right)):W=T-2*(te!==0||fe!==0?te+fe:Yt(g.top,g.bottom))}await m({...i,availableWidth:V,availableHeight:W});const ae=await c.getDimensions(d.floating);return k!==ae.width||T!==ae.height?{reset:{rects:!0}}:{}}}};function hs(){return typeof window<"u"}function Kr(e){return vv(e)?(e.nodeName||"").toLowerCase():"#document"}function Qt(e){var i;return(e==null||(i=e.ownerDocument)==null?void 0:i.defaultView)||window}function Cn(e){var i;return(i=(vv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:i.documentElement}function vv(e){return hs()?e instanceof Node||e instanceof Qt(e).Node:!1}function mn(e){return hs()?e instanceof Element||e instanceof Qt(e).Element:!1}function Xn(e){return hs()?e instanceof HTMLElement||e instanceof Qt(e).HTMLElement:!1}function uy(e){return!hs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Qt(e).ShadowRoot}function da(e){const{overflow:i,overflowX:r,overflowY:a,display:s}=gn(e);return/auto|scroll|overlay|hidden|clip/.test(i+a+r)&&s!=="inline"&&s!=="contents"}function VA(e){return/^(table|td|th)$/.test(Kr(e))}function ps(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const YA=/transform|translate|scale|rotate|perspective|filter/,QA=/paint|layout|strict|content/,Qi=e=>!!e&&e!=="none";let Zc;function ld(e){const i=mn(e)?gn(e):e;return Qi(i.transform)||Qi(i.translate)||Qi(i.scale)||Qi(i.rotate)||Qi(i.perspective)||!ad()&&(Qi(i.backdropFilter)||Qi(i.filter))||YA.test(i.willChange||"")||QA.test(i.contain||"")}function XA(e){let i=Ei(e);for(;Xn(i)&&!Vr(i);){if(ld(i))return i;if(ps(i))return null;i=Ei(i)}return null}function ad(){return Zc==null&&(Zc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Zc}function Vr(e){return/^(html|body|#document)$/.test(Kr(e))}function gn(e){return Qt(e).getComputedStyle(e)}function ms(e){return mn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ei(e){if(Kr(e)==="html")return e;const i=e.assignedSlot||e.parentNode||uy(e)&&e.host||Cn(e);return uy(i)?i.host:i}function xv(e){const i=Ei(e);return Vr(i)?e.ownerDocument?e.ownerDocument.body:e.body:Xn(i)&&da(i)?i:xv(i)}function sa(e,i,r){var a;i===void 0&&(i=[]),r===void 0&&(r=!0);const s=xv(e),u=s===((a=e.ownerDocument)==null?void 0:a.body),c=Qt(s);if(u){const d=Rf(c);
vendor: 4,444 bytes, line 9
9return i.concat(c,c.visualViewport||[],da(s)?s:[],d&&r?sa(d):[])}else return i.concat(s,sa(s,[],r))}function Rf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wv(e){const i=gn(e);let r=parseFloat(i.width)||0,a=parseFloat(i.height)||0;const s=Xn(e),u=s?e.offsetWidth:r,c=s?e.offsetHeight:a,d=Xo(r)!==u||Xo(a)!==c;return d&&(r=u,a=c),{width:r,height:a,$:d}}function od(e){return mn(e)?e:e.contextElement}function Gr(e){const i=od(e);if(!Xn(i))return En(1);const r=i.getBoundingClientRect(),{width:a,height:s,$:u}=wv(i);let c=(u?Xo(r.width):r.width)/a,d=(u?Xo(r.height):r.height)/s;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const KA=En(0);function Sv(e){const i=Qt(e);return!ad()||!i.visualViewport?KA:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function ZA(e,i,r){return i===void 0&&(i=!1),!r||i&&r!==Qt(e)?!1:i}function Ki(e,i,r,a){i===void 0&&(i=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),u=od(e);let c=En(1);i&&(a?mn(a)&&(c=Gr(a)):c=Gr(e));const d=ZA(u,r,a)?Sv(u):En(0);let m=(s.left+d.x)/c.x,h=(s.top+d.y)/c.y,g=s.width/c.x,y=s.height/c.y;if(u){const w=Qt(u),v=a&&mn(a)?Qt(a):a;let k=w,T=Rf(k);for(;T&&a&&v!==k;){const E=Gr(T),C=T.getBoundingClientRect(),L=gn(T),M=C.left+(T.clientLeft+parseFloat(L.paddingLeft))*E.x,G=C.top+(T.clientTop+parseFloat(L.paddingTop))*E.y;m*=E.x,h*=E.y,g*=E.x,y*=E.y,m+=M,h+=G,k=Qt(T),T=Rf(k)}}return Zo({width:g,height:y,x:m,y:h})}function gs(e,i){const r=ms(e).scrollLeft;return i?i.left+r:Ki(Cn(e)).left+r}function kv(e,i){const r=e.getBoundingClientRect(),a=r.left+i.scrollLeft-gs(e,r),s=r.top+i.scrollTop;return{x:a,y:s}}function $A(e){let{elements:i,rect:r,offsetParent:a,strategy:s}=e;const u=s==="fixed",c=Cn(a),d=i?ps(i.floating):!1;if(a===c||d&&u)return r;let m={scrollLeft:0,scrollTop:0},h=En(1);const g=En(0),y=Xn(a);if((y||!y&&!u)&&((Kr(a)!=="body"||da(c))&&(m=ms(a)),y)){const v=Ki(a);h=Gr(a),g.x=v.x+a.clientLeft,g.y=v.y+a.clientTop}const w=c&&!y&&!u?kv(c,m):En(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-m.scrollLeft*h.x+g.x+w.x,y:r.y*h.y-m.scrollTop*h.y+g.y+w.y}}function JA(e){return Array.from(e.getClientRects())}function WA(e){const i=Cn(e),r=ms(e),a=e.ownerDocument.body,s=Yt(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),u=Yt(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let c=-r.scrollLeft+gs(e);const d=-r.scrollTop;return gn(a).direction==="rtl"&&(c+=Yt(i.clientWidth,a.clientWidth)-s),{width:s,height:u,x:c,y:d}}const cy=25;function eT(e,i){const r=Qt(e),a=Cn(e),s=r.visualViewport;let u=a.clientWidth,c=a.clientHeight,d=0,m=0;if(s){u=s.width,c=s.height;const g=ad();(!g||g&&i==="fixed")&&(d=s.offsetLeft,m=s.offsetTop)}const h=gs(a);if(h<=0){const g=a.ownerDocument,y=g.body,w=getComputedStyle(y),v=g.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,k=Math.abs(a.clientWidth-y.clientWidth-v);k<=cy&&(u-=k)}else h<=cy&&(u+=h);return{width:u,height:c,x:d,y:m}}function tT(e,i){const r=Ki(e,!0,i==="fixed"),a=r.top+e.clientTop,s=r.left+e.clientLeft,u=Xn(e)?Gr(e):En(1),c=e.clientWidth*u.x,d=e.clientHeight*u.y,m=s*u.x,h=a*u.y;return{width:c,height:d,x:m,y:h}}function fy(e,i,r){let a;if(i==="viewport")a=eT(e,r);else if(i==="document")a=WA(Cn(e));else if(mn(i))a=tT(i,r);else{const s=Sv(e);a={x:i.x-s.x,y:i.y-s.y,width:i.width,height:i.height}}return Zo(a)}function Av(e,i){const r=Ei(e);return r===i||!mn(r)||Vr(r)?!1:gn(r).position==="fixed"||Av(r,i)}function nT(e,i){const r=i.get(e);if(r)return r;let a=sa(e,[],!1).filter(d=>mn(d)&&Kr(d)!=="body"),s=null;const u=gn(e).position==="fixed";let c=u?Ei(e):e;for(;mn(c)&&!Vr(c);){const d=gn(c),m=ld(c);!m&&d.position==="fixed"&&(s=null),(u?!m&&!s:!m&&d.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||da(c)&&!m&&Av(e,c))?a=a.filter(g=>g!==c):s=d,c=Ei(c)}return i.set(e,a),a}function iT(e){let{element:i,boundary:r,rootBoundary:a,strategy:s}=e;const c=[...r==="clippingAncestors"?ps(i)?[]:nT(i,this._c):[].concat(r),a],d=fy(i,c[0],s);let m=d.top,h=d.right,g=d.bottom,y=d.left;for(let w=1;w<c.length;w++){const v=fy(i,c[w],s);m=Yt(v.top,m),h=Ti(v.right,h),g=Ti(v.bottom,g),y=Yt(v.left,y)}return{width:h-y,height:g-m,x:y,y:m}}function rT(e){const{width:i,height:r}=wv(e);return{width:i,height:r}}function lT(e,i,r){const a=Xn(i),s=Cn(i),u=r==="fixed",c=Ki(e,!0,u,i);let d={scrollLeft:0,scrollTop:0};const m=En(0);function h(){m.x=gs(s)}
vendor: 4,118 bytes, line 9
9if(a||!a&&!u)if((Kr(i)!=="body"||da(s))&&(d=ms(i)),a){const v=Ki(i,!0,u,i);m.x=v.x+i.clientLeft,m.y=v.y+i.clientTop}else s&&h();u&&!a&&s&&h();const g=s&&!a&&!u?kv(s,d):En(0),y=c.left+d.scrollLeft-m.x-g.x,w=c.top+d.scrollTop-m.y-g.y;return{x:y,y:w,width:c.width,height:c.height}}function $c(e){return gn(e).position==="static"}function dy(e,i){if(!Xn(e)||gn(e).position==="fixed")return null;if(i)return i(e);let r=e.offsetParent;return Cn(e)===r&&(r=r.ownerDocument.body),r}function Tv(e,i){const r=Qt(e);if(ps(e))return r;if(!Xn(e)){let s=Ei(e);for(;s&&!Vr(s);){if(mn(s)&&!$c(s))return s;s=Ei(s)}return r}let a=dy(e,i);for(;a&&VA(a)&&$c(a);)a=dy(a,i);return a&&Vr(a)&&$c(a)&&!ld(a)?r:a||XA(e)||r}const aT=async function(e){const i=this.getOffsetParent||Tv,r=this.getDimensions,a=await r(e.floating);return{reference:lT(e.reference,await i(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function oT(e){return gn(e).direction==="rtl"}const sT={convertOffsetParentRelativeRectToViewportRelativeRect:$A,getDocumentElement:Cn,getClippingRect:iT,getOffsetParent:Tv,getElementRects:aT,getClientRects:JA,getDimensions:rT,getScale:Gr,isElement:mn,isRTL:oT};function Ev(e,i){return e.x===i.x&&e.y===i.y&&e.width===i.width&&e.height===i.height}function uT(e,i){let r=null,a;const s=Cn(e);function u(){var d;clearTimeout(a),(d=r)==null||d.disconnect(),r=null}function c(d,m){d===void 0&&(d=!1),m===void 0&&(m=1),u();const h=e.getBoundingClientRect(),{left:g,top:y,width:w,height:v}=h;if(d||i(),!w||!v)return;const k=Bo(y),T=Bo(s.clientWidth-(g+w)),E=Bo(s.clientHeight-(y+v)),C=Bo(g),M={rootMargin:-k+"px "+-T+"px "+-E+"px "+-C+"px",threshold:Yt(0,Ti(1,m))||1};let G=!0;function I(z){const W=z[0].intersectionRatio;if(W!==m){if(!G)return c();W?c(!1,W):a=setTimeout(()=>{c(!1,1e-7)},1e3)}W===1&&!Ev(h,e.getBoundingClientRect())&&c(),G=!1}try{r=new IntersectionObserver(I,{...M,root:s.ownerDocument})}catch{r=new IntersectionObserver(I,M)}r.observe(e)}return c(!0),u}function cT(e,i,r,a){a===void 0&&(a={});const{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:m=!1}=a,h=od(e),g=s||u?[...h?sa(h):[],...i?sa(i):[]]:[];g.forEach(C=>{s&&C.addEventListener("scroll",r,{passive:!0}),u&&C.addEventListener("resize",r)});const y=h&&d?uT(h,r):null;let w=-1,v=null;c&&(v=new ResizeObserver(C=>{let[L]=C;L&&L.target===h&&v&&i&&(v.unobserve(i),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var M;(M=v)==null||M.observe(i)})),r()}),h&&!m&&v.observe(h),i&&v.observe(i));let k,T=m?Ki(e):null;m&&E();function E(){const C=Ki(e);T&&!Ev(T,C)&&r(),T=C,k=requestAnimationFrame(E)}return r(),()=>{var C;g.forEach(L=>{s&&L.removeEventListener("scroll",r),u&&L.removeEventListener("resize",r)}),y?.(),(C=v)==null||C.disconnect(),v=null,m&&cancelAnimationFrame(k)}}const fT=HA,dT=IA,hT=UA,pT=FA,mT=qA,hy=BA,gT=GA,yT=(e,i,r)=>{const a=new Map,s={platform:sT,...r},u={...s.platform,_c:a};return jA(e,i,{...s,platform:u})};var bT=typeof document<"u",vT=function(){},Fo=bT?D.useLayoutEffect:vT;function $o(e,i){if(e===i)return!0;if(typeof e!=typeof i)return!1;if(typeof e=="function"&&e.toString()===i.toString())return!0;let r,a,s;if(e&&i&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==i.length)return!1;for(a=r;a--!==0;)if(!$o(e[a],i[a]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(i).length)return!1;for(a=r;a--!==0;)if(!{}.hasOwnProperty.call(i,s[a]))return!1;for(a=r;a--!==0;){const u=s[a];if(!(u==="_owner"&&e.$$typeof)&&!$o(e[u],i[u]))return!1}return!0}return e!==e&&i!==i}function Cv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function py(e,i){const r=Cv(e);return Math.round(i*r)/r}function Jc(e){const i=D.useRef(e);return Fo(()=>{i.current=e}),i}function xT(e){e===void 0&&(e={});const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:s,elements:{reference:u,floating:c}={},transform:d=!0,whileElementsMounted:m,open:h}=e,[g,y]=D.useState({x:0,y:0,strategy:r,placement:i,middlewareData:{},isPositioned:!1}
vendor: 5,367 bytes, line 9
9),[w,v]=D.useState(a);$o(w,a)||v(a);const[k,T]=D.useState(null),[E,C]=D.useState(null),L=D.useCallback(ee=>{ee!==z.current&&(z.current=ee,T(ee))},[]),M=D.useCallback(ee=>{ee!==W.current&&(W.current=ee,C(ee))},[]),G=u||k,I=c||E,z=D.useRef(null),W=D.useRef(null),V=D.useRef(g),ae=m!=null,B=Jc(m),ne=Jc(s),te=Jc(h),fe=D.useCallback(()=>{if(!z.current||!W.current)return;const ee={placement:i,strategy:r,middleware:w};ne.current&&(ee.platform=ne.current),yT(z.current,W.current,ee).then(de=>{const b={...de,isPositioned:te.current!==!1};K.current&&!$o(V.current,b)&&(V.current=b,ss.flushSync(()=>{y(b)}))})},[w,i,r,ne,te]);Fo(()=>{h===!1&&V.current.isPositioned&&(V.current.isPositioned=!1,y(ee=>({...ee,isPositioned:!1})))},[h]);const K=D.useRef(!1);Fo(()=>(K.current=!0,()=>{K.current=!1}),[]),Fo(()=>{if(G&&(z.current=G),I&&(W.current=I),G&&I){if(B.current)return B.current(G,I,fe);fe()}},[G,I,fe,B,ae]);const Z=D.useMemo(()=>({reference:z,floating:W,setReference:L,setFloating:M}),[L,M]),_=D.useMemo(()=>({reference:G,floating:I}),[G,I]),F=D.useMemo(()=>{const ee={position:r,left:0,top:0};if(!_.floating)return ee;const de=py(_.floating,g.x),b=py(_.floating,g.y);return d?{...ee,transform:"translate("+de+"px, "+b+"px)",...Cv(_.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:de,top:b}},[r,d,_.floating,g.x,g.y]);return D.useMemo(()=>({...g,update:fe,refs:Z,elements:_,floatingStyles:F}),[g,fe,Z,_,F])}const wT=e=>{function i(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:a,padding:s}=typeof e=="function"?e(r):e;return a&&i(a)?a.current!=null?hy({element:a.current,padding:s}).fn(r):{}:a?hy({element:a,padding:s}).fn(r):{}}}},ST=(e,i)=>{const r=fT(e);return{name:r.name,fn:r.fn,options:[e,i]}},kT=(e,i)=>{const r=dT(e);return{name:r.name,fn:r.fn,options:[e,i]}},AT=(e,i)=>({fn:gT(e).fn,options:[e,i]}),TT=(e,i)=>{const r=hT(e);return{name:r.name,fn:r.fn,options:[e,i]}},ET=(e,i)=>{const r=pT(e);return{name:r.name,fn:r.fn,options:[e,i]}},CT=(e,i)=>{const r=mT(e);return{name:r.name,fn:r.fn,options:[e,i]}},OT=(e,i)=>{const r=wT(e);return{name:r.name,fn:r.fn,options:[e,i]}};var RT="Arrow",Ov=D.forwardRef((e,i)=>{const{children:r,width:a=10,height:s=5,...u}=e;return O.jsx(Mt.svg,{...u,ref:i,width:a,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:O.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ov.displayName=RT;var DT=Ov;function NT(e){const[i,r]=D.useState(void 0);return Ai(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const u=s[0];let c,d;if("borderBoxSize"in u){const m=u.borderBoxSize,h=Array.isArray(m)?m[0]:m;c=h.inlineSize,d=h.blockSize}else c=e.offsetWidth,d=e.offsetHeight;r({width:c,height:d})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else r(void 0)},[e]),i}var Rv="Popper",[Dv,Nv]=us(Rv),[bM,Mv]=Dv(Rv),zv="PopperAnchor",_v=D.forwardRef((e,i)=>{const{__scopePopper:r,virtualRef:a,...s}=e,u=Mv(zv,r),c=D.useRef(null),d=pn(i,c),m=D.useRef(null);return D.useEffect(()=>{const h=m.current;m.current=a?.current||c.current,h!==m.current&&u.onAnchorChange(m.current)}),a?null:O.jsx(Mt.div,{...s,ref:d})});_v.displayName=zv;var sd="PopperContent",[MT,zT]=Dv(sd),Lv=D.forwardRef((e,i)=>{const{__scopePopper:r,side:a="bottom",sideOffset:s=0,align:u="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:m=!0,collisionBoundary:h=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:w=!1,updatePositionStrategy:v="optimized",onPlaced:k,...T}=e,E=Mv(sd,r),[C,L]=D.useState(null),M=pn(i,je=>L(je)),[G,I]=D.useState(null),z=NT(G),W=z?.width??0,V=z?.height??0,ae=a+(u!=="center"?"-"+u:""),B=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},ne=Array.isArray(h)?h:[h],te=ne.length>0,fe={padding:B,boundary:ne.filter(LT),altBoundary:te},{refs:K,floatingStyles:Z,placement:_,isPositioned:F,middlewareData:ee}=xT({strategy:"fixed",placement:ae,whileElementsMounted:(...je)=>cT(...je,{animationFrame:v==="always"}),elements:{reference:E.anchor},middleware:[ST({mainAxis:s+V,alignmentAxis:c}),m&&kT({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?AT():void 0,...fe}),m&&TT({...fe}),ET({...fe,apply:({elements:je,rects:Ae,availableWidth:Ne,availableHeight:xt})=>{const{width:pt,height:Kt}=Ae.reference,At=je.floating.style;At.setProperty("--radix-popper-available-width",`${Ne}px`),At.setProperty("--radix-popper-available-height",`${xt}px`),At.setProperty("--radix-popper-anchor-width",`${pt}px`),At.setProperty("--radix-popper-anchor-height",`${Kt}px`)}}),G&&OT({element:G,padding:d}),jT({arrowWidth:W,arrowHeight:V}),w&&CT({strategy:"referenceHidden",...fe})]}),[de,b]=Uv(_),Q=ki(k);Ai(()=>{F&&Q?.()},[F,Q]);const le=ee.arrow?.x,A=ee.arrow?.y,se=ee.arrow?.centerOffset!==0,[pe,oe]=D.useState();return Ai(()=>{C&&oe(window.getComputedStyle(C).zIndex)},[C]),O.jsx("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:F?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[ee.transformOrigin?.x,ee.transformOrigin?.y].join(" "),...ee.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:O.jsx(MT,{scope:r,placedSide:de,onArrowChange:I,arrowX:le,arrowY:A,shouldHideArrow:se,children:O.jsx(Mt.div,{"data-side":de,"data-align":b,...T,ref:M,style:{...T.
vendor: 1,258 bytes, line 9
9style,animation:F?void 0:"none"}})})})});Lv.displayName=sd;var jv="PopperArrow",_T={top:"bottom",right:"left",bottom:"top",left:"right"},Bv=D.forwardRef(function(i,r){const{__scopePopper:a,...s}=i,u=zT(jv,a),c=_T[u.placedSide];return O.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:O.jsx(DT,{...s,ref:r,style:{...s.style,display:"block"}})})});Bv.displayName=jv;function LT(e){return e!==null}var jT=e=>({name:"transformOrigin",options:e,fn(i){const{placement:r,rects:a,middlewareData:s}=i,c=s.arrow?.centerOffset!==0,d=c?0:e.arrowWidth,m=c?0:e.arrowHeight,[h,g]=Uv(r),y={start:"0%",center:"50%",end:"100%"}[g],w=(s.arrow?.x??0)+d/2,v=(s.arrow?.y??0)+m/2;let k="",T="";return h==="bottom"?(k=c?y:`${w}px`,T=`${-m}px`):h==="top"?(k=c?y:`${w}px`,T=`${a.floating.height+m}px`):h==="right"?(k=`${-m}px`,T=c?y:`${v}px`):h==="left"&&(k=`${a.floating.width+m}px`,T=c?y:`${v}px`),{data:{x:k,y:T}}}});
vendor: 14,124 bytes, line 9
9function Uv(e){const[i,r="center"]=e.split("-");return[i,r]}var BT=_v,UT=Lv,qT=Bv,[ys]=us("Tooltip",[Nv]),ud=Nv(),qv="TooltipProvider",PT=700,my="tooltip.open",[HT,Pv]=ys(qv),Hv=e=>{const{__scopeTooltip:i,delayDuration:r=PT,skipDelayDuration:a=300,disableHoverableContent:s=!1,children:u}=e,c=D.useRef(!0),d=D.useRef(!1),m=D.useRef(0);return D.useEffect(()=>{const h=m.current;return()=>window.clearTimeout(h)},[]),O.jsx(HT,{scope:i,isOpenDelayedRef:c,delayDuration:r,onOpen:D.useCallback(()=>{window.clearTimeout(m.current),c.current=!1},[]),onClose:D.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.current=!0,a)},[a]),isPointerInTransitRef:d,onPointerInTransitChange:D.useCallback(h=>{d.current=h},[]),disableHoverableContent:s,children:u})};Hv.displayName=qv;var Iv="Tooltip",[vM,ha]=ys(Iv),Df="TooltipTrigger",IT=D.forwardRef((e,i)=>{const{__scopeTooltip:r,...a}=e,s=ha(Df,r),u=Pv(Df,r),c=ud(r),d=D.useRef(null),m=pn(i,d,s.onTriggerChange),h=D.useRef(!1),g=D.useRef(!1),y=D.useCallback(()=>h.current=!1,[]);return D.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),O.jsx(BT,{asChild:!0,...c,children:O.jsx(Mt.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...a,ref:m,onPointerMove:lt(e.onPointerMove,w=>{w.pointerType!=="touch"&&!g.current&&!u.isPointerInTransitRef.current&&(s.onTriggerEnter(),g.current=!0)}),onPointerLeave:lt(e.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:lt(e.onPointerDown,()=>{s.open&&s.onClose(),h.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:lt(e.onFocus,()=>{h.current||s.onOpen()}),onBlur:lt(e.onBlur,s.onClose),onClick:lt(e.onClick,s.onClose)})})});IT.displayName=Df;var cd="TooltipPortal",[GT,FT]=ys(cd,{forceMount:void 0}),Gv=e=>{const{__scopeTooltip:i,forceMount:r,children:a,container:s}=e,u=ha(cd,i);return O.jsx(GT,{scope:i,forceMount:r,children:O.jsx(cs,{present:r||u.open,children:O.jsx(Zf,{asChild:!0,container:s,children:a})})})};Gv.displayName=cd;var Yr="TooltipContent",Fv=D.forwardRef((e,i)=>{const r=FT(Yr,e.__scopeTooltip),{forceMount:a=r.forceMount,side:s="top",...u}=e,c=ha(Yr,e.__scopeTooltip);return O.jsx(cs,{present:a||c.open,children:c.disableHoverableContent?O.jsx(Vv,{side:s,...u,ref:i}):O.jsx(VT,{side:s,...u,ref:i})})}),VT=D.forwardRef((e,i)=>{const r=ha(Yr,e.__scopeTooltip),a=Pv(Yr,e.__scopeTooltip),s=D.useRef(null),u=pn(i,s),[c,d]=D.useState(null),{trigger:m,onClose:h}=r,g=s.current,{onPointerInTransitChange:y}=a,w=D.useCallback(()=>{d(null),y(!1)},[y]),v=D.useCallback((k,T)=>{const E=k.currentTarget,C={x:k.clientX,y:k.clientY},L=ZT(C,E.getBoundingClientRect()),M=$T(C,L),G=JT(T.getBoundingClientRect()),I=eE([...M,...G]);d(I),y(!0)},[y]);return D.useEffect(()=>()=>w(),[w]),D.useEffect(()=>{if(m&&g){const k=E=>v(E,g),T=E=>v(E,m);return m.addEventListener("pointerleave",k),g.addEventListener("pointerleave",T),()=>{m.removeEventListener("pointerleave",k),g.removeEventListener("pointerleave",T)}}},[m,g,v,w]),D.useEffect(()=>{if(c){const k=T=>{const E=T.target,C={x:T.clientX,y:T.clientY},L=m?.contains(E)||g?.contains(E),M=!WT(C,c);L?w():M&&(w(),h())};return document.addEventListener("pointermove",k),()=>document.removeEventListener("pointermove",k)}},[m,g,c,h,w]),O.jsx(Vv,{...e,ref:u})}),[YT,QT]=ys(Iv,{isInside:!1}),XT=MS("TooltipContent"),Vv=D.forwardRef((e,i)=>{const{__scopeTooltip:r,children:a,"aria-label":s,onEscapeKeyDown:u,onPointerDownOutside:c,...d}=e,m=ha(Yr,r),h=ud(r),{onClose:g}=m;return D.useEffect(()=>(document.addEventListener(my,g),()=>document.removeEventListener(my,g)),[g]),D.useEffect(()=>{if(m.trigger){const y=w=>{w.target?.contains(m.trigger)&&g()};return window.addEventListener("scroll",y,{capture:!0}),()=>window.removeEventListener("scroll",y,{capture:!0})}},[m.trigger,g]),O.jsx(Kf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:y=>y.preventDefault(),onDismiss:g,children:O.jsxs(UT,{"data-state":m.stateAttribute,...h,...d,ref:i,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[O.jsx(XT,{children:a}),O.jsx(YT,{scope:r,isInside:!0,children:O.jsx(ik,{id:m.contentId,role:"tooltip",children:s||a})})]})})});Fv.displayName=Yr;var Yv="TooltipArrow",KT=D.forwardRef((e,i)=>{const{__scopeTooltip:r,...a}=e,s=ud(r);return QT(Yv,r).isInside?null:O.jsx(qT,{...s,...a,ref:i})});KT.displayName=Yv;function ZT(e,i){const r=Math.abs(i.top-e.y),a=Math.abs(i.bottom-e.y),s=Math.abs(i.right-e.x),u=Math.abs(i.left-e.x);switch(Math.min(r,a,s,u)){case u:return"left";case s:return"right";case r:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function $T(e,i,r=5){const a=[];switch(i){case"top":a.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":a.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":a.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":a.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return a}function JT(e){const{top:i,right:r,bottom:a,left:s}=e;return[{x:s,y:i},{x:r,y:i},{x:r,y:a},{x:s,y:a}]}function WT(e,i){const{x:r,y:a}=e;let s=!1;for(let u=0,c=i.length-1;u<i.length;c=u++){const d=i[u],m=i[c],h=d.x,g=d.y,y=m.x,w=m.y;g>a!=w>a&&r<(y-h)*(a-g)/(w-g)+h&&(s=!s)}return s}function eE(e){const i=e.slice();return i.sort((r,a)=>r.x<a.x?-1:r.x>a.x?1:r.y<a.y?-1:r.y>a.y?1:0),tE(i)}function tE(e){if(e.length<=1)return e.slice();const i=[];for(let a=0;a<e.length;a++){const s=e[a];for(;i.length>=2;){const u=i[i.length-1],c=i[i.length-2];if((u.x-c.x)*(s.y-c.y)>=(u.y-c.y)*(s.x-c.x))i.pop();else break}i.push(s)}i.pop();const r=[];for(let a=e.length-1;a>=0;a--){const s=e[a];for(;r.length>=2;){const u=r[r.length-1],c=r[r.length-2];if((u.x-c.x)*(s.y-c.y)>=(u.y-c.y)*(s.x-c.x))r.pop();else break}r.push(s)}return r.pop(),i.length===1&&r.length===1&&i[0].x===r[0].x&&i[0].y===r[0].y?i:i.concat(r)}var nE=Hv,iE=Gv,Qv=Fv;const rE=nE,lE=D.forwardRef(({className:e,sideOffset:i=4,...r},a)=>O.jsx(iE,{children:O.jsx(Qv,{ref:a,sideOffset:i,className:zt("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...r})}));lE.displayName=Qv.displayName;const Xv=D.forwardRef(({className:e,...i},r)=>O.jsx("div",{ref:r,className:zt("rounded-xl border bg-card text-card-foreground shadow",e),...i}));Xv.displayName="Card";const aE=D.forwardRef(({className:e,...i},r)=>O.jsx("div",{ref:r,className:zt("flex flex-col space-y-1.5 p-6",e),...i}));aE.displayName="CardHeader";const oE=D.forwardRef(({className:e,...i},r)=>O.jsx("div",{ref:r,className:zt("font-semibold leading-none tracking-tight",e),...i}));oE.displayName="CardTitle";const sE=D.forwardRef(({className:e,...i},r)=>O.jsx("div",{ref:r,className:zt("text-sm text-muted-foreground",e),...i}));sE.displayName="CardDescription";const Kv=D.forwardRef(({className:e,...i},r)=>O.jsx("div",{ref:r,className:zt("p-6 pt-0",e),...i}));Kv.displayName="CardContent";const uE=D.forwardRef(({className:e,...i},r)=>O.jsx("div",{ref:r,className:zt("flex items-center p-6 pt-0",e),...i}));uE.displayName="CardFooter";function cE(){return O.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:O.jsx(Xv,{className:"w-full max-w-md mx-4",children:O.jsxs(Kv,{className:"pt-6",children:[O.jsxs("div",{className:"flex mb-4 gap-2",children:[O.jsx(Rk,{className:"h-8 w-8 text-red-500"}),O.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),O.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const qr={title:"Vibe Genomics: Sequencing your Whole Genome at Home",subtitle:"Claude helped me build a wetlab and sequence my whole genome at home. I have zero lab experience. It was surprisingly doable!",intro:"Have you ever wanted to perform questionable genetic experiments on yourself from the comfort of your own home? No? That's probably the well adjusted answer. It's not really a good idea. But I felt like other people have already done all the good ideas, so I got Claude to help me â someone with no lab experience â build a wetlab in my spare bedroom and do just that!",sections:[{id:"intro",title:"Introduction",content:[{type:"p",text:"I bought the equipment and consumables Claude told me to, went through the protocols it wrote, and without much trouble succeeded in sequencing myself on the first try."},{type:"p",text:"Ultimately, with a bit more effort I ended up reaching over 15x coverage on myself and accurately reconstructed most of my raw 23andMe sites â without my DNA ever leaving the house! (Though, disclaimer, it wasn't super cost effective). That said, for me it was worth it â and I also gained a ton of genomics knowledge along the way!"},{type:"p",text:"I figured I would share what I learned here so other vibe-scientists don't have to start from scratch in the future!"},{type:"aside",text:"Note: All information provided is for research purposes only. Medical diagnosis should be left to professionals."}]},{id:"why",title:"Why Would Anyone Do This?",content:[{type:"aside",text:`I'm gonna treat this post almost like one of those cooking recipe websites, so I'll tell you the story of my life and all sorts of unnecessary background details before actually diving into the "recipe". If you'd like, you can just <a href="#step0">skip to the steps below</a>.`},{type:"p",text:"How many humans could you fit into the 8GB RAM of a MacBook Neo? Well, if you assume a person is just the contents of their DNA and store their nucleotides as a text file, turns out it's a little over one! A human's genome contains about 3.3GB of such 'text' from each parent. Yet, in those tiny 6â7GB is a huge amount of useful information."},{type:"p",text:"One of the most obvious things you can do with genetic information is inform a person about their health. In fact, there are over 75,000 genetic tests on the market â covering (at vastly varying levels of validity) everything from susceptibility to cancer or diabetes or Alzheimer's, to presence of genetic disorders, to athletic, personality, and mood traits, to ancestry, and more. Most of these tests that are available however, are generally targeted and selective."},{type:"p",text:`The crazy thing about sequencing an entire genome is that it's almost like getting a huge chunk of those 75,000 tests all at the same time. Your inherited genome is a more or less fixed target, so once you've got yourself sequenced at high coverage one time you never need to "re-test" by taking a new sample â at least for a large number of these "germline" (inherited) tests. You just take your existing genome and computationally apply whatever such test you would like.`},{type:"pullquote",text:"As published and available germline test techniques and research get better and better you still don't need to sequence yourself again to capture this. You get the benefits of many of those scientific advances in perpetuity!"},{type:"p",text:"For example, one day on a whim my brother told me about this random genetic test for epilepsy risk. Now, I show no signs of epilepsy and couldn't possibly justify to a doctor why I would need this test. 23andMe also doesn't cover it. But just for fun, I handed Claude my genome and asked it to check through those tests for anything worth noting. Claude checked through all of them diligently and actually foundâ¦â¦â¦.. nothing! I was totally clear."},{type:"p",text:"When I had asked Claude for some more general observations, I did get the more⦠exciting information that I was likely going to go bald and have eye problems and possibly get diabetes."},{type:"p",text:"Not exactly the sexiest result â but I think you get the idea! Don't worry, yours will probably say you have latent superpowers or something."},{type:"p",text:"A crazier example is that guy who got his dog sequenced (the poor thing had cancer), and had Claude use that information to build a custom mRNA cancer vaccine â ultimately apparently successfully treating his dog! What we are doing here, the sequencing part, is essentially the very first step of that workflow (though he went to a local university to help sequence where we are going to do it DIY!)."},{type:"p",text:"It's a bit sad to me that such a rich and useful body of information is something so few people actually have access to â especially now that LLMs make it so much easier to probe at and understand that information."},{type:"p",text:"I've noticed for a lot of people, one big concern that makes getting this information such a non-starter is data privacy. My mom is in this boat. I've done 23andme and I actually quite like it, but when I ask her about it she immediately rejects the idea â she's just not comfortable handing over control of that information. Which I think is totally fair!"},{type:"pullquote",text:"That's the weird tradeoff we face in genomics today â if you want access to your own genetic code, normally your DNA's gotta leave the house and get shipped off to a lab and into someone else's hands. Ironically, you have to give up control of your data to gain control of your health. That kind of sucks!"},{type:"p",text:"So I looked into whether someone could just like⦠sequence themselves. Turns out â it's absolutely achievable (if a bit costly and fiddly), and if you're bold, interested, and have the money to burn, I'm documenting my process so you can hopefully follow!"}]}
9,{id:"background",title:"Background",content:[{type:"p",text:"When I started this project I looked into it first by just Googling the concept. There weren't any guides or videos on how to do it. Worse, I found a bunch of Reddit posts that said that there's no shot someone who isn't a scientist in a lab could pull this off. Well, that's not super encouraging."},{type:"p",text:"But wait, it's the LLM era! I could totally just ask ChatGPT!"},{type:"image",src:"chatgpt",alt:"ChatGPT refusing to help with citizen science"},{type:"p",text:"No dice! ChatGPT really does not like citizen science :( Pretty much any time I tried to talk to it about anything even tangentially related to this project, it got quite upset at me â and gave me a lecture. That's even more discouraging."},{type:"p",text:"Okay, well last shot â let's try Claude Opus:"},{type:"image",src:"claude",alt:"Claude Opus happily helping with genome sequencing"},{type:"p",text:"Yes! Claude was super helpful. It walked me through equipment, reagents, developed custom protocols for me that would work using easy to acquire stuff, and more. Let's go Claude!"},{type:"p",text:"On that note I will say, this is definitely not an inexpensive endeavor â all in all I probably dropped like $10k on this project. Though, I didn't really optimize for cost â as I probably have more dollars than sense. At the same time, doing the same thing would have cost hundreds of thousands of dollars like 20 years ago. A fair chunk of my own purchasing was fixed costs, but it's still like $2â3k in consumables per genome. In other words, thousands per genome for me vs hundreds of thousands 20 years ago."},{type:"p",text:`In other words, this is very much an "art of the possible" DIYish writeup rather than something accessible to normal fiscally responsible people today â but it'll only get more affordable from here!`},{type:"p",text:"Outside of the cost issue, difficulty wise it isn't a cakewalk, but really it wasn't all that hard and pretty much anyone with a bit of determination could pull it off!"},{type:"aside",text:"All that said, bear in mind that as I mentioned I am new to labwork and learned a lot of the concepts involved with this project in the course of the project, so this whole writeup is going to be pretty far from scientifically rigorous and is written fairly stream of consciousness. Maybe it's a non issue, there's a pretty good chance nobody reads this â so this is like 50% diary for me at this point."}]},{id:"goal",title:"Goal",content:[{type:"aside",text:'Mom: "We have 23andme at home" â The 23andme at home:'},{type:"p",text:'At a high level, at the end of this what I really wanted to be able to show was a "23andme" style dashboard built by Claude just for my genome. Only instead of being limited to the several hundred thousand variations they check for, we get the entire billions of nucleotides long genome! Better still, we are going to do it with our DNA and our data never leaving the house!'},{type:"p",text:`Now, I should take a step back â as 23andMe does some pretty complex stuff and we are going to keep it simple. There are broadly two types of genetic indicators that show up in 23andMe reports â SNPs, and derived measurements. The derived measurements are their IP, largely using some sort of machine learning probably. We aren't going to be replicating those. The other generic variation they commonly report is called a "single nucleotide polymorphism" â or SNP.`},{type:"p",text:"Your DNA is effectively made up of four different chemical nucleotides. We refer to each of them by a letter, either G, T, C, or A. If you look at one side of a chunk of DNA then, it looks something like GTGAGTCACATGT. SNPs are individual, single letter changes at some particular position in the genome that control or change the likelihood of some measurable outcome."},{type:"p",text:"For example, at position 28120472 in the 15th chromosome: Most people have the AA genotype â meaning they got an A from each parent. AA genotype folks usually have brown eyes! Some people get a G from one, or both of their parents â either an AG or a GG genotype. If you are a GG, you almost always have blue eyes! That's a SNP. For this project we are going to be focusing on SNPs as the outcome we will look at!"},{type:"p",text:"Now, I'm saying we will do this without data leaving the house, but personally I've actually already done 23andMe before (like a decade ago), so as a validation of our workflow I downloaded my raw data. The idea is if we can accurately predict the same genetic variants 23andMe does, it proves the validity of our workflow. After which we can go wild examining the rest of our genome!"}]},{id:"science",title:"Some Science Details",content:[{type:"aside",text:"If you know basic genomics you can probably ski
9p this section. In fact if you do know genomics, I would actually maybe prefer you do skip this section because I'm sure I got some stuff wrong and then you'll be mad at me. This is all just to the best of my understanding! (I'm kidding, I'm kidding, if you see something wrong please let me know and I can fix it)"},{type:"p",text:`When doing sequencing, DNA isn't the most stable or durable thing â so you can't just like⦠feed a chromosome in from the beginning and just read it until the end. Instead you're more or less taking a bunch of your DNA and breaking it into millions and millions of redundant and semi overlapping pieces, reading in each of those pieces, and assembling them almost like a puzzle where you try to line the smaller chunks (or "reads") up in order to construct your full genome.`},{type:"p",text:"Typically, you can use another already assembled genome to help with this, as humans are like 99.9% the same genetically â so it's helpful to just line up each chunk against whichever part of the genome best fits. This is called reference based assembly. Oxford Nanopore units are nice for this because they are capable of particularly large read lengths â this makes assembling them together easier the same way puzzles with fewer and larger pieces are easier than ones with lots of tiny ones."},{type:"p",text:`In fact, Oxford Nanopore read lengths are so long that it becomes viable to try and line up pieces end to end even without a reference genome â just by trying to overlap the edges of these reads. This is called "de novo" assembly. But that's probably too fancy for us and it doesn't really buy us much for our "23andme at home" goal.`},{type:"p",text:`Now, you might think that once you've lined up enough of these pieces to get a copy of someone's genome from start to finish one time it would be enough. Unfortunately not! Humans are what are called "diploid" organisms. In other words, you actually have two "genomes" in you â organized as 23 chromosomes from your mother, and 23 from your father. For every location in your DNA, that means you actually have two alleles from the four possible bases G,T,C,A. Most of the time, these are the same â because humans mostly have the same DNA as each other, and your mom and dad are no exception. But sometimes they aren't!`},{type:"sidebar",title:"Sidebar: Heterozygosity",content:`Any time you get a read that covers a certain position, you don't exactly know whether it came from your mom, or your dad â it's sort of a coin toss which one you get any time you get a read there. 10 11Let's say your genome contains an A from each of your parents at a particular location â meaning you are an AA genotype. That's easy! In that situation it doesn't matter whether you get a read from your mom or your dad, it's always going to turn up an A (unless you have a sequencing error). This is called being homozygous at that position. 12 13But what if they are different â say you have an A from your dad but a T from your mom â and are thus an AT genotype? If you just took a single read, you might get A. That tells you there's at least one A, but not whether you're AA or AT or AG. So we take more reads. Maybe you end up with a pileup like AACAAAACACC â that would be a pretty clear cut AC genotype! When you have two different alleles at a locus, it is called being "heterozygous" there. 14 15But you could also end up just repeatedly getting reads from one parent: AAAAAAA. Seven As in a row, and you'd assume AA genotype, when actually you were just unlucky! It's tough being diploid!`},{type:"p",text:`So how many reads is enough? Generally, in sequencing what we usually look at is "coverage" â which is the average number of reads per position (though some positions will have more, others less just based on chance). The lowest possible coverage I've seen people quote as "workable" is 10x coverage. More typically though, 30xâ40x coverage is considered "clinical grade" â and some workflows require upwards of 60x.`},{type:"p",text:"I figured for the purposes of this experiment I would consider hitting the bare minimum 10x coverage a success. Hitting that clinical grade 30x will be my stretch goal down the line!"}]},{id:"plan",title:"The Plan",content:[{type:"protocol",items:["<strong>DNA collection</strong> â You need some of your DNA naturally, the simplest way is to basically rinse your mouth with some salt water and microcentrifuge the result into a pellet!","<strong>gDNA extraction</strong> â You still need to get those cells filtered down into purer higher concentration genomic DNA, which you basically do by a combination of dissolving the stuff you don't want and running it through a filter using the Zymo DNA extraction kit!","<strong>Library preparation</strong> â This is basically going from the DNA itself to something that the ONT unit can actually read, essentially by fragmenting the DNA and mixing it with stuff that gets the DNA to flow smoothly, as well as a special protein that attaches to the sequences and makes them actually go through the pores of the flow cell.","<strong>Primary Analysis</strong> â This is the part where we do the actual sequencing! Basically your DNA is pulled through the pores on the ONT unit, has a current run through it as the bases pass through, and the resistance of that current determines what base to call!","<strong>Secondary analysis</strong> â Once you have your raw DNA, you want to actually do something useful with it! Typically, you start by lining up the DNA reads against some reference genome, then look for places where your DNA differs from reference to determine whether you have some particular genetic variation!"]}]},{id:"equipment",title:"Equipment",content:[{type:"timing_note",text:"The equipment listed in this section looks cute, but it is genuine, serious lab equipment and needs to be respected as such. For example, microcentrifuges can more or less explode if not balanced properly and you can be seriously injured."},{type:"pullquote",text:"One of my biggest takeaways from this project is that labwork is surprisingly like baking, only in a labcoat!"},{type:"p",text:"I'm not kidding â the main non-sequencer pieces of equipment you need are essentially just a tiny mixer (a microcentrifuge) and a tiny oven (a thermocycler)."},{type:"p",text:"Behold, my state of the art wetlab!"},{type:"image",src:"wetlab",alt:"The state-of-the-art wetlab â sitting on a camping table"},{type:"p",text:`It sits on a camping table in my office! It looks like "baby's first lab equipment" but I promise there is serious science happening here. This was actually everything I needed equipment wise to sequence myself!`},{type:"p",text:"The main pieces of equipment I used were:"},{type:"heading",text:"An Oxford Nanopore MinION Sequencer",level:4},{type:"image",src:"minion",alt:"The Oxford Nanopore MinION â a sequencer the size of a USB stick"},{type:"list",items:["It's a cute little sequencer the size of a USB stick. Isn't technology amazing?","Don't be fooled by its itty bitty size â it's almost unbelievably capable","There aren't any comparable alternatives on the market, so this is probably the most unavoidable piece of the whole workflow","Available in a kit with necessary consumables â cost: ~$5,200"]},{type:"heading",text:"A Bento Lab Pro",level:4},{type:"image",src:"bento",alt:"The Bento Lab Pro â thermocycler, microcentrifuge, and gel electrophoresis in one unit"},{type:"list",items:["Contains both a thermocycler and a microcentrifuge","Also has a gel electrophoresis unit for running PCRs if you're into that sort of thing","Bento sells a great practice kit â I would recommend doing one or tw
15o of the athlete gene, lactose intolerance, or bitterness tasting experiments","The Pro model is specifically needed due to the higher microcentrifuge RPM â needed for the Zymo miniprep kit","Cost: ~$1,800"]},{type:"heading",text:"An Assortment of Micropipettes",level:4},{type:"p",text:"Mechanical tools for drawing up a really precise amount of liquid. Ranges: 0.1â2.5µl, 2â20µl, 20â200µl, 200â1000µl."},{type:"image",src:"micropipettes",alt:"Assortment of micropipettes with tip boxes"},{type:"heading",text:"An Apple Silicon Mac",level:4},{type:"p",text:"Apple Silicon Macs (at least M3) are actually powerful enough to do basecalling in real time during sequencing at high accuracy. You can also use it for secondary analysis â mapping, alignment, and variant calling are all very doable on a Mac with a bit of patience. Some variant callers like DeepVariant may need a heavier GPU, but you could just use LongShot instead for variant calling if you only have the Mac â it doesn't take too long and still works pretty great! Just use the non-Parabricks versions of the tools listed in the secondary analysis section."},{type:"image",src:"mac",alt:"Mac running MinKNOW sequencing software"},{type:"aside",text:"Note on alternatives to Bento Lab: You can probably get by cheaper without the Bento unit by separately buying a (high RPM) microcentrifuge and a thermocycler. In fact, apparently you can even skip the thermocycler just using a pair of two cheap <$100 sous vide stick units. I liked the educational component of the Bento, think running gels is interesting, and like the aesthetic and portability of it though â so Bento made sense for me personally!"}]},{id:"consumables",title:"Consumables & Reagents",content:[{type:"p",text:"There's some supplies that pop up pretty much everywhere you'll need:"},{type:"list",items:["Micropipette tips (three sizes â you burn through these shockingly fast!)","1.5mL Microcentrifuge tubes","0.2mL PCR tubes"]},{type:"heading",text:"DNA Collection",level:3},{type:"p",text:"Really all you need is some salt water. Just regular table salt (I used non-iodized, who knows if it matters) and some water (I used bottled grocery store water, who knows if it matters)."},{type:"heading",text:"gDNA Extraction",level:3},{type:"p",text:"I asked Claude in separate chats multiple times what the simplest possible workflow looked like. The kit that popped up most was the Zymo Quick-DNA Miniprep Plus Kit, which promises a 20 minute extraction! (Spoilers, it took me a lot longer than that.)"},{type:"product",name:"Zymo Quick-DNA Miniprep Plus Kit",url:"https://www.zymoresearch.com/products/quick-dna-miniprep-plus-dna-extraction-kit",image:"zymoKit",price:"$54",detail:"10 Preps (Cat # D4068T)"},{type:"heading",text:"Library Preparation",level:3},{type:"p",text:`There is only one right answer here as we don't need long reads (because we are largely only looking for SNPs). The <a href="https://store.nanoporetech.com/us/rapid-sequencing-kit-v14.html" target="_blank">ONT Rapid Sequencing Kit (SQK-RAD114)</a> comes with the MinION bundle. Its cost is included in the bundle. (Bear in mind you need to store it frozen.)`},{type:"image",src:"rapidKit",alt:"Oxford Nanopore Rapid Sequencing Kit (SQK-RAD114)"},{type:"heading",text:"Primary Analysis (Sequencing)",level:3},{type:"p",text:`Sequencing itself is the money-devouring machine and is where the bulk of your per-sample costs are gonna come through. Sequencing on ONT units uses what are called "<a href="https://store.nanoporetech.com/us/flow-cell-r10-4-1-114.html" target="_blank">flow cells</a>." If you bought the ONT MinION starter kit, you will get five of these. Store them SO CAREFULLY because my goodness these things are fragile. Ideally don't throw them in a mini fridge like I did as they don't last super long in there.`},{type:"image",src:"flowCell",alt:"Oxford Nanopore R10.4.1 Flow Cell"},{type:"timing_note",text:"If flow cells freeze â and some refrigerators reach freezing temps in some parts sometimes â they immediately totally die. An expensive mistake!"},{type:"p",text:'Each flow cell is theoretically good for between 10â50Gb (Gigabases). The human genome is 3.3Gb â so to hit 10x coverage we need about 33Gb or so. I did my first two flow cells right away pretty much back to back while they were "fresh". These actually did end up getting me to about 11x coverage on their own! So about 18Gb each.'},{type:"p",text:"At time of writing, if you buy these flow cells individually they're currently going for $850 US or so. So if you wanted to sequence your dog (2.2Gb-ish genome) after sequencing yourself, you're gonna need at least two more flow cells most likely â about a $1,700 marginal cost!"},{type:"heading",text:"Secondary Analysis",level:3},{type:"p",text:"Everything becomes a computational challenge. No consumables needed!"}]},{id:"timing",title:"Notes on Time and Timing",content:[{type:"p",text:"In theory, it's supposed to take 10 minutes to pellet buccal cells, Zymo miniprep is 20 minutes, and ONT library prep another 20. So like an hour end to end."},{type:"p",text:"I feel like the time estimates a lot of these protocols gave me was super ambitious."},{type:"p",text:"In practice I am slow, and also adjustments to protocol to adapt to Bento lab had to be made â so I would honestly budget like 2.5 hours for this end to end of essentially active time, to get sequencing started. At which point you leave it hands off for 72 hours."},{type:"p",text:"Not straightforward, but not crazy either â I've made stews with similar active times in practice. Though I'm pretty slow at those too â and it doesn't help that a lot of those recipes definitely lie and say they're also only going to take you one hour when there's just no way they actually will."},{type:"p",text:"Also, once you hit the active part of this you do have to keep things moving or your samples will start to degrade in various ways. Claude points out where the critical breakpoints are inline below."},{type:"p",text:"At this point, absolutely everything I did was by using my phone to text Claude to do stuff on my various computers â first using an OpenClaw-like, then eventually swapping over to OpenClaw. I didn't write a single line of code or come up with a single analysis idea on my own. Pretty wild just being able to hit up Claude whenever I have some question about my genome!"},{type:"image",src:"phone",alt:"Texting Claude from my phone to control the sequencing setup"}]},{id:"phase1",title:"Phase 1: From Preparation to Extracted DNA",content:[{type:"p",text:"Phase 1 pretty much has to be done in a single shot. The tubes of extracted DNA you get at the end actually freeze extremely well, so once you finish Phase 1 chuck the tubes in the freezer and you are at a great stopping point!"},{type:"p",text:"This is probably like 15 minutes of setup and an hour and a half of active time."},{type:"timing_note",text:"Make sure at every microcentrifuge step that you balance it or it will explode. If you don't know how to do this, go through the Bento Bioengineering kit, they do a great job explaining this."},{type:"aside",text:"All of the following steps assume and call for a counterbalance, but one solution I ended up liking more was just doubling up on everything â collect two samples and do two extractions. This way you can just counterbalance one sample with the other sample, and you end up with more DNA to work with!"}]},{id:"step0",title:"Step 0: Preparation",content:[{type:"heading",text:"Step 0A: Ahead of Time â Proteinase K Preparation",level:3},{type:"aside",text:"Do once after receiving the Zymo kit."},{type:"p",text:"Proteinase K is an enzyme that digests proteins â including the nucleases that would otherwise destroy your DNA. It comes freeze-dried (lyophilized) for stability and needs to be reconstituted before use."},{type:"protocol",items:["Add 1,040 µL Proteinase K Storage Buffer to the 20 mg lyophilized Proteinase K tube","Mix vigorously to dissolve completely (solution should be clear, no visible particles): Fl
15ick tube sharply 30â40 times, then pipette up and down 20x with P1000. Alternatively, cap tightly and shake vigorously by hand for 30 seconds, then pipette to confirm dissolution.","Brief spin to collect liquid from cap walls: Place tube in microcentrifuge with hinge facing outward. IMPORTANT: Balance with a tube of similar volume (~1 mL water) in the opposite rotor position. Pulse spin for 5â10 seconds at low speed (~2,000 x g).",'Label 8â10 clean 0.2 mL PCR tubes with "PK" and date',"Using a P200 pipette, transfer 100 µL per aliquot (gives ~10 aliquots, each good for 5 extractions)","Store aliquots at â20°C (aka stick them in a freezer). Avoid repeated freeze-thaw â Proteinase K loses ~10% activity per cycle."]},{type:"heading",text:"Step 0B: Day-of Setup",level:3},{type:"aside",text:"Do every time before starting."},{type:"heading",text:"Tube Setup Grids",level:4},{type:"p",text:"Pre-arranging all your tubes prevents confusion and contamination during the protocol."},{type:"image",src:"tubeGrid",alt:"Microcentrifuge tube setup grid"},{type:"image",src:"pcrTubes",alt:"PCR tube setup grid"},{type:"protocol",items:["Thaw one Proteinase K aliquot at room temperature (thaws in under a minute). Keep on ice once thawed. Do NOT heat to thaw â you'll denature the enzyme before it does its job.","Prepare saline mouthwash (~0.9%): Dissolve ~0.3 g table salt (a pinch) in 30â35 mL water and stir until dissolved","Wait at least 30 minutes after eating, drinking (except water), or brushing teeth","Label your tubes: one 1.5 mL tube for cell collection, three 0.2 mL PCR tubes, and one clean 1.5 mL tube for final DNA","Set aside one Zymo column + collection tube as your dedicated balance. Before each spin, add water to the balance column to match the volume on your sample column."]},{type:"aside",text:"Honestly stuff like the tube grid is overkill stuff I asked Claude to make for me because I have anxiety and also had some mishaps involving my handwriting. I did say I got the sequencing part right the first time â and I did â but I definitely did mess up the Zymo kit once. You only make a mistake like that once. I figure it's basically mise en place â which is absolutely a baking thing. I'm gonna go with what I know works!"}]},{id:"step1",title:"Step 1: Buccal (Cheek) Cell Pelleting",content:[{type:"timing_note",text:"Things do get time sensitive here, so at this point you gotta lock in."},{type:"p",text:"Buccal (cheek) epithelial cells are loosely attached and slough off easily. Saline keeps them intact by matching your body's salt concentration."},{type:"protocol",items:["Pour ~10 mL saline into your mouth","Swish vigorously for 60 seconds, rubbing cheeks against teeth to dislodge cells","Spit into glass",'Transfer ~1.5 mL mouthwash to your labeled "cells" tube',"Centrifuge at 4,000 x g for 3 minutes (Counterbalance: 1.5 mL water tube)","Check for white pellet at bottom","Carefully pour off supernatant, leaving pellet + small amount of liquid (~20â50 µL)","Check for white pellet roughly matchstick-head sized (if too small, collect more saliva and repeat)"]},{type:"timing_note",text:"Time-sensitive window starts now. Cells have active nucleases that will degrade DNA. Proceed to lysis within ~30 minutes, or refrigerate pellet at 4°C if you need to pause."},{type:"p",text:"Washing removes bacteria, mucus, and food debris while keeping your cells intact. Fresh saline dilutes contaminants without lysing cells."},{type:"protocol",items:["Add 1 mL fresh saline to the tube containing your pellet","Resuspend completely: Flick tube firmly to loosen pellet, pipette up and down with P1000 until liquid is uniformly cloudy, no visible chunks should remain","Centrifuge at 4,000 x g for 3 minutes (Counterbalance: 1 mL water tube)","Confirm pellet has reformed at bottom","Carefully pour off supernatant, leaving pellet + ~50â100 µL liquid"]},{type:"aside",text:"It seems odd, but apparently repeatedly crushing the cells into a pellet with a centrifuge and then mixing with clean water cleans the cells somehow? If you did that to a person it would probably kill them, but somehow your cells are fine and probably even feel refreshed after. Too bad we are about to dissolve them with chemicals then cook them into a stew."}]},{id:"step2",title:"Step 2: DNA Extraction",content:[{type:"p",text:`This is where the Zymo kit comes in. A cell pellet like the one we just made has a bunch of stuff in it that isn't just our DNA â so we need to break down and filter a lot of that "junk" out. This leaves us with concentrated genomic DNA suitable for our MinIon sequencer!`},{type:"heading",text:"Resuspend for Lysis",level:3},{type:"p",text:"Getting cells fully suspended ensures even mixing with lysis reagents. Clumps won't lyse properly and you'll lose yield."},{type:"protocol",items:["Resuspend pellet completely: Flick tube to loosen, pipette up and down with P200 until fully homogeneous â no clumps","Check volume of your resuspended cells","If less than 200 µL, add DNA Elution Buffer or PBS to bring to 200 µL total"]},{type:"heading",text:"Lysis",level:3},{type:"p",text:"Lysis breaks open cells to release DNA. The BioFluid Buffer contains detergents that dissolve cell membranes. Proteinase K digests proteins. Heat accelerates both processes."},{type:"protocol",items:["To your 200 µL resuspended cells, add: 200 µL BioFluid & Cell Buffer (Red) + 20 µL Proteinase K","Mix thoroughly by flicking tube sharply 20x then pipetting vigorously ~20x",'Split into PCR tubes: ~140 µL into each of PCR tubes "1", "2", and "3"',"Cap all three tubes securely, place in Bento thermocycler","Run at 55°C for 10 minutes (use heat block mode or program a single hold step)"]},{type:"timing_note",text:"First time-sensitive window is over â nucleases are now denatured. A second, less urgent window starts: get lysate onto the column within 30â60 minutes to avoid over-digestion. Don't leave lysate sitting for hours."},{type:"p",text:"Recombine the lysate from the three PCR tubes into a clean 1.5 mL tube. You should end up with ~380â400 µL."},{type:"heading",text:"Bind to Column",level:3},{type:"p",text:"The Genomic Binding Buffer creates conditions where DNA sticks to the silica membrane in the column while proteins and other contaminants flow through."},{type:"protocol",items:["Add 1 volume Genomic Binding Buffer (equal to your lysate volume, e.g., ~400 µL)","Mix thoroughly by flicking 20x then pipetting up and down 15x","Transfer entire mixture to a Zymo-Spin IIC-XLR Column in a collection tube","Add ~800 µL water to balance column","Centrifuge at 8,000 x g for 2 minutes","Discard flow-through and collection tube"]},{type:"timing_note",text:"All time-sensitive windows are now closed. Proteinase K is in the flow-through. Take your time with the remaining washes and elution."},{type:"aside",text:"Okay so by this point I'm pretty much always sweating. I seem to get emotionally invested in my sample preparation and thus cause unnecessary stress for myself. Is that normal? Anyways if you feel the same way this is a good time to go meditate or grab some tea or something and center yourself. You're almost at the end!"},{type:"heading",text:"Wash",level:3},{type:"p",text:"DNA stays bound to the silica membrane while wash buffers remove salts, proteins, and other contaminants."},{type:"protocol",items:["Place column in a new collection tube","Add 400 µL DNA Pre-Wash Buffer to sample column, centrifuge at 8,000 x g for 2 minutes","Pour out flow-through, keep collection tubes","Add 700 µL g-DNA Wash Buffer, centrifuge at 8,000 x g for 2 minutes","Pour out flow-through, keep collection tubes","Add 200 µL g-DNA Wash Buffer, centrifuge at 8,000 x g for 2 minutes","Discard collection tubes and flow-through"]},{type:"heading",text:"Elute",level:3},{type:"p",text:"Elution Buffer (low-salt, slightly alkaline) reverses the binding conditions, releasing DNA from the silica membrane."},{type:"protocol",items:["Transfer column to your labeled FINAL DNA tube (clean 1.5 mL tube)","Add 50 µL DNA Elution Buffer directly onto the white membrane","Incubate at room temperature for 5 minutes (set a timer, don't skip)","Centrifuge at 8,000 x g for 2 minutes","Reload the eluate back onto the same column","Incubate 3 minutes at room temperature","Centrifuge at 8,000 x g for 2 minutes â this is your purified DNA!"]},{type:"heading",text:"DNA Aliquoting & Storage",level:3},{type:"p",text:"Each freeze-thaw cycle damages DNA. Splitting into aliquots means you only thaw
15what you need."},{type:"protocol",items:["Label 4â6 clean 0.2 mL PCR tubes with your initials, date, and aliquot number","Gently mix your eluted DNA by pipetting up and down 5x (avoid vortexing gDNA â shearing risk)",'Distribute DNA: make 4x 10 µL aliquots + 1x 10 µL "working stock" for QC',"Short-term (< 1 week): Store at 4°C. Long-term: Store at â20°C (stable for years)","Use only ONE aliquot per library prep â avoid thawing and refreezing others"]},{type:"pullquote",text:"You did it! Even if you're just reading through this and didn't actually do it, honestly at this point I'll celebrate you too because my god this writeup is getting long. You're dedicated!"}]},{id:"phase2",title:"Phase 2: Sequencing",content:[{type:"p",text:"At this point you should be prepared to have whatever computer you are using be occupied and immobile for the next 72 hours. ONT units look like USB drives and are quite portable on their own, but once you've stuck a flow cell in them they have to be handled carefully and can't really be moved easily without risk of spilling."}]},{id:"step3",title:"Step 3: Sequencer and Library Preparation",content:[{type:"heading",text:"Sequencer Preparation â One Time Setup",level:3},{type:"p",text:"Get the hardware ready and software installed before touching your DNA."},{type:"protocol",items:["Unbox the MinION: check contents (MinION device, USB-C cable, flow cell light shield). Do NOT open flow cell packaging yet â keep at 2â8°C.","Install MinKNOW Software from nanoporetech.com/downloads. Create account if needed. Install, launch, and sign in.","Connect MinION via USB-C. MinKNOW should detect the device. Update firmware if prompted. Do NOT insert flow cell yet.","Verify Storage Space: ~50â100 GB per flow cell run. For 30x coverage: plan for ~500 GBâ1 TB total."]},{type:"heading",text:"Flow Cell Check",level:3},{type:"p",text:"Before using any reagents, verify your flow cell has enough active pores. ONT warrants 800+ pores for MinION flow cells."},{type:"protocol",items:["Remove flow cell from fridge. Let sit at room temperature for 20 minutes (critical for accurate pore count).","Open flow cell packaging. Slide flow cell into MinION under the clip. Press down firmly for good contact.",'In MinKNOW, click on your device, select flow cell, click "Flow Cell Check." Wait ~5 minutes for results.']},{type:"list",items:["1200+ pores: Excellent â proceed confidently","800â1200 pores: Good â will work fine","<800 pores: Contact ONT for replacement within 2 days"]},{type:"timing_note",text:"IMPORTANT: Leave flow cell in MinION with priming port closed. Do NOT remove it. Proceed to library prep."},{type:"heading",text:"RAD114 Library Preparation",level:3},{type:"p",text:"RAD114 is the simplest library prep â just two short incubations. The Fragmentation Mix (FRA) cuts DNA and attaches tags; the Rapid Adapter (RA) attaches motor proteins that feed DNA through pores."},{type:"protocol",items:["Thaw Reagents: Fragmentation Mix (FRA, red cap), Rapid Adapter (RA), Adapter Buffer (ADB), Sequencing Buffer (SB), Library Beads (LIB), Flow Cell Flush (FCF), Flow Cell Tether (FCT). Spin briefly and place on ice.","Thaw one DNA aliquot on ice (5â10 minutes)","Tagmentation: In a 0.2 mL PCR tube, combine 5 µL DNA + 5 µL nuclease-free water + 1 µL FRA. Mix by flicking, spin down.","Incubate in thermocycler: 30°C for 2 minutes, then 80°C for 2 minutes (heat-kills the enzyme). Place on ice.","Adapter Attachment: In a fresh 1.5 mL tube, dilute 1.5 µL Rapid Adapter + 3.5 µL Adapter Buffer. Add 1 µL of diluted RA to your 11 µL tagmented DNA. Incubate at room temperature for 5 minutes.","You now have 12 µL prepared library â keep on ice!"]}]},{id:"step4-loading",title:"Flow Cell Priming & Loading",content:[{type:"p",text:"The flow cell needs to be primed with buffer before loading your library. BSA helps prevent DNA sticking to surfaces. Avoid air bubbles at all costs â they destroy pores."},{type:"protocol",items:["Prepare Priming Mix: 1,170 µL Flow Cell Flush (FCF) + 5 µL BSA (50 mg/mL) + 30 µL Flow Cell Tether (FCT). Mix by pipetting.","Open Priming Port: Slide the priming port cover clockwise. Check for air bubble: slowly draw back 20â30 µL with P1000. Stop if you see the membrane.","First Prime: Slowly load 800 µL priming mix into the priming port. Go slow â avoid introducing bubbles. Wait 5 minutes.","During the 5-minute wait â Prepare Library for Loading: Mix Library Beads (LIB) thoroughly (pipette up and down 10x). In a fresh 1.5 mL tube, combine 37.5 µL Sequencing Buffer (SB) + 25.5 µL Library Beads + 12 µL your prepared DNA library. Total = 75 µL.","Open the SpotON sample port. Load 200 µL priming mix into the priming port (not SpotON).","Add 75 µL library to the SpotON port dropwise: Touch pipette tip to port edge, release a drop, wait for it to be drawn in. Repeat until all 75 µL loaded.","Close SpotON port. Close priming port. Put light shield on flow cell."]},{type:"aside",text:"How did you do? You're finished with the scary stuff! Assuming you didn't heartlessly murder your flow cell with an air embolism, the rest of this process is finally a breeze!"}]},{id:"step4-sequencing",title:"Step 4: Primary Analysis (Sequencing!)",content:[{type:"pullquote",text:"Now for the fun part. The part where you basically do nothing!"},{type:"p",text:`This is actually a prime opportunity to learn about what it is you're doing while you're doing nothing. Sequencing is really what we are here for, so once you hit "go" if you start seeing the right numbers go the right direction it's time to celebrate!`},{type:"protocol",items:['In MinKNOW, click on your device. Click "Start Sequencing."','Fill in experiment details: Experiment name (e.g., "FirstRun_MyDNA_Jan2026"), Kit: select SQK-RAD114.',"Basecalling settings: Enable basecalling. Model: Fast or HAC â Fast is fine for first run, but HAC should be doable on a decent Mac.","Run length: 72 hours (you can stop early, but I recommend the full 72).","Click Start!"]},{type:"aside",text:`I'm gonna step back in here for the rest of the article â hope you enjoyed the AI generated recipes. I was super worried there would be hallucinations in there, but it really did "just work". They appear to be mostly adaptations of existing workflows to get them to work on the somewhat limited equipment I had available. Not sure how it is that an AI generated sequencing recipe works fine, while all these random AI generated pastry recipes and such turn into disasters. But that's the day and age we live in!`}]},{id:"step5",title:"Step 5: Secondary Analysis",content:[{type:"p",text:"Secondary analysis is where you go from raw sequencing data to actual, useful genetic information. I asked an OpenClaw agent to do this for me â I gave it a DGX Spark (NVIDIA's new ARM-based workstation with a GB10 GPU) and Parabricks, and it worked its way through it after some hiccups."},{type:"aside",text:`I've written up the complete, reproduced, paste-and-run pipeline with all the commands, val
15idation steps, common issues, and retry logs. <a href="pipeline">Read the full pipeline documentation here</a> â it's designed to be readable by both humans and LLM agents.`},{type:"heading",text:"The Pipeline",level:3},{type:"p",text:"The secondary analysis pipeline has five steps, running end-to-end in about 4 hours on the DGX Spark:"},{type:"protocol",items:["<strong>Merge raw BAMs</strong> (~2â45 min) â All 2,020 raw BAMs from 6 sequencing runs are concatenated into a single file using samtools cat. That's 15.6 million reads totaling about 71 GB, representing ~17.5Ã coverage of the human genome.","<strong>Alignment</strong> (~100 min) â Streaming pipeline: samtools fastq â minimap2 (map-ont preset, 16 threads) â samtools sort. The reads never touch disk twice. Result: 94.81% primary mapping rate (14.8M of 15.6M reads mapped to GRCh38).","<strong>Read Group Tagging</strong> (~2 min) â samtools addreplacerg adds @RG headers that DeepVariant requires. Quick and painless.","<strong>Variant Calling via DeepVariant</strong> (~41 min) â This is the GPU-accelerated step. Parabricks runs DeepVariant in ONT mode with gVCF output, producing 4.75M PASS variants each with a GQ (genotype qual
15ity) confidence score. The gVCF also emits reference blocks at non-variant positions, which is critical for honest accuracy reporting.","<strong>23andMe Truth-Set Comparison</strong> (~19 min) â The 23andMe raw data (588,732 SNPs) is lifted from hg19 to hg38, then intersected with the gVCF. Genotype concordance is scored at every GQ threshold."]},{type:"heading",text:"Tools Used",level:3},{type:"p",text:"The key tools are samtools (merging, sorting, indexing), minimap2 (alignment with the map-ont preset for nanopore data), and NVIDIA Parabricks with DeepVariant (GPU-accelerated variant calling). For the truth-set comparison, a Python script using pyliftover handles the coordinate conversion from hg19 to hg38. If you don't have access to a GPU, you can use the upstream Google DeepVariant in CPU mode â it's 10â30à slower but produces identical results."},{type:"heading",text:"The Hardware",level:3},{type:"p",text:"I ran this on an NVIDIA DGX Spark â a 20-core ARM workstation (Grace CPU) with 128 GB unified memory and a GB10 GPU. The whole pipeline needs at least 64 GB RAM (minimap2 and samtools sort are the memory hogs) and 250 GB of free disk space. You could also run this on cloud GPUs â a single A100 on Lambda Labs would cost about $5 for the run."},{type:"heading",text:"Accuracy Results",level:3},{type:"p",text:"The headline number: at GQ ⥠20 (which means ~99% posterior confidence in each call), the pipeline achieved 99.25% accuracy on 212,393 variant calls covering 36% of the 23andMe panel. Peak accuracy hit 99.30% at GQ ⥠25."},{type:"p",text:"When you include the high-confidence reference calls from the gVCF (positions where DeepVariant is confident you match the reference), panel coverage jumps to 84.7% at 97.2% accuracy. The accuracy is a bit lower here because some heterozygous sites get emitted as high-confidence reference blocks â a known ONT-specific limitation at moderate read depth."},{type:"p",text:"The entire pipeline was independently reproduced from the documentation on a clean workspace, producing byte-identical results across every GQ threshold. Total wall time for the reproduction: 3.79 hours."},{type:"aside",text:"One important lesson: always run DeepVariant with --gvcf from the start. Without it, you only get variant calls, and any truth-set position not in the VCF has to be force-called as reference â which conflates confident ref calls with low coverage and unmappable regions. The gVCF is essentially free at runtime and required for honest accuracy reporting."}]},{id:"results",title:"Results",content:[{type:"heading",text:"First Run Basecalling Output",level:3},{type:"p",text:"Here's what came out of the very first sequencing run â 72 hours on a single flow cell:"},{type:"image",src:"runSummary",alt:"Run summary showing 22.27 Gb estimated bases, 7.02M reads generated, 100% basecalled"},{type:"image",src:"sequenceOutput",alt:"Sequence output showing read length distribution and outliers"},{type:"p",text:"22.27 Gb of estimated bases from 7.02M reads, with an N50 of 8.71 kb. The run went the full 72 hours and 100% of reads were basecalled. About 21.22 Gb passed the quality filter (min Q score of 9) â that's roughly 7x coverage of the human genome from a single flow cell!"},{type:"p",text:"Ultimately, using DeepVariant to call my mapped ONT data I managed to get a ~98.5% accuracy in predicting the 600k 23andMe SNPs correctly. If we further restrict this to the ~30% of those that DeepVariant has high confidence in (>=20GQ), the accuracy goes up to ~99.25%."},{type:"p",text:"Claude put together a nice dashboard, showing overall performance and a health and traits screen in the style of 23andMe (including a couple SNPs that 23andMe doesn't cover to prove a point). Finally for bonus points I had it do some additional analysis looking for structural variants and repeats â things that you can really only do with WGS data."},{type:"image",src:"dashboard",alt:"The genome results dashboard built by Claude"},{type:"p",text:"One of the first things that came up, AMD risk, was one of the main concerning ones I know I have from 23andMe, so I was happy to see this analysis caught and highlighted it just by virtue of asking it to check all 23andMe's displayed SNPs."},{type:"p",text:"The one that WGS caught that 23andMe didn't I'm not going to worry too much about, as it has a pretty low confidence assigned to it by DeepVariant:"},{type:"image",src:"wgs",alt:"WGS finding that 23andMe didn't catch"},{type:"p",text:"For fun, I also had Claude put information about structural variants onto a third tab, another thing that you can't do with 23andMe:"},{type:"image",src:"structural",alt:"Structural variants analysis tab"},{type:"image",src:"structural2",alt:"Additional structural variants detail"},{type:"p",text:"Though, my coverage is probably too low (and my 8â9Kb-ish read length maybe too short) to do anything meaningful here yet."},{type:"p",text:"Overall, I looked through everything that popped up on the dashboard and it all checked out against my 23andMe dashboard!"},{type:"sidebar",title:"Key Insight: GQ Score Sweet Spot",content:"GQ 20â39 = 99.58â99.80% accuracy (covers 67% of calls). GQ 50+ is paradoxically terrible (18.93%) â those are RefCall artifacts. 97.2% of errors are het/hom misclassification (coverage-dependent), only 2.8% wrong allele."}]},{id:"notes",title:"Notes",content:[{type:"p",text:"Note 1: Most genetic tests are not actually done via sequencing, so I do want to note that what I am doing in this writeup and what e.g. 23andMe do are pretty different in underlying technique."},{type:"p",text:"Note 2: I am not a writer so a lot of this writeup might be a little less clear, concise, or organized as I might like. I tried to get ChatGPT to help me but every time I asked it to rewrite portions of this I absolutely hated what it spit out, and felt like it crushed my personality out of it. Eventually I started arguing with it, and it eventually in not so many words basically told me I write like an overconfident jackass. I responded by telling it that it writes like a boring lame pedant. It was less than productive. So we aren't really on speaking terms right now."},{type:"p",text:`Note 3: "GTGAGTCACATGT" is probably not a valid DNA snippet. I don't really know what the rules are I just put random letters.`},{type:"p",text:`Note 4: Really, Claude was almost too helpful â even going through how to "work around" supplier restrictions unprompted. For context, reagent companies (like Zymo) don't like shipping to random addresses â and want to ship to a legitimate business with a legitimate business address. Amusingly though Claude's "workaround" was to literally start a legitimate business and get a legitimate business address. Not much of a workaround! LLCs are easy to start in California, and Claude pointed out many virtual office companies offer business addresses.`},{type:"p",text:"Note 5: Unfortunately, we have three things working against us on yield: (1) The Rapid Sequencing Kit isn't as efficie
15nt as other kits like the Ligation kit. (2) Our Zymo extraction kit isn't as fancy as MagBead kits. (3) Worst of all â we are doing this cowboy style and skipping quantification, meaning we have no idea how much DNA we are actually sticking in the flow cell. And flow cells are picky about this. Also of concern, the longer you store flow cells, the worse they get. My last flow cell ended up giving me literally half the data my first one did."}]},{id:"contact",title:"Get in Touch",content:[{type:"p",text:'If you have questions, want to share your own experience, or just want to chat about DIY genomics, feel free to reach out at <a href="mailto:[email protected]">[email protected]</a>.'}]}]};var fE=Symbol.for("react.lazy"),Jo=If[" use ".trim().toString()];function dE(e){return typeof e=="object"&&e!==null&&"then"in e}function Zv(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===fE&&"_payload"in e&&dE(e._payload)}function hE(e){const i=pE(e),r=D.forwardRef((a,s)=>{let{children:u,...c}=a;Zv(u)&&typeof Jo=="function"&&(u=Jo(u._payload));const d=D.Children.toArray(u),m=d.find(gE);if(m){const h=m.props.children,g=d.map(y=>y===m?D.Children.count(h)>1?D.Children.only(null):D.isValidElement(h)?h.props.children:null:y);return O.jsx(i,{...c,ref:s,children:D.isValidElement(h)?D.cloneElement(h,void 0,g):null})}return O.jsx(i,{...c,ref:s,children:u})});return r.displayName=`${e}.Slot`,r}function pE(e){const i=D.forwardRef((r,a)=>{let{children:s,...u}=r;if(Zv(s)&&typeof Jo=="function"&&(s=Jo(s._payload)),D.isValidElement(s)){const c=bE(s),d=yE(u,s.props);return s.type!==D.Fragment&&(d.ref=a?Xf(a,c):c),D.cloneElement(s,d)}return D.Children.count(s)>1?D.Children.only(null):null});return i.displayName=`${e}.SlotClone`,i}var mE=Symbol("radix.slottable");function gE(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===mE}function yE(e,i){const r={...i};for(const a in i){const s=e[a],u=i[a];/^on[A-Z]/.test(a)?s&&u?r[a]=(...d)=>{const m=u(...d);return s(...d),m}:s&&(r[a]=s):a==="style"?r[a]={...s,...u}:a==="className"&&(r[a]=[s,u].filter(Boolean).join(" "))}return{...e,...r}}function bE(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning;return r?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var vE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xE=vE.reduce((e,i)=>{const r=hE(`Primitive.${i}`),a=D.forwardRef((s,u)=>{const{asChild:c,...d}=s,m=c?r:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(m,{...d,ref:u})});return a.displayName=`Primitive.${i}`,{...e,[i]:a}},{}),wE="Separator",gy="horizontal",SE=["horizontal","vertical"],$v=D.forwardRef((e,i)=>{const{decorative:r,orientation:a=gy,...s}=e,u=kE(a)?a:gy,d=r?{role:"none"}:{"aria-orientation":u==="vertical"?u:void 0,role:"separator"};return O.jsx(xE.div,{"data-orientation":u,...d,...s,ref:i})});$v.displayName=wE;function kE(e){return SE.includes(e)}var Jv=$v;const Wv=D.forwardRef(({className:e,orientation:i="horizontal",decorative:r=!0,...a},s)=>O.jsx(Jv,{ref:s,decorative:r,orientation:i,className:zt("shrink-0 bg-border",i==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));Wv.displayName=Jv.displayName;const AE="/assets/chatgpt-screenshot-CHCCMdH_.jpg",TE="/assets/claude-screenshot-BgPqzLc1.jpg",ex="/assets/wetlab-BPPx-tpM.jpg",EE="/assets/minion-sequencer-j-ruj-JI.jpg",CE="/assets/bento-lab-39kBL84l.jpg",OE="/assets/phone-claude--iXb7uaZ.jpg",RE="/assets/dashboard-Dxfqd-hl.jpg",DE="/assets/wgs-finding-oYNyUjzS.jpg",NE="/assets/structural-variants-CKQQRTHg.png",ME="/assets/structural-variants-2-rI159D3q.jpg",zE="/assets/tube-grid-BxTXlJ4P.jpg",_E="/assets/pcr-tubes-Dj7dQ3uW.jpg",LE="/assets/zymo-kit-jWwHc1BL.webp",jE="/assets/rapid-kit-DjicNbuk.jpg",BE="/assets/flow-cell-B4Ef4niT.jpg",UE="/assets/mac-minknow-CcpaTAzw.jpg",qE="/assets/micropipettes-LQNwHlbb.jpg",PE="/assets/run-summary-V2WuJMeO.png",HE="/assets/sequence-output-zAAYQpT-.png",yy={chatgpt:AE,claude:TE,wetlab:ex,minion:EE,bento:CE,phone:OE,dashboard:RE,wgs:DE,structural
15:NE,structural2:ME,tubeGrid:zE,pcrTubes:_E,zymoKit:LE,rapidKit:jE,flowCell:BE,mac:UE,micropipettes:qE,runSummary:PE,sequenceOutput:HE};function IE(){const[e,i]=D.useState(0),[r,a]=D.useState("");return D.useEffect(()=>{const s=()=>{const u=document.documentElement.scrollHeight-window.innerHeight,c=window.scrollY/u*100;i(c);const m=qr.sections.map(h=>document.getElementById(h.id)).reverse().find(h=>h?h.getBoundingClientRect().top<=150:!1);m&&a(m.id)};return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]),D.useEffect(()=>{fetch("/api/visits/track",{method:"POST",headers:{"Content-Type":"application/json"},body:"{}"}).catch(()=>{})},[]),O.jsxs("div",{className:"min-h-screen bg-background text-foreground font-sans relative selection:bg-primary/20",children:[O.jsx("div",{className:"fixed top-0 left-0 h-1 bg-primary z-50 transition-all duration-100 ease-out",style:{width:`${e}%`}}),O.jsxs("header",{className:"relative w-full h-[70vh] min-h-[500px] overflow-hidden flex items-center justify-center",children:[O.jsxs("div",{className:"absolute inset-0 z-0",children:[O.jsx("img",{src:ex,alt:"Home wetlab setup on a camping table",className:"w-full h-full object-cover opacity-60"}),O.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/40 via-background/60 to-background"})]}),O.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 text-center mt-12 mb-8 md:mt-20",children:[O.jsx("h1",{className:"text-5xl md:text-7xl font-serif font-black text-foreground mb-6 leading-tight drop-shadow-sm animate-in fade-in slide-in-from-bottom-8 duration-1000",children:qr.title}),O.jsx("p",{className:"text-xl md:text-2xl font-serif text-foreground/80 mb-6 max-w-2xl mx-auto animate-in fade-in slide-in-from-bottom-8 duration-1000 delay-200",children:qr.subtitle}),O.jsxs("a",{href:"#step0",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-primary text-primary-foreground font-mono text-sm font-medium shadow-md hover:shadow-lg hover:scale-105 transition-all duration-200 animate-in fade-in slide-in-from-bottom-8 duration-1000 delay-500",children:["Jump to the Protocol",O.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[O.jsx("path",{d:"M12 5v14"}),O.jsx("path",{d:"m19 12-7 7-7-7"})]})]})]})]}),O.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-12 flex flex-col lg:flex-row gap-12 relative",children:[O.jsx("aside",{className:"hidden lg:block w-64 shrink-0 relative",children:O.jsxs("div",{className:"sticky top-24 space-y-6",children:[O.jsx("h3",{className:"font-mono text-xs font-bold text-muted-foreground uppercase tracking-wider mb-4",children:"Table of Contents"}),O.jsx("nav",{className:"space-y-3",children:qr.sections.map(s=>O.jsx("a",{href:`#${s.id}`,className:`block text-sm transition-colors duration-200 ${r===s.id?"text-primary font-medium border-l-2 border-primary pl-3":"text-muted-foreground hover:text-foreground pl-3 border-l-2 border-transparent"}`,children:s.title},s.id))})]})}),O.jsx("main",{className:"flex-1 max-w-3xl mx-auto space-y-16 pb-32",children:O.jsxs("div",{className:"prose prose-lg dark:prose-invert prose-headings:font-serif prose-p:font-sans prose-p:leading-relaxed prose-a:text-primary prose-a:no-underline hover:prose-a:underline prose-strong:text-foreground",children:[O.jsx("p",{className:"text-xl font-serif leading-relaxed text-foreground/90 italic",children:qr.intro}),O.jsx(Wv,{className:"my-12 bg-border/50"}),qr.sections.map(s=>O.jsxs("section",{id:s.id,className:"scroll-mt-24",children:[O.jsx("h2",{className:"text-3xl md:text-4xl font-serif font-bold text-foreground mb-8",children:s.title}),O.jsx("div",{className:"space-y-6",children:s.content.map((u,c)=>{switch(u.type){case"p":return u.text.includes("<a ")?O.jsx("p",{className:"text-lg text-foreground/80 leading-relaxed",dangerouslySetInnerHTML:{__html:u.text}},c):O.jsx("p",{className:"text-lg text-foreground/80 leading-relaxed",children:u.text},c);case"aside":return O.jsx("div",{className:"my-8 p-6 bg-secondary/50 rounded-lg border border-secondary text-foreground
15/90 italic font-serif",dangerouslySetInnerHTML:{__html:u.text}},c);case"pullquote":return O.jsx("blockquote",{className:"my-8 border-l-3 border-primary/60 pl-5 py-1",children:O.jsx("p",{className:"text-lg font-serif italic text-foreground/85 leading-relaxed !mt-0 !mb-0",children:u.text})},c);case"sidebar":return O.jsxs("div",{className:"my-10 p-8 bg-muted/50 rounded-xl border border-border shadow-sm",children:[O.jsx("h3",{className:"font-mono text-sm font-bold text-primary uppercase tracking-wider mb-4 mt-0",children:u.title}),O.jsx("p",{className:"text-foreground/80 !mb-0",children:u.content})]},c);case"timing_note":return O.jsxs("div",{className:"my-8 p-4 bg-destructive/10 border border-destructive/20 rounded-md flex gap-4 items-start",children:[O.jsx("div",{className:"text-destructive font-bold text-xl mt-1",children:"!"}),O.jsxs("div",{children:[O.jsx("strong",{className:"text-destructive font-mono text-sm uppercase tracking-wider block mb-1",children:"Timing Note"}),O.jsx("p",{className:"text-destructive/90 text-sm m-0",children:u.text})]})]},c);case"image":return O.jsxs("figure",{className:"my-12",children:[O.jsx("img",{src:yy[u.src]||u.src,alt:u.alt,className:"w-full rounded-xl shadow-md"}),O.jsx("figcaption",{className:"text-center text-sm text-muted-foreground mt-4 font-mono",children:u.alt})]},c);case"heading":return u.level===4?O.jsx("h4",{className:"text-xl font-serif font-semibold text-foreground mt-10 mb-3",children:u.text},c):O.jsx("h3",{className:"text-2xl font-serif font-bold text-foreground mt-12 mb-4",children:u.text},c);case"protocol":return O.jsx("ol",{className:"my-6 space-y-3 pl-0 list-none",children:u.items.map((d,m)=>O.jsxs("li",{className:"flex items-start gap-4 py-2 border-b border-border/40 last:border-0",children:[O.jsxs("span",{className:"font-mono text-primary/70 text-sm font-bold mt-0.5 shrink-0 w-6 text-right",children:[m+1,"."]}),O.jsx("span",{className:"text-foreground/80 leading-relaxed",dangerouslySetInnerHTML:{__html:d}})]},m))},c);case"product":return O.jsxs("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"my-8 flex items-center gap-6 p-5 bg-card border border-border rounded-xl shadow-sm hover:shadow-md transition-shadow no-underline group",children:[O.jsx("img",{src:yy[u.image]||u.image,alt:u.name,className:"w-28 h-28 object-contain rounded-lg shrink-0"}),O.jsxs("div",{children:[O.jsx("div",{className:"font-serif font-semibold text-lg text-foreground group-hover:text-primary transition-colors",children:u.name}),O.jsx("div",{className:"text-sm text-muted-foreground mt-1",children:u.detail}),O.jsx("div",{className:"font-mono text-primary font-bold mt-2",children:u.price})]})]},c);case"list":return O.jsx("ul",{className:"my-8 space-y-3",children:u.items.map((d,m)=>O.jsxs("li",{className:"flex items-start",children:[O.jsx("span",{className:"text-primary mr-3 mt-1.5 h-1.5 w-1.5 rounded-full bg-primary shrink-0"}),O.jsx("span",{className:"text-foreground/80",children:d})]},m))},c);default:return null}})})]},s.id))]})})]}),O.jsx("footer",{className:"bg-muted py-12 text-center border-t border-border",children:O.jsxs("div",{className:"max-w-2xl mx-auto px-6 space-y-4",children:[O.jsxs("p",{className:"text-sm text-muted-foreground font-mono",children:["VIBE GENOMICS © ",new Date().getFullYear()]}),O.jsx("p",{className:"text-xs text-muted-foreground/70 italic",children:"This article is for entertainment and research purposes only. Do not sequence your own genome expecting medical insights without a professional."})]})})]})}function GE(){const[e,i]=D.useState(""),[r,a]=D.useState(null),[s,u]=D.useState(""),c=async()=>{u("");try{const d=await fetch(`/api/visits/stats?key=${encodeURIComponent(e)}`);
15if(!d.ok){u("Invalid key");return}a(await d.json())}catch{u("Failed to fetch")}};return O.jsxs("div",{className:"min-h-screen bg-background p-8 max-w-2xl mx-auto font-sans",children:[O.jsx("h1",{className:"text-2xl font-serif font-bold mb-6",children:"Visit Stats"}),r?O.jsxs("div",{className:"space-y-6",children:[O.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[O.jsxs("div",{className:"p-4 bg-card border border-border rounded-lg",children:[O.jsx("div",{className:"text-3xl font-bold font-mono",children:r.total}),O.jsx("div",{className:"text-sm text-muted-foreground",children:"Total"})]}),O.jsxs("div",{className:"p-4 bg-card border border-border rounded-lg",children:[O.jsx("div",{className:"text-3xl font-bold font-mono",children:r.last24h}),O.jsx("div",{className:"text-sm text-muted-foreground",children:"Last 24h"})]}),O.jsxs("div",{className:"p-4 bg-card border border-border rounded-lg",children:[O.jsx("div",{className:"text-3xl font-bold font-mono",children:r.lastHour}),O.jsx("div",{className:"text-sm text-muted-foreground",children:"Last hour"})]}),O.jsxs("div",{className:"p-4 bg-card border border-border rounded-lg",children:[O.jsx("div",{className:"text-3xl font-bold font-mono",children:r.last7d}),O.jsx("div",{className:"text-sm text-muted-foreground",children:"Last 7 days"})]})]}),O.jsxs("div",{children:[O.jsx("h2",{className:"text-lg font-serif font-bold mb-3",children:"Recent Visits"}),O.jsx("div",{className:"space-y-2",children:r.recent.map((d,m)=>O.jsxs("div",{className:"text-sm border-b border-border/40 py-2",children:[O.jsx("div",{className:"font-mono text-xs text-muted-foreground",children:d.time}),O.jsx("div",{className:"text-foreground/70 truncate",children:d.ua})]},m))})]}),O.jsx("button",{onClick:()=>a(null),className:"text-sm text-muted-foreground underline",children:"Lock"})]}):O.jsxs("div",{className:"space-y-3",children:[O.jsx("input",{type:"password",placeholder:"Enter secret key",value:e,onChange:d=>i(d.target.value),onKeyDown:d=>d.key==="Enter"&&c(),className:"w-full px-4 py-2 border border-border rounded-md bg-card"}),O.jsx("button",{onClick:c,className:"px-4 py-2 bg-primary text-primary-foreground rounded-md",children:"View Stats"}),s&&O.jsx("p",{className:"text-destructive text-sm",children:s})]})]})}function FE(e,i){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const VE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,YE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,QE={};function by(e,i){return(QE.jsx?YE:VE).test(e)}const XE=/[ \t\n\f\r]/g;function KE(e){return typeof e=="object"?e.type==="text"?vy(e.value):!1:vy(e)}function vy(e){return e.replace(XE,"")===""}class pa{constructor(i,r,a){this.normal=r,this.property=i,a&&(this.space=a)}}pa.prototype.normal={};pa.prototype.property={};pa.prototype.space=void 0;function tx(e,i){const r={},a={};for(const s of e)Object.assign(r,s.property),Object.assign(a,s.normal);return new pa(r,a,i)}function Nf(e){return e.toLowerCase()}class _t{constructor(i,r){this.attribute=r,this.property=i}}_t.prototype.attribute="";_t.prototype.booleanish=!1;_t.prototype.boolean=!1;_t.prototype.commaOrSpaceSeparated=!1;_t.prototype.commaSeparated=!1;_t.prototype.defined=!1;_t.prototype.mustUseProperty=!1;_t.prototype.number=!1;_t.prototype.overloadedBoolean=!1;_t.prototype.property="";_t.prototype.spaceSeparated=!1;_t.prototype.space=void 0;let ZE=0;const ke=Ji(),tt=Ji(),Mf=Ji(),re=Ji(),Ye=Ji(),Fr=Ji(),Vt=Ji();function Ji(){return 2**++ZE}const zf=Object.freeze(Object.defineProperty({__proto__:null,boolean:ke,booleanish:tt,commaOrSpaceSeparated:Vt,commaSeparated:Fr,number:re,overloadedBoolean:Mf,spaceSeparated:Ye},Symbol.toStringTag,{value:"Module"})),Wc=Object.keys(zf);class fd extends _t{constructor(i,r,a,s){let u=-1;if(super(i,r),xy(this,"space",s),typeof a=="number")for(;++u<Wc.length;){const c=Wc[u];xy(this,Wc[u],(a&zf[c])===zf[c])}}}fd.prototype.defined=!0;function xy(e,i,r){r&&(e[i]=r)}function Zr(e){const i={},r={};for(const[a,s]of Object.entries(e.properties)){const u=new fd(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(u.mustUseProperty=!0),i[a]=u,r[Nf(a)]=a,r[Nf(u.attribute)]=a}return new pa(i,r,e.space)}const nx=Zr({properties:{ariaActiveDescendant:null,ariaAtomic:tt,ariaAutoComplete:null,ariaBusy:tt,ariaChecked:tt,ariaColCount:re,ariaColIndex:re,ariaColSpan:re,ariaControl
vendor: 4,622 bytes, line 15
15s:Ye,ariaCurrent:null,ariaDescribedBy:Ye,ariaDetails:null,ariaDisabled:tt,ariaDropEffect:Ye,ariaErrorMessage:null,ariaExpanded:tt,ariaFlowTo:Ye,ariaGrabbed:tt,ariaHasPopup:null,ariaHidden:tt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ye,ariaLevel:re,ariaLive:null,ariaModal:tt,ariaMultiLine:tt,ariaMultiSelectable:tt,ariaOrientation:null,ariaOwns:Ye,ariaPlaceholder:null,ariaPosInSet:re,ariaPressed:tt,ariaReadOnly:tt,ariaRelevant:null,ariaRequired:tt,ariaRoleDescription:Ye,ariaRowCount:re,ariaRowIndex:re,ariaRowSpan:re,ariaSelected:tt,ariaSetSize:re,ariaSort:null,ariaValueMax:re,ariaValueMin:re,ariaValueNow:re,ariaValueText:null,role:null},transform(e,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function ix(e,i){return i in e?e[i]:i}function rx(e,i){return ix(e,i.toLowerCase())}const $E=Zr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fr,acceptCharset:Ye,accessKey:Ye,action:null,allow:null,allowFullScreen:ke,allowPaymentRequest:ke,allowUserMedia:ke,alt:null,as:null,async:ke,autoCapitalize:null,autoComplete:Ye,autoFocus:ke,autoPlay:ke,blocking:Ye,capture:null,charSet:null,checked:ke,cite:null,className:Ye,cols:re,colSpan:null,content:null,contentEditable:tt,controls:ke,controlsList:Ye,coords:re|Fr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ke,defer:ke,dir:null,dirName:null,disabled:ke,download:Mf,draggable:tt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ke,formTarget:null,headers:Ye,height:re,hidden:Mf,high:re,href:null,hrefLang:null,htmlFor:Ye,httpEquiv:Ye,id:null,imageSizes:null,imageSrcSet:null,inert:ke,inputMode:null,integrity:null,is:null,isMap:ke,itemId:null,itemProp:Ye,itemRef:Ye,itemScope:ke,itemType:Ye,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ke,low:re,manifest:null,max:null,maxLength:re,media:null,method:null,min:null,minLength:re,multiple:ke,muted:ke,name:null,nonce:null,noModule:ke,noValidate:ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ke,optimum:re,pattern:null,ping:Ye,placeholder:null,playsInline:ke,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ke,referrerPolicy:null,rel:Ye,required:ke,reversed:ke,rows:re,rowSpan:re,sandbox:Ye,scope:null,scoped:ke,seamless:ke,selected:ke,shadowRootClonable:ke,shadowRootDelegatesFocus:ke,shadowRootMode:null,shape:null,size:re,sizes:null,slot:null,span:re,spellCheck:tt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:re,step:null,style:null,tabIndex:re,target:null,title:null,translate:null,type:null,typeMustMatch:ke,useMap:null,value:tt,width:re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ye,axis:null,background:null,bgColor:null,border:re,borderColor:null,bottomMargin:re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ke,declare:ke,event:null,face:null,frame:null,frameBorder:null,hSpace:re,leftMargin:re,link:null,longDesc:null,lowSrc:null,marginHeight:re,marginWidth:re,no
15Resize:ke,noHref:ke,noShade:ke,noWrap:ke,object:null,profile:null,prompt:null,rev:null,rightMargin:re,rules:null,scheme:null,scrolling:tt,standby:null,summary:null,text:null,topMargin:re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ke,disableRemotePlayback:ke,prefix:null,property:null,results:re,security:null,unselectable:null},space:"html",transform:rx}),JE=Zr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
15-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Vt,accentHeight:re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:re,amplitude:re,arabicForm:null,ascent:re,attributeName:null,attributeType:null,azimuth:re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:re,by:null,calcMode:null,capHeight:re,className:Ye,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:re,diffuseConstant:re,direction:null,display:null,dur:null,divisor:re,dominantBaseline:null,download:ke,dx:null,dy:null,edgeMode:null,editable:null,elevation:re,enableBackground:null,end:null,event:null,exponent:re,externalResourcesRequired:null,fill:null,fillOpacity:re,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fr,g2:Fr,glyphName:Fr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:re,horizOriginX:re,horizOriginY:re,id:null,ideographic:re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:re,k:re,k1:re,k2:re,k3:re,k4:re,kernelMatrix:Vt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:re,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:re,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 5,386 bytes, lines 15-16
15Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:re,overlineThickness:re,paintOrder:null,panose1:null,path:null,pathLength:re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ye,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:re,pointsAtY:re,pointsAtZ:re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Vt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Vt,rev:Vt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Vt,requiredFeatures:Vt,requiredFonts:Vt,requiredFormats:Vt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:re,specularExponent:re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:re,strikethroughThickness:re,string:null,stroke:null,strokeDashArray:Vt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:re,strokeOpacity:re,strokeWidth:null,style:null,surfaceScale:re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Vt,tabIndex:re,tableValues:null,target:null,targetX:re,targetY:re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Vt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:re,underlineThickness:re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:re,values:null,vAlphabetic:re,vMathematical:re,vectorEffect:null,vHanging:re,vIdeographic:re,version:null,vertAdvY:re,vertOriginX:re,vertOriginY:re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ix}),lx=Zr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,i){return"xlink:"+i.slice(5).toLowerCase()}}),ax=Zr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:rx}),ox=Zr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,i){return"xml:"+i.slice(3).toLowerCase()}}),WE={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},eC=/[A-Z]/g,wy=/-[a-z]/g,tC=/^data[-\w.:]+$/i;function nC(e,i){const r=Nf(i);let a=i,s=_t;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&tC.test(i)){if(i.charAt(4)==="-"){const u=i.slice(5).replace(wy,rC);a="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=i.slice(4);if(!wy.test(u)){let c=u.replace(eC,iC);c.charAt(0)!=="-"&&(c="-"+c),i="data"+c}}s=fd}return new s(a,i)}function iC(e){return"-"+e.toLowerCase()}function rC(e){return e.charAt(1).toUpperCase()}const lC=tx([nx,$E,lx,ax,ox],"html"),dd=tx([nx,JE,lx,ax,ox],"svg");function aC(e){return e.join(" ").trim()}var Pr={},ef,Sy;function oC(){if(Sy)return ef;Sy=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,m=` 16`,h="/",g="*",y="",w="comment",v="declaration";function k(E,C){if(typeof E!="string")throw new TypeError("First argument must be a string");if(!E)return[];C=C||{};var L=1,M=1;function G(K){var Z=K.match(i);Z&&(L+=Z.length);var _=K.lastIndexOf(m);M=~_?K.length-_:M+K.length}function I(){var K={line:L,column:M};return function(Z){return Z.position=new z(K),ae(),Z}}function z(K){this.start=K,this.end={line:L,column:M},this.source=C.source}z.prototype.content=E;function W(K){var Z=new Error(C.source+":"+L+":"+M+": "+K);if(Z.reason=K,Z.filename=C.source,Z.line=L,Z.column=M,Z.source=E,!C.silent)throw Z}function V(K){var Z=K.exec(E);if(Z){var _=Z[0];return G(_),E=E.slice(_.length),Z}}function ae(){V(r)}function B(K){var Z;for(K=K||[];Z=ne();)Z!==!1&&K.push(Z);return K}function ne(){var K=I();if(!(h!=E.charAt(0)||g!=E.charAt(1))){for(var Z=2;y!=E.charAt(Z)&&(g!=E.charAt(Z)||h!=E.charAt(Z+1));)++Z;if(Z+=2,y===E.charAt(Z-1))return W("End of comment missing");var _=E.slice(2,Z-2);return M+=2,G(_),E=E.slice(Z),M+=2,K({type:w,comment:_})}}function te(){var K=I(),Z=V(a);if(Z){if(ne(),!V(s))return W("property missing ':'");var _=V(u),F=K({type:v,property:T(Z[0].replace(e,y)),value:_?T(_[0].replace(e,y)):y});return V(c),F}}function fe(){var K=[];B(K);for(var Z;Z=te();)Z!==!1&&(K.push(Z),B(K));return K}return ae(),fe()}function T(E){return E?E.replace(d,y):y}return ef=k,ef}var ky;function sC(){if(ky)return Pr;ky=1;var e=Pr&&Pr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};
vendor: 3,714 bytes, line 16
16Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=r;const i=e(oC());function r(a,s){let u=null;if(!a||typeof a!="string")return u;const c=(0,i.default)(a),d=typeof s=="function";return c.forEach(m=>{if(m.type!=="declaration")return;const{property:h,value:g}=m;d?s(h,g,m):g&&(u=u||{},u[h]=g)}),u}return Pr}var Jl={},Ay;function uC(){if(Ay)return Jl;Ay=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,u=function(h){return!h||r.test(h)||e.test(h)},c=function(h,g){return g.toUpperCase()},d=function(h,g){return"".concat(g,"-")},m=function(h,g){return g===void 0&&(g={}),u(h)?h:(h=h.toLowerCase(),g.reactCompat?h=h.replace(s,d):h=h.replace(a,d),h.replace(i,c))};return Jl.camelCase=m,Jl}var Wl,Ty;function cC(){if(Ty)return Wl;Ty=1;var e=Wl&&Wl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},i=e(sC()),r=uC();function a(s,u){var c={};return!s||typeof s!="string"||(0,i.default)(s,function(d,m){d&&m&&(c[(0,r.camelCase)(d,u)]=m)}),c}return a.default=a,Wl=a,Wl}var fC=cC();const dC=is(fC),sx=ux("end"),hd=ux("start");function ux(e){return i;function i(r){const a=r&&r.position&&r.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function hC(e){const i=hd(e),r=sx(e);if(i&&r)return{start:i,end:r}}function ia(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ey(e.position):"start"in e||"end"in e?Ey(e):"line"in e||"column"in e?_f(e):""}function _f(e){return Cy(e&&e.line)+":"+Cy(e&&e.column)}function Ey(e){return _f(e&&e.start)+"-"+_f(e&&e.end)}function Cy(e){return e&&typeof e=="number"?e:1}class vt extends Error{constructor(i,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let s="",u={},c=!1;if(r&&("line"in r&&"column"in r?u={place:r}:"start"in r&&"end"in r?u={place:r}:"type"in r?u={ancestors:[r],place:r.position}:u={...r}),typeof i=="string"?s=i:!u.cause&&i&&(c=!0,s=i.message,u.cause=i),!u.ruleId&&!u.source&&typeof a=="string"){const m=a.indexOf(":");m===-1?u.ruleId=a:(u.source=a.slice(0,m),u.ruleId=a.slice(m+1))}if(!u.place&&u.ancestors&&u.ancestors){const m=u.ancestors[u.ancestors.length-1];m&&(u.place=m.position)}const d=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=ia(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=c&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}vt.prototype.file="";vt.prototype.name="";vt.prototype.reason="";vt.prototype.message="";vt.prototype.stack="";vt.prototype.column=void 0;vt.prototype.line=void 0;vt.prototype.ancestors=void 0;vt.prototype.cause=void 0;vt.prototype.fatal=void 0;vt.prototype.place=void 0;vt.prototype.ruleId=void 0;vt.prototype.source=void 0;const pd={}.hasOwnProperty,pC=new Map,mC=/[A-Z]/g,gC=new Set(["table","tbody","thead","tfoot","tr"]),yC=new Set(["td","th"]),cx="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function bC(e,i){if(!i||i.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=i.filePath||void 0;let a;if(i.development){if(typeof i.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=EC(r,i.jsxDEV)}else{if(typeof i.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 5,854 bytes, line 16
16if(typeof i.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=TC(r,i.jsx,i.jsxs)}const s={Fragment:i.Fragment,ancestors:[],components:i.components||{},create:a,elementAttributeNameCase:i.elementAttributeNameCase||"react",evaluater:i.createEvaluater?i.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:i.ignoreInvalidStyle||!1,passKeys:i.passKeys!==!1,passNode:i.passNode||!1,schema:i.space==="svg"?dd:lC,stylePropertyNameCase:i.stylePropertyNameCase||"dom",tableCellAlignToStyle:i.tableCellAlignToStyle!==!1},u=fx(s,e,void 0);return u&&typeof u!="string"?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}function fx(e,i,r){if(i.type==="element")return vC(e,i,r);if(i.type==="mdxFlowExpression"||i.type==="mdxTextExpression")return xC(e,i);if(i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement")return SC(e,i,r);if(i.type==="mdxjsEsm")return wC(e,i);if(i.type==="root")return kC(e,i,r);if(i.type==="text")return AC(e,i)}function vC(e,i,r){const a=e.schema;let s=a;i.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=dd,e.schema=s),e.ancestors.push(i);const u=hx(e,i.tagName,!1),c=CC(e,i);let d=gd(e,i);return gC.has(i.tagName)&&(d=d.filter(function(m){return typeof m=="string"?!KE(m):!0})),dx(e,c,u,i),md(c,d),e.ancestors.pop(),e.schema=a,e.create(i,u,c,r)}function xC(e,i){if(i.data&&i.data.estree&&e.evaluater){const a=i.data.estree.body[0];return a.type,e.evaluater.evaluateExpression(a.expression)}ua(e,i.position)}function wC(e,i){if(i.data&&i.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(i.data.estree);ua(e,i.position)}function SC(e,i,r){const a=e.schema;let s=a;i.name==="svg"&&a.space==="html"&&(s=dd,e.schema=s),e.ancestors.push(i);const u=i.name===null?e.Fragment:hx(e,i.name,!0),c=OC(e,i),d=gd(e,i);return dx(e,c,u,i),md(c,d),e.ancestors.pop(),e.schema=a,e.create(i,u,c,r)}function kC(e,i,r){const a={};return md(a,gd(e,i)),e.create(i,e.Fragment,a,r)}function AC(e,i){return i.value}function dx(e,i,r,a){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(i.node=a)}function md(e,i){if(i.length>0){const r=i.length>1?i:i[0];r&&(e.children=r)}}function TC(e,i,r){return a;function a(s,u,c,d){const h=Array.isArray(c.children)?r:i;return d?h(u,c,d):h(u,c)}}function EC(e,i){return r;function r(a,s,u,c){const d=Array.isArray(u.children),m=hd(a);return i(s,u,c,d,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function CC(e,i){const r={};let a,s;for(s in i.properties)if(s!=="children"&&pd.call(i.properties,s)){const u=RC(e,s,i.properties[s]);if(u){const[c,d]=u;e.tableCellAlignToStyle&&c==="align"&&typeof d=="string"&&yC.has(i.tagName)?a=d:r[c]=d}}if(a){const u=r.style||(r.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return r}function OC(e,i){const r={};for(const a of i.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){const u=a.data.estree.body[0];u.type;const c=u.expression;c.type;const d=c.properties[0];d.type,Object.assign(r,e.evaluater.evaluateExpression(d.argument))}else ua(e,i.position);else{const s=a.name;let u;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&e.evaluater){const d=a.value.data.estree.body[0];d.type,u=e.evaluater.evaluateExpression(d.expression)}else ua(e,i.position);else u=a.value===null?!0:a.value;r[s]=u}return r}function gd(e,i){const r=[];let a=-1;const s=e.passKeys?new Map:pC;for(;++a<i.children.length;){const u=i.children[a];let c;if(e.passKeys){const m=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(m){const h=s.get(m)||0;c=m+"-"+h,s.set(m,h+1)}}const d=fx(e,u,c);d!==void 0&&r.push(d)}return r}function RC(e,i,r){const a=nC(e.schema,i);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=a.commaSeparated?FE(r):aC(r)),a.property==="style"){let s=typeof r=="object"?r:DC(e,String(r));return e.stylePropertyNameCase==="css"&&(s=NC(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&a.space?WE[a.property]||a.property:a.attribute,r]}}function DC(e,i){try{return dC(i,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const a=r,s=new vt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=cx+"#cannot-parse-style-attribute",s}}function hx(e,i,r){let a;if(!r)a={type:"Literal",value:i};else if(i.includes(".")){const s=i.split(".");let u=-1,c;for(;++u<s.length;){const d=by(s[u])?{type:"Identifier",name:s[u]}:{type:"Literal",value:s[u]};c=c?{type:"MemberExpression",object:c,property:d,computed:!!(u&&d.type==="Literal"),optional:!1}:d}a=c}else a=by(i)&&!/^[a-z]/.test(i)?{type:"Identifier",name:i}:{type:"Literal",value:i};if(a.type==="Literal"){const s=a.value;return pd.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(a);ua(e)}function ua(e,i){const r=new vt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:i,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=cx+"#cannot-handle-mdx-estrees-without-createevaluater",r}function NC(e){const i={};let r;for(r in e)pd.call(e,r)&&(i[MC(r)]=e[r]);return i}function MC(e){let i=e.replace(mC,zC);return i.slice(0,3)==="ms-"&&(i="-"+i),i}function zC(e){return"-"+e.toLowerCase()}const tf={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},_C={};function yd(e,i){const r=_C,a=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,s=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return px(e,a,s)}
vendor: 12,717 bytes, line 16
16function px(e,i,r){if(LC(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(i&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Oy(e.children,i,r)}return Array.isArray(e)?Oy(e,i,r):""}function Oy(e,i,r){const a=[];let s=-1;for(;++s<e.length;)a[s]=px(e[s],i,r);return a.join("")}function LC(e){return!!(e&&typeof e=="object")}const Ry=document.createElement("i");function bd(e){const i="&"+e+";";Ry.innerHTML=i;const r=Ry.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===i?!1:r}function Xt(e,i,r,a){const s=e.length;let u=0,c;if(i<0?i=-i>s?0:s+i:i=i>s?s:i,r=r>0?r:0,a.length<1e4)c=Array.from(a),c.unshift(i,r),e.splice(...c);else for(r&&e.splice(i,r);u<a.length;)c=a.slice(u,u+1e4),c.unshift(i,0),e.splice(...c),u+=1e4,i+=1e4}function on(e,i){return e.length>0?(Xt(e,e.length,0,i),e):i}const Dy={}.hasOwnProperty;function mx(e){const i={};let r=-1;for(;++r<e.length;)jC(i,e[r]);return i}function jC(e,i){let r;for(r in i){const s=(Dy.call(e,r)?e[r]:void 0)||(e[r]={}),u=i[r];let c;if(u)for(c in u){Dy.call(s,c)||(s[c]=[]);const d=u[c];BC(s[c],Array.isArray(d)?d:d?[d]:[])}}}function BC(e,i){let r=-1;const a=[];for(;++r<i.length;)(i[r].add==="after"?e:a).push(i[r]);Xt(e,0,0,a)}function gx(e,i){const r=Number.parseInt(e,i);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function hn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const kt=Oi(/[A-Za-z]/),bt=Oi(/[\dA-Za-z]/),UC=Oi(/[#-'*+\--9=?A-Z^-~]/);function Wo(e){return e!==null&&(e<32||e===127)}const Lf=Oi(/\d/),qC=Oi(/[\dA-Fa-f]/),PC=Oi(/[!-/:-@[-`{-~]/);function ye(e){return e!==null&&e<-2}function Fe(e){return e!==null&&(e<0||e===32)}function De(e){return e===-2||e===-1||e===32}const bs=Oi(new RegExp("\\p{P}|\\p{S}","u")),Zi=Oi(/\s/);function Oi(e){return i;function i(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function $r(e){const i=[];let r=-1,a=0,s=0;for(;++r<e.length;){const u=e.charCodeAt(r);let c="";if(u===37&&bt(e.charCodeAt(r+1))&&bt(e.charCodeAt(r+2)))s=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(c=String.fromCharCode(u));else if(u>55295&&u<57344){const d=e.charCodeAt(r+1);u<56320&&d>56319&&d<57344?(c=String.fromCharCode(u,d),s=1):c="�"}else c=String.fromCharCode(u);c&&(i.push(e.slice(a,r),encodeURIComponent(c)),a=r+s+1,c=""),s&&(r+=s,s=0)}return i.join("")+e.slice(a)}function ze(e,i,r,a){const s=a?a-1:Number.POSITIVE_INFINITY;let u=0;return c;function c(m){return De(m)?(e.enter(r),d(m)):i(m)}function d(m){return De(m)&&u++<s?(e.consume(m),d):(e.exit(r),i(m))}}const HC={tokenize:IC};function IC(e){const i=e.attempt(this.parser.constructs.contentInitial,a,s);let r;return i;function a(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ze(e,i,"linePrefix")}function s(d){return e.enter("paragraph"),u(d)}function u(d){const m=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=m),r=m,c(d)}function c(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return ye(d)?(e.consume(d),e.exit("chunkText"),u):(e.consume(d),c)}}const GC={tokenize:FC},Ny={tokenize:VC};function FC(e){const i=this,r=[];let a=0,s,u,c;return d;function d(M){if(a<r.length){const G=r[a];return i.containerState=G[1],e.attempt(G[0].continuation,m,h)(M)}return h(M)}function m(M){if(a++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,s&&L();const G=i.events.length;let I=G,z;for(;I--;)if(i.events[I][0]==="exit"&&i.events[I][1].type==="chunkFlow"){z=i.events[I][1].end;break}C(a);let W=G;for(;W<i.events.length;)i.events[W][1].end={...z},W++;return Xt(i.events,I+1,0,i.events.slice(G)),i.events.length=W,h(M)}return d(M)}function h(M){if(a===r.length){if(!s)return w(M);if(s.currentConstruct&&s.currentConstruct.concrete)return k(M);i.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(Ny,g,y)(M)}function g(M){return s&&L(),C(a),w(M)}function y(M){return i.parser.lazy[i.now().line]=a!==r.length,c=i.now().offset,k(M)}function w(M){return i.containerState={},e.attempt(Ny,v,k)(M)}function v(M){return a++,r.push([i.currentConstruct,i.containerState]),w(M)}function k(M){if(M===null){s&&L(),C(0),e.consume(M);return}return s=s||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:u}),T(M)}function T(M){if(M===null){E(e.exit("chunkFlow"),!0),C(0),e.consume(M);return}return ye(M)?(e.consume(M),E(e.exit("chunkFlow")),a=0,i.interrupt=void 0,d):(e.consume(M),T)}function E(M,G){const I=i.sliceStream(M);if(G&&I.push(null),M.previous=u,u&&(u.next=M),u=M,s.defineSkip(M.start),s.write(I),i.parser.lazy[M.start.line]){let z=s.events.length;for(;z--;)if(s.events[z][1].start.offset<c&&(!s.events[z][1].end||s.events[z][1].end.offset>c))return;const W=i.events.length;let V=W,ae,B;for(;V--;)if(i.events[V][0]==="exit"&&i.events[V][1].type==="chunkFlow"){if(ae){B=i.events[V][1].end;break}ae=!0}for(C(a),z=W;z<i.events.length;)i.events[z][1].end={...B},z++;Xt(i.events,V+1,0,i.events.slice(W)),i.events.length=z}}function C(M){let G=r.length;for(;G-- >M;){const I=r[G];i.containerState=I[1],I[0].exit.call(i,e)}r.length=M}function L(){s.write([null]),u=void 0,s=void 0,i.containerState._closeFlow=void 0}}function VC(e,i,r){return ze(e,e.attempt(this.parser.constructs.document,i,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Qr(e){if(e===null||Fe(e)||Zi(e))return 1;if(bs(e))return 2}function vs(e,i,r){const a=[];let s=-1;for(;++s<e.length;){const u=e[s].resolveAll;u&&!a.includes(u)&&(i=u(i,r),a.push(u))}return i}const jf={name:"attention",resolveAll:YC,tokenize:QC};function YC(e,i){let r=-1,a,s,u,c,d,m,h,g;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(a=r;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&i.sliceSerialize(e[a][1]).charCodeAt(0)===i.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[a][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;m=e[a][1].end.offset-e[a][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const y={...e[a][1].end},w={...e[r][1].start};My(y,-m),My(w,m),c={type:m>1?"strongSequence":"emphasisSequence",start:y,end:{...e[a][1].end}},d={type:m>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:w},u={type:m>1?"strongText":"emphasisText",start:{...e[a][1].end},end:{...e[r][1].start}},s={type:m>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},e[a][1].end={...c.start},e[r][1].start={...d.end},h=[],e[a][1].end.offset-e[a][1].start.offset&&(h=on(h,[["enter",e[a][1],i],["exit",e[a][1],i]])),h=on(h,[["enter",s,i],["enter",c,i],["exit",c,i],["enter",u,i]]),h=on(h,vs(i.parser.constructs.insideSpan.null,e.slice(a+1,r),i)),h=on(h,[["exit",u,i],["enter",d,i],["exit",d,i],["exit",s,i]]),e[r][1].end.offset-e[r][1].start.offset?(g=2,h=on(h,[["enter",e[r][1],i],["exit",e[r][1],i]])):g=0,Xt(e,a-1,r-a+3,h),r=a+h.length-g-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function QC(e,i){const r=this.parser.constructs.attentionMarkers.null,a=this.previous,s=Qr(a);let u;return c;function c(m){return u=m,e.enter("attentionSequence"),d(m)}function d(m){if(m===u)return e.consume(m),d;const h=e.exit("attentionSequence"),g=Qr(m),y=!g||g===2&&s||r.includes(m),w=!s||s===2&&g||r.includes(a);return h._open=!!(u===42?y:y&&(s||!w)),h._close=!!(u===42?w:w&&(g||!y)),i(m)}}function My(e,i){e.column+=i,e.offset+=i,e._bufferIndex+=i}const XC={name:"autolink",tokenize:KC};function KC(e,i,r){let a=0;return s;function s(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(v){return kt(v)?(e.consume(v),c):v===64?r(v):h(v)}function c(v){return v===43||v===45||v===46||bt(v)?(a=1,d(v)):h(v)}function d(v){return v===58?(e.consume(v),a=0,m):(v===43||v===45||v===46||bt(v))&&a++<32?(e.consume(v),d):(a=0,h(v))}function m(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),i):v===null||v===32||v===60||Wo(v)?r(v):(e.consume(v),m)}function h(v){return v===64?(e.consume(v),g):UC(v)?(e.consume(v),h):r(v)}function g(v){return bt(v)?y(v):r(v)}function y(v){return v===46?(e.consume(v),a=0,g):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),i):w(v)}function w(v){if((v===45||bt(v))&&a++<63){const k=v===45?w:y;return e.consume(v),k}return r(v)}}const ma={partial:!0,tokenize:ZC};function ZC(e,i,r){return a;function a(u){return De(u)?ze(e,s,"linePrefix")(u):s(u)}function s(u){return u===null||ye(u)?i(u):r(u)}}const yx={continuation:{tokenize:JC},exit:WC,name:"blockQuote",tokenize:$C};function $C(e,i,r){const a=this;return s;function s(c){if(c===62){const d=a.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),u}return r(c)}function u(c){return De(c)?(e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),i):(e.exit("blockQuotePrefix"),i(c))}}function JC(e,i,r){const a=this;return s;function s(c){return De(c)?ze(e,u,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):u(c)}function u(c){return e.attempt(yx,i,r)(c)}}function WC(e){e.exit("blockQuote")}const bx={name:"characterEscape",tokenize:e2};function e2(e,i,r){return a;function a(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),s}function s(u){return PC(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),i):r(u)}}const vx={name:"characterReference",tokenize:t2};function t2(e,i,r){const a=this;let s=0,u,c;return d;function d(y){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),m}function m(y){return y===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(y),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),u=31,c=bt,g(y))}function h(y){return y===88||y===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(y),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,c=qC,g):(e.enter("characterReferenceValue"),u=7,c=Lf,g(y))}function g(y){if(y===59&&s){const w=e.exit("characterReferenceValue");return c===bt&&!bd(a.sliceSerialize(w))?r(y):(e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),e.exit("characterReference"),i)}return c(y)&&s++<u?(e.consume(y),g):r(y)}}const zy={partial:!0,tokenize:i2},_y={concrete:!0,name:"codeFenced",tokenize:n2};function n2(e,i,r){const a=this,s={partial:!0,tokenize:I};let u=0,c=0,d;return m;function m(z){return h(z)}function h(z){const W=a.events[a.events.length-1];return u=W&&W[1].type==="linePrefix"?W[2].sliceSerialize(W[1],!0).length:0,d=z,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(z)}function g(z){return z===d?(c++,e.consume(z),g):c<3?r(z):(e.exit("codeFencedFenceSequence"),De(z)?ze(e,y,"whitespace")(z):y(z))}function y(z){return z===null||ye(z)?(e.exit("codeFencedFence"),a.interrupt?i(z):e.check(zy,T,G)(z)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),w(z))}function w(z){return z===null||ye(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),y(z)):De(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ze(e,v,"whitespace")(z)):z===96&&z===d?r(z):(e.consume(z),w)}function v(z){return z===null||ye(z)?y(z):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),k(z))}function k(z){return z===null||ye(z)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(z)):z===96&&z===d?r(z):(e.consume(z),k)}function T(z){return e.attempt(s,G,E)(z)}function E(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),C}function C(z){return u>0&&De(z)?ze(e,L,"linePrefix",u+1)(z):L(z)}function L(z){return z===null||ye(z)?e.check(zy,T,G)(z):(e.enter("codeFlowValue"),M(z))}function M(z){return z===null||ye(z)?(e.exit("codeFlowValue"),L(z)):(e.consume(z),M)}function G(z){return e.exit("codeFenced"),i(z)}function I(z,W,V){let ae=0;return B;function B(Z){return z.enter("lineEnding"),z.consume(Z),z.exit("lineEnding"),ne}
vendor: 5,804 bytes, line 16
16function ne(Z){return z.enter("codeFencedFence"),De(Z)?ze(z,te,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):te(Z)}function te(Z){return Z===d?(z.enter("codeFencedFenceSequence"),fe(Z)):V(Z)}function fe(Z){return Z===d?(ae++,z.consume(Z),fe):ae>=c?(z.exit("codeFencedFenceSequence"),De(Z)?ze(z,K,"whitespace")(Z):K(Z)):V(Z)}function K(Z){return Z===null||ye(Z)?(z.exit("codeFencedFence"),W(Z)):V(Z)}}}function i2(e,i,r){const a=this;return s;function s(c){return c===null?r(c):(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u)}function u(c){return a.parser.lazy[a.now().line]?r(c):i(c)}}const nf={name:"codeIndented",tokenize:l2},r2={partial:!0,tokenize:a2};function l2(e,i,r){const a=this;return s;function s(h){return e.enter("codeIndented"),ze(e,u,"linePrefix",5)(h)}function u(h){const g=a.events[a.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?c(h):r(h)}function c(h){return h===null?m(h):ye(h)?e.attempt(r2,c,m)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||ye(h)?(e.exit("codeFlowValue"),c(h)):(e.consume(h),d)}function m(h){return e.exit("codeIndented"),i(h)}}function a2(e,i,r){const a=this;return s;function s(c){return a.parser.lazy[a.now().line]?r(c):ye(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):ze(e,u,"linePrefix",5)(c)}function u(c){const d=a.events[a.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?i(c):ye(c)?s(c):r(c)}}const o2={name:"codeText",previous:u2,resolve:s2,tokenize:c2};function s2(e){let i=e.length-4,r=3,a,s;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[i][1].type==="lineEnding"||e[i][1].type==="space")){for(a=r;++a<i;)if(e[a][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[i][1].type="codeTextPadding",r+=2,i-=2;break}}for(a=r-1,i++;++a<=i;)s===void 0?a!==i&&e[a][1].type!=="lineEnding"&&(s=a):(a===i||e[a][1].type==="lineEnding")&&(e[s][1].type="codeTextData",a!==s+2&&(e[s][1].end=e[a-1][1].end,e.splice(s+2,a-s-2),i-=a-s-2,a=s+2),s=void 0);return e}function u2(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function c2(e,i,r){let a=0,s,u;return c;function c(y){return e.enter("codeText"),e.enter("codeTextSequence"),d(y)}function d(y){return y===96?(e.consume(y),a++,d):(e.exit("codeTextSequence"),m(y))}function m(y){return y===null?r(y):y===32?(e.enter("space"),e.consume(y),e.exit("space"),m):y===96?(u=e.enter("codeTextSequence"),s=0,g(y)):ye(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),m):(e.enter("codeTextData"),h(y))}function h(y){return y===null||y===32||y===96||ye(y)?(e.exit("codeTextData"),m(y)):(e.consume(y),h)}function g(y){return y===96?(e.consume(y),s++,g):s===a?(e.exit("codeTextSequence"),e.exit("codeText"),i(y)):(u.type="codeTextData",h(y))}}class f2{constructor(i){this.left=i?[...i]:[],this.right=[]}get(i){if(i<0||i>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+i+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return i<this.left.length?this.left[i]:this.right[this.right.length-i+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(i,r){const a=r??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(i,a):i>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-i+this.left.length).reverse():this.left.slice(i).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(i,r,a){const s=r||0;this.setCursor(Math.trunc(i));const u=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return a&&ea(this.left,a),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(i){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(i)}pushMany(i){this.setCursor(Number.POSITIVE_INFINITY),ea(this.left,i)}unshift(i){this.setCursor(0),this.right.push(i)}unshiftMany(i){this.setCursor(0),ea(this.right,i.reverse())}setCursor(i){if(!(i===this.left.length||i>this.left.length&&this.right.length===0||i<0&&this.left.length===0))if(i<this.left.length){const r=this.left.splice(i,Number.POSITIVE_INFINITY);ea(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-i,Number.POSITIVE_INFINITY);ea(this.left,r.reverse())}}}function ea(e,i){let r=0;if(i.length<1e4)e.push(...i);else for(;r<i.length;)e.push(...i.slice(r,r+1e4)),r+=1e4}function xx(e){const i={};let r=-1,a,s,u,c,d,m,h;const g=new f2(e);for(;++r<g.length;){for(;r in i;)r=i[r];if(a=g.get(r),r&&a[1].type==="chunkFlow"&&g.get(r-1)[1].type==="listItemPrefix"&&(m=a[1]._tokenizer.events,u=0,u<m.length&&m[u][1].type==="lineEndingBlank"&&(u+=2),u<m.length&&m[u][1].type==="content"))for(;++u<m.length&&m[u][1].type!=="content";)m[u][1].type==="chunkText"&&(m[u][1]._isInFirstContentOfListItem=!0,u++);if(a[0]==="enter")a[1].contentType&&(Object.assign(i,d2(g,r)),r=i[r],h=!0);else if(a[1]._container){for(u=r,s=void 0;u--;)if(c=g.get(u),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(s&&(g.get(s)[1].type="lineEndingBlank"),c[1].type="lineEnding",s=u);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;s&&(a[1].end={...g.get(s)[1].start},d=g.slice(s,r),d.unshift(a),g.splice(s,r-s+1,d))}}return Xt(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function d2(e,i){const r=e.get(i)[1],a=e.get(i)[2];let s=i-1;const u=[];let c=r._tokenizer;c||(c=a.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const d=c.events,m=[],h={};let g,y,w=-1,v=r,k=0,T=0;const E=[T];for(;v;){for(;e.get(++s)[1]!==v;);u.push(s),v._tokenizer||(g=a.sliceStream(v),v.next||g.push(null),y&&c.defineSki
vendor: 22,253 bytes, line 16
16p(v.start),v._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(g),v._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),y=v,v=v.next}for(v=r;++w<d.length;)d[w][0]==="exit"&&d[w-1][0]==="enter"&&d[w][1].type===d[w-1][1].type&&d[w][1].start.line!==d[w][1].end.line&&(T=w+1,E.push(T),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(c.events=[],v?(v._tokenizer=void 0,v.previous=void 0):E.pop(),w=E.length;w--;){const C=d.slice(E[w],E[w+1]),L=u.pop();m.push([L,L+C.length-1]),e.splice(L,2,C)}for(m.reverse(),w=-1;++w<m.length;)h[k+m[w][0]]=k+m[w][1],k+=m[w][1]-m[w][0]-1;return h}const h2={resolve:m2,tokenize:g2},p2={partial:!0,tokenize:y2};function m2(e){return xx(e),e}function g2(e,i){let r;return a;function a(d){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?u(d):ye(d)?e.check(p2,c,u)(d):(e.consume(d),s)}function u(d){return e.exit("chunkContent"),e.exit("content"),i(d)}function c(d){return e.consume(d),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,s}}function y2(e,i,r){const a=this;return s;function s(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),ze(e,u,"linePrefix")}function u(c){if(c===null||ye(c))return r(c);const d=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?i(c):e.interrupt(a.parser.constructs.flow,r,i)(c)}}function wx(e,i,r,a,s,u,c,d,m){const h=m||Number.POSITIVE_INFINITY;let g=0;return y;function y(C){return C===60?(e.enter(a),e.enter(s),e.enter(u),e.consume(C),e.exit(u),w):C===null||C===32||C===41||Wo(C)?r(C):(e.enter(a),e.enter(c),e.enter(d),e.enter("chunkString",{contentType:"string"}),T(C))}function w(C){return C===62?(e.enter(u),e.consume(C),e.exit(u),e.exit(s),e.exit(a),i):(e.enter(d),e.enter("chunkString",{contentType:"string"}),v(C))}function v(C){return C===62?(e.exit("chunkString"),e.exit(d),w(C)):C===null||C===60||ye(C)?r(C):(e.consume(C),C===92?k:v)}function k(C){return C===60||C===62||C===92?(e.consume(C),v):v(C)}function T(C){return!g&&(C===null||C===41||Fe(C))?(e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(a),i(C)):g<h&&C===40?(e.consume(C),g++,T):C===41?(e.consume(C),g--,T):C===null||C===32||C===40||Wo(C)?r(C):(e.consume(C),C===92?E:T)}function E(C){return C===40||C===41||C===92?(e.consume(C),T):T(C)}}function Sx(e,i,r,a,s,u){const c=this;let d=0,m;return h;function h(v){return e.enter(a),e.enter(s),e.consume(v),e.exit(s),e.enter(u),g}function g(v){return d>999||v===null||v===91||v===93&&!m||v===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?r(v):v===93?(e.exit(u),e.enter(s),e.consume(v),e.exit(s),e.exit(a),i):ye(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),y(v))}function y(v){return v===null||v===91||v===93||ye(v)||d++>999?(e.exit("chunkString"),g(v)):(e.consume(v),m||(m=!De(v)),v===92?w:y)}function w(v){return v===91||v===92||v===93?(e.consume(v),d++,y):y(v)}}function kx(e,i,r,a,s,u){let c;return d;function d(w){return w===34||w===39||w===40?(e.enter(a),e.enter(s),e.consume(w),e.exit(s),c=w===40?41:w,m):r(w)}function m(w){return w===c?(e.enter(s),e.consume(w),e.exit(s),e.exit(a),i):(e.enter(u),h(w))}function h(w){return w===c?(e.exit(u),m(c)):w===null?r(w):ye(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),ze(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===c||w===null||ye(w)?(e.exit("chunkString"),h(w)):(e.consume(w),w===92?y:g)}function y(w){return w===c||w===92?(e.consume(w),g):g(w)}}function ra(e,i){let r;return a;function a(s){return ye(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r=!0,a):De(s)?ze(e,a,r?"linePrefix":"lineSuffix")(s):i(s)}}const b2={name:"definition",tokenize:x2},v2={partial:!0,tokenize:w2};function x2(e,i,r){const a=this;let s;return u;function u(v){return e.enter("definition"),c(v)}function c(v){return Sx.call(a,e,d,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return s=hn(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),m):r(v)}function m(v){return Fe(v)?ra(e,h)(v):h(v)}function h(v){return wx(e,g,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function g(v){return e.attempt(v2,y,y)(v)}function y(v){return De(v)?ze(e,w,"whitespace")(v):w(v)}function w(v){return v===null||ye(v)?(e.exit("definition"),a.parser.defined.push(s),i(v)):r(v)}}function w2(e,i,r){return a;function a(d){return Fe(d)?ra(e,s)(d):r(d)}function s(d){return kx(e,u,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function u(d){return De(d)?ze(e,c,"whitespace")(d):c(d)}function c(d){return d===null||ye(d)?i(d):r(d)}}const S2={name:"hardBreakEscape",tokenize:k2};function k2(e,i,r){return a;function a(u){return e.enter("hardBreakEscape"),e.consume(u),s}function s(u){return ye(u)?(e.exit("hardBreakEscape"),i(u)):r(u)}}const A2={name:"headingAtx",resolve:T2,tokenize:E2};function T2(e,i){let r=e.length-2,a=3,s,u;return e[a][1].type==="whitespace"&&(a+=2),r-2>a&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(a===r-1||r-4>a&&e[r-2][1].type==="whitespace")&&(r-=a+1===r?2:4),r>a&&(s={type:"atxHeadingText",start:e[a][1].start,end:e[r][1].end},u={type:"chunkText",start:e[a][1].start,end:e[r][1].end,contentType:"text"},Xt(e,a,r-a+1,[["enter",s,i],["enter",u,i],["exit",u,i],["exit",s,i]])),e}function E2(e,i,r){let a=0;return s;function s(g){return e.enter("atxHeading"),u(g)}function u(g){return e.enter("atxHeadingSequence"),c(g)}function c(g){return g===35&&a++<6?(e.consume(g),c):g===null||Fe(g)?(e.exit("atxHeadingSequence"),d(g)):r(g)}function d(g){return g===35?(e.enter("atxHeadingSequence"),m(g)):g===null||ye(g)?(e.exit("atxHeading"),i(g)):De(g)?ze(e,d,"whitespace")(g):(e.enter("atxHeadingText"),h(g))}function m(g){return g===35?(e.consume(g),m):(e.exit("atxHeadingSequence"),d(g))}function h(g){return g===null||g===35||Fe(g)?(e.exit("atxHeadingText"),d(g)):(e.consume(g),h)}}const C2=["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"],Ly=["pre","script","style","textarea"],O2={concrete:!0,name:"htmlFlow",resolveTo:N2,tokenize:M2},R2={partial:!0,tokenize:_2},D2={partial:!0,tokenize:z2};function N2(e){let i=e.length;for(;i--&&!(e[i][0]==="enter"&&e[i][1].type==="htmlFlow"););return i>1&&e[i-2][1].type==="linePrefix"&&(e[i][1].start=e[i-2][1].start,e[i+1][1].start=e[i-2][1].start,e.splice(i-2,2)),e}function M2(e,i,r){const a=this;let s,u,c,d,m;return h;function h(A){return g(A)}function g(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),y}function y(A){return A===33?(e.consume(A),w):A===47?(e.consume(A),u=!0,T):A===63?(e.consume(A),s=3,a.interrupt?i:b):kt(A)?(e.consume(A),c=String.fromCharCode(A),E):r(A)}function w(A){return A===45?(e.consume(A),s=2,v):A===91?(e.consume(A),s=5,d=0,k):kt(A)?(e.consume(A),s=4,a.interrupt?i:b):r(A)}function v(A){return A===45?(e.consume(A),a.interrupt?i:b):r(A)}function k(A){const se="CDATA[";return A===se.charCodeAt(d++)?(e.consume(A),d===se.length?a.interrupt?i:te:k):r(A)}function T(A){return kt(A)?(e.consume(A),c=String.fromCharCode(A),E):r(A)}function E(A){if(A===null||A===47||A===62||Fe(A)){const se=A===47,pe=c.toLowerCase();return!se&&!u&&Ly.includes(pe)?(s=1,a.interrupt?i(A):te(A)):C2.includes(c.toLowerCase())?(s=6,se?(e.consume(A),C):a.interrupt?i(A):te(A)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(A):u?L(A):M(A))}return A===45||bt(A)?(e.consume(A),c+=String.fromCharCode(A),E):r(A)}function C(A){return A===62?(e.consume(A),a.interrupt?i:te):r(A)}function L(A){return De(A)?(e.consume(A),L):B(A)}function M(A){return A===47?(e.consume(A),B):A===58||A===95||kt(A)?(e.consume(A),G):De(A)?(e.consume(A),M):B(A)}function G(A){return A===45||A===46||A===58||A===95||bt(A)?(e.consume(A),G):I(A)}function I(A){return A===61?(e.consume(A),z):De(A)?(e.consume(A),I):M(A)}function z(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(e.consume(A),m=A,W):De(A)?(e.consume(A),z):V(A)}function W(A){return A===m?(e.consume(A),m=null,ae):A===null||ye(A)?r(A):(e.consume(A),W)}function V(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||Fe(A)?I(A):(e.consume(A),V)}function ae(A){return A===47||A===62||De(A)?M(A):r(A)}function B(A){return A===62?(e.consume(A),ne):r(A)}function ne(A){return A===null||ye(A)?te(A):De(A)?(e.consume(A),ne):r(A)}function te(A){return A===45&&s===2?(e.consume(A),_):A===60&&s===1?(e.consume(A),F):A===62&&s===4?(e.consume(A),Q):A===63&&s===3?(e.consume(A),b):A===93&&s===5?(e.consume(A),de):ye(A)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(R2,le,fe)(A)):A===null||ye(A)?(e.exit("htmlFlowData"),fe(A)):(e.consume(A),te)}function fe(A){return e.check(D2,K,le)(A)}function K(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Z}function Z(A){return A===null||ye(A)?fe(A):(e.enter("htmlFlowData"),te(A))}function _(A){return A===45?(e.consume(A),b):te(A)}function F(A){return A===47?(e.consume(A),c="",ee):te(A)}function ee(A){if(A===62){const se=c.toLowerCase();return Ly.includes(se)?(e.consume(A),Q):te(A)}return kt(A)&&c.length<8?(e.consume(A),c+=String.fromCharCode(A),ee):te(A)}function de(A){return A===93?(e.consume(A),b):te(A)}function b(A){return A===62?(e.consume(A),Q):A===45&&s===2?(e.consume(A),b):te(A)}function Q(A){return A===null||ye(A)?(e.exit("htmlFlowData"),le(A)):(e.consume(A),Q)}function le(A){return e.exit("htmlFlow"),i(A)}}function z2(e,i,r){const a=this;return s;function s(c){return ye(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):r(c)}function u(c){return a.parser.lazy[a.now().line]?r(c):i(c)}}function _2(e,i,r){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(ma,i,r)}}const L2={name:"htmlText",tokenize:j2};function j2(e,i,r){const a=this;let s,u,c;return d;function d(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),m}function m(b){return b===33?(e.consume(b),h):b===47?(e.consume(b),I):b===63?(e.consume(b),M):kt(b)?(e.consume(b),V):r(b)}function h(b){return b===45?(e.consume(b),g):b===91?(e.consume(b),u=0,k):kt(b)?(e.consume(b),L):r(b)}function g(b){return b===45?(e.consume(b),v):r(b)}function y(b){return b===null?r(b):b===45?(e.consume(b),w):ye(b)?(c=y,F(b)):(e.consume(b),y)}function w(b){return b===45?(e.consume(b),v):y(b)}function v(b){return b===62?_(b):b===45?w(b):y(b)}function k(b){const Q="CDATA[";return b===Q.charCodeAt(u++)?(e.consume(b),u===Q.length?T:k):r(b)}function T(b){return b===null?r(b):b===93?(e.consume(b),E):ye(b)?(c=T,F(b)):(e.consume(b),T)}function E(b){return b===93?(e.consume(b),C):T(b)}function C(b){return b===62?_(b):b===93?(e.consume(b),C):T(b)}function L(b){return b===null||b===62?_(b):ye(b)?(c=L,F(b)):(e.consume(b),L)}function M(b){return b===null?r(b):b===63?(e.consume(b),G):ye(b)?(c=M,F(b)):(e.consume(b),M)}function G(b){return b===62?_(b):M(b)}function I(b){return kt(b)?(e.consume(b),z):r(b)}function z(b){return b===45||bt(b)?(e.consume(b),z):W(b)}function W(b){return ye(b)?(c=W,F(b)):De(b)?(e.consume(b),W):_(b)}function V(b){return b===45||bt(b)?(e.consume(b),V):b===47||b===62||Fe(b)?ae(b):r(b)}function ae(b){return b===47?(e.consume(b),_):b===58||b===95||kt(b)?(e.consume(b),B):ye(b)?(c=ae,F(b)):De(b)?(e.consume(b),ae):_(b)}function B(b){return b===45||b===46||b===58||b===95||bt(b)?(e.consume(b),B):ne(b)}function ne(b){return b===61?(e.consume(b),te):ye(b)?(c=ne,F(b)):De(b)?(e.consume(b),ne):ae(b)}function te(b){return b===null||b===60||b===61||b===62||b===96?r(b):b===34||b===39?(e.consume(b),s=b,fe):ye(b)?(c=te,F(b)):De(b)?(e.consume(b),te):(e.consume(b),K)}function fe(b){return b===s?(e.consume(b),s=void 0,Z):b===null?r(b):ye(b)?(c=fe,F(b)):(e.consume(b),fe)}function K(b){return b===null||b===34||b===39||b===60||b===61||b===96?r(b):b===47||b===62||Fe(b)?ae(b):(e.consume(b),K)}function Z(b){return b===47||b===62||Fe(b)?ae(b):r(b)}function _(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),i):r(b)}function F(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ee}function ee(b){return De(b)?ze(e,de,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):de(b)}function de(b){return e.enter("htmlTextData"),c(b)}}const vd={name:"labelEnd",resolveAll:P2,resolveTo:H2,tokenize:I2},B2={tokenize:G2},U2={tokenize:F2},q2={tokenize:V2};function P2(e){let i=-1;const r=[];for(;++i<e.length;){const a=e[i][1];if(r.push(e[i]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const s=a.type==="labelImage"?4:2;a.type="data",i+=s}}return e.length!==r.length&&Xt(e,0,e.length,r),e}function H2(e,i){let r=e.length,a=0,s,u,c,d;for(;r--;)if(s=e[r][1],u){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[r][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(c){if(e[r][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(u=r,s.type!=="labelLink")){a=2;break}}else s.type==="labelEnd"&&(c=r);const m={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[u][1].start},end:{...e[c][1].end}},g={type:"labelText",start:{...e[u+a+2][1].end},end:{...e[c-2][1].start}};return d=[["enter",m,i],["enter",h,i]],d=on(d,e.slice(u+1,u+a+3)),d=on(d,[["enter",g,i]]),d=on(d,vs(i.parser.constructs.insideSpan.null,e.slice(u+a+4,c-3),i)),d=on(d,[["exit",g,i],e[c-2],e[c-1],["exit",h,i]]),d=on(d,e.slice(c+1)),d=on(d,[["exit",m,i]]),Xt(e,u,e.length,d),e}function I2(e,i,r){const a=this;let s=a.events.length,u,c;for(;s--;)if((a.events[s][1].type==="labelImage"||a.events[s][1].type==="labelLink")&&!a.events[s][1]._balanced){u=a.events[s][1];break}return d;function d(w){return u?u._inactive?y(w):(c=a.parser.defined.includes(hn(a.sliceSerialize({start:u.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(w),e.exit("labelMarker"),e.exit("labelEnd"),m):r(w)}function m(w){return w===40?e.attempt(B2,g,c?g:y)(w):w===91?e.attempt(U2,g,c?h:y)(w):c?g(w):y(w)}function h(w){return e.attempt(q2,g,y)(w)}function g(w){return i(w)}function y(w){return u._balanced=!0,r(w)}}function G2(e,i,r){return a;function a(y){return e.enter("resource"),e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),s}function s(y){return Fe(y)?ra(e,u)(y):u(y)}function u(y){return y===41?g(y):wx(e,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(y)}function c(y){return Fe(y)?ra(e,m)(y):g(y)}function d(y){return r(y)}function m(y){return y===34||y===39||y===40?kx(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(y):g(y)}function h(y){return Fe(y)?ra(e,g)(y):g(y)}function g(y){return y===41?(e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),e.exit("resource"),i):r(y)}}function F2(e,i,r){const a=this;return s;function s(d){return Sx.call(a,e,u,c,"reference","referenceMarker","referenceString")(d)}function u(d){return a.parser.defined.includes(hn(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?i(d):r(d)}function c(d){return r(d)}}function V2(e,i,r){return a;function a(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),s}function s(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),i):r(u)}}const Y2={name:"labelStartImage",resolveAll:vd.resolveAll,tokenize:Q2};function Q2(e,i,r){const a=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),u}function u(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),c):r(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(d):i(d)}}const X2={name:"labelStartLink",resolveAll:vd.resolveAll,tokenize:K2};function K2(e,i,r){const a=this;return s;function s(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),u}function u(c){return c===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(c):i(c)}}const rf={name:"lineEnding",tokenize:Z2};function Z2(e,i){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ze(e,i,"linePrefix")}}const Vo={name:"thematicBreak",tokenize:$2};function $2(e,i,r){let a=0,s;return u;function u(h){return e.enter("thematicBreak"),c(h)}function c(h){return s=h,d(h)}function d(h){return h===s?(e.enter("thematicBreakSequence"),m(h)):a>=3&&(h===null||ye(h))?(e.exit("thematicBreak"),i(h)):r(h)}function m(h){return h===s?(e.consume(h),a++,m):(e.exit("thematicBreakSequence"),De(h)?ze(e,d,"whitespace")(h):d(h))}}const Nt={continuation:{tokenize:tO},exit:iO,name:"list",tokenize:eO},J2={partial:!0,tokenize:rO},W2={partial:!0,tokenize:nO};function eO(e,i,r){const a=this,s=a.events[a.events.length-1];let u=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,c=0;return d;function d(v){const k=a.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!a.containerState.marker||v===a.containerState.marker:Lf(v)){if(a.containerState.type||(a.containerState.type=k,e.enter(k,{_container:!0})),k==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Vo,r,h)(v):h(v);if(!a.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(v)}return r(v)}function m(v){return Lf(v)&&++c<10?(e.consume(v),m):(!a.interrupt||c<2)&&(a.containerState.marker?v===a.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),h(v)):r(v)}function h(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||v,e.check(ma,a.interrupt?r:g,e.attempt(J2,w,y))}function g(v){return a.containerState.initialBlankLine=!0,u++,w(v)}function y(v){return De(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),w):r(v)}function w(v){return a.containerState.size=u+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,i(v)}}function tO(e,i,r){const a=this;return a.containerState._closeFlow=void 0,e.check(ma,s,u);function s(d){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,ze(e,i,"listItemIndent",a.containerState.size+1)(d)}function u(d){return a.containerState.furtherBlankLines||!De(d)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,c(d)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(W2,i,c)(d))}function c(d){return a.containerState._closeFlow=!0,a.interrupt=void 0,ze(e,e.attempt(Nt,i,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function nO(e,i,r){const a=this;return ze(e,s,"listItemIndent",a.containerState.size+1);function s(u){const c=a.events[a.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===a.containerState.size?i(u):r(u)}}function iO(e){e.exit(this.containerState.type)}function rO(e,i,r){const a=this;return ze(e,s,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(u){const c=a.events[a.events.length-1];return!De(u)&&c&&c[1].type==="listItemPrefixWhitespace"?i(u):r(u)}}const jy={name:"setextUnderline",resolveTo:lO,tokenize:aO};function lO(e,i){let r=e.length,a,s,u;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){a=r;break}e[r][1].type==="paragraph"&&(s=r)}else e[r][1].type==="content"&&e.splice(r,1),!u&&e[r][1].type==="definition"&&(u=r);const c={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",u?(e.splice(s,0,["enter",c,i]),e.splice(u+1,0,["exit",e[a][1],i]),e[a][1].end={...e[u][1].end}):e[a][1]=c,e.push(["exit",c,i]),e}function aO(e,i,r){const a=this;let s;return u;function u(h){let g=a.events.length,y;for(;g--;)if(a.events[g][1].type!=="lineEnding"&&a.events[g][1].type!=="linePrefix"&&a.events[g][1].type!=="content"){y=a.events[g][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||y)?(e.enter("setextHeadingLine"),s=h,c(h)):r(h)}function c(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===s?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),De(h)?ze(e,m,"lineSuffix")(h):m(h))}function m(h){return h===null||ye(h)?(e.exit("setextHeadingLine"),i(h)):r(h)}}const oO={tokenize:sO};function sO(e){const i=this,r=e.attempt(ma,a,e.attempt(this.parser.constructs.flowInitial,s,ze(e,e.attempt(this.parser.constructs.flow,s,e.attempt(h2,s)),"linePrefix")));return r;function a(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),i.currentConstruct=void 0,r}function s(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i.currentConstruct=void 0,r}}const uO={resolveAll:Tx()},cO=Ax("string"),fO=Ax("text");function Ax(e){return{resolveAll:Tx(e==="text"?dO:void 0),tokenize:i};function i(r){const a=this,s=this.parser.constructs[e],u=r.attempt(s,c,d);return c;function c(g){return h(g)?u(g):d(g)}function d(g){if(g===null){r.consume(g);return}return r.enter("data"),r.consume(g),m}function m(g){return h(g)?(r.exit("data"),u(g)):(r.consume(g),m)}function h(g){if(g===null)return!0;const y=s[g];let w=-1;
vendor: 4,496 bytes, line 16
16if(y)for(;++w<y.length;){const v=y[w];if(!v.previous||v.previous.call(a,a.previous))return!0}return!1}}}function Tx(e){return i;function i(r,a){let s=-1,u;for(;++s<=r.length;)u===void 0?r[s]&&r[s][1].type==="data"&&(u=s,s++):(!r[s]||r[s][1].type!=="data")&&(s!==u+2&&(r[u][1].end=r[s-1][1].end,r.splice(u+2,s-u-2),s=u+2),u=void 0);return e?e(r,a):r}}function dO(e,i){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const a=e[r-1][1],s=i.sliceStream(a);let u=s.length,c=-1,d=0,m;for(;u--;){const h=s[u];if(typeof h=="string"){for(c=h.length;h.charCodeAt(c-1)===32;)d++,c--;if(c)break;c=-1}else if(h===-2)m=!0,d++;else if(h!==-1){u++;break}}if(i._contentTypeTextTrailing&&r===e.length&&(d=0),d){const h={type:r===e.length||m||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?c:a.start._bufferIndex+c,_index:a.start._index+u,line:a.end.line,column:a.end.column-d,offset:a.end.offset-d},end:{...a.end}};a.end={...h.start},a.start.offset===a.end.offset?Object.assign(a,h):(e.splice(r,0,["enter",h,i],["exit",h,i]),r+=2)}r++}return e}const hO={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:yx},pO={91:b2},mO={[-2]:nf,[-1]:nf,32:nf},gO={35:A2,42:Vo,45:[jy,Vo],60:O2,61:jy,95:Vo,96:_y,126:_y},yO={38:vx,92:bx},bO={[-5]:rf,[-4]:rf,[-3]:rf,33:Y2,38:vx,42:jf,60:[XC,L2],91:X2,92:[S2,bx],93:vd,95:jf,96:o2},vO={null:[jf,uO]},xO={null:[42,95]},wO={null:[]},SO=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:xO,contentInitial:pO,disable:wO,document:hO,flow:gO,flowInitial:mO,insideSpan:vO,string:yO,text:bO},Symbol.toStringTag,{value:"Module"}));function kO(e,i,r){let a={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const s={},u=[];let c=[],d=[];const m={attempt:W(I),check:W(z),consume:L,enter:M,exit:G,interrupt:W(z,{interrupt:!0})},h={code:null,containerState:{},defineSkip:T,events:[],now:k,parser:e,previous:null,sliceSerialize:w,sliceStream:v,write:y};let g=i.tokenize.call(h,m);return i.resolveAll&&u.push(i),h;function y(ne){return c=on(c,ne),E(),c[c.length-1]!==null?[]:(V(i,0),h.events=vs(u,h.events,h),h.events)}function w(ne,te){return TO(v(ne),te)}function v(ne){return AO(c,ne)}function k(){const{_bufferIndex:ne,_index:te,line:fe,column:K,offset:Z}=a;return{_bufferIndex:ne,_index:te,line:fe,column:K,offset:Z}}function T(ne){s[ne.line]=ne.column,B()}function E(){let ne;for(;a._index<c.length;){const te=c[a._index];if(typeof te=="string")for(ne=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===ne&&a._bufferIndex<te.length;)C(te.charCodeAt(a._bufferIndex));else C(te)}}function C(ne){g=g(ne)}function L(ne){ye(ne)?(a.line++,a.column=1,a.offset+=ne===-3?2:1,B()):ne!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===c[a._index].length&&(a._bufferIndex=-1,a._index++)),h.previous=ne}function M(ne,te){const fe=te||{};return fe.type=ne,fe.start=k(),h.events.push(["enter",fe,h]),d.push(fe),fe}function G(ne){const te=d.pop();return te.end=k(),h.events.push(["exit",te,h]),te}function I(ne,te){V(ne,te.from)}function z(ne,te){te.restore()}function W(ne,te){return fe;function fe(K,Z,_){let F,ee,de,b;return Array.isArray(K)?le(K):"tokenize"in K?le([K]):Q(K);function Q(oe){return je;function je(Ae){const Ne=Ae!==null&&oe[Ae],xt=Ae!==null&&oe.null,pt=[...Array.isArray(Ne)?Ne:Ne?[Ne]:[],...Array.isArray(xt)?xt:xt?[xt]:[]];return le(pt)(Ae)}}function le(oe){return F=oe,ee=0,oe.length===0?_:A(oe[ee])}function A(oe){return je;function je(Ae){return b=ae(),de=oe,oe.partial||(h.currentConstruct=oe),oe.name&&h.parser.constructs.disable.null.includes(oe.name)?pe():oe.tokenize.call(te?Object.assign(Object.create(h),te):h,m,se,pe)(Ae)}}function se(oe){return ne(de,b),Z}function pe(oe){return b.restore(),++ee<F.length?A(F[ee]):_}}}function V(ne,te){ne.resolveAll&&!u.includes(ne)&&u.push(ne),ne.resolve&&Xt(h.events,te,h.events.length-te,ne.resolve(h.events.slice(te),h)),ne.resolveTo&&(h.events=ne.resolveTo(h.events,h))}function ae(){const ne=k(),te=h.previous,fe=h.currentConstruct,K=h.events.length,Z=Array.from(d);return{from:K,restore:_};function _(){a=ne,h.previous=te,h.currentConstruct=fe,h.events.length=K,d=Z,B()}}function B(){a.line in s&&a.column<2&&(a.column=s[a.line],a.offset+=s[a.line]-1)}}function AO(e,i){const r=i.start._index,a=i.start._bufferIndex,s=i.end._index,u=i.end._bufferIndex;let c;if(r===s)c=[e[r].slice(a,u)];else{if(c=e.slice(r,s),a>-1){const d=c[0];
vendor: 10,538 bytes, lines 16-18
16typeof d=="string"?c[0]=d.slice(a):c.shift()}u>0&&c.push(e[s].slice(0,u))}return c}function TO(e,i){let r=-1;const a=[];let s;for(;++r<e.length;){const u=e[r];let c;if(typeof u=="string")c=u;else switch(u){case-5:{c="\r";break}case-4:{c=` 17`;break}case-3:{c=`\r 18`;break}case-2:{c=i?" ":" ";break}case-1:{if(!i&&s)continue;c=" ";break}default:c=String.fromCharCode(u)}s=u===-2,a.push(c)}return a.join("")}function EO(e){const a={constructs:mx([SO,...(e||{}).extensions||[]]),content:s(HC),defined:[],document:s(GC),flow:s(oO),lazy:{},string:s(cO),text:s(fO)};return a;function s(u){return c;function c(d){return kO(a,u,d)}}}function CO(e){for(;!xx(e););return e}const By=/[\0\t\n\r]/g;function OO(){let e=1,i="",r=!0,a;return s;function s(u,c,d){const m=[];let h,g,y,w,v;for(u=i+(typeof u=="string"?u.toString():new TextDecoder(c||void 0).decode(u)),y=0,i="",r&&(u.charCodeAt(0)===65279&&y++,r=void 0);y<u.length;){if(By.lastIndex=y,h=By.exec(u),w=h&&h.index!==void 0?h.index:u.length,v=u.charCodeAt(w),!h){i=u.slice(y);break}if(v===10&&y===w&&a)m.push(-3),a=void 0;else switch(a&&(m.push(-5),a=void 0),y<w&&(m.push(u.slice(y,w)),e+=w-y),v){case 0:{m.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,m.push(-2);e++<g;)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:a=!0,e=1}y=w+1}return d&&(a&&m.push(-5),i&&m.push(i),m.push(null)),m}}const RO=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function DO(e){return e.replace(RO,NO)}function NO(e,i,r){if(i)return i;if(r.charCodeAt(0)===35){const s=r.charCodeAt(1),u=s===120||s===88;return gx(r.slice(u?2:1),u?16:10)}return bd(r)||e}const Ex={}.hasOwnProperty;function MO(e,i,r){return i&&typeof i=="object"&&(r=i,i=void 0),zO(r)(CO(EO(r).document().write(OO()(e,i,!0))))}function zO(e){const i={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Jr),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:u(ya),blockQuote:u(xt),characterEscape:ae,characterReference:ae,codeFenced:u(pt),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(pt,c),codeText:u(Kt,c),codeTextData:ae,data:ae,codeFlowValue:ae,definition:u(At),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(yn),hardBreakEscape:u(ba),hardBreakTrailing:u(ba),htmlFlow:u(Lt,c),htmlFlowData:ae,htmlText:u(Lt,c),htmlTextData:ae,image:u(ks),label:c,link:u(Jr),listItem:u(Wi),listItemValue:w,listOrdered:u(Wr,y),listUnordered:u(Wr),paragraph:u(As),reference:A,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(ya),strong:u(va),thematicBreak:u(Es)},exit:{atxHeading:m(),atxHeadingSequence:I,autolink:m(),autolinkEmail:Ne,autolinkProtocol:Ae,blockQuote:m(),characterEscapeValue:B,characterReferenceMarkerHexadecimal:pe,characterReferenceMarkerNumeric:pe,characterReferenceValue:oe,characterReference:je,codeFenced:m(E),codeFencedFence:T,codeFencedFenceInfo:v,codeFencedFenceMeta:k,codeFlowValue:B,codeIndented:m(C),codeText:m(Z),codeTextData:B,data:B,definition:m(),definitionDestinationString:G,definitionLabelString:L,definitionTitleString:M,emphasis:m(),hardBreakEscape:m(te),hardBreakTrailing:m(te),htmlFlow:m(fe),htmlFlowData:B,htmlText:m(K),htmlTextData:B,image:m(F),label:de,labelText:ee,lineEnding:ne,link:m(_),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:se,resourceDestinationString:b,resourceTitleString:Q,resource:le,setextHeading:m(V),setextHeadingLineSequence:W,setextHeadingText:z,strong:m(),thematicBreak:m()}};Cx(i,(e||{}).mdastExtensions||[]);const r={};return a;function a(Y){let ie={type:"root",children:[]};const ge={stack:[ie],tokenStack:[],config:i,enter:d,exit:h,buffer:c,resume:g,data:r},xe=[];let Be=-1;for(;++Be<Y.length;)if(Y[Be][1].type==="listOrdered"||Y[Be][1].type==="listUnordered")if(Y[Be][0]==="enter")xe.push(Be);else{const jt=xe.pop();Be=s(Y,jt,Be)}for(Be=-1;++Be<Y.length;){const jt=i[Y[Be][0]];Ex.call(jt,Y[Be][1].type)&&jt[Y[Be][1].type].call(Object.assign({sliceSerialize:Y[Be][2].sliceSerialize},ge),Y[Be][1])}if(ge.tokenStack.length>0){const jt=ge.tokenStack[ge.tokenStack.length-1];(jt[1]||Uy).call(ge,void 0,jt[0])}for(ie.position={start:wi(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:wi(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},Be=-1;++Be<i.transforms.length;)ie=i.transforms[Be](ie)||ie;return ie}function s(Y,ie,ge){let xe=ie-1,Be=-1,jt=!1,Rn,Tt,bn,Bt;for(;++xe<=ge;){const at=Y[xe];switch(at[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{at[0]==="enter"?Be++:Be--,Bt=void 0;break}case"lineEndingBlank":{at[0]==="enter"&&(Rn&&!Bt&&!Be&&!bn&&(bn=xe),Bt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Bt=void 0}if(!Be&&at[0]==="enter"&&at[1].type==="listItemPrefix"||Be===-1&&at[0]==="exit"&&(at[1].type==="listUnordered"||at[1].type==="listOrdered")){if(Rn){let Zt=xe;for(Tt=void 0;Zt--;){const sn=Y[Zt];if(sn[1].type==="lineEnding"||sn[1].type==="lineEndingBlank"){if(sn[0]==="exit")continue;Tt&&(Y[Tt][1].type="lineEndingBlank",jt=!0),sn[1].type="lineEnding",Tt=Zt}else if(!(sn[1].type==="linePrefix"||sn[1].type==="blockQuotePrefix"||sn[1].type==="blockQuotePrefixWhitespace"||sn[1].type==="blockQuoteMarker"||sn[1].type==="listItemIndent"))break}bn&&(!Tt||bn<Tt)&&(Rn._spread=!0),Rn.end=Object.assign({},Tt?Y[Tt][1].start:at[1].end),Y.splice(Tt||xe,0,["exit",Rn,at[2]]),xe++,ge++}if(at[1].type==="listItemPrefix"){const Zt={type:"listItem",_spread:!1,start:Object.assign({},at[1].start),end:void 0};Rn=Zt,Y.splice(xe,0,["enter",Zt,at[2]]),xe++,ge++,bn=void 0,Bt=!0}}}return Y[ie][1]._spread=jt,ge}function u(Y,ie){return ge;function ge(xe){d.call(this,Y(xe),xe),ie&&ie.call(this,xe)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(Y,ie,ge){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([ie,ge||void 0]),Y.position={start:wi(ie.start),end:void 0}}function m(Y){return ie;function ie(ge){Y&&Y.call(this,ge),h.call(this,ge)}}function h(Y,ie){const ge=this.stack.pop(),xe=this.tokenStack.pop();if(xe)xe[0].type!==Y.type&&(ie?ie.call(this,Y,xe[0]):(xe[1]||Uy).call(this,Y,xe[0]));else throw new Error("Cannot close `"+Y.type+"` ("+ia({start:Y.start,end:Y.end})+"): itâs not open");ge.position.end=wi(Y.end)}function g(){return yd(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function w(Y){if(this.data.expectingFirstListItemValue){const ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function v(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=Y}function k(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=Y}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y.replace(/(\r?\n|\r)$/g,"")}function L(Y){const ie=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ie,ge.identifier=hn(this.sliceSerialize(Y)).toLowerCase()}function M(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Y}function G(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Y}function I(Y){const ie=this.stack[this.stack.length-1];if(!ie.depth){const ge=this.sliceSerialize(Y).length;ie.depth=ge}}function z(){this.data.setextHeadingSlurpLineEnding=!0}function W(Y){const ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(Y){const ge=this.stack[this.stack.length-1].children;let xe=ge[ge.length-1];(!xe||xe.type!=="text")&&(xe=Ts(),xe.position={start:wi(Y.start),end:void 0},ge.push(xe)),this.stack.push(xe)}function B(Y){const ie=this.stack.pop();ie.value+=this.sliceSerialize(Y),ie.position.end=wi(Y.end)}function ne(Y){const ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ge=ie.children[ie.children.length-1];ge.position.end=wi(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&i.canContainEols.includes(ie.type)&&(ae.call(this,Y),B.call(this,Y))}function te(){this.data.atHardBreak=!0}function fe(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function K(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function Z(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function _(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ie,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function F(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ie,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function ee(Y){const ie=this.sliceSerialize(Y),ge=this.stack[this.stack.length-2];ge.label=DO(ie),ge.identifier=hn(ie).toLowerCase()}function de(){const Y=this.stack[this.stack.length-1],ie=this.resume(),ge=this.stack[this.stack.length-1];if(this.data.inReference=!0,ge.type==="link"){const xe=Y.children;ge.children=xe}else ge.alt=ie}function b(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Y}function Q(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Y}function le(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function se(Y){const ie=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ie,ge.identifier=hn(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function pe(Y){this.data.characterReferenceType=Y.type}function oe(Y){const ie=this.sliceSerialize(Y),ge=this.data.characterReferenceType;let xe;ge?(xe=gx(ie,ge==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):xe=bd(ie);const Be=this.stack[this.stack.length-1];Be.value+=xe}function je(Y){const ie=this.stack.pop();ie.position.end=wi(Y.end)}function Ae(Y){B.call(this,Y);const ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(Y)}function Ne(Y){B.call(this,Y);const ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(Y)}
vendor: 11,302 bytes, lines 18-22
18function xt(){return{type:"blockquote",children:[]}}function pt(){return{type:"code",lang:null,meta:null,value:""}}function Kt(){return{type:"inlineCode",value:""}}function At(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function yn(){return{type:"emphasis",children:[]}}function ya(){return{type:"heading",depth:0,children:[]}}function ba(){return{type:"break"}}function Lt(){return{type:"html",value:""}}function ks(){return{type:"image",title:null,url:"",alt:null}}function Jr(){return{type:"link",title:null,url:"",children:[]}}function Wr(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function Wi(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function As(){return{type:"paragraph",children:[]}}function va(){return{type:"strong",children:[]}}function Ts(){return{type:"text",value:""}}function Es(){return{type:"thematicBreak"}}}function wi(e){return{line:e.line,column:e.column,offset:e.offset}}function Cx(e,i){let r=-1;for(;++r<i.length;){const a=i[r];Array.isArray(a)?Cx(e,a):_O(e,a)}}function _O(e,i){let r;for(r in i)if(Ex.call(i,r))switch(r){case"canContainEols":{const a=i[r];a&&e[r].push(...a);break}case"transforms":{const a=i[r];a&&e[r].push(...a);break}case"enter":case"exit":{const a=i[r];a&&Object.assign(e[r],a);break}}}function Uy(e,i){throw e?new Error("Cannot close `"+e.type+"` ("+ia({start:e.start,end:e.end})+"): a different token (`"+i.type+"`, "+ia({start:i.start,end:i.end})+") is open"):new Error("Cannot close document, a token (`"+i.type+"`, "+ia({start:i.start,end:i.end})+") is still open")}function LO(e){const i=this;i.parser=r;function r(a){return MO(a,{...i.data("settings"),...e,extensions:i.data("micromarkExtensions")||[],mdastExtensions:i.data("fromMarkdownExtensions")||[]})}}function jO(e,i){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(i),!0)};return e.patch(i,r),e.applyData(i,r)}function BO(e,i){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(i,r),[e.applyData(i,r),{type:"text",value:` 19`}]}function UO(e,i){const r=i.value?i.value+` 20`:"",a={},s=i.lang?i.lang.split(/\s+/):[];s.length>0&&(a.className=["language-"+s[0]]);let u={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return i.meta&&(u.data={meta:i.meta}),e.patch(i,u),u=e.applyData(i,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(i,u),u}function qO(e,i){const r={type:"element",tagName:"del",properties:{},children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}function PO(e,i){const r={type:"element",tagName:"em",properties:{},children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}function HO(e,i){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(i.identifier).toUpperCase(),s=$r(a.toLowerCase()),u=e.footnoteOrder.indexOf(a);let c,d=e.footnoteCounts.get(a);d===void 0?(d=0,e.footnoteOrder.push(a),c=e.footnoteOrder.length):c=u+1,d+=1,e.footnoteCounts.set(a,d);const m={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+s,id:r+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(i,m);const h={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(i,h),e.applyData(i,h)}function IO(e,i){const r={type:"element",tagName:"h"+i.depth,properties:{},children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}function GO(e,i){if(e.options.allowDangerousHtml){const r={type:"raw",value:i.value};return e.patch(i,r),e.applyData(i,r)}}function Ox(e,i){const r=i.referenceType;let a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(i.label||i.identifier)+"]"),i.type==="imageReference")return[{type:"text",value:"!["+i.alt+a}];const s=e.all(i),u=s[0];u&&u.type==="text"?u.value="["+u.value:s.unshift({type:"text",value:"["});const c=s[s.length-1];return c&&c.type==="text"?c.value+=a:s.push({type:"text",value:a}),s}function FO(e,i){const r=String(i.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return Ox(e,i);const s={src:$r(a.url||""),alt:i.alt};a.title!==null&&a.title!==void 0&&(s.title=a.title);const u={type:"element",tagName:"img",properties:s,children:[]};return e.patch(i,u),e.applyData(i,u)}function VO(e,i){const r={src:$r(i.url)};i.alt!==null&&i.alt!==void 0&&(r.alt=i.alt),i.title!==null&&i.title!==void 0&&(r.title=i.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(i,a),e.applyData(i,a)}function YO(e,i){const r={type:"text",value:i.value.replace(/\r?\n|\r/g," ")};e.patch(i,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(i,a),e.applyData(i,a)}function QO(e,i){const r=String(i.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return Ox(e,i);const s={href:$r(a.url||"")};a.title!==null&&a.title!==void 0&&(s.title=a.title);const u={type:"element",tagName:"a",properties:s,children:e.all(i)};return e.patch(i,u),e.applyData(i,u)}function XO(e,i){const r={href:$r(i.url)};i.title!==null&&i.title!==void 0&&(r.title=i.title);const a={type:"element",tagName:"a",properties:r,children:e.all(i)};return e.patch(i,a),e.applyData(i,a)}function KO(e,i,r){const a=e.all(i),s=r?ZO(r):Rx(i),u={},c=[];if(typeof i.checked=="boolean"){const g=a[0];let y;g&&g.type==="element"&&g.tagName==="p"?y=g:(y={type:"element",tagName:"p",properties:{},children:[]},a.unshift(y)),y.children.length>0&&y.children.unshift({type:"text",value:" "}),y.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:i.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let d=-1;for(;++d<a.length;){const g=a[d];(s||d!==0||g.type!=="element"||g.tagName!=="p")&&c.push({type:"text",value:` 21`}),g.type==="element"&&g.tagName==="p"&&!s?c.push(...g.children):c.push(g)}const m=a[a.length-1];m&&(s||m.type!=="element"||m.tagName!=="p")&&c.push({type:"text",value:` 22`});const h={type:"element",tagName:"li",properties:u,children:c};return e.patch(i,h),e.applyData(i,h)}function ZO(e){let i=!1;if(e.type==="list"){i=e.spread||!1;const r=e.children;let a=-1;for(;!i&&++a<r.length;)i=Rx(r[a])}return i}function Rx(e){const i=e.spread;return i??e.children.length>1}function $O(e,i){const r={},a=e.all(i);let s=-1;for(typeof i.start=="number"&&i.start!==1&&(r.start=i.start);++s<a.length;){const c=a[s];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const u={type:"element",tagName:i.ordered?"ol":"ul",properties:r,children:e.wrap(a,!0)};return e.patch(i,u),e.applyData(i,u)}function JO(e,i){const r={type:"element",tagName:"p",properties:{},children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}function WO(e,i){const r={type:"root",children:e.wrap(e.all(i))};return e.patch(i,r),e.applyData(i,r)}function eR(e,i){const r={type:"element",tagName:"strong",properties:{},children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}function tR(e,i){const r=e.all(i),a=r.shift(),s=[];if(a){const c={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(i.children[0],c),s.push(c)}if(r.length>0){const c={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},d=hd(i.children[1]),m=sx(i.children[i.children.length-1]);d&&m&&(c.position={start:d,end:m}),s.push(c)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(i,u),e.applyData(i,u)}function nR(e,i,r){const a=r?r.children:void 0,u=(a?a.indexOf(i):1)===0?"th":"td",c=r&&r.type==="table"?r.align:void 0,d=c?c.length:i.children.length;let m=-1;const h=[];for(;++m<d;){const y=i.children[m],w={},v=c?c[m]:void 0;v&&(w.align=v);let k={type:"element",tagName:u,properties:w,children:[]};y&&(k.children=e.all(y),e.patch(y,k),k=e.applyData(y,k)),h.push(k)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(i,g),e.applyData(i,g)}function iR(e,i){const r={type:"element",tagName:"td",properties:{},children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}const qy=9,Py=32;function rR(e){const i=String(e),r=/\r?\n|\r/g;let a=r.exec(i),s=0;const u=[];for(;a;)u.push(Hy(i.slice(s,a.index),s>0,!0),a[0]),s=a.index+a[0].length,a=r.exec(i);return u.push(Hy(i.slice(s),s>0,!1)),u.join("")}function Hy(e,i,r){let a=0,s=e.length;if(i){let u=e.codePointAt(a);for(;u===qy||u===Py;)a++,u=e.codePointAt(a)}if(r){let u=e.codePointAt(s-1);for(;u===qy||u===Py;)s--,u=e.codePointAt(s-1)}return s>a?e.slice(a,s):""}function lR(e,i){const r={type:"text",value:rR(String(i.value))};return e.patch(i,r),e.applyData(i,r)}function aR(e,i){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(i,r),e.applyData(i,r)}const oR={blockquote:jO,break:BO,code:UO,delete:qO,emphasis:PO,footnoteReference:HO,heading:IO,html:GO,imageReference:FO,image:VO,inlineCode:YO,linkReference:QO,link:XO,listItem:KO,list:$O,paragraph:JO,root:WO,strong:eR,table:tR,tableCell:iR,tableRow:nR,text:lR,thematicBreak:aR,toml:Uo,yaml:Uo,definition:Uo,footnoteDefinition:Uo};function Uo(){}const Dx=-1,xs=0,la=1,es=2,xd=3,wd=4,Sd=5,kd=6,Nx=7,Mx=8,Iy=typeof self=="object"?self:globalThis,sR=(e,i)=>{const r=(s,u)=>(e.set(u,s),s),a=s=>{if(e.has(s))return e.get(s);const[u,c]=i[s];switch(u){case xs:case Dx:return r(c,s);case la:{const d=r([],s);for(const m of c)d.push(a(m));return d}case es:{const d=r({},s);for(const[m,h]of c)d[a(m)]=a(h);return d}case xd:return r(new Date(c),s);case wd:{const{source:d,flags:m}=c;return r(new RegExp(d,m),s)}case Sd:{const d=r(new Map,s);for(const[m,h]of c)d.set(a(m),a(h));return d}case kd:{const d=r(new Set,s);for(const m of c)d.add(a(m));return d}case Nx:{const{name:d,message:m}=c;return r(new Iy[d](m),s)}case Mx:return r(BigInt(c),s);case"BigInt":return r(Object(BigInt(c)),s);case"ArrayBuffer":return r(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:d}=new Uint8Array(c);return r(new DataView(d),c)}}return r(new Iy[u](c),s)};return a},Gy=e=>sR(new Map,e)(0),Hr="",{toString:uR}={},{keys:cR}=Object,ta=e=>{const i=typeof e;if(i!=="object"||!e)return[xs,i];const r=uR.call(e).slice(8,-1);switch(r){case"Array":return[la,Hr];case"Object":return[es,Hr];case"Date":return[xd,Hr];case"RegExp":return[wd,Hr];case"Map":return[Sd,Hr];case"Set":return[kd,Hr];case"DataView":return[la,r]}return r.includes("Array")?[la,r]:r.includes("Error")?[Nx,r]:[es,r]},qo=([e,i])=>e===xs&&(i==="function"||i==="symbol"),fR=(e,i,r,a)=>{const s=(c,d)=>{const m=a.push(c)-1;return r.set(d,m),m},u=c=>{if(r.has(c))return r.get(c);let[d,m]=ta(c);switch(d){case xs:{let g=c;switch(m){case"bigint":d=Mx,g=c.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+m);g=null;break;case"undefined":return s([Dx],c)}return s([d,g],c)}case la:{if(m){let w=c;return m==="DataView"?w=new Uint8Array(c.buffer):m==="ArrayBuffer"&&(w=new Uint8Array(c)),s([m,[...w]],c)}const g=[],y=s([d,g],c);for(const w of c)g.push(u(w));return y}case es:{if(m)switch(m){case"BigInt":return s([m,c.toString()],c);case"Boolean":case"Number":case"String":return s([m,c.valueOf()],c)}if(i&&"toJSON"in c)return u(c.toJSON());const g=[],y=s([d,g],c);for(const w of cR(c))(e||!qo(ta(c[w])))&&g.push([u(w),u(c[w])]);return y}
vendor: 4,681 bytes, lines 22-24
22case xd:return s([d,c.toISOString()],c);case wd:{const{source:g,flags:y}=c;return s([d,{source:g,flags:y}],c)}case Sd:{const g=[],y=s([d,g],c);for(const[w,v]of c)(e||!(qo(ta(w))||qo(ta(v))))&&g.push([u(w),u(v)]);return y}case kd:{const g=[],y=s([d,g],c);for(const w of c)(e||!qo(ta(w)))&&g.push(u(w));return y}}const{message:h}=c;return s([d,{name:m,message:h}],c)};return u},Fy=(e,{json:i,lossy:r}={})=>{const a=[];return fR(!(i||r),!!i,new Map,a)(e),a},ts=typeof structuredClone=="function"?(e,i)=>i&&("json"in i||"lossy"in i)?Gy(Fy(e,i)):structuredClone(e):(e,i)=>Gy(Fy(e,i));function dR(e,i){const r=[{type:"text",value:"â©"}];return i>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(i)}]}),r}function hR(e,i){return"Back to reference "+(e+1)+(i>1?"-"+i:"")}function pR(e){const i=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||dR,a=e.options.footnoteBackLabel||hR,s=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let m=-1;for(;++m<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[m]);if(!h)continue;const g=e.all(h),y=String(h.identifier).toUpperCase(),w=$r(y.toLowerCase());let v=0;const k=[],T=e.footnoteCounts.get(y);for(;T!==void 0&&++v<=T;){k.length>0&&k.push({type:"text",value:" "});let L=typeof r=="string"?r:r(m,v);typeof L=="string"&&(L={type:"text",value:L}),k.push({type:"element",tagName:"a",properties:{href:"#"+i+"fnref-"+w+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(m,v),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const E=g[g.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const L=E.children[E.children.length-1];L&&L.type==="text"?L.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...k)}else g.push(...k);const C={type:"element",tagName:"li",properties:{id:i+"fn-"+w},children:e.wrap(g,!0)};e.patch(h,C),d.push(C)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...ts(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:` 23`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:` 24`}]}}const ws=(function(e){if(e==null)return bR;if(typeof e=="function")return Ss(e);if(typeof e=="object")return Array.isArray(e)?mR(e):gR(e);if(typeof e=="string")return yR(e);throw new Error("Expected function, string, or object as test")});function mR(e){const i=[];let r=-1;for(;++r<e.length;)i[r]=ws(e[r]);return Ss(a);function a(...s){let u=-1;for(;++u<i.length;)if(i[u].apply(this,s))return!0;return!1}}function gR(e){const i=e;return Ss(r);function r(a){const s=a;let u;for(u in e)if(s[u]!==i[u])return!1;return!0}}function yR(e){return Ss(i);function i(r){return r&&r.type===e}}function Ss(e){return i;function i(r,a,s){return!!(vR(r)&&e.call(this,r,typeof a=="number"?a:void 0,s||void 0))}}function bR(){return!0}function vR(e){return e!==null&&typeof e=="object"&&"type"in e}const zx=[],xR=!0,Bf=!1,wR="skip";function _x(e,i,r,a){let s;typeof i=="function"&&typeof r!="function"?(a=r,r=i):s=i;const u=ws(s),c=a?-1:1;d(e,void 0,[])();function d(m,h,g){const y=m&&typeof m=="object"?m:{};if(typeof y.type=="string"){const v=typeof y.tagName=="string"?y.tagName:typeof y.name=="string"?y.name:void 0;Object.defineProperty(w,"name",{value:"node ("+(m.type+(v?"<"+v+">":""))+")"})}return w;function w(){let v=zx,k,T,E;if((!i||u(m,h,g[g.length-1]||void 0))&&(v=SR(r(m,g)),v[0]===Bf))return v;if("children"in m&&m.children){const C=m;if(C.children&&v[0]!==wR)for(T=(a?C.children.length:-1)+c,E=g.concat(C);T>-1&&T<C.children.length;){const L=C.children[T];if(k=d(L,T,E)(),k[0]===Bf)return k;T=typeof k[1]=="number"?k[1]:T+c}}return v}}}function SR(e){return Array.isArray(e)?e:typeof e=="number"?[xR,e]:e==null?zx:[e]}function Ad(e,i,r,a){let s,u,c;typeof i=="function"&&typeof r!="function"?(u=void 0,c=i,s=r):(u=i,c=r,s=a),_x(e,u,d,s);function d(m,h){const g=h[h.length-1],y=g?g.children.indexOf(m):void 0;return c(m,y,g)}}const Uf={}.hasOwnProperty,kR={};function AR(e,i){const r=i||kR,a=new Map,s=new Map,u=new Map,c={...oR,...r.handlers},d={all:h,applyData:ER,definitionById:a,footnoteById:s,footnoteCounts:u,footnoteOrder:[],handlers:c,one:m,options:r,patch:TR,wrap:OR};return Ad(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const y=g.type==="definition"?a:s,w=String(g.identifier).toUpperCase();y.has(w)||y.set(w,g)}}),d;function m(g,y){const w=g.type,v=d.handlers[w];
vendor: 11,910 bytes, lines 24-28
24if(Uf.call(d.handlers,w)&&v)return v(d,g,y);if(d.options.passThrough&&d.options.passThrough.includes(w)){if("children"in g){const{children:T,...E}=g,C=ts(E);return C.children=d.all(g),C}return ts(g)}return(d.options.unknownHandler||CR)(d,g,y)}function h(g){const y=[];if("children"in g){const w=g.children;let v=-1;for(;++v<w.length;){const k=d.one(w[v],g);if(k){if(v&&w[v-1].type==="break"&&(!Array.isArray(k)&&k.type==="text"&&(k.value=Vy(k.value)),!Array.isArray(k)&&k.type==="element")){const T=k.children[0];T&&T.type==="text"&&(T.value=Vy(T.value))}Array.isArray(k)?y.push(...k):y.push(k)}}}return y}}function TR(e,i){e.position&&(i.position=hC(e))}function ER(e,i){let r=i;if(e&&e.data){const a=e.data.hName,s=e.data.hChildren,u=e.data.hProperties;if(typeof a=="string")if(r.type==="element")r.tagName=a;else{const c="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:c}}r.type==="element"&&u&&Object.assign(r.properties,ts(u)),"children"in r&&r.children&&s!==null&&s!==void 0&&(r.children=s)}return r}function CR(e,i){const r=i.data||{},a="value"in i&&!(Uf.call(r,"hProperties")||Uf.call(r,"hChildren"))?{type:"text",value:i.value}:{type:"element",tagName:"div",properties:{},children:e.all(i)};return e.patch(i,a),e.applyData(i,a)}function OR(e,i){const r=[];let a=-1;for(i&&r.push({type:"text",value:` 25`});++a<e.length;)a&&r.push({type:"text",value:` 26`}),r.push(e[a]);return i&&e.length>0&&r.push({type:"text",value:` 27`}),r}function Vy(e){let i=0,r=e.charCodeAt(i);for(;r===9||r===32;)i++,r=e.charCodeAt(i);return e.slice(i)}function Yy(e,i){const r=AR(e,i),a=r.one(e,void 0),s=pR(r),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return s&&u.children.push({type:"text",value:` 28`},s),u}function RR(e,i){return e&&"run"in e?async function(r,a){const s=Yy(r,{file:a,...i});await e.run(s,a)}:function(r,a){return Yy(r,{file:a,...e||i})}}function Qy(e){if(e)throw e}var lf,Xy;function DR(){if(Xy)return lf;Xy=1;var e=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):i.call(h)==="[object Array]"},u=function(h){if(!h||i.call(h)!=="[object Object]")return!1;var g=e.call(h,"constructor"),y=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!g&&!y)return!1;var w;for(w in h);return typeof w>"u"||e.call(h,w)},c=function(h,g){r&&g.name==="__proto__"?r(h,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):h[g.name]=g.newValue},d=function(h,g){if(g==="__proto__")if(e.call(h,g)){if(a)return a(h,g).value}else return;return h[g]};return lf=function m(){var h,g,y,w,v,k,T=arguments[0],E=1,C=arguments.length,L=!1;for(typeof T=="boolean"&&(L=T,T=arguments[1]||{},E=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});E<C;++E)if(h=arguments[E],h!=null)for(g in h)y=d(T,g),w=d(h,g),T!==w&&(L&&w&&(u(w)||(v=s(w)))?(v?(v=!1,k=y&&s(y)?y:[]):k=y&&u(y)?y:{},c(T,{name:g,newValue:m(L,k,w)})):typeof w<"u"&&c(T,{name:g,newValue:w}));return T},lf}var NR=DR();const af=is(NR);function qf(e){if(typeof e!="object"||e===null)return!1;const i=Object.getPrototypeOf(e);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function MR(){const e=[],i={run:r,use:a};return i;function r(...s){let u=-1;const c=s.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);d(null,...s);function d(m,...h){const g=e[++u];let y=-1;if(m){c(m);return}for(;++y<s.length;)(h[y]===null||h[y]===void 0)&&(h[y]=s[y]);s=h,g?zR(g,d)(...h):c(null,...h)}}function a(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),i}}function zR(e,i){let r;return a;function a(...c){const d=e.length>c.length;let m;d&&c.push(s);try{m=e.apply(this,c)}catch(h){const g=h;if(d&&r)throw g;return s(g)}d||(m&&m.then&&typeof m.then=="function"?m.then(u,s):m instanceof Error?s(m):u(m))}function s(c,...d){r||(r=!0,i(c,...d))}function u(c){s(null,c)}}const An={basename:_R,dirname:LR,extname:jR,join:BR,sep:"/"};function _R(e,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');ga(e);let r=0,a=-1,s=e.length,u;if(i===void 0||i.length===0||i.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(u){r=s+1;break}}else a<0&&(u=!0,a=s+1);return a<0?"":e.slice(r,a)}if(i===e)return"";let c=-1,d=i.length-1;for(;s--;)if(e.codePointAt(s)===47){if(u){r=s+1;break}}else c<0&&(u=!0,c=s+1),d>-1&&(e.codePointAt(s)===i.codePointAt(d--)?d<0&&(a=s):(d=-1,a=c));return r===a?a=c:a<0&&(a=e.length),e.slice(r,a)}function LR(e){if(ga(e),e.length===0)return".";let i=-1,r=e.length,a;for(;--r;)if(e.codePointAt(r)===47){if(a){i=r;break}}else a||(a=!0);return i<0?e.codePointAt(0)===47?"/":".":i===1&&e.codePointAt(0)===47?"//":e.slice(0,i)}function jR(e){ga(e);let i=e.length,r=-1,a=0,s=-1,u=0,c;for(;i--;){const d=e.codePointAt(i);if(d===47){if(c){a=i+1;break}continue}r<0&&(c=!0,r=i+1),d===46?s<0?s=i:u!==1&&(u=1):s>-1&&(u=-1)}return s<0||r<0||u===0||u===1&&s===r-1&&s===a+1?"":e.slice(s,r)}function BR(...e){let i=-1,r;for(;++i<e.length;)ga(e[i]),e[i]&&(r=r===void 0?e[i]:r+"/"+e[i]);return r===void 0?".":UR(r)}function UR(e){ga(e);const i=e.codePointAt(0)===47;let r=qR(e,!i);return r.length===0&&!i&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),i?"/"+r:r}function qR(e,i){let r="",a=0,s=-1,u=0,c=-1,d,m;for(;++c<=e.length;){if(c<e.length)d=e.codePointAt(c);else{if(d===47)break;d=47}if(d===47){if(!(s===c-1||u===1))if(s!==c-1&&u===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(m=r.lastIndexOf("/"),m!==r.length-1){m<0?(r="",a=0):(r=r.slice(0,m),a=r.length-1-r.lastIndexOf("/")),s=c,u=0;continue}}else if(r.length>0){r="",a=0,s=c,u=0;continue}}i&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+e.slice(s+1,c):r=e.slice(s+1,c),a=c-s-1;s=c,u=0}else d===46&&u>-1?u++:u=-1}return r}function ga(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const PR={cwd:HR};function HR(){return"/"}function Pf(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function IR(e){if(typeof e=="string")e=new URL(e);else if(!Pf(e)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(e.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return GR(e)}function GR(e){if(e.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const i=e.pathname;let r=-1;for(;++r<i.length;)if(i.codePointAt(r)===37&&i.codePointAt(r+1)===50){const a=i.codePointAt(r+2);if(a===70||a===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(i)}const of=["history","path","basename","stem","extname","dirname"];class Lx{constructor(i){let r;i?Pf(i)?r={path:i}:typeof i=="string"||FR(i)?r={value:i}:r=i:r={},this.cwd="cwd"in r?"":PR.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<of.length;){const u=of[a];u in r&&r[u]!==void 0&&r[u]!==null&&(this[u]=u==="history"?[...r[u]]:r[u])}let s;for(s in r)of.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?An.basename(this.path):void 0}set basename(i){uf(i,"basename"),sf(i,"basename"),this.path=An.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?An.dirname(this.path):void 0}set dirname(i){Ky(this.basename,"dirname"),this.path=An.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?An.extname(this.path):void 0}set extname(i){if(sf(i,"extname"),Ky(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=An.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){Pf(i)&&(i=IR(i)),uf(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?An.basename(this.path,this.extname):void 0}set stem(i){uf(i,"stem"),sf(i,"stem"),this.path=An.join(this.dirname||"",i+(this.extname||""))}fail(i,r,a){const s=this.message(i,r,a);throw s.fatal=!0,s}info(i,r,a){const s=this.message(i,r,a);return s.fatal=void 0,s}message(i,r,a){const s=new vt(i,r,a);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function sf(e,i){if(e&&e.includes(An.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+An.sep+"`")}function uf(e,i){if(!e)throw new Error("`"+i+"` cannot be empty")}function Ky(e,i){if(!e)throw new Error("Setting `"+i+"` requires `path` to be set too")}function FR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const VR=(function(e){const a=this.constructor.prototype,s=a[e],u=function(){return s.apply(u,arguments)};return Object.setPrototypeOf(u,a),u}),YR={}.hasOwnProperty;class Td extends VR{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=MR()}copy(){const i=new Td;let r=-1;for(;++r<this.attachers.length;){const a=this.attachers[r];i.use(...a)}return i.data(af(!0,{},this.namespace)),i}data(i,r){return typeof i=="string"?arguments.length===2?(df("data",this.frozen),this.namespace[i]=r,this):YR.call(this.namespace,i)&&this.namespace[i]||void 0:i?(df("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const s=r.call(i,...a);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const r=Po(i),a=this.parser||this.Parser;return cf("parse",a),a(String(r),r)}process(i,r){const a=this;return this.freeze(),cf("process",this.parser||this.Parser),ff("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(u,c){const d=Po(i),m=a.parse(d);a.run(m,d,function(g,y,w){if(g||!y||!w)return h(g);const v=y,k=a.stringify(v,w);KR(k)?w.value=k:w.result=k,h(g,w)});function h(g,y){g||!y?c(g):u?u(y):r(void 0,y)}}}processSync(i){let r=!1,a;return this.freeze(),cf("processSync",this.parser||this.Parser),ff("processSync",this.compiler||this.Compiler),this.process(i,s),$y("processSync","process",r),a;function s(u,c){r=!0,Qy(u),a=c}}run(i,r,a){Zy(i),this.freeze();const s=this.transformers;return!a&&typeof r=="function"&&(a=r,r=void 0),a?u(void 0,a):new Promise(u);function u(c,d){const m=Po(r);s.run(i,m,h);function h(g,y,w){const v=y||i;g?d(g):c?c(v):a(void 0,v,w)}}}runSync(i,r){let a=!1,s;return this.run(i,r,u),$y("runSync","run",a),s;function u(c,d){Qy(c),s=d,a=!0}}stringify(i,r){this.freeze();const a=Po(r),s=this.compiler||this.Compiler;return ff("stringify",s),Zy(i),s(i,a)}use(i,...r){const a=this.attachers,s=this.namespace;if(df("use",this.frozen),i!=null)if(typeof i=="function")m(i,r);else if(typeof i=="object")Array.isArray(i)?d(i):c(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function u(h){if(typeof h=="function")m(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[g,...y]=h;
vendor: 4,375 bytes, line 28
28m(g,y)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(s.settings=af(!0,s.settings,h.settings))}function d(h){let g=-1;if(h!=null)if(Array.isArray(h))for(;++g<h.length;){const y=h[g];u(y)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function m(h,g){let y=-1,w=-1;for(;++y<a.length;)if(a[y][0]===h){w=y;break}if(w===-1)a.push([h,...g]);else if(g.length>0){let[v,...k]=g;const T=a[w][1];qf(T)&&qf(v)&&(v=af(!0,T,v)),a[w]=[h,v,...k]}}}}const QR=new Td().freeze();function cf(e,i){if(typeof i!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ff(e,i){if(typeof i!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function df(e,i){if(i)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Zy(e){if(!qf(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function $y(e,i,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+i+"` instead")}function Po(e){return XR(e)?e:new Lx(e)}function XR(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function KR(e){return typeof e=="string"||ZR(e)}function ZR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const $R="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Jy=[],Wy={allowDangerousHtml:!0},JR=/^(https?|ircs?|mailto|xmpp)$/i,WR=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function eD(e){const i=tD(e),r=nD(e);return iD(i.runSync(i.parse(r),r),e)}function tD(e){const i=e.rehypePlugins||Jy,r=e.remarkPlugins||Jy,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Wy}:Wy;return QR().use(LO).use(r).use(RR,a).use(i)}function nD(e){const i=e.children||"",r=new Lx;return typeof i=="string"&&(r.value=i),r}function iD(e,i){const r=i.allowedElements,a=i.allowElement,s=i.components,u=i.disallowedElements,c=i.skipHtml,d=i.unwrapDisallowed,m=i.urlTransform||rD;for(const g of WR)Object.hasOwn(i,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+$R+g.id,void 0);return Ad(e,h),bC(e,{Fragment:O.Fragment,components:s,ignoreInvalidStyle:!0,jsx:O.jsx,jsxs:O.jsxs,passKeys:!0,passNode:!0});function h(g,y,w){if(g.type==="raw"&&w&&typeof y=="number")return c?w.children.splice(y,1):w.children[y]={type:"text",value:g.value},y;if(g.type==="element"){let v;for(v in tf)if(Object.hasOwn(tf,v)&&Object.hasOwn(g.properties,v)){const k=g.properties[v],T=tf[v];(T===null||T.includes(g.tagName))&&(g.properties[v]=m(String(k||""),v,g))}}if(g.type==="element"){let v=r?!r.includes(g.tagName):u?u.includes(g.tagName):!1;if(!v&&a&&typeof y=="number"&&(v=!a(g,y,w)),v&&w&&typeof y=="number")return d&&g.children?w.children.splice(y,1,...g.children):w.children.splice(y,1),y}}}function rD(e){const i=e.indexOf(":"),r=e.indexOf("?"),a=e.indexOf("#"),s=e.indexOf("/");return i===-1||s!==-1&&i>s||r!==-1&&i>r||a!==-1&&i>a||JR.test(e.slice(0,i))?e:""}function eb(e,i){const r=String(e);
vendor: 5,432 bytes, lines 28-29
28if(typeof i!="string")throw new TypeError("Expected character");let a=0,s=r.indexOf(i);for(;s!==-1;)a++,s=r.indexOf(i,s+i.length);return a}function lD(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function aD(e,i,r){const s=ws((r||{}).ignore||[]),u=oD(i);let c=-1;for(;++c<u.length;)_x(e,"text",d);function d(h,g){let y=-1,w;for(;++y<g.length;){const v=g[y],k=w?w.children:void 0;if(s(v,k?k.indexOf(v):void 0,w))return;w=v}if(w)return m(h,g)}function m(h,g){const y=g[g.length-1],w=u[c][0],v=u[c][1];let k=0;const E=y.children.indexOf(h);let C=!1,L=[];w.lastIndex=0;let M=w.exec(h.value);for(;M;){const G=M.index,I={index:M.index,input:M.input,stack:[...g,h]};let z=v(...M,I);if(typeof z=="string"&&(z=z.length>0?{type:"text",value:z}:void 0),z===!1?w.lastIndex=G+1:(k!==G&&L.push({type:"text",value:h.value.slice(k,G)}),Array.isArray(z)?L.push(...z):z&&L.push(z),k=G+M[0].length,C=!0),!w.global)break;M=w.exec(h.value)}return C?(k<h.value.length&&L.push({type:"text",value:h.value.slice(k)}),y.children.splice(E,1,...L)):L=[h],E+L.length}}function oD(e){const i=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let a=-1;for(;++a<r.length;){const s=r[a];i.push([sD(s[0]),uD(s[1])])}return i}function sD(e){return typeof e=="string"?new RegExp(lD(e),"g"):e}function uD(e){return typeof e=="function"?e:function(){return e}}const hf="phrasing",pf=["autolink","link","image","label"];function cD(){return{transforms:[yD],enter:{literalAutolink:dD,literalAutolinkEmail:mf,literalAutolinkHttp:mf,literalAutolinkWww:mf},exit:{literalAutolink:gD,literalAutolinkEmail:mD,literalAutolinkHttp:hD,literalAutolinkWww:pD}}}function fD(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:hf,notInConstruct:pf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:hf,notInConstruct:pf},{character:":",before:"[ps]",after:"\\/",inConstruct:hf,notInConstruct:pf}]}}function dD(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function mf(e){this.config.enter.autolinkProtocol.call(this,e)}function hD(e){this.config.exit.autolinkProtocol.call(this,e)}function pD(e){this.config.exit.data.call(this,e);const i=this.stack[this.stack.length-1];i.type,i.url="http://"+this.sliceSerialize(e)}function mD(e){this.config.exit.autolinkEmail.call(this,e)}function gD(e){this.exit(e)}function yD(e){aD(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,bD],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),vD]],{ignore:["link","linkReference"]})}function bD(e,i,r,a,s){let u="";if(!jx(s)||(/^w/i.test(i)&&(r=i+r,i="",u="http://"),!xD(r)))return!1;const c=wD(r+a);if(!c[0])return!1;const d={type:"link",title:null,url:u+i+c[0],children:[{type:"text",value:i+c[0]}]};return c[1]?[d,{type:"text",value:c[1]}]:d}function vD(e,i,r,a){return!jx(a,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+i+"@"+r,children:[{type:"text",value:i+"@"+r}]}}function xD(e){const i=e.split(".");return!(i.length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))}function wD(e){const i=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!i)return[e,void 0];e=e.slice(0,i.index);let r=i[0],a=r.indexOf(")");const s=eb(e,"(");let u=eb(e,")");for(;a!==-1&&s>u;)e+=r.slice(0,a+1),r=r.slice(a+1),a=r.indexOf(")"),u++;return[e,r]}function jx(e,i){const r=e.input.charCodeAt(e.index-1);return(e.index===0||Zi(r)||bs(r))&&(!i||r!==47)}Bx.peek=DD;function SD(){this.buffer()}function kD(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function AD(){this.buffer()}function TD(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ED(e){const i=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=hn(this.sliceSerialize(e)).toLowerCase(),r.label=i}function CD(e){this.exit(e)}function OD(e){const i=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=hn(this.sliceSerialize(e)).toLowerCase(),r.label=i}function RD(e){this.exit(e)}function DD(){return"["}function Bx(e,i,r,a){const s=r.createTracker(a);let u=s.move("[^");const c=r.enter("footnoteReference"),d=r.enter("reference");return u+=s.move(r.safe(r.associationId(e),{after:"]",before:u})),d(),c(),u+=s.move("]"),u}function ND(){return{enter:{gfmFootnoteCallString:SD,gfmFootnoteCall:kD,gfmFootnoteDefinitionLabelString:AD,gfmFootnoteDefinition:TD},exit:{gfmFootnoteCallString:ED,gfmFootnoteCall:CD,gfmFootnoteDefinitionLabelString:OD,gfmFootnoteDefinition:RD}}}function MD(e){let i=!1;return e&&e.firstLineBlank&&(i=!0),{handlers:{footnoteDefinition:r,footnoteReference:Bx},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(a,s,u,c){const d=u.createTracker(c);let m=d.move("[^");const h=u.enter("footnoteDefinition"),g=u.enter("label");return m+=d.move(u.safe(u.associationId(a),{before:m,after:"]"})),g(),m+=d.move("]:"),a.children&&a.children.length>0&&(d.shift(4),m+=d.move((i?` 29`:" ")+u.indentLines(u.containerFlow(a,d.current()),i?Ux:zD))),h(),m}}function zD(e,i,r){return i===0?e:Ux(e,i,r)}function Ux(e,i,r){return(r?"":" ")+e}const _D=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qx.peek=qD;
vendor: 13,652 bytes, lines 29-41
29function LD(){return{canContainEols:["delete"],enter:{strikethrough:BD},exit:{strikethrough:UD}}}function jD(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_D}],handlers:{delete:qx}}}function BD(e){this.enter({type:"delete",children:[]},e)}function UD(e){this.exit(e)}function qx(e,i,r,a){const s=r.createTracker(a),u=r.enter("strikethrough");let c=s.move("~~");return c+=r.containerPhrasing(e,{...s.current(),before:c,after:"~"}),c+=s.move("~~"),u(),c}function qD(){return"~"}function PD(e){return e.length}function HD(e,i){const r=i||{},a=(r.align||[]).concat(),s=r.stringLength||PD,u=[],c=[],d=[],m=[];let h=0,g=-1;for(;++g<e.length;){const T=[],E=[];let C=-1;for(e[g].length>h&&(h=e[g].length);++C<e[g].length;){const L=ID(e[g][C]);if(r.alignDelimiters!==!1){const M=s(L);E[C]=M,(m[C]===void 0||M>m[C])&&(m[C]=M)}T.push(L)}c[g]=T,d[g]=E}let y=-1;if(typeof a=="object"&&"length"in a)for(;++y<h;)u[y]=tb(a[y]);else{const T=tb(a);for(;++y<h;)u[y]=T}y=-1;const w=[],v=[];for(;++y<h;){const T=u[y];let E="",C="";T===99?(E=":",C=":"):T===108?E=":":T===114&&(C=":");let L=r.alignDelimiters===!1?1:Math.max(1,m[y]-E.length-C.length);const M=E+"-".repeat(L)+C;r.alignDelimiters!==!1&&(L=E.length+L+C.length,L>m[y]&&(m[y]=L),v[y]=L),w[y]=M}c.splice(1,0,w),d.splice(1,0,v),g=-1;const k=[];for(;++g<c.length;){const T=c[g],E=d[g];y=-1;const C=[];for(;++y<h;){const L=T[y]||"";let M="",G="";if(r.alignDelimiters!==!1){const I=m[y]-(E[y]||0),z=u[y];z===114?M=" ".repeat(I):z===99?I%2?(M=" ".repeat(I/2+.5),G=" ".repeat(I/2-.5)):(M=" ".repeat(I/2),G=M):G=" ".repeat(I)}r.delimiterStart!==!1&&!y&&C.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&L==="")&&(r.delimiterStart!==!1||y)&&C.push(" "),r.alignDelimiters!==!1&&C.push(M),C.push(L),r.alignDelimiters!==!1&&C.push(G),r.padding!==!1&&C.push(" "),(r.delimiterEnd!==!1||y!==h-1)&&C.push("|")}k.push(r.delimiterEnd===!1?C.join("").replace(/ +$/,""):C.join(""))}return k.join(` 30`)}function ID(e){return e==null?"":String(e)}function tb(e){const i=typeof e=="string"?e.codePointAt(0):0;return i===67||i===99?99:i===76||i===108?108:i===82||i===114?114:0}function GD(e,i,r,a){const s=r.enter("blockquote"),u=r.createTracker(a);u.move("> "),u.shift(2);const c=r.indentLines(r.containerFlow(e,u.current()),FD);return s(),c}function FD(e,i,r){return">"+(r?"":" ")+e}function VD(e,i){return nb(e,i.inConstruct,!0)&&!nb(e,i.notInConstruct,!1)}function nb(e,i,r){if(typeof i=="string"&&(i=[i]),!i||i.length===0)return r;let a=-1;for(;++a<i.length;)if(e.includes(i[a]))return!0;return!1}function ib(e,i,r,a){let s=-1;for(;++s<r.unsafe.length;)if(r.unsafe[s].character===` 31`&&VD(r.stack,r.unsafe[s]))return/[ \t]/.test(a.before)?"":" ";return`\\ 32`}function YD(e,i){const r=String(e);let a=r.indexOf(i),s=a,u=0,c=0;if(typeof i!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===s?++u>c&&(c=u):u=1,s=a+i.length,a=r.indexOf(i,s);return c}function QD(e,i){return!!(i.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function XD(e){const i=e.options.fence||"`";if(i!=="`"&&i!=="~")throw new Error("Cannot serialize code with `"+i+"` for `options.fence`, expected `` ` `` or `~`");return i}function KD(e,i,r,a){const s=XD(r),u=e.value||"",c=s==="`"?"GraveAccent":"Tilde";if(QD(e,r)){const y=r.enter("codeIndented"),w=r.indentLines(u,ZD);return y(),w}const d=r.createTracker(a),m=s.repeat(Math.max(YD(u,s)+1,3)),h=r.enter("codeFenced");let g=d.move(m);if(e.lang){const y=r.enter(`codeFencedLang${c}`);g+=d.move(r.safe(e.lang,{before:g,after:" ",encode:["`"],...d.current()})),y()}if(e.lang&&e.meta){const y=r.enter(`codeFencedMeta${c}`);g+=d.move(" "),g+=d.move(r.safe(e.meta,{before:g,after:` 33`,encode:["`"],...d.current()})),y()}return g+=d.move(` 34`),u&&(g+=d.move(u+` 35`)),g+=d.move(m),h(),g}function ZD(e,i,r){return(r?"":" ")+e}function Ed(e){const i=e.options.quote||'"';if(i!=='"'&&i!=="'")throw new Error("Cannot serialize title with `"+i+"` for `options.quote`, expected `\"`, or `'`");return i}function $D(e,i,r,a){const s=Ed(r),u=s==='"'?"Quote":"Apostrophe",c=r.enter("definition");let d=r.enter("label");const m=r.createTracker(a);let h=m.move("[");return h+=m.move(r.safe(r.associationId(e),{before:h,after:"]",...m.current()})),h+=m.move("]: "),d(),!e.url||/[\0- \u007F]/.test(e.url)?(d=r.enter("destinationLiteral"),h+=m.move("<"),h+=m.move(r.safe(e.url,{before:h,after:">",...m.current()})),h+=m.move(">")):(d=r.enter("destinationRaw"),h+=m.move(r.safe(e.url,{before:h,after:e.title?" ":` 36`,...m.current()}))),d(),e.title&&(d=r.enter(`title${u}`),h+=m.move(" "+s),h+=m.move(r.safe(e.title,{before:h,after:s,...m.current()})),h+=m.move(s),d()),c(),h}function JD(e){const i=e.options.emphasis||"*";if(i!=="*"&&i!=="_")throw new Error("Cannot serialize emphasis with `"+i+"` for `options.emphasis`, expected `*`, or `_`");return i}function ca(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ns(e,i,r){const a=Qr(e),s=Qr(i);return a===void 0?s===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Px.peek=WD;function Px(e,i,r,a){const s=JD(r),u=r.enter("emphasis"),c=r.createTracker(a),d=c.move(s);let m=c.move(r.containerPhrasing(e,{after:s,before:d,...c.current()}));const h=m.charCodeAt(0),g=ns(a.before.charCodeAt(a.before.length-1),h,s);g.inside&&(m=ca(h)+m.slice(1));const y=m.charCodeAt(m.length-1),w=ns(a.after.charCodeAt(0),y,s);w.inside&&(m=m.slice(0,-1)+ca(y));const v=c.move(s);return u(),r.attentionEncodeSurroundingInfo={after:w.outside,before:g.outside},d+m+v}function WD(e,i,r){return r.options.emphasis||"*"}function eN(e,i){let r=!1;return Ad(e,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return r=!0,Bf}),!!((!e.depth||e.depth<3)&&yd(e)&&(i.options.setext||r))}function tN(e,i,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(eN(e,r)){const g=r.enter("headingSetext"),y=r.enter("phrasing"),w=r.containerPhrasing(e,{...u.current(),before:` 37`,after:` 38`});return y(),g(),w+` 39`+(s===1?"=":"-").repeat(w.length-(Math.max(w.lastIndexOf("\r"),w.lastIndexOf(` 40`))+1))}const c="#".repeat(s),d=r.enter("headingAtx"),m=r.enter("phrasing");u.move(c+" ");let h=r.containerPhrasing(e,{before:"# ",after:` 41`,...u.current()});return/^[\t ]/.test(h)&&(h=ca(h.charCodeAt(0))+h.slice(1)),h=h?c+" "+h:c,r.options.closeAtx&&(h+=" "+c),m(),d(),h}Hx.peek=nN;function Hx(e){return e.value||""}function nN(){return"<"}Ix.peek=iN;function Ix(e,i,r,a){const s=Ed(r),u=s==='"'?"Quote":"Apostrophe",c=r.enter("image");let d=r.enter("label");const m=r.createTracker(a);let h=m.move("![");return h+=m.move(r.safe(e.alt,{before:h,after:"]",...m.current()})),h+=m.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=r.enter("destinationLiteral"),h+=m.move("<"),h+=m.move(r.safe(e.url,{before:h,after:">",...m.current()})),h+=m.move(">")):(d=r.enter("destinationRaw"),h+=m.move(r.safe(e.url,{before:h,after:e.title?" ":")",...m.current()}))),d(),e.title&&(d=r.enter(`title${u}`),h+=m.move(" "+s),h+=m.move(r.safe(e.title,{before:h,after:s,...m.current()})),h+=m.move(s),d()),h+=m.move(")"),c(),h}function iN(){return"!"}Gx.peek=rN;function Gx(e,i,r,a){const s=e.referenceType,u=r.enter("imageReference");let c=r.enter("label");const d=r.createTracker(a);let m=d.move("![");const h=r.safe(e.alt,{before:m,after:"]",...d.current()});m+=d.move(h+"]["),c();const g=r.stack;r.stack=[],c=r.enter("reference");const y=r.safe(r.associationId(e),{before:m,after:"]",...d.current()});return c(),r.stack=g,u(),s==="full"||!h||h!==y?m+=d.move(y+"]"):s==="shortcut"?m=m.slice(0,-1):m+=d.move("]"),m}function rN(){return"!"}Fx.peek=lN;function Fx(e,i,r){let a=e.value||"",s="`",u=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(a);)s+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++u<r.unsafe.length;){const c=r.unsafe[u],d=r.compilePattern(c);let m;if(c.atBreak)for(;m=d.exec(a);){let h=m.index;a.charCodeAt(h)===10&&a.charCodeAt(h-1)===13&&h--,a=a.slice(0,h)+" "+a.slice(m.index+1)}}return s+a+s}function lN(){return"`"}function Vx(e,i){const r=yd(e);return!!(!i.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Yx.peek=aN;function Yx(e,i,r,a){const s=Ed(r),u=s==='"'?"Quote":"Apostrophe",c=r.createTracker(a);let d,m;if(Vx(e,r)){const g=r.stack;r.stack=[],d=r.enter("autolink");let y=c.move("<");return y+=c.move(r.containerPhrasing(e,{before:y,after:">",...c.current()})),y+=c.move(">"),d(),r.stack=g,y}d=r.enter("link"),m=r.enter("label");let h=c.move("[");return h+=c.move(r.containerPhrasing(e,{before:h,after:"](",...c.current()})),h+=c.move("]("),m(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(m=r.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(r.safe(e.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(m=r.enter("destinationRaw"),h+=c.move(r.safe(e.url,{before:h,after:e.title?" ":")",...c.current()}))),m(),e.title&&(m=r.enter(`title${u}`),h+=c.move(" "+s),h+=c.move(r.safe(e.title,{before:h,after:s,...c.current()})),h+=c.move(s),m()),h+=c.move(")"),d(),h}function aN(e,i,r){return Vx(e,r)?"<":"["}Qx.peek=oN;function Qx(e,i,r,a){const s=e.referenceType,u=r.enter("linkReference");let c=r.enter("label");const d=r.createTracker(a);let m=d.move("[");const h=r.containerPhrasing(e,{before:m,after:"]",...d.current()});m+=d.move(h+"]["),c();const g=r.stack;r.stack=[],c=r.enter("reference");const y=r.safe(r.associationId(e),{before:m,after:"]",...d.current()});return c(),r.stack=g,u(),s==="full"||!h||h!==y?m+=d.move(y+"]"):s==="shortcut"?m=m.slice(0,-1):m+=d.move("]"),m}function oN(){return"["}function Cd(e){const i=e.options.bullet||"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bullet`, expected `*`, `+`, or `-`");return i}function sN(e){const i=Cd(e),r=e.options.bulletOther;if(!r)return i==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===i)throw new Error("Expected `bullet` (`"+i+"`) and `bulletOther` (`"+r+"`) to be different");return r}function uN(e){const i=e.options.bulletOrdered||".";if(i!=="."&&i!==")")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOrdered`, expected `.` or `)`");return i}function Xx(e){const i=e.options.rule||"*";if(i!=="*"&&i!=="-"&&i!=="_")throw new Error("Cannot serialize rules with `"+i+"` for `options.rule`, expected `*`, `-`, or `_`");return i}function cN(e,i,r,a){const s=r.enter("list"),u=r.bulletCurrent;let c=e.ordered?uN(r):Cd(r);const d=e.ordered?c==="."?")":".":sN(r);let m=i&&r.bulletLastUsed?c===r.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((c==="*"||c==="-")&&g&&(!g.children||!g.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(m=!0),Xx(r)===c&&g){let y=-1;for(;++y<e.children.length;){const w=e.children[y];if(w&&w.type==="listItem"&&w.children&&w.children[0]&&w.children[0].type==="thematicBreak"){m=!0;break}}}}m&&(c=d),r.bulletCurrent=c;const h=r.containerFlow(e,a);return r.bulletLastUsed=c,r.bulletCurrent=u,s(),h}function fN(e){const i=e.options.listItemIndent||"one";if(i!=="tab"&&i!=="one"&&i!=="mixed")throw new Error("Cannot serialize items with `"+i+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return i}function dN(e,i,r,a){const s=fN(r);let u=r.bulletCurrent||Cd(r);i&&i.type==="list"&&i.ordered&&(u=(typeof i.start=="number"&&i.start>-1?i.start:1)+(r.options.incrementListMarker===!1?0:i.children.indexOf(e))+u);let c=u.length+1;(s==="tab"||s==="mixed"&&(i&&i.type==="list"&&i.spread||e.spread))&&(c=Math.ceil(c/4)*4);const d=r.createTracker(a);d.move(u+" ".repeat(c-u.length)),d.shift(c);const m=r.enter("listItem"),h=r.indentLines(r.containerFlow(e,d.current()),g);return m(),h;function g(y,w,v){return w?(v?"":" ".repeat(c))+y:(v?u:u+" ".repeat(c-u.length))+y}}function hN(e,i,r,a){const s=r.enter("paragraph"),u=r.enter("phrasing"),c=r.containerPhrasing(e,a);return u(),s(),c}const pN=ws(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mN(e,i,r,a){return(e.children.some(function(c){return pN(c)})?r.containerPhrasing:r.containerFlow).call(r,e,a)}function gN(e){const i=e.options.strong||"*";if(i!=="*"&&i!=="_")throw new Error("Cannot serialize strong with `"+i+"` for `options.strong`, expected `*`, or `_`");return i}Kx.peek=yN;function Kx(e,i,r,a){const s=gN(r),u=r.enter("strong"),c=r.createTracker(a),d=c.move(s+s);let m=c.move(r.containerPhrasing(e,{after:s,before:d,...c.current()}));const h=m.charCodeAt(0),g=ns(a.before.charCodeAt(a.before.length-1),h,s);g.inside&&(m=ca(h)+m.slice(1));const y=m.charCodeAt(m.length-1),w=ns(a.after.charCodeAt(0),y,s);w.inside&&(m=m.slice(0,-1)+ca(y));const v=c.move(s+s);return u(),r.attentionEncodeSurroundingInfo={after:w.outside,before:g.outside},d+m+v}function yN(e,i,r){return r.options.strong||"*"}
vendor: 4,231 bytes, lines 41-43
41function bN(e,i,r,a){return r.safe(e.value,a)}function vN(e){const i=e.options.ruleRepetition||3;if(i<3)throw new Error("Cannot serialize rules with repetition `"+i+"` for `options.ruleRepetition`, expected `3` or more");return i}function xN(e,i,r){const a=(Xx(r)+(r.options.ruleSpaces?" ":"")).repeat(vN(r));return r.options.ruleSpaces?a.slice(0,-1):a}const Zx={blockquote:GD,break:ib,code:KD,definition:$D,emphasis:Px,hardBreak:ib,heading:tN,html:Hx,image:Ix,imageReference:Gx,inlineCode:Fx,link:Yx,linkReference:Qx,list:cN,listItem:dN,paragraph:hN,root:mN,strong:Kx,text:bN,thematicBreak:xN};function wN(){return{enter:{table:SN,tableData:rb,tableHeader:rb,tableRow:AN},exit:{codeText:TN,table:kN,tableData:gf,tableHeader:gf,tableRow:gf}}}function SN(e){const i=e._align;this.enter({type:"table",align:i.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function kN(e){this.exit(e),this.data.inTable=void 0}function AN(e){this.enter({type:"tableRow",children:[]},e)}function gf(e){this.exit(e)}function rb(e){this.enter({type:"tableCell",children:[]},e)}function TN(e){let i=this.resume();this.data.inTable&&(i=i.replace(/\\([\\|])/g,EN));const r=this.stack[this.stack.length-1];r.type,r.value=i,this.exit(e)}function EN(e,i){return i==="|"?i:e}function CN(e){const i=e||{},r=i.tableCellPadding,a=i.tablePipeAlign,s=i.stringLength,u=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 42`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:w,table:c,tableCell:m,tableRow:d}};function c(v,k,T,E){return h(g(v,T,E),v.align)}function d(v,k,T,E){const C=y(v,T,E),L=h([C]);return L.slice(0,L.indexOf(` 43`))}function m(v,k,T,E){const C=T.enter("tableCell"),L=T.enter("phrasing"),M=T.containerPhrasing(v,{...E,before:u,after:u});return L(),C(),M}function h(v,k){return HD(v,{align:k,alignDelimiters:a,padding:r,stringLength:s})}function g(v,k,T){const E=v.children;let C=-1;const L=[],M=k.enter("table");for(;++C<E.length;)L[C]=y(E[C],k,T);return M(),L}function y(v,k,T){const E=v.children;let C=-1;const L=[],M=k.enter("tableRow");for(;++C<E.length;)L[C]=m(E[C],v,k,T);return M(),L}function w(v,k,T){let E=Zx.inlineCode(v,k,T);return T.stack.includes("tableCell")&&(E=E.replace(/\|/g,"\\$&")),E}}function ON(){return{exit:{taskListCheckValueChecked:lb,taskListCheckValueUnchecked:lb,paragraph:DN}}}function RN(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:NN}}}function lb(e){const i=this.stack[this.stack.length-2];i.type,i.checked=e.type==="taskListCheckValueChecked"}function DN(e){const i=this.stack[this.stack.length-2];if(i&&i.type==="listItem"&&typeof i.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const a=r.children[0];if(a&&a.type==="text"){const s=i.children;let u=-1,c;for(;++u<s.length;){const d=s[u];if(d.type==="paragraph"){c=d;break}}c===r&&(a.value=a.value.slice(1),a.value.length===0?r.children.shift():r.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,r.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function NN(e,i,r,a){const s=e.children[0],u=typeof e.checked=="boolean"&&s&&s.type==="paragraph",c="["+(e.checked?"x":" ")+"] ",d=r.createTracker(a);u&&d.move(c);let m=Zx.listItem(e,i,r,{...a,...d.current()});return u&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),m;function h(g){return g+c}}function MN(){return[cD(),ND(),LD(),wN(),ON()]}function zN(e){return{extensions:[fD(),MD(e),jD(),CN(e),RN()]}}const _N={tokenize:PN,partial:!0},$x={tokenize:HN,partial:!0},Jx={tokenize:IN,partial:!0},Wx={tokenize:GN,partial:!0},LN={tokenize:FN,partial:!0},e0={name:"wwwAutolink",tokenize:UN,previous:n0},t0={name:"protocolAutolink",tokenize:qN,previous:i0},Kn={name:"emailAutolink",tokenize:BN,previous:r0},On={};function jN(){return{text:On}}let Xi=48;for(;Xi<123;)On[Xi]=Kn,Xi++,Xi===58?Xi=65:Xi===91&&(Xi=97);On[43]=Kn;On[45]=Kn;On[46]=Kn;On[95]=Kn;On[72]=[Kn,t0];On[104]=[Kn,t0];On[87]=[Kn,e0];On[119]=[Kn,e0];function BN(e,i,r){const a=this;let s,u;return c;
vendor: 1,465 bytes, line 43
43function c(y){return!Hf(y)||!r0.call(a,a.previous)||Od(a.events)?r(y):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(y))}function d(y){return Hf(y)?(e.consume(y),d):y===64?(e.consume(y),m):r(y)}function m(y){return y===46?e.check(LN,g,h)(y):y===45||y===95||bt(y)?(u=!0,e.consume(y),m):g(y)}function h(y){return e.consume(y),s=!0,m}function g(y){return u&&s&&kt(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),i(y)):r(y)}}function UN(e,i,r){const a=this;return s;function s(c){return c!==87&&c!==119||!n0.call(a,a.previous)||Od(a.events)?r(c):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_N,e.attempt($x,e.attempt(Jx,u),r),r)(c))}function u(c){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),i(c)}}function qN(e,i,r){const a=this;let s="",u=!1;return c;function c(y){return(y===72||y===104)&&i0.call(a,a.previous)&&!Od(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(y),e.consume(y),d):r(y)}function d(y){if(kt(y)&&s.length<5)return s+=String.fromCodePoint(y),e.consume(y),d;if(y===58){const w=s.toLowerCase();if(w==="http"||w==="https")return e.consume(y),m}return r(y)}function m(y){return y===47?(e.consume(y),u?h:(u=!0,m)):r(y)}function h(y){return y===null||Wo(y)||Fe(y)||Zi(y)||bs(y)?r(y):e.attempt($x,e.attempt(Jx,g),r)(y)}function g(y){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),i(y)}}function PN(e,i,r){let a=0;return s;
vendor: 8,136 bytes, line 43
43function s(c){return(c===87||c===119)&&a<3?(a++,e.consume(c),s):c===46&&a===3?(e.consume(c),u):r(c)}function u(c){return c===null?r(c):i(c)}}function HN(e,i,r){let a,s,u;return c;function c(h){return h===46||h===95?e.check(Wx,m,d)(h):h===null||Fe(h)||Zi(h)||h!==45&&bs(h)?m(h):(u=!0,e.consume(h),c)}function d(h){return h===95?a=!0:(s=a,a=void 0),e.consume(h),c}function m(h){return s||a||!u?r(h):i(h)}}function IN(e,i){let r=0,a=0;return s;function s(c){return c===40?(r++,e.consume(c),s):c===41&&a<r?u(c):c===33||c===34||c===38||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===60||c===63||c===93||c===95||c===126?e.check(Wx,i,u)(c):c===null||Fe(c)||Zi(c)?i(c):(e.consume(c),s)}function u(c){return c===41&&a++,e.consume(c),s}}function GN(e,i,r){return a;function a(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),a):d===38?(e.consume(d),u):d===93?(e.consume(d),s):d===60||d===null||Fe(d)||Zi(d)?i(d):r(d)}function s(d){return d===null||d===40||d===91||Fe(d)||Zi(d)?i(d):a(d)}function u(d){return kt(d)?c(d):r(d)}function c(d){return d===59?(e.consume(d),a):kt(d)?(e.consume(d),c):r(d)}}function FN(e,i,r){return a;function a(u){return e.consume(u),s}function s(u){return bt(u)?r(u):i(u)}}function n0(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Fe(e)}function i0(e){return!kt(e)}function r0(e){return!(e===47||Hf(e))}function Hf(e){return e===43||e===45||e===46||e===95||bt(e)}function Od(e){let i=e.length,r=!1;for(;i--;){const a=e[i][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){r=!0;break}if(a._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const VN={tokenize:WN,partial:!0};function YN(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ZN,continuation:{tokenize:$N},exit:JN}},text:{91:{name:"gfmFootnoteCall",tokenize:KN},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:QN,resolveTo:XN}}}}function QN(e,i,r){const a=this;let s=a.events.length;const u=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let c;for(;s--;){const m=a.events[s][1];if(m.type==="labelImage"){c=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return d;function d(m){if(!c||!c._balanced)return r(m);const h=hn(a.sliceSerialize({start:c.end,end:a.now()}));return h.codePointAt(0)!==94||!u.includes(h.slice(1))?r(m):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),i(m))}}function XN(e,i){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},d=[e[r+1],e[r+2],["enter",a,i],e[r+3],e[r+4],["enter",s,i],["exit",s,i],["enter",u,i],["enter",c,i],["exit",c,i],["exit",u,i],e[e.length-2],e[e.length-1],["exit",a,i]];return e.splice(r,e.length-r+1,...d),e}function KN(e,i,r){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u=0,c;return d;function d(y){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(y),e.exit("gfmFootnoteCallLabelMarker"),m}function m(y){return y!==94?r(y):(e.enter("gfmFootnoteCallMarker"),e.consume(y),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(y){if(u>999||y===93&&!c||y===null||y===91||Fe(y))return r(y);if(y===93){e.exit("chunkString");const w=e.exit("gfmFootnoteCallString");return s.includes(hn(a.sliceSerialize(w)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(y),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),i):r(y)}return Fe(y)||(c=!0),u++,e.consume(y),y===92?g:h}function g(y){return y===91||y===92||y===93?(e.consume(y),u++,h):h(y)}}function ZN(e,i,r){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u,c=0,d;return m;function m(k){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(k),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(k){return k===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(k),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):r(k)}function g(k){if(c>999||k===93&&!d||k===null||k===91||Fe(k))return r(k);if(k===93){e.exit("chunkString");const T=e.exit("gfmFootnoteDefinitionLabelString");return u=hn(a.sliceSerialize(T)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(k),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),w}return Fe(k)||(d=!0),c++,e.consume(k),k===92?y:g}function y(k){return k===91||k===92||k===93?(e.consume(k),c++,g):g(k)}function w(k){return k===58?(e.enter("definitionMarker"),e.consume(k),e.exit("definitionMarker"),s.includes(u)||s.push(u),ze(e,v,"gfmFootnoteDefinitionWhitespace")):r(k)}function v(k){return i(k)}}function $N(e,i,r){return e.check(ma,i,e.attempt(VN,i,r))}function JN(e){e.exit("gfmFootnoteDefinition")}function WN(e,i,r){const a=this;return ze(e,s,"gfmFootnoteDefinitionIndent",5);function s(u){const c=a.events[a.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===4?i(u):r(u)}}function eM(e){let r=(e||{}).singleTilde;const a={name:"strikethrough",tokenize:u,resolveAll:s};return r==null&&(r=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function s(c,d){let m=-1;for(;++m<c.length;)if(c[m][0]==="enter"&&c[m][1].type==="strikethroughSequenceTemporary"&&c[m][1]._close){let h=m;for(;h--;)if(c[h][0]==="exit"&&c[h][1].type==="strikethroughSequenceTemporary"&&c[h][1]._open&&c[m][1].end.offset-c[m][1].start.offset===c[h][1].end.offset-c[h][1].start.offset){c[m][1].type="strikethroughSequence",c[h][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},c[h][1].start),end:Object.assign({},c[m][1].end)},y={type:"strikethroughText",start:Object.assign({},c[h][1].end),end:Object.assign({},c[m][1].start)},w=[["enter",g,d],["enter",c[h][1],d],["exit",c[h][1],d],["enter",y,d]],v=d.parser.constructs.insideSpan.null;v&&Xt(w,w.length,0,vs(v,c.slice(h+1,m),d)),Xt(w,w.length,0,[["exit",y,d],["enter",c[m][1],d],["exit",c[m][1],d],["exit",g,d]]),Xt(c,h-1,m-h+3,w),m=h+w.length-2;break}}for(m=-1;++m<c.length;)c[m][1].type==="strikethroughSequenceTemporary"&&(c[m][1].type="data");return c}function u(c,d,m){const h=this.previous,g=this.events;let y=0;return w;function w(k){return h===126&&g[g.length-1][1].type!=="characterEscape"?m(k):(c.enter("strikethroughSequenceTemporary"),v(k))}function v(k){const T=Qr(h);if(k===126)return y>1?m(k):(c.consume(k),y++,v);if(y<2&&!r)return m(k);const E=c.exit("strikethroughSequenceTemporary"),C=Qr(k);return E._open=!C||C===2&&!!T,E._close=!T||T===2&&!!C,d(k)}}}class tM{constructor(){this.map=[]}add(i,r,a){nM(this,i,r,a)}consume(i){if(this.map.sort(function(u,c){return u[0]-c[0]}),this.map.length===0)return;let r=this.map.length;const a=[];for(;r>0;)r-=1,a.push(i.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),i.length=this.map[r][0];a.push(i.slice()),i.length=0;let s=a.pop();for(;s;){for(const u of s)i.push(u);s=a.pop()}this.map.length=0}}function nM(e,i,r,a){let s=0;if(!(r===0&&a.length===0)){for(;s<e.map.length;){if(e.map[s][0]===i){e.map[s][1]+=r,e.map[s][2].push(...a);return}s+=1}e.map.push([i,r,a])}}function iM(e,i){let r=!1;const a=[];for(;i<e.length;){const s=e[i];if(r){if(s[0]==="enter")s[1].type==="tableContent"&&a.push(e[i+1][1].type==="tableDelimiterMarker"?"left"
vendor: 4,367 bytes, line 43
43:"none");else if(s[1].type==="tableContent"){if(e[i-1][1].type==="tableDelimiterMarker"){const u=a.length-1;a[u]=a[u]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(r=!0);i+=1}return a}function rM(){return{flow:{null:{name:"table",tokenize:lM,resolveAll:aM}}}}function lM(e,i,r){const a=this;let s=0,u=0,c;return d;function d(B){let ne=a.events.length-1;for(;ne>-1;){const K=a.events[ne][1].type;if(K==="lineEnding"||K==="linePrefix")ne--;else break}const te=ne>-1?a.events[ne][1].type:null,fe=te==="tableHead"||te==="tableRow"?z:m;return fe===z&&a.parser.lazy[a.now().line]?r(B):fe(B)}function m(B){return e.enter("tableHead"),e.enter("tableRow"),h(B)}function h(B){return B===124||(c=!0,u+=1),g(B)}function g(B){return B===null?r(B):ye(B)?u>1?(u=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),v):r(B):De(B)?ze(e,g,"whitespace")(B):(u+=1,c&&(c=!1,s+=1),B===124?(e.enter("tableCellDivider"),e.consume(B),e.exit("tableCellDivider"),c=!0,g):(e.enter("data"),y(B)))}function y(B){return B===null||B===124||Fe(B)?(e.exit("data"),g(B)):(e.consume(B),B===92?w:y)}function w(B){return B===92||B===124?(e.consume(B),y):y(B)}function v(B){return a.interrupt=!1,a.parser.lazy[a.now().line]?r(B):(e.enter("tableDelimiterRow"),c=!1,De(B)?ze(e,k,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):k(B))}function k(B){return B===45||B===58?E(B):B===124?(c=!0,e.enter("tableCellDivider"),e.consume(B),e.exit("tableCellDivider"),T):I(B)}function T(B){return De(B)?ze(e,E,"whitespace")(B):E(B)}function E(B){return B===58?(u+=1,c=!0,e.enter("tableDelimiterMarker"),e.consume(B),e.exit("tableDelimiterMarker"),C):B===45?(u+=1,C(B)):B===null||ye(B)?G(B):I(B)}function C(B){return B===45?(e.enter("tableDelimiterFiller"),L(B)):I(B)}function L(B){return B===45?(e.consume(B),L):B===58?(c=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(B),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(B))}function M(B){return De(B)?ze(e,G,"whitespace")(B):G(B)}function G(B){return B===124?k(B):B===null||ye(B)?!c||s!==u?I(B):(e.exit("tableDelimiterRow"),e.exit("tableHead"),i(B)):I(B)}function I(B){return r(B)}function z(B){return e.enter("tableRow"),W(B)}function W(B){return B===124?(e.enter("tableCellDivider"),e.consume(B),e.exit("tableCellDivider"),W):B===null||ye(B)?(e.exit("tableRow"),i(B)):De(B)?ze(e,W,"whitespace")(B):(e.enter("data"),V(B))}function V(B){return B===null||B===124||Fe(B)?(e.exit("data"),W(B)):(e.consume(B),B===92?ae:V)}function ae(B){return B===92||B===124?(e.consume(B),V):V(B)}}function aM(e,i){let r=-1,a=!0,s=0,u=[0,0,0,0],c=[0,0,0,0],d=!1,m=0,h,g,y;const w=new tM;for(;++r<e.length;){const v=e[r],k=v[1];v[0]==="enter"?k.type==="tableHead"?(d=!1,m!==0&&(ab(w,i,m,h,g),g=void 0,m=0),h={type:"table",start:Object.assign({},k.start),end:Object.assign({},k.end)},w.add(r,0,[["enter",h,i]])):k.type==="tableRow"||k.type==="tableDelimiterRow"?(a=!0,y=void 0,u=[0,0,0,0],c=[0,r+1,0,0],d&&(d=!1,g={type:"tableBody",start:Object.assign({},k.start),end:Object.assign({},k.end)},w.add(r,0,[["enter",g,i]])),s=k.type==="tableDelimiterRow"?2:g?3:1):s&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")?(a=!1,c[2]===0&&(u[1]!==0&&(c[0]=c[1],y=Ho(w,i,u,s,void 0,y),u=[0,0,0,0]),c[2]=r)):k.type==="tableCellDivider"&&(a?a=!1:(u[1]!==0&&(c[0]=c[1],y=Ho(w,i,u,s,void 0,y)),u=c,c=[u[1],r,0,0])):k.type==="tableHead"?(d=!0,m=r):k.type==="tableRow"||k.type==="tableDelimiterRow"?(m=r,u[1]!==0?(c[0]=c[1],y=Ho(w,i,u,s,r,y)):c[1]!==0&&(y=Ho(w,i,c,s,r,y)),s=0):s&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")&&(c[3]=r)}for(m!==0&&ab(w,i,m,h,g),w.consume(i.events),r=-1;++r<i.events.length;){const v=i.events[r];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=iM(i.events,r))}return e}function Ho(e,i,r,a,s,u){const c=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",d="tableContent";r[0]!==0&&(u.end=Object.assign({},Ir(i.events,r[0])),e.add(r[0],0,[["exit",u,i]]));const m=Ir(i.events,r[1]);if(u={type:c,start:Object.assign({},m),end:Object.assign({},m)},e.add(r[1],0,[["enter",u,i]]),r[2]!==0){const h=Ir(i.events,r[2]),g=Ir(i.events,r[3]),y={type:d,start:Object.assign({},h),end:Object.assign({},g)};
43if(e.add(r[2],0,[["enter",y,i]]),a!==2){const w=i.events[r[2]],v=i.events[r[3]];if(w[1].end=Object.assign({},v[1].end),w[1].type="chunkText",w[1].contentType="text",r[3]>r[2]+1){const k=r[2]+1,T=r[3]-r[2]-1;e.add(k,T,[])}}e.add(r[3]+1,0,[["exit",y,i]])}return s!==void 0&&(u.end=Object.assign({},Ir(i.events,s)),e.add(s,0,[["exit",u,i]]),u=void 0),u}function ab(e,i,r,a,s){const u=[],c=Ir(i.events,r);s&&(s.end=Object.assign({},c),u.push(["exit",s,i])),a.end=Object.assign({},c),u.push(["exit",a,i]),e.add(r+1,0,u)}function Ir(e,i){const r=e[i],a=r[0]==="enter"?"start":"end";return r[1][a]}const oM={name:"tasklistCheck",tokenize:uM};function sM(){return{text:{91:oM}}}function uM(e,i,r){const a=this;return s;function s(m){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?r(m):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(m),e.exit("taskListCheckMarker"),u)}function u(m){return Fe(m)?(e.enter("taskListCheckValueUnchecked"),e.consume(m),e.exit("taskListCheckValueUnchecked"),c):m===88||m===120?(e.enter("taskListCheckValueChecked"),e.consume(m),e.exit("taskListCheckValueChecked"),c):r(m)}function c(m){return m===93?(e.enter("taskListCheckMarker"),e.consume(m),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):r(m)}function d(m){return ye(m)?i(m):De(m)?e.check({tokenize:cM},i,r)(m):r(m)}}function cM(e,i,r){return ze(e,a,"whitespace");function a(s){return s===null?r(s):i(s)}}function fM(e){return mx([jN(),YN(),eM(e),rM(),sM()])}const dM={};function hM(e){const i=this,r=e||dM,a=i.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),u=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),c=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(fM(r)),u.push(MN()),c.push(zN(r))}function pM(){const[e,i]=D.useState(""),[r,a]=D.useState(!0);return D.useEffect(()=>{fetch("/pipeline.md").then(s=>s.text()).then(s=>{i(s),a(!1)}).catch(()=>a(!1))},[]),r?O.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:O.jsx("p",{className:"text-foreground/60 font-serif text-lg",children:"Loading pipeline documentationâ¦"})}):O.jsxs("div",{className:"min-h-screen bg-background",children:[O.jsx("header",{className:"sticky top-0 z-50 bg-background/95 backdrop-blur border-b border-border",children:O.jsxs("div",{className:"max-w-4xl mx-auto px-4 py-3 flex items-center justify-between",children:[O.jsx("a",{href:"/",className:"text-sm text-primary hover:text-primary/80 font-sans transition-colors",children:"â Back to article"}),O.jsx("a",{href:"/pipeline.md",className:"text-xs text-foreground/50 hover:text-foreground/70 font-mono transition-colors",target:"_blank",rel:"noopener noreferrer",children:"raw markdown"})]})}),O.jsxs("main",{className:"max-w-4xl mx-auto px-4 py-12 md:py-16",children:[O.jsx("article",{className:"pipeline-content prose prose-lg max-w-none",children:O.jsx(eD,{remarkPlugins:[hM],components:{h1:({children:s})=>O.jsx("h1",{className:"font-serif text-4xl md:text-5xl font-bold text-foreground mb-2 leading-tight",children:s}),h2:({children:s})=>O.jsx("h2",{className:"font-serif text-2xl md:text-3xl font-bold text-foreground mt-16 mb-6 pb-3 border-b border-border",children:s}),h3:({children:s})=>O.jsx("h3",{className:"font-serif text-xl md:text-2xl font-semibold text-foreground mt-10 mb-4",children:s}),h4:({children:s})=>O.jsx("h4",{className:"font-serif text-lg md:text-xl font-semibold text-foreground mt-8 mb-3",children:s}),p:({children:s})=>O.jsx("p",{className:"text-foreground/80 leading-relaxed text-base md:text-lg mb-4 font-sans",children:s}),blockquote:({children:s})=>O.jsx("blockquote",{className:"border-l-3 border-primary/60 pl-5 py-1 my-6 text-foreground/70 italic font-serif",children:s}),ul:({children:s})=>O.jsx("ul",{className:"my-4 space-y-1 pl-6 list-disc text-foreground/80 font-sans",children:s}),ol:({children:s})=>O.jsx("ol",{className:"my-4 space-y-1 pl-6 list-decimal text-foreground/80 font-sans",children:s}),li:({children:s})=>O.jsx("li",{className:"leading-relaxed text-base",children:s}),a:({href:s,children:u})=>O.jsx("a",{href:s,className:"text-primary hover:text-primary/80 underline underline-offset-2 transition-colors",children:u}),table:({children:s})=>O.jsx("div",{className:"my-8 overflow-x-auto rounded-lg border border-border",children:O.jsx("table",{className:"w-full text-sm md:text-base",children:s})}),thead:({children:s})=>O.jsx("thead",{className:"bg-secondary/60",children:s}),th:({children:s})=>O.jsx("th",{className:"px-4 py-3 text-left font-semibold text-foreground font-sans text-sm border-b border-border",children:s}),td:({children:s})=>
43O.jsx("td",{className:"px-4 py-2.5 text-foreground/80 font-sans text-sm border-b border-border/40",children:s}),tr:({children:s})=>O.jsx("tr",{className:"hover:bg-secondary/30 transition-colors",children:s}),code:({className:s,children:u})=>s?.includes("language-")||typeof u=="string"&&u.includes(` 44`)?O.jsx("code",{className:`block bg-card border border-border rounded-lg p-4 my-6 overflow-x-auto text-sm font-mono text-foreground/90 leading-relaxed whitespace-pre ${s||""}`,children:u}):O.jsx("code",{className:"bg-secondary/70 text-primary px-1.5 py-0.5 rounded text-sm font-mono",children:u}),pre:({children:s})=>O.jsx("pre",{className:"bg-card border border-border rounded-lg p-4 my-6 overflow-x-auto",children:s}),hr:()=>O.jsx("hr",{className:"my-12 border-border"}),strong:({children:s})=>O.jsx("strong",{className:"font-bold text-foreground",children:s})},children:e})}),O.jsx("footer",{className:"mt-16 pt-8 border-t border-border text-center",children:O.jsx("a",{href:"/",className:"text-sm text-primary hover:text-primary/80 font-sans transition-colors",children:"â Back to Vibe Genomics article"})})]})]})}const mM=new xS;function gM(){return O.jsxs(Q1,{children:[O.jsx(No,{path:"/",component:IE}),O.jsx(No,{path:"/stats",component:GE}),O.jsx(No,{path:"/pipeline",component:pM}),O.jsx(No,{component:cE})]})}function yM(){return O.jsx(SS,{client:mM,children:O.jsxs(rE,{children:[O.jsx(gb,{base:"/".replace(/\/$/,""),children:O.jsx(gM,{})}),O.jsx(AA,{})]})})}E1.createRoot(document.getElementById("root")).render(O.jsx(yM,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.